/* Bela taktična tabla — domača stran KK Plama-pur
   Material: trenerjeva bela tabla (#f4f4f4 z obstoječe strani), črn, moder in svetlo moder marker,
   papir zapisnika, magneti, lepilni trak. Zgodba: stran je načrt igre, vsaka sekcija je akcija,
   med akcijami teče črtkana podaja. Rumena (--led) ostane samo za semafor. */

body.wb {
  --board: #f4f4f4;
  --ink: #262f3e;
  --paper: #ffffff;
  background-color: var(--board);
  background-image:
    radial-gradient(ellipse 34% 18% at 78% 12%, rgba(38,47,62,0.035), transparent 70%),
    radial-gradient(ellipse 28% 16% at 14% 38%, rgba(57,78,161,0.03), transparent 70%),
    radial-gradient(ellipse 30% 18% at 82% 62%, rgba(38,47,62,0.03), transparent 70%),
    radial-gradient(ellipse 26% 14% at 20% 86%, rgba(23,186,236,0.03), transparent 70%);
  color: var(--ink);
}

/* pripisi z markerjem */
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: 0; }

/* ---------- markerji ---------- */
.mk { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.court-line { stroke: rgba(38,47,62,0.32); stroke-width: 2.2; }
.player { stroke: var(--ink); stroke-width: 3; }
.defender { stroke: rgba(38,47,62,0.45); stroke-width: 3; }
.pass, .pass-head { stroke: var(--ink); stroke-width: 3; }
.pass { stroke-dasharray: 2 11; }
.mk-mask { stroke: #fff; stroke-width: 18; fill: none; }
.cut { stroke: var(--blue); stroke-width: 3.6; }
.shot { stroke: var(--sky); stroke-width: 4; }
.score-ring { stroke: var(--sky); stroke-width: 3.2; }
.note-arrow, .mark-ink { stroke: var(--ink); stroke-width: 2.6; }
.mark-blue { stroke: var(--blue); stroke-width: 4; }
.uline-path { stroke: var(--sky); stroke-width: 8; }
.ring-path { stroke: var(--blue); stroke-width: 3; }
.num-ring { stroke: var(--sky); stroke-width: 3.5; }
.mk-num { font-family: var(--font-hand); font-weight: 400; font-size: 26px; fill: var(--ink); text-anchor: middle; opacity: 0; transition: opacity 300ms var(--ease); }
.mk-num.big { font-size: 40px; }
.mk-num.on { opacity: 1; }
.led-plus { font-family: var(--font-display); font-weight: 400; font-size: 88px; fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.6) rotate(-6deg); transition: opacity 250ms var(--ease), transform 500ms var(--ease); }
.led-plus.on { opacity: 1; transform: scale(1) rotate(-6deg); }

.note-wrap { position: absolute; z-index: 4; opacity: 0; transition: opacity 400ms var(--ease); pointer-events: none; }
.note-wrap.on { opacity: 1; }
.note-wrap .hand { display: block; color: var(--ink); font-size: 26px; }
.note-wrap svg { display: block; overflow: visible; }

.act { display: inline-block; margin: 0 0 4px; font-size: 28px; color: var(--sky); transform: rotate(-3deg); }
.act.on-blue { color: #fff; }

/* ---------- 0 · hero: velika fotografija na tabli ---------- */
.wb-hero { padding: 28px 0 24px; overflow: hidden; }
.hero-head { position: relative; z-index: 3; }
.kicker { display: inline-block; color: var(--blue); font-size: 30px; transform: rotate(-2deg); margin: 0 0 4px; }
.wb-h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 10.6vw, 168px); line-height: 0.86; letter-spacing: 0.005em; margin: 0; color: var(--ink); white-space: nowrap; }
.wb-h1 .u { position: relative; display: inline-block; color: var(--blue); }
.uline { position: absolute; left: -3%; width: 106%; bottom: -6px; height: 30px; overflow: visible; }
.wb-lead { color: var(--text-2); font-size: 19px; line-height: 1.55; margin: 0; max-width: 32rem; }
.wb-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

