:root {
  --bg: #f5f0e8;
  --bg-card: #ffffff;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --primary: #2d6a4f;
  --primary-hover: #1b4332;
  --accent: #d4a017;
  --danger: #c0392b;
  --success: #27ae60;
  --border: #e0d8cc;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* ── Navbar ── */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  border-radius: 10px;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  margin-left: 4px;
  line-height: 1;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.nav-badge.hidden { display: none; }

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.nav-avatar-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-username {
  color: var(--text-muted);
  font-weight: 500;
}

.nav-user-menu {
  position: relative;
  flex: 0 0 auto;
  font-size: 0.875rem;
}

.nav-user-menu[open] .nav-caret {
  transform: rotate(180deg);
}

.nav-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.nav-user-trigger::-webkit-details-marker {
  display: none;
}

.nav-user-trigger:hover {
  background: #f7f3ed;
}

.nav-caret {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  padding: 0.4rem;
  z-index: 200;
}

.nav-dropdown a,
.nav-dropdown button {
  width: 100%;
  display: block;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-dropdown a:hover,
.nav-dropdown button:hover {
  background: #f7f3ed;
  color: var(--primary);
}

.nav-dropdown form {
  margin: 0;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(44, 44, 44, 0.42);
  z-index: 1000;
}

.confirm-modal[aria-hidden="false"] {
  display: flex;
}

.confirm-dialog {
  width: min(100%, 380px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  padding: 1.5rem;
}

.confirm-dialog h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.confirm-dialog p {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0;
  font-family: inherit;
}

.btn-link:hover { text-decoration: underline; }

/* ── Main ── */
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

/* ── Auth pages ── */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.auth-logo {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.auth-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.auth-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fdfcfa;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-small { padding: .38rem .72rem; font-size: .82rem; border-radius: 7px; }
.btn-full { width: 100%; margin-top: 0.25rem; }

/* ── Alerts ── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.alert ul { padding-left: 1.25rem; margin: 0; }
.alert-error { background: #fde8e8; color: var(--danger); border: 1px solid #f5c6c6; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ── Auth link ── */
.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-link a:hover { text-decoration: underline; }

/* ── Dashboard ── */
.dashboard-header { margin-bottom: 2rem; }

.dashboard-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.highlight { color: var(--primary); }

.dashboard-header p {
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
  box-shadow: var(--shadow);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.dashboard-card .card-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.dashboard-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.dashboard-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Coming soon stub ── */
.page-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  gap: 1rem;
  text-align: center;
}

.coming-icon { font-size: 3rem; }

.page-coming-soon h2 {
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* ── Profile ── */
.profile-page {
  max-width: 980px;
  margin: 0 auto;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile-summary h1 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.profile-summary p {
  color: var(--text-muted);
  line-height: 1.5;
}

.profile-avatar-wrap {
  flex: 0 0 auto;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.profile-avatar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--primary);
  font-size: 2.5rem;
  font-weight: 800;
}

.avatar-uploader {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.avatar-upload-trigger {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: 100%;
  padding: 1rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: #fdfcfa;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
}

.avatar-upload-trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.avatar-upload-text {
  font-weight: 700;
}

.avatar-actions {
  display: flex;
  gap: 0.75rem;
}

.avatar-status {
  color: var(--success);
  font-size: 0.875rem;
}

.avatar-status.is-error {
  color: var(--danger);
}

.form-group input[readonly] {
  color: var(--text-muted);
  background: #f3eee6;
  cursor: default;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.profile-side-column {
  display: grid;
  gap: 0.85rem;
}

.profile-panel {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.profile-panel h2 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.profile-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-side-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fdfcfa;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.profile-side-action:hover {
  border-color: var(--primary);
  background: #f7f3ed;
}

.profile-privacy-panel {
  margin-top: 1.25rem;
}

.privacy-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.privacy-heading h1 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.privacy-heading p {
  color: var(--text-muted);
  line-height: 1.5;
}

.privacy-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.privacy-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(180px, 240px);
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.privacy-row:last-child {
  border-bottom: 0;
}

.privacy-row label {
  font-weight: 600;
  color: var(--text);
}

.privacy-row select {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fdfcfa;
  color: var(--text);
  font-family: inherit;
}

.privacy-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

.profile-public-list {
  display: grid;
  gap: 1rem;
}

.profile-view-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-view-heading h2 {
  margin-bottom: 0.2rem;
}

.profile-view-heading p {
  color: var(--text-muted);
}

.profile-view-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.6rem;
}

.profile-friend-badge {
  color: var(--primary) !important;
  font-weight: 600;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-danger { background: #c0392b; color: white; }
.btn-danger:hover { background: #a93226; }
.btn:disabled { opacity: 0.55; cursor: default; }

.profile-public-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.profile-public-list div:last-child {
  border-bottom: 0;
}

.profile-public-list dt {
  color: var(--text-muted);
  font-weight: 600;
}

.profile-public-list dd {
  color: var(--text);
}

.profile-empty {
  color: var(--text-muted);
  line-height: 1.6;
}

.profile-bio {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 1.1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.site-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #2d6a4f;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}
.site-toast.site-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.site-toast.site-toast-err { background: #c0392b; }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.25rem 2rem;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
}
.site-footer-brand {
  font-weight: 800;
  color: var(--primary);
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
}
.site-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}
.site-footer-links a:hover { color: var(--primary); }
.site-footer-copy { color: var(--text-muted); }

/* ── PWA Install Buttons ── */
.nav-pwa-install {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav-pwa-install:hover { background: var(--primary-hover); }
body.pwa-available .nav-pwa-install { display: flex; }

.offcanvas-install-bar {
  display: none;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
body.pwa-available .offcanvas-install-bar { display: block; }

.offcanvas-pwa-install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.offcanvas-pwa-install:hover { background: var(--primary-hover); }


/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: #f0ece4; }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ── Offcanvas ── */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.offcanvas-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 88vw;
  background: var(--bg-card);
  box-shadow: -4px 0 28px rgba(0,0,0,0.14);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.offcanvas.open { transform: translateX(0); }
body.offcanvas-open { overflow: hidden; }
.offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.offcanvas-user {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  flex: 1;
}
.offcanvas-username {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offcanvas-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.offcanvas-close:hover { background: #f0ece4; color: var(--text); }
.offcanvas-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  overflow-y: auto;
}
.offcanvas-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.offcanvas-nav a:hover,
.offcanvas-nav a.active {
  background: #f0f7f3;
  color: var(--primary);
  border-left-color: var(--primary);
}
.offcanvas-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offcanvas-profile-link {
  display: block;
  padding: 10px 14px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.offcanvas-profile-link:hover { background: #e8e2d8; }
.offcanvas-foot form { margin: 0; }
.offcanvas-logout-btn {
  width: 100%;
  padding: 10px;
  background: none;
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 8px;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.offcanvas-logout-btn:hover { background: #fef0ef; border-color: rgba(192,57,43,0.6); }

@media (max-width: 760px) {
  .navbar {
    height: 60px;
    padding: 0 1rem;
    flex-wrap: nowrap;
    gap: 0;
  }
  .nav-links { display: none; }
  .nav-user-menu { display: none; }
  .nav-hamburger { display: flex; }
  body.pwa-available .nav-pwa-install { display: none; }

  .profile-summary {
    align-items: flex-start;
  }

  .profile-grid,
  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .privacy-heading {
    display: grid;
  }

  .privacy-row,
  .profile-public-list div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ── PWA Install Banner ── */
#ios-install-hint,
#pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#pwa-install-banner.pwa-banner-show {
  transform: translateY(0);
}
.pwa-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--primary-hover);
}
.pwa-banner-text {
  flex: 1;
  min-width: 0;
}
.pwa-banner-text strong {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pwa-banner-text span {
  font-size: 0.75rem;
  opacity: 0.82;
}
.pwa-banner-install {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.pwa-banner-install:active {
  opacity: 0.85;
}
.pwa-banner-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.75;
  line-height: 1;
  flex-shrink: 0;
}
.pwa-banner-close:hover { opacity: 1; }
