:root {
  --canvas: #F2F4F1; --surface: #FFFFFF; --ink: #17201B; --ink-2: #4A564F; --ink-3: #8A958E;
  --line: #E4E8E3; --fill: #EBEEEA;
  --pine: #0B2E1E; --pine-2: #12402A; --pool: #22B5A4; --pool-soft: #DDF4F0;
  --amber: #C98516; --amber-soft: #FBF0DA; --red: #E5484D; --red-soft: #FDECEC; --green: #23A26D; --green-soft: #E2F5EC;
  --r-lg: 22px; --r-md: 16px; --r-sm: 11px;
  --lift: 0 1px 1px rgba(23,32,27,.04), 0 8px 24px -12px rgba(23,32,27,.14);
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.47 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -0.006em; }
a { color: var(--pool); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--pool) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.022em; }
h1 { font-size: clamp(30px, 4.4vw, 40px); font-weight: 700; line-height: 1.08; }
h2 { font-size: 21px; font-weight: 650; margin: 36px 0 12px; }
h3 { font-size: 17px; font-weight: 600; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.muted { color: var(--ink-3); } .ink2 { color: var(--ink-2); } .small { font-size: 13px; }

/* ---------- nav */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; display: flex; justify-content: center; padding: 14px 16px 0; pointer-events: none; }
.topbar-inner { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(23,32,27,.06), 0 10px 30px -14px rgba(23,32,27,.25); }
.mark { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; font-weight: 700; letter-spacing: -0.02em; }
.mark svg { width: 26px; height: 26px; }
.tabs { display: flex; gap: 2px; }
.tabs a { position: relative; color: var(--ink-2); font-weight: 550; font-size: 14px; padding: 8px 14px; border-radius: 999px; text-decoration: none; transition: color .2s var(--ease), background .2s var(--ease); display: flex; align-items: center; gap: 6px; }
.tabs a svg { width: 18px; height: 18px; display: none; }
.tabs a:hover { color: var(--ink); background: rgba(23,32,27,.05); }
.tabs a.on { color: #fff; background: var(--pine); }
.me { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--fill); font-weight: 650; cursor: pointer; margin-left: 4px; }

