/* Include360 app. Phone-first, native feel. Coral #C44A1E on warm neutrals. */
:root {
  --fs: 1;
  --coral: #C44A1E; --coral-d: #A33A12; --coral-l: #FDF0EB; --hot: #B83D14;
  --ink: #111111; --ink2: #2E2E2E; --muted: #595959; --line: rgba(0,0,0,0.1);
  --bg: #FFFFFF; --bg2: #F7F4F0; --card: #FFFFFF; --shade: 0 8px 24px rgba(17,17,17,0.08);
  --law: #2E6B3A; --warn-bg: #FFF4D6; --warn: #6B4E00; --q: #1D5FA8;
  --top: 56px; --tabs: 64px; --safe-b: env(safe-area-inset-bottom); --safe-t: env(safe-area-inset-top);
  --r: 18px; --r-s: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #F4F1EC; --ink2: #DAD5CE; --muted: #ADA7A0; --line: rgba(255,255,255,0.12); --bg: #0F0F0F; --bg2: #1A1918; --card: #1C1B1A; --coral-l: #3A2017; --coral-d: #F08A5D; --shade: 0 8px 24px rgba(0,0,0,0.4); --warn-bg: #3A3010; --warn: #F5D77A; --q: #8DB8F0; color-scheme: dark; } }
:root[data-theme="dark"] { --ink: #F4F1EC; --ink2: #DAD5CE; --muted: #ADA7A0; --line: rgba(255,255,255,0.12); --bg: #0F0F0F; --bg2: #1A1918; --card: #1C1B1A; --coral-l: #3A2017; --coral-d: #F08A5D; --shade: 0 8px 24px rgba(0,0,0,0.4); --warn-bg: #3A3010; --warn: #F5D77A; --q: #8DB8F0; color-scheme: dark; }
:root.hc { --muted: var(--ink2); --line: currentColor; }
:root.hc .card-s a, :root.hc .card-s button, :root.hc .bill-card, :root.hc .hub, :root.hc .ev a { outline: 2px solid var(--ink); }
:root.hc a:not(.btn):not(.tabs a) { text-decoration: underline; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; font-size: calc(16px * var(--fs)); }
body { font-family: 'DM Sans', system-ui, sans-serif; font-size: 1rem; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; padding: calc(var(--top) + var(--safe-t)) 0 calc(var(--tabs) + var(--safe-b) + 8px); overscroll-behavior-y: none; }
body.has-mini { padding-bottom: calc(var(--tabs) + var(--safe-b) + 76px); }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
input, select, textarea { font: inherit; color: var(--ink); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: 'Syne', 'DM Sans', sans-serif; letter-spacing: -0.3px; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 999; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(8px + var(--safe-t)); }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); } .small { font-size: 0.85rem; }
.pad { padding: 0 16px; } .pad-b { padding-bottom: 8px; }
main { display: block; max-width: 640px; margin: 0 auto; }
main:focus { outline: none; }

/* top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: calc(var(--top) + var(--safe-t)); padding: var(--safe-t) 8px 0 14px; display: flex; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.tb-brand { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.4px; min-height: 44px; }
.tb-brand b { color: var(--coral); font-weight: 800; }
.tb-actions { display: flex; gap: 2px; }
.tb-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.tb-btn:active { background: var(--bg2); }
body.bare .topbar { transform: translateY(-100%); }
body.bare { padding-top: 0; }

/* tab bar */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + var(--safe-b)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-top: 1px solid var(--line); }
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; justify-content: center; color: var(--muted); font-size: 0.7rem; font-weight: 700; border-radius: 14px; }
.tabs a[aria-current="page"] { color: var(--coral); }
.tabs a[aria-current="page"] svg { stroke-width: 2.4; }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--coral); }
.tab-dot { position: absolute; top: 8px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--hot); border: 2px solid var(--bg); }

