/* ReelCircle — palette: #111111 ink, #2F2F2F charcoal, #F6F6F6 ground, #FFCB74 gold */
:root {
  --ink: #111111; --char: #2F2F2F; --ground: #F6F6F6; --card: #FFFFFF; --gold: #FFCB74; --gold-ink: #8C5A00;
  --muted: #6B6B6B; --line: #E3E3E3; --soft: #EFEFEF; --danger: #B3261E;
  --r: 14px; --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; --display: 'Space Grotesk', var(--font);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 15px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body.noscroll { overflow: hidden; }
a { color: var(--gold-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
/* 16px stops iPhone Safari from zooming the page when a field is tapped */
input, select, textarea { font-size: 16px !important; }
button { cursor: pointer; }
img { max-width: 100%; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.app { width: 100%; max-width: 600px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; padding-bottom: calc(100px + var(--safe-b)); padding-left: var(--safe-l); padding-right: var(--safe-r); overflow-x: clip; }
body.no-tabs .app { padding-bottom: 0; }
body.no-tabs .tabs { display: none; }
@media (min-width: 700px) { .app { box-shadow: 0 0 0 1px #EBEBEB; background: var(--ground); } }

/* layout helpers */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.gap { gap: 12px; } .gap6 { gap: 6px; } .row.gap6 { gap: 6px; }
.between { justify-content: space-between; } .grow { flex: 1; } .min0 { min-width: 0; }
.end { align-items: flex-end; } .top-align { align-items: flex-start; } .bottom-align { align-items: flex-end; }
.center-items { align-items: center; }
.push { margin-left: auto; } .mt { margin-top: 10px; } .m0 { margin: 0; } .center { text-align: center; }
.pad { padding: 16px; } .pad-x { padding: 0 16px; margin-bottom: 18px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.wrap-any { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.small { font-size: 13px; } .xs { font-size: 11.5px; } .muted { color: var(--muted); } .strong { font-weight: 600; }
.wrap { flex-wrap: wrap; }
.plain { text-decoration: none; color: inherit; }
.plink { color: inherit; text-decoration: none; }
.plink:hover strong, .plink:hover { text-decoration: underline; }
.head-btn { border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }

/* type */
.logo { font: 700 24px var(--display); letter-spacing: -0.5px; }
.logo span { background: var(--gold); padding: 0 6px; margin-left: 2px; border-radius: 8px; }
.logo.big { font-size: 38px; }
.h1 { font: 700 24px/1.15 var(--display); letter-spacing: -0.5px; margin: 0; text-wrap: balance; }
.h2 { font: 700 20px var(--display); margin: 0; }
.h3 { font: 700 16px var(--display); margin: 0; }
.label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 8px; }
.lead { font-size: 16px; color: var(--char); line-height: 1.45; }
.tagline { font-style: italic; color: var(--char); }

/* headers */
.top { padding: calc(14px + var(--safe-t)) 16px 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 5; background: var(--ground); }
.top.col { align-items: stretch; }
.thead { position: sticky; top: 0; z-index: 5; background: var(--card); border-bottom: 1px solid #E8E8E8; padding: calc(8px + var(--safe-t)) 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 8px 0 8px; }
.sec-head a { font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); text-align: center; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.ghost { background: var(--card); }
.btn.dashed { border: 1.5px dashed var(--gold-ink); color: var(--gold-ink); background: transparent; }
.btn.danger { color: var(--danger); border-color: #F0C9C6; background: var(--card); }
.btn.danger-solid { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 18px; }
.btn.big { min-height: 54px; font: 700 16px var(--display); border-radius: 16px; }
.btn:disabled { opacity: 0.45; }
.btn svg { width: 15px; height: 15px; }
.paste-btn { min-height: 52px; padding: 0 12px; flex-direction: column; gap: 2px; font-size: 11px; border-radius: 14px; }
.paste-btn svg { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; }
.icon-btn.outline { border: 1px solid var(--line); background: var(--card); width: 40px; height: 40px; }
.icon-btn.gold { background: var(--gold); }
.icon-btn.sm { width: 36px; height: 36px; }
.icon-btn.sm svg { width: 16px; height: 16px; }
.link-btn { border: 0; background: none; color: var(--char); font-size: 14px; min-height: 44px; }
.gold-text { color: var(--gold-ink); font-weight: 600; font-size: 13px; white-space: nowrap; }

/* cards & rows */
.card { background: var(--card); border-radius: var(--r); padding: 12px; border: 1px solid #EBEBEB; }
.link-card { text-decoration: none; color: inherit; }
.dashed-card { border: 1.5px dashed #D2D2D2; background: transparent; }
.trow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #E8E8E8; text-decoration: none; color: inherit; min-width: 0; }
.empty { text-align: center; padding: 28px 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.empty strong { font: 700 17px var(--display); }
.dot { width: 10px; height: 10px; border-radius: 5px; background: var(--gold-ink); display: inline-block; flex-shrink: 0; }
.tag { height: 18px; padding: 0 6px; border-radius: 5px; background: var(--soft); font: 600 10.5px var(--font); color: var(--char); display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; }
.tag.gold { background: var(--gold); color: var(--ink); }
.poster { border-radius: 8px; flex-shrink: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.poster img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.poster span { color: rgba(255,255,255,0.85); font: 700 18px var(--display); }
.poster.lift { border: 3px solid var(--ground); margin-top: -64px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.avatar { border-radius: 50%; background: #E3E3E3; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; width: 28px; height: 28px; font-size: 12px; color: var(--ink); }
.cbadge { border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font: 700 18px var(--display); color: var(--ink); flex-shrink: 0; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.pcard { width: 92px; flex-shrink: 0; display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: inherit; }
.rel { position: relative; }
.rank { position: absolute; left: 6px; top: 6px; width: 22px; height: 22px; border-radius: 11px; background: var(--gold); font: 700 11px var(--font); display: flex; align-items: center; justify-content: center; }
.pscore { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 8px; background: rgba(17,17,17,0.85); color: #fff; font: 700 11px var(--font); }
.rankn { width: 22px; text-align: center; font: 700 20px var(--display); color: var(--gold-ink); flex-shrink: 0; }
.stack { display: flex; flex-shrink: 0; }
.stack .poster { border: 2px solid var(--card); }
.stack .poster + .poster { margin-left: -12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.list-tile { min-height: 58px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; justify-content: center; gap: 2px; text-decoration: none; color: inherit; text-align: left; font: inherit; min-width: 0; }
.list-tile strong { font: 700 14px var(--display); }
.list-tile.gold { background: var(--gold); border-color: var(--gold); }
.list-tile.dashed { border: 1.5px dashed var(--gold-ink); color: var(--gold-ink); background: transparent; font-weight: 600; align-items: center; }
.vis-line svg { width: 12px; height: 12px; }
.member-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }

/* score */
.score { display: inline-flex; align-items: baseline; gap: 2px; padding: 2px 8px; border-radius: 10px; background: var(--ink); color: #fff; font: 700 13px var(--display); white-space: nowrap; align-self: flex-start; flex-shrink: 0; }
.score small { font-size: 10px; opacity: 0.75; }
.score em { font: 500 10px var(--font); font-style: normal; opacity: 0.7; margin-left: 5px; }
.score.big { font-size: 26px; padding: 4px 12px; border-radius: 14px; }
.score.big small { font-size: 13px; }
.scorebox { display: flex; flex-direction: column; gap: 8px; }
.scorebox .row { gap: 22px; }
.ctx-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ctx { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--soft); font: 600 10.5px var(--font); color: var(--char); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ctx svg { width: 11px; height: 11px; }
.ctx.hl { background: var(--gold); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stats > div { background: var(--card); border: 1px solid #EBEBEB; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font: 700 22px var(--display); }

/* title page */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.facts:empty { display: none; }
.cast { gap: 12px; }
.castcard { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.castcard img, .castcard .nophoto { width: 84px; height: 104px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.castcard .nophoto { display: flex; align-items: center; justify-content: center; font: 700 22px var(--display); color: var(--muted); }

/* chips & segmented */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--char); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap; text-decoration: none; }
.chip.on, .chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.static { height: 28px; padding: 0 10px; font-size: 12px; background: var(--soft); border-color: transparent; }
.chip svg { width: 14px; height: 14px; }
.chip-r { height: 26px; padding: 0 10px; border-radius: 13px; display: inline-flex; align-items: center; font: 600 12px var(--font); white-space: nowrap; align-self: flex-start; }
.chip-r.sm { height: 22px; padding: 0 8px; font-size: 11px; }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--soft); min-width: 0; }
.seg > * { flex: 1 1 0; min-width: 0; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.seg > .on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.mini-select { height: 36px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); padding: 0 10px; max-width: 48%; }
.badge-dark { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--font); min-width: 0; overflow: hidden; white-space: nowrap; }
.badge-dark svg { width: 13px; height: 13px; color: var(--gold); }
.pill-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; background: var(--soft); padding: 8px 10px; border-radius: 10px; }
.pill-note svg { width: 14px; height: 14px; }

/* inputs */
.search-field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); width: 100%; text-align: left; min-width: 0; }
.search-field.focus { border: 2px solid var(--ink); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-field svg { color: var(--muted); }
.search-field.as-btn { cursor: pointer; font-size: 14px; }
.search-field.as-btn .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; min-width: 0; }
.field input, .field select, .input, textarea, .setting select, .vis select { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 400; width: 100%; min-width: 0; }
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.4; }
.input.round { border-radius: 22px; background: var(--ground); height: 44px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 4px 4px 4px 14px; border-radius: 12px; background: var(--card); border: 1px solid #EBEBEB; }
.setting select { width: auto; max-width: 60%; height: 40px; }
.block { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.copy-box { background: var(--ground); border-radius: 10px; padding: 10px; word-break: break-all; font-size: 12px; }
.quote { margin: 0; padding: 10px 12px; background: var(--ground); border-radius: 12px; font-size: 14px; overflow-wrap: anywhere; }

/* circles */
.poll-pin svg { color: var(--gold-ink); }

/* thread */
.msgs { padding: 12px 16px calc(150px + var(--safe-b)); display: flex; flex-direction: column; gap: 12px; min-height: 50vh; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; min-width: 0; }
.msg.mine { align-self: flex-end; }
.bubble { padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid #EBEBEB; font-size: 14.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { background: var(--gold); border-color: var(--gold); border-radius: 16px 16px 4px 16px; }
.bubble.tap { cursor: pointer; }
.bubble.tap:active { filter: brightness(0.96); }
.spoiler { padding: 12px; border-radius: 16px 16px 16px 4px; border: 1px dashed #D2D2D2; background: var(--card); color: var(--char); display: flex; align-items: center; gap: 8px; font-size: 13px; }
.spoiler svg { width: 16px; height: 16px; }
.earlier { align-self: center; min-height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; }
.divider { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; color: var(--gold-ink); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #D2D2D2; }
.composer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; background: var(--card); border-top: 1px solid #E8E8E8; padding: 10px calc(12px + var(--safe-r)) calc(12px + var(--safe-b)) calc(12px + var(--safe-l)); display: flex; flex-direction: column; gap: 8px; z-index: 6; }
.composer .chip { height: 32px; font-size: 12px; }

/* polls */
.opt { position: relative; display: flex; align-items: center; gap: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; padding-right: 6px; }
.opt.sel { border: 2px solid var(--ink); }
.opt .bar { position: absolute; inset: 0 auto 0 0; background: rgba(255,203,116,0.45); transition: width .3s; }
.opt-main { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 8px 10px; text-align: left; }
.opt-main .xs { color: #4A4A4A; }
.opt .icon-btn { position: relative; }
.radio { width: 20px; height: 20px; border-radius: 10px; border: 2px solid #B8B8B8; flex-shrink: 0; background: var(--card); }
.opt.sel .radio { border: 6px solid var(--ink); }

/* title page */
.hero { height: 170px; background-size: cover; background-position: center; padding: calc(12px + var(--safe-t)) 12px 12px; }
.hero .icon-btn { background: rgba(255,255,255,0.9); }
.title-row { margin-top: -8px; }
.rbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.watch-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid #EBEBEB; text-decoration: none; color: inherit; }
.watch-row .logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.watch-row .logo.txt { background: var(--soft); display: flex; align-items: center; justify-content: center; font: 700 11px var(--display); }

/* sign in / join */
.signin { padding: calc(48px + var(--safe-t)) 20px 48px; display: flex; flex-direction: column; gap: 18px; }
.page { padding-top: calc(16px + var(--safe-t)); }
.join { padding-top: calc(16px + var(--safe-t)); }

/* sheets */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(17,17,17,0.55); opacity: 0; transition: opacity .2s; }
.sheet { position: relative; width: 100%; max-width: 600px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--card); border-radius: 24px 24px 0 0; padding: 8px calc(20px + var(--safe-r)) calc(24px + var(--safe-b)) calc(20px + var(--safe-l)); display: flex; flex-direction: column; gap: 14px; transform: translateY(100%); transition: transform .22s ease-out; }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.grab { align-self: center; width: 44px; height: 5px; border-radius: 3px; background: #C8C8C8; margin: 2px 0 2px; flex-shrink: 0; position: relative; }
.grab::after { content: ''; position: absolute; inset: -14px -40px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; touch-action: none; }
.sheet-head h2 { font: 700 19px var(--display); margin: 0; min-width: 0; }
.sheet .card, .sheet .vis, .sheet .pick-row, .sheet .watch-row { background: var(--ground); }
.sheet .field input, .sheet .field select, .sheet .input, .sheet textarea { background: var(--ground); }
.sheet .search-field { background: var(--ground); }
.sheet-text { font-size: 16px; margin: 4px 0; }
.pick-results { display: flex; flex-direction: column; gap: 6px; min-height: 40px; }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 52px; border-radius: 12px; border: 0; background: var(--card); text-align: left; width: 100%; color: inherit; text-decoration: none; min-width: 0; }
.pick-row.danger { color: var(--danger); }
.react-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.react-btn { min-height: 78px; border-radius: 14px; border: 1px solid var(--line); background: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 11px/1.15 var(--font); padding: 4px; text-align: center; min-width: 0; }
.react-btn svg { width: 24px; height: 24px; }
.react-btn[aria-pressed=true] { background: var(--rbg); border: 2px solid var(--ink); }
.vis { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.vis:has(input:checked) { border: 2px solid var(--ink); }
.vis input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.vis.disabled { opacity: 0.55; }
.vis select { height: 40px; margin-top: 4px; }

/* bottom tab bar (floating, dark) */
.tabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); width: calc(100% - 32px - var(--safe-l) - var(--safe-r)); max-width: 568px; height: 68px; border-radius: 34px; background: var(--ink); display: flex; align-items: center; justify-content: space-around; z-index: 10; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.tabs a { color: #B8B8B8; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; min-width: 52px; min-height: 48px; justify-content: center; }
.tabs a.on { color: var(--gold); }
.tabs svg { width: 22px; height: 22px; }
.tab-plus { width: 50px; height: 50px; border-radius: 25px; border: 0; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tab-plus svg { width: 24px; height: 24px; stroke-width: 2.5; }
@media (max-width: 340px) { .tabs a span { display: none; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; opacity: 0; transition: all .25s; z-index: 100; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
