/* View-specific layouts. */

.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--text-2); text-decoration: none; font-size: 15px; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--text); }
.coral { color: var(--coral); }
.chev { width: 18px; height: 18px; color: var(--text-3); }
.dash-list li { padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid var(--line); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--coral); }

/* ======================= GYM ======================= */
.main[data-view="gym"] { padding-bottom: 0; min-height: 0; }
.gym { display: flex; flex-direction: column; height: calc(100dvh - var(--top-h) - var(--tab-h) - env(safe-area-inset-bottom) - env(safe-area-inset-top)); }
@media (min-width: 1024px) { .gym { height: calc(100vh - 64px); } }
.gym-toolbar { padding: 12px var(--gutter) 10px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.gym-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.gym-h1 { font-size: clamp(26px, 3vw, 38px); }
.gym-h1 .crumb { color: var(--text-2); text-decoration: none; }
.gym-h1 .crumb:hover { color: var(--coral); }
.gym-actions { gap: 8px; }
.chip-sep { width: 1px; background: var(--line-2); flex: none; margin: 6px 2px; }
@media (max-width: 719px) {
  .gym-toolbar { padding-top: 8px; gap: 8px; }
  .gym-title .eyebrow { display: none; }
  .gym-h1 { font-size: 24px; }
  .gym-actions { width: 100%; }
  .gym-actions .seg { flex: 1; }
  .gym-actions .seg a { flex: 1; justify-content: center; padding: 0 8px; }
  .gym-actions .seg a span { font-size: 13.5px; }
  .gym-actions .btn { padding: 0 10px; }
}

.gym-body { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .gym-body { grid-template-columns: minmax(0, 1fr) 420px; } }
@media (min-width: 1400px) { .gym-body { grid-template-columns: minmax(0, 1fr) 460px; } }

.stage { position: relative; overflow: hidden; min-height: 0; background: #16171C; }
.stage-3d { touch-action: none; }
.gym-canvas { position: absolute; inset: 0; cursor: grab; }
.gym-canvas:active { cursor: grabbing; }
.stage-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-2); padding: 24px; text-align: center; }
.stage-ctrl { position: absolute; right: 12px; top: 12px; z-index: 3; display: grid; gap: 4px; background: rgba(22,23,28,.82); border: 1px solid var(--line); border-radius: var(--r-l); padding: 3px; }
.stage-caption { position: absolute; left: 12px; bottom: 12px; z-index: 3; max-width: min(560px, calc(100% - 24px)); display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--text-2); background: rgba(22,23,28,.85); padding: 7px 10px; border-radius: var(--r-m); }
.stage-caption svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.stage-caption.static { position: static; margin: 12px var(--gutter); background: none; padding: 0; }
.stage-hint { position: absolute; left: 12px; top: 12px; z-index: 3; margin: 0; font-size: 12.5px; color: var(--text-3); }
@media (max-width: 1023px) { .stage-caption { bottom: auto; top: 12px; max-width: calc(100% - 80px); } }

.gym-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.gym-labels > * { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; }
.sector-label {
  display: flex; align-items: center; gap: 0; min-height: 34px; border-radius: 4px; overflow: hidden;
  background: rgba(22,23,28,.9); border: 1px solid var(--line-2); font-size: 14px; white-space: nowrap; color: var(--text);
  transition: opacity .2s, border-color .2s;
}
.sector-label b { font-family: var(--font-display); background: var(--text); color: var(--bg); padding: 0 9px; align-self: stretch; display: grid; place-items: center; font-size: 16px; }
.sector-label span { padding: 0 10px; }
.sector-label:hover, .sector-label.is-active { border-color: var(--coral); }
.sector-label.is-active b { background: var(--coral); }
.sector-label.is-quiet { opacity: .35; }
.sector-label.is-compact span { display: none; }
.sector-label.is-closed span::after { content: " · closed"; color: var(--text-3); }
.sector-label::after { content: ""; position: absolute; inset: -6px; }
.prob-pin {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px 0 6px; border-radius: 14px;
  background: rgba(22,23,28,.9); border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.prob-pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--gc); box-shadow: 0 0 0 1px rgba(0,0,0,.5); }
.prob-pin span { font-weight: 400; color: var(--text-2); }
.prob-pin:hover, .prob-pin.is-sel { border-color: var(--coral); }
.prob-pin.is-sel { background: var(--coral); color: var(--coral-ink); }
.prob-pin.is-sel span { color: var(--coral-ink); }
.prob-pin::after { content: ""; position: absolute; inset: -8px -2px; }

