:root {
  --bg: #f5fbf6;
  --panel: #ffffff;
  --line: rgba(16, 21, 18, 0.08);
  --text: #101512;
  --muted: #66756e;
  --green: #19e26b;
  --green2: #10c85c;
  --green-dark: #0b7b3a;
  --chip: #eaf6ef;
  --radius: 20px;
  --radius2: 24px;
  --max: 430px;
  --shadow: 0 14px 34px rgba(16, 21, 18, 0.12);
  --shadow2: 0 14px 34px rgba(16, 21, 18, 0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(560px 300px at 10% -10%, rgba(25, 226, 107, 0.18), transparent 68%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 12px calc(96px + env(safe-area-inset-bottom, 0px));
}

.shell {
  width: 100%;
  margin: 0 auto;
}

.app-shell {
  width: min(var(--max), 100%);
  min-height: calc(100vh - 110px);
  min-height: calc(100dvh - 110px);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.menu-toggle {
  position: fixed;
  left: -9999px;
}

.topbar-wrap {
  position: sticky;
  top: 10px;
  z-index: 120;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 10px;
  background: rgba(245, 251, 246, 0.9);
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
}

.brandCenter {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(16, 21, 18, 0.07);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  user-select: none;
  text-decoration: none;
  color: var(--text);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 21, 18, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 140;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 30px rgba(16, 21, 18, 0.14);
  z-index: 150;
  transition: right 0.2s ease;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 14px;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.menu-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #fff;
}

.menu-links {
  display: grid;
  gap: 8px;
}

.menu-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.menu-toggle:checked ~ .topbar-wrap .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle:checked ~ .topbar-wrap .menu-drawer {
  right: 0;
}

.page-wrap {
  padding: 2px 0 18px;
}

.hero {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 290px;
  background:
    linear-gradient(180deg, rgba(16, 21, 18, 0.24), rgba(16, 21, 18, 0.75)),
    radial-gradient(220px 180px at 70% 30%, rgba(25, 226, 107, 0.26), transparent 70%),
    #1c2a24;
  box-shadow: var(--shadow);
}

.hero-overlay { position: absolute; inset: 0; }

.hero-body {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 32px;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(25, 226, 107, 0.2);
  border: 1px solid rgba(25, 226, 107, 0.4);
  color: #b8ffcf;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
}

.hero h1 {
  margin: 14px 0 10px;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero h1 span { display: block; }
.hero p { color: rgba(255, 255, 255, 0.88); }
.hero p b { color: var(--green); }

.section-head {
  margin-top: 22px;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.section-head a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.cause-grid,
.campaign-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cause-card,
.campaign-card,
.card,
.filter-card,
.opp-row,
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(16, 21, 18, 0.07);
}

.cause-card { padding: 14px; }
.cause-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf6ef;
}

.cause-card h3,
.campaign-card h3 { margin: 10px 0 6px; font-size: 1rem; }
.cause-card p,
.campaign-card p,
.muted { color: var(--muted); }

.campaign-card { padding: 14px; }
.campaign-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.campaign-card-link .btn {
  pointer-events: none;
}
.campaign-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-dark);
  background: rgba(25, 226, 107, 0.14);
  border: 1px solid rgba(25, 226, 107, 0.3);
  border-radius: 999px;
  padding: 4px 9px;
}

.pill.funded {
  color: #0a5f2d;
  background: rgba(25, 226, 107, 0.24);
}

.progress-track {
  margin-top: 10px;
  height: 9px;
  border-radius: 999px;
  background: rgba(16, 21, 18, 0.08);
  overflow: hidden;
}

.progress-track > div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green2));
}

.campaign-meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.campaign-meta.strong {
  color: var(--text);
  font-size: 0.95rem;
}

.opp-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.opp-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.opp-row h3 { margin: 0 0 4px; font-size: 1rem; }
.opp-row p { margin: 0; color: var(--muted); }
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 226, 107, 0.32);
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--green), var(--green2));
  color: #072011;
}

.filter-card {
  margin-top: 12px;
  padding: 12px;
}

