/* ============================================================
   TRDR shared components — built ONLY against tokens.css
   Reused by every page. No hard-coded colours anywhere.
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Root paints the active theme colour so device safe areas (notch / home
   indicator on iOS edge-to-edge) match whichever theme is active. */
html { background: var(--bg); transition: background var(--speed); }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 14px; display: flex; min-height: 100vh;
  transition: background var(--speed), color var(--speed);
}
a { color: inherit; }
.mono { font-family: var(--mono); }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.muted { color: var(--text-muted); } .dim { color: var(--text-dim); }
.acc { color: var(--accent); }

/* ---- wordmark (ScripTrdr — Barlow Condensed, heavy, uppercase) ---- */
.wordmark { font-family: var(--font-brand); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 23px; }
.wordmark span { color: var(--accent); }
/* candlestick "I" — a scalable glyph (body + wick) that replaces the I in SCRIP */
.wm-candle { display: inline-block; position: relative; width: .28em; height: .70em;
  background: var(--accent); vertical-align: baseline; margin: 0 .05em; }
.wm-candle::before { content: ""; position: absolute; left: 50%; top: -.16em; height: 1.03em; width: .12em;
  transform: translateX(-50%); background: var(--accent); }

/* ---- verified / self-reported post badges (shared across feed, profile, shared post) ---- */
.vbadge { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:800; letter-spacing:.5px;
  text-transform:uppercase; padding:3px 11px; border-radius:999px; vertical-align:middle; margin-left:7px; line-height:1.35; white-space:nowrap; }
.vbadge.ok   { background:var(--accent); color:var(--accent-ink); box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.vbadge.self { background:color-mix(in srgb, var(--accent) 12%, transparent); color:var(--accent);
  border:1.5px solid color-mix(in srgb, var(--accent) 55%, var(--border)); }

/* ---- sidebar ---- */
aside {
  width: 190px; flex-shrink: 0; background: var(--surface-2);
  border-right: 1px solid var(--border); padding: 20px 14px;
  transition: background var(--speed), border-color var(--speed);
}
nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border-radius: var(--radius-sm); color: var(--text-muted);
  text-decoration: none; font-size: 13px; margin-bottom: 2px; cursor: pointer;
}
nav a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
nav a:hover { color: var(--text); }
nav a.is-active { background: var(--surface); color: var(--accent); }
nav a.is-active .dot { background: var(--accent); }
nav a .nav-pro { margin-left: auto; font-size: 8px; font-weight: 800; letter-spacing: .5px;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 1px 4px; opacity: .75; }
nav a .nav-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--neg); color: #fff; font-size: 10px; font-weight: 800; line-height: 18px;
  text-align: center; box-sizing: border-box; }

/* ---- account chip (sidebar footer) ---- */
.acct-wrap { margin-top: 20px; }
.acct { display: flex; align-items: center; gap: 9px; text-decoration: none; padding: 8px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.acct:hover { border-color: var(--border-strong); }
.acct-av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-brand);
  font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .5px;
  background: color-mix(in srgb, var(--accent) 20%, var(--surface-2)); color: var(--accent); border: 1px solid var(--border); }
