/* ░░░ mobile.css — the Many Minded app (mobile.html) ░░░
   Palette and type come from tokens.css; this file owns the app's layout only.
   Desktop renders the app inside a phone bezel (or full screen); ≤600px wide it is the
   app itself, full-bleed, safe-area aware. */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
.mm-body {
  background: radial-gradient(1200px 700px at 70% -10%, rgba(110, 168, 255, .10), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(94, 240, 168, .07), transparent 60%), var(--bg);
  color: var(--ink); font-family: var(--sans); font-size: 14px;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--cyn); }
:focus-visible { outline: 2px solid var(--cyn); outline-offset: 2px; }

/* ── desktop preview chrome ── */
.mm-tools { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--hair); font-size: 12px; color: var(--ink-dim); }
.mm-tools-home { color: var(--ink-dim); text-decoration: none; margin-right: auto; }
.mm-tools-home:hover { color: var(--ink-hi); }
.mm-tools-lab { text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.mm-seg { display: inline-flex; border: 1px solid var(--hair); border-radius: 999px; overflow: hidden; }
.mm-seg button { background: none; border: 0; padding: 6px 12px; color: var(--ink-dim); }
.mm-seg button.on { background: rgba(94, 240, 168, .14); color: var(--mint); }
.mm-tools-dev { display: inline-flex; gap: 8px; align-items: center; }
.mm-tools select { background: var(--bg-soft); border: 1px solid var(--hair); border-radius: 8px; padding: 5px 8px; }

.mm-stage { display: flex; justify-content: center; align-items: flex-start; padding: 26px 20px 40px; min-height: calc(100vh - 50px); }
.mm-device { --dw: 390px; --dh: 844px; position: relative; width: calc(var(--dw) + 24px); height: calc(var(--dh) + 24px); padding: 12px; border-radius: 56px;
  background: linear-gradient(160deg, #1b2236, #0b0f1d 40%, #161c2e);
  transform: scale(var(--s, 1)); transform-origin: top center; margin-bottom: calc((var(--s, 1) - 1) * (var(--dh) + 24px)); box-shadow: 0 0 0 1px rgba(199, 214, 240, .18), 0 40px 90px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .04); }
.mm-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 112px; height: 30px; border-radius: 20px; background: #000; z-index: 30; }
.mm-device .mm-app { border-radius: 44px; }
.mm-device[data-frame="full"] { transform: none; margin-bottom: 0; width: min(100%, 1100px); height: calc(100vh - 100px); padding: 0; border-radius: 18px; background: none; box-shadow: 0 0 0 1px var(--hair); }
.mm-device[data-frame="full"] .mm-notch { display: none; }
.mm-device[data-frame="full"] .mm-app { border-radius: 18px; }
.mm-device[data-frame="full"] .mm-head { padding-top: 14px; }

/* ── the app shell ── */
.mm-app { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); isolation: isolate; }
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 52px 16px 10px; border-bottom: 1px solid rgba(199, 214, 240, .08); background: rgba(4, 6, 20, .86); backdrop-filter: blur(14px); z-index: 5; }
.mm-brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; }
.mm-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.mm-brand b { font-family: var(--disp); letter-spacing: .14em; font-size: 12px; color: var(--ink-hi); }
.mm-brand small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.mm-who { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hair); background: var(--surface-1); border-radius: 999px; padding: 6px 12px; font-size: 11px; max-width: 46%; }
.mm-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-who.in { border-color: rgba(94, 240, 168, .45); color: var(--mint); }

.mm-views { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; position: relative; }
.mm-view { display: none; padding: 16px 14px 28px; }
.mm-view.on { display: block; animation: mm-in .28s ease-out; }
@keyframes mm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.mm-hero { margin: 2px 2px 14px; }
.mm-eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .01em; color: var(--ink-dim); }
.mm-eyebrow::first-letter { text-transform: uppercase; }
.mm-h1 { font-family: var(--disp); font-weight: 600; font-size: 28px; line-height: 1.08; color: var(--ink-hi); margin: 6px 0 6px; letter-spacing: -.01em; }
.mm-sub { margin: 0; color: var(--ink-dim); font-size: 12.5px; line-height: 1.5; }
.mm-h2 { font-family: var(--disp); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-hi); margin: 22px 2px 10px; font-weight: 600; }
.mm-h2 small { display: block; font-family: var(--mono); text-transform: none; letter-spacing: 0; color: var(--ink-dim); font-weight: 400; font-size: 11px; margin-top: 2px; }