.filter-form {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.filter-form label,
.donation-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea { min-height: 86px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.card {
  padding: 16px;
}

.campaign-detail h1,
.status-card h1 { margin-top: 8px; }

.campaign-detail .eyebrow {
  background: #e6f7ee;
  border: 1px solid rgba(11, 123, 58, 0.28);
  color: #0b7b3a;
  font-weight: 900;
}

.detail-banner {
  width: 100%;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eaf6ef;
  box-shadow: 0 10px 22px rgba(16, 21, 18, 0.08);
  margin-bottom: 12px;
}

.detail-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.donor-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.donor-list li {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  color: var(--muted);
}

.alert {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fff;
}

.alert.success {
  border-color: rgba(25, 226, 107, 0.35);
  background: rgba(25, 226, 107, 0.09);
}

.alert.error {
  border-color: rgba(200, 40, 40, 0.4);
  background: rgba(200, 40, 40, 0.08);
}

.err {
  color: #ae1d1d;
  font-weight: 700;
}

.flash-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: min(var(--max), 100%);
  z-index: 130;
  padding: 0 10px;
}

.mobile-footer-inner {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(16, 21, 18, 0.12);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  align-items: end;
}

.navbtn {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  color: rgba(16, 21, 18, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.navbtn .ico {
  font-size: 16px;
  line-height: 16px;
}

.navbtn .lbl {
  font-size: 10px;
  font-weight: 900;
}

.navbtn.active {
  color: var(--text);
  background: rgba(25, 226, 107, 0.14);
  border: 1px solid rgba(25, 226, 107, 0.24);
}

.impactBtn {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  margin-top: -22px;
  border: 1px solid rgba(25, 226, 107, 0.28);
  background: linear-gradient(180deg, var(--green), var(--green2));
  box-shadow: 0 18px 30px rgba(25, 226, 107, 0.25);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #072011;
  text-decoration: none;
}

.mobile-home {
  width: 100%;
}

.mobile-home .sectionTitleRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  margin-top: 14px;
}

.mobile-home .sectionTitle {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
}

.mobile-home .seeAll {
  font-size: 13px;
  font-weight: 900;
  color: var(--green-dark);
  text-decoration: none;
}

.mobile-home .hero {
  margin: 8px 10px 12px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  position: relative;
  height: 300px;
  background: #1c2a24;
}

.mobile-home .hero.heroNoImg {
  background:
    linear-gradient(180deg, rgba(16, 21, 18, 0.2), rgba(16, 21, 18, 0.72)),
    radial-gradient(240px 240px at 75% 30%, rgba(25, 226, 107, 0.18), transparent 60%),
    radial-gradient(220px 220px at 30% 70%, rgba(255, 255, 255, 0.12), transparent 60%),
    #1c2a24;
}

.mobile-home .heroBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(1.05);
}

.mobile-home .heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 21, 18, 0.25), rgba(16, 21, 18, 0.75));
}

.mobile-home .heroContent {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.mobile-home .badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(25, 226, 107, 0.16);
  border: 1px solid rgba(25, 226, 107, 0.28);
  color: #b9ffd6;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
}

.mobile-home .heroH1 {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1.04;
  font-weight: 1000;
  color: #fff;
  text-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mobile-home .heroH1 span {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.05;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.mobile-home .heroSub {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  max-width: 94%;
}

.mobile-home .heroSub b {
  color: var(--green);
}

.mobile-home .cta {
  margin: 6px auto 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 226, 107, 0.35);
  background: linear-gradient(180deg, var(--green), var(--green2));
  color: #072011;
  font-weight: 1000;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(25, 226, 107, 0.22);
  width: min(260px, 92%);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-home .pulse {
  margin: 0 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(16, 21, 18, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.mobile-home .pulseIcon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(25, 226, 107, 0.14);
  border: 1px solid rgba(25, 226, 107, 0.22);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: 0 0 auto;
}

.mobile-home .pulseText {
  min-width: 0;
  flex: 1;
}

.mobile-home .pulseTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-home .pulseLabel {
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 1000;
  color: var(--green-dark);
}

.mobile-home .live {
  font-size: 11px;
  font-weight: 1000;
  color: var(--green-dark);
  background: rgba(25, 226, 107, 0.18);
  border: 1px solid rgba(25, 226, 107, 0.25);
  padding: 4px 8px;
  border-radius: 999px;
}

.mobile-home .pulseQuote {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-home .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px;
}

.mobile-home .cause {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 21, 18, 0.08);
  text-decoration: none;
  color: inherit;
}

.mobile-home .causeIcon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--chip);
  border: 1px solid rgba(16, 21, 18, 0.06);
}