.acct-name { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-h { font-size: 10px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-signin { display: block; width: 100%; text-align: center; text-decoration: none; }
.acct-guest { font-size: 10px; color: var(--text-dim); text-align: center; margin-top: 6px; }
.nav-legal { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.nav-legal a { font-size: 10px; color: var(--text-dim); text-decoration: none; }
.nav-legal a:hover { color: var(--accent); }

/* ---- account dropdown menu ---- */
.acct-box { position: relative; }
.acct-box .acct { width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left; font: inherit; }
.acct-caret { flex-shrink: 0; color: var(--text-muted); font-size: 20px; line-height: 1;
  width: 22px; height: 26px; margin-left: 4px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); transition: background .18s, color .18s; }
.acct:hover .acct-caret { color: var(--text); }
.acct-box.open .acct-caret { color: var(--accent); background: var(--surface-2); }
.acct-menu {
  position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; z-index: 90;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 12px 34px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .16s, transform .16s;
}
.acct-box.open .acct-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.acct-menu a { display: block; padding: 9px 11px; border-radius: var(--radius-sm); color: var(--text);
  text-decoration: none; font-size: 13px; }
.acct-menu a:hover { background: var(--surface-2); color: var(--accent); }
.acct-menu a.acct-danger { color: var(--neg); }
.acct-menu a.acct-danger:hover { background: color-mix(in srgb, var(--neg) 12%, transparent); color: var(--neg); }
.acct-sep { height: 1px; background: var(--border); margin: 5px 4px; }
.pro-pill { font-size: 8px; font-weight: 800; letter-spacing: .5px; color: var(--accent-ink);
  background: var(--accent); border-radius: 4px; padding: 1px 4px; vertical-align: middle; }
.acct-menu a.acct-pro { color: var(--accent); font-weight: 700; }

/* ---- Pro badge: a small gold star overlaid on an avatar ----
   Add class "has-pro" to any avatar element (a <div>, not an <img>) to show it.
   Sizes itself as a proportion of the avatar, so it works at every scale. */
.has-pro { position: relative; overflow: visible; }
.has-pro::after {
  content: ""; position: absolute; right: -5%; bottom: -5%;
  width: 42%; height: 42%; min-width: 12px; min-height: 12px; max-width: 22px; max-height: 22px;
  box-sizing: border-box; border-radius: 50%;
  background: #CDA24E url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%231A1B1E'%20d='M12%202l2.9%206.3%206.9.7-5.1%204.6%201.4%206.8L12%2017.8%205%2020.4l1.4-6.8L1.3%209l6.9-.7z'/%3E%3C/svg%3E") center/60% no-repeat;
  border: 2px solid var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
/* wrapper so an <img> avatar (nav) can carry the Pro star badge */
.acct-av-wrap { position: relative; display: inline-flex; width: 32px; height: 32px; flex-shrink: 0; }
.acct-av-wrap .acct-av { width: 100%; height: 100%; }

/* inline "star chip" for use in copy / pricing pitch */
.pro-star { display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: #CDA24E; vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%231A1B1E'%20d='M12%202l2.9%206.3%206.9.7-5.1%204.6%201.4%206.8L12%2017.8%205%2020.4l1.4-6.8L1.3%209l6.9-.7z'/%3E%3C/svg%3E"); background-size: 62%; background-position: center; background-repeat: no-repeat; }

main { flex: 1; padding: 22px 26px; min-width: 0; }
header.bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 16px; }
h1 { font-size: 20px; font-weight: 700; }
h2 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; }
.sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* ---- buttons ---- */
.btn {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 15px; font: inherit; font-size: 13px;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--speed);
}
.btn:hover { border-color: var(--border-strong); }

/* ACTION buttons — hollow accent outline that fills on hover (does a task). */
.btn-primary { background: transparent; color: var(--accent); border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); filter: none; }

/* SOLID buttons — stay filled (entry / sign-in / "you are here"). */
.btn-solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.btn-solid:hover { filter: brightness(1.08); }

/* light/dark sun-moon toggle (replaces the old named theme buttons) */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; padding: 0; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text-muted);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { display: block; }

/* Pro members + admins never see upsell prompts (body.is-pro set by nav.js). */
body.is-pro .proteaser,
body.is-pro .acct-pro,
body.is-pro .nav-pro,
body.is-pro [data-proupsell] { display: none !important; }

/* Pro lock: a frosted preview of the feature behind a centred "Get Pro" card.
   Same treatment everywhere (Journal, Trading Rules, Calendar, Resources, …). */