/* ── bottom glass nav ── */
.mm-nav { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(10px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); background: rgba(10, 14, 34, .72); backdrop-filter: blur(18px) saturate(1.4); border-top: 1px solid rgba(199, 214, 240, .1); z-index: 6; }
.mm-device[data-frame="bezel"] .mm-nav { padding-bottom: 22px; }
.mm-nav button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 4px; color: var(--ink-dim); font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; border-radius: 12px; }
.mm-nav button i { font-style: normal; font-size: 18px; line-height: 1; }
.mm-nav button.on { color: var(--mint); background: rgba(94, 240, 168, .08); }

/* ── chips ── */
.mm-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.mm-chips::-webkit-scrollbar { display: none; }
.mm-chip { flex: none; border: 1px solid var(--hair); background: var(--surface-1); color: var(--ink-dim); border-radius: 999px; padding: 5px 10px; font-size: 11px; }
.mm-chip.on { border-color: var(--c, var(--mint)); color: var(--c, var(--mint)); background: rgba(255, 255, 255, .04); }

/* ── pulse: an editorial list, not a stack of cards (2026-10-29) ──
   Hairlines between stories, no boxes, no sector rainbow, no chips. The kicker, the meta
   line and the actions are one muted voice; the headline carries the hierarchy. */
.mm-filters { display: flex; gap: 2px; overflow-x: auto; margin: 0 -14px 4px; padding: 0 12px; border-bottom: 1px solid var(--hair); scrollbar-width: none; }
.mm-filters::-webkit-scrollbar { display: none; }
.mm-filter { flex: none; min-height: 42px; padding: 0 8px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ink-dim); font-size: 13.5px; text-transform: capitalize; }
.mm-filter:hover { color: var(--ink); }
.mm-filter.on { color: var(--ink-hi); border-bottom-color: var(--accent); font-weight: 600; }

.mm-feed { display: flex; flex-direction: column; container-type: inline-size; }
.mm-day { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--ink-hi); font-family: var(--sans); font-weight: 400; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--ink-dim); }
.mm-day:first-child { margin-top: 10px; }
.mm-day b { font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--ink-hi); text-transform: capitalize; }

.mm-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kick img" "head img" "dek dek" "reach reach" "meta meta" "acts acts" "brief brief"; grid-template-rows: auto 1fr; column-gap: 14px; padding: 18px 0 6px; border-bottom: 1px solid var(--hair); }
.mm-card:last-child { border-bottom: 0; }
.mm-card-img { grid-area: img; width: 84px; height: 84px; object-fit: cover; border-radius: 3px; background: var(--bg-soft); }
.mm-card.lead { grid-template-rows: none; grid-template-areas: "img img" "kick kick" "head head" "dek dek" "reach reach" "meta meta" "acts acts" "brief brief"; }
.mm-card.lead .mm-card-img { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 0 14px; }
.mm-kick { grid-area: kick; font-size: 12px; font-weight: 600; color: var(--ink-dim); margin-bottom: 5px; text-transform: capitalize; }
.mm-kick .mm-coming { font-weight: 400; text-transform: none; }
.mm-card h3 { grid-area: head; align-self: start; font-family: var(--disp); font-weight: 600; font-size: 19px; line-height: 1.24; letter-spacing: -.012em; color: var(--ink-hi); margin: 0; text-wrap: pretty; overflow-wrap: anywhere; }
.mm-card.lead h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.018em; }
.mm-dek { grid-area: dek; margin: 7px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mm-reach { grid-area: reach; font-size: 12.5px; color: var(--ink); margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.mm-meta { grid-area: meta; margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-dim); }
.mm-meta i, .mm-kick i { font-style: normal; margin: 0 5px; opacity: .55; }
.mm-meta .mm-src-n { color: var(--ink); }
.mm-pts { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mm-pts.dn, .mm-v-bad { color: var(--coral); }
.mm-acts { grid-area: acts; display: flex; align-items: center; gap: 0; margin: 4px 0 0 -8px; }
.mm-act { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 8px; background: none; border: 0; border-radius: 4px; font-size: 12.5px; color: var(--ink-dim); white-space: nowrap; }
.mm-act:hover { color: var(--ink-hi); }
.mm-act b { font-weight: 400; font-variant-numeric: tabular-nums; }
.mm-act:nth-child(4) { margin-left: auto; }
.mm-act.on { color: var(--ink-hi); }
.mm-act.fwd.on { color: var(--accent); }
.mm-act.fric.on { color: var(--coral); }
.mm-act[aria-expanded="true"] { color: var(--ink-hi); }
.mm-brief { grid-area: brief; margin: 2px 0 12px; padding: 4px 0 0; }
.mm-brief h4 { font-family: var(--disp); font-weight: 600; color: var(--ink-hi); font-size: 16px; line-height: 1.3; margin: 0 0 8px; }
.mm-brief p { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 10px; }
.mm-brief .mm-src { font-size: 12px; color: var(--ink-dim); }
@container (max-width: 360px) { .mm-act { padding: 0 6px; font-size: 12px; } .mm-acts { margin-left: -6px; } }
/* unfolded / tablet width: the picture moves beside the story, the column stays readable */
@container (min-width: 600px) {
  .mm-card, .mm-card.lead { grid-template-rows: none; grid-template-areas: "kick img" "head img" "dek img" "reach reach" "meta meta" "acts acts" "brief brief"; grid-template-rows: auto auto 1fr; column-gap: 28px; padding-top: 22px; }
  .mm-card-img, .mm-card.lead .mm-card-img { width: 200px; height: 134px; aspect-ratio: auto; margin: 2px 0 0; }
  .mm-card h3 { font-size: 21px; }
  .mm-card.lead h3 { font-size: 26px; }
  .mm-dek { -webkit-line-clamp: 4; }
}

/* skeletons + empty states */
.mm-skel { height: 132px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-1), var(--surface-2), var(--surface-1)); background-size: 200% 100%; animation: mm-sh 1.4s infinite linear; }
@keyframes mm-sh { to { background-position: -200% 0; } }
.mm-empty { border: 1px dashed var(--hair); border-radius: 14px; padding: 14px; color: var(--ink-dim); font-size: 12px; line-height: 1.5; }