.hero-stage { position: relative; z-index: 2; width: min(1520px, calc(100% - 40px)); margin: 36px auto 0; padding-bottom: 80px; }
.team-print { position: relative; margin: 0; padding: 16px; background: var(--paper); transform: rotate(-1.8deg); box-shadow: 0 40px 60px -34px rgba(38,47,62,0.5), 0 2px 6px rgba(38,47,62,0.12); }
.team-print img { width: 100%; height: auto; aspect-ratio: 1640 / 745; object-fit: cover; }
.team-marks { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); overflow: visible; pointer-events: none; }
.tape { position: absolute; z-index: 2; top: -16px; width: 130px; height: 34px; background: rgba(214, 208, 186, 0.75); box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.tape.l { left: 7%; transform: rotate(-7deg); }
.tape.r { right: 7%; transform: rotate(6deg); }
.note { position: absolute; z-index: 3; font-size: 34px; color: var(--ink); opacity: 0; transition: opacity 400ms var(--ease); white-space: nowrap; }
.note.on { opacity: 1; }
.n-team { right: 3%; top: 19%; transform: rotate(4deg); color: var(--blue); text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.n-staff { left: 34%; bottom: -54px; transform: rotate(-3deg); }

/* listek za vpis */
.sticky { position: absolute; z-index: 4; left: -6px; top: 14%; width: 220px; padding: 34px 22px 20px; background: #d9f2fb; color: var(--ink); transform: rotate(-5deg); box-shadow: 0 18px 26px -16px rgba(38,47,62,0.5), 0 1px 2px rgba(38,47,62,0.12); transition: transform 240ms var(--ease); }
.sticky:hover, .sticky:focus-visible { transform: rotate(-2deg) translateY(-4px); }
.sticky .tape { top: -14px; left: calc(50% - 50px); width: 100px; height: 28px; transform: rotate(3deg); }
.sticky .hand { display: block; font-size: 30px; line-height: 1.05; }
.sticky .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--blue); border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* magnet z naslednjo tekmo */
.magnet-card { position: absolute; z-index: 4; right: 3%; bottom: -24px; width: 392px; padding: 26px 22px 20px; background: #fff; color: var(--ink); transform: rotate(2.5deg); box-shadow: 0 26px 36px -20px rgba(38,47,62,0.55), 0 1px 3px rgba(38,47,62,0.14); border-radius: 4px; transition: transform 240ms var(--ease); }
.magnet-card:hover, .magnet-card:focus-visible { transform: rotate(0.5deg) translateY(-4px); }
.mc-pin { position: absolute; top: -14px; left: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; background: var(--blue); box-shadow: 0 5px 8px rgba(38,47,62,0.35), inset 0 -3px 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.25); }
.mc-kick { display: block; font-size: 26px; color: var(--blue); transform: rotate(-2deg); margin-bottom: 8px; }
.mc-body { font-size: 15px; color: var(--muted); }
.mc-teams { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; font-size: 28px; line-height: 1; white-space: nowrap; }
.mc-teams em { font-style: normal; color: var(--muted); }
.mc-crest { width: 30px; height: 30px; object-fit: contain; flex: none; }
.mc-when { display: block; margin-top: 10px; font-size: 14px; color: var(--text-2); }

.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-foot > * { max-width: min(640px, 55%); }
.hero-foot .wb-actions { margin-top: 0; max-width: none; }

/* ---------- podaja med akcijami ---------- */
.pass-link { max-width: 1240px; margin: -8px auto; padding: 0 24px; height: 84px; }
.pass-link svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- sekcije ---------- */
.wb-section { padding: 24px 0 40px; position: relative; }
.wb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.wb-h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 6.4vw, 104px); line-height: 0.88; letter-spacing: 0.01em; margin: 0; color: var(--ink); }
.wb-head-note { margin: 0; color: var(--text-2); max-width: 26rem; text-align: right; }
.b-source { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.b-empty { color: var(--muted); margin: 0; }

/* ---------- 1 · naslednja tekma + načrt ---------- */
.next-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; margin-top: 16px; }
.nm-teams { display: grid; gap: 4px; }
.nm-team { display: flex; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 5.4vw, 84px); line-height: 0.95; letter-spacing: 0.01em; white-space: nowrap; }
.nm-team span { overflow: hidden; text-overflow: ellipsis; }
.magnet { width: 76px; height: 76px; flex: none; border-radius: 50%; background: #fff; padding: 7px; object-fit: contain; box-shadow: 0 10px 18px -8px rgba(38,47,62,0.5), 0 0 0 1px rgba(38,47,62,0.06), inset 0 -3px 0 rgba(0,0,0,0.06); }
.nm-mid { display: flex; align-items: center; gap: 20px; margin: 4px 0 4px 96px; }
.nm-vs { font-size: 26px; color: var(--muted); transform: rotate(-4deg); }
.nm-info { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 16px; color: var(--text-2); }
.nm-info span { display: inline-flex; align-items: center; gap: 8px; }
.nm-info .icon { color: var(--muted); }
.nm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.court-area { position: relative; padding-top: 56px; }
.plan-title { position: absolute; top: 0; left: 0; margin: 0; font-size: 28px; color: var(--blue); transform: rotate(-2deg); }
.court-area .play { display: block; width: 100%; max-width: 580px; height: auto; margin-left: auto; overflow: hidden; }
.court-area canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.court-area canvas.live { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 24 L8 23 L24 7 L21 4 L5 20 Z' fill='%23394ea1' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 3 25, crosshair; touch-action: none; }
.chalk-bar { position: absolute; top: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px -6px rgba(38,47,62,0.25); }
.chalk-bar button { height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.chalk-bar button:hover { background: var(--raised); color: var(--ink); }
.chalk-bar [data-color] { width: 32px; padding: 0; display: inline-grid; place-items: center; }
.chalk-bar [data-color]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); transition: box-shadow 160ms var(--ease); }
.chalk-bar [data-color][aria-pressed="true"]::before { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.chalk-bar .pen-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (pointer: fine) { .chalk-bar .pen-btn { display: none; } }
.hint { top: 90px; left: 0; }
.hint .hand { transform: rotate(-5deg); color: var(--blue); font-size: 26px; }
.hint svg { width: 120px; height: 80px; margin-left: 48px; }
.court-area.drew .hint { opacity: 0; }

/* ---------- 2 · zapisnik ---------- */
.sheets { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.sheet { position: relative; background-color: var(--paper); background-image: linear-gradient(rgba(57,78,161,0.08) 1px, transparent 1px); background-size: 100% 32px; color: var(--ink); border-radius: 3px; padding: 32px 28px 20px; box-shadow: 0 24px 40px -24px rgba(38,47,62,0.45), 0 1px 3px rgba(38,47,62,0.12); }
.sheet.s1 { transform: rotate(-0.8deg); }
.sheet.s2 { transform: rotate(1.1deg); margin-top: 40px; }
.magnet-pin { position: absolute; top: -13px; left: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%; background: var(--blue); box-shadow: 0 5px 8px rgba(38,47,62,0.35), inset 0 -3px 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.25); }
.magnet-pin.sky { background: var(--sky); }
.sheet header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sheet h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 32px; letter-spacing: 0.01em; line-height: 1; margin: 0; }
.sheet header > span, .sheet .b-source { font-size: 12px; color: var(--muted); margin: 0; }
.sheet-rows { list-style: none; margin: 0; padding: 0; }
.sheet-rows li { display: grid; grid-template-columns: 60px minmax(0,1fr) auto 44px; align-items: center; gap: 16px; min-height: 68px; border-bottom: 1px solid rgba(38,47,62,0.1); }
.sheet-rows li:last-child { border-bottom: 0; }
.r-date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.r-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 17px; min-width: 0; }
.r-teams b { font-weight: 500; }
.r-teams b.us { font-weight: 700; }
.r-teams em { font-style: normal; color: var(--muted); }
.r-teams small { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.r-score { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.r-mark { display: grid; place-items: center; width: 38px; height: 38px; font-size: 22px; line-height: 1; border: 2.5px solid currentColor; border-radius: 52% 46% 55% 44% / 48% 54% 46% 52%; transform: rotate(-8deg); }
.r-mark.w { color: var(--blue); }
.r-mark.l { color: #c42727; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sheet-table th { font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; padding: 12px 6px 8px; }
.sheet-table td { text-align: right; padding: 0 6px; height: 48px; border-bottom: 1px solid rgba(38,47,62,0.1); font-variant-numeric: tabular-nums; }
.sheet-table tr:last-child td { border-bottom: 0; }
.sheet-table .l { text-align: left; }
.sheet-table td:first-child, .sheet-table th:first-child { text-align: left; width: 32px; color: var(--muted); }
.sheet-table abbr { text-decoration: none; }
.t-crest { width: 22px; height: 22px; object-fit: contain; display: inline-block; vertical-align: -6px; margin-right: 10px; }
.sheet-table tr.us td { font-weight: 700; color: var(--blue); }
.ring-host { position: relative; }
.ring { position: absolute; left: 0; pointer-events: none; overflow: visible; }
.ring-note { position: absolute; left: 34%; color: var(--blue); font-size: 24px; transform: rotate(-5deg); opacity: 0; transition: opacity 400ms var(--ease); }
.ring-note.on { opacity: 1; }

/* ---------- 3 · postava ---------- */
.roster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 20px; }
.player { position: relative; outline: none; }
.player .ph { aspect-ratio: 389 / 495; overflow: hidden; background: #e2f9ff; box-shadow: 0 0 0 8px #fff, 0 18px 30px -18px rgba(38,47,62,0.45), 0 0 0 9px rgba(38,47,62,0.06); transition: transform 300ms var(--ease); }
.player .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.5); transform-origin: 50% 6%; transition: transform 500ms var(--ease); }
.player:hover .ph, .player:focus-visible .ph { transform: translateY(-4px) rotate(-0.8deg); }
.player:hover .ph img, .player:focus-visible .ph img { transform: scale(1.56); }
.ph-wrap { position: relative; }
.player .num { position: absolute; left: -14px; bottom: -32px; width: 88px; height: 66px; display: grid; place-items: center; }
.player .num .hand { position: relative; z-index: 1; font-size: 46px; font-weight: 400; line-height: 1; color: var(--blue); text-shadow: 0 0 0 #fff, 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff; }
.player .num svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-meta { margin-top: 12px; padding-left: 68px; min-height: 36px; }
.player.coach .pl-meta { padding-left: 0; margin-top: 12px; }
.pl-meta h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; letter-spacing: 0.01em; line-height: 1.05; margin: 0; color: var(--ink); }
.pl-meta h3.tbd { color: #a3a8b1; }
.pl-meta p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.roster-sub { font-size: 32px; color: var(--blue); margin: 48px 0 20px; transform: rotate(-2deg); display: inline-block; }
.roster.staff { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.player.coach .ph img { object-position: 50% 50%; }

/* ---------- 4 · šesti igralec ---------- */
.b-crowd { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); min-height: min(80vh, 720px); display: flex; align-items: flex-end; margin-top: 40px; }
.crowd-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: grayscale(1) contrast(1.2) brightness(1.08); mix-blend-mode: multiply; }
.b-crowd::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; background: linear-gradient(to top, rgba(38,47,62,0.8), rgba(38,47,62,0)); }
.crowd-inner { position: relative; padding-top: 160px; padding-bottom: 72px; color: #fff; }
.b-crowd-h { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 9vw, 150px); line-height: 0.88; letter-spacing: 0.01em; margin: 0; color: #fff; }
.b-crowd-h span { color: transparent; -webkit-text-stroke: 2px #fff; }
.crowd-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 36px; }
.crowd-foot p { margin: 0; max-width: 30rem; font-size: 19px; color: rgba(255,255,255,0.9); }
.crowd-note { top: 64px; right: 10%; }
.crowd-note .hand { font-size: 34px; color: #fff; transform: rotate(5deg); }
.crowd-note svg { width: 140px; height: 110px; margin-left: -10px; }
.crowd-note .note-arrow { stroke: #fff; }

/* ---------- 5 · šola ---------- */
#akcija-5 { padding-top: 64px; }
.school-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.school-grid .wb-lead { margin-top: 20px; }
.drill-wrap { margin: 0; }
.drill { width: 100%; height: auto; overflow: visible; }
.drill-labels { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 4px; text-align: center; font-size: 15px; color: var(--text-2); }
.drill-labels span { display: grid; gap: 2px; }
.drill-labels b { color: var(--blue); font-size: 28px; font-weight: 400; }

/* ---------- 6 · instagram ---------- */
.ig-btns { display: flex; align-items: center; gap: 8px; }
.ig-at { color: var(--blue); font-size: 28px; margin-right: 8px; }
.ig-btns a[aria-label] { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.ig-btns a[aria-label]:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.ig-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding: 16px 32px 8px; }
.polaroid { margin: 0; background: var(--paper); color: var(--ink); box-shadow: 0 26px 40px -22px rgba(38,47,62,0.5), 0 1px 3px rgba(38,47,62,0.14); }
.polaroid.ig { position: relative; display: block; padding: 12px 12px 56px; transform: rotate(var(--r)); transition: transform 300ms var(--ease); }
.polaroid.ig:hover, .polaroid.ig:focus-visible { transform: rotate(0deg) translateY(-6px); }
.polaroid.ig img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid.ig .tape { left: calc(50% - 62px); transform: rotate(-3deg); }
.polaroid .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: 22px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 7 · sponzorji ---------- */
.wb-paper { background: #fff; padding: 72px 0; margin-top: 40px; border-top: 1px solid var(--line); }
.wb-paper .gen-sponsor { background: var(--board); border-color: transparent; }

/* ---------- mobilno ---------- */
@media (max-width: 1100px) {
  .magnet-card { width: 300px; }
  .mc-teams { font-size: 24px; }
  .sticky { width: 190px; }
}
@media (max-width: 1000px) {
  .wb-hero-top, .next-grid, .sheets, .school-grid { grid-template-columns: 1fr; gap: 32px; }
  .sheet.s2 { margin-top: 8px; }
  .ig-board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 28px; margin-inline: calc(var(--gutter) * -1); padding: 24px var(--gutter); scrollbar-width: none; }
  .polaroid.ig { flex: 0 0 72%; scroll-snap-align: center; }
  .court-area .play { margin: 0 auto; }
}
@media (max-width: 760px) {
  .wb-hero { padding-top: 20px; }
  .wb-h1 { font-size: 76px; white-space: normal; line-height: 0.86; }
  .hero-stage { width: calc(100% - 16px); margin-top: 20px; padding-bottom: 0; display: flex; flex-direction: column; gap: 28px; }
  .team-print { padding: 8px; transform: rotate(-1.5deg); }
  /* izrez 3:2, centriran na ekipo (igralci so med 25 % in 85 % širine fotografije) */
  .team-print img { aspect-ratio: 3 / 2; object-position: 64% 50%; }
  .team-marks, .n-staff { display: none; }
  .note { font-size: 26px; }
  .n-team { top: 6%; right: 6%; }
  .magnet-card, .sticky { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .magnet-card { order: 2; margin: 0 8px; }
  .sticky { order: 3; margin: 0 24px 0 16px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 40px; }
  .hero-foot > * { max-width: none; }
  .wb-section { padding: 32px 0 48px; }
  .pass-link { height: 72px; }
  .wb-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wb-head-note { text-align: left; }
  .nm-team { font-size: 46px; gap: 14px; }
  .magnet { width: 60px; height: 60px; }
  .nm-mid { margin-left: 74px; flex-wrap: wrap; }
  .nm-clock div { min-width: 40px; }
  .nm-clock b { font-size: 34px; }
  .nm-clock i { font-size: 30px; }
  .sheet { padding: 28px 18px 14px; }
  .sheet-rows li { grid-template-columns: 48px minmax(0,1fr) auto 36px; gap: 10px; }
  .r-teams { flex-direction: column; align-items: flex-start; }
  .r-teams em { display: none; }
  .r-score { font-size: 26px; }
  .r-mark { width: 32px; height: 32px; font-size: 16px; }
  .roster, .roster.staff { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .player .num .hand { font-size: 46px; }
  .player .num { width: 88px; height: 66px; bottom: -32px; left: -12px; }
  .pl-meta { padding-left: 0; margin-top: 40px; }
  .pl-meta h3 { font-size: 19px; }
  .hint { display: none; }
  .chalk-bar { position: relative; right: auto; margin-bottom: 8px; flex-wrap: wrap; width: max-content; max-width: 100%; }
  .court-area { padding-top: 40px; }
  .chalk-bar [data-act="replay"] { display: none; }
  .crowd-note { display: none; }
  .crowd-foot { flex-direction: column; align-items: flex-start; }
  .wb-paper { padding: 64px 0; }
  .wb-paper .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
}

/* ---------- semafor: odštevanje kot pravi LED semafor v dvorani ---------- */
.nm-clock, .mc-clock {
  position: relative; display: inline-flex; align-items: flex-start; gap: 6px;
  padding: 16px 18px 10px;
  background: #07090c;
  border: 6px solid #2b3240; border-radius: 10px;
  box-shadow: inset 0 0 0 2px #000, inset 0 10px 18px rgba(0,0,0,0.8), 0 0 0 1px #11151c, 0 20px 30px -18px rgba(0,0,0,0.7);
}
.nm-clock::before, .mc-clock::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 3px; margin-left: -18px; border-radius: 2px; background: #c42727; box-shadow: 0 0 6px rgba(196,39,39,0.8); }
.nm-clock div, .mc-clock .seg { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.nm-clock b, .mc-clock b {
  position: relative; display: block;
  font-family: var(--font-led); font-weight: 400; font-style: normal; font-size: 46px; line-height: 1;
  color: #ffb21e; letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255,178,30,0.55), 0 0 2px rgba(255,210,120,0.9);
}
.nm-clock b::before, .mc-clock b::before { content: attr(data-g); position: absolute; inset: 0; color: rgba(255,178,30,0.08); text-shadow: none; }
.nm-clock small, .mc-clock small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa0a9; margin: 0; }
.nm-clock i, .mc-clock i { font-style: normal; font-family: var(--font-led); font-size: 32px; line-height: 1.3; color: #ffb21e; text-shadow: 0 0 8px rgba(255,178,30,0.5); }
.mc-clock { display: flex; justify-content: space-between; margin-top: 14px; padding: 14px 14px 8px; border-width: 5px; }
.mc-clock b { font-size: 30px; }
.mc-clock i { font-size: 22px; line-height: 1.25; }
@media (prefers-reduced-motion: no-preference) { .nm-clock i, .mc-clock i { animation: led-blink 1s steps(1) infinite; } }
@keyframes led-blink { 50% { opacity: 0.25; } }
@media (max-width: 760px) {
  .nm-clock b { font-size: 34px; }
  .nm-clock i { font-size: 24px; }
  .roster, .roster.staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-staff { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) { .roster, .roster.staff { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- zadnji rezultat: semafor ob koncu tekme ---------- */
.board-score {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: end; gap: 12px;
  padding: 22px 26px 18px; background: #07090c; border: 8px solid #2b3240; border-radius: 14px;
  box-shadow: inset 0 0 0 2px #000, inset 0 14px 24px rgba(0,0,0,0.8), 0 0 0 1px #11151c, 0 26px 40px -22px rgba(0,0,0,0.7);
}
.bs-team { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.bs-name { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font-family: var(--font-display); text-transform: uppercase; font-size: 28px; line-height: 1; color: #fff; letter-spacing: 0.02em; white-space: nowrap; }
.bs-crest { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; flex: none; }
.bs-pts { position: relative; display: block; font-family: var(--font-led); font-weight: 400; font-size: 92px; line-height: 1; color: #ffb21e; text-shadow: 0 0 14px rgba(255,178,30,0.55), 0 0 2px rgba(255,210,120,0.9); }
.bs-pts::before { content: attr(data-g); position: absolute; inset: 0; color: rgba(255,178,30,0.08); text-shadow: none; }
.bs-team:not(.win) .bs-pts { color: #e09a1a; text-shadow: 0 0 8px rgba(255,178,30,0.3); }
.bs-mid { display: grid; justify-items: center; gap: 8px; padding-bottom: 16px; }
.bs-final { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #ff4a3d; text-shadow: 0 0 8px rgba(255,74,61,0.6); }
.bs-comp { font-size: 12px; color: #9aa0a9; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.lr-foot { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.lr-foot .nm-info { margin-top: 0; }
.lr-stamp { display: inline-grid; place-items: center; padding: 6px 16px 4px; font-size: 30px; line-height: 1; border: 3px solid currentColor; border-radius: 52% 46% 55% 44% / 48% 54% 46% 52%; transform: rotate(-6deg); }
.lr-stamp.w { color: var(--blue); }
.lr-stamp.l { color: #c42727; }
@media (max-width: 760px) {
  .board-score { padding: 16px 12px 12px; border-width: 6px; gap: 6px; }
  .bs-name { font-size: 18px; gap: 6px; }
  .bs-crest { width: 22px; height: 22px; }
  .bs-pts { font-size: 52px; }
  .bs-mid { padding-bottom: 8px; }
  .bs-final { font-size: 10px; letter-spacing: 0.12em; }
  .bs-comp { display: none; }
  .lr-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pass-link { height: 56px; }
}

/* trenerja v isti mreži kot igralci */
.coach-tag { position: absolute; z-index: 2; left: -4px; top: -34px; font-size: 28px; line-height: 1; color: var(--blue); transform: rotate(-3deg); white-space: nowrap; }
.coach-tag::after { content: ""; display: inline-block; width: 64px; height: 2px; margin-left: 10px; vertical-align: middle; background: currentColor; border-radius: 2px; transform: rotate(2deg); }
.player.coach .pl-meta p { color: var(--blue); font-weight: 600; }

/* semafor v barvi naslovov (#262f3e) namesto črne */
.nm-clock, .mc-clock, .board-score {
  background: #262f3e;
  border-color: #1b222e;
  box-shadow: inset 0 0 0 2px #1b222e, inset 0 10px 20px rgba(0,0,0,0.35), 0 20px 30px -18px rgba(38,47,62,0.6);
}
.nm-clock b::before, .mc-clock b::before, .bs-pts::before { color: rgba(255,178,30,0.1); }

.pl-meta h3 small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); margin-bottom: 2px; }

/* ---------- podstrani na beli tabli ---------- */
.wb-page-head { padding: 36px 0 0; }
.wb-page-head .crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.wb-page-head .crumbs a:hover { color: var(--blue); }
.wb-page-head .wb-h1 { font-size: clamp(64px, 9.6vw, 150px); }
.wb-page-head .wb-lead { margin-top: 28px; max-width: 40rem; }
.wb-page-head .bilanca { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--blue); }
.wb.sub .section { padding: 24px 0 72px; }
.wb.sub .section-white { background: transparent; }
.wb.sub .section-tight { padding: 0 0 72px; }
.wb.sub .section + .section { padding-top: 40px; }
.wb.sub .h2 { font-size: clamp(44px, 5.2vw, 80px); line-height: 0.9; }
.wb.sub .eyebrow { font-family: var(--font-hand); font-weight: 400; font-size: 26px; color: var(--sky); display: inline-block; transform: rotate(-2deg); }
.wb.sub .page-hero { display: none; }
.wb.sub .tabs { background: #fff; border: 2px solid #262f3e; box-shadow: 3px 3px 0 #262f3e; border-radius: 12px; }
.wb.sub .tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.wb.sub .panel { border: 0; box-shadow: 0 24px 40px -26px rgba(38,47,62,0.45), 0 1px 3px rgba(38,47,62,0.12); border-radius: 4px; }
.wb.sub .person .img { border-radius: 0; box-shadow: 0 0 0 8px #fff, 0 18px 30px -18px rgba(38,47,62,0.45); }
.wb.sub .person h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 24px; margin-top: 18px; }
.wb.sub .contact-card, .wb.sub .gen-sponsor, .wb.sub .logo-tile { border: 0; box-shadow: 0 18px 30px -22px rgba(38,47,62,0.4), 0 1px 3px rgba(38,47,62,0.1); }
.wb.sub .contact-card .ico { background: #d9f2fb; }
.wb.sub .timeline li::before { border-color: var(--blue); }
.wb.sub .tier-title h3 { font-size: 38px; }
@media (max-width: 760px) { .wb-page-head .wb-h1 { font-size: 64px; } }

/* ---------- pravna stran ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 20px; background: #fff; box-shadow: 0 18px 30px -22px rgba(38,47,62,0.4), 0 1px 3px rgba(38,47,62,0.1); }
.legal-toc a { padding: 6px 8px; border-radius: 6px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.legal-toc a:hover { background: var(--raised); color: var(--blue); }
.legal .prose { max-width: 46rem; font-size: 17px; }
.legal .prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; margin: 48px 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal .prose ul { padding-left: 20px; display: grid; gap: 10px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; background: #fff; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 13px; color: var(--muted); }
.legal-table code { font-size: 13px; background: var(--raised); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } .legal-table { font-size: 14px; } }

.staff-more { margin: 28px 0 0; text-align: right; font-size: 17px; color: var(--ink); }
.staff-more .hand { font-size: 24px; color: var(--blue); margin-right: 4px; }
.staff-more b { font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: 0.01em; }
@media (max-width: 760px) { .staff-more { text-align: left; } }

.wb.sub .person .img { background: #e2f9ff; aspect-ratio: 640 / 815; }
.wb.sub .person .img img { object-position: 50% 0%; }

/* ---------- kontakt: šola košarke in omrežja ---------- */
.parents { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; margin-top: 96px; }
.parents-head .wb-h2 { font-size: clamp(48px, 5.4vw, 84px); }
.parents-head .wb-lead { margin-top: 16px; }
.parents-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.note-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 36px 28px 28px; color: var(--ink); box-shadow: 0 24px 36px -22px rgba(38,47,62,0.5), 0 1px 3px rgba(38,47,62,0.12); transition: transform 240ms var(--ease); }
.note-card.vpis { background: #d9f2fb; transform: rotate(-1.6deg); }
.note-card.portal { background: #fff; transform: rotate(1.2deg); }
.note-card:hover, .note-card:focus-visible { transform: rotate(0deg) translateY(-4px); }
.note-card .tape { top: -14px; left: calc(50% - 55px); width: 110px; height: 30px; transform: rotate(-3deg); }
.note-card .hand { font-size: 26px; color: var(--blue); transform: rotate(-2deg); }
.note-card strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 0.95; }
.nc-text { color: var(--text-2); font-size: 16px; margin-bottom: 14px; }
.note-card .btn { margin-top: auto; }
.note-card:hover .btn { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }

.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 72px; padding-top: 32px; border-top: 2px dashed rgba(38,47,62,0.18); }
.social-row > .hand { font-size: 30px; color: var(--blue); margin-right: 8px; transform: rotate(-3deg); }
.soc { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 7px; background: #fff; border: 2px solid #262f3e; border-radius: 30px; box-shadow: 3px 3px 0 #262f3e; font-weight: 600; font-size: 15px; transition: transform 140ms var(--ease), box-shadow 140ms var(--ease); }
.soc:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #262f3e; }
.soc > span:last-child { display: grid; line-height: 1.15; }
.soc small { font-size: 12px; font-weight: 500; color: var(--muted); }
.soc-ico { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; }
@media (max-width: 1000px) { .parents { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; } }
@media (max-width: 620px) { .parents-cards { grid-template-columns: 1fr; gap: 28px; } .note-card strong { font-size: 34px; } .soc { width: 100%; } }
