/* LaneLog. Layout: a phone-first app shell (top bar, single column of cards, bottom tab bar with a raised Add button);
   on wide screens the tab bar moves under the header and the column widens. Pool-water palette, scoreboard numerals. */
:root {
  --bg: #edf4f7; --bg2: #e2edf2; --surface: #ffffff; --sunk: #e6eef2; --line: #d5e2e8;
  --fg: #0e2430; --muted: #5a7280; --faint: #8ba1ac;
  --v: #0b6e99; --v-soft: #dcedf5; --m: #cc5426; --m-soft: #fbe6dc;
  --gold: #b58a0c; --silver: #7c8a93; --bronze: #a3612d; --good: #19804a; --good-soft: #dff3e7; --warn: #b0611a;
  --shadow: 0 1px 2px rgb(14 36 48 / .06), 0 4px 14px rgb(14 36 48 / .06);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --acc: var(--v); --acc-soft: var(--v-soft); --on-acc: #ffffff;
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #08161d; --bg2: #0b1d26; --surface: #10242e; --sunk: #0c1d25; --line: #1f3a46;
  --fg: #e4eff3; --muted: #95afba; --faint: #64808c;
  --v: #52b9e0; --v-soft: #12384a; --m: #f28c60; --m-soft: #3b2219;
  --gold: #e3b73c; --silver: #aab7be; --bronze: #d68c55; --good: #5fcf8f; --good-soft: #14352a; --warn: #e9a660;
  --shadow: 0 1px 2px rgb(0 0 0 / .3); --on-acc: #04131a; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #08161d; --bg2: #0b1d26; --surface: #10242e; --sunk: #0c1d25; --line: #1f3a46;
  --fg: #e4eff3; --muted: #95afba; --faint: #64808c;
  --v: #52b9e0; --v-soft: #12384a; --m: #f28c60; --m-soft: #3b2219;
  --gold: #e3b73c; --silver: #aab7be; --bronze: #d68c55; --good: #5fcf8f; --good-soft: #14352a; --warn: #e9a660;
  --shadow: 0 1px 2px rgb(0 0 0 / .3); --on-acc: #04131a; color-scheme: dark }
body.m { --acc: var(--m); --acc-soft: var(--m-soft); }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.t { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .01em; }
.small { font-size: 13px; } .muted { color: var(--muted); } .m0 { margin: 0; }
.lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.lead { color: var(--muted); margin: 0 0 4px; max-width: 60ch; }
.pad { padding: 14px 16px; margin: 0; } .pad-x { padding: 14px 16px 0; }
.link { background: none; border: 0; color: var(--acc); cursor: pointer; padding: 4px 0; font-size: 14px; font-weight: 600; text-align: left; }
.link.danger { color: var(--warn); }

/* ---- top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar { max-width: 760px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.brand img { border-radius: 8px; }
.brand small { display: block; font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 2px; }
.me-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--acc); color: var(--on-acc); font: 700 17px var(--body); cursor: pointer; flex: none; }
.me-menu { position: absolute; right: 16px; top: 58px; width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); z-index: 20; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--sunk); padding: 4px; border-radius: 10px; }
.seg3 button { border: 0; background: transparent; padding: 8px 4px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg3 button[aria-pressed="true"] { background: var(--surface); color: var(--acc); box-shadow: var(--shadow); }
.switch { max-width: 760px; margin: 0 auto; padding: 0 16px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.switch button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 15px var(--body); padding: 9px; border-radius: 12px; cursor: pointer; }
.switch button[data-s="vaseharan"][aria-pressed="true"] { background: var(--v); border-color: var(--v); color: var(--on-acc); }
.switch button[data-s="mahadhi"][aria-pressed="true"] { background: var(--m); border-color: var(--m); color: var(--on-acc); }

/* ---- page */
.wrap { max-width: 760px; margin: 0 auto; padding-inline: 16px; padding-block: 8px calc(110px + env(safe-area-inset-bottom, 0px)); }
.view { display: grid; gap: 12px; }
.hello { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9vw, 44px); line-height: 1; text-transform: uppercase; margin: 14px 0 0; color: var(--acc); letter-spacing: .01em; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 -2px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card:not(.list) { padding: 16px; }
.card-title { font-family: var(--display); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); margin-top: 20px; }