/* ── countdowns ── */
.mm-overall { display: flex; gap: 14px; align-items: center; border: 1px solid var(--hair); border-radius: 18px; padding: 14px; background: var(--surface-1); }
.mm-overall .mm-ov-t b { display: block; font-family: var(--disp); font-size: 15px; color: var(--ink-hi); }
.mm-overall .mm-ov-t span { font-size: 11.5px; color: var(--ink-dim); line-height: 1.45; display: block; margin-top: 4px; }
.mm-ring { flex: none; }
.mm-ring text { font-family: var(--disp); font-weight: 600; fill: var(--ink-hi); }
.mm-clocks { display: flex; flex-direction: column; gap: 10px; }
.mm-clock { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; text-align: left; border: 1px solid rgba(199, 214, 240, .12); border-radius: 16px; padding: 12px; background: var(--surface-1); width: 100%; }
.mm-clock .nm { font-family: var(--disp); font-size: 14px; font-weight: 600; color: var(--ink-hi); letter-spacing: .04em; }
.mm-clock .tg { font-size: 11px; color: var(--ink-dim); }
.mm-clock .tk { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 500; color: var(--c, var(--mint)); margin-top: 5px; letter-spacing: .02em; }
.mm-clock .wn { font-size: 10.5px; color: var(--ink-dim); margin-top: 2px; }
.mm-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-need { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; border: 1px solid rgba(199, 214, 240, .1); border-radius: 14px; background: var(--surface-1); }
.mm-need b { font-size: 9.5px; letter-spacing: .08em; color: var(--ink-hi); text-align: center; }
.mm-need small { font-size: 9px; color: var(--ink-dim); }
.mm-sub-row { padding: 10px 0; border-bottom: 1px solid rgba(199, 214, 240, .08); }
.mm-sub-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-hi); }
.mm-bar { height: 5px; border-radius: 3px; background: var(--surface-2); margin: 6px 0; overflow: hidden; }
.mm-bar i { display: block; height: 100%; background: var(--c, var(--mint)); border-radius: 3px; }
.mm-part { font-size: 11px; color: var(--ink-dim); line-height: 1.45; margin-top: 3px; }
.mm-part a { color: var(--cyn); }
.mm-chart { width: 100%; height: 170px; display: block; border: 1px solid rgba(199, 214, 240, .1); border-radius: 12px; background: rgba(0, 0, 0, .2); }
.mm-legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 10.5px; color: var(--ink-dim); margin: 6px 0; }
.mm-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 5px; }
.mm-seg.sm button { padding: 4px 10px; font-size: 11px; }

