/* =========================================================================
   Salto — one stylesheet. Mobile first. Same language as gimnastika-cakovec.hr:
   navy stage, the mark's blue, lime as the ONE action colour (navy text).
   ========================================================================= */
@font-face { font-family: 'Unbounded'; font-weight: 100 900; font-display: swap; src: url('fonts/unbounded-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Unbounded'; font-weight: 100 900; font-display: swap; src: url('fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }

:root {
  --ink: #07182B; --ink-2: #0D2540; --ink-3: #041120; --blue: #0A7CC2; --blue-d: #065F97; --sky: #4FB4F0;
  --lime: #D4FF3F; --lime-hi: #E4FF7A; --pink: #FF4F9A; --gold: #E9C46A;
  --paper: #F3F6FA; --card: #FFFFFF; --mist: #E8EFF7; --line: #DCE5EF; --text: #0C1D30; --muted: #5A6B7E;
  --ok: #17A673; --ok-bg: #E2F8EE; --bad: #D63A3A; --bad-bg: #FDE8E8; --warn: #B7791F; --warn-bg: #FFF4DB;
  --on-ink: #EEF4FB; --on-ink-2: #A8BBD0; --line-d: rgba(255,255,255,.1);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif; --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 16px; --r-lg: 24px; --ease: cubic-bezier(.2,.8,.1,1); --shadow: 0 18px 40px -26px rgba(7,24,43,.45);
  --side: 264px; --top: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.h1 { font: 700 clamp(1.6rem, 4vw, 2.3rem)/1.05 var(--display); letter-spacing: -.04em; }
.h2 { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.035em; }
.h3 { font: 600 1.05rem/1.2 var(--display); letter-spacing: -.025em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-d); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(212,255,63,.3); }
.num { font-family: var(--display); letter-spacing: -.05em; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.15rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-weight: 700; font-size: .95rem; line-height: 1.1; white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; background: var(--mist); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(186,230,40,.9); }
.btn--lime:hover { background: var(--lime-hi); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--line { background: transparent; border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; }
.btn--danger { background: var(--bad-bg); color: var(--bad); }
.btn--sm { min-height: 36px; padding: .45rem .85rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--icon { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--blue-d); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ic { width: 16px; height: 16px; }

/* ---------- forms ---------- */
.field { display: grid; gap: .35rem; }
.field > label, .label { font-weight: 700; font-size: .85rem; }
.field small { color: var(--muted); font-size: .8rem; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,124,194,.12); }
.field.has-error input, .field.has-error select { border-color: var(--bad); }
.err { color: var(--bad); font-weight: 600; font-size: .85rem; }
.grid2 { display: grid; gap: 1rem; }
.grid3 { display: grid; gap: 1rem; }
@media (min-width: 40em) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; line-height: 1.4; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin-top: 1px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); gap: 2px; flex-wrap: wrap; }
.seg a, .seg button, .seg label { padding: .5rem .9rem; border-radius: 999px; font-weight: 700; font-size: .86rem; border: 0; background: none; cursor: pointer; white-space: nowrap; }
.seg .on, .seg input:checked + span { background: var(--ink); color: var(--lime); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label span { display: block; padding: .5rem .9rem; border-radius: 999px; margin: -.5rem -.9rem; }
.search { position: relative; }
.search .ic { position: absolute; left: .9rem; top: 50%; margin-top: -10px; color: var(--muted); }
.search input { padding-left: 2.6rem !important; }
.hp { position: absolute; left: -9999px; }

/* ---------- surfaces ---------- */
.card { background: var(--card); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: 0 1px 0 var(--line); }
.card--ink { background: var(--ink); color: var(--on-ink); }
.card--ink .muted { color: var(--on-ink-2); }
.card--lime { background: var(--lime); color: var(--ink); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.stack { display: grid; gap: 1rem; }
.row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font: 700 .75rem/1 var(--sans); background: var(--mist); color: var(--ink); white-space: nowrap; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--bad { background: var(--bad-bg); color: var(--bad); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--lime { background: var(--lime); }
.pill--ink { background: var(--ink); color: var(--lime); }
.pill--live { background: var(--pink); color: #fff; }
.pill--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue)); flex: none; }
.avatar { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 700 .85rem/1 var(--display); letter-spacing: -.04em; background: var(--c, var(--mist)); color: var(--ink); flex: none; }
.avatar--lg { width: 64px; height: 64px; border-radius: 20px; font-size: 1.2rem; }
.empty { text-align: center; padding: 2.6rem 1rem; color: var(--muted); display: grid; gap: .6rem; justify-items: center; }
.empty .ic { width: 42px; height: 42px; color: var(--line); }
.flash { padding: .9rem 1.1rem; border-radius: 14px; font-weight: 600; display: flex; gap: .6rem; align-items: center; }
.flash--ok { background: var(--ok-bg); color: #0E6E4C; }
.flash--bad { background: var(--bad-bg); color: #8C1D18; }
.flash--info { background: var(--mist); }
.divider { height: 1px; background: var(--line); margin: .4rem 0; }

/* ---------- list rows ---------- */
.list { display: grid; }
.li { display: flex; align-items: center; gap: .9rem; padding: .85rem .3rem; border-bottom: 1px solid var(--line); min-height: 64px; }
.li:last-child { border-bottom: 0; }
a.li:hover { background: var(--paper); border-radius: 14px; }
.li__main { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.li__title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li__sub { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li__end { display: flex; align-items: center; gap: .5rem; flex: none; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -1.2rem; padding: 0 1.2rem; }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
.t th { text-align: left; font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .7rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t .r { text-align: right; }
.t .score { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =========================================================================
   App shell
   ========================================================================= */
.shell { min-height: 100vh; }
.side { display: none; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: .8rem; padding: 0 1rem;
  background: rgba(243,246,250,.86); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.topbar__logo img { height: 34px; width: auto; }
.topbar__title { font: 700 1.05rem/1 var(--display); letter-spacing: -.03em; }
.main { padding: 1.1rem 1rem calc(96px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; display: grid; gap: 1.2rem; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.page-head > div { display: grid; gap: .35rem; }
.page-head > div.row { display: flex; }   /* toolbars in a page head (month / week / day pager) stay on one line */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom));
  background: rgba(7,24,43,.96); backdrop-filter: blur(12px); }
.tabbar a, .tabbar button { display: grid; justify-items: center; gap: .2rem; padding: .45rem 0; border: 0; background: none; color: var(--on-ink-2); font-size: .7rem; font-weight: 700; border-radius: 14px; cursor: pointer; }
.tabbar .ic { width: 22px; height: 22px; }
.tabbar .on { color: var(--lime); }
.tabbar .on .ic { filter: drop-shadow(0 0 8px rgba(212,255,63,.5)); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-radius: 28px 28px 0 0; padding: 1rem 1rem calc(1.4rem + env(safe-area-inset-bottom)); box-shadow: 0 -30px 60px -20px rgba(0,0,0,.4);
  animation: up .35s var(--ease); }
.sheet__grip { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 1rem; }
.sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.sheet__grid a { display: grid; justify-items: center; gap: .4rem; padding: 1rem .4rem; border-radius: 18px; background: var(--paper); font-weight: 700; font-size: .85rem; text-align: center; }
.scrim { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 55; background: rgba(7,24,43,.5); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }

@media (min-width: 64em) {
  .shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--ink); color: var(--on-ink); padding: 1.2rem .9rem; gap: 1.2rem; }
  .side__logo img { width: 150px; margin: .3rem .5rem .6rem; }
  .side__label { font: 700 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-2); padding: 0 .8rem; margin-bottom: .4rem; opacity: .7; }
  .side nav { display: grid; gap: 2px; }
  .side nav a { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 14px; font-weight: 600; color: var(--on-ink-2); transition: background .2s, color .2s; }
  .side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .side nav a.on { background: var(--lime); color: var(--ink); }
  .side nav a .badge { margin-left: auto; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800; padding: .15rem .45rem; border-radius: 999px; }
  .side__user { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding: .8rem; border-radius: 18px; background: rgba(255,255,255,.06); }
  .side__user .avatar { --c: var(--lime); }
  .side__user b { display: block; font-size: .9rem; }
  .side__user small { color: var(--on-ink-2); }
  .tabbar, .topbar__logo { display: none; }
  .topbar { padding: 0 2rem; }
  .main { padding: 1.8rem 2rem 3rem; }
}

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 64em) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 1.1rem; display: grid; gap: .25rem; box-shadow: 0 1px 0 var(--line); transition: transform .25s var(--ease); }
a.kpi:hover { transform: translateY(-3px); }
.kpi b { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1 var(--display); letter-spacing: -.06em; }
.kpi span { color: var(--muted); font-weight: 600; font-size: .86rem; }
.kpi .ic { position: absolute; right: 1rem; top: 1rem; width: 2.3rem; height: 2.3rem; padding: .5rem; border-radius: 12px; background: var(--mist); color: var(--blue-d); }
.kpi--ink { background: var(--ink); color: #fff; } .kpi--ink span { color: var(--on-ink-2); } .kpi--ink .ic { background: rgba(255,255,255,.08); color: var(--lime); }
.kpi--lime { background: var(--lime); } .kpi--lime span { color: rgba(7,24,43,.7); } .kpi--lime .ic { background: rgba(7,24,43,.08); color: var(--ink); }
.bar { height: 8px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--c, var(--blue)); border-radius: 8px; transition: width .6s var(--ease); }
.kpi--ink .bar { background: rgba(255,255,255,.1); }

.cols { display: grid; gap: 1.2rem; }
@media (min-width: 64em) { .cols { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .cols--even { grid-template-columns: 1fr 1fr; } }

/* ---------- sessions (today) ---------- */
.sess { display: flex; align-items: center; gap: .9rem; padding: .9rem; border-radius: 18px; background: var(--paper); border-left: 6px solid var(--c); }
.sess time { font: 600 .95rem/1.1 var(--display); letter-spacing: -.04em; min-width: 5.6rem; }
.sess__main { flex: 1; min-width: 0; }
.sess__main b { display: block; }
.sess__main small { color: var(--muted); }

/* ---------- attendance (big tap targets) ---------- */
.att-head { position: sticky; top: var(--top); z-index: 5; background: var(--paper); padding: .6rem 0; display: flex; align-items: center; gap: .8rem; }
.att-count { font: 700 2rem/1 var(--display); letter-spacing: -.06em; }
.att { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.att button { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 1rem .5rem .9rem; border-radius: 22px; border: 2px solid var(--line); background: #fff; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, border-color .2s; text-align: center; -webkit-tap-highlight-color: transparent; }
.att button:active { transform: scale(.96); }
.att .avatar { width: 56px; height: 56px; border-radius: 18px; font-size: 1rem; --c: var(--mist); }
.att b { font-size: .92rem; line-height: 1.2; }
.att small { color: var(--muted); font-size: .75rem; }
.att button::after { content: ''; position: absolute; right: .6rem; top: .6rem; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.att button[aria-pressed="true"] { background: #F2FFD1; border-color: #A9D62B; }
.att button[aria-pressed="true"] .avatar { --c: var(--lime); }
.att button[aria-pressed="true"]::after { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4FF3F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/70% no-repeat; }
.att button[data-absent="1"] { opacity: .55; }
.savebar { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 6; display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding: .7rem .7rem .7rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
@media (min-width: 64em) { .savebar { bottom: 1rem; } }

/* ---------- fees ---------- */
.fee-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .85rem .3rem; border-bottom: 1px solid var(--line); }
.fee-row:last-child { border-bottom: 0; }
.fee-row__amt { text-align: right; }
.fee-row__amt b { font: 700 1.05rem/1 var(--display); letter-spacing: -.04em; }
.fee-row .acts { grid-column: 1 / -1; display: flex; gap: .4rem; flex-wrap: wrap; padding-left: 3.4rem; }
@media (min-width: 48em) { .fee-row { grid-template-columns: auto minmax(0, 1fr) auto auto; } .fee-row .acts { grid-column: auto; padding-left: 0; } }
.fee-row.is-paid .avatar { --c: var(--ok-bg); color: var(--ok); }

/* ---------- member detail ---------- */
.profile { display: flex; gap: 1rem; align-items: center; }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { font-weight: 600; text-align: right; }
.heat { display: flex; flex-wrap: wrap; gap: 4px; }
.heat i { width: 16px; height: 16px; border-radius: 5px; background: var(--mist); }
.heat i.p { background: var(--ok); } .heat i.a { background: var(--bad); opacity: .55; }
.rep { display: grid; gap: .8rem; }
.rep__item { display: grid; gap: .8rem; padding: 1rem; border-radius: 18px; background: var(--paper); position: relative; }
.rep__del { position: absolute; right: .6rem; top: .6rem; }

/* ---------- group cards ---------- */
.gcards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gcard { position: relative; overflow: hidden; background: #fff; border-radius: 24px; padding: 1.2rem; display: grid; gap: .8rem; box-shadow: 0 1px 0 var(--line); }
.gcard::before { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--c); opacity: .5; }
.gcard > * { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-radius: 999px; background: var(--mist); font-size: .8rem; font-weight: 600; }
.chip .ic { width: 14px; height: 14px; }

/* ---------- calendar ---------- */
.week { display: grid; gap: .6rem; }
@media (min-width: 64em) { .week { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.day { background: #fff; border-radius: 20px; padding: .8rem; min-height: 120px; display: grid; gap: .45rem; align-content: start; box-shadow: 0 1px 0 var(--line); }
.day.is-today { box-shadow: 0 0 0 2px var(--ink); }
.day h3 { font: 700 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.day h3 b { color: var(--ink); font-family: var(--display); letter-spacing: -.04em; font-size: 1.1rem; }
.ev { padding: .45rem .55rem; border-radius: 10px; background: var(--paper); border-left: 4px solid var(--c, var(--blue)); font-size: .8rem; line-height: 1.25; }
.ev b { display: block; font-size: .82rem; }
.ev--event { background: var(--ink); color: #fff; border-color: var(--lime); }

/* ---------- competitions ---------- */
.comp-card { position: relative; overflow: hidden; display: grid; gap: .7rem; padding: 1.2rem; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
a.comp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.comp-card--live { background: var(--ink); color: #fff; }
.comp-card--live .muted { color: var(--on-ink-2); }
.comp-card h3 { font: 700 1.15rem/1.15 var(--display); letter-spacing: -.035em; }
.progress { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; }
.progress .bar { flex: 1; }
.tabs { display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.tabs a { padding: .6rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; color: var(--muted); }
.tabs a.on { background: var(--ink); color: var(--lime); }
.app-ic { width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--ink); flex: none; }
.app-ic .ic { width: 22px; height: 22px; }
.panel-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pin { font: 700 1.4rem/1 var(--display); letter-spacing: .12em; }

/* =========================================================================
   Public pages (bare layout)
   ========================================================================= */
.pub-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: rgba(7,24,43,.92); backdrop-filter: blur(14px); color: #fff; }
.pub-top img { height: 36px; width: auto; }
.pub-top nav { margin-left: auto; display: flex; gap: .3rem; align-items: center; }
.pub-top nav a { padding: .55rem .8rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--on-ink-2); }
.pub-top nav a:hover { color: #fff; }
.pub-top nav .btn { color: var(--ink); }
@media (max-width: 40em) { .pub-top nav a:not(.btn) { display: none; } }
.pub-main { max-width: 1180px; margin: 0 auto; padding: 1.4rem 1rem 4rem; display: grid; gap: 1.4rem; }
.pub-narrow { max-width: 760px; }
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 3rem 1rem 3.4rem; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: radial-gradient(50% 70% at 85% 20%, rgba(10,124,194,.6), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(255,79,154,.22), transparent 70%); }
.hero__in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; gap: 1.4rem; }
.hero h1 { font: 800 clamp(2.2rem, 7vw, 4.6rem)/.95 var(--display); letter-spacing: -.055em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: var(--on-ink-2); max-width: 36rem; font-size: 1.1rem; }
.hero .eyebrow { color: var(--lime); }
.hero__arc { position: absolute; right: -60px; top: -40px; width: 380px; opacity: .55; }
.hero__arc path { fill: none; stroke: var(--blue); stroke-width: 26; stroke-linecap: round; }
.hero__arc ellipse { fill: var(--lime); }
.doors { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.door { position: relative; overflow: hidden; display: grid; gap: .5rem; align-content: start; padding: 1.4rem; min-height: 190px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.door .app-ic { background: var(--c, var(--lime)); width: 3rem; height: 3rem; border-radius: 16px; }
.door h2 { font: 700 1.25rem/1.1 var(--display); letter-spacing: -.035em; margin-top: .4rem; }
.door p { color: var(--muted); font-size: .95rem; }
.door .ic-go { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--ink); color: var(--lime); transition: transform .3s var(--ease); }
.door:hover .ic-go { transform: translateX(4px); }
.door--ink { background: var(--ink); color: #fff; } .door--ink p { color: var(--on-ink-2); } .door--ink .ic-go { background: var(--lime); color: var(--ink); }

/* stepper (upis) */
.steps { display: flex; gap: .4rem; }
.steps i { flex: 1; height: 6px; border-radius: 6px; background: var(--mist); }
.steps i.on { background: var(--ink); }
.step-card { display: grid; gap: 1rem; }
.gpick { display: grid; gap: .6rem; }
.gpick label { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 18px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.gpick input { position: absolute; opacity: 0; }
.gpick label:has(input:checked) { border-color: var(--ink); background: #F2FFD1; }
.gpick .age { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--c); font: 700 .9rem/1 var(--display); letter-spacing: -.05em; flex: none; }
.gpick b { display: block; }
.gpick small { color: var(--muted); }

/* parent portal */
.kid { position: relative; overflow: hidden; border-radius: 26px; padding: 1.3rem; background: var(--ink); color: #fff; display: grid; gap: 1rem; }
.kid::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--c); opacity: .9; }
.kid > * { position: relative; }
.kid .muted { color: var(--on-ink-2); }
.kid .avatar { --c: var(--lime); }
.kid__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.kid__stats div { background: rgba(255,255,255,.07); border-radius: 16px; padding: .7rem; display: grid; gap: .15rem; }
.kid__stats b { font: 700 1.2rem/1 var(--display); letter-spacing: -.05em; }
.kid__stats small { color: var(--on-ink-2); font-size: .75rem; }

/* =========================================================================
   Live scoreboard / results / judge
   ========================================================================= */
.board-hero { background: var(--ink); color: #fff; padding: 1.4rem 1rem 1.6rem; }
.board-hero__in { max-width: 1180px; margin: 0 auto; display: grid; gap: .8rem; }
.board-hero h1 { font: 800 clamp(1.6rem, 5vw, 2.8rem)/1 var(--display); letter-spacing: -.05em; }
.board-hero .muted { color: var(--on-ink-2); }
.ticker { display: flex; gap: .6rem; overflow-x: auto; padding: .2rem 0 .4rem; scrollbar-width: none; }
.tick { color: #fff; flex: none; display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: 18px; background: rgba(255,255,255,.07); min-width: 200px; }
.tick b { font: 700 1.5rem/1 var(--display); letter-spacing: -.05em; color: var(--lime); }
.tick small { color: var(--on-ink-2); font-size: .78rem; }
.tick.is-new { animation: flashy 1.6s var(--ease); }
@keyframes flashy { 0% { background: var(--lime); color: var(--ink); } 100% { background: rgba(255,255,255,.07); } }
.rank-table td.rk { width: 3rem; }
.rk b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--mist); font: 700 .9rem/1 var(--display); }
tr.m1 .rk b { background: #F5D36B; } tr.m2 .rk b { background: #D9DEE6; } tr.m3 .rk b { background: #E5B489; }
.rank-table .who b { display: block; }
.rank-table .who small { color: var(--muted); }
.rank-table td.aa { font-size: 1.05rem; font-weight: 700; }
.rank-table tr.is-flash td { animation: rowflash 2s var(--ease); }
@keyframes rowflash { 0% { background: #F2FFD1; } 100% { background: transparent; } }

.judge { min-height: 100vh; background: var(--ink); color: #fff; display: grid; grid-template-rows: auto 1fr; }
.judge__top { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-d); }
.judge__role { font: 800 1.1rem/1 var(--display); background: var(--lime); color: var(--ink); padding: .5rem .75rem; border-radius: 12px; }
.judge__body { display: grid; gap: 1rem; padding: 1rem; max-width: 1100px; width: 100%; margin: 0 auto; }
@media (min-width: 60em) { .judge__body { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } }
.queue { display: grid; gap: .4rem; max-height: calc(100vh - 140px); overflow-y: auto; }
.qi { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 2px solid transparent; cursor: pointer; text-align: left; color: inherit; width: 100%; }
.qi.on { border-color: var(--lime); background: rgba(212,255,63,.08); }
.qi__bib { font: 700 .85rem/1 var(--display); width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); flex: none; }
.qi__main { flex: 1; min-width: 0; }
.qi__main b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qi__main small { color: var(--on-ink-2); font-size: .78rem; }
.qi__st { font: 700 .85rem/1 var(--display); color: var(--lime); }
.qi.done .qi__bib { background: var(--ok); }
.pad-card { background: var(--ink-2); border-radius: 26px; padding: 1.2rem; display: grid; gap: 1rem; }
.pad-who b { font: 700 1.5rem/1.1 var(--display); letter-spacing: -.04em; display: block; }
.pad-who small { color: var(--on-ink-2); }
.display { font: 800 clamp(3rem, 14vw, 5rem)/1 var(--display); letter-spacing: -.06em; text-align: center; padding: .6rem; border-radius: 20px; background: var(--ink); min-height: 1.2em; font-variant-numeric: tabular-nums; }
.display small { display: block; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--on-ink-2); text-transform: uppercase; margin-bottom: .4rem; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.keys button { min-height: 64px; border-radius: 18px; border: 0; background: rgba(255,255,255,.08); color: #fff; font: 700 1.5rem/1 var(--display); cursor: pointer; transition: background .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.keys button:active { transform: scale(.95); background: rgba(255,255,255,.18); }
.keys .k-ok { background: var(--lime); color: var(--ink); font-size: 1rem; grid-column: span 3; }
.panel-marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: .4rem; }
.panel-marks div { background: rgba(255,255,255,.05); border-radius: 14px; padding: .6rem; text-align: center; }
.panel-marks small { display: block; color: var(--on-ink-2); font-size: .72rem; font-weight: 700; }
.panel-marks b { font: 700 1.1rem/1.2 var(--display); }
.sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; text-align: center; }
.sum div { background: rgba(255,255,255,.05); border-radius: 14px; padding: .7rem .3rem; }
.sum small { display: block; color: var(--on-ink-2); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.sum b { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.04em; }
.sum .fin { background: var(--lime); color: var(--ink); } .sum .fin small { color: rgba(7,24,43,.6); }
.player { position: relative; border-radius: 18px; overflow: hidden; background: #000; }
.player video { width: 100%; max-height: 50vh; }
.player__bar { display: flex; gap: .4rem; padding: .5rem; background: rgba(255,255,255,.05); flex-wrap: wrap; }
.player__bar button { border: 0; border-radius: 10px; padding: .45rem .7rem; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .8rem; cursor: pointer; }
.player__bar button.on { background: var(--lime); color: var(--ink); }
.judge .btn--line { border-color: rgba(255,255,255,.25); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 99; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); animation: up .3s var(--ease); max-width: calc(100% - 2rem); }
.toast--bad { background: var(--bad); }
.toast--ok { background: var(--lime); color: var(--ink); }

/* TV mode */
.tv { min-height: 100vh; background: var(--ink-3); color: #fff; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.tv__top { display: flex; align-items: center; gap: 1.5rem; padding: 1.4vw 2.4vw; }
.tv__top img { height: 3.4vw; min-height: 36px; }
.tv__top h1 { font: 800 2.4vw/1 var(--display); letter-spacing: -.05em; }
.tv__top .pill { font-size: 1vw; padding: .6vw 1vw; }
.tv__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.6vw; padding: 0 2.4vw 1.6vw; min-height: 0; }
.tv__board { background: rgba(255,255,255,.04); border-radius: 2vw; padding: 1.6vw; overflow: hidden; }
.tv__board h2 { font: 700 1.8vw/1 var(--display); letter-spacing: -.04em; margin-bottom: 1vw; color: var(--lime); }
.tv table { width: 100%; border-collapse: collapse; font-size: 1.25vw; }
.tv td, .tv th { padding: .55vw .6vw; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
.tv th { font-size: .8vw; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-2); }
.tv td.s { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; text-align: right; }
.tv td.aa { color: var(--lime); font-weight: 800; font-size: 1.5vw; }
.tv__side { display: grid; gap: 1.2vw; align-content: start; }
.tv__latest { background: var(--lime); color: var(--ink); border-radius: 2vw; padding: 1.6vw; display: grid; gap: .4vw; }
.tv__latest small { font: 700 .9vw/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tv__latest b { font: 800 2vw/1.05 var(--display); letter-spacing: -.04em; }
.tv__latest .big { font: 800 6vw/1 var(--display); letter-spacing: -.07em; }
.tv__latest .parts { display: flex; gap: 1.4vw; font: 700 1.1vw/1 var(--display); }
.tv__now { background: rgba(255,255,255,.05); border-radius: 2vw; padding: 1.4vw; display: grid; gap: .7vw; font-size: 1.1vw; }
.tv__foot { display: flex; gap: 3vw; align-items: center; padding: 1vw 2.4vw; background: rgba(255,255,255,.04); font: 700 1.1vw/1 var(--display); color: var(--on-ink-2); white-space: nowrap; overflow: hidden; }

/* print (uplatnice, rezultati, PIN-ovi) */
.print-body { background: #fff; }
.slip { width: 190mm; margin: 0 auto 10mm; border: 1px solid #C8D3DF; border-radius: 4mm; padding: 7mm; display: grid; grid-template-columns: 1fr 64mm; gap: 6mm; page-break-inside: avoid; font-size: 10pt; }
.slip h2 { font: 700 12pt var(--display); letter-spacing: -.03em; margin-bottom: 3mm; }
.slip dl { display: grid; grid-template-columns: 34mm 1fr; gap: 1.5mm 3mm; }
.slip dt { color: #5A6B7E; }
.slip dd { font-weight: 600; }
.slip .bc svg { width: 64mm; height: auto; }
.slip .amt { font: 800 18pt var(--display); letter-spacing: -.04em; margin-top: 3mm; }
.print-bar { position: sticky; top: 0; display: flex; gap: .6rem; justify-content: center; padding: .8rem; background: var(--ink); margin-bottom: 1rem; }
@media print { .print-bar, .no-print { display: none !important; } body { background: #fff; } .slip { border-color: #999; } }
.queue { scrollbar-color: rgba(255,255,255,.2) transparent; scrollbar-width: thin; }
@media (max-width: 59.99em) {
  .judge__body [data-pad], .judge__body [data-pad-empty] { order: -1; }
  .queue { max-height: 34vh; }
}

/* =========================================================================
   Landing (naslovna) — lp-*
   ========================================================================= */
.lp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.1rem; }
@media (min-width: 48em) { .lp-wrap { padding: 0 2rem; } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-d); }
.lp-eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(212,255,63,.28); }
.lp-eyebrow--ink { color: var(--ink); } .lp-eyebrow--ink::before { background: var(--ink); box-shadow: none; }
.lp-h2 { font: 800 clamp(1.9rem, 4.4vw, 3.3rem)/1 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.lp-lead { color: var(--muted); font-size: 1.12rem; max-width: 40rem; }
.lp-muted { color: var(--on-ink-2); }
.lp-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 50rem; }
.lp-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.lp-head--row > div { display: grid; gap: .9rem; }
.lp-sec { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.lp-sec--mist { background: var(--mist); }
.lp-btn-xl { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.02rem; }
.lp-btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.lp-btn-glass:hover { background: #fff; color: var(--ink); }
.lp-tag { display: inline-flex; align-self: flex-start; padding: .4rem .7rem; border-radius: 999px; background: var(--c); color: var(--ink); font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* public header floats over the hero on the landing */
.pub-top--float { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; transition: background .3s; }
.pub-top--float.is-solid { background: rgba(7,24,43,.9); backdrop-filter: blur(14px); }
.pub-top img { height: 40px; }

/* ---- hero ---- */
.lp-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-top: 6.5rem; isolation: isolate; }
.lp-hero__bg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -2; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; opacity: .32; filter: saturate(1.1); }
.lp-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,24,43,.97) 0%, rgba(7,24,43,.86) 42%, rgba(7,24,43,.55) 100%),
              radial-gradient(50% 60% at 85% 30%, rgba(10,124,194,.55), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(255,79,154,.28), transparent 70%); }
.lp-hero__arc { position: absolute; right: -4%; top: 4%; width: min(46vw, 560px); z-index: -1; opacity: .7; }
.lp-hero__arc path { fill: none; stroke: var(--blue); stroke-width: 24; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: lp-draw 2.4s .2s cubic-bezier(.2,.8,.1,1) forwards; }
.lp-hero__arc ellipse { fill: var(--lime); opacity: .9; transform-origin: 266px 350px; transform: scale(0); animation: lp-pop .8s 1.6s cubic-bezier(.2,.8,.1,1) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-pop { to { transform: scale(1); } }
.lp-hero__in { display: grid; gap: 3rem; align-items: center; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 64em) { .lp-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(720px, calc(100vh - 160px)); } }
.lp-kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); backdrop-filter: blur(8px); }
.lp-kicker__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(212,255,63,.6); animation: lp-ping 2s infinite; }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(212,255,63,.6); } 100% { box-shadow: 0 0 0 12px rgba(212,255,63,0); } }
.lp-hero__title { margin: 1.3rem 0 1.3rem; font: 800 clamp(2.8rem, 7.6vw, 6rem)/.92 var(--display); letter-spacing: -.06em; }
.lp-hero__title em { font-style: normal; color: var(--lime); }
.lp-hero__title span { display: block; font-size: .42em; letter-spacing: -.04em; line-height: 1.15; margin-top: .6rem; color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.lp-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--on-ink-2); max-width: 34rem; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.lp-proof li { display: grid; gap: .15rem; }
.lp-proof b { font: 800 1.9rem/1 var(--display); letter-spacing: -.05em; }
.lp-proof span { color: var(--on-ink-2); font-size: .88rem; font-weight: 600; }

/* ---- phones (pure CSS mock UI) ---- */
.lp-phones { position: relative; height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (max-width: 40em) { .lp-phones { height: 470px; transform: scale(.86); transform-origin: top center; margin-bottom: -60px; } }
.lp-phone { position: absolute; width: 250px; height: 520px; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2b3d55, #0b1626); box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.lp-phone::before { content: ''; position: absolute; left: 50%; top: 18px; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #050b14; z-index: 2; }
.lp-phone__screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; }
.lp-phone--back { left: 0; top: 30px; transform: rotate(-7deg); animation: lp-float1 7s ease-in-out infinite; }
.lp-phone--front { right: 0; top: 0; transform: rotate(5deg); animation: lp-float2 8s ease-in-out infinite; }
@keyframes lp-float1 { 50% { transform: rotate(-7deg) translateY(-12px); } }
@keyframes lp-float2 { 50% { transform: rotate(5deg) translateY(10px); } }
.lp-ui { background: #F3F6FA; color: var(--ink); padding: 44px 16px 16px; display: grid; gap: 10px; align-content: start; font-size: 12px; }
.lp-ui--dark { background: linear-gradient(180deg, #0D2540, #07182B); color: #fff; }
.lp-ui__bar { position: absolute; display: none; }
.lp-ui__hi { font: 700 16px/1.1 var(--display); letter-spacing: -.04em; }
.lp-ui__kid { background: var(--ink); color: #fff; border-radius: 18px; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; position: relative; overflow: hidden; }
.lp-ui__kid::before { content: ''; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: #C6FF4A; opacity: .9; }
.lp-ui__kid b { display: block; font-size: 13px; position: relative; }
.lp-ui__kid small { color: var(--on-ink-2); font-size: 10px; position: relative; }
.lp-ui__av { width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 700 11px/1 var(--display); position: relative; }
.lp-ui__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; position: relative; }
.lp-ui__stats span { background: rgba(255,255,255,.08); border-radius: 10px; padding: 6px; font-size: 9px; color: var(--on-ink-2); display: grid; }
.lp-ui__stats b { color: #fff; font: 700 12px/1.1 var(--display); }
.lp-ui__fee { background: #fff; border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 0 var(--line); }
.lp-ui__fee small { display: block; color: var(--muted); font-size: 10px; }
.lp-ui__fee b { font: 700 15px/1.2 var(--display); letter-spacing: -.04em; }
.lp-ui__pay { background: var(--lime); border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 11px; }
.lp-ui__code { height: 44px; border-radius: 12px; background: #fff; padding: 7px 10px; display: flex; gap: 2px; box-shadow: 0 1px 0 var(--line); }
.lp-ui__code i { flex: 1; background: repeating-linear-gradient(180deg, var(--ink) 0 3px, transparent 3px 5px); border-radius: 1px; }
.lp-ui__code i:nth-child(3n) { flex: .5; } .lp-ui__code i:nth-child(4n) { background: var(--ink); }
.lp-ui__msg { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 9px 10px; box-shadow: 0 1px 0 var(--line); }
.lp-ui__msg b { display: block; font-size: 11px; } .lp-ui__msg small { color: var(--muted); font-size: 10px; }
.lp-ui__live { justify-self: start; background: var(--pink); color: #fff; border-radius: 999px; padding: 4px 9px; font: 800 9px/1 var(--sans); letter-spacing: .1em; }
.lp-ui__comp { font: 800 20px/1 var(--display); letter-spacing: -.05em; }
.lp-ui__score { background: var(--lime); color: var(--ink); border-radius: 18px; padding: 12px; display: grid; }
.lp-ui__score small { font-weight: 800; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.lp-ui__score b { font: 800 40px/1 var(--display); letter-spacing: -.07em; margin: 4px 0; }
.lp-ui__score span { font-weight: 700; font-size: 11px; }
.lp-ui__rank { display: grid; gap: 5px; }
.lp-ui__rank li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border-radius: 11px; padding: 7px 9px; font-size: 11px; font-weight: 600; }
.lp-ui__rank i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 700 10px/1 var(--display); font-style: normal; background: rgba(255,255,255,.1); }
.lp-ui__rank li:nth-child(1) i { background: #F5D36B; color: var(--ink); } .lp-ui__rank li:nth-child(2) i { background: #D9DEE6; color: var(--ink); } .lp-ui__rank li:nth-child(3) i { background: #E5B489; color: var(--ink); }
.lp-ui__rank b { margin-left: auto; font: 700 11px/1 var(--display); color: var(--lime); }
.lp-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem .75rem .75rem; border-radius: 20px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.lp-float b { display: block; font-size: .9rem; } .lp-float small { color: var(--muted); font-size: .78rem; }
.lp-float__ic { width: 2.4rem; height: 2.4rem; border-radius: 13px; display: grid; place-items: center; background: var(--lime); flex: none; }
.lp-float__ic--pink { background: var(--pink); color: #fff; }
.lp-float--a { left: -14%; bottom: 14%; animation: lp-float1 6s ease-in-out -2s infinite; }
.lp-float--b { right: -8%; top: 46%; animation: lp-float2 7s ease-in-out -1s infinite; }
@media (max-width: 64em) { .lp-float--a { left: 0; } .lp-float--b { right: 0; } }
.lp-marquee { overflow: hidden; background: var(--lime); color: var(--ink); padding: 1rem 0; }
.lp-marquee__t { display: inline-flex; align-items: center; white-space: nowrap; animation: lp-marq 40s linear infinite; }
.lp-marquee span { font: 800 clamp(1rem, 2vw, 1.35rem)/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; padding: 0 1.3rem; }
.lp-marquee i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); }
@keyframes lp-marq { to { transform: translateX(-50%); } }

/* ---- live block ---- */
.lp-live { background: linear-gradient(180deg, #0D2540, #07182B); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.lp-live__in { display: grid; gap: 2.4rem; align-items: end; }
@media (min-width: 64em) { .lp-live__in { grid-template-columns: 1fr 1.1fr auto; } }
.lp-live__head { display: grid; gap: 1rem; justify-items: start; }
.lp-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; align-items: end; }
.lp-podium__p { display: grid; gap: .6rem; text-align: center; }
.lp-podium__who { display: grid; gap: .1rem; }
.lp-podium__who b { font-size: .95rem; line-height: 1.2; }
.lp-podium__who small { color: var(--on-ink-2); font-size: .78rem; }
.lp-podium__who em { font: 800 1.25rem/1.2 var(--display); font-style: normal; color: var(--lime); letter-spacing: -.04em; }
.lp-podium__step { display: grid; place-items: center; border-radius: 18px 18px 6px 6px; font: 800 2.4rem/1 var(--display); color: var(--ink); }
.lp-podium__p--1 .lp-podium__step { height: 140px; background: linear-gradient(180deg, #FCE38A, #F5C451); }
.lp-podium__p--2 .lp-podium__step { height: 104px; background: linear-gradient(180deg, #EEF1F5, #C9D0DA); }
.lp-podium__p--3 .lp-podium__step { height: 80px; background: linear-gradient(180deg, #F2C9A1, #D99A66); }
.lp-live__last { background: var(--lime); color: var(--ink); border-radius: 24px; padding: 1.2rem 1.4rem; display: grid; gap: .2rem; min-width: 230px; }
.lp-live__last small { font: 800 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.lp-live__last b { font: 800 3rem/1 var(--display); letter-spacing: -.07em; }
.lp-live__last span { font-weight: 700; }

/* ---- roles ---- */
.lp-roles { display: grid; gap: 1rem; }
@media (min-width: 60em) { .lp-roles { grid-template-columns: repeat(3, 1fr); } }
.lp-role { position: relative; overflow: hidden; min-height: 440px; border-radius: 32px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); isolation: isolate; }
.lp-role img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.8,.1,1); }
.lp-role::after { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,24,43,.05) 20%, rgba(7,24,43,.92) 75%); }
.lp-role:hover img { transform: scale(1.06); }
.lp-role__body { display: grid; gap: .7rem; padding: 1.6rem; width: 100%; }
.lp-role__body b { font: 800 1.55rem/1.05 var(--display); letter-spacing: -.04em; }
.lp-role__body small { color: rgba(255,255,255,.78); font-size: .97rem; padding-right: 3rem; }
.lp-role__go { position: absolute; right: 1.4rem; bottom: 1.5rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); transition: transform .3s; }
.lp-role:hover .lp-role__go { transform: translateX(4px) rotate(-8deg); }

/* ---- bento ---- */
.lp-bento { display: grid; gap: 1rem; }
@media (min-width: 48em) { .lp-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .lp-bento { grid-template-columns: repeat(3, 1fr); } .lp-tile--wide { grid-column: span 2; } }
.lp-tile { position: relative; overflow: hidden; border-radius: 28px; padding: 1.7rem; background: #fff; display: grid; gap: .7rem; align-content: start; box-shadow: 0 1px 0 var(--line); min-height: 260px; transition: transform .35s cubic-bezier(.2,.8,.1,1), box-shadow .35s; }
.lp-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(7,24,43,.5); }
.lp-tile h3 { font: 700 1.3rem/1.1 var(--display); letter-spacing: -.035em; }
.lp-tile p { color: var(--muted); }
.lp-tile__ic { width: 3rem; height: 3rem; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--ink); margin-bottom: .3rem; }
.lp-tile__ic .ic { width: 24px; height: 24px; }
.lp-tile--ink { background: var(--ink); color: #fff; } .lp-tile--ink p { color: var(--on-ink-2); } .lp-tile--ink .lp-tile__ic { background: var(--lime); }
.lp-tile--lime { background: var(--lime); } .lp-tile--lime p { color: rgba(7,24,43,.72); } .lp-tile--lime .lp-tile__ic { background: var(--ink); color: var(--lime); }
.lp-tile--wide { align-items: center; }
@media (min-width: 48em) { .lp-tile--wide { grid-template-columns: 1.2fr 1fr; gap: 2rem; } }
.lp-tile--photo { color: #fff; background: var(--ink); align-content: end; isolation: isolate; min-height: 300px; }
.lp-tile--photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lp-tile--photo::after { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, rgba(7,24,43,.92)); }
.lp-tile--photo p { color: rgba(255,255,255,.8); } .lp-tile--photo .lp-tile__ic { background: #fff; }
.lp-tile--score { background: linear-gradient(135deg, #0D2540, #07182B); color: #fff; } .lp-tile--score p { color: var(--on-ink-2); } .lp-tile--score .lp-tile__ic { background: var(--lime); }
.lp-slip { background: #fff; color: var(--ink); border-radius: 20px; padding: 1.1rem; display: grid; gap: .6rem; transform: rotate(2deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.lp-slip__row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.lp-slip__row small { color: var(--muted); } .lp-slip__row b { font: 800 1.4rem/1 var(--display); letter-spacing: -.05em; }
.lp-slip__code { height: 74px; display: flex; gap: 2px; }
.lp-slip__code i { flex: var(--w); background: repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 8px); border-radius: 1px; }
.lp-slip__code i:nth-child(5n) { background: var(--ink); }
.lp-att { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .4rem; }
.lp-att span { aspect-ratio: 1.3; border-radius: 14px; display: grid; place-items: center; font: 700 .85rem/1 var(--display); background: var(--mist); color: var(--muted); border: 2px solid var(--line); }
.lp-att span.on { background: #F2FFD1; border-color: #A9D62B; color: var(--ink); }
.lp-steps3 { display: flex; gap: .4rem; margin-top: auto; } .lp-steps3 i { flex: 1; height: 8px; border-radius: 8px; background: rgba(7,24,43,.15); } .lp-steps3 i.on { background: var(--ink); }
.lp-read { position: relative; height: 38px; border-radius: 12px; background: var(--mist); overflow: hidden; margin-top: auto; }
.lp-read span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ok); border-radius: 12px; }
.lp-read b { position: relative; display: block; padding: .55rem .8rem; color: #fff; font-size: .88rem; }
.lp-play { display: flex; align-items: center; gap: .4rem; margin-top: auto; }
.lp-play span { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.lp-play i { font-style: normal; font-weight: 700; font-size: .8rem; padding: .4rem .6rem; border-radius: 10px; background: rgba(255,255,255,.08); }
.lp-play i.on { background: var(--lime); color: var(--ink); }
.lp-mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lp-mini-board div { background: rgba(255,255,255,.07); border-radius: 18px; padding: 1rem .8rem; display: grid; gap: .3rem; }
.lp-mini-board small { color: var(--on-ink-2); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-mini-board b { font: 800 1.45rem/1 var(--display); letter-spacing: -.05em; }
.lp-mini-board .on { background: var(--lime); color: var(--ink); } .lp-mini-board .on small { color: rgba(7,24,43,.6); }

/* ---- how to enrol ---- */
.lp-how { display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 60em) { .lp-how { grid-template-columns: .95fr 1.05fr; gap: 5rem; } }
.lp-how__img { position: relative; }
.lp-how__img img { width: 100%; border-radius: 36px; aspect-ratio: 4 / 4.2; object-fit: cover; box-shadow: 0 50px 90px -50px rgba(7,24,43,.7); }
.lp-how__badge { position: absolute; right: -10px; bottom: 28px; background: var(--lime); color: var(--ink); border-radius: 22px; padding: 1rem 1.2rem; font-weight: 700; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); transform: rotate(-4deg); }
.lp-how__badge b { font: 800 2rem/1 var(--display); letter-spacing: -.05em; margin-right: .2rem; }
.lp-how > div:last-child { display: grid; gap: 1.2rem; justify-items: start; }
.lp-how__list { display: grid; gap: .6rem; counter-reset: s; width: 100%; margin: .6rem 0 .8rem; }
.lp-how__list li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.1rem; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.lp-how__list li::before { content: counter(s); grid-row: span 2; width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 800 1.3rem/1 var(--display); }
.lp-how__list b { font: 700 1.1rem/1.2 var(--display); letter-spacing: -.03em; align-self: end; }
.lp-how__list span { color: var(--muted); }

/* ---- competitions ---- */
.lp-comps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.lp-comp { position: relative; overflow: hidden; min-height: 260px; border-radius: 28px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); isolation: isolate; }
.lp-comp img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; transition: transform .8s cubic-bezier(.2,.8,.1,1); }
.lp-comp::after { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,24,43,.1), rgba(7,24,43,.92)); }
.lp-comp:hover img { transform: scale(1.06); }
.lp-comp__body { display: grid; gap: .5rem; padding: 1.4rem; }
.lp-comp__body b { font: 800 1.4rem/1.05 var(--display); letter-spacing: -.04em; }
.lp-comp__body small { color: rgba(255,255,255,.75); }
.lp-comp .pill { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(6px); }
.lp-comp .pill--live { background: var(--pink); }
.lp-comp.is-live { box-shadow: 0 0 0 3px var(--pink); }

/* ---- CTA ---- */
.lp-cta { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.lp-cta__box { position: relative; overflow: hidden; border-radius: 44px; background: var(--lime); color: var(--ink); padding: clamp(2.2rem, 6vw, 4.6rem); display: grid; gap: 2rem; align-items: end; isolation: isolate; }
@media (min-width: 60em) { .lp-cta__box { grid-template-columns: 1.4fr 1fr; } }
.lp-cta__box > div:first-of-type { display: grid; gap: 1rem; max-width: 36rem; }
.lp-cta__box p { font-size: 1.12rem; }
.lp-cta__title { font: 800 clamp(2.4rem, 6vw, 4.8rem)/.94 var(--display); letter-spacing: -.06em; }
.lp-cta__arc { position: absolute; right: -2%; top: -20%; width: 440px; z-index: -1; }
.lp-cta__arc path { fill: none; stroke: var(--ink); stroke-width: 22; stroke-linecap: round; } .lp-cta__arc ellipse { fill: var(--pink); }
.lp-cta__act { display: grid; gap: 1rem; justify-items: start; }
.lp-cta__link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.1rem; }

/* ---- public footer ---- */
.pub-foot { background: var(--ink-3); color: var(--on-ink-2); padding: 2.6rem 1rem; }
.pub-foot__in { max-width: 1240px; margin: 0 auto; display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.pub-foot img { height: 52px; width: auto; }
.pub-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; }
.pub-foot nav a { color: #fff; font-weight: 600; }
.pub-foot nav a:hover, .pub-foot p a:hover { color: var(--lime); }
.pub-foot p { font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .lp-hero__arc path { stroke-dashoffset: 0; animation: none; } .lp-hero__arc ellipse { transform: none; animation: none; } .lp-phone, .lp-float, .lp-marquee__t, .lp-kicker__dot { animation: none !important; } }
.lp-tag { justify-self: start; }
@media (max-width: 48em) { .lp-hero__arc { display: none; } .lp-float--b { top: 52%; } }

/* =========================================================================
   Public header (ph-*): floating glass pill, live chip, CTA, full-screen menu
   ========================================================================= */
.pub-top { display: none; }
.ph { position: sticky; top: 0; z-index: 50; padding: .7rem .8rem 0; background: var(--ink); }
.ph--float { position: fixed; left: 0; right: 0; background: transparent; }
.ph__bar { max-width: 1240px; margin: 0 auto; height: 80px; display: flex; align-items: center; gap: .6rem; padding: 0 .5rem 0 1.1rem; border-radius: 999px;
  background: rgba(13, 37, 64, .55); border: 1px solid rgba(255,255,255,.1); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); color: #fff; transition: background .35s, height .35s cubic-bezier(.2,.8,.1,1), box-shadow .35s; }
.ph.is-solid .ph__bar, .ph:not(.ph--float) .ph__bar { background: rgba(7, 24, 43, .88); }
.ph.is-solid .ph__bar { height: 68px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.ph__logo { flex: none; display: block; }
.ph__logo img { height: 56px; width: auto; transition: transform .3s, height .3s; }
.ph.is-solid .ph__logo img { height: 48px; }
.ph__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.ph__live { display: none; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem .6rem; border-radius: 999px; background: rgba(255,79,154,.14); border: 1px solid rgba(255,79,154,.4); color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; max-width: 240px; transition: background .2s; }
.ph__live i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); flex: none; box-shadow: 0 0 0 0 rgba(255,79,154,.7); animation: ph-ping 1.6s infinite; }
.ph__live span { color: var(--pink); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.ph__live b { overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--on-ink); }
.ph__live:hover { background: rgba(255,79,154,.26); }
@keyframes ph-ping { 0% { box-shadow: 0 0 0 0 rgba(255,79,154,.7); } 100% { box-shadow: 0 0 0 10px rgba(255,79,154,0); } }
.ph__nav { display: none; margin-left: auto; gap: .15rem; padding: .25rem; border-radius: 999px; background: rgba(255,255,255,.05); }
.ph__nav a { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--on-ink-2); transition: color .2s, background .2s; }
.ph__nav a .ic { width: 17px; height: 17px; opacity: .8; }
.ph__nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.ph__nav a.on { color: var(--ink); background: #fff; }
.ph__nav a.on .ic { opacity: 1; }
.ph__end { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.ph__login, .ph__icon { display: none; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--on-ink-2); }
.ph__icon { padding: .6rem; }
.ph__login .ic { width: 17px; height: 17px; }
.ph__login:hover, .ph__icon:hover { color: #fff; background: rgba(255,255,255,.07); }
.ph__cta { display: inline-flex; align-items: center; gap: .6rem; height: 48px; padding: 0 .35rem 0 1.15rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(212,255,63,.8); transition: transform .25s cubic-bezier(.2,.8,.1,1), box-shadow .25s; }
.ph__cta i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); transition: transform .3s cubic-bezier(.2,.8,.1,1); }
.ph__cta i .ic { width: 18px; height: 18px; }
.ph__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(212,255,63,.95); }
.ph__cta:hover i { transform: rotate(-45deg); }
.ph__burger { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: pointer; position: relative; flex: none; }
.ph__burger span, .ph__burger span::before, .ph__burger span::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: #fff; border-radius: 2px; transition: transform .3s cubic-bezier(.2,.8,.1,1), background .2s; }
.ph__burger span { top: 50%; margin-top: -1px; }
.ph__burger span::before, .ph__burger span::after { content: ''; left: 0; margin-left: 0; }
.ph__burger span::before { top: -6px; } .ph__burger span::after { top: 6px; }
.ph__burger[aria-expanded="true"] span { background: transparent; }
.ph__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.ph__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.ph-menu { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 45; background: radial-gradient(60% 50% at 90% 0%, rgba(10,124,194,.45), transparent 70%), var(--ink); color: #fff; overflow-y: auto;
  padding: 6.2rem 1.2rem 2rem; animation: ph-in .35s cubic-bezier(.2,.8,.1,1); }
@keyframes ph-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.ph-menu__in { max-width: 560px; margin: 0 auto; display: grid; gap: 1.4rem; }
.ph-menu nav { display: grid; }
.ph-menu nav a { display: flex; align-items: center; gap: .9rem; padding: 1rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); font: 700 1.5rem/1.1 var(--display); letter-spacing: -.04em; }
.ph-menu nav a .ic { width: 24px; height: 24px; color: var(--lime); }
.ph-menu nav a.on { color: var(--lime); }
.ph-menu__live { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; border-radius: 18px; background: rgba(255,79,154,.16); border: 1px solid rgba(255,79,154,.4); font-weight: 700; }
.ph-menu__live i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); animation: ph-ping 1.6s infinite; }
.ph-menu__live .ic { margin-left: auto; }
.ph-menu__foot { color: var(--on-ink-2); font-size: .88rem; } .ph-menu__foot a { color: #fff; }
body.ph-open { overflow: hidden; }
@media (min-width: 40em) { .ph__login, .ph__icon { display: inline-flex; } }
@media (min-width: 56em) { .ph__live { display: inline-flex; } }
@media (min-width: 64em) { .ph__nav { display: flex; } .ph__nav ~ .ph__end { margin-left: 0; } .ph__burger { display: none; } .ph { padding: .9rem 1.2rem 0; } }
@media (max-width: 30em) { .ph__cta span { display: none; } .ph__cta { padding: 0 .35rem; } .ph__logo img { height: 44px; } .ph__bar { height: 68px; } .ph.is-solid .ph__logo img { height: 42px; } }
.lp-hero { padding-top: 7.2rem; }
.ph.is-solid .ph__bar { background: rgba(7, 24, 43, .95); }
/* bigger mark, more air before the live chip — the bar is always ≥ logo + 20px so the mark is never clipped */
.ph__bar { height: 88px; padding-left: 1.4rem; gap: .8rem; }
.ph.is-solid .ph__bar { height: 78px; }
.ph__logo img { height: 66px; }
.ph.is-solid .ph__logo img { height: 58px; }
.ph__logo { margin-right: 1.4rem; }
@media (max-width: 30em) { .ph__bar { height: 74px; padding-left: 1rem; } .ph.is-solid .ph__bar { height: 70px; } .ph__logo img, .ph.is-solid .ph__logo img { height: 52px; } .ph__logo { margin-right: .4rem; } }
.lp-hero { padding-top: 9rem; }

/* ---- competition workspace nav (views/_comp_nav.php) ---------------------------------------- */
.cnav { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.cnav__title { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.cnav__title .h1 { margin: 0; }
.cnav__cover { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; box-shadow: 0 8px 20px -10px rgba(7, 24, 43, .45); }
.cnav__nav { display: flex; gap: .3rem; overflow-x: auto; padding: .35rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; scrollbar-width: thin; }
.cnav__nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border-radius: 11px; color: var(--ink); font: 700 .88rem/1.1 var(--sans); white-space: nowrap; text-decoration: none; }
.cnav__nav a svg { width: 17px; height: 17px; opacity: .75; }
.cnav__nav a:hover { background: var(--paper); }
.cnav__nav a.on { background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 var(--lime); }
.cnav__nav a.on svg { opacity: 1; color: var(--lime); }
@media (max-width: 640px) { .cnav__nav a span { display: none; } .cnav__nav a { padding: .6rem; } }

/* app name under the club logo in the staff sidebar (Altius) */
.side__logo { display: grid; gap: .35rem; justify-items: start; }
.side__app { font: 800 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lime); padding-left: .2rem; }