/* screen transitions */
.screen-in { animation: rise .28s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rm *, .rm *::before, .rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.screen-head { padding: 18px 16px 12px; }
.screen-head h1 { font-size: 2rem; font-weight: 800; }
.screen-head p { color: var(--muted); margin-top: 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; padding: 26px 16px 10px; }
.sec-head h2 { font-size: 1.25rem; font-weight: 700; }
.sec-link { color: var(--coral-d); font-weight: 700; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.h2 { font-size: 1.25rem; margin: 26px 0 10px; }
.label { font-weight: 700; font-size: 0.85rem; color: var(--muted); margin: 6px 0 8px; }
.kicker { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--coral-d); }

/* chips & tags */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; border-radius: 100px; padding: 4px 10px; white-space: nowrap; }
.chip-type { background: rgba(255,255,255,0.92); color: #111; }
.chip-soft { background: var(--bg2); color: var(--ink2); }
.chip-hot { background: var(--hot); color: #fff; }
.chip-muted { background: var(--bg2); color: var(--muted); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-live { background: #fff; color: #B3261E; }
.chip-live i, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #E3342F; box-shadow: 0 0 0 0 rgba(227,52,47,.6); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,52,47,.55); } 70% { box-shadow: 0 0 0 9px rgba(227,52,47,0); } 100% { box-shadow: 0 0 0 0 rgba(227,52,47,0); } }
.tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; border-radius: 100px; padding: 3px 8px; background: var(--ink); color: var(--bg); }
.tag-law { background: var(--law); color: #fff; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 100px; font-weight: 700; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:active { background: #A33A12; transform: scale(.98); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-block { width: 100%; margin-top: 12px; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; border: 1.5px solid var(--coral); color: var(--coral-d); border-radius: 100px; font-weight: 700; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.icon-btn[aria-pressed="true"] { color: var(--coral); }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.linkbtn { color: var(--coral-d); font-weight: 700; text-decoration: underline; }

/* HOME */
.home-hello { padding: 16px 16px 6px; }
.hello-date { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.home-hello h1 { font-size: 1.75rem; font-weight: 800; margin: 2px 0 14px; max-width: 16ch; }
.live-pill { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #1A1110, #3A1A10 55%, #C44A1E); color: #fff; box-shadow: 0 10px 26px rgba(196,74,30,0.32); font-weight: 700; }
.live-pill span:nth-child(2) { flex: 1; font-family: 'Syne', sans-serif; font-size: 1.05rem; }
.live-pill b { font-size: 0.8rem; background: rgba(255,255,255,0.16); padding: 4px 10px; border-radius: 100px; }
.live-pill:active { transform: scale(.985); }

.rings ul { display: flex; gap: 14px; overflow-x: auto; padding: 16px 16px 6px; list-style: none; scrollbar-width: none; scroll-snap-type: x proximity; }
.rings ul::-webkit-scrollbar { display: none; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; scroll-snap-align: start; }
.ring-img { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: var(--line); display: grid; place-items: center; }
.ring-hot .ring-img { background: conic-gradient(from 200deg, #C44A1E, #F2A541, #E2552B, #C44A1E); }
.ring-img img, .ring-img svg { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--bg2); }
.ring-img svg { padding: 14px; color: var(--coral); }
.ring-label { font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.carousel { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.feat { flex: 0 0 86%; scroll-snap-align: center; }
.feat-link { position: relative; display: block; height: 340px; border-radius: 22px; overflow: hidden; background: #222; box-shadow: var(--shade); }
.feat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.88) 100%); }
.feat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; display: grid; gap: 8px; }
.feat-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.12; }
.feat-meta { font-size: 0.88rem; opacity: 0.92; }
.feat-count { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.85rem; background: rgba(255,255,255,0.14); justify-self: start; padding: 4px 10px; border-radius: 100px; }

.bill-mini { list-style: none; display: grid; gap: 8px; }
.bill-row { display: grid; gap: 7px; padding: 14px; border-radius: var(--r-s); background: var(--card); border: 1px solid var(--line); }
.bill-row:active { background: var(--bg2); }
.bill-row-top { display: flex; align-items: center; gap: 8px; }
.bill-row-title { font-weight: 700; flex: 1; }
.bill-row-now { font-size: 0.85rem; color: var(--muted); }
.following-mark { color: var(--coral); }
.following-mark svg { width: 18px; height: 18px; }
.progress { display: block; height: 7px; background: var(--bg2); border-radius: 100px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #C44A1E, #E2552B); border-radius: 100px; }

.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.card-s { flex: 0 0 230px; scroll-snap-align: start; }
.card-s > a, .card-s > button { display: block; width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg2); }
.card-pod .card-img { aspect-ratio: 1; }
.card-short .card-img { aspect-ratio: 4 / 5; }
.card-b { display: grid; gap: 5px; padding: 12px; }
.card-t { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-m { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.card-m svg { width: 15px; height: 15px; }
.pod-play, .vid-play { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.vid-play { top: auto; right: auto; left: 50%; top: 20%; transform: translate(-50%, 0); width: 54px; height: 54px; background: rgba(0,0,0,0.6); }
.pod-play svg, .vid-play svg { width: 20px; height: 20px; }
.skel { flex: 0 0 230px; height: 200px; border-radius: var(--r); background: linear-gradient(90deg, var(--bg2), var(--line), var(--bg2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; list-style: none; }
.skel-wide { flex: none; height: 220px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.avatars { display: flex; gap: 16px; overflow-x: auto; padding: 0 16px 6px; list-style: none; scrollbar-width: none; }
.avatars a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; text-align: center; font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
.avatars img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--coral-l); }

.ask-card { margin-top: 28px; background: var(--ink); color: var(--bg); border-radius: 22px; padding: 22px 20px; }
:root[data-theme="dark"] .ask-card { background: #2A1712; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ask-card { background: #2A1712; color: #fff; } }
.ask-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: #F2A541; }
.ask-card h2 { font-size: 1.35rem; margin: 6px 0 8px; }
.ask-card p { opacity: 0.85; margin-bottom: 14px; }
.day-strip { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--coral-l); }
.day-strip-date { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--coral-d); font-size: 1.1rem; min-width: 56px; }
.day-strip-k { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 700; }
.day-strip-name { display: block; font-weight: 700; }
.app-foot { text-align: center; padding: 28px 16px 12px; color: var(--muted); font-size: 0.85rem; }

/* segmented control */
.seg { display: flex; gap: 4px; margin: 4px 16px 14px; padding: 4px; background: var(--bg2); border-radius: 100px; position: sticky; top: calc(var(--top) + var(--safe-t) + 6px); z-index: 10; box-shadow: 0 0 0 6px var(--bg); }
.seg a, .seg label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: 100px; font-weight: 700; font-size: 0.92rem; color: var(--ink2); }
.seg a[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.seg a b { font-size: 0.72rem; background: var(--coral); color: #fff; border-radius: 100px; padding: 1px 7px; }
.seg svg { width: 18px; height: 18px; }
.seg-in { position: static; margin: 8px 0 0; box-shadow: none; }
.seg-in label { position: relative; cursor: pointer; }
.seg-in input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-in label:has(input:checked) { background: var(--ink); color: var(--bg); }
.seg-in label:has(input:focus-visible) { outline: 3px solid var(--coral); }

/* lists & cards */
.list { list-style: none; display: grid; gap: 12px; }
.empty { color: var(--muted); padding: 14px 0; }
.ev a { display: block; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shade); }
.ev-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--bg2); }
.ev-b { display: grid; gap: 8px; padding: 14px 16px 16px; }
.ev-b .chip-type { background: var(--bg2); color: var(--ink); }
.ev-t { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.ev-m { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.ev-m svg { width: 17px; height: 17px; }
.past summary { cursor: pointer; font-weight: 700; padding: 18px 0 10px; min-height: 44px; }
.past .ev a { opacity: 0.75; box-shadow: none; }
.tip { display: block; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--bg2); color: var(--ink2); }
.tip b { color: var(--coral-d); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a, .pills span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 100px; background: var(--coral-l); color: var(--coral-d); font-weight: 700; font-size: 0.9rem; }
.bill-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.bill-card-link { display: grid; gap: 8px; }
.bill-card-top { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.bill-card-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.bill-card-short { color: var(--ink2); font-size: 0.95rem; }
.bill-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
.follow { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--coral); color: var(--coral-d); font-weight: 700; }
.follow svg { width: 16px; height: 16px; }
.follow[aria-pressed="true"] { background: var(--coral); color: #fff; }
.follow-lg { width: 100%; justify-content: center; min-height: 50px; margin-top: 14px; background: var(--coral); color: #fff; border: 0; font-size: 1rem; }
.note { background: var(--bg2); border-radius: var(--r); padding: 16px; margin-top: 14px; }
.note h2 { font-size: 1.1rem; margin-bottom: 6px; }
.note summary { font-family: 'Syne', sans-serif; font-weight: 700; cursor: pointer; min-height: 32px; }
.note ol { padding-left: 1.2rem; display: grid; gap: 6px; margin-top: 10px; }

/* DETAIL */
.detail-hero { position: relative; }
.detail-img { width: 100%; aspect-ratio: 4 / 3; max-height: 52vh; object-fit: cover; background: var(--bg2); }
.cover-blank { background: linear-gradient(135deg, #3A1A10, #C44A1E); }
.back { position: absolute; top: calc(10px + var(--safe-t)); left: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(17,17,17,0.6); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); }
.detail-hero-actions { position: absolute; top: calc(10px + var(--safe-t)); right: 12px; display: flex; gap: 8px; }
.detail-hero-actions .icon-btn { background: rgba(17,17,17,0.6); color: #fff; backdrop-filter: blur(8px); }
.detail-hero-actions .icon-btn[aria-pressed="true"] { color: #FFB89A; }
.detail-top { display: flex; align-items: center; justify-content: space-between; padding: calc(8px + var(--safe-t)) 8px 0; }
.detail-top .back { position: static; background: var(--bg2); color: var(--ink); }
.detail-body { position: relative; background: var(--bg); border-radius: 24px 24px 0 0; margin-top: -24px; padding: 20px 16px 8px; }
.detail-top + .detail-body { margin-top: 0; }
.detail-body h1 { font-size: 1.85rem; font-weight: 800; margin: 10px 0 8px; }
.detail-body h2 { font-size: 1.25rem; margin: 26px 0 10px; }
.theme { font-style: italic; color: var(--ink2); margin-bottom: 10px; }
.lead { font-size: 1.05rem; color: var(--ink2); margin: 10px 0; }
.now-pill { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; margin-top: 8px; }
.count { margin: 14px 0; background: var(--ink); color: var(--bg); border-radius: 18px; padding: 14px; }
:root[data-theme="dark"] .count { background: #2A1712; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .count { background: #2A1712; color: #fff; } }
.count-label { font-size: 0.82rem; font-weight: 700; opacity: 0.8; margin-bottom: 8px; }
.count-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.count-units span { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 8px 4px; text-align: center; }
.count-units b { display: block; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.count-units i { font-style: normal; font-size: 0.7rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }
.count-live { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.tiles { display: grid; gap: 10px; margin: 14px 0; }
.tile { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; padding: 14px; border-radius: 16px; background: var(--bg2); }
.tile > svg { grid-row: span 3; color: var(--coral); margin-top: 2px; }
.tile-k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.tile-v { font-weight: 700; }
.tile-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.tile-links a { color: var(--coral-d); font-weight: 700; font-size: 0.9rem; min-height: 36px; display: inline-flex; align-items: center; }
.orgs { list-style: none; display: grid; gap: 8px; margin: 10px 0; }
.orgs li { display: grid; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.orgs a { color: var(--coral-d); }
.speakers { list-style: none; display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.speakers li { flex: 0 0 120px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.speakers img, .initials { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.initials { display: grid; place-items: center; background: var(--coral-l); color: var(--coral-d); font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; }
.sp-n { font-weight: 700; font-size: 0.85rem; line-height: 1.2; }
.sp-r { font-size: 0.75rem; color: var(--muted); line-height: 1.25; }
.prose { font-size: 1.05rem; line-height: 1.7; color: var(--ink2); }
.prose > * + * { margin-top: 0.9em; }
.prose h2 { color: var(--ink); }
.prose a { color: var(--coral-d); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { border-left: 4px solid var(--coral); padding: 4px 0 4px 14px; font-family: 'Syne', sans-serif; font-weight: 700; color: var(--ink); font-size: 1.1rem; line-height: 1.4; }
.prose figure { margin: 1.2em -16px; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-size: 0.82rem; color: var(--muted); padding: 6px 16px 0; }
.prose img { border-radius: 0; }
.prose .reading { background: var(--coral-l); box-shadow: 0 0 0 6px var(--coral-l); border-radius: 4px; color: var(--ink); }
.linklist { list-style: none; display: grid; gap: 8px; }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.linklist svg { width: 16px; height: 16px; color: var(--muted); }
.stages { list-style: none; }
.st { display: grid; grid-template-columns: 22px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.st::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.st:last-child::before { display: none; }
.st-done::before { background: var(--coral); }
.st-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.st-done .st-dot { background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--coral); }
.st-current .st-dot { border: 6px solid var(--coral); }
.st-n { font-weight: 700; }
.st-next .st-n { color: var(--muted); font-weight: 600; }
.st-d { font-size: 0.85rem; color: var(--muted); }
.st-note { font-size: 0.9rem; color: var(--ink2); margin-top: 4px; }
.st .chip { margin-top: 4px; }
.track { list-style: none; display: grid; gap: 8px; }
.track li { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; justify-items: start; }
.actions { list-style: none; display: grid; gap: 8px; }
.actions a { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--bg2); }
.actions b { color: var(--coral-d); }
.actions span { font-size: 0.9rem; color: var(--ink2); }
.alerts { margin-top: 24px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--coral); scroll-margin-top: 20px; }
.alerts:focus { outline: none; }
.alerts h2 { margin-top: 0 !important; }
.alerts .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.alerts .row input { flex: 1 1 200px; }

/* reader */
.byline { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline > span { display: grid; font-size: 0.9rem; }
.listen { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--coral-l); margin-bottom: 18px; }
.listen > span:last-child { display: grid; }
.listen b { color: var(--coral-d); }
.listen-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; }
.listen[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--coral); }
.end-card { margin: 24px 0 8px; padding: 16px; border-radius: 18px; background: var(--bg2); display: grid; gap: 10px; }

/* stories */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.chips::-webkit-scrollbar { display: none; }
.fchip { flex: none; min-height: 40px; padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--line); font-weight: 700; font-size: 0.9rem; }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lead-story { display: block; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shade); margin-bottom: 14px; }
.lead-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lead-b { display: grid; gap: 6px; padding: 16px; }
.lead-t { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.15; }
.lead-s { color: var(--ink2); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-story a, .row-pod button, .saved-row a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; width: 100%; }
.row-img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--bg2); }
.row-t { display: block; font-weight: 700; line-height: 1.3; margin: 2px 0 4px; }
.row-pod button { grid-template-columns: 76px 1fr 44px; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.row-pod .row-img { width: 76px; height: 76px; }
.pod-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; }
.pod-btn svg { width: 18px; height: 18px; }
.vid-wide button { display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; }
.vid-wide .vid-play { top: 28%; }
.saved-row { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.saved-row a { display: block; flex: 1; }

/* creators deck */
.deck { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.deck::-webkit-scrollbar { display: none; }
.deck-card { flex: 0 0 88%; scroll-snap-align: center; }
.deck-card a { position: relative; display: block; height: min(64vh, 520px); border-radius: 26px; overflow: hidden; background: #222; box-shadow: var(--shade); }
.deck-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.9)); }
.deck-b { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; display: grid; gap: 6px; }
.deck-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid #fff; }
.deck-n { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.deck-l { opacity: 0.92; }
.deck-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.deck-tags span { font-size: 0.75rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.5); border-radius: 100px; padding: 3px 10px; }
.deck-cta { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 6px; background: var(--coral); border-radius: 100px; padding: 10px 16px; font-weight: 700; }
.deck-cta svg { width: 18px; height: 18px; }
.deck-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
.deck-dots i { width: 7px; height: 7px; border-radius: 100px; background: var(--line); transition: width .2s; }
.deck-dots i.on { width: 22px; background: var(--coral); }
.profile .detail-img { aspect-ratio: 16 / 10; }
.profile-av { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid var(--bg); margin-top: -70px; box-shadow: var(--shade); }
.profile .muted svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* community */
.ask-bar { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 100px; background: var(--bg2); border: 1.5px solid var(--line); color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.ask-bar span:nth-child(2) { flex: 1; }
.ask-av { width: 36px; height: 36px; border-radius: 50%; background: var(--coral-l); color: var(--coral-d); display: grid; place-items: center; }
.ask-av svg { width: 18px; height: 18px; }
.ask-plus { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; }
.filter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.filter-row label { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
select, input:not([type="radio"]):not([type="checkbox"]), textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); }
textarea { resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: var(--coral); outline: none; box-shadow: 0 0 0 3px rgba(196,74,30,0.18); }
.hub { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.hub-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.hub-top .icon-btn { margin-left: auto; margin-right: -10px; }
.hub-type { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; color: var(--coral-d); }
.hub-question .hub-type { color: var(--q); }
.hub-programme .hub-type { color: var(--law); }
.hub h3 { font-size: 1.12rem; margin-bottom: 6px; }
.hub details summary { color: var(--coral-d); font-weight: 700; cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.hub .prose { font-size: 0.98rem; }
.hub .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 40px; color: var(--coral-d); font-weight: 700; }
.hub .more svg { width: 16px; height: 16px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hub-tags span { font-size: 0.75rem; font-weight: 600; background: var(--bg2); border-radius: 100px; padding: 3px 10px; }
.days { list-style: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.days li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.days li:first-child { border-top: 0; }
.days-d { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--coral-d); }
.days-n { font-weight: 600; line-height: 1.3; }
.days-w { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.days-w.soon { color: var(--coral-d); font-weight: 700; }
.dm-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; }
.dm-row img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center top; }
.dm-row span { flex: 1; font-weight: 700; }
.rules { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rules li { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; color: var(--ink2); }
.rules li::before { content: "\2713  "; color: var(--coral); font-weight: 800; }

/* mini player */
.mini { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabs) + var(--safe-b) + 8px); z-index: 55; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 12px; border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px rgba(0,0,0,0.3); overflow: hidden; }
:root[data-theme="dark"] .mini { background: #2A1712; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini { background: #2A1712; color: #fff; } }
.mini-play { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; flex: none; }
.mini-play svg { width: 18px; height: 18px; }
.mini-text { flex: 1; min-width: 0; display: grid; min-height: 44px; align-content: center; }
.mini-kicker { font-size: 0.7rem; opacity: 0.7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.mini-title { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-speed { min-width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 0.85rem; text-align: center; background: rgba(255,255,255,0.12); }
.mini-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.15); }
.mini-bar span { display: block; height: 100%; background: var(--coral); transition: width .3s; }

/* sheet */
.backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity .2s; }
.backdrop.on { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-width: 640px; margin: 0 auto; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 24px 24px 0 0; padding: 8px 18px calc(18px + var(--safe-b)); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet.on { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 100px; background: var(--line); margin: 4px auto 10px; }
.sheet-body { position: relative; }
.sheet h2 { font-size: 1.4rem; margin: 4px 50px 6px 0; }
.sheet-t-sm { font-size: 1.05rem !important; }
.sheet-x { position: absolute; top: -6px; right: -8px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); }
.form { display: grid; gap: 6px; margin-top: 12px; }
.form label, .form legend { font-weight: 700; font-size: 0.9rem; margin-top: 8px; }
.form fieldset { border: 0; }
.choice { display: grid; gap: 8px; margin-top: 6px; }
.choice label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; margin: 0; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; }
.choice input { width: 20px; height: 20px; accent-color: var(--coral); }
.choice label:has(input:checked) { border-color: var(--coral); background: var(--coral-l); }
.done { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: #E8F5E9; color: #1E5E22; font-weight: 700; margin-top: 12px; }
:root[data-theme="dark"] .done { background: #16301A; color: #A8E0AE; }
.done svg { width: 26px; height: 26px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-top: 8px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pod-sheet { display: grid; gap: 6px; }
.pod-cover { width: 180px; height: 180px; border-radius: 22px; object-fit: cover; margin: 6px auto 10px; box-shadow: var(--shade); }
.pod-sheet .note { margin-top: 8px; }
.set { border: 0; margin: 14px 0; }
.set legend { font-weight: 700; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 2px; border-top: 1px solid var(--line); font-weight: 700; }
.switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; border-radius: 100px; background: var(--line); position: relative; order: 2; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: transform .2s; }
.switch input:checked { background: var(--coral); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + var(--safe-b) + 18px); z-index: 100; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 100px; font-weight: 700; font-size: 0.9rem; transition: all .2s; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
body.has-mini .toast { bottom: calc(var(--tabs) + var(--safe-b) + 90px); }
.boot { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-weight: 600; }
.boot img { border-radius: 18px; animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.94); opacity: .7; } }

/* wider screens: keep the phone layout centred */
@media (min-width: 700px) {
  .feat { flex-basis: 70%; }
  .deck-card { flex-basis: 70%; }
}
.vid-wide a { display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; }
/* fixes */
[tabindex="-1"]:focus { outline: none; }
.hscroll, .carousel, .deck, .rings ul, .avatars { scroll-padding-inline: 16px; }
.card-pod { flex-basis: 180px; }
.detail-body .chip-type, .ev-b .chip-type { background: var(--bg2); color: var(--ink); }
.feat .chip-type { background: rgba(255,255,255,0.92); color: #111; }

.tb-brand b, .tabs a[aria-current="page"] { color: var(--coral-d); }
:root:not([data-theme="dark"]) .tb-brand b { color: var(--coral); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tb-brand b { color: var(--coral-d); } }
:root[data-theme="dark"] .tb-brand b { color: var(--coral-d); }
.tabs a[aria-current="page"]::before { background: var(--coral-d); }
:root[data-theme="dark"] .hub-programme .hub-type, :root[data-theme="dark"] .tag-law { --law: #7CC48A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hub-programme .hub-type { color: #7CC48A; } }
:root[data-theme="dark"] .hub-programme .hub-type { color: #7CC48A; }