/* list rows: the one row pattern used everywhere, so edges and baselines line up */
.list { overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; color: inherit; font: inherit; min-width: 0; }
.list > .row:last-child, .list > .meetblock:last-child .row:last-child { border-bottom: 0; }
.row .grow, .grow { flex: 1; min-width: 0; display: grid; gap: 1px; }
.row .grow b { overflow-wrap: anywhere; }
.right { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; }
.row.tap { cursor: pointer; }
.row.tap:active { background: var(--sunk); }
.chev { color: var(--faint); font-size: 24px; line-height: 1; flex: none; }
.big { font-size: 24px; font-weight: 700; }
.huge { font-size: 56px; font-weight: 700; line-height: 1; color: var(--acc); }
.ev-name { font-size: 16px; }
.up { color: var(--good); font-size: 13px; font-weight: 700; white-space: nowrap; }
.down { color: var(--muted); font-size: 13px; white-space: nowrap; }
.rank { width: 26px; text-align: center; font-weight: 700; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.row.me, .qrow.me { background: var(--acc-soft); }
.row.me b { color: var(--acc); }
.hrow.is-pb { box-shadow: inset 4px 0 0 var(--gold); }
.row.sub { padding-left: 28px; }
.meetblock .row:first-child { background: var(--bg2); }
.todo input { width: 22px; height: 22px; accent-color: var(--acc); flex: none; }
.todo.done .tt { text-decoration: line-through; color: var(--muted); }

.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--acc); color: var(--on-acc); white-space: nowrap; }
.pill.medal-zone { background: var(--gold); } .pill.final-zone { background: var(--good); } .pill.out { background: var(--sunk); color: var(--muted); }
.medal { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1.5px solid currentColor; text-transform: uppercase; letter-spacing: .05em; }
.medal.gold { color: var(--gold); } .medal.silver { color: var(--silver); } .medal.bronze { color: var(--bronze); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--sunk); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pbtag { background: var(--gold); color: var(--on-acc); }

/* ---- home */
.meetcard { display: grid; gap: 4px; background: linear-gradient(135deg, var(--acc-soft), var(--surface)); }
.meetcard .pill { justify-self: start; }
.bigadd { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--acc); color: var(--on-acc); text-decoration: none; font: 700 19px var(--body); padding: 18px; border-radius: var(--r); box-shadow: 0 6px 18px color-mix(in srgb, var(--acc) 35%, transparent); }
.bigadd svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.bigadd:active { transform: scale(.98); }

/* ---- family (parents) */
.kids { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.kid { --k: var(--v); --ks: var(--v-soft); text-align: left; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; color: var(--fg); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kid::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--k); }
.kid.m { --k: var(--m); --ks: var(--m-soft); }
.kid-top { display: flex; align-items: center; justify-content: space-between; }
.kid-name { font-family: var(--display); font-weight: 700; font-size: 32px; text-transform: uppercase; color: var(--k); line-height: 1; }
.kid .pill { background: var(--k); }
.pillrow { font-size: 14px; color: var(--muted); }
.kid-pbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kp { display: grid; background: var(--ks); padding: 8px 10px; border-radius: 10px; }
.kp-e { font-size: 12px; color: var(--muted); font-weight: 600; }
.kp b { font-size: 24px; }
.feed-item { --k: var(--v); align-items: flex-start; }
.feed-item.m { --k: var(--m); }
.dotc { width: 10px; height: 10px; border-radius: 50%; background: var(--k); margin-top: 7px; flex: none; }