.prolock { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.prolock .pl-ghost { filter: blur(7px) saturate(.65); opacity: .45; pointer-events: none; user-select: none; padding: 22px; }
.prolock .pl-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.prolock .pl-card { height: 84px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.prolock .pl-chart { height: 200px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: flex-end; gap: 8px; padding: 16px; margin-bottom: 18px; }
.prolock .pl-chart span { flex: 1; background: var(--accent); opacity: .5; border-radius: 4px 4px 0 0; }
.prolock .pl-rows { display: flex; flex-direction: column; gap: 12px; }
.prolock .pl-line { height: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; }
.prolock .pl-panel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.prolock .pl-box { text-align: center; max-width: 420px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.prolock .pl-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.prolock .pl-box h3 { font-size: 18px; margin: 0 0 7px; }
.prolock .pl-box p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 18px; }

/* Pro lock (in-place): show the REAL page, dimmed + disabled, with a floating Get Pro card.
   The sidebar/nav stay usable so free users can navigate away. */
main.prolocked { position: relative; }
main.prolocked > *:not(.prolock-veil) { pointer-events: none !important; user-select: none; opacity: .5; filter: grayscale(.35); }
.prolock-veil { position: absolute; inset: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 22%, transparent); }
.prolock-card-fixed { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 70; text-align: center; width: calc(100% - 48px); max-width: 400px; padding: 26px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.prolock-card-fixed .pl-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.prolock-card-fixed h3 { font-size: 18px; margin: 0 0 7px; }
.prolock-card-fixed p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 18px; }

/* Section-level lock: mild blur + disable one section, small PRO card centred over it. */
.prolock-sec-wrap { position: relative; }
.prolock-sec-wrap > *:not(.prolock-sec) { filter: blur(4px); opacity: .6; pointer-events: none !important; user-select: none; }
.prolock-sec { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 25; }
.prolock-sec-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; box-shadow: 0 14px 44px rgba(0,0,0,.35); }
.prolock-sec-card .pl-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 5px 12px; margin-bottom: 10px; }
.prolock-sec-card .pls-label { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }

.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 11px; font-size: 12px; }

/* follow buttons inherit the hollow action look; the "Following" state is a muted fill. */
.followmini { border-radius: var(--radius-sm); font-weight: 700; }
.followmini:not(.btn-primary) { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); font-weight: 600; }
.followmini:not(.btn-primary):hover { border-color: var(--border-strong); color: var(--text); }

/* ---- theme switch ---- */
.theme-switch { display: flex; gap: 6px; }
.theme-btn {
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 13px; font: inherit; font-size: 12px;
  cursor: pointer; transition: all var(--speed);
}
.theme-btn:hover { border-color: var(--border-strong); color: var(--text); }
.theme-btn.is-active { border-color: var(--accent); color: var(--accent); }

/* ---- cards ---- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--elev); padding: 16px 18px;
  transition: background var(--speed), border-color var(--speed);
}
.lbl { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.big { font-size: 28px; font-weight: 800; font-family: var(--mono); }
.row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.row:last-child { border-bottom: 0; }
.grid { display: grid; gap: 14px; }

/* ---- pills / process grades ---- */
.pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-sm); white-space: nowrap; }
.pill.plan { background: color-mix(in srgb, var(--pos) 18%, transparent);  color: var(--pos); }
.pill.proc { background: color-mix(in srgb, var(--info) 22%, transparent); color: var(--info); }
.pill.tilt { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.pill.broke{ background: color-mix(in srgb, var(--neg) 20%, transparent);  color: var(--neg); }

/* ---- metric ---- */
.metric { background: var(--surface-2); border-radius: var(--radius-sm); padding: 13px 15px; }
.metric .k { font-size: 11px; color: var(--text-muted); }
.metric .v { font-size: 20px; font-weight: 800; font-family: var(--mono); margin-top: 3px; }

/* ---- segmented control (used for tilt mode) ---- */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; }
.seg button {
  background: transparent; border: 0; color: var(--text-muted); font: inherit; font-size: 12px;
  padding: 7px 14px; border-radius: calc(var(--radius-sm) - 2px); cursor: pointer; transition: all var(--speed);
}
.seg button.on { background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* ---- form fields ---- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: 13px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 60px; }
/* checkboxes & radios must not stretch to full width (would squash their labels) */
input[type="checkbox"], input[type="radio"] { width: auto; padding: 0; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  font-size: 12px; padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); cursor: pointer; background: transparent; transition: all var(--speed);
}
.chip.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ---- modal ---- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; align-items: flex-start; justify-content: center; z-index: 50; padding: 40px 16px; overflow: auto; }
.scrim.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); width: 460px; max-width: 100%; padding: 20px 22px; }
.modal h3 { font-size: 16px; margin-bottom: 4px; }