/* Panel (side on desktop, bottom sheet on phone) */
.gym-panel { background: var(--bg); min-height: 0; display: flex; flex-direction: column; }
.gym-panel-inner { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.panel-pad { padding: 16px var(--gutter) 40px; }
@media (min-width: 1024px) { .gym-panel { border-left: 1px solid var(--line); } .panel-pad { padding: 18px 26px 48px; } }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 0 10px; }
.panel-head h2 { font-size: 26px; }
.sheet-handle { display: none; }
@media (max-width: 1023px) {
  .gym-panel {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 34%;
    border-top: 1px solid var(--line-2); border-radius: 14px 14px 0 0; box-shadow: 0 -12px 30px rgba(0,0,0,.4);
    transition: height .28s var(--ease);
  }
  .gym-panel.is-open { height: 80%; }
  .sheet-handle { display: grid; place-items: center; height: 26px; width: 100%; flex: none; }
  .sheet-handle span { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); }
  .sheet-handle::after { content: ""; position: absolute; left: 30%; right: 30%; top: -10px; height: 44px; }
  .gym.is-list .gym-panel:not(.is-open) { display: none; }
  .gym-panel .panel-pad { padding-top: 2px; }
  .stage-ctrl { top: auto; bottom: calc(34% + 12px); }
}

.sector-badge { width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; border: 1px solid var(--line-2); border-radius: 4px; }
.elev-wrap { background: var(--surface); border-radius: var(--r-m); padding: 8px; }
.elev { width: 100%; height: auto; max-height: 280px; }

/* Map */
.stage-map { overflow: auto; padding: 18px var(--gutter) 90px; }
.map-wrap { max-width: 980px; margin: 0 auto; }
.floormap { width: 100%; height: auto; }
.map-floor { fill: #1E1F25; stroke: var(--line-2); stroke-width: .06; }
.map-grid line { stroke: rgba(255,255,255,.035); stroke-width: .04; }
.map-face { fill: rgba(213,195,160,.28); transition: fill .15s; }
.map-wall { stroke: #D5C3A0; stroke-width: .22; stroke-linecap: round; }
.map-badge { fill: #16171C; stroke: #ECECEC; stroke-width: .07; }
.map-letter { fill: #ECECEC; font-size: .8px; font-weight: 700; text-anchor: middle; font-family: var(--font-display); }
.map-name { fill: #B0B1B7; font-size: .58px; text-anchor: middle; font-family: var(--font-body); }
.map-sector a:hover .map-face, .map-sector.is-active .map-face { fill: rgba(234,144,141,.4); }
.map-sector.is-active .map-badge { fill: var(--coral); stroke: var(--coral); }
.map-sector.is-active .map-letter { fill: var(--coral-ink); }
.map-sector.is-closed .map-face { fill: rgba(140,141,148,.18); }
.map-sector a:focus-visible .map-badge, .map-dot:focus-visible circle { stroke: var(--coral); stroke-width: .18; }
.map-sector a:focus { outline: none; }
.map-dot circle { stroke: #16171C; stroke-width: .07; transition: opacity .15s; }
.map-dot:hover circle { stroke: #fff; stroke-width: .1; }
.map-dot.is-dim circle { opacity: .14; }
.map-dot.is-sel circle { stroke: var(--coral); stroke-width: .14; }
.map-dot:focus { outline: none; }
.map-entrance { fill: var(--text-3); font-size: .55px; text-anchor: middle; letter-spacing: .1em; text-transform: uppercase; }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; max-width: 980px; margin: 14px auto 0; }

/* Photos */
.stage-photo { overflow: auto; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 16px var(--gutter); }
.photo-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-m); overflow: hidden; background: var(--surface); text-decoration: none; display: block; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile:hover img { opacity: .85; }
.photo-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 15px; }
.photo-missing { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--text-3); font-size: 13px; }
.photo-missing svg { width: 28px; height: 28px; }
.photo-frame { position: relative; margin: 16px auto 0; max-width: 520px; padding: 0 var(--gutter); }
.photo-frame img { width: 100%; border-radius: var(--r-m); }
.photo-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 6px; border-radius: 14px; background: rgba(22,23,28,.88); color: var(--text); font-size: 12.5px; font-weight: 700; text-decoration: none; border: 1px solid var(--line-2); }
.photo-pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--gc); }
.photo-pin.is-sel, .photo-pin:hover { background: var(--coral); color: var(--coral-ink); }

/* List */
.stage-list { overflow-y: auto; }
.list-inner { padding: 8px var(--gutter) 60px; max-width: 900px; margin-inline: auto; }
.list-sec { font-size: 19px; padding: 16px 0 6px; }