/* ---- times */
.bigselect { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 17px; font-weight: 600; color: var(--fg); min-height: 50px; }
.f { display: grid; gap: 6px; min-width: 0; }
.bestcard { display: grid; gap: 6px; }
.goal { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.goal-t { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
svg.bar { width: 100%; height: 8px; display: block; }
.bar .track { fill: var(--sunk); } .bar .fill { fill: var(--acc); }
.chart { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible; }
.chart .grid { stroke: var(--line); }
.chart .axis { fill: var(--faint); font: 11px var(--body); }
.chart .tline { stroke: var(--good); stroke-dasharray: 5 4; stroke-width: 1.5; }
.chart .tlab { fill: var(--good); font: 700 11px var(--body); }
.chart .path { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linejoin: round; }
.chart .dot { fill: var(--acc); stroke: var(--surface); stroke-width: 2.5; }
.chart .dot.pb { fill: var(--gold); } .chart .dot.alt { fill: var(--surface); stroke: var(--acc); stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; background: var(--acc); }
.legend i.alt { background: var(--surface); border: 2px solid var(--acc); } .legend i.pb { background: var(--gold); }
.legend i.dash { width: 14px; height: 0; border-radius: 0; border-top: 2px dashed var(--good); background: none; vertical-align: 3px; }
.more { padding: 0 !important; }
.more summary { padding: 16px; font-weight: 700; color: var(--acc); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.more summary::after { content: "+"; font-size: 22px; line-height: 1; }
.more[open] summary::after { content: "−"; }
.more summary::-webkit-details-marker { display: none; }
.more > p, .more > div > h3 { padding: 0 16px; }
.more .cmp .row:first-child { border-top: 1px solid var(--line); }
#rivalsWrap { margin-top: 12px; }
#rivalsWrap .card-title { padding-top: 12px; }

/* ---- add */
.steps { display: grid; gap: 12px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.step-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.num { width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; font-size: 15px; flex: none; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick button { display: grid; gap: 0; justify-items: center; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); cursor: pointer; min-height: 64px; }
.pick button b { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.pick button span { font-size: 12px; color: var(--muted); }
.pick button[aria-checked="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.pick button[aria-checked="true"] span { color: var(--on-acc); opacity: .85; }
.bigtime { width: 100%; font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: .03em; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--fg); font-variant-numeric: tabular-nums; text-align: center; }
.bigtime:focus { border-color: var(--acc); outline: none; }
.hint { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two button { padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 700; font-size: 16px; cursor: pointer; color: var(--fg); }
.two button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
#raceBits { display: grid; gap: 10px; }
.datebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.datebox input { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--fg); }
.btn { background: var(--acc); color: var(--on-acc); border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 700; cursor: pointer; min-height: 46px; }
.btn.ghost { background: transparent; color: var(--acc); border: 1.5px solid var(--acc); }
.btn.wide { width: 100%; font-size: 18px; min-height: 56px; border-radius: var(--r); box-shadow: 0 6px 18px color-mix(in srgb, var(--acc) 30%, transparent); }
.msg { font-size: 14px; min-height: 1.2em; text-align: center; }
.msg.err { color: var(--warn); font-weight: 600; } .msg.ok { color: var(--good); }

.bigtoggle { margin-top: 2px; }
.bigtoggle button { font-size: 15px; }
.filepick { display: grid; justify-items: center; gap: 6px; padding: 22px 12px; border: 2px dashed var(--acc); border-radius: 14px; color: var(--acc); font-weight: 700; cursor: pointer; background: var(--acc-soft); text-align: center; overflow-wrap: anywhere; }
.filepick svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.found { box-shadow: none; }
.bigtime::placeholder { color: var(--faint); opacity: .55; }
.bigtoggle button { font-size: 16px; padding: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three button { padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 700; cursor: pointer; color: var(--fg); }
.three button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.two-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.effort { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.effort button { display: grid; justify-items: center; gap: 2px; padding: 10px 2px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 22px; cursor: pointer; color: var(--fg); }
.effort button span { font-size: 11px; font-weight: 700; color: var(--muted); }
.effort button[aria-pressed="true"] { border-color: var(--acc); background: var(--acc-soft); }
.weekcard { display: grid; gap: 8px; }
.wstats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.wstats span { display: grid; }
.wstats b { font-size: 32px; color: var(--acc); line-height: 1.1; }
.wstats small { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.wstats span + span { border-left: 1px solid var(--line); }

/* ---- ask */
.chat { display: grid; gap: 10px; }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 12px 14px; max-width: 92%; box-shadow: var(--shadow); min-width: 0; overflow-wrap: anywhere; }
.bubble.mine { justify-self: end; background: var(--acc); color: var(--on-acc); border-color: var(--acc); border-radius: 18px 18px 6px 18px; font-weight: 600; }
.suggest, .qchoices { display: flex; flex-wrap: wrap; gap: 8px; }
.qchoices { margin-top: 10px; }
.chipq { border: 1.5px solid var(--acc); color: var(--acc); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; display: grid; text-align: left; }
.chipq small { font-weight: 400; color: var(--muted); font-size: 11px; }
.askbar { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: 0 6px 20px rgb(0 0 0 / .12); }
.askbar input { flex: 1; border: 0; background: none; font-size: 16px; min-width: 0; color: var(--fg); }
.askbar input:focus { outline: none; }
.sendbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--acc); cursor: pointer; display: grid; place-items: center; flex: none; }
.sendbtn svg { width: 22px; height: 22px; fill: none; stroke: var(--on-acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qlist { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.qrow { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); min-width: 0; }
.qcard { display: grid; gap: 6px; }
.qcard + .qcard { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.qname { font-size: 18px; color: var(--acc); }
.qbests { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.qbests > span { display: grid; background: var(--acc-soft); border-radius: 10px; padding: 6px 8px; }
.qbests b { font-size: 20px; }
.qcard summary { cursor: pointer; color: var(--acc); font-weight: 600; font-size: 14px; }

/* ---- bottom tab bar (phones) / top tabs (wide screens) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around; align-items: flex-end; padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tabs a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 4px 2px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; max-width: 110px; }
.tabs .ic { display: grid; place-items: center; width: 52px; height: 32px; border-radius: 999px; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--acc); }
.tabs a[aria-current="page"] .ic { background: var(--acc-soft); }
.tabs a.fab .ic { width: 58px; height: 58px; margin-top: -26px; background: var(--acc); color: var(--on-acc); box-shadow: 0 6px 18px color-mix(in srgb, var(--acc) 40%, transparent); border: 4px solid var(--bg); }
.tabs a.fab svg { width: 28px; height: 28px; stroke-width: 2.6; }
.tabs a.fab[aria-current="page"] .ic { background: var(--acc); }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); background: var(--fg); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 30; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
dialog { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--fg); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: 85vh; }
dialog::backdrop { background: rgb(0 0 0 / .5); }
.dlg-head { position: sticky; top: 0; background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }

/* ---- login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(120% 80% at 50% 0%, var(--v-soft), var(--bg)); }
.login form { width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgb(0 0 0 / .12); }
.login img { border-radius: 14px; }
.login h1 { font-family: var(--display); text-transform: uppercase; font-size: 40px; margin: 0; color: var(--v); line-height: 1; letter-spacing: .02em; }
.login .f label { font-size: 13px; font-weight: 700; color: var(--muted); }
.login .f input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 17px; color: var(--fg); }

@media (min-width: 900px) {
  .wrap { padding-bottom: 48px; }
  .tabs { position: sticky; top: 0; bottom: auto; justify-content: center; gap: 6px; border-top: 0; border-bottom: 1px solid var(--line); padding: 6px 16px; background: var(--bg); }
  .tabs a { display: flex; align-items: center; gap: 6px; font-size: 15px; max-width: none; flex: none; padding: 6px 10px; }
  .tabs .ic { width: auto; height: auto; background: none !important; }
  .tabs a.fab .ic { width: 30px; height: 30px; margin: 0; border: 0; box-shadow: none; background: var(--acc) !important; }
  .tabs a.fab svg { width: 20px; height: 20px; }
  .tabs a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--acc); }
  .askbar { bottom: 16px; }
  .toast { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