/* ---- inline banners ---- */
.banner { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12.5px; line-height: 1.5; margin-bottom: 14px; }
.banner.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.banner.stop { background: color-mix(in srgb, var(--neg) 15%, transparent); color: var(--neg); }
.banner.ok   { background: color-mix(in srgb, var(--pos) 13%, transparent); color: var(--pos); }

/* ============================================================
   MOBILE — off-canvas drawer nav + responsive shell
   Desktop is untouched; everything here activates under 820px.
   ============================================================ */
.mtopbar { display: none; }
.nav-scrim { display: none; }
.mham { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center;
  gap: 4px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.mham span { display: block; height: 2px; width: 22px; background: var(--text); border-radius: 2px; transition: all .2s; }
.mtopbar .mnotif { position: relative; width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; font-size: 19px; text-decoration: none; }
.mtopbar .mnotif .nav-badge { position: absolute; top: 4px; right: 4px; margin: 0; }

/* ---- desktop notifications bell (fixed top-right, mirrors the mobile bell) ---- */
.dbell {
  position: fixed; top: 14px; right: 18px; z-index: 60;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
  text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: color var(--speed), border-color var(--speed), background var(--speed);
}
.dbell:hover { color: var(--accent); border-color: var(--border-strong); }
/* unread → the bell fills gold and stands out */
.dbell.has-unread { color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent), 0 2px 12px color-mix(in srgb, var(--accent) 35%, transparent); }
.dbell.has-unread svg { fill: var(--accent); stroke: var(--accent); animation: bellRing .9s ease 1; transform-origin: top center; }
.mtopbar .mnotif.has-unread { color: var(--accent); }
@keyframes bellRing { 0%,100%{transform:rotate(0);} 20%{transform:rotate(12deg);} 40%{transform:rotate(-10deg);} 60%{transform:rotate(6deg);} 80%{transform:rotate(-4deg);} }
.dbell .nav-badge { position: absolute; top: 1px; right: 1px; margin: 0; }
/* Desktop: float the theme toggle beside the fixed bell so they're always aligned,
   independent of how tall the page header is. Keep header text clear of both. */
@media (min-width: 821px) {
  header.bar { padding-right: 116px; }
  .theme-switch { position: fixed; top: 14px; right: 66px; z-index: 60; }
}
@media (max-width: 820px) { .dbell { display: none; } }

@media (max-width: 820px) {
  body { display: block; }
  main { padding: 16px 15px; }

  .mtopbar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    position: sticky; top: 0; z-index: 50; height: 54px; padding: 0 8px;
    background: var(--surface-2); border-bottom: 1px solid var(--border);
    /* iOS edge-to-edge: grow the bar up under the status bar / notch so its
       surface colour fills the safe area and its content clears the notch. */
    padding-top: env(safe-area-inset-top);
    height: calc(54px + env(safe-area-inset-top));
  }
  /* Pages with no top bar (login, landing, legal): keep content below the notch. */
  body:not(:has(.mtopbar)) { padding-top: env(safe-area-inset-top); }
  .mtopbar .wordmark { text-decoration: none; }

  aside {
    position: fixed; top: 0; left: 0; height: 100vh; width: 252px; z-index: 70;
    transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto;
    box-shadow: 0 0 40px rgba(0,0,0,.4);
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  body.nav-open aside { transform: translateX(0); }

  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.5);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  header.bar { flex-wrap: wrap; gap: 10px; }
  header.bar h1 { font-size: 18px; }
  .theme-switch { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  main { padding: 14px 12px; }
}
/* Keep scrollable content above the iOS home indicator (0 on non-notch / web). */
@media (max-width: 820px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}
