@charset "UTF-8";
/* Share controls follow the common motion and glass contract from PR #9. */
.plan-share-tools { position: relative; display: flex; align-items: center; gap: 4px; width: fit-content; margin: 0 0 12px; animation: plan-share-in var(--dur-2) var(--ease-out) both; }
.plan-share-tools .text-button { min-height: 44px; color: inherit; }
.plan-share-info { position: static; }
.plan-share-info > summary { display: grid; place-items: center; list-style: none; width: 44px; min-height: 44px; padding: 0; color: inherit; font-size: 14px; cursor: pointer; }
.plan-share-info > summary::-webkit-details-marker { display: none; }
.plan-share-info > p { position: absolute; z-index: 20; top: 100%; left: 0; width: min(260px, calc(100vw - 48px)); margin: 0; padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--ink); background: var(--header); -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 13px; line-height: 1.5; text-align: start; }
.plan-share-info[open] > p { animation: plan-share-in var(--dur-2) var(--ease-out) both; }
@keyframes plan-share-in { from { opacity: 0; } to { opacity: 1; } }
/* Neutral surfaces keep real photos and people as the source of color. */
:root {
  color-scheme: dark;
  --paper: #0c0c0e;
  --outside: #060607;
  --ink: #f5f5f7;
  --on-ink: #141416;
  --muted: #a6a6af;
  --secondary-text: #ceced3;
  --line: #26262c;
  --line-strong: #414149;
  --control-line: #686873;
  --soft: #17171b;
  --tint: #222227;
  --accent: #dedee5;
  --header: #0c0c0ef2;
  --field: #141417;
  --selected: #25252b;
  --danger: #ffb6c5;
  --danger-bg: #2b171d;
  --danger-line: #78414c;
  --shadow: #00000066;
  --dur-1: 90ms;
  --dur-2: 140ms;
  --dur-3: 200ms;
  --dur-4: 260ms;
  --dur-5: 320ms;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  /* Reserved for the three small success acknowledgements. Sheets use real critical damping. */
  --ease-spring: cubic-bezier(.2,.8,.2,1.05);
  --glass-1: 0px;
  --glass-2: 0px;
  --glass-3: 0px;
  --page-gutter: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #fafafa;
  --outside: #ebebed;
  --ink: #171719;
  --on-ink: #fff;
  --muted: #65656f;
  --secondary-text: #47474f;
  --line: #e5e5e9;
  --line-strong: #ceced5;
  --control-line: #868690;
  --soft: #f0f0f3;
  --tint: #e9e9ed;
  --accent: #3b3b43;
  --header: #fafafaf2;
  --field: #fff;
  --selected: #e7e7ec;
  --danger: #8c2940;
  --danger-bg: #fff0f3;
  --danger-line: #d39aa7;
  --shadow: #00000016;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { background: var(--outside); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button:disabled { cursor: default; opacity: .4; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.035em; overflow-wrap: anywhere; }
img, video { max-width: 100%; display: block; }
svg { width: 23px; height: 23px; display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; background: var(--paper); padding: 12px 18px; border: 1px solid var(--ink); border-radius: 12px; }
.skip-link:focus { top: 14px; }
.app-shell { width: min(100%, 480px); height: 100vh; height: 100dvh; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; overflow: hidden; border-inline: 1px solid var(--line); }
.app-header { flex-shrink: 0; min-height: 59px; padding: max(9px, env(safe-area-inset-top)) 17px 9px; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--paper); }
.wordmark { padding: 4px 0; font-size: 25px; font-weight: 750; letter-spacing: -.075em; line-height: 1; }
.wordmark span { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .profile-button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; padding: 9px; }
.profile-button { padding: 6px; width: 33px; height: 33px; background: var(--soft); border: 1px solid var(--line); }
.profile-button svg { width: 19px; height: 19px; }
.icon-button:hover { background: var(--soft); }
main { flex: 1; min-height: 0; overflow: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scroll-padding: 18px; }
main:focus { outline: none; }
.screen { min-height: 100%; }
.screen-enter { --arrival: 18px; animation: screen-in var(--dur-5) var(--ease-out) both; }
.screen-enter[data-direction="back"] { --arrival: -18px; }
.app-tabs { flex-shrink: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 2px; padding: 8px 9px max(7px, env(safe-area-inset-bottom)); min-height: 69px; background: var(--header); border-top: 1px solid var(--line); }
.app-tabs button { position: relative; min-height: 50px; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; color: var(--muted); padding: 4px 0; font-size: 12px; }
.app-tabs button[aria-current="page"] { color: var(--ink); font-weight: 650; }
.app-tabs button[aria-current="page"] svg { stroke-width: 2.4; }
.app-tabs .tab-create { width: 45px; height: 42px; min-height: 42px; background: var(--ink); color: #fff; border-radius: 14px; justify-self: center; }
.tab-create svg { width: 24px; height: 24px; }
.tab-icon { position: relative; }
.nav-badge { position: absolute; top: -5px; right: -15px; font-size: 12px; background: var(--ink); color: #fff; border: 2px solid var(--paper); border-radius: 7px; padding: 0 3px; white-space: nowrap; }
.moment-strip { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; padding: 12px 17px 11px; scrollbar-width: none; }
.moment-bubble { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 66px; width: 66px; padding: 0; }
.moment-bubble > span:last-child { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.moment-avatar { --avatar-size: 59px; position: relative; display: flex; align-items: center; justify-content: center; width: var(--avatar-size); height: var(--avatar-size); min-width: var(--avatar-size); min-height: var(--avatar-size); flex: 0 0 var(--avatar-size); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); overflow: hidden; padding: 0; }
.moment-avatar img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); min-width: 0; min-height: 0; max-width: none; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 50%; }
.moment-avatar.add { border-color: var(--line); border-style: dashed; background: var(--soft); }
.moment-avatar.add svg { width: 23px; color: var(--accent); }
.moment-avatar.example { border-color: var(--line); }
.plan-invitation { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 3px 16px 7px; padding: 12px 0; text-align: left; }
.plan-invitation > svg:first-child { color: var(--accent); background: var(--tint); padding: 9px; width: 40px; height: 40px; border-radius: 13px; }
.plan-invitation > span { display: grid; gap: 1px; flex: 1; }
.plan-invitation strong { font-weight: 600; font-size: 14px; letter-spacing: -.015em; }
.plan-invitation small { color: var(--muted); font-size: 12px; }
.plan-invitation > svg:last-child { width: 19px; }
.intent-row { display: flex; gap: 8px; margin: 0 16px 15px; }
.intent-chip { display: inline-flex; gap: 8px; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 40px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; background: var(--soft); }
.intent-chip svg { width: 18px; height: 18px; color: var(--accent); }
.feed-tabs { display: flex; padding: 0 18px; gap: 27px; border-bottom: 1px solid var(--line); }
.feed-tabs button { min-height: 42px; position: relative; padding: 8px 0 12px; font-size: 13px; color: var(--muted); }
.feed-tabs button[aria-pressed="true"] { font-weight: 650; color: var(--ink); }
.feed-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; }
.post-person { padding: 13px 16px 11px; display: flex; align-items: center; gap: 9px; }
.post-avatar { flex: 0 0 32px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; width: 32px; height: 32px; background: var(--soft); border: 1px solid var(--line); border-radius: 50%; }
.post-avatar svg { width: 16px; height: 16px; }
.post-person > div { display: grid; gap: 1px; min-width: 0; }
.post-person strong { font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.post-person small { font-size: 12px; color: var(--muted); }
.post-stage { position: relative; margin: 0 10px; border-radius: 16px; overflow: hidden; }
.post-media { padding: 0; display: block; width: 100%; aspect-ratio: 3 / 4; position: relative; overflow: hidden; background: var(--soft); border-radius: 16px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media:focus-visible { outline-offset: -4px; }
.post-overlay { position: absolute; bottom: 0; inset-inline: 0; padding: 45px 13px 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; background: linear-gradient(transparent, #00000075); pointer-events: none; }
.post-overlay > * { pointer-events: auto; }
.overlay-pill { display: flex; align-items: center; gap: 7px; padding: 10px 12px; min-height: 41px; border-radius: 30px; background: var(--header); color: var(--ink); font-size: 12px; font-weight: 600; }
.overlay-pill svg { order: 2; width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 8px; font-size: 12px; line-height: 1.4; background: var(--soft); color: var(--muted); }
.tag svg { width: 13px; height: 13px; }
.tag.glass { background: #141418b8; color: #fff; border: 1px solid #ffffff20; backdrop-filter: none; font-size: 12px; }
.post-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 15px 17px; font-size: 12px; }
.post-caption p { padding-top: 5px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.post-caption strong { display: block; padding-top: 5px; font-size: 13px; }
.post-caption .icon-button { margin-top: -3px; width: 36px; height: 36px; }
.post-caption .icon-button svg { width: 20px; height: 20px; }
.feed-post + .feed-post { border-top: 1px solid var(--line); }
.own-media { width: calc(100% - 20px); margin: 0 10px; }
.media-badge { position: absolute; right: 12px; top: 12px; display: flex; gap: 5px; align-items: center; background: #141418b8; color: #fff; border-radius: 30px; padding: 5px 8px; font-size: 12px; }
.media-badge svg { width: 12px; height: 12px; }
.text-memory { display: flex; width: 100%; height: 100%; min-height: 200px; padding: 32px; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; overflow: auto; }
.text-memory strong { font-size: 24px; letter-spacing: -.035em; }
.text-memory p { max-width: 34ch; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.text-memory > svg { width: 32px; height: 32px; opacity: .65; }
.feed-end { text-align: center; font-size: 12px; color: var(--muted); padding: 10px 20px 24px; }
.session-strip { display: flex; align-items: center; gap: 11px; margin: 13px 16px 1px; padding: 12px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 13px; text-align: left; }
.session-strip > span { flex: 1; display: grid; gap: 1px; min-width: 0; }
.session-strip strong { font-size: 12px; }
.session-strip small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.session-strip > svg { width: 18px; height: 18px; }
.ideas-screen { padding: 22px 17px; }
.ideas-screen h2 { font-size: 22px; }
.muted { color: var(--muted); font-size: 12px; margin-top: 5px; }
.filter-row { display: flex; gap: 7px; margin: 22px 0 12px; overflow-x: auto; padding-bottom: 4px; }
.filter-chip { flex-shrink: 0; border: 1px solid var(--line); border-radius: 30px; padding: 9px 13px; min-height: 38px; font-size: 12px; color: var(--muted); }
.filter-chip[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.idea-row { display: flex; align-items: center; width: 100%; padding: 19px 0; gap: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.idea-symbol { width: 43px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--accent); }
.idea-copy { display: grid; gap: 5px; min-width: 0; flex: 1; }
.idea-copy small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.idea-copy strong { font-size: 14px; letter-spacing: -.02em; }
.idea-copy > span { color: var(--muted); font-size: 12px; }
.idea-row > svg { height: 16px; width: 16px; }
.detail-screen { padding: 13px 22px 25px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.page-head { margin-bottom: 19px; }
.page-head h1 { font-size: 28px; line-height: 1.12; margin-top: 9px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.primary, .secondary, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 12px 16px; border-radius: 13px; font-size: 13px; font-weight: 550; }
.primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.secondary { border: 1px solid var(--line); background: var(--paper); }
.text-button { min-height: 41px; padding: 9px 2px; font-size: 12px; }
.primary svg, .secondary svg, .text-button svg { width: 18px; height: 18px; }
button { touch-action: manipulation; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
html:not([data-motion-ready]) button:active:not(:disabled) { transform: scale(.97); transition-duration: var(--dur-1); }
.mission-list { margin: 18px 0 24px; }
.mission-preview { display: flex; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.mission-number { width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; background: var(--soft); font-size: 12px; display: grid; place-items: center; }
.mission-preview h2 { font-size: 17px; line-height: 1.25; }
.mission-preview p { color: var(--muted); font-size: 12px; margin: 8px 0; }
.mission-preview small { font-size: 12px; color: var(--muted); }
.mission-preview > div { flex: 1; min-width: 0; }
.activity-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 12px; }
.activity-controls .text-button { min-height: 44px; font-size: 12px; padding: 6px 0; }
.proposal-actions { display: flex; flex-direction: column; gap: 10px; }
.proposal-actions > .text-button { min-height: 44px; justify-content: center; }
.alternative-list { display: grid; gap: 12px; margin: 18px 0; }
.alternative-option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 44px; padding: 17px; border: 1px solid var(--line-strong); border-radius: 17px; text-align: left; background: var(--soft); }
.alternative-option > svg { width: 20px; height: 20px; flex-shrink: 0; }
.alternative-copy { display: grid; gap: 8px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.alternative-copy strong { font-size: 16px; line-height: 1.35; }
.alternative-copy > span { font-size: 13px; line-height: 1.55; color: var(--muted); }
.alternative-copy small { font-size: 12px; color: var(--muted); }
.alternatives-dialog .dialog-top h2 { font-size: 25px; }
.activity-updated { animation: activity-in var(--dur-5) var(--ease-out); }
@media (hover: hover) { .alternative-option:hover { background: var(--selected); } }
@keyframes activity-in { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fact { display: flex; gap: 14px; justify-content: space-between; padding: 8px 0; font-size: 12px; }
.fact > span { color: var(--muted); }
.fact strong { font-weight: 550; text-align: right; max-width: 60%; overflow-wrap: anywhere; }
.round-info { margin-top: 17px; font-size: 12px; }
.round-info summary { cursor: pointer; min-height: 42px; padding: 10px 0; }
.round-info p { margin-top: 10px; color: var(--muted); line-height: 1.7; }
.screen-action { margin-top: 24px; display: flex; gap: 9px; }
.screen-action .primary { flex: 1; }
.play-screen .screen-top { margin-bottom: 15px; }
.mini-progress, .wizard-progress { display: flex; gap: 5px; }
.mini-progress span, .wizard-progress span { display: block; height: 3px; background: var(--soft); flex: 1; border-radius: 4px; }
.mini-progress .filled, .wizard-progress .filled { background: var(--ink); }
.mission-focus { padding-top: 25px; }
.mission-focus h1 { font-size: 30px; line-height: 1.1; }
.mission-brief { font-size: 14px; margin-top: 16px; color: var(--muted); line-height: 1.65; }
.instructions { padding-left: 21px; margin: 25px 0 24px; font-size: 13px; }
.instructions li { margin-bottom: 13px; padding-left: 6px; }
.instructions li::marker { font-size: 12px; color: var(--muted); }
.timer-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; padding: 9px 13px; }
.timer-card > svg { width: 17px; height: 17px; color: var(--muted); }
.timer-number { font-size: 22px; font-weight: 550; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.timer-card .text-button { margin-left: auto; font-size: 12px; }
.twist-card { display: flex; align-items: center; gap: 10px; padding: 19px 0; margin-top: 7px; border-bottom: 1px solid var(--line); }
.twist-card > svg { width: 20px; height: 20px; color: var(--accent); }
.twist-card > div { min-width: 0; flex: 1; }
.twist-card strong { font-size: 12px; font-weight: 600; }
.twist-card p { font-size: 12px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.twist-card button { font-size: 12px; flex-shrink: 0; }
.capture-prompt { display: flex; align-items: center; gap: 11px; padding: 18px 0; width: 100%; text-align: left; }
.capture-prompt > span { flex: 1; display: grid; gap: 2px; }
.capture-prompt strong { font-size: 12px; font-weight: 600; }
.capture-prompt small { font-size: 12px; color: var(--muted); }
.capture-prompt > svg { height: 20px; width: 20px; }
.mini-media { display: flex; gap: 7px; padding: 2px 0 10px; }
.mini-media > img, .mini-media > .video-tile { width: 53px; height: 64px; object-fit: cover; border-radius: 8px; }
.complete-panel { padding: 65px 27px 36px; text-align: center; }
.complete-panel > svg { margin: 0 auto 25px; width: 31px; height: 31px; }
.complete-panel h1 { font-size: 28px; line-height: 1.15; }
.complete-panel p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 17px 0 24px; }
.action-row { display: flex; gap: 9px; flex-wrap: wrap; }
.complete-panel .action-row { display: grid; }
.tiny-note { font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 14px; overflow-wrap: anywhere; }
.detail-timeline { padding: 0 0 0 19px; }
.detail-timeline li { margin: 13px 0; font-size: 12px; }
.detail-timeline small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.collection-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 19px 22px; }
.collection-head h1 { font-size: 24px; }
.collection-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.collection-empty { padding: 15px 20px 26px; }
.collection-empty p { font-size: 13px; color: var(--muted); }
.collection-empty .text-button { margin-top: 11px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.memory-grid-tile { display: block; padding: 0; position: relative; min-width: 0; width: 100%; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; text-align: left; }
.memory-grid-tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--soft); color: var(--muted); }
.tile-placeholder svg { width: 28px; height: 28px; }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 35px 9px 10px; background: linear-gradient(transparent, #000b); color: #fff; display: grid; gap: 4px; }
.tile-caption strong { font-size: 12px; line-height: 1.25; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-caption small { font-size: 12px; }
.tile-count { position: absolute; top: 8px; right: 7px; display: flex; align-items: center; gap: 3px; font-size: 12px; color: #fff; background: #14141899; border-radius: 6px; padding: 3px 5px; }
.tile-count svg { width: 11px; height: 11px; }
.example-tile { grid-column: span 2; }
.collection-note { padding: 4px 19px 25px; }
.composer { padding: 0 20px 23px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.composer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.composer h2 { font-size: 21px; margin-top: 6px; }
.composer-grid { display: grid; gap: 22px; margin-top: 20px; }
.field { margin-bottom: 23px; }
.field label, .field-label { font-size: 12px; font-weight: 550; display: block; margin-bottom: 9px; }
input[type="text"], textarea { border: 1px solid var(--control-line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px; width: 100%; font-size: 16px; }
textarea { min-height: 95px; resize: vertical; }
.input-hint { color: var(--muted); font-size: 12px; margin-top: 7px; }
.drop-zone { display: flex; width: 100%; padding: 27px 20px; min-height: 180px; gap: 11px; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed var(--control-line); border-radius: 14px; background: var(--soft); text-align: center; }
.drop-zone strong { font-size: 13px; }
.drop-zone small { color: var(--muted); font-size: 12px; }
.dragging { outline: 2px solid var(--accent); outline-offset: 3px; }
.upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.upload-tile, .upload-add { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; }
.upload-tile > img, .upload-tile > .video-tile { width: 100%; height: 100%; object-fit: cover; }
.video-tile { display: grid; place-items: center; width: 100%; height: 100%; background: var(--soft); color: var(--accent); }
.remove-media { position: absolute; top: 3px; right: 3px; background: #141418cc; color: #fff; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; }
.remove-media svg { width: 16px; height: 16px; }
.upload-kind { position: absolute; bottom: 7px; left: 8px; font-size: 12px; color: #fff; background: #141418cc; padding: 2px 5px; border-radius: 5px; }
.upload-add { display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); }
.composer-footer { display: grid; gap: 16px; margin-top: 21px; }
.local-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.local-note svg { width: 13px; height: 13px; }
.composer-footer .action-row button { flex: 1; font-size: 12px; padding-inline: 9px; }
.error-box { padding: 12px; margin: 12px 16px; border: 1px solid var(--danger-line); border-radius: 11px; color: var(--danger); background: var(--danger-bg); font-size: 12px; overflow-wrap: anywhere; }
.composer .error-box, .planner .error-box { margin-inline: 0; }
#toast { position: fixed; z-index: 40; left: 50%; bottom: max(88px, calc(env(safe-area-inset-bottom) + 84px)); translate: -50% 0; width: max-content; max-width: min(440px, calc(100vw - 34px)); padding: 13px 17px; border-radius: 14px; background: #f5f5f7; color: #121214; font-size: 12px; box-shadow: 0 10px 35px var(--shadow); }
.app-dialog > #toast { position: absolute; z-index: 46; top: 16px; left: 24px; right: 80px; bottom: auto; width: auto; max-width: none; margin: 0; translate: none; }
.dialog-alert { position: sticky; top: 0; z-index: 45; max-height: 128px; overflow: auto; margin: 8px 0 16px; }
dialog { border: 0; }
dialog::backdrop { background: #0000008c; backdrop-filter: none; }
dialog.app-dialog { background: var(--paper); color: var(--ink); width: calc(100% - 28px); max-width: 440px; max-height: calc(100dvh - 30px); padding: 24px; border-radius: 22px; box-shadow: 0 20px 80px var(--shadow); overscroll-behavior: contain; animation: dialog-in var(--dur-4) var(--ease-out); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dialog-top h2 { font-size: 23px; line-height: 1.15; min-width: 0; }
.dialog-top .icon-button { width: 37px; height: 37px; background: var(--soft); }
.dialog-top .icon-button svg { width: 18px; height: 18px; }
.dialog-body { font-size: 13px; line-height: 1.7; color: var(--muted); }
.dialog-actions { margin-top: 24px; }
.dialog-actions .primary { flex: 1; }
dialog.planner-dialog, dialog.capture-dialog, dialog.alternatives-dialog, dialog.meetup-dialog { width: 100%; max-width: 480px; max-height: calc(100dvh - 16px); margin: 0 auto; inset: auto 0 0; border-radius: 24px 24px 0 0; padding: 12px 24px max(20px, env(safe-area-inset-bottom)); animation: sheet-in var(--dur-4) var(--ease-out); }
.sheet-handle { display: block; width: 31px; height: 4px; border-radius: 9px; background: var(--soft); margin: 0 auto 20px; }
.planner-dialog .dialog-top { margin-bottom: 17px; }
.planner-dialog .dialog-top h2 { font-size: 27px; }
.wizard-kicker { font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 10px; }
.wizard-progress { margin-bottom: 25px; }
.mode-field { margin-bottom: 23px; }
.mode-choices { display: grid; gap: 7px; }
.mode-choice { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; text-align: left; }
.mode-choice > svg { width: 22px; height: 22px; color: var(--muted); }
.mode-choice > span { display: grid; gap: 3px; }
.mode-choice strong { font-size: 12px; font-weight: 600; }
.mode-choice small { color: var(--muted); font-size: 12px; }
.mode-choice[aria-pressed="true"] { background: var(--selected); border-color: var(--ink); }
.itinerary-screen .page-head { margin-top: 25px; }
.itinerary-list { list-style: none; padding: 8px 0 0; margin: 0; }
.itinerary-stop { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 13px; position: relative; padding: 22px 0; }
.itinerary-stop + .itinerary-stop { border-top: 1px solid var(--line); }
.itinerary-time { font-size: 12px; color: var(--muted); padding-top: 5px; }
.itinerary-stop h2 { font-size: 18px; line-height: 1.25; }
.itinerary-stop > div > p { margin-top: 10px; font-size: 13px; color: var(--secondary-text); line-height: 1.7; }
.activity-details { margin-top: 10px; font-size: 12px; color: var(--muted); }
.activity-details summary { min-height: 36px; padding: 8px 0; cursor: pointer; }
.activity-details ul { padding-left: 17px; margin: 10px 0; }
.activity-details li { margin: 7px 0; }
.itinerary-screen > .capture-prompt { border-top: 1px solid var(--line); margin-top: 16px; justify-content: flex-start; font-size: 12px; }
.context-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.context-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 13px 10px; text-align: left; border: 1px solid var(--line); border-radius: 13px; min-width: 0; }
.context-choice > svg { width: 22px; height: 22px; margin-bottom: 2px; }
.context-choice strong { font-size: 12px; font-weight: 600; }
.context-choice small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.context-choice[aria-pressed="true"], .context-btn[aria-pressed="true"], .energy-choice[aria-pressed="true"] { border-color: var(--ink); background: var(--selected); }
.field-row { display: flex; justify-content: space-between; gap: 13px; align-items: center; }
.field-row .field-label, .field-row label { margin: 0; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 40px; height: 41px; display: grid; place-items: center; }
.stepper svg { width: 16px; height: 16px; }
.stepper output { width: 30px; font-size: 13px; text-align: center; font-weight: 550; }
.segments { display: flex; gap: 8px; }
.context-btn { display: flex; align-items: center; gap: 7px; justify-content: center; flex: 1; border: 1px solid var(--line); padding: 12px; border-radius: 12px; font-size: 12px; }
.context-btn svg { width: 16px; height: 16px; }
.value { font-size: 16px; font-weight: 600; }
input[type="range"] { width: 100%; height: 27px; accent-color: var(--ink); margin: 17px 0 3px; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.wizard-hint { font-size: 12px; line-height: 1.7; color: var(--muted); min-height: 38px; }
.wizard-intro { margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.energy-options { display: grid; gap: 8px; }
.energy-choice { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 15px 13px; text-align: left; }
.energy-choice > svg { width: 22px; height: 22px; }
.energy-choice > span:nth-child(2) { flex: 1; display: grid; gap: 3px; }
.energy-choice strong { font-size: 13px; font-weight: 600; }
.energy-choice small { font-size: 12px; color: var(--muted); }
.choice-radio { display: block; flex-shrink: 0; width: 15px; height: 15px; border: 1px solid var(--control-line); border-radius: 50%; }
.energy-choice[aria-pressed="true"] .choice-radio { border: 4px solid var(--ink); background: var(--paper); }
.crazy-note { font-size: 12px; line-height: 1.65; color: var(--muted); padding: 12px 0; }
.wizard-recap { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.wizard-recap .tag { font-size: 12px; }
.wizard-actions { position: sticky; bottom: -1px; padding-top: 25px; display: flex; gap: 8px; background: linear-gradient(transparent, var(--paper) 20%); margin-top: 16px; }
.wizard-actions .primary { flex: 1; }
.planner-foot { color: var(--muted); font-size: 12px; text-align: center; padding-top: 12px; }
.capture-dialog .dialog-top { margin-top: 12px; }
.capture-option { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 19px 0; border-bottom: 1px solid var(--line); }
.capture-option > span { display: grid; flex: 1; gap: 3px; }
.capture-option strong { font-size: 14px; font-weight: 550; }
.capture-option small { font-size: 12px; color: var(--muted); }
.capture-option > svg { width: 20px; height: 20px; }
.suggest-bar { display: grid; gap: 8px; margin: 2px 0 14px; }
.suggest-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.taste-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coach-sheet { display: grid; gap: 12px; }
.coach-stage, .coach-sheet video { width: 100%; min-height: 180px; border-radius: 18px; background: #16161a; color: #f4f1ea; object-fit: cover; display: grid; place-items: center; padding: 16px; text-align: center; }
.coach-hints { display: grid; gap: 6px; }
.coach-hints p { margin: 0; font-size: 13px; line-height: 1.4; }
.coach-cloud { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.4; }
.coach-cloud input { margin-top: 2px; }
.settings-row { display: flex; gap: 12px; font-size: 12px; margin: 24px 0 15px; color: var(--muted); }
.settings-row > svg { width: 19px; height: 19px; }
.settings-motion { border: 1px solid var(--line); border-radius: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; font-size: 12px; }
.settings-motion svg { width: 17px; height: 17px; }
.example-photo { width: 100%; max-height: 55dvh; object-fit: contain; border-radius: 12px; background: var(--soft); margin-bottom: 16px; }
.danger { color: var(--danger); }
dialog.twist-dialog { background: var(--soft); }
.reveal-card { text-align: center; padding: 20px 0 6px; animation: twist-in var(--dur-5) var(--ease-out); }
.reveal-card > svg { width: 32px; height: 32px; margin: 0 auto 20px; color: var(--accent); }
.reveal-kicker { color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.reveal-text { font-size: 25px; letter-spacing: -.035em; line-height: 1.25; margin: 20px 0; overflow-wrap: anywhere; }
.reveal-card small { display: block; margin: 0 auto; max-width: 280px; font-size: 12px; color: var(--muted); line-height: 1.6; }
dialog.story-dialog { margin: 0 auto; inset: 0; width: 100%; max-width: 480px; height: 100vh; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; border-radius: 0; background: #08080a; color: #fff; overflow: hidden; }
.story-dialog #dialog-content { position: relative; height: 100%; }
.story-dialog .dialog-top { position: absolute; left: 18px; right: 13px; top: max(26px, calc(env(safe-area-inset-top) + 21px)); z-index: 5; margin: 0; padding: 4px 0 18px; align-items: flex-start; }
.story-dialog .dialog-top h2 { font-size: 13px; line-height: 1.45; font-weight: 550; max-width: 72%; padding: 10px 11px; border-radius: 12px; background: #08080acc; overflow-wrap: anywhere; }
.story-dialog .dialog-top .icon-button { width: 40px; height: 40px; color: #fff; background: #17171bb3; }
.story-content { position: relative; height: 100%; isolation: isolate; }
.story-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.story-stage > img, .story-stage > video { width: 100%; height: 100%; object-fit: contain;  }
.story-stage > .text-memory { padding-top: 110px; padding-bottom: 270px; background: #17171b; }
.story-content::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, #08080ae8 75%, #08080a); pointer-events: none; z-index: 1; }
.story-progress { position: absolute; z-index: 6; top: max(12px, calc(env(safe-area-inset-top) + 8px)); left: 16px; right: 16px; display: flex; gap: 4px; }
.story-progress button { position: relative; flex: 1; height: 3px; padding: 0; background: #ffffff4a; border-radius: 3px; }
.story-progress button::before { content: ""; position: absolute; inset: -12px 0; }
.story-progress button.active { background: #fff; }
.story-caption { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: max(118px, calc(env(safe-area-inset-bottom) + 112px)); max-height: 28dvh; overflow: auto; scrollbar-width: thin; }
.story-caption h3 { font-size: 23px; line-height: 1.15; margin: 12px 0 8px; }
.story-caption p { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.story-caption > small { display: block; font-size: 12px; color: #ceced3; margin-top: 9px; }
.story-controls { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.story-arrow { position: absolute; top: 43%; width: 38px; height: 45px; display: grid; place-items: center; background: #14141880; color: #fff; border-radius: 50%; pointer-events: auto; }
.story-arrow:first-child { left: 10px; }
.story-arrow:last-child { right: 10px; }
.story-arrow svg { width: 18px; height: 18px; }
.story-counter { position: absolute; bottom: max(85px, calc(env(safe-area-inset-bottom) + 80px)); left: 20px; font-size: 12px; color: #ceced3; }
.story-dialog .dialog-actions { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; padding: 15px 18px max(22px, env(safe-area-inset-bottom)); margin: 0; gap: 10px; background: #08080a; }
.story-dialog .dialog-actions .secondary { flex: 1; color: #fff; background: #222227; border-color: #4b4b53; }
.story-dialog .dialog-actions .danger { color: #ffb6c5; background: #222227; border: 1px solid #4b4b53; height: 45px; width: 45px; border-radius: 13px; }
.story-timeline { font-size: 12px; margin-top: 15px; }
.story-timeline summary { min-height: 36px; cursor: pointer; padding-block: 8px; }
.story-timeline .detail-timeline small { color: #ceced3; }
.story-content[data-kind="video"] .story-stage { top: 85px; bottom: 290px; left: 7px; right: 7px; }
.story-content[data-kind="video"]::after { inset: auto 0 0; height: 265px; }
.story-content[data-kind="video"] .story-caption { max-height: 160px; }
.story-content[data-kind="text"]::after { height: 260px; inset: auto 0 0; }
.app-dialog[data-closing="true"] { animation: dialog-out var(--dur-3) var(--ease-in) forwards; pointer-events: none; }
.planner-dialog[data-closing="true"], .capture-dialog[data-closing="true"], .alternatives-dialog[data-closing="true"], .meetup-dialog[data-closing="true"] { animation: sheet-out var(--dur-3) var(--ease-in) forwards; }
@keyframes screen-in { from { opacity: .35; transform: translateX(var(--arrival, 18px)); } to { opacity: 1; transform: translateX(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { opacity: .25; transform: translateY(90px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(55px); } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes twist-in { from { opacity: 0; transform: perspective(600px) rotateY(-17deg) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes memory-in { from { opacity: .35; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 480px) { .app-shell { border-inline: 0; } }
@media (max-width: 350px) {
  .app-header { padding-inline: 14px; }
  .header-actions { gap: 6px; }
  .moment-strip { gap: 10px; padding-inline: 13px; }
  .moment-avatar { --avatar-size: 54px; }
  .plan-invitation { margin-inline: 13px; width: calc(100% - 26px); gap: 9px; }
  .plan-invitation strong { font-size: 13px; }
  .overlay-pill { padding-inline: 9px; font-size: 12px; }
  .post-overlay { padding-inline: 10px; }
  .detail-screen { padding-inline: 17px; }
  dialog.planner-dialog, dialog.capture-dialog, dialog.alternatives-dialog, dialog.meetup-dialog { padding-inline: 19px; }
  .context-choice { padding: 11px 8px; }
  .context-choice strong { font-size: 12px; }
  .context-choice small { font-size: 12px; }
  .twist-card { flex-wrap: wrap; }
  .twist-card button { margin-left: 30px; }
}
@media (max-height: 640px) {
  .app-header { min-height: 51px; padding-block: 5px; }
  .moment-strip { padding-top: 8px; padding-bottom: 6px; }
  .moment-avatar { --avatar-size: 48px; }
  .plan-invitation { padding-block: 7px; }
  .app-tabs { min-height: 58px; padding-block: 4px; }
  .app-tabs button { min-height: 44px; }
  .story-content[data-kind="video"] .story-stage { bottom: 245px; }
  .story-content[data-kind="video"] .story-caption { max-height: 110px; }
}
.consent-banner { flex-shrink: 0; display: grid; gap: 8px; max-height: 46vh; overflow: auto; padding: 12px 14px 10px; border-top: 1px solid var(--line); background: var(--paper); }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 16px; letter-spacing: -.02em; }
.consent-banner p, .consent-category small { color: var(--secondary-text); font-size: 13px; line-height: 1.4; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-choice { min-height: 48px; width: 100%; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.2; padding: 10px 8px; white-space: normal; }
.consent-banner > .consent-choice { grid-column: 1 / -1; }
.consent-categories { display: grid; gap: 8px; }
.consent-category { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; align-items: center; min-height: 48px; padding: 6px 0; }
.consent-category input { width: 22px; height: 22px; margin: 0; grid-row: 1 / span 2; }
.consent-category span { font-size: 14px; font-weight: 650; }
.consent-category small { grid-column: 2; }
.privacy-page { padding: 13px 18px 28px; display: grid; gap: 14px; }
.privacy-page h1 { font-size: 28px; line-height: 1.12; }
.privacy-section { display: grid; gap: 8px; }
.privacy-section h2 { font-size: 16px; }
.privacy-section p { font-size: 14px; line-height: 1.45; color: var(--secondary-text); }
.privacy-page .secondary { width: 100%; }

/* Personal collection, with controls kept behind its own settings view. */
.profile-screen { padding-bottom: 28px; }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 18px 11px; }
.profile-heading h1 { font-size: 19px; letter-spacing: -.025em; }
.profile-hero { display: flex; align-items: center; gap: 23px; padding: 6px 22px 17px; }
.profile-avatar { --profile-size: 86px; width: var(--profile-size); height: var(--profile-size); min-width: var(--profile-size); min-height: var(--profile-size); flex: 0 0 var(--profile-size); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); padding: 0; }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 50%; }
.profile-avatar > svg { width: 32px; height: 32px; color: var(--muted); }
.profile-stats { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.profile-stats > div { display: grid; gap: 3px; }
.profile-stats strong { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.profile-stats span { font-size: 12px; color: var(--muted); }
.profile-bio { padding: 0 22px 17px; }
.profile-bio h2 { font-size: 14px; letter-spacing: -.01em; }
.profile-bio > p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; margin-top: 7px; line-height: 1.65; }
.profile-bio .tag { margin: 12px 6px 0 0; font-size: 12px; background: var(--soft); }
.profile-actions { display: flex; gap: 8px; margin: 0 18px 22px; }
.profile-actions .secondary { flex: 1; padding: 9px; min-height: 38px; font-size: 12px; border-radius: 10px; }
.profile-tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-tabs button { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 48px; padding: 10px; color: var(--muted); font-size: 12px; border-bottom: 2px solid transparent; }
.profile-tabs button svg { width: 17px; height: 17px; }
.profile-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.profile-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; padding: 43px 32px 20px; }
.profile-empty > svg { width: 31px; height: 31px; color: var(--muted); }
.profile-empty h3 { font-size: 21px; }
.profile-empty p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.profile-empty .primary { margin-top: 7px; }
.profile-empty-note { font-size: 12px; color: var(--muted); padding: 27px 22px; }
.profile-plan-list { padding: 0 20px; }
.saved-plan-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); }
.saved-plan-row > svg { width: 21px; height: 21px; color: var(--muted); }
.saved-plan-row > span { display: grid; gap: 5px; min-width: 0; flex: 1; }
.saved-plan-row strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.saved-plan-row small { font-size: 12px; color: var(--muted); }
.saved-plan-row > svg:last-child { width: 15px; height: 15px; }
.profile-picture-editor { display: flex; align-items: center; gap: 18px; margin: 9px 0 25px; }
.profile-picture-editor .profile-avatar { --profile-size: 74px; }
.profile-picture-editor > div { display: grid; }
.profile-picture-editor .text-button { justify-content: flex-start; min-height: 35px; padding: 6px 0; }
.profile-editor .action-row .primary { flex: 1; }
.field-counter { display: block; font-size: 12px; color: var(--muted); text-align: right; margin-top: 5px; }
.draft-indicator { font-size: 12px; color: var(--muted); background: var(--soft); padding: 10px 13px; border-radius: 10px; margin: -7px 18px 19px; }
.profile-button { overflow: hidden; }
.profile-button img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; aspect-ratio: 1; border-radius: 50%; }
.settings-screen { padding: 0 21px 30px; }
.settings-heading { position: sticky; top: 0; z-index: 2; background: var(--paper); display: flex; align-items: center; gap: 10px; margin: 0 -5px 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.settings-heading h1 { font-size: 21px; }
.preferences-form > h2, .settings-block > h2 { font-size: 17px; margin-bottom: 8px; }
.preference-fields { margin-top: 26px; }
select { width: 100%; min-height: 45px; border: 1px solid var(--control-line); border-radius: 12px; padding: 11px 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
select:focus-visible, input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.settings-block { margin: 26px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.toggle-row { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 13px 0; }
.toggle-row > span { min-width: 0; flex: 1; display: grid; gap: 5px; }
.toggle-row strong { font-size: 12px; font-weight: 550; }
.toggle-row small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.toggle-row input { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--ink); }
.settings-save { width: 100%; }
.settings-link { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 16px 0; min-height: 53px; border-bottom: 1px solid var(--line); font-size: 12px; }
.settings-link > svg { width: 18px; height: 18px; color: var(--muted); }
.settings-link > svg:last-child { margin-left: auto; width: 14px; height: 14px; }
.storage-summary { font-size: 12px; color: var(--muted); margin-top: 17px; }
.storage-meter { height: 4px; background: var(--soft); border-radius: 10px; margin-top: 12px; overflow: hidden; }
.storage-meter span { display: block; height: 100%; background: var(--ink); border-radius: inherit; min-width: 0; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.privacy-note > svg { width: 14px; height: 14px; margin-top: 3px; }
.challenge-styles { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 22px; }
.challenge-styles .filter-chip { padding: 7px 11px; min-height: 35px; font-size: 12px; }
.material-note { display: block; margin-top: 8px; color: var(--muted); }
.puzzle-card { border: 1px solid var(--line); background: var(--soft); border-radius: 15px; padding: 17px 15px; margin: 25px 0 21px; }
.puzzle-card h2 { font-size: 15px; }
.puzzle-prompt { font-size: 14px; line-height: 1.7; white-space: pre-wrap; margin: 15px 0 18px; }
.puzzle-form { display: flex; align-items: center; gap: 7px; }
.puzzle-form input { flex: 1; min-width: 0; font-size: 16px; }
.puzzle-form .primary { font-size: 12px; padding-inline: 12px; }
.puzzle-feedback { font-size: 12px; line-height: 1.65; margin-top: 13px; }
.puzzle-card .text-button { font-size: 12px; margin-top: 4px; }
.solution-card > strong { display: block; font-size: 42px; font-weight: 550; letter-spacing: -.04em; color: var(--ink); margin: 14px 0; }
.solution-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 350px) {
  .profile-hero { gap: 16px; padding-inline: 18px; }
  .profile-hero .profile-avatar { --profile-size: 73px; }
  .profile-stats strong { font-size: 18px; }
  .profile-stats span { font-size: 12px; }
  .profile-actions { gap: 6px; }
  .settings-screen { padding-inline: 18px; }
}


.map-entry { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 12px; padding: 12px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.map-entry > svg:first-child { color: var(--ink); background: var(--paper); padding: 9px; width: 40px; height: 40px; border-radius: 13px; }
.map-entry > span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.map-entry strong { font-size: 14px; letter-spacing: -.02em; }
.map-entry small { color: var(--muted); font-size: 12px; }
.map-entry > svg:last-child { width: 18px; }
.map-screen { padding: 8px 16px 28px; }
.map-screen .filter-row { margin-top: 4px; }
dialog.meetup-dialog { overflow: auto; }
.map-screen .page-head { padding: 6px 0 10px; }
.map-screen h1 { font-size: 28px; }
.map-banner, .safety-card { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--secondary-text); font-size: 12px; line-height: 1.5; }
.safety-card p { margin: 0 0 8px; }
.safety-card textarea, .safety-card input { width: 100%; }
.map-empty { margin: 18px 0; color: var(--secondary-text); font-size: 14px; }
.map-stage { position: relative; height: min(46vh, 280px); min-height: 220px; margin: 8px 0 8px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; touch-action: none; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--soft); }
.map-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.map-pin { position: absolute; width: 44px; height: 44px; margin: 0; padding: 0; display: grid; place-items: center; transform: translate(-50%, -50%); }
.map-pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.map-pin.own .dot, .map-pin.joined .dot { background: var(--ink); }
.map-pin.you .dot { width: 18px; height: 18px; background: transparent; border-style: dashed; }
.map-pin.place .dot { width: 10px; height: 10px; background: var(--muted); border-color: var(--paper); }
.map-pin.is-approximate .dot { border-style: dashed; background: var(--paper); }
.map-pin.is-selected .dot { transform: scale(1.12); }
.map-zoom { position: absolute; top: 8px; right: 8px; display: grid; gap: 6px; }
.map-zoom .icon-button { width: 44px; height: 44px; background: var(--paper); border: 1px solid var(--line); }
.map-city { position: absolute; left: 10px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; border: 1px solid var(--line); }
.map-credit, .map-screen .tiny-note { color: var(--muted); }
.meetup-list { display: grid; gap: 8px; margin: 12px 0; }
.meetup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.meetup-open { display: block; width: 100%; text-align: left; min-height: 44px; }
.meetup-copy { display: grid; gap: 2px; min-width: 0; }
.meetup-copy strong { font-size: 14px; }
.meetup-copy small { color: var(--muted); font-size: 12px; }
.station-tray, .blocked-list { display: grid; gap: 8px; margin-top: 16px; }
.station-tray h2, .blocked-list h2 { font-size: 16px; }
.meetup-form .place-choices { display: grid; gap: 6px; margin: 8px 0 12px; }
.meetup-form .place-choices .secondary, .meetup-sheet .secondary { width: 100%; text-align: left; min-height: 44px; }
.meetup-sheet { display: grid; gap: 8px; }
.map-pin.is-selected .dot { animation: pin-in var(--dur-4) var(--ease-out); }
@keyframes pin-in { from { transform: translateY(8px) scale(.92); } to { transform: none; } }
@media (forced-colors: active) {
  .theme-picker::before, .app-tabs::before { border: 1px solid ButtonText; }
  input[type="range"] { background: CanvasText; }
  input[type="range"]::-webkit-slider-thumb { background: Canvas; border-color: CanvasText; }
  input[type="range"]::-moz-range-thumb { background: Canvas; border-color: CanvasText; }
  .toggle-row input { appearance: auto; }
  .toggle-row input::after { display: none; }
}

/* PS17: bounded, balanced Memory collection and private comment sheets. */
.memories-screen { width: 100%; min-width: 0; }
.memories-screen .collection-head > div { min-width: 0; flex: 1; }
.memory-collection { width: 100%; min-width: 0; padding-inline: 18px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.memory-collection .memory-grid-tile { appearance: none; margin: 0; border-radius: 16px; min-width: 0; max-width: 100%; }
.memory-collection[data-items="1"] .memory-grid-tile { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.memory-collection .memory-grid-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.memory-collection .tile-caption { z-index: 1; max-width: 100%; padding: 38px 13px 14px; text-align: start; }
.memory-collection .tile-caption strong { white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.memory-collection .tile-caption small { font-size: 12px; }
.tile-comments { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.tile-comments svg { width: 14px; height: 14px; }
.post-caption > div { min-width: 0; flex: 1; }
.comment-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-width: 48px; min-height: 44px; padding: 8px 4px; color: var(--ink); font-size: 13px; }
.comment-button svg { width: 22px; height: 22px; }
.story-dialog #dialog-content, .story-content { width: 100%; min-width: 0; }
.story-stage { inset-inline: 0; width: 100%; min-width: 0; }
.story-stage > img, .story-stage > video { min-width: 0; object-position: center; justify-self: center; }
.story-dialog .dialog-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.story-dialog .dialog-actions .secondary { min-width: 0; padding-inline: 11px; }
.story-dialog .story-comment-button { min-width: 54px; min-height: 44px; font-size: 13px; }
dialog.comments-dialog { width: 100%; max-width: 480px; max-height: min(86dvh, 760px); margin: 0 auto; inset: auto 0 0; border-radius: 28px 28px 0 0; border-bottom: 0; padding: 13px 23px max(23px, env(safe-area-inset-bottom)); animation: sheet-in var(--dur-4) var(--ease-out); overscroll-behavior: contain; }
.comments-dialog[data-closing="true"] { animation: sheet-out var(--dur-3) var(--ease-in) forwards; }
.comments-dialog .dialog-top { margin-bottom: 17px; }
.comments-dialog .dialog-top h2 { font-size: 25px; }
.comments-dialog .dialog-actions { margin-top: 12px; }
.comments-dialog .dialog-actions .secondary { flex: 1; min-height: 44px; }
.comments-panel { min-width: 0; }
.comment-memory { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.comment-memory-cover { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: var(--soft); color: var(--muted); }
.comment-memory-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.comment-memory > div { display: grid; gap: 4px; min-width: 0; }
.comment-memory strong { font-size: 14px; overflow-wrap: anywhere; }
.comment-memory small { font-size: 12px; color: var(--muted); }
.comments-list { max-height: 34dvh; overflow-y: auto; overscroll-behavior: contain; padding-block: 8px; }
.comments-empty { display: grid; justify-items: center; gap: 13px; padding: 29px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.comments-empty svg { width: 29px; height: 29px; }
.comment-row { display: flex; align-items: flex-start; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.comment-avatar { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--soft); font-size: 12px; }
.comment-copy { min-width: 0; flex: 1; }
.comment-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.comment-head > div { min-width: 0; display: grid; gap: 3px; }
.comment-head strong { font-size: 13px; overflow-wrap: anywhere; }
.comment-head small, .comment-head time { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.comment-head .icon-button { width: 44px; height: 44px; margin-top: -7px; padding: 12px; }
.comment-head .icon-button svg { width: 17px; height: 17px; }
.comment-copy > p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; padding-top: 8px; }
.comment-composer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.comment-composer textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 78px; max-height: 180px; resize: vertical; font-size: 14px; scroll-margin-block: 20px; }
.comment-compose-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.comment-compose-status output { color: var(--muted); font-size: 12px; }
.comment-compose-status .primary { min-height: 44px; padding: 11px 17px; font-size: 12px; }
.comment-reload { min-height: 44px; font-size: 12px; margin-top: 5px; }
.comment-delete-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 11px; padding: 10px; border-radius: 11px; background: var(--soft); }
.comment-delete-confirm > span { width: 100%; font-size: 12px; }
.comment-delete-confirm .text-button { min-height: 44px; font-size: 12px; }
.danger-text { color: var(--danger); }
@media (max-width: 350px) {
  .memory-collection { padding-inline: 14px; gap: 8px; }
  dialog.comments-dialog { padding-inline: 18px; }
  .story-dialog .dialog-actions { padding-inline: 13px; }
}

/* PS18: explicit local curation and reversible photo looks. */
.quick-plan { display: flex; align-items: center; gap: 13px; width: calc(100% - 36px); margin: 15px 18px 8px; padding: 17px; text-align: start; border: 1px solid var(--line-strong); border-radius: 19px; background: var(--soft); min-height: 76px; transition: transform var(--dur-3) var(--ease-out); }
.quick-plan > span { flex: 1; min-width: 0; display: grid; gap: 5px; }
.quick-plan strong { font-size: 15px; font-weight: 620; }
.quick-plan small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.quick-plan > svg:last-child { width: 19px; height: 19px; }
.proposal-insight { margin-top: 20px; padding: 2px 15px 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 17px; }
.proposal-insight summary { display: flex; align-items: center; gap: 9px; min-height: 48px; cursor: pointer; color: var(--ink); font-size: 13px; }
.proposal-insight summary > svg { width: 18px; height: 18px; }
.proposal-insight ul { margin: 1px 0 12px; padding-left: 18px; color: var(--secondary-text); font-size: 12px; }
.proposal-insight li + li { margin-top: 7px; }
.proposal-insight .tiny-note { margin: 0; }
.pin-activity { gap: 5px; color: var(--muted); }
.pin-activity svg { width: 15px; height: 15px; opacity: .45; transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }
.pin-activity[aria-pressed="true"] { color: var(--ink); }
.pin-activity[aria-pressed="true"] svg { opacity: 1; transform: scale(1.12); }
.upload-tile .remove-media { width: 44px; height: 44px; top: 0; right: 0; }
.edit-photo { position: absolute; bottom: 4px; left: 4px; min-height: 44px; padding: 0 10px; display: flex; align-items: center; gap: 5px; border-radius: 12px; background: #0c0c0ee8; color: #fff; font-size: 12px; }
.edit-photo svg { width: 17px; height: 17px; }
dialog.photo-editor-dialog { width: 100%; max-width: 480px; max-height: 95dvh; margin: 0 auto; inset: auto 0 0; padding: 13px 20px max(22px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; border-bottom: 0; animation: sheet-in var(--dur-4) var(--ease-out); overscroll-behavior: contain; }
.photo-editor-dialog[data-closing="true"] { animation: sheet-out var(--dur-3) var(--ease-in) forwards; }
.photo-editor-dialog .dialog-top { margin-bottom: 15px; }
.photo-editor-dialog .dialog-top h2 { font-size: 24px; }
.photo-editor-panel { width: 100%; min-width: 0; }
.photo-preview { height: min(40dvh, 370px); min-height: 120px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #0c0c0e; contain: paint; }
.photo-preview > img { width: 100%; height: 100%; object-fit: contain; transition: none; }
.photo-preview-label { position: absolute; bottom: 10px; left: 10px; padding: 5px 9px; background: #0c0c0ee8; color: #fff; border-radius: 8px; font-size: 12px; pointer-events: none; }
.photo-compare { min-height: 44px; margin: 4px 0; justify-content: center; width: 100%; font-size: 12px; gap: 7px; }
.photo-compare svg { width: 18px; height: 18px; }
.photo-filter-rail { width: 100%; min-width: 0; display: flex; gap: 9px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 5px 3px 10px; scroll-snap-type: x proximity; }
.photo-filter-choice { flex: 0 0 66px; min-width: 66px; min-height: 84px; display: grid; gap: 7px; padding: 4px; border: 1px solid transparent; border-radius: 14px; scroll-snap-align: center; transition: transform var(--dur-3) var(--ease-out); }
.photo-filter-choice > img { width: 56px; height: 56px; object-fit: cover; border-radius: 9px; }
.photo-filter-choice > span { font-size: 12px; color: var(--muted); }
.photo-filter-choice[aria-pressed="true"] { border-color: var(--control-line); background: var(--selected); }
.photo-filter-choice[aria-pressed="true"] > span { color: var(--ink); }
.photo-strength { margin-top: 10px; margin-bottom: 12px; }
.photo-strength input { width: 100%; }
.photo-strength output { color: var(--muted); font-size: 12px; }
.photo-editor-dialog .dialog-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; margin-top: 17px; }
.photo-editor-dialog .dialog-actions > button { min-width: 0; min-height: 46px; padding-inline: 9px; font-size: 12px; }
.story-original { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; margin-top: 7px; }
.story-original svg { width: 17px; height: 17px; }
@media (hover: hover) { .quick-plan:hover { background: var(--selected); border-color: var(--control-line); } }
@media (max-width: 350px) { .quick-plan { width: calc(100% - 28px); margin-inline: 14px; } dialog.photo-editor-dialog { padding-inline: 14px; } }
@media (max-height: 600px) { .photo-preview { height: 30dvh; min-height: 100px; } }

.proposal-insight summary > span { flex: 1; }
.proposal-insight summary > svg:last-child { width: 16px; height: 16px; transform: rotate(90deg); transition: transform var(--dur-3) var(--ease-out); }
.proposal-insight[open] summary > svg:last-child { transform: rotate(-90deg); }
@media (max-width: 350px) { .composer .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }


/* Redesign v2 — local type, physical surfaces, one restrained accent. */
@font-face { font-family: Inter; src: url('./assets/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #0b0b0b; --surface-1: #141413; --surface-2: #1c1b19; --surface-3: #272521;
  --text: #f6f2eb; --text-2: #beb8ad; --text-3: #aaa296;
  --champagne: #d9cbb6; --hairline: .5px solid rgb(246 242 235 / 14%);
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-6: 48px; --space-8: 64px;
  --radius-1: 16px; --radius-2: 24px; --radius-3: 32px; --radius-4: 44px; --sheet-radius: 40px;
  --sh1: 0 1px 2px rgb(0 0 0 / 24%), 0 8px 24px rgb(0 0 0 / 20%);
  --sh2: 0 2px 6px rgb(0 0 0 / 24%), 0 20px 52px rgb(0 0 0 / 28%);
  --specular: inset 0 1px 0 rgb(246 242 235 / 10%);
  --material: linear-gradient(155deg, #24221f, #151412);
  --progress-well: var(--surface-1); --progress-track: var(--surface-2); --progress-track-rest: #777269; --progress-amber: #ddb366; --progress-blue: #82a8dc; --progress-purple: #bb9bdf; --progress-glint: rgb(255 255 255 / 48%);
  --photo-grade: saturate(.72) contrast(1.06) brightness(.92) sepia(.12);
  --glass-1: 0px; --glass-2: 0px; --glass-3: 0px; --page-gutter: 24px;
  --paper: var(--bg); --outside: var(--bg); --ink: var(--text); --muted: var(--text-2);
  --secondary-text: var(--text-2); --soft: var(--surface-1); --tint: var(--surface-2);
  --field: var(--surface-2); --selected: var(--surface-3); --accent: var(--text);
  --line: rgb(255 255 255 / 14%); --line-strong: rgb(255 255 255 / 22%); --header: var(--surface-3);
  font-family: Inter, system-ui, sans-serif; font-optical-sizing: auto;
  font-feature-settings: 'ss01', 'cv11', 'tnum'; font-variant-numeric: tabular-nums;
}
:root[data-theme='light'] {
  --bg: #f7f4ee; --surface-1: #fffdf9; --surface-2: #efebe3; --surface-3: #e4ded4;
  --text: #201e1a; --text-2: #625c52; --text-3: #6c655a;
  --champagne: #766b5c;
  --sh1: 0 1px 2px rgb(54 43 25 / 6%), 0 8px 24px rgb(54 43 25 / 7%);
  --sh2: 0 2px 6px rgb(54 43 25 / 7%), 0 20px 52px rgb(54 43 25 / 12%);
  --specular: inset 0 1px 0 rgb(255 255 255 / 85%);
  --material: linear-gradient(155deg, #fffdf9, #efebe3);
  --progress-track-rest: #888173; --progress-amber: #a97100; --progress-blue: #315f94; --progress-purple: #6d4f9b; --progress-glint: rgb(255 255 255 / 8%);
  --line: rgb(0 0 0 / 14%); --line-strong: rgb(0 0 0 / 22%); --hairline: .5px solid rgb(0 0 0 / 14%);
}
body { font-size: 15px; line-height: 1.45; }
h1 { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: 17px; line-height: 1.3; font-weight: 560; letter-spacing: -.012em; }
.display-1 { font-size: 56px; line-height: .98; font-weight: 640; letter-spacing: -.045em; }
.display-2 { font-size: 40px; line-height: 1.02; font-weight: 620; letter-spacing: -.04em; }
.caption { font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--text-2); }
.big-number { font-size: clamp(88px, 24vw, 96px); font-weight: 260; line-height: 1; letter-spacing: -.05em; }
svg { width: 22px; height: 22px; stroke-width: 1.4; }
.app-shell { max-width: 480px; border: 0; background: var(--bg); isolation: isolate; }
.app-header { min-height: 72px; padding: 16px 24px; background: transparent; border: 0; z-index: 5; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wordmark { font-size: 22px; letter-spacing: -.05em; font-weight: 620; }
.wordmark > span { color: inherit; }
.header-actions { gap: 8px; }
.profile-button { width: 36px; height: 36px; border: var(--hairline); background: var(--surface-3); }
#theme-shortcut { display: none; }
#main { padding-bottom: 112px; overscroll-behavior-y: contain; }
.primary { min-height: 64px; border-radius: 99px; color: #121214; background: linear-gradient(#fff, #e9e9ec); box-shadow: var(--sh1), var(--specular); font-weight: 600; font-size: 15px; }
.primary svg, .secondary svg, .text-button svg { width: 22px; height: 22px; }
.secondary { border-radius: 99px; min-height: 48px; border: var(--hairline); background: var(--surface-2); }
.icon-button { width: 44px; height: 44px; border-radius: 50%; }
.eyebrow, .wizard-kicker, .draft-label { text-transform: none; letter-spacing: .01em; }
.quiet-info { border: 0; border-radius: 0; background: transparent; }
.quiet-info > summary { min-height: 44px; display: flex; align-items: center; color: var(--text-2); }
.quiet-info[open] { padding-bottom: 16px; }
.quiet-info p { line-height: 1.5; }
.plan-share-tools, .plan-share-info[open] > p { animation: none; }
.plan-share-tools { margin: 0; }
.plan-share-info > p { background: var(--surface-3); border: var(--hairline); border-radius: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.glass, .app-tabs { background: var(--material); border: var(--hairline); box-shadow: var(--sh2), var(--specular); -webkit-backdrop-filter: none; backdrop-filter: none; }
dialog.app-dialog { border-radius: 40px 40px 0 0; border: var(--hairline); border-bottom: 0; background: var(--surface-1); box-shadow: var(--sh2); -webkit-backdrop-filter: none; backdrop-filter: none; max-height: calc(100dvh - 32px); }
#dialog-content { padding: 8px 24px 32px; }
.dialog-top { min-height: 56px; margin-bottom: 16px; }
.dialog-top h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.sheet-handle { width: 40px; height: 4px; background: var(--text-3); }
.sheet-grip { min-height: 24px; }
.dialog-backdrop { background: rgb(0 0 0 / 50%); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mission-preview, .idea-row, .saved-plan-row { border: 0; border-bottom: var(--hairline); border-radius: 0; box-shadow: none; background: transparent; padding: 24px 0; }
.mission-list { gap: 0; }
.mission-number { color: var(--text-3); background: transparent; border: 0; }
.station-duration { color: var(--text-2); font-size: 12px; }
.detail-screen { padding: 0; }
.proposal-screen .page-head { margin: 16px 0 24px; }
.proposal-screen h1 { font-size: 40px; font-weight: 620; line-height: 1.02; letter-spacing: -.04em; }
.proposal-actions { position: sticky; bottom: 0; background: var(--surface-1); display: flex; gap: 8px; align-items: center; padding-top: 16px; }
.proposal-actions > .primary, .proposal-actions > .swipe-start { flex: 1; }
.proposal-screen .station-details { margin-top: 0; }
.proposal-screen .tag { background: transparent; border: 0; padding-left: 0; color: var(--text-2); }
.screen-top { margin: 0; }
.hero-home { margin-top: -72px; }
.home-hero { position: relative; height: 600px; min-height: 560px; overflow: hidden; border-radius: 0 0 44px 44px; background: #151517; color: #f5f5f7; }
.home-hero > img { width: 100%; height: 100%; object-fit: cover; filter: none; transform: scale(1.08); }
.home-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgb(0 0 0 / 16%), transparent 30%, rgb(0 0 0 / 25%) 45%, #000 100%), radial-gradient(ellipse at 50% 40%, transparent 20%, rgb(0 0 0 / 38%) 100%); }
.home-hero-copy { position: absolute; z-index: 1; bottom: 40px; left: 24px; right: 24px; }
.home-hero-copy h1 { max-width: 300px; margin-bottom: 32px; }
.home-hero-copy .primary { width: 100%; display: flex; justify-content: space-between; padding: 8px 12px 8px 24px; }
.arrow-disc { display: grid; place-items: center; border-radius: 50%; width: 44px; height: 44px; background: #141416; color: #fff; }
.home-intents { display: flex; justify-content: center; gap: 20px; padding: 16px 12px 8px; }
.home-intents button { min-height: 44px; font-size: 15px; color: var(--text-2); padding: 0; }
.home-shortcuts { display: flex; padding: 0 24px; justify-content: center; gap: 24px; }
.home-shortcuts .text-button { font-size: 12px; color: var(--text-3); }
.recent-memory { margin: 24px; }
.recent-memory > .caption { margin-bottom: 16px; }
.recent-memory .feed-post { border: 0; padding: 0; }
.recent-memory .post-person, .recent-memory .post-caption { display: none; }
.recent-memory .post-media { aspect-ratio: 1.8; border-radius: 32px; }
.context-choices { display: block; }
.context-choice { display: flex; width: 100%; min-height: 96px; gap: 16px; align-items: center; padding: 16px 0; border: 0; border-bottom: var(--hairline); border-radius: 0; background: transparent; }
.context-choice > svg { box-sizing: content-box; padding: 16px; border: var(--hairline); border-radius: 50%; background: var(--surface-2); }
.context-choice > strong { flex: 1; font-size: 17px; font-weight: 560; text-align: left; }
.choice-radio { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--text-3); }
[aria-pressed='true'] > .choice-radio { border: 6px solid var(--text); }
.context-choice[aria-pressed='true'] { background: transparent; color: var(--text); }
.wizard-fields { min-height: 300px; padding-bottom: 24px; }
.wizard-progress { display: flex; gap: 4px; margin-bottom: 24px; }
.wizard-progress span { flex: 1; height: 2px; background: var(--surface-3); }
.wizard-progress span.filled { background: var(--text); }
.wizard-actions { position: sticky; bottom: 0; background: var(--surface-1); display: flex; gap: 8px; padding-top: 16px; }
.wizard-actions .primary { flex: 1; }
.wizard-actions .secondary { border: 0; background: transparent; }
.duration-wheel { text-align: center; padding: 16px 0 24px; }
.duration-display { display: flex; justify-content: center; align-items: baseline; gap: 8px; padding: 8px 0 24px; }
.duration-display small { color: var(--text-2); }
.duration-ruler { position: relative; height: 88px; overflow: hidden; touch-action: pan-y; cursor: grab; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.ruler-track { position: absolute; top: 16px; left: 50%; width: 660px; height: 64px; background: repeating-linear-gradient(90deg, var(--text-3) 0 .5px, transparent .5px 10px) 0 0 / 100% 16px no-repeat, repeating-linear-gradient(90deg, var(--text-2) 0 .5px, transparent .5px 30px) 0 0 / 100% 32px no-repeat; }
.ruler-hour { position: absolute; top: 40px; width: 24px; font-size: 12px; color: var(--text-3); }
.ruler-tick { width: 10px; flex-shrink: 0; height: 16px; border-left: .5px solid var(--text-3); position: relative; }
.ruler-tick.major { height: 32px; border-color: var(--text-2); }
.ruler-tick > span { position: absolute; top: 40px; left: -12px; width: 24px; color: var(--text-3); font-size: 12px; }
.ruler-pointer { position: absolute; z-index: 1; left: 50%; top: 8px; height: 48px; width: 2px; background: var(--champagne); border-radius: 2px; }
.duration-wheel input[type='range'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.duration-wheel:focus-within { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 24px; }
.planner-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--hairline); border-bottom: var(--hairline); margin: 16px 0; }
.planner-three > details { margin: 0; padding: 0; }
.planner-three > details > summary { justify-content: center; font-size: 12px; }
.planner-three > details[open] { grid-column: 1 / -1; padding-bottom: 16px; }
.planner-three .segments, .planner-three .energy-options { gap: 8px; }
.energy-choice, .mode-choice { border: 0; border-bottom: var(--hairline); border-radius: 0; background: transparent; }
.moments-screen { padding: 16px 24px; }
.moments-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.moments-hero { height: 320px; border-radius: 36px; overflow: hidden; margin-bottom: 24px; }
.moments-hero .memory-card { width: 100%; height: 100%; border-radius: inherit; }
.moments-screen .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.moments-screen .gallery .memory-card { min-width: 0; aspect-ratio: 3 / 4; border-radius: 24px; }
.moments-screen .example-post { border: 0; margin: 0; }
.moments-screen .example-post .post-media { border-radius: 36px; }
.composer-dialog .composer { border: 0; padding: 0; background: transparent; }
.app-tabs { position: absolute; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; right: 12px; height: 68px; min-height: 68px; width: auto; padding: 4px 8px; border-radius: 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; z-index: 20; transform-origin: center bottom; }
.app-tabs button { position: relative; z-index: 1; min-width: 0; padding: 4px 0; gap: 4px; color: var(--text-2); font-size: 12px; background: transparent; }
.app-tabs button[aria-current='page'] { color: var(--text); background: transparent; }
.app-tabs button[aria-current='page']::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: currentColor; bottom: 2px; }
.app-tabs .tab-create { width: 52px; height: 52px; min-height: 52px; align-self: center; justify-self: center; border-radius: 50%; background: var(--text); color: var(--bg); box-shadow: var(--sh1); }
.app-tabs .nav-badge { width: 6px; height: 6px; min-width: 0; padding: 0; font-size: 0; background: var(--champagne); border-radius: 50%; }
.dock-blob { position: absolute; width: calc((100% - 16px) / 5); left: 8px; top: 4px; bottom: 4px; border-radius: 28px; background: rgb(255 255 255 / 7%); pointer-events: none; }
.app-tabs[data-compact='true'] button > span:last-child:not(.tab-icon) { visibility: hidden; }
.consent-banner { z-index: 22; position: absolute; left: 16px; right: 16px; bottom: 92px; background: var(--surface-3); border: var(--hairline); border-radius: 24px; padding: 16px; box-shadow: var(--sh2); }
.consent-banner p { font-size: 12px; }
.consent-actions { gap: 8px; }
.consent-choice { min-height: 44px; border-radius: 99px; }
.profile-screen, .settings-screen { padding: 16px 24px 24px; }
.profile-avatar { width: 96px; height: 96px; }
.profile-screen .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.profile-screen .memory-card { aspect-ratio: 3 / 4; border-radius: 8px; }
.moments-hero .memory-grid-tile { width: 100%; height: 100%; border-radius: inherit; }
.moments-screen .gallery .memory-grid-tile { aspect-ratio: 3 / 4; border-radius: 24px; }
.create-options { display: grid; }
.create-row { display: flex; align-items: center; gap: 16px; min-height: 80px; border-bottom: var(--hairline); text-align: left; font-size: 17px; }
.resume-plan { display: flex; margin: 16px auto; }
.haptic-switch { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.swipe-start { position: relative; min-height: 68px; height: 68px; border-radius: 99px; background: var(--surface-3); overflow: hidden; isolation: isolate; }
.swipe-thumb { position: absolute; left: 4px; top: 4px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(#fff, #e9e9ec); color: #121214; display: grid; place-items: center; z-index: 2; touch-action: none; box-shadow: var(--sh1); }
.swipe-label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 48px; color: var(--text); font-size: 15px; font-weight: 560; pointer-events: none; }
.swipe-fill { position: absolute; inset: 0; background: rgb(255 255 255 / 10%); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.proposal-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; }
.proposal-actions .plan-share-tools { flex-wrap: wrap; width: 44px; }
.proposal-actions .plan-share-info > summary { min-height: 24px; }
.anticipation { margin: 32px 24px; text-align: center; }
.surprise-teaser { width: 100%; position: relative; height: 180px; overflow: hidden; border-radius: 32px; margin-top: 24px; display: grid; align-content: center; justify-items: center; gap: 8px; }
.surprise-teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.4); z-index: -1; }
.surprise-teaser > svg { color: var(--champagne); }
.surprise-teaser .teaser-title { visibility: hidden; }
.surprise-teaser.revealed img { filter: none; }
.surprise-teaser.revealed .teaser-title { visibility: visible; }
.surprise-teaser.revealed > svg, .surprise-teaser.revealed > span { display: none; }
.next-idea { margin: 24px; padding: 16px 0; border-top: var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.social-screen { padding: 16px 24px 24px; }
.social-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.social-heading h1 { flex-basis: 100%; margin-bottom: 8px; }
.demo-chip { display: inline-flex; min-height: 24px; align-items: center; border: var(--hairline); border-radius: 99px; padding: 4px 8px; font-size: 12px; color: var(--text-2); }
.demo-info { margin: 0; }
.demo-info summary { width: 44px; justify-content: center; }
.demo-info[open] { flex-basis: 100%; }
.story-rings { display: flex; gap: 24px; overflow-x: auto; margin: 0 -24px 24px; padding: 0 24px 8px; }
.story-ring { display: grid; justify-items: center; gap: 8px; padding: 0; min-width: 64px; font-size: 12px; }
.demo-avatar { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-size: 24px; font-weight: 500; background: linear-gradient(145deg, #29292e, #121214); color: #f5f5f7; }
.story-ring > .demo-avatar { outline: 1.5px solid var(--champagne); outline-offset: 3px; }
.demo-avatar.large { width: 96px; height: 96px; font-size: 40px; }
.social-post { margin: 0 -24px 32px; }
.social-post-head { display: flex; align-items: center; justify-content: space-between; padding: 0 24px 12px; }
.social-author { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 560; }
.social-author .demo-avatar { width: 32px; height: 32px; font-size: 15px; }
.social-post-stage { position: relative; height: 430px; border-radius: 36px; overflow: hidden; isolation: isolate; }
.social-post-image { width: 100%; height: 100%; padding: 0; display: block; }
.social-post-image img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.social-post-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 50%, rgb(0 0 0 / 72%)); }
.social-image-caption { position: absolute; z-index: 1; left: 24px; bottom: 24px; right: 24px; display: grid; gap: 12px; pointer-events: none; color: #f5f5f7; }
.social-image-caption strong { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.visibility-chip { min-height: 44px; width: fit-content; padding: 8px 12px; background: rgb(0 0 0 / 30%); color: #f5f5f7; border: .5px solid rgb(255 255 255 / 30%); border-radius: 99px; font-size: 12px; pointer-events: auto; }
.reaction-bar { display: flex; align-items: center; gap: 4px; padding: 8px 24px; }
.emoji-reaction { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 24px; border-radius: 50%; }
.emoji-reaction[aria-pressed='true'] { background: var(--surface-3); }
.reaction-bar > .icon-button:last-child { margin-left: auto; }
.demo-invitation { border: var(--hairline); border-radius: 32px; padding: 16px 24px 24px; background: linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 4%)); margin: 16px 0 32px; }
.demo-invitation > .icon-button { float: right; }
.invitation-title { font-size: 32px; font-weight: 600; line-height: 1.05; letter-spacing: -.04em; margin: 24px 0; }
.demo-invitation .primary { width: 100%; }
.social-detail-dialog, .social-story-dialog { width: min(100vw, 480px); max-width: 480px; height: 100dvh; max-height: 100dvh !important; margin: 0 auto; border-radius: 0 !important; border: 0 !important; }
.social-detail-dialog #dialog-content, .social-story-dialog #dialog-content { padding: 0 0 32px; }
.social-detail-dialog .dialog-top, .social-story-dialog .dialog-top { position: absolute; z-index: 5; top: 16px; right: 16px; left: 16px; margin: 0; color: #f5f5f7; }
.social-detail-dialog .dialog-top h2, .social-story-dialog .dialog-top h2 { visibility: hidden; }
.social-detail-image { width: 100%; height: 470px; object-fit: cover; filter: none; }
.social-detail-head { display: flex; justify-content: space-between; padding: 16px 24px 0; }
.social-detail-title { padding: 0 24px 16px; font-size: 24px; font-weight: 600; }
.social-detail > .caption, .social-detail > .demo-chip, .social-detail > .visibility-chip { margin-left: 24px; }
.demo-comment-form { display: flex; gap: 8px; padding: 24px; }
.demo-comment-form input { min-width: 0; flex: 1; }
.demo-comments { padding: 0 24px; }
.demo-comments p { padding: 16px 0; border-bottom: var(--hairline); white-space: pre-wrap; overflow-wrap: anywhere; }
.demo-story { position: relative; height: 100dvh; padding: 64px 24px 24px; color: #f5f5f7; isolation: isolate; display: flex; flex-direction: column; }
.demo-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: none; touch-action: none; }
.demo-story::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / 40%), transparent 30%, rgb(0 0 0 / 70%)); }
.demo-story-progress { height: 2.5px; background: rgb(255 255 255 / 25%); margin-bottom: 24px; }
.demo-story-progress > span { display: block; height: 100%; background: #f5f5f7; transform: scaleX(0); transform-origin: left; }
.demo-story .social-post-head { padding: 0; }
.demo-story-title { font-size: 32px; letter-spacing: -.04em; margin-top: auto; margin-bottom: 32px; }
.story-replies { display: flex; gap: 8px; }
.story-replies input { flex: 1; min-width: 0; border-radius: 99px; background: rgb(0 0 0 / 30%); }
.story-pause { position: absolute; top: 50%; left: 50%; padding: 12px 24px; border-radius: 99px; transform: translate(-50%, -50%); }
.demo-profile { padding: 80px 24px 24px; }
.demo-profile > .icon-button { float: right; }
.demo-profile h1 { margin: 24px 0 16px; }
.demo-profile .primary { margin-top: 24px; width: 100%; }
.demo-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px -24px; gap: 4px; }
.demo-profile-grid button { padding: 0; aspect-ratio: 3 / 4; }
.demo-profile-grid img { width: 100%; height: 100%; object-fit: cover; }
.friend-row { display: flex; align-items: center; gap: 8px; border-bottom: var(--hairline); min-height: 96px; }
.friend-row .demo-avatar { width: 44px; height: 44px; font-size: 17px; }
.friend-row .text-button { padding: 8px; }
.friend-row > .text-button:first-of-type { flex: 1; text-align: left; }
.demo-chat { display: grid; gap: 16px; }
.chat-message { margin: 16px 0; padding: 16px; border-radius: 24px; background: var(--surface-3); white-space: pre-wrap; overflow-wrap: anywhere; }
.invite-detail { padding-bottom: 24px; }
.invite-hero { width: calc(100% + 48px); max-width: none; margin: -16px -24px 24px; height: 300px; object-fit: cover; border-radius: 0 0 44px 44px; filter: none; }
.invite-detail > .icon-button { float: right; }
.invite-facts { display: grid; gap: 8px; color: var(--text-2); padding: 24px 0; }
.invite-people { display: flex; padding-left: 12px; }
.invite-people .demo-avatar { margin-left: -12px; border: 3px solid var(--surface-1); width: 44px; height: 44px; font-size: 17px; }
.invite-detail > .demo-chip { margin-top: 24px; }
.demo-inbox { margin-top: 32px; text-align: left; width: 100%; }
.discover-demo > .segments { margin-bottom: 24px; }
.demo-map { position: relative; height: 430px; margin: 0 -24px 24px; border-radius: 44px; overflow: hidden; background: repeating-linear-gradient(25deg, transparent 0 48px, #272729 49px 51px, transparent 52px 100px), repeating-linear-gradient(-40deg, #121214 0 56px, #232326 57px 60px, #121214 61px 120px); }
.demo-map-pin { position: absolute; width: 64px; height: 64px; padding: 3px; border: 1.5px solid var(--champagne); border-radius: 50%; background: var(--surface-2); }
.demo-map-pin .demo-avatar { width: 100%; height: 100%; }
.demo-map-pin.pin-0 { top: 110px; left: 22%; }
.demo-map-pin.pin-1 { top: 240px; left: 62%; }
.discover-demo > .primary { width: 100%; }
.nearby-row { padding: 24px 0; border-bottom: var(--hairline); }
.shared-flight { position: fixed; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; transform-origin: 0 0; pointer-events: none; z-index: 100; }
.shared-flight > * { width: 100%; height: 100%; object-fit: cover; }
.social-post { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.app-shell:is([data-depth-animating], [data-shared-animating]) :is(.app-tabs, .glass) { background: linear-gradient(rgb(54 54 57 / 96%), rgb(28 28 31 / 96%)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.app-tabs { box-shadow: var(--specular); }
.app-tabs::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; box-shadow: var(--sh2); opacity: 1; }
.particle-canvas { position: fixed; inset: 0; padding: 0; margin: 0; border: 0; max-width: none; max-height: none; background: transparent; pointer-events: none; z-index: 1000; }
.memory-flight { position: fixed; object-fit: cover; z-index: 100; border-radius: 24px; pointer-events: none; }
.light-sweep { position: absolute; inset: -60% -30%; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 35%), transparent 65%); }
.surprise-teaser { transform-style: preserve-3d; }
.radial-picker { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; background: transparent; border: 0; pointer-events: none; overflow: visible; }
.radial-emoji { position: absolute; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; pointer-events: auto; background: var(--surface-3); box-shadow: var(--sh2), var(--specular); }
.emoji-flight { position: fixed; font-size: 28px; pointer-events: none; z-index: 100; }
.refresh-indicator { display: grid; place-items: center; width: 44px; height: 44px; position: absolute; top: -44px; left: calc(50% - 22px); border-radius: 50%; border: var(--hairline); background: var(--surface-3); opacity: 0; }
.feed-demo { position: relative; }
.skeleton-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 8%), transparent); }
dialog.app-dialog { padding: 0; width: min(100%, 480px); max-width: 480px; margin: auto auto 0; }
dialog.app-dialog:not(.social-detail-dialog):not(.social-story-dialog) { max-height: calc(100% - 32px); overflow: hidden; }
dialog.app-dialog:not(.social-detail-dialog):not(.social-story-dialog)[open] { display: flex; flex-direction: column; }
dialog.app-dialog:not(.social-detail-dialog):not(.social-story-dialog) > #dialog-content { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.proposal-dialog .dialog-top h2 { visibility: hidden; }
.proposal-dialog .dialog-top { margin-bottom: 0; min-height: 44px; }
.proposal-screen .screen-top { display: none; }
.proposal-screen .page-head { margin: 0 0 24px; }
.proposal-screen .page-head .eyebrow { display: none; }
.station-title { display: block; font-size: 17px; font-weight: 560; line-height: 1.3; letter-spacing: -.012em; }
.proposal-screen .mission-preview { padding: 16px 0; }
.proposal-screen .mission-number { width: 16px; }
.proposal-screen .tag-row { margin-bottom: 8px; }
.proposal-screen .proposal-actions { margin: 0; padding: 16px 0 0; }
.proposal-screen .proposal-actions .swipe-start { min-height: 68px; }
.composer-dialog .composer-top { display: none; }
.consent-banner { -webkit-backdrop-filter: none; backdrop-filter: none; }
.settings-detail { border-bottom: var(--hairline); padding: 8px 0; }
.settings-detail > summary { font-size: 17px; min-height: 64px; }
.settings-screen .toggle-row { padding: 16px 0; }
.home-intents button { min-width: 44px; }
.profile-screen .gallery .memory-grid-tile { aspect-ratio: 3 / 4; border-radius: 8px; }
.proposal-screen .proposal-actions { grid-template-columns: minmax(0, 1fr) 88px; }
.proposal-actions .plan-share-tools { flex-wrap: nowrap; width: 88px; }
.proposal-actions .plan-share-info > summary { min-height: 44px; }
.home-hero-copy > .primary { height: 64px; min-height: 64px; flex-shrink: 0; }
.app-shell { position: relative; }
html[data-screen='plan'] .app-header { position: absolute; top: 0; left: 0; right: 0; }
.hero-home { margin-top: 0; }
.proposal-screen .page-head h1 { font-size: 40px; line-height: 1.02; font-weight: 620; letter-spacing: -.04em; }
html[data-motion-ready='true'] *, html[data-motion-ready='true'] *::before, html[data-motion-ready='true'] *::after { animation: none !important; transition: none !important; }
.photo-grade { display: block; width: 100%; height: 100%; filter: none; }
.photo-grade > img { width: 100%; height: 100%; object-fit: cover; }
.story-stage > .photo-grade > img { object-fit: contain; }
.memory-grid-tile > .photo-grade { position: absolute; inset: 0; }
.digit-column { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.digit-cell { display: inline-block; }
.retrospective { display: flex; align-items: center; gap: 8px; margin: -8px 0 24px; color: var(--text-3); font-size: 12px; }
.retrospective svg { width: 48px; height: 20px; }
dialog::backdrop { background: transparent; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.moments-screen.memory-collection { display: block; }
@media (prefers-reduced-transparency: reduce) { .demo-invitation, .story-pause, .visibility-chip, .story-replies input { background: #1a1a1d; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.live-screen { min-height: calc(100dvh - 80px); padding: 24px; display: flex; flex-direction: column; }
/* One station bar for every plan; finite CSS motion, only transform/opacity. */
.station-progress { flex-shrink: 0; margin-bottom: 16px; padding: 18px; border: var(--hairline); border-radius: 22px; background: var(--material); box-shadow: var(--sh1), var(--specular); }
.live-screen > .station-progress { order: -1; }
.station-progress-rail { position: relative; height: 8px; overflow: hidden; border-radius: 99px; isolation: isolate; background: var(--progress-track); box-shadow: 0 0 0 3px var(--progress-well), 0 0 0 4px var(--line), inset 0 1px 1px rgb(0 0 0 / 10%); }
.station-progress-spectrum, .station-progress-cover { position: absolute; inset: 0; display: block; }
.station-progress-spectrum { background: linear-gradient(90deg, var(--progress-amber) 12%, var(--progress-blue) 32%, var(--progress-purple)); }
.station-progress-cover { background: var(--progress-track); mask-image: linear-gradient(90deg, transparent, #000 2px); transform: translateX(0); }
.station-progress-shimmer { position: absolute; inset: 0; opacity: 0; background: linear-gradient(110deg, transparent 44%, var(--progress-glint) 50%, transparent 56%); transform: translateX(-60%); }
.station-progress-endpoint { position: absolute; inset: 0; transform-origin: 0 50%; }
.station-progress-endpoint::after { content: ''; position: absolute; inset: 0 auto 0 -4px; width: 8px; border-radius: 50%; background: var(--progress-well); border: 1.5px solid var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.station-progress[data-fraction='0'] .station-progress-endpoint::after { background: var(--progress-amber); border-color: var(--progress-amber); box-shadow: none; }
.station-progress[data-axis='y'] { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; pointer-events: none; }
.station-progress[data-axis='y'] .station-progress-rail { position: absolute; top: 16px; bottom: 16px; right: 4px; width: 8px; height: auto; background: var(--progress-track-rest); }
/* A static neutral separator keeps the colored fill distinct from the stronger
   resting track. Neither its border nor the track color is animated. */
.station-progress[data-axis='y'] .station-progress-spectrum { border: 1px solid var(--progress-well); background: linear-gradient(0deg, var(--progress-amber) 12%, var(--progress-blue) 32%, var(--progress-purple)); background-clip: padding-box; }
.station-progress[data-axis='y'] .station-progress-cover { background: var(--progress-track-rest); mask-image: linear-gradient(0deg, transparent, #000 2px); transform: translateY(0); }
.station-progress[data-axis='y'] .station-progress-shimmer { background: linear-gradient(20deg, transparent 44%, var(--progress-glint) 50%, transparent 56%); transform: translateY(60%); }
.station-progress[data-axis='y'] .station-progress-endpoint { transform-origin: 50% 100%; }
.station-progress[data-axis='y'] .station-progress-endpoint::after { inset: auto 0 -4px; width: auto; height: 8px; }
.station-progress[data-axis='y'][data-fraction='0'] .station-progress-endpoint::after { border-color: var(--progress-well); }
.station-progress[data-axis='y'] .station-progress-meta { position: absolute; inset: 0 28px 0 0; margin: 0; display: block; }
.station-progress[data-axis='y'] .station-progress-copy { position: absolute; inset: 0; min-width: 0; }
.station-progress[data-axis='y'] .station-progress-label, .station-progress[data-axis='y'] .station-progress-meta > span:last-child { display: none; }
.station-progress[data-axis='y'][data-complete='true'] .station-progress-copy { border: var(--hairline); border-radius: 26px; background: var(--material); }
.station-progress[data-axis='y'] .station-progress-complete { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; white-space: normal; text-align: center; pointer-events: none; }
.station-progress[data-axis='y'] .station-progress-complete-title { font-size: clamp(34px, 10vw, 48px); font-weight: 600; letter-spacing: -.055em; line-height: 1.05; }
.station-progress[data-axis='y'] .station-progress-complete-summary { color: var(--text-2); font-size: 15px; }
.station-progress[data-axis='x'] .station-progress-complete-summary { display: none; }
.station-progress-complete-title { font-size: inherit; font-weight: inherit; }
.station-progress-copy { position: relative; min-width: 9em; }
.station-progress-complete { position: absolute; inset: 0; opacity: 0; color: var(--text); white-space: nowrap; }
.station-progress[data-complete='true'] .station-progress-label { visibility: hidden; }
.station-progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--text-2); font-size: 12px; font-weight: 500; }
.station-progress-cover[data-progress-motion='reveal'] { animation: station-progress-reveal 900ms cubic-bezier(.22,.68,.12,1) !important; }
.station-progress-endpoint[data-progress-motion='move'] { animation: station-progress-move 900ms cubic-bezier(.22,.68,.12,1) !important; }
.station-progress-endpoint[data-progress-motion='drive'] { animation: station-progress-move 900ms cubic-bezier(.22,.68,.12,1), station-progress-pulse 360ms cubic-bezier(.22,.68,.12,1) 900ms !important; }
.station-progress-endpoint[data-progress-motion='pulse'] { animation: station-progress-pulse 360ms cubic-bezier(.22,.68,.12,1) !important; }
.station-progress-shimmer[data-progress-motion='shimmer'] { animation: station-progress-shimmer 700ms cubic-bezier(.22,.68,.12,1) 720ms !important; }
.station-progress-complete[data-progress-motion='complete'] { animation: station-progress-complete 450ms cubic-bezier(.22,.68,.12,1) 900ms backwards !important; }
@keyframes station-progress-reveal { from { transform: var(--progress-from); } to { transform: var(--progress-to); } }
@keyframes station-progress-move { from { transform: var(--progress-from); } to { transform: var(--progress-to); } }
/* Split the former whole-effect easing at its 50% value to preserve the curve. */
@keyframes station-progress-pulse { 0% { transform: var(--progress-to); animation-timing-function: cubic-bezier(.447896788,.392732123,.707661537,.725423299); } 14.184115183% { transform: var(--progress-mid); animation-timing-function: cubic-bezier(.119006550,.676260503,.270672072,1); } 100% { transform: var(--progress-to); } }
@keyframes station-progress-shimmer { 0% { transform: var(--progress-from); opacity: 0; animation-timing-function: cubic-bezier(.447896788,.392732123,.707661537,.725423299); } 14.184115183% { transform: var(--progress-mid); opacity: 1; animation-timing-function: cubic-bezier(.119006550,.676260503,.270672072,1); } 100% { transform: var(--progress-to); opacity: 0; } }
@keyframes station-progress-complete { from { transform: var(--progress-from); opacity: 0; } to { transform: var(--progress-to); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .station-progress [data-progress-motion] { animation: none !important; } }
/* Keep the existing Fun timer target and history; its legacy fills are hidden. */
.fun-progress > .fun-progress-track[role='button'] { width: fit-content; height: auto; min-height: 44px; gap: 0; color: var(--text-2); font-size: 12px; }
.fun-progress > .fun-progress-track[role='button']::before { content: 'Zeit'; }
.fun-progress .fun-progress-part { display: none; }
html:has(dialog[open] .fun-replay) .live-screen .station-progress { visibility: hidden; }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.live-top .plan-share-info { display: none; }
.live-stage { padding: 40px 0 16px; flex: 1; }
.live-stage h1 { margin: 16px 0 40px; }
.live-stage .big-number { display: block; text-align: center; }
.live-stage > .text-button { display: block; margin: 16px auto; color: var(--text-2); }
.live-controls { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: center; gap: 16px; padding: 24px 0; }
.live-controls > :first-child { justify-self: start; }
.live-controls > :last-child { justify-self: end; }
.camera-shutter { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); outline: 1px solid var(--text-3); outline-offset: 6px; }
.camera-shutter svg { width: 28px; height: 28px; }
.station-done { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); }

/* A2a: native horizontal scrolling; the right-hand rail has its own safe lane. */
.live-screen { position: relative; min-height: calc(100dvh - 120px); padding: 20px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); gap: 16px; }
.live-screen.live-screen[data-fun-mode] { height: auto; min-height: calc(100dvh - 120px); padding: 20px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); overflow: visible; }
.live-screen .live-top { gap: 8px; }
.live-screen .live-top .caption { color: var(--text-2); }
.live-screen[data-fun-mode] .live-top { flex-wrap: wrap; }
.live-screen[data-fun-mode] .live-top > .caption { display: none; }
.live-screen .live-top > .fun-progress { padding: 0; }
.live-screen .live-top > .fun-progress:has(.fun-station-time:not([hidden])) { flex-basis: 100%; }
.live-screen .fun-live-actions { display: flex; gap: 8px; }
.live-screen .fun-live-actions > button { flex: 1; min-width: 0; min-height: 52px; padding: 8px; font-size: 12px; }
.live-screen .live-stage, .live-screen[data-fun-mode] .live-stage { padding: 4px 0; overflow: visible; min-width: 0; }
.live-screen[data-fun-mode] .live-stage.live-stage { padding: 4px 0; overflow: visible; }
.live-screen[data-fun-mode] .live-card h1.live-card-title { margin: 0 0 12px; }
.live-card-zone { position: relative; padding-right: 28px; }
.live-complete-backdrop { min-height: 320px; width: 100%; }
.live-carousel { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; border-radius: 26px; }
.live-carousel::-webkit-scrollbar { display: none; }
.live-card { flex: 0 0 100%; min-width: 0; padding: 24px 24px 20px; border: var(--hairline); border-radius: 26px; background: var(--material); box-shadow: var(--sh1), var(--specular); scroll-snap-align: start; scroll-snap-stop: always; }
.live-card-time { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 14px; margin: 0 0 4px; }
.live-screen .live-card-title, .live-screen[data-fun-mode] .live-card-title { font-size: clamp(30px, 8vw, 40px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; margin: 0 0 12px; overflow-wrap: anywhere; }
.live-card-description { color: var(--text-2); font-size: 15px; line-height: 1.5; margin: 0 0 24px; overflow-wrap: anywhere; }
.live-card-place { color: var(--text-2); font-size: 13px; margin: 0; }
.live-countdown { display: block; color: var(--text-2); font-size: 14px; font-weight: 400; line-height: 1.5; margin: 8px 0 0; }
.live-countdown[hidden] { display: none; }
.live-card-status { color: var(--text-2); font-size: 14px; margin: 8px 0 0; }
.live-card details { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.live-card details { margin-top: 14px; border-top: var(--hairline); padding-top: 4px; }
.live-card details:not([open]) { margin-bottom: 0; }
.live-card details summary { color: var(--text); min-height: 44px; display: flex; align-items: center; }
.live-manual-time { display: block; margin-top: 20px; font-variant-numeric: tabular-nums; }
.live-card-navigation { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin: 14px 28px 0 0; }
.live-card-navigation button { font-size: 12px; min-height: 44px; }
.live-card-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: var(--hairline); background: var(--material); color: var(--text); box-shadow: var(--sh1), var(--specular); }
.live-card-arrow svg { width: 18px; height: 18px; }
.live-card-arrow:disabled { color: var(--text-2); background: var(--surface-1); box-shadow: var(--specular); }
.live-card-dots { display: flex; justify-content: center; gap: 8px; }
.live-card-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); opacity: .32; }
.live-card-dots span[data-selected='true'] { opacity: 1; }
.live-card-navigation > .text-button { grid-column: 1 / -1; justify-self: center; padding: 4px 12px; }
.live-card-navigation button:disabled, .live-hold:disabled, .live-screen .station-done:disabled { opacity: 1; }
.live-finish-action { display: flex; flex-direction: column; gap: 8px; }
.live-hold { position: relative; min-height: 72px; padding: 14px 20px 14px 72px; border: var(--hairline); border-radius: 22px; background: var(--material); box-shadow: var(--sh1), var(--specular); display: flex; flex-direction: column; justify-content: center; align-items: start; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.live-hold > svg { position: absolute; left: 28px; width: 20px; height: 20px; }
.live-hold small { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.live-hold-ring { position: absolute; left: 14px; top: calc(50% - 24px); width: 48px; height: 48px; border: 4px solid var(--line); border-radius: 50%; }
.live-hold-window { position: absolute; top: -4px; bottom: -4px; overflow: hidden; }
.live-hold-first { left: 50%; right: -4px; }
.live-hold-second { left: -4px; right: 50%; }
.live-hold-sweep { position: absolute; top: 0; width: 200%; height: 100%; border: 4px solid var(--text); border-radius: 50%; transform: rotate(0deg); }
.live-hold-first .live-hold-sweep { right: 0; clip-path: inset(0 50% 0 0); }
.live-hold-second .live-hold-sweep { left: 0; clip-path: inset(0 0 0 50%); }
.live-hold[data-holding='true'] .live-hold-sweep { transform: rotate(180deg); transition: transform 300ms linear !important; }
.live-hold[data-holding='true'] .live-hold-second .live-hold-sweep { transition-delay: 300ms !important; }
.live-screen .station-done { align-self: center; display: flex; gap: 8px; width: auto; height: auto; min-height: 44px; border-radius: 14px; padding: 8px 12px; background: none; color: var(--text-2); font-size: 12px; }
.live-screen .station-done svg { width: 16px; height: 16px; }
.live-screen .live-controls { display: flex; justify-content: space-between; padding: 0; gap: 16px; }
.live-screen .camera-shutter { width: 56px; height: 56px; }
.live-screen.live-screen.live-finish { min-height: 0; }
.live-screen.live-finish .live-stage { flex: 0 0 auto; }
.live-screen.live-finish .live-card-navigation, .live-screen.live-finish .live-finish-action { display: none; }
.live-countdown[data-live-change='true'] { animation: live-minute-change 220ms ease-out !important; }
@keyframes live-minute-change { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
html[data-motion='reduced'] .live-countdown[data-live-change], html[data-motion='reduced'] .live-hold[data-holding] .live-hold-sweep { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .live-countdown[data-live-change], html .live-hold[data-holding] .live-hold-sweep { animation: none !important; transition: none !important; } }
@media (max-height: 700px) {
  .live-screen, .live-screen.live-screen[data-fun-mode] { min-height: 100dvh; padding: 12px max(12px, env(safe-area-inset-right)) 24px max(12px, env(safe-area-inset-left)); gap: 6px; }
  .live-screen .live-stage, .live-screen[data-fun-mode] .live-stage.live-stage { padding: 0; }
  .live-card { padding: 12px; }
  .live-card-place { display: none; }
  .live-card-time { font-size: 12px; line-height: 1.2; margin-bottom: 4px; }
  .live-screen .live-card-title, .live-screen[data-fun-mode] .live-card h1.live-card-title { font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
  .live-card-description { font-size: 14px; margin-bottom: 14px; }
  .live-countdown { font-size: 12px; margin: 4px 0 0; }
  .live-card details { margin-top: 8px; }
  .live-card-navigation { margin-top: 8px; }
  .live-finish-action { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
  .live-hold { min-height: 64px; padding: 8px 8px 8px 54px; font-size: 12px; }
  .live-hold-ring { width: 36px; height: 36px; left: 10px; top: calc(50% - 18px); }
  .live-hold > svg { left: 20px; width: 16px; height: 16px; }
  .live-screen .station-done { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .live-screen .station-done > span { display: none; }
  .live-screen .fun-live-actions { padding: 0; }
  .live-screen .fun-live-actions > button { min-height: 44px; padding: 4px; }
  .live-screen[data-fun-mode] .live-controls, .live-screen .live-controls { padding: 0; }
  .live-screen .camera-shutter { width: 44px; height: 44px; }
}
html[data-live='true'] .app-header, html[data-live='true'] .app-tabs { display: none; }
html[data-live='true'] #main { padding-bottom: 0; }
@media (prefers-reduced-transparency: reduce) {
  .app-shell:is([data-depth-animating], [data-shared-animating]) :is(.app-tabs, .glass) { background: #1a1a1d; }
  .glass, .app-tabs, dialog.app-dialog, .plan-share-info > p, .consent-banner { background: #1a1a1d; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
  .home-hero > img { transform: none; }
}
@media (min-width: 900px) {
  .app-shell { width: 480px; max-width: 480px; display: flex; flex-direction: column; }
  .app-header { flex-wrap: nowrap; padding: 16px 24px; }
  .header-actions { width: auto; justify-content: flex-end; }
  .app-tabs button { flex-direction: column; justify-content: center; gap: 4px; padding: 4px 0; font-size: 12px; }
  .app-tabs .tab-create { width: 52px; margin: 0; }
  .app-tabs button[aria-current='page'] { background: transparent; }
  .proposal-screen { padding-inline: 0; }
  .app-header, .app-tabs { grid-column: auto; }
  #main { display: block; }
  .screen { display: block; }
  .home-hero { height: 600px; }
}

/* Common interaction/accessibility foundations, without the superseded passes. */
button[data-action], a[data-action], summary { min-width: 44px; min-height: 44px; }
.sheet-grip { display: grid; place-items: center; touch-action: none; user-select: none; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.dialog-backdrop[hidden] { display: none; }
.profile-button { min-width: 44px; min-height: 44px; }
.consent-links a { display: inline-flex; align-items: center; min-height: 44px; }
.consent-links a + a { margin-inline-start: 12px; }
.social-invitation-dialog .dialog-top h2 { visibility: hidden; }
.invitation-count { display: inline-block; font-size: 24px; }
.map-screen .page-head { padding-top: 16px; }
select { font: inherit; font-variant-numeric: tabular-nums; }

.plan-share-preview { box-sizing: border-box; width: 100%; min-height: 15rem; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: transparent; color: inherit; font: inherit; line-height: 1.5; white-space: pre-wrap; resize: vertical; user-select: text; }

.station-location { margin-block: 12px; overflow-wrap: anywhere; }
.station-place-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.station-place-actions a, .nearby-credit { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 10px 12px; border-radius: 16px; color: inherit; }
.station-place-actions a { gap: 8px; background: var(--material); border: var(--hairline); border-width: 1px; border-color: #8b8377; box-shadow: var(--sh1), var(--specular); color: var(--text); font-size: 13px; font-weight: 560; text-decoration: none; transition: none; }
.station-place-actions a svg { flex: 0 0 18px; width: 18px; height: 18px; }
.station-place-actions a span { min-width: 0; overflow-wrap: anywhere; }
.station-place-actions a:active { transform: scale(.97); }
.nearby-credit { display: flex; justify-content: flex-start; width: fit-content; max-width: 100%; padding-inline: 0; color: var(--text-2); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme='light'] .station-place-actions a { border-color: #766b5c; }
@media (prefers-reduced-motion: reduce) { .station-place-actions a { transition: none; } .station-place-actions a:active { transform: none; } }
html[data-motion='reduced'] .station-place-actions a { transition: none; }
html[data-motion='reduced'] .station-place-actions a:active { transform: none; }
.station-place-actions a:focus-visible, .nearby-credit:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nearby-suggestions { display: grid; gap: 12px; }
.nearby-results { display: grid; gap: 12px; }
.nearby-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; overflow-wrap: anywhere; }
.nearby-result strong { flex: 1 1 130px; }
.nearby-result button { min-width: 44px; min-height: 44px; }