/* ── forecast ── */
.mm-score { border: 1px solid var(--hair); border-radius: 16px; padding: 12px 14px; background: var(--surface-1); font-size: 12px; color: var(--ink-dim); line-height: 1.5; }
.mm-score b { color: var(--ink-hi); font-family: var(--disp); font-size: 20px; display: block; }
.mm-fclist { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.mm-fc { border: 1px solid rgba(199, 214, 240, .12); border-radius: 18px; padding: 14px; background: var(--surface-1); }
.mm-fc h3 { margin: 0; font-family: var(--disp); font-size: 15px; color: var(--ink-hi); }
.mm-fc .gl { font-size: 11px; color: var(--ink-dim); margin: 3px 0 10px; }
.mm-fc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.mm-fc-stats div { background: rgba(0, 0, 0, .2); border-radius: 10px; padding: 7px 8px; }
.mm-fc-stats small { display: block; font-size: 9.5px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em; }
.mm-fc-stats b { font-size: 14px; color: var(--ink-hi); }
.mm-hist { display: flex; align-items: flex-end; gap: 2px; height: 46px; margin: 4px 0 10px; }
.mm-hist i { flex: 1; background: var(--vio); border-radius: 2px 2px 0 0; min-height: 1px; opacity: .85; position: relative; }
.mm-hist i.eng { background: var(--mint); opacity: .35; }
.mm-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mm-form label { font-size: 11px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 3px; }
.mm-form input[type=number], .mm-form select, .mm-in { background: var(--bg-soft); border: 1px solid var(--hair); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.mm-btn { background: rgba(94, 240, 168, .14); color: var(--mint); border: 1px solid rgba(94, 240, 168, .4); border-radius: 12px; padding: 9px 14px; font-size: 12px; font-weight: 600; }
.mm-btn.ghost { background: none; color: var(--ink); border-color: var(--hair); }
.mm-btn:disabled { opacity: .5; cursor: default; }

/* ── commons ── */
.mm-rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mm-room { text-align: left; border: 1px solid rgba(199, 214, 240, .1); border-radius: 12px; padding: 10px; background: var(--surface-1); }
.mm-room b { display: block; font-size: 11px; letter-spacing: .08em; color: var(--ink-hi); }
.mm-room span { font-size: 10.5px; color: var(--ink-dim); }
.mm-gates { display: flex; flex-direction: column; gap: 8px; }
.mm-gate { border: 1px solid rgba(199, 214, 240, .1); border-radius: 12px; padding: 10px 12px; background: var(--surface-1); font-size: 11.5px; color: var(--ink-dim); }
.mm-gate b { color: var(--ink-hi); display: block; font-size: 12.5px; }
.mm-board { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.mm-board li { counter-increment: b; display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(199, 214, 240, .07); font-size: 12px; }
.mm-board li::before { content: counter(b, decimal-leading-zero); color: var(--ink-dim); font-size: 10.5px; }
.mm-board li span { color: var(--ink-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-board li em { font-style: normal; font-size: 11px; }
.mm-board .up { color: var(--mint); } .mm-board .dn { color: var(--coral); }
.mm-pass { border: 1px solid rgba(94, 240, 168, .3); border-radius: 18px; padding: 14px; background: linear-gradient(135deg, rgba(94, 240, 168, .08), rgba(110, 168, 255, .06)); font-size: 12px; color: var(--ink-dim); line-height: 1.5; }
.mm-pass code { display: block; font-size: 22px; letter-spacing: .2em; color: var(--ink-hi); margin: 6px 0; }

/* ── key ── */
.mm-card-plain { border: 1px solid var(--hair); border-radius: 16px; padding: 14px; background: var(--surface-1); margin-bottom: 12px; }
.mm-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mm-kv div { background: rgba(0, 0, 0, .2); border-radius: 10px; padding: 8px; }
.mm-kv small { display: block; font-size: 9.5px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em; }
.mm-kv b { font-family: var(--disp); font-size: 18px; color: var(--ink-hi); }
.mm-ledger { list-style: none; padding: 0; margin: 0; font-size: 11.5px; }
.mm-ledger li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(199, 214, 240, .07); color: var(--ink-dim); }
.mm-ledger li b { color: var(--mint); }
.mm-auth { display: flex; flex-direction: column; gap: 8px; }
.mm-auth .mm-in { width: 100%; }
.mm-linkbtn { background: none; border: 0; color: var(--cyn); padding: 4px 0; font-size: 11.5px; text-align: left; }
.mm-note { font-size: 11px; color: var(--ink-dim); line-height: 1.5; }
.mm-err { color: var(--coral); font-size: 11.5px; min-height: 1em; }

/* ── sheet + toast ── */
.mm-scrim { position: absolute; inset: 0; background: rgba(2, 4, 14, .6); z-index: 20; }
.mm-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86%; display: flex; flex-direction: column; background: #0a0e22; border-top: 1px solid var(--hair); border-radius: 24px 24px 0 0; z-index: 21; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); animation: mm-up .24s ease-out; }
@keyframes mm-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.mm-sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--hair); margin: 8px auto 0; }
.mm-sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; }
.mm-sheet-top h3 { margin: 0; font-family: var(--disp); font-size: 16px; color: var(--ink-hi); }
.mm-x { background: var(--surface-2); border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; }
.mm-sheet-body { overflow-y: auto; padding: 4px 16px calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); }
.mm-cmt { padding: 9px 0; border-bottom: 1px solid rgba(199, 214, 240, .07); font-size: 12.5px; }
.mm-cmt.reply { margin-left: 18px; border-left: 1px solid rgba(199, 214, 240, .12); padding-left: 10px; }
.mm-cmt header { font-size: 10.5px; color: var(--ink-dim); display: flex; gap: 8px; }
.mm-cmt header b { color: var(--vio); }
.mm-cmt p { margin: 4px 0 2px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.mm-compose { display: flex; gap: 6px; margin-top: 10px; position: sticky; bottom: 0; background: #0a0e22; padding-top: 8px; }
.mm-compose textarea { flex: 1; resize: none; height: 44px; background: var(--bg-soft); border: 1px solid var(--hair); border-radius: 12px; padding: 10px; }
.mm-toast { position: absolute; left: 50%; bottom: 92px; transform: translate(-50%, 10px); background: rgba(10, 14, 34, .95); border: 1px solid var(--hair); border-radius: 999px; padding: 8px 14px; font-size: 12px; color: var(--ink-hi); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30; white-space: nowrap; }
.mm-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── a real phone (or an unfolded Fold / tablet — any touch screen): the app is the page ── */
@media (max-width: 600px), (hover: none) and (pointer: coarse) {
  .mm-tools { display: none; }
  .mm-stage { padding: 0; min-height: 0; display: block; }
  .mm-device, .mm-device[data-frame] { transform: none; margin: 0; width: 100vw; height: 100vh; height: 100dvh; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .mm-notch { display: none; }
  .mm-device .mm-app { border-radius: 0; }
  .mm-head { padding-top: calc(10px + var(--safe-area-inset-top, env(safe-area-inset-top))); }
  .mm-device[data-frame="bezel"] .mm-nav { padding-bottom: calc(10px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); }
  /* landscape notch / cutout (iPhone on its side, a Fold's cover screen turned): keep content clear */
  .mm-device .mm-app { padding-left: var(--safe-area-inset-left, env(safe-area-inset-left)); padding-right: var(--safe-area-inset-right, env(safe-area-inset-right)); }
}
@media (min-width: 601px) and (hover: none) and (pointer: coarse) {
  .mm-view { max-width: 720px; margin: 0 auto; padding: 22px 28px 36px; }
  .mm-filters { margin: 0 0 4px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── the quiet frame (2026-10-29) — same rule as the main site: a plain wordmark, text
   tabs in the sans, active = ink + weight. No tinted block behind the active tab, no
   glyph tiles, no spaced uppercase. ── */
.mm-brand b { font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: #f2f6ff; }
.mm-brand small { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0; text-transform: none; color: #8a96ad; }
.mm-brand small::first-letter { text-transform: uppercase; }
.mm-brand small { display: block; }
.mm-nav { background: #070b14; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 4px; }
.mm-nav button { justify-content: center; min-height: 44px; padding: 0 2px; border-radius: 0; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: #8a96ad; }
.mm-nav button i { display: none; }
.mm-nav button span::first-letter { text-transform: uppercase; }
.mm-nav button span { display: block; }
.mm-nav button.on { color: #f2f6ff; font-weight: 600; background: none; }

/* ── the store app only (js/native-bridge.js adds .mm-offline when the device drops offline) ── */
.mm-offline { position: absolute; left: 0; right: 0; bottom: calc(58px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); padding: 6px 16px; background: #070b14; border-top: 1px solid rgba(199, 214, 240, .12); color: #8a96ad; font-size: 12px; text-align: center; z-index: 7; }