/* Problem detail */
.pd-top { display: flex; justify-content: space-between; align-items: center; }
.pd-head { margin: 6px 0 14px; }
.pd-id { display: flex; align-items: baseline; gap: 18px; margin-bottom: 10px; }
.pd-tag { font-size: 52px; line-height: .95; }
.pd .notice { margin-bottom: 12px; }
.pd-elev { margin: 4px 0 16px; background: var(--surface); border-radius: var(--r-m); padding: 8px 8px 6px; }
.pd-elev figcaption { margin-top: 4px; padding-left: 2px; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.pd-sec { border-top: 1px solid var(--line); padding: 18px 0 6px; margin-top: 14px; }
.pd-sec h3 { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-stats div { border-left: 1px solid var(--line-2); padding-left: 10px; }
.mini-stats b { display: block; font-family: var(--font-display); font-size: 26px; }
.mini-stats span { font-size: 12.5px; color: var(--text-2); }
.shared { display: flex; gap: 12px; align-items: center; }
.shared p { margin: 0; }
.log-row { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 10px; align-items: center; padding: 8px 0; }
.log-type { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.log-type svg { width: 16px; height: 16px; }
.log-type.t-flash svg, .log-type.t-top svg { color: var(--ok); }
.log-type.t-attempt svg { width: 10px; color: var(--text-3); }
.log-note { grid-column: 1 / -1; margin: 0; color: var(--text-2); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.stars.interactive button { width: 40px; height: 44px; display: grid; place-items: center; color: var(--amber); }
.stars.interactive svg { width: 26px; height: 26px; }
.stars.interactive button:hover svg { transform: scale(1.12); }
.log-prob { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }

/* Wall history */
.main[data-view="history"] { padding-bottom: 0; }
.hist-head { padding-bottom: 14px; }
.page.hist-head { max-width: none; margin-inline: 0; } /* workspace header spans the full canvas */
.hist-body { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .hist-body { grid-template-columns: minmax(0, 1fr) 420px; min-height: calc(100vh - 230px); } .hist-side { border-left: 1px solid var(--line); } }
.hist-stage { display: flex; flex-direction: column; min-width: 0; }
.hist-3d { height: min(56vh, 560px); min-height: 300px; }
.hist-3d > svg.elev { position: absolute; inset: 0; margin: auto; padding: 20px; max-height: 100%; }
.hist-date { padding: 14px var(--gutter) 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.hist-date b { font-family: var(--font-display); font-size: 34px; }
.hist-date span { color: var(--text-2); font-size: 14.5px; }
.gap-overlay { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; background: repeating-linear-gradient(45deg, rgba(22,23,28,.55) 0 12px, rgba(40,41,48,.55) 12px 24px); }
.gap-overlay svg { width: 30px; height: 30px; color: var(--text-2); }
.gap-overlay b { font-family: var(--font-display); font-size: 24px; }
.gap-overlay span { color: var(--text-2); max-width: 36ch; font-size: 14.5px; }

.timeline { padding: 22px var(--gutter) 22px; border-top: 1px solid var(--line); }
.tl-track { position: relative; height: 54px; margin: 0 22px 8px 6px; }
.tl-seg { position: absolute; top: 20px; height: 8px; background: #6E6F77; border-right: 2px solid var(--bg); }
.tl-seg.is-gap { background: repeating-linear-gradient(45deg, #3A3B42 0 4px, #55565E 4px 8px); }
.tl-seg.is-on { background: var(--text); }
.tl-seg.is-gap.is-on { background: repeating-linear-gradient(45deg, #8C8D94 0 4px, #ECECEC 4px 8px); }
.tl-node { position: absolute; top: 12px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text-2); text-decoration: none; }
.tl-node::after { content: ""; position: absolute; inset: -10px; }
.tl-node span { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.tl-node.is-gap { border-style: dashed; }
.tl-node.is-on { background: var(--coral); border-color: var(--coral); }
.tl-node.is-on span { color: var(--text); font-weight: 700; }
.tl-node:hover { border-color: var(--text); }
.tl-today { position: absolute; top: 8px; height: 32px; border-left: 1px dashed var(--text-3); }
.tl-today span { position: absolute; top: -12px; left: 4px; font-size: 11px; color: var(--text-3); white-space: nowrap; }
.tl-controls { display: flex; align-items: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.tl-controls .icon-btn[disabled] { opacity: .3; cursor: default; }
.tl-range { flex: 1; min-width: 160px; display: flex; align-items: center; min-height: var(--tap); }
.tl-range input { width: 100%; accent-color: var(--coral); height: 30px; }
.tl-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.tl-legend i { display: inline-block; width: 18px; height: 6px; margin-right: 6px; vertical-align: 1px; }
.lg-cap { background: #6E6F77; }
.lg-gap { background: repeating-linear-gradient(45deg, #3A3B42 0 3px, #6E6F77 3px 6px); }

/* ======================= TODAY ======================= */
.today-hero { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: end; } }
.hero-h { font-size: clamp(42px, 7vw, 78px); line-height: .98; margin: 6px 0 22px; }
.hero-crowd { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.crowd-level { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.crowd-level b { font-family: var(--font-display); font-size: 22px; }
.crowd p { margin: 4px 0 0; }
.crowd-bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.crowd-bars i { width: 6px; background: var(--surface-3); border-radius: 1px; }
.crowd-bars i:nth-child(1) { height: 7px; } .crowd-bars i:nth-child(2) { height: 11px; } .crowd-bars i:nth-child(3) { height: 15px; } .crowd-bars i:nth-child(4) { height: 20px; }
.crowd-bars i.on { background: var(--text); }
.crowd.is-stale .crowd-bars i.on { background: var(--text-3); }
.crowd.is-stale .crowd-level b { color: var(--text-2); }
.stale-note { color: var(--amber); }
.crowd.is-unavailable b { color: var(--text-2); font-size: 19px; }
.other-loc { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-m); text-decoration: none; position: relative; overflow: hidden; }
.other-loc b { font-family: var(--font-display); font-size: 26px; }
.other-loc:hover { border-color: var(--text-2); }
.other-loc::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: var(--surface); transform: rotate(35deg); z-index: -1; }
.compare-split { display: grid; gap: 24px; margin-top: 10px; }
@media (min-width: 800px) { .compare-split { grid-template-columns: 1fr 60px 1fr; gap: 0; } }
.diag { display: none; }
@media (min-width: 800px) { .diag { display: block; background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--line-2) 50%, transparent calc(50% + 1px)); } }
.loc-panel { padding: 8px 0; }
.loc-panel.is-primary .eyebrow::after { content: "Selected"; margin-left: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.loc-status { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 14px; }
.notices { display: grid; gap: 8px; margin-top: 24px; }
.notice-link { text-decoration: none; display: block; }
.notice-link:hover .notice { border-color: var(--text-3); }
.today-cols { margin-top: 10px; }

.next-action { display: grid; gap: 8px; padding: 22px 22px 20px; border-left: 3px solid var(--coral); background: var(--bg-raise); text-decoration: none; border-radius: 0 var(--r-m) var(--r-m) 0; }
.next-action:hover { background: var(--surface); }
.na-kicker { display: flex; gap: 8px; align-items: center; color: var(--coral); font-weight: 700; font-size: 14.5px; }
.na-kicker svg { width: 18px; height: 18px; }
.na-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; }
.na-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--text-2); font-size: 14.5px; }
.na-foot { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

.sector-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: thin; }
.sector-card { display: grid; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.sector-card:hover { border-color: var(--text-3); }
.sc-elev { background: var(--surface); padding: 8px; height: 130px; display: grid; place-items: center; }
.sc-elev svg { max-height: 114px; }
.sc-body { display: grid; gap: 4px; padding: 12px 14px; }
.sc-body b { font-family: var(--font-display); font-size: 20px; }

.side-block { display: block; border-top: 1px solid var(--line); padding: 18px 0 22px; text-decoration: none; }
.side-block:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 1099px) { .side-block:first-child { border-top: 1px solid var(--line); padding-top: 18px; } }
.side-pass-block svg { width: 22px; height: 22px; color: var(--coral); }
.side-pass-block:hover h3 { color: var(--coral); }
.big-num { font-family: var(--font-display); font-size: 56px; line-height: 1; display: block; margin-top: 8px; }
.big-num span { font-size: 26px; color: var(--text-3); }
.link-list { display: grid; margin-top: 4px; }

.typical { margin: 12px 0 0; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 86px; border-bottom: 1px solid var(--line-2); }
.bar { flex: 1; height: var(--h); background: var(--surface-3); border-radius: 2px 2px 0 0; min-height: 2px; }
.bar.is-now { background: var(--coral); }
.bar.is-closed { background: transparent; border-bottom: 1px dashed var(--text-3); }
.bar-axis { display: flex; gap: 3px; margin-top: 4px; }
.bar-axis span { flex: 1; text-align: left; }
.typical figcaption { margin-top: 8px; }

.demo-control { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px dashed rgba(242,190,92,.45); border-radius: var(--r-m); margin-bottom: 28px; }
.crowd-compare { display: grid; gap: 36px; }
@media (min-width: 760px) { .crowd-compare { grid-template-columns: 1fr 1fr; } .cc-col + .cc-col { border-left: 1px solid var(--line); padding-left: 36px; } }
.cc-col h2 { margin-bottom: 14px; }

/* ======================= MISC ======================= */
.loc-options { display: grid; gap: 8px; }
.loc-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); text-decoration: none; min-height: 64px; width: 100%; }
.loc-option > span { display: grid; gap: 2px; }
.loc-option b { font-size: 17px; }
.loc-option svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.loc-option[aria-pressed="true"] { border-color: var(--coral); background: var(--coral-soft); }
.about-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-grid h4 { margin-bottom: 6px; }
.notif-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.notif-ic svg { width: 20px; height: 20px; }
.notif-ic.reset { color: var(--amber); background: var(--amber-soft); }
.row.is-read .row-title { color: var(--text-2); font-weight: 400; }
.unread-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

/* Problem actions stay reachable inside the panel (R5) */
.gym-panel .pd-actions { position: sticky; bottom: 0; z-index: 2; background: var(--bg); padding: 10px 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .gym-panel .pd-actions { position: static; border-top: 0; padding: 0; } }
button.stage-caption { border: 0; text-align: left; cursor: pointer; font: inherit; font-size: 12.5px; min-height: 32px; align-items: center; }
button.stage-caption:hover { color: var(--text); }
@media (max-width: 1023px) { .stage-caption { max-width: calc(100% - 76px); } }

/* Phone history: wall, date and playback controls together on first view (R7) */
@media (max-width: 719px) {
  .hist-head { padding-top: 6px; padding-bottom: 8px; }
  .hist-head .eyebrow { display: none; }
  .hist-head .gym-h1 { font-size: 24px; }
  .hist-head .field { min-width: 0 !important; width: 100%; }
  .hist-date { padding: 8px var(--gutter) 6px; }
  .hist-date b { font-size: 24px; }
  .hist-date span { font-size: 13px; }
  .hist-3d { height: 36vh; min-height: 220px; }
  .timeline { padding-top: 10px; padding-bottom: 14px; }
  .tl-controls { margin-top: 12px; }
  .tl-legend { display: none; }
}

/* ======================= TOGETHER ======================= */
.next-session { display: grid; gap: 10px; padding: 20px 22px; margin-bottom: 26px; border-left: 3px solid var(--coral); background: var(--bg-raise); border-radius: 0 var(--r-m) var(--r-m) 0; text-decoration: none; }
.next-session:hover { background: var(--surface); }
@media (min-width: 900px) { .next-session { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; } .next-session .na-kicker { grid-column: 1 / -1; } }
.ns-main { display: grid; gap: 6px; }
.ns-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (min-width: 900px) { .ns-side { align-items: flex-end; } }
.date-strip { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.ds-day { flex: none; width: 58px; min-height: 66px; display: grid; justify-items: center; align-content: center; gap: 1px; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--text-2); font-size: 12.5px; }
.ds-day b { font-family: var(--font-display); font-size: 22px; color: var(--text); line-height: 1; }
.ds-day i { font-style: normal; color: var(--coral); height: 10px; line-height: 10px; letter-spacing: 1px; }
.ds-day:hover { border-color: var(--text-3); }
.ds-day.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.ds-day.is-on b { color: var(--bg); }
.ds-day.is-on i { color: #9A3E3B; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.input-sm { min-height: 40px; width: auto; padding-top: 6px; padding-bottom: 6px; font-size: 15px; }
.session-row { align-items: start; }
.session-row .row-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.session-row .row-sub .av { width: 22px; height: 22px; font-size: 9.5px; }
.sess-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.session-row .date-block { width: 64px; }
.session-row .date-block b { font-size: 20px; }
.session-desc { font-size: 18px; line-height: 1.5; max-width: 60ch; }
.series-strip { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.thread { display: grid; gap: 14px; margin: 14px 0; }
.thread li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.thread p { margin: 2px 0 0; background: var(--surface); padding: 10px 14px; border-radius: 4px 12px 12px 12px; display: inline-block; max-width: 56ch; }
.thread li.is-me p { background: var(--coral-soft); }
.composer { display: flex; gap: 8px; }
.food-plan { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0 16px; }
.fp-main { display: flex; gap: 14px; align-items: flex-start; }
.fp-main > svg { width: 26px; height: 26px; color: var(--coral); margin-top: 2px; }
.fp-main p { margin: 2px 0 0; }
.join-box { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-m); margin-bottom: 8px; }
.people { display: grid; gap: 10px; }
.people li { display: flex; align-items: center; gap: 10px; }
.ch-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--amber); }
.ch-ic svg { width: 20px; height: 20px; }
.ch-prog { display: flex; gap: 10px; align-items: center; margin-top: 10px; max-width: 320px; }
.ch-prog .meter { flex: 1; }
.band-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.bl-step { display: grid; gap: 4px; padding: 12px 10px; border: 1px solid var(--line-2); border-radius: var(--r-m); font-size: 13px; }
.bl-step i { width: 14px; height: 14px; border-radius: 50%; background: var(--gc); opacity: .35; }
.bl-step b { font-size: 14px; }
.bl-step span { color: var(--text-3); }
.bl-step.is-done { border-color: var(--ok); background: var(--ok-soft); }
.bl-step.is-done i { opacity: 1; }
.bl-step.is-done span { color: var(--ok); }
@media (max-width: 520px) { .band-ladder { grid-template-columns: repeat(3, 1fr); } }
.board { display: grid; gap: 2px; }
.board li { display: grid; grid-template-columns: 22px auto 1fr auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.board li.is-me { color: var(--coral); }
.vote-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 12px; }
.vote-card { display: grid; gap: 10px; align-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); }
.vote-card.is-on { border-color: var(--coral); background: var(--coral-soft); }
.vc-link { display: grid; gap: 4px; text-decoration: none; }
.vc-link:hover .ptag { color: var(--coral); }
.host-month { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.host-month div { display: grid; }

/* ======================= YOU ======================= */
.you-head { display: flex; align-items: center; gap: 18px; }
.you-head h1 { font-size: clamp(34px, 5vw, 52px); }
.you-stats .stat b { font-size: 44px; }
.cal { padding-bottom: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-head b { font-family: var(--font-display); font-size: 20px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: 11.5px; color: var(--text-3); padding: 4px 0; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 4px; font-size: 13.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cal-day.v-gym { background: var(--text); color: var(--bg); font-weight: 700; }
.cal-day.v-manual { box-shadow: inset 0 0 0 1.5px var(--text); color: var(--text); font-weight: 700; }
.cal-day.is-today { outline: 2px solid var(--coral); outline-offset: 1px; }
.cal-day.is-future { color: var(--text-3); opacity: .5; }
.cd-dot { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.cal-day small { position: absolute; top: 3px; right: 5px; font-size: 9.5px; opacity: .7; }
.cal.is-large .cal-day { font-size: 16px; }
.cal.is-large .cal-grid { gap: 5px; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: var(--text-2); }
.cal-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.lg.v-gym { background: var(--text); }
.lg.v-manual { box-shadow: inset 0 0 0 1.5px var(--text); }
.lg.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); vertical-align: 1px; }
.lg.l-f { background: var(--text); }
.lg.l-l { background: #8C8D94; }
.recap-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 18px; margin-top: 14px; text-decoration: none; background: linear-gradient(135deg, var(--surface) 0 62%, var(--coral-soft) 62%); border-radius: var(--r-m); }
.recap-teaser b { font-family: var(--font-display); font-size: 26px; width: 100%; }
.recap-teaser svg { width: 20px; height: 20px; position: absolute; }
.recap-teaser { position: relative; }
.recap-teaser svg { right: 16px; bottom: 20px; }
.goals { display: grid; gap: 14px; margin-top: 12px; }
.goal { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.goal > .flex { grid-column: 1; }
.goal .meter { grid-column: 1; }
.goal .btn { grid-column: 2; grid-row: 1 / span 2; }
.goal.is-done b { color: var(--ok); }
.badge-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.badge { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); font-size: 12.5px; color: var(--text-2); }
.badge b { font-size: 14.5px; color: var(--text); }
.badge-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); margin-bottom: 4px; }
.badge-ic svg { width: 18px; height: 18px; }
.badge.is-locked .badge-ic { background: var(--surface); color: var(--text-3); }
.badge.is-locked b { color: var(--text-2); }
.day-group { margin-top: 18px; }
.day-h { font-size: 18px; padding-bottom: 4px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.day-h .faint { font-family: var(--font-body); font-weight: 400; }
.month-bars { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 180px; margin-top: 20px; padding-bottom: 36px; }
.mb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 13px; position: relative; }
.mb-stack { width: 100%; max-width: 34px; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; min-height: 2px; }
.mb-f { background: var(--text); display: block; }
.mb-l { background: #8C8D94; display: block; }
.mb small { position: absolute; bottom: -34px; color: var(--text-3); font-size: 12px; }
.mb span { position: absolute; bottom: -18px; }
.mb-goal { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--coral); margin-bottom: 36px; pointer-events: none; }
.mb-goal span { position: absolute; right: 0; top: -18px; font-size: 11.5px; color: var(--coral); }
.pyramid { display: grid; gap: 8px; margin-top: 14px; }
.py-row { display: grid; grid-template-columns: 110px 1fr 32px; gap: 12px; align-items: center; }
.py-bar { height: 22px; background: var(--surface); border-radius: 3px; overflow: hidden; }
.py-bar i { display: block; height: 100%; border-radius: 3px; }
.data-table { font-size: 15px; margin-top: 10px; }
.data-table th, .data-table td { text-align: left; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table thead th { font-size: 12.5px; color: var(--text-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.data-table tbody th { font-weight: 400; }
.recap { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rc { display: grid; align-content: end; gap: 6px; padding: 26px 24px 24px; background: var(--bg-raise); min-height: 200px; }
.rc b { font-family: var(--font-display); font-size: clamp(54px, 7vw, 84px); line-height: .95; }
.rc-k { color: var(--text-2); }
.rc-v { color: var(--text-2); font-size: 15px; }
.rc-big { background: var(--text); color: var(--bg); }
.rc-big .rc-k, .rc-big .rc-v { color: #4A4B52; }
@media (min-width: 900px) { .rc-big { grid-column: span 2; } }
.rc-diag { background: linear-gradient(160deg, var(--bg-raise) 0 58%, var(--coral-soft) 58%); }
.share-card { display: grid; gap: 8px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(150deg, #202128 0 60%, rgba(234,144,141,.22) 60%); margin-bottom: 16px; }
.share-card .wordmark { width: 110px; color: var(--text); margin-bottom: 6px; }
.share-card b { font-family: var(--font-display); font-size: 26px; }

/* ======================= PASS ======================= */
.pass-card { padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg-raise); }
.pc-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pc-balance { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 14px; }
.pc-balance b { font-family: var(--font-display); font-size: 96px; line-height: .9; }
.pc-balance span { font-size: 20px; color: var(--text-2); }
.ticks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-bottom: 14px; max-width: 460px; }
.ticks i { height: 30px; border-radius: 3px; background: var(--coral); }
.ticks i.used { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.row-meta.pos { color: var(--ok); }
.member-card { position: relative; display: grid; align-content: space-between; aspect-ratio: 1.586; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #2A2B32, #1A1B20); border: 1px solid var(--line-2); margin-top: 10px; overflow: hidden; }
.member-card::after { content: ""; position: absolute; right: -30%; top: -10%; width: 70%; height: 140%; background: rgba(234,144,141,.1); transform: rotate(24deg); }
.mc-wm .wordmark { width: 110px; color: var(--text); }
.mc-name { font-weight: 700; margin-top: auto; }
.mc-no { color: var(--text-2); font-size: 14px; }
.product-list { display: grid; gap: 8px; }
.choice.product { gap: 4px; }
.receipt { padding: 4px 0; }
.entry-wrap { display: grid; justify-items: center; }
.credential { width: min(340px, 100%); padding: 20px; border-radius: 16px; background: var(--text); color: var(--bg); display: grid; gap: 14px; }
.cred-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cred-head .wordmark { width: 96px; color: var(--bg); }
.cred-code { position: relative; }
.qr { width: 100%; height: auto; filter: grayscale(1); opacity: .5; }
.cred-void { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.cred-void span { background: #B4524F; color: #fff; font-weight: 700; letter-spacing: .08em; padding: 10px 40px; transform: rotate(-24deg); white-space: nowrap; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.credential.is-hidden { background: var(--bg-raise); color: var(--text); border: 1px dashed var(--line-2); min-height: 280px; place-items: center; text-align: center; }
.cred-placeholder { display: grid; gap: 8px; justify-items: center; }
.cred-placeholder svg { width: 40px; height: 40px; color: var(--text-3); }

/* ======================= GUIDE ======================= */
.guide-legend { display: flex; gap: 18px; margin: -8px 0 22px; }
.guide-cols { display: grid; gap: 30px 56px; }
@media (min-width: 900px) { .guide-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1300px) { .guide-cols { grid-template-columns: 1fr 1fr 1fr; } }
.guide-h { font-size: 15px; font-family: var(--font-body); font-weight: 700; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-top: 8px; }
.guide-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 64px; }
.guide-item > svg { width: 22px; height: 22px; color: var(--text-2); }
.guide-item > span:nth-child(2) { display: grid; gap: 2px; }
.guide-item b { font-family: var(--font-display); font-size: 21px; }
.guide-item > span span { font-size: 14px; color: var(--text-2); }
.gi-kind svg { width: 18px; height: 18px; color: var(--text-3); }
.guide-item:hover b { color: var(--coral); }
.guide-note { padding: 14px 0; border-bottom: 1px solid var(--line); }
.link-btn { text-decoration: underline; min-height: 32px; }
.hours-grid { display: grid; gap: 30px; }
@media (min-width: 720px) { .hours-grid { grid-template-columns: 1fr 1fr; } .hours-grid section + section { border-left: 1px solid var(--line); padding-left: 30px; } }
.hours-grid section.is-sel h2::after { content: " · selected"; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--coral); }
.reserve-types { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
@media (min-width: 800px) { .reserve-types { grid-template-columns: 1fr 1fr; } }
.rt { background: var(--bg); padding: 20px; display: grid; gap: 8px; align-content: start; }
.rt-k { display: flex; gap: 8px; align-items: center; color: var(--coral); font-size: 13.5px; font-weight: 700; }
.rt-k svg { width: 16px; height: 16px; }
.rt p { margin: 0; }
.rt .btn, .rt .line-link { justify-self: start; }
.narrow-sec { max-width: 760px; }
.news-list li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.news-list h3 { margin: 6px 0 6px; font-size: 23px; }

/* Restaurant: light treatment inside the same shell */
.main[data-view="restaurant"] { background: #FFFFFF; color: #383838; }
.restaurant { --text: #383838; --text-2: #5C5C5C; --text-3: #6E6E6E; --line: rgba(0,0,0,.1); --line-2: rgba(0,0,0,.2); --coral: #A84B48; --coral-hover: #8E3C39; color: #383838; min-height: 100%; }
.restaurant .back-link { color: #5C5C5C; }
.rest-hero { background: linear-gradient(180deg, #F2F2F2, #FFFFFF); border-bottom: 1px solid rgba(0,0,0,.08); }
.rest-hero h1 { font-size: clamp(44px, 7vw, 76px); color: #2E2E2E; margin: 10px 0 18px; }
.rest-hero .eyebrow { color: #5C5C5C; }
.rest-lede { font-size: 20px; max-width: 34ch; color: #383838; padding-bottom: 20px; }
.rest-cols { display: grid; gap: 34px; margin-top: 10px; }
@media (min-width: 720px) { .rest-cols { grid-template-columns: 1fr 1fr; } }
.rest-cols h2 { font-size: 26px; color: #2E2E2E; margin-bottom: 8px; }
.rest-muted { color: #5C5C5C; }
.restaurant .kv dt { color: #5C5C5C; }
.restaurant .line-link .ext-note { color: #6E6E6E; }
.restaurant :focus-visible { outline-color: #A84B48; }

/* ======================= STAFF ======================= */
.app[data-role="staff"] .sidebar { background: #1A1B21; }
.stat-link { text-decoration: none; }
.stat-link:hover b { color: var(--coral); }
.staff-table .tbl-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; min-height: 40px; }
.staff-table .tbl-link:hover { color: var(--coral); }
.sector-badge.sm { width: 28px; height: 28px; font-size: 16px; }
@media (max-width: 719px) { .data-table { font-size: 14px; } .data-table th:nth-child(4), .data-table td:nth-child(4) { display: none; } }
.cap-steps { display: flex; gap: 4px; margin: 0 0 22px; overflow-x: auto; }
.cap-steps li { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 84px; padding: 10px 8px 10px 0; border-top: 2px solid var(--line-2); font-size: 13.5px; color: var(--text-3); }
.cap-steps li span { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; }
.cap-steps li span svg { width: 13px; height: 13px; }
.cap-steps li.is-on { border-color: var(--coral); color: var(--text); font-weight: 700; }
.cap-steps li.is-on span { background: var(--coral); color: var(--coral-ink); border-color: var(--coral); }
.cap-steps li.is-done { border-color: var(--text-2); color: var(--text-2); }
.cap-suggest { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--bg-raise); }
.cap-suggest > svg { width: 24px; height: 24px; color: var(--coral); flex: none; }
.cap-suggest p { margin: 2px 0 0; }
.viewfinder { position: relative; border-radius: 14px; overflow: hidden; background: #0C0C0F; padding: 44px 14px 64px; }
.vf-wall { opacity: .95; }
.vf-hud { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.vf-rec { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); }
.vf-rec svg { width: 12px; height: 12px; }
.vf-guide { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-m); background: rgba(22,23,28,.88); font-size: 14.5px; }
.vf-guide svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.cap-meter { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.cov-legend { display: flex; gap: 16px; color: var(--text-2); }
.cov-legend i { display: inline-block; width: 14px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.cov-legend .ok { background: rgba(143,211,166,.6); }
.cov-legend .miss { background: rgba(234,144,141,.7); }
.match-row { grid-template-columns: auto 1fr auto; }
.you-head { flex-wrap: wrap; }
.you-links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 719px) { .you-links { width: 100%; } .you-links .btn { flex: 1; } }

/* Phone Today: compact hero so the personal next action shows in the first viewport.
   Desktop composition is unchanged. */
@media (max-width: 719px) {
  .today .page-head, .today-hero { padding-bottom: 16px; }
  .th-date { margin-bottom: 4px; font-size: 14px; }
  .hero-grid { gap: 12px; }
  .hero-h { font-size: 38px; margin: 2px 0 12px; }
  .hero-crowd { gap: 4px 16px; }
  .hero-crowd .crowd p { font-size: 13px; }
  .hero-crowd .line-link { min-height: 36px; }
  .other-loc { grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 14px; }
  .other-loc::before, .other-loc > .eyebrow, .other-loc > .coral { display: none; }
  .other-loc b { font-size: 20px; grid-row: span 2; }
  .other-loc > .small { grid-column: 2; font-size: 13px; }
  .other-loc .crowd { grid-column: 3; grid-row: 1 / span 2; }
  .other-loc .crowd-level { font-size: 15px; gap: 6px; }
  .other-loc .crowd-level b { font-size: 17px; }
  .notices { margin-top: 14px; gap: 6px; }
  .notices .notice { padding: 10px 12px; align-items: center; }
  .notices .notice p { display: none; } /* full text opens with the notice */
  .notices .notice b { font-size: 15px; line-height: 1.3; }
  .today-cols { margin-top: 0; }
  .today-cols .section:first-child { margin-top: 18px; }
  .next-action { padding: 16px 16px 14px; }
}

/* ======================= PASS & ABO ======================= */
.abo-card { padding: 22px 24px; border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg-raise); }
.abo-card.is-active, .abo-card.is-expiring { border-left: 3px solid var(--ok); }
.abo-card.is-expired { border-left: 3px solid var(--text-3); }
.abo-h { font-size: clamp(26px, 3.4vw, 36px); }
.abo-card .kv dd { display: grid; gap: 2px; }
.abo-demo { margin: 20px 0 0; }
.hall-chips { display: inline-flex; gap: 4px; }
.hall-chip { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px dashed var(--line-2); color: var(--text-3); }
.hall-chip.on { border: 0; background: var(--text); color: var(--bg); }
.cover-list { display: grid; gap: 8px; margin-top: 12px; }
.card-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.card-row .pc-balance { margin: 6px 0 10px; }
.card-row .pc-balance b { font-size: 56px; }
.ticks.eleven { grid-template-columns: repeat(11, 1fr); max-width: 480px; }
.ticks.eleven i { height: 24px; }
.adm-abo { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0 4px; }
.quote { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.quote b { font-family: var(--font-display); font-size: 30px; }
.price-table td, .price-table thead th.num { text-align: right; }
.price-table tbody th { white-space: nowrap; }
@media (max-width: 719px) { .abo-card { padding: 18px 16px; } .ticks.eleven { gap: 3px; } .card-row .pc-balance b { font-size: 46px; } }
@media (max-width: 719px) { .price-table th:nth-child(4), .price-table td:nth-child(4) { display: table-cell; } .price-table { font-size: 14px; } }
.abo-demo .seg { flex-wrap: wrap; overflow: visible; }
