/* ============================================================
   Screen components — home feed, map, galley, wallet, more,
   sub-screens and sheets.
   ============================================================ */

/* ---------- HOME ---------- */

.home-hi { padding: 18px 16px 6px; }
.hi-date { color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.home-hi h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 4px; }
.hi-sub { color: var(--text-2); font-size: 14px; }

.arrival { margin: 12px 16px 4px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.arr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.arr-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.arr-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 13px; }
.arr-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.arr-row svg { width: 17px; height: 17px; color: var(--text-2); flex-shrink: 0; }
.arr-k { color: var(--text-2); width: 56px; flex-shrink: 0; }
.arr-v { color: var(--text); }

.fam-wrap { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.fam-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; transition: background 0.12s; }
.fam-card:hover { background: var(--hover); }
.fam-live { border-color: rgba(79, 136, 196, 0.5); box-shadow: 0 0 24px rgba(79, 136, 196, 0.08); }
.fam-head { display: flex; align-items: center; gap: 10px; }
.fam-head > div { flex: 1; min-width: 0; }
.fam-name { font-weight: 700; font-size: 15px; }
.fam-team { color: var(--text-2); font-size: 12.5px; }
.fam-body { padding: 10px 2px 0; font-size: 13.5px; }

.fam-score { display: flex; align-items: stretch; gap: 8px; margin: 14px 0 12px; }
.fs-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fs-team span { font-size: 12px; color: var(--text-2); text-align: center; line-height: 1.25; }
.fs-team strong { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fs-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 64px; }
.fs-set { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.fs-sets { font-size: 11.5px; color: var(--text-2); }

.fam-next { display: flex; gap: 14px; margin: 13px 0 12px; align-items: center; }
.fn-when { display: flex; flex-direction: column; min-width: 86px; border-right: 1px solid var(--line); padding-right: 14px; }
.fn-when strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.fn-when span { font-size: 11.5px; }
.fn-detail { font-size: 13.5px; line-height: 1.45; }

.fam-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fam-court { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.fam-court svg { width: 14px; height: 14px; }
.fam-court.court-moved { color: #ffd166; animation: movedFlash 1.6s ease 3; }
@keyframes movedFlash { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.fam-actions { display: flex; gap: 7px; }

.qa-row { display: flex; justify-content: space-around; padding: 18px 10px 16px; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--text); font-size: 11.5px; font-weight: 600; width: 76px; }
.qa svg { width: 22px; height: 22px; }
.qa::before { content: none; }
.qa:hover svg { color: var(--accent); }

.feed-row { display: flex; gap: 12px; padding: 14px 16px; cursor: pointer; transition: background 0.12s; align-items: flex-start; }
.feed-row:hover { background: var(--hover); }
.feed-ic { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-2); }
.feed-ic svg { width: 18px; height: 18px; }
.feed-stream { color: #ff6b74; border-color: rgba(244, 33, 46, 0.35); }
.feed-rewards { color: var(--accent); border-color: rgba(79, 136, 196, 0.4); }
.feed-main { flex: 1; min-width: 0; }
.feed-title { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed-body { color: var(--text-2); font-size: 13.5px; margin-top: 2px; line-height: 1.45; }
.feed-meta { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.feed-chev { width: 16px !important; height: 16px !important; color: var(--text-3); flex-shrink: 0; margin-top: 4px; }
.home-foot { text-align: center; color: var(--text-3); font-size: 12px; padding: 22px 16px; line-height: 1.6; }

/* ---------- MAP ---------- */

.map-config { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 4px; }
.mc-left { display: flex; flex-direction: column; }
.mc-left strong { font-size: 15px; }
.mc-left span { font-size: 12.5px; }

.map-chips { display: flex; gap: 8px; padding: 12px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.map-chips::-webkit-scrollbar { display: none; }
.mchip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: all 0.12s; }
.mchip.on { background: var(--text); color: #0f1419; border-color: var(--text); }

.map-holder { padding: 0 10px; }
#floorplan { width: 100%; height: auto; }
.m-shell { fill: #050607; stroke: var(--line); }
.m-space rect { fill: #101315; stroke: #3a3f45; stroke-width: 1.4; transition: fill 0.2s; }
.m-tappable { cursor: pointer; }
.m-tappable:hover rect { fill: #16191c; }
.m-st-live rect { fill: rgba(79, 136, 196, 0.16); stroke: var(--accent); }
.m-st-sched rect { fill: rgba(79, 136, 196, 0.05); stroke: #4a5560; }
.m-feature rect { stroke-width: 2.4; }
.m-dim { opacity: 0.22; pointer-events: none; }
.m-food rect { fill: rgba(226, 185, 59, 0.07); stroke: #6b5a2a; }
.m-retail rect, .m-seating rect, .m-amenity rect { fill: #0b0d0f; stroke: #2a2e33; }
.m-entry rect { fill: rgba(0, 186, 124, 0.06); stroke: #2c5b48; }
.m-cage rect, .m-training rect { fill: #0e1113; }
.m-line { stroke: #3a3f45; stroke-width: 1.3; fill: none; }
.m-net { stroke: #4a5560; stroke-width: 1.6; stroke-dasharray: 5 4; }
.m-label { fill: #8b9298; font-size: 15px; font-weight: 700; text-anchor: middle; letter-spacing: 0.08em; font-family: var(--font); }
.m-st-live .m-label { fill: #cfe1f3; }
.m-label-lg { font-size: 21px; fill: #e7e9ea; letter-spacing: 0.18em; }
.m-livedot { fill: var(--accent); }
.m-corridor { stroke: #17191c; stroke-width: 26; stroke-linecap: round; }
.m-compass { fill: #4d5156; font-size: 13px; text-anchor: middle; font-family: var(--font); letter-spacing: 0.06em; }
.m-doorline { stroke: #3ddba0; stroke-width: 4; }
.m-doortxt { fill: #3ddba0; font-size: 13px; text-anchor: middle; }
.m-route { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 10 9; animation: routeMarch 1.1s linear infinite; }
@keyframes routeMarch { to { stroke-dashoffset: -19; } }
.m-route-start { fill: var(--accent); }
.m-pin { pointer-events: none; }
.m-pin-bg { stroke: #000; stroke-width: 2; }
.m-pin-bg.k1 { fill: #3f7a52; }
.m-pin-bg.k2 { fill: #8a6a2f; }
.m-pin-txt { fill: #fff; font-size: 9.5px; font-weight: 800; text-anchor: middle; font-family: var(--font); }
.m-pin-pulse { fill: none; stroke: var(--accent); stroke-width: 2; animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinPulse { 0% { r: 13; opacity: 0.9; } 100% { r: 26; opacity: 0; } }
.m-pin-clock { fill: #16181c; stroke: #ffd166; stroke-width: 1.6; }
.m-pin-clockhand { stroke: #ffd166; stroke-width: 1.6; fill: none; }

.route-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 16px; border: 1px solid rgba(79, 136, 196, 0.5); background: var(--accent-dim); border-radius: 14px; padding: 10px 13px; font-size: 13.5px; }
.route-bar svg { width: 16px; height: 16px; vertical-align: -3px; }

.map-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 18px 14px; color: var(--text-2); font-size: 12.5px; align-items: center; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.lg-live { background: rgba(79, 136, 196, 0.35); border: 1px solid var(--accent); }
.lg-sched { background: rgba(79, 136, 196, 0.08); border: 1px solid #4a5560; }
.lg-open { background: #101315; border: 1px solid #3a3f45; }
.lg-av { width: 18px !important; height: 18px !important; font-size: 8px !important; }

.live-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.live-row:hover { background: var(--hover); }
.lr-court { min-width: 52px; font-weight: 800; font-size: 13px; color: var(--accent); border: 1px solid rgba(79, 136, 196, 0.4); border-radius: 9px; text-align: center; padding: 8px 4px; }
.lr-main { flex: 1; min-width: 0; }
.lr-teams { font-size: 13.5px; }
.lr-teams strong { font-variant-numeric: tabular-nums; }
.lr-meta { font-size: 12px; margin-top: 2px; }

/* ---------- ORDER / GALLEY ---------- */

.galley-head { padding: 16px 16px 4px; }
.gh-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gh-title h1 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.gh-sub { color: var(--text-2); font-size: 13.5px; margin: 6px 0 14px; }
.fulfil { display: flex; gap: 9px; }
.ful-opt { flex: 1; display: flex; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; transition: all 0.12s; }
.ful-opt svg { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; }
.ful-opt div { display: flex; flex-direction: column; }
.ful-opt strong { font-size: 13px; }
.ful-opt span { font-size: 11.5px; color: var(--text-2); }
.ful-opt.on { border-color: var(--accent); background: var(--accent-dim); }
.ful-opt.on svg { color: var(--accent); }

.order-active { display: flex; align-items: center; gap: 11px; margin: 12px 16px 0; border: 1px solid rgba(0, 186, 124, 0.45); background: rgba(0, 186, 124, 0.07); border-radius: 14px; padding: 11px 13px; cursor: pointer; font-size: 13.5px; }
.oa-ic svg { width: 19px; height: 19px; color: #3ddba0; }
.oa-main { flex: 1; }

.deal-row { display: flex; align-items: center; gap: 11px; margin: 12px 16px; border: 1px dashed #6b5a2a; border-radius: 14px; padding: 11px 13px; cursor: pointer; font-size: 13.5px; }
.deal-row svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.deal-row div { flex: 1; }

.cat-pills { position: sticky; top: calc(52px + var(--sat)); z-index: 30; display: flex; gap: 8px; padding: 10px 16px; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-soft); }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.cat-pill.on { background: var(--text); color: #0f1419; border-color: var(--text); }

.menu-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; }
.menu-glyph { width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #aab2b8; flex-shrink: 0; }
.menu-glyph svg { width: 24px; height: 24px; }
.menu-main { flex: 1; min-width: 0; cursor: pointer; }
.menu-name { font-weight: 700; font-size: 14.5px; }
.menu-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--gold); border: 1px solid rgba(226, 185, 59, 0.45); padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 2px; }
.menu-desc { color: var(--text-2); font-size: 12.5px; margin-top: 1px; }
.menu-price { font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.menu-pts { color: var(--accent); font-weight: 600; font-size: 12px; margin-left: 4px; }

.stepper { display: flex; align-items: center; gap: 2px; }
.step-btn { width: 32px; height: 32px; border-radius: 999px; border: 1px solid #536471; display: flex; align-items: center; justify-content: center; transition: background 0.12s; }
.step-btn:hover { background: var(--hover); }
.step-btn svg { width: 15px; height: 15px; }
.step-q { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper-lg .step-btn { width: 40px; height: 40px; }
.galley-foot { padding: 18px 16px 26px; font-size: 12.5px; text-align: center; }

.cartbar { position: fixed; bottom: calc(72px + var(--sab)); left: 50%; transform: translateX(-50%); z-index: 60; background: var(--white); color: #0f1419; border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.65); animation: toast-in 0.25s ease; white-space: nowrap; }
@media (min-width: 1024px) { .cartbar { bottom: 28px; } }
.cb-count { background: #0f1419; color: #fff; border-radius: 99px; min-width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* ---------- CHECKOUT ---------- */

.co-items { padding: 6px 0; }
.co-row { display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.co-name { flex: 1; font-size: 14px; font-weight: 600; }
.co-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.co-sec { padding: 13px 16px 3px; }
.co-lab { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 9px; }
.tip-row { display: flex; gap: 8px; }
.tip { flex: 1; border: 1px solid var(--line); border-radius: 11px; padding: 9px 0; font-weight: 700; font-size: 13.5px; color: var(--text-2); }
.tip.on { background: var(--text); color: #0f1419; border-color: var(--text); }

.pts-toggle { display: flex; align-items: center; gap: 11px; margin: 15px 16px 4px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; width: calc(100% - 32px); text-align: left; }
.pts-toggle svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.pts-toggle div { flex: 1; display: flex; flex-direction: column; }
.pts-toggle strong { font-size: 13.5px; }
.pts-toggle span { font-size: 12px; color: var(--text-2); }
.pts-toggle.on { border-color: var(--accent); background: var(--accent-dim); }
.pts-toggle.off { opacity: 0.45; }

.switch { width: 42px; height: 25px; border-radius: 99px; background: #333639; position: relative; flex-shrink: 0; transition: background 0.15s; display: inline-block; }
.switch i { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 99px; background: #fff; transition: left 0.15s; }
.pts-toggle.on .switch, .switch.on { background: var(--accent-deep); }
.pts-toggle.on .switch i, .switch.on i { left: 20px; }

.co-math { padding: 14px 16px 4px; font-size: 14px; }
.co-math > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--text-2); }
.co-credit { color: #3ddba0 !important; }
.co-total { color: var(--text) !important; font-weight: 800; font-size: 17px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px !important; }
.co-earn { color: var(--accent) !important; font-size: 12.5px; justify-content: flex-start !important; gap: 6px; }
.co-earn svg { width: 15px; height: 15px; }
.co-pay { padding: 12px 16px 26px; }
.co-note { text-align: center; margin-top: 9px; font-size: 12px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 20px; color: var(--text-2); }
.empty svg { width: 40px; height: 40px; }

/* ---------- ORDER STATUS ---------- */

.ord-hero { text-align: center; padding: 22px 16px 8px; }
.ord-num { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.ord-sub { color: var(--text-2); font-size: 13.5px; }
.ord-steps { display: flex; flex-direction: column; padding: 14px 26px 6px; }
.ord-step { display: flex; gap: 13px; align-items: flex-start; opacity: 0.38; }
.ord-step.done, .ord-step.now { opacity: 1; }
.os-dot { width: 26px; height: 26px; border-radius: 99px; border: 2px solid #536471; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.os-dot svg { width: 13px; height: 13px; }
.ord-step.done .os-dot { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ord-step.now .os-dot { border-color: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.os-name { font-weight: 800; font-size: 15px; }
.os-line { width: 2px; height: 22px; background: #333639; margin-left: 12px; }
.ord-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; }
.qr-card { background: #fff; border-radius: 16px; padding: 12px; width: 168px; height: 168px; }
.qr-card svg { width: 100%; height: 100%; }
.qr-sm { width: 138px; height: 138px; }
.qr-xs { width: 76px; height: 76px; padding: 6px; border-radius: 10px; }
.qr-lg { width: 216px; height: 216px; }
.ord-items { text-align: center; padding: 2px 16px; color: var(--text-2); font-size: 13.5px; }
.ord-item span { color: var(--text-3); }
.ord-total { font-weight: 800; color: var(--text); margin-top: 7px; }
.ord-earned { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--accent); font-weight: 700; padding: 13px; font-size: 14px; }
.ord-earned svg { width: 17px; height: 17px; }
.ord-eta { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px; font-size: 13px; }
.ord-eta svg { width: 15px; height: 15px; }

/* ---------- WALLET ---------- */

.segbar { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: calc(52px + var(--sat)); background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 30; }
.seg { flex: 1; padding: 13px 0 11px; font-weight: 700; font-size: 14.5px; color: var(--text-2); position: relative; }
.seg.on { color: var(--text); }
.seg.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 52px; height: 3.5px; border-radius: 99px; background: var(--accent); }
.seg-pts { font-size: 11px; color: var(--accent); font-weight: 800; }

.pass-swiper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; padding: 20px 0 4px; }
.pass-swiper::-webkit-scrollbar { display: none; }
.pass-card { scroll-snap-align: center; flex: 0 0 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 0 26px; }
.pass-card > * { }
.pass-card { display: flex; flex-direction: column; align-items: center; }
.pc-top, .pc-name, .pc-sub, .pc-qr, .pc-id, .pc-refresh { width: 100%; max-width: 330px; }
.pc-top { background: #fff; border-radius: 22px 22px 0 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 2px; box-sizing: border-box; }
.pc-logo { width: 44px; }
.pc-role { color: #536471; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.pc-name { background: #fff; color: #0f1419; font-size: 21px; font-weight: 800; padding: 10px 20px 0; box-sizing: border-box; letter-spacing: -0.01em; }
.pc-sub { background: #fff; color: #536471; font-size: 12.5px; padding: 2px 20px 8px; box-sizing: border-box; }
.pc-qr { background: #fff; padding: 6px 44px; box-sizing: border-box; }
.pc-qr svg { width: 100%; height: auto; }
.pc-id { background: #fff; color: #536471; text-align: center; font-size: 12px; padding: 8px 20px 6px; box-sizing: border-box; }
.pc-refresh { background: #fff; border-radius: 0 0 22px 22px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #8b98a5; font-size: 11.5px; padding: 2px 20px 16px; box-sizing: border-box; }
.pc-refresh i { width: 9px; height: 9px; border-radius: 99px; border: 2px solid #345f8c; border-top-color: transparent; animation: spin 2.4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.pass-dots { display: flex; justify-content: center; gap: 7px; padding: 14px 0 4px; }
.pdot { width: 7px; height: 7px; border-radius: 99px; background: #333639; padding: 0; }
.pdot.on { background: var(--text); }
.pass-actions { display: flex; gap: 10px; justify-content: center; padding: 14px 16px; flex-wrap: wrap; }
.applewallet { display: inline-flex; align-items: center; gap: 8px; background: #000; border: 1px solid #444; color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 13.5px; }
.applewallet svg { width: 17px; height: 17px; }

.voucher { display: flex; align-items: center; gap: 12px; margin: 0 16px 10px; border: 1px dashed #345f8c; border-radius: 14px; padding: 12px 14px; }
.voucher svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.voucher div { flex: 1; display: flex; flex-direction: column; }

.ticket { display: flex; margin: 14px 16px 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; position: relative; }
.ticket:hover { background: var(--hover); }
.ticket-past { opacity: 0.55; }
.tk-main { flex: 1; padding: 16px; min-width: 0; }
.tk-event { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.tk-kind { font-size: 12.5px; margin-top: 1px; }
.tk-when { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 10px; }
.tk-when svg { width: 14px; height: 14px; color: var(--text-2); }
.tk-gate { margin-top: 3px; }
.tk-stub { width: 118px; border-left: 1.5px dashed #3a3f45; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; position: relative; }
.tk-stub::before, .tk-stub::after { content: ''; position: absolute; left: -8px; width: 15px; height: 15px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); }
.tk-stub::before { top: -9px; }
.tk-stub::after { bottom: -9px; }
.tk-memory { text-align: center; color: var(--gold); font-size: 11px; font-weight: 700; }
.tk-memory svg { width: 20px; height: 20px; margin: 0 auto 3px; }

.ev-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; cursor: pointer; }
.ev-row:hover { background: var(--hover); }
.ev-row > svg { width: 21px; height: 21px; color: var(--text-2); flex-shrink: 0; }
.ev-row div { flex: 1; min-width: 0; }

.rw-hero { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 8px; }
.rw-balance { display: flex; align-items: baseline; gap: 9px; }
.rw-anchor svg { width: 26px; height: 26px; color: var(--accent); }
.rw-balance strong { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rw-lab { color: var(--text-2); font-size: 13px; }
.rw-tier { padding: 8px 18px 6px; }
.rw-tier-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.rw-bar { height: 8px; border-radius: 99px; background: #1d2124; position: relative; overflow: visible; }
.rw-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.rw-marks b { position: absolute; top: -2px; width: 2.5px; height: 12px; background: #536471; border-radius: 2px; transform: translateX(-50%); }
.rw-tier-names { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-2); margin-top: 6px; }
.rw-perk { margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.rw-perk svg { width: 14px; height: 14px; }

.missions { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 8px; scrollbar-width: none; }
.missions::-webkit-scrollbar { display: none; }
.mission { min-width: 118px; border: 1px solid var(--line); border-radius: 15px; padding: 13px 12px; display: flex; flex-direction: column; gap: 7px; }
.mission.done { border-color: rgba(79, 136, 196, 0.5); background: var(--accent-dim); }
.ms-ic svg { width: 20px; height: 20px; color: var(--text-2); }
.mission.done .ms-ic svg { color: var(--accent); }
.ms-name { font-weight: 700; font-size: 13px; }
.ms-state { font-size: 11.5px; font-weight: 700; color: var(--accent); display: flex; gap: 4px; align-items: center; }
.ms-state svg { width: 12px; height: 12px; }

.rd-row { display: flex; align-items: center; gap: 13px; padding: 12px 16px; }
.rd-ic { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #aab2b8; flex-shrink: 0; }
.rd-ic svg { width: 19px; height: 19px; }
.rd-main { flex: 1; display: flex; flex-direction: column; }
.earn-table { margin: 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.earn-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 13.5px; }
.earn-row + .earn-row { border-top: 1px solid var(--line-soft); }
.earn-row span { color: var(--text-2); }
.led-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; font-size: 13.5px; }
.led-plus { color: #3ddba0; }
.led-minus { color: var(--text-2); }

/* ---------- MORE ---------- */

.more-head { display: flex; gap: 14px; padding: 20px 16px; align-items: center; }
.mh-name { font-size: 19px; font-weight: 800; }
.mh-fam { display: flex; gap: 7px; margin-top: 7px; }
.fam-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px 3px 4px; font-size: 12px; font-weight: 600; }
.more-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; width: 100%; text-align: left; transition: background 0.12s; }
.more-row:hover { background: var(--hover); }
.mr-ic { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-2); flex-shrink: 0; }
.mr-ic svg { width: 18px; height: 18px; }
.mr-main { flex: 1; font-size: 14.5px; font-weight: 600; }
.more-foot { padding: 18px 16px 26px; text-align: center; }

/* ---------- SCHEDULE ---------- */

.sch-row { display: flex; gap: 13px; padding: 12px 16px; cursor: pointer; align-items: center; }
.sch-row:hover { background: var(--hover); }
.sch-fam { border-left: 3px solid var(--accent); padding-left: 13px; }
.sch-time { min-width: 74px; display: flex; flex-direction: column; }
.sch-time strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.sch-main { flex: 1; min-width: 0; }
.sch-teams { font-size: 13.5px; font-weight: 600; }

/* ---------- BRACKETS ---------- */

.bracket-scroll { overflow-x: auto; padding: 0 16px 8px; }
.bracket { display: flex; gap: 18px; min-width: 620px; }
.br-round { display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: space-around; }
.br-name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); }
.br-game { border: 1px solid var(--line); border-radius: 13px; padding: 9px 11px; min-width: 190px; }
.br-fam { border-color: rgba(79, 136, 196, 0.55); background: var(--accent-dim); }
.br-live { border-color: rgba(244, 33, 46, 0.4); }
.br-team { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 2.5px 0; color: var(--text-2); }
.br-team.br-w { color: var(--text); font-weight: 700; }
.br-team strong { font-variant-numeric: tabular-nums; }
.br-note { font-size: 11px; color: var(--text-3); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.pool { margin: 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pool-row { display: grid; grid-template-columns: 1fr 52px 52px 52px; padding: 10px 14px; font-size: 13px; align-items: center; }
.pool-row + .pool-row { border-top: 1px solid var(--line-soft); }
.pool-row b { text-align: center; font-weight: 600; color: var(--text-2); }
.pool-head { color: var(--text-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.pool-fam { background: var(--accent-dim); font-weight: 700; }
.pool-fam b { color: var(--text); }

/* ---------- NOTIFICATIONS ---------- */

.ntf-row { display: flex; gap: 13px; padding: 14px 16px; position: relative; }
.ntf-row.unread { background: rgba(79, 136, 196, 0.05); }
.ntf-ic { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-2); flex-shrink: 0; }
.ntf-ic svg { width: 18px; height: 18px; }
.ntf-main { flex: 1; min-width: 0; font-size: 13.5px; }
.ntf-title { font-weight: 700; font-size: 14px; }
.ntf-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); position: absolute; right: 16px; top: 18px; }

/* ---------- WATCH ---------- */

.watch-player { padding: 14px 16px 4px; }
.wp-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.wp-frame svg { width: 100%; height: auto; }
.wp-badge { position: absolute; top: 12px; left: 12px; }
.wp-bug { position: absolute; bottom: 12px; right: 12px; background: rgba(0, 0, 0, 0.75); border: 1px solid var(--line); border-radius: 9px; padding: 4px 11px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.wp-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 2px 6px; }
.wp-note { padding: 4px 2px 8px; }
.clip-row { display: flex; align-items: center; gap: 13px; padding: 11px 16px; cursor: pointer; }
.clip-row:hover { background: var(--hover); }
.clip-thumb { width: 86px; height: 52px; border-radius: 11px; background: #101315; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; color: var(--text); }
.clip-thumb svg { width: 22px; height: 22px; }
.clip-thumb span { position: absolute; bottom: 4px; right: 6px; font-size: 10px; color: var(--text-2); font-weight: 700; }
.clip-main { flex: 1; min-width: 0; font-size: 14px; }

/* ---------- BOOKING ---------- */

.book-tabs { display: flex; gap: 9px; padding: 14px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.book-tabs::-webkit-scrollbar { display: none; }
.book-tab { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 15px; padding: 13px 10px; min-width: 104px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.book-tab svg { width: 21px; height: 21px; }
.book-tab.on { border-color: var(--accent); background: var(--accent-dim); color: var(--text); }
.book-tab.on svg { color: var(--accent); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 8px 16px; }
.slot { border: 1px solid var(--line); border-radius: 11px; padding: 11px 4px; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.slot.taken { opacity: 0.3; text-decoration: line-through; }
.slot.on { background: var(--text); color: #0f1419; border-color: var(--text); }
.slot.mine { border-color: #3ddba0; color: #3ddba0; font-size: 11.5px; }
.book-confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 16px; border: 1px solid var(--accent); background: var(--accent-dim); border-radius: 15px; padding: 13px 15px; font-size: 14px; }

/* ---------- FAMILY / PROGRAMS ---------- */

.kid-card, .prog-card { border: 1px solid var(--line); border-radius: 16px; margin: 14px 16px 0; padding: 14px; }
.kid-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.kid-row { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.kid-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.reg-note { display: flex; gap: 9px; align-items: center; margin: 14px 16px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 13px; font-size: 12.5px; color: var(--text-2); }
.reg-note svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- FACILITY ---------- */

.fac-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px 14px; }
.fac-logo { width: 76px; filter: brightness(0) invert(1); }
.fac-tag { color: var(--text-2); font-size: 13.5px; font-style: italic; }
.fac-rows { display: flex; flex-direction: column; gap: 3px; padding: 0 0 10px; }
.fac-row { display: flex; gap: 12px; padding: 10px 16px; font-size: 14px; align-items: flex-start; }
.fac-row svg { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; margin-top: 1px; }
.staff-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; }
.staff-row div { flex: 1; font-size: 14px; }

/* ---------- MEMORY ---------- */

.mem-hero { display: flex; align-items: center; gap: 16px; padding: 24px 20px 14px; font-size: 14.5px; }
.mem-big { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; }
.mem-hero svg { width: 14px; height: 14px; color: var(--gold); vertical-align: -2px; display: inline-block; }
.mem-line { height: 1px; background: var(--line); margin: 0 16px 6px; }
.mem-row { display: flex; gap: 14px; padding: 13px 20px; }
.mem-dot { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-2); flex-shrink: 0; }
.mem-dot svg { width: 16px; height: 16px; }
.mem-today .mem-dot { border-color: var(--accent); color: var(--accent); }
.mem-when { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mem-what { font-size: 14px; margin-top: 3px; }

/* ---------- SETTINGS ---------- */

.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; width: 100%; text-align: left; font-size: 14.5px; }

/* ---------- SHEETS ---------- */

#sheet-root { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#sheet-root.open { pointer-events: auto; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(91, 112, 131, 0.3); opacity: 0; transition: opacity 0.2s; }
#sheet-root.open .sheet-scrim { opacity: 1; }
.sheet { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 100%); width: min(600px, 100%); background: var(--sheet); border: 1px solid var(--line); border-bottom: none; border-radius: 22px 22px 0 0; padding-bottom: calc(18px + var(--sab)); transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.3, 1); max-height: 82dvh; overflow-y: auto; }
#sheet-root.open .sheet { transform: translate(-50%, 0); }
.sheet-grip { width: 38px; height: 4.5px; border-radius: 99px; background: #3a3f45; margin: 10px auto 4px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 18px 6px; gap: 12px; }
.sheet-title { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.sheet-actions { display: flex; gap: 10px; padding: 16px 18px 6px; align-items: center; }
.sheet-actions .btn { flex: 1; }
.item-hero { width: 62px; height: 62px; border-radius: 17px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #aab2b8; }
.item-hero svg { width: 30px; height: 30px; }
.sc-live { padding: 10px 18px; }
.sc-teams { font-size: 15.5px; font-weight: 600; margin-top: 7px; }
.sc-teams strong { font-size: 17px; }
.sc-lab { padding: 13px 18px 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-2); }
.sc-next { display: flex; gap: 13px; padding: 7px 18px; font-size: 13.5px; }
.sc-next strong { min-width: 68px; font-variant-numeric: tabular-nums; }
.sc-done { opacity: 0.55; }
.gs-score { display: flex; gap: 10px; padding: 12px 18px 6px; }
.gs-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gs-team span { font-size: 12.5px; color: var(--text-2); text-align: center; }
.gs-team strong { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* very small phones */
@media (max-width: 359px) {
  .fam-actions .btn { padding: 6px 10px; font-size: 12px; }
  .fs-team strong { font-size: 28px; }
}