main { max-width: 1120px; margin: 0 auto; padding: 34px 20px 140px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.head .date { color: var(--ink-3); font-weight: 550; margin-bottom: 4px; }

@media (max-width: 820px) {
  .topbar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .topbar-inner { width: 100%; justify-content: space-between; border-radius: 26px; padding: 6px 8px; }
  .mark, .me { display: none; }
  .tabs { width: 100%; justify-content: space-between; }
  .tabs a { flex-direction: column; gap: 2px; font-size: 10.5px; padding: 6px 4px; flex: 1; justify-content: center; border-radius: 16px; }
  .tabs a svg { display: block; }
  main { padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
}

/* ---------- surfaces */
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 20px 22px; }
.grid { display: grid; gap: 16px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.auto { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.wide { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.runway-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.runway-row .tank .days { font-size: 44px; }
.runway-row .tank .row1 { flex-direction: column-reverse; gap: 8px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- the climb */
.climb { position: relative; overflow: hidden; border-radius: 28px; color: #EAF3EE; padding: 26px 28px 0;
  background: radial-gradient(120% 90% at 85% -10%, #1B5A42 0%, transparent 55%), linear-gradient(170deg, #0E3825 0%, #0B2E1E 55%, #082417 100%);
  box-shadow: 0 30px 60px -30px rgba(11,46,30,.55); }
.climb-top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.climb .mrr { font-size: clamp(44px, 7vw, 68px); font-weight: 300; line-height: 1; }
.climb .mrr small { font-size: .38em; font-weight: 450; color: rgba(234,243,238,.6); margin-left: 6px; letter-spacing: -0.01em; }
.climb .to-go { margin-top: 10px; color: rgba(234,243,238,.78); font-size: 15px; }
.climb .to-go b { color: #fff; font-weight: 600; }
.climb .wk { text-align: right; }
.climb .wk .num { font-size: 34px; font-weight: 400; }
.climb .wk .lbl { color: rgba(234,243,238,.6); font-size: 13px; }
.wkbar { width: 220px; height: 6px; background: rgba(255,255,255,.12); border-radius: 9px; margin-top: 10px; overflow: hidden; margin-left: auto; }
.wkbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22B5A4, #7FE3D3); border-radius: 9px; transition: width 1.2s var(--ease) .5s; }
.ridge-wrap { position: relative; margin: 10px -28px 0; height: clamp(180px, 23vw, 250px); }
.ridge { display: block; width: 100%; height: 100%; }
.ridge path { vector-effect: non-scaling-stroke; }
.ridge .walked { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) .15s forwards; }
.flag { position: absolute; width: 0; height: 0; }
.flag::before { content: ""; position: absolute; left: -0.75px; bottom: 0; width: 1.5px; height: 24px; background: rgba(234,243,238,.38); }
.flag::after { content: ""; position: absolute; left: 0; bottom: 14px; border-left: 13px solid rgba(234,243,238,.38); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.flag span { position: absolute; bottom: 30px; left: 0; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: rgba(234,243,238,.66); white-space: nowrap; font-variant-numeric: tabular-nums; }
.flag.reached::before, .flag.reached::after { background: #7FE3D3; border-left-color: #7FE3D3; }
.flag.reached::after { background: none; }
.flag.reached span { color: #fff; }
.flag.summit span { font-size: 13px; color: #fff; }
.marker { position: absolute; width: 0; height: 0; opacity: 0; animation: pop .5s var(--spring) 1.5s forwards; }
.marker i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; }
.marker .dot { background: #22B5A4; box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(0,0,0,.35); width: 12px; height: 12px; left: -6px; top: -6px; }
.marker .halo { background: #7FE3D3; animation: halo 2.4s ease-out 2s infinite; }
@media (max-width: 560px) { .flag span { font-size: 10.5px; } .flag::before { height: 18px; } .flag::after { bottom: 9px; border-left-width: 10px; } .flag span { bottom: 22px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes halo { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.set-mrr { position: relative; z-index: 2; margin-top: 12px; display: flex; gap: 8px; }
.set-mrr input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 12px; padding: 9px 12px; width: 160px; }
.set-mrr input::placeholder { color: rgba(255,255,255,.5); }

/* ---------- team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
@media (max-width: 720px) { .team { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.ring { width: 64px; height: 64px; position: relative; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring .track { stroke: var(--fill); }
.ring .prog { stroke: var(--pool); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.ring .ini { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 650; font-size: 18px; }
.person .nm { font-weight: 650; }
.person .meta { color: var(--ink-3); font-size: 13px; }
.spark { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 8px; }
.spark i { width: 9px; border-radius: 3px; background: var(--fill); min-height: 4px; transition: height .8s var(--ease); }
.spark i.on { background: var(--pool); }
.spark i.today { background: var(--pine); }
.spark i.today:not(.on) { background: #C5CDC7; }
.streak { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--amber); }
.streak svg { width: 13px; height: 13px; }

/* ---------- lists (iOS-inset style) */
.list { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--lift); overflow: hidden; }
.task { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; padding: 15px 18px; position: relative; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.task + .task::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; height: 1px; background: var(--line); }
.task.leaving { opacity: 0; transform: translateX(16px); }
.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #C5CDC7; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; transition: all .25s var(--ease); margin-top: -1px; }
.check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: all .3s var(--spring); }
.check:hover { border-color: var(--pool); }
.check.on { background: var(--pool); border-color: var(--pool); }
.check.on svg { opacity: 1; transform: scale(1); }
.task.late .check { border-color: var(--red); }
.task .t { font-weight: 550; }
.task .d { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; white-space: pre-wrap; display: none; }
.task.open .d { display: block; }
.task .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.task.done .t { color: var(--ink-3); text-decoration: line-through; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--fill); color: var(--ink-2); white-space: nowrap; }
.tag.red { background: var(--red-soft); color: var(--red); } .tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.pool { background: var(--pool-soft); color: #127A6E; } .tag.green { background: var(--green-soft); color: var(--green); }
.more { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 2px 6px; border-radius: 8px; font-size: 18px; line-height: 1; }
.more:hover { background: var(--fill); color: var(--ink); }
.empty { padding: 26px 22px; color: var(--ink-3); }
.empty b { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 600; }

/* ---------- composer */
.composer { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 6px; }
.composer textarea { border: 0; resize: none; width: 100%; min-height: 54px; padding: 12px 14px; outline: none; background: none; }
.composer .bar { display: flex; gap: 8px; align-items: center; padding: 6px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.composer select, .composer input { border: 0; background: var(--fill); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; outline: none; }
.composer input { flex: 1; min-width: 120px; }

/* ---------- buttons, fields */
.btn { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; background: var(--pine); color: #fff; transition: transform .15s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { background: var(--pine-2); }
.btn:active { transform: scale(.97); }
.btn.pool { background: var(--pool); } .btn.pool:hover { background: #1DA294; }
.btn.soft { background: var(--fill); color: var(--ink); } .btn.soft:hover { background: #E0E5DF; }
.btn.plain { background: none; color: var(--ink-2); padding: 8px 10px; } .btn.plain:hover { color: var(--ink); background: var(--fill); }
.btn.sm { padding: 7px 13px; font-size: 13.5px; }
.btn:disabled { opacity: .45; pointer-events: none; }
.field { margin-top: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .field input[type=text], .field input[type=email], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #FBFCFB; border-radius: 12px; padding: 11px 13px; outline: none; transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--pool); box-shadow: 0 0 0 4px var(--pool-soft); }
.field textarea { min-height: 84px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.seg { display: inline-flex; background: var(--fill); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23,32,27,.12); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-weight: 550; cursor: pointer; transition: all .2s var(--ease); }
.pills button.on { background: var(--pine); color: #fff; border-color: var(--pine); }

/* steppers */
.step { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .lb { font-weight: 500; } .step .lb small { display: block; color: var(--ink-3); font-size: 12.5px; }
.stepper { display: flex; align-items: center; background: var(--fill); border-radius: 999px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink-2); }
.stepper button:hover { background: var(--surface); color: var(--ink); }
.stepper b { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.stepper.has b { color: #127A6E; }

/* ---------- runway */
.tank { padding: 20px 22px; }
.tank .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tank .days { font-size: 52px; font-weight: 300; line-height: 1; margin-top: 10px; }
.tank .days small { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 6px; letter-spacing: -0.01em; }
.level { height: 10px; border-radius: 9px; background: var(--fill); margin: 14px 0 8px; overflow: hidden; }
.level i { display: block; height: 100%; border-radius: 9px; width: 0; transition: width 1.1s var(--ease) .2s; }
.tank.red .days { color: var(--red); } .tank.red .level i { background: var(--red); }
.tank.amber .days { color: var(--amber); } .tank.amber .level i { background: #E8A33D; }
.tank.green .level i { background: linear-gradient(90deg, var(--pool), #5CD6C4); }
.types { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 14px; }
.types th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12px; padding: 6px 4px; }
.types td { padding: 8px 4px; border-top: 1px solid var(--line); }
.types .n { text-align: center; width: 48px; font-variant-numeric: tabular-nums; }
.types tr.short td:first-child { font-weight: 600; }

/* ---------- board */
.daynav { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.round { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--lift); cursor: pointer; font-size: 17px; color: var(--ink-2); }
.round:disabled { opacity: .35; }
.feed .it { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; padding: 13px 18px; position: relative; }
.feed .it + .it::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--line); }
.kind { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--fill); color: var(--ink-2); }
.kind svg { width: 17px; height: 17px; }
.kind.shoot { background: #E9E6FB; color: #5B4FD1; } .kind.content { background: var(--pool-soft); color: #127A6E; }
.kind.scheduled { background: #E4EEFB; color: #2F6FD0; } .kind.done { background: var(--green-soft); color: var(--green); }
.kind.build { background: var(--amber-soft); color: var(--amber); } .kind.backlog { background: var(--fill); }
.pts { font-weight: 650; color: #127A6E; font-size: 13px; font-variant-numeric: tabular-nums; }
.alert { background: var(--red-soft); color: #B4262B; border-radius: var(--r-md); padding: 12px 16px; font-weight: 550; margin-bottom: 14px; }

/* ---------- calendar */
.ev { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 18px; position: relative; }
.ev + .ev::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--line); }
.ev .tm { font-weight: 600; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- sheet, toast, login, float */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(15,24,19,.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s var(--ease); }
.sheet { background: var(--surface); border-radius: 26px; padding: 24px; width: min(520px, 100%); max-height: 88vh; overflow: auto; box-shadow: 0 40px 80px -30px rgba(15,24,19,.45); animation: rise .35s var(--spring); }
.sheet h3 { font-size: 20px; }
.sheet .actions { display: flex; gap: 8px; margin-top: 20px; align-items: center; }
@media (max-width: 560px) { .sheet-bg { place-items: end center; padding: 0; } .sheet { border-radius: 26px 26px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
#toast { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 70; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.4); animation: drop .4s var(--spring); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -14px); } }
.float { position: fixed; z-index: 80; pointer-events: none; font-weight: 700; color: #127A6E; font-size: 15px; animation: floatup 1s var(--ease) forwards; }
@keyframes floatup { to { opacity: 0; transform: translateY(-46px); } }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(90% 70% at 80% 0%, #1B5A42 0%, transparent 60%), linear-gradient(170deg, #0E3825, #082417); }
.login .sheet { animation: rise .5s var(--spring); }
.login h1 { font-size: 30px; }
.login .mark svg { width: 40px; height: 40px; }

/* ---------- alive: light, depth, touch */
.climb::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 10%), rgba(127,227,211,.13), transparent 60%); transition: background .2s; }
.ridge .back { transition: transform .9s var(--ease); }
.scrub { position: absolute; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 3; }
.ridge-wrap:hover .scrub, .ridge-wrap.touching .scrub { opacity: 1; }
.scrub::before { content: ""; position: absolute; left: -.5px; top: 0; width: 1px; height: 400px; background: linear-gradient(rgba(234,243,238,.5), transparent 70%); }
.scrub::after { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(127,227,211,.35); }
.scrub span { position: absolute; bottom: 12px; left: 0; transform: translateX(-50%); background: rgba(255,255,255,.95); color: var(--pine); font-weight: 650; font-size: 12.5px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ridge-wrap { cursor: crosshair; touch-action: pan-y; }

.panel, .list, .composer { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.person:hover, .tank:hover { transform: translateY(-3px); box-shadow: 0 1px 1px rgba(23,32,27,.04), 0 18px 36px -16px rgba(23,32,27,.22); }
.composer:focus-within { box-shadow: 0 0 0 4px var(--pool-soft), var(--lift); }
.task:hover { background: #FAFBFA; }
.check:hover:not(.on) svg { opacity: .35; transform: scale(.85); stroke: var(--pool); }
.check:hover:not(.on) svg path { stroke: var(--pool); }
.ring { cursor: default; }
.ring .tip, .spark i::after { pointer-events: none; }
.ring:hover .prog { stroke-width: 8.5; }
.ring .prog { transition: stroke-dashoffset 1.2s var(--ease) .3s, stroke-width .25s var(--ease); }
.spark i { position: relative; cursor: default; transition: height .8s var(--ease), transform .2s var(--ease), background .2s; transform-origin: bottom; }
.spark i:hover { background: var(--pine); }
.spark i::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); opacity: 0; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 7px; white-space: nowrap; transition: all .18s var(--ease); }
.spark i:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.tag { transition: transform .2s var(--spring); }
.tank:hover .tag { transform: scale(1.04); }
.bump { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.08); } }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #27A45C; box-shadow: 0 0 0 0 rgba(39,164,92,.5); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(39,164,92,.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(39,164,92,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .ridge .walked { stroke-dashoffset: 0; } .marker { opacity: 1; }
}