.mobile-home .causeTitle {
  margin: 10px 0 2px;
  font-weight: 1000;
  font-size: 14px;
}

.mobile-home .causeSub {
  margin: 0;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 900;
}

.mobile-home .sectionTitleFeatured {
  align-items: center;
}

.mobile-home .carBtns {
  display: flex;
  gap: 10px;
}

.mobile-home .circleBtn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 18px rgba(16, 21, 18, 0.08);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
}

.mobile-home .carousel {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mobile-home .carousel::-webkit-scrollbar {
  display: none;
}

.mobile-home .feat {
  flex: 0 0 78%;
  max-width: 330px;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 21, 18, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-home .featImg {
  height: 148px;
  background:
    radial-gradient(160px 120px at 30% 20%, rgba(255, 255, 255, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(25, 226, 107, 0.9), rgba(16, 21, 18, 0.65));
  position: relative;
  flex: 0 0 auto;
}

.mobile-home .featImgPhoto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mobile-home .featImg-solar {
  background: linear-gradient(135deg, #1ddf6c, #0f3f2a),
    radial-gradient(160px 120px at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%);
}

.mobile-home .featImg-forest {
  background: linear-gradient(135deg, #2edc7a, #0b2c1f),
    radial-gradient(160px 120px at 30% 20%, rgba(255, 255, 255, 0.24), transparent 60%);
}

.mobile-home .featImg-relief {
  background: linear-gradient(135deg, #1adf6b, #22423a),
    radial-gradient(160px 120px at 30% 20%, rgba(255, 255, 255, 0.26), transparent 60%);
}

.mobile-home .featBody {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-home .featTitle {
  margin: 0;
  font-weight: 1000;
  font-size: 14px;
  line-height: 1.2;
  min-height: 34px;
}

.mobile-home .progress {
  margin-top: 10px;
  height: 8px;
  background: rgba(16, 21, 18, 0.06);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(16, 21, 18, 0.05);
}

.mobile-home .progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green2));
}

.mobile-home .featStats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.mobile-home .featStats span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.mobile-home .donateBtn {
  margin-top: 10px;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(25, 226, 107, 0.28);
  background: linear-gradient(180deg, var(--green), var(--green2));
  color: #072011;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-home .opps {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-home .opp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(16, 21, 18, 0.08);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-home .date {
  width: 54px;
  border-radius: 16px;
  border: 1px solid rgba(16, 21, 18, 0.08);
  background: rgba(25, 226, 107, 0.1);
  padding: 8px 6px;
  text-align: center;
  flex: 0 0 auto;
}

.mobile-home .date .m {
  font-size: 10px;
  font-weight: 1000;
  color: var(--green-dark);
  letter-spacing: 0.08em;
}

.mobile-home .date .d {
  font-size: 18px;
  font-weight: 1000;
  margin-top: 2px;
}

.mobile-home .oppTitle {
  margin: 0;
  font-weight: 1000;
  font-size: 14px;
}

.mobile-home .oppSub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.mobile-home .join {
  margin-left: auto;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 226, 107, 0.3);
  background: #fff;
  color: var(--green-dark);
  font-weight: 1000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 991px) {
  .shell { width: min(var(--max), 100%); }
  .cause-grid,
  .campaign-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .opp-row { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-body { padding: 18px; }
  .cause-grid,
  .campaign-grid { grid-template-columns: 1fr; }
  .detail-banner { height: 190px; }
  .mobile-home .feat {
    flex-basis: 86%;
  }
  .navbtn .lbl {
    font-size: 9px;
  }
}

@media (min-width: 700px) {
  .app-shell {
    box-shadow: 0 0 0 1px rgba(16, 21, 18, 0.06), 0 20px 50px rgba(16, 21, 18, 0.18);
  }
}

@media (display-mode: standalone) {
  body {
    background: var(--bg);
  }
  .app-shell {
    width: min(var(--max), 100%);
    max-width: var(--max);
    box-shadow: none;
  }
}
