/*
Theme Name: BPinfo Sport
Theme URI: https://sport.bpinfo.hr
Author: BPinfo
Author URI: https://bpinfo.hr
Description: Sportska tema za sport.bpinfo.hr – lokalni sport Brodsko-posavske županije. Sportovi, lige i klubovi preko kategorija (izbornik sport → liga → klub; stranica svakog kluba s rezultatima, rasporedom i tablicom), utakmice u člancima s automatskim svrstavanjem po klubovima, tablice i rezultati po kolima kroz HRnogomet widgete, traka rezultata s HRnogometa (uvoz liga i klubova po županiji), tablice iz ručnog unosa, Google Sheetsa ili API-ja, rezultati uživo s vremenskom crtom, „Moj klub”, centar kola, Danas / vikend, sezone i arhiva, ankete, prijave grešaka, pregled utakmica u administraciji i oglasni sustav BPinfo teme. Bez jQueryja i Bootstrapa.
Version: 1.8.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bpsport
Tags: news, blog, sports, grid-layout, custom-logo, custom-menu, featured-images, sticky-post, translation-ready, two-columns, right-sidebar
*/

/* ============================================================
   1. TOKENI
   ============================================================ */
:root {
  --bg: #f1f3f8;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --line: #e1e6ef;
  --line-2: #edf0f6;
  --ink: #0d1321;
  --ink-2: #3f4960;
  --ink-3: #7a8499;

  --night: #0a0e1b;
  --night-2: #10162a;
  --night-3: #19213a;
  --night-line: rgba(255, 255, 255, .09);
  --on-night: #eef1f8;
  --on-night-2: #98a2bb;
  --navy-fade: 12, 20, 52;

  --brand: #4169f0;
  --brand-600: #2f55e0;
  --brand-700: #2242c4;
  --brand-300: #8aa3ff;
  --brand-50: #edf1ff;

  --live: #ef3b3b;
  --win: #16a05a;
  --draw: #8a93a6;
  --loss: #e5484d;
  --promo: #16a05a;
  --qual: #ee9b1b;
  --releg: #e5484d;

  --radius: 14px;
  --radius-s: 10px;
  --radius-xs: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 48, .05), 0 8px 22px -14px rgba(16, 24, 48, .22);
  --shadow-hover: 0 2px 4px rgba(16, 24, 48, .07), 0 20px 40px -16px rgba(16, 24, 48, .32);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1280px;
  --header-h: 64px;
}

/* ============================================================
   2. BAZA
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.003em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip-path: none; z-index: 300; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-hover); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.ico { width: 18px; height: 18px; flex: none; }
.sep { color: var(--brand); opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Grbovi i monogrami */
.club-logo { flex: none; display: inline-block; object-fit: contain; vertical-align: middle; }
.club-logo.club-mono { background: var(--mono, var(--brand)) !important; padding: 0 !important; }
.club-mono {
  display: inline-grid; place-items: center; border-radius: 50%; background: var(--mono, var(--brand));
  color: #fff; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22);
}

/* ============================================================
   3. GORNJA TRAKA
   ============================================================ */
.topbar { background: #05080f; color: var(--on-night-2); font-size: .78rem; }
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 34px; }
.topbar-date { font-weight: 600; letter-spacing: .01em; }
.topbar-date:empty { display: none; }
.topbar-main { display: inline-flex; align-items: center; gap: 6px; color: var(--on-night); }
.topbar-main .ico { width: 14px; height: 14px; color: var(--brand-300); }
.topbar-main strong { color: var(--brand-300); font-weight: 700; letter-spacing: .03em; }
.topbar-main:hover strong { color: #fff; }
.topbar-social { margin-left: auto; display: flex; gap: 2px; }
.topbar-social a { width: 28px; height: 28px; display: grid; place-items: center; color: var(--on-night-2); border-radius: 6px; }
.topbar-social a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.topbar-social .ico { width: 15px; height: 15px; }

/* ============================================================
   4. ZAGLAVLJE
   ============================================================ */
.site-header {
  background: var(--night); color: var(--on-night); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--night-line); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 56px; width: auto; }
.custom-logo { max-height: 46px; width: auto; }
.brand-tag {
  display: inline-block; font: 800 1.02rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 6px 11px 5px; border-radius: 3px; transform: skewX(-12deg);
  box-shadow: 4px 0 0 -1px rgba(138, 163, 255, .55);
}

.main-nav { margin-left: auto; min-width: 0; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 7px; height: var(--header-h); padding: 0 11px;
  font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .045em; color: var(--on-night);
  position: relative; white-space: nowrap; transition: color .15s ease;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a, .nav-menu > li.current-menu-ancestor > a { color: #fff; }
.nav-menu > li > a:hover::after, .nav-menu > li.current-menu-item > a::after, .nav-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-ico { width: 17px; height: 17px; color: var(--brand-300); }
.submenu-caret { width: 12px; height: 12px; margin-left: -2px; opacity: .7; transition: transform .2s ease; }
.nav-menu .menu-item-has-children:hover > a .submenu-caret, .nav-menu .menu-item-has-children:focus-within > a .submenu-caret { transform: rotate(180deg); }
.nav-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 110; min-width: 250px; list-style: none; margin: 0;
  padding: 8px; background: #fff; color: var(--ink); border-radius: 0 0 14px 14px; box-shadow: 0 24px 48px -12px rgba(8, 12, 26, .45);
  border-top: 3px solid var(--brand);
}
.nav-menu .sub-menu--grid { width: 540px; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { display: block; }
.nav-menu li:hover > .sub-menu--grid, .nav-menu li:focus-within > .sub-menu--grid { display: grid; }
.nav-menu .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.nav-menu .sub-menu a:hover { background: var(--surface-2); color: var(--brand-600); }
.nav-menu .sub-menu .nav-ico { color: var(--brand); }
.nav-menu .sub-menu .sub-all { grid-column: 1 / -1; }
.nav-menu .sub-menu .sub-all a { font-weight: 700; color: var(--brand-600); border-bottom: 1px solid var(--line-2); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.nav-menu .sub-menu .sub-all--top a { border-bottom: 0; border-radius: 8px; margin-bottom: 0; }
.nav-menu .sub-menu .sub-results a { color: var(--ink); }
.nav-menu .sub-menu .sub-results a:hover { color: var(--brand-600); }
/* Druga razina (liga → klubovi): otvara se udesno, uz rub ekrana ulijevo (sport.js) */
.nav-menu .sub-menu .sub-menu {
  top: -8px; left: calc(100% - 2px); min-width: 260px; max-height: min(72vh, 620px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 14px; border-top: 0; border-left: 3px solid var(--brand);
}
.nav-menu .sub-menu .sub-menu.is-flip { left: auto; right: calc(100% - 2px); border-left: 0; border-right: 3px solid var(--brand); }
.nav-menu .sub-menu .submenu-caret--side { width: 14px; height: 14px; margin-left: auto; opacity: .45; flex: none; transform: none !important; }
.nav-menu .sub-menu li:hover > a .submenu-caret--side, .nav-menu .sub-menu li:focus-within > a .submenu-caret--side { opacity: 1; color: var(--brand); }
.nav-menu .sub-menu--leagues { min-width: 270px; }
.nav-menu .sub-menu .sub-league.current-menu-ancestor > a, .nav-menu .sub-menu .sub-club.current-menu-item > a { color: var(--brand-600); background: var(--brand-50); }
.nav-menu .sub-menu .sub-rest .nav-ico { color: var(--ink-3); }
.main-nav { display: flex; align-items: center; }
.nav-main-link {
  display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: 10px; padding: 10px 14px 9px; border-radius: 9px;
  background: var(--brand); color: #fff; font: 800 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(65, 105, 240, .7); transition: background .15s ease, transform .15s ease;
}
.nav-main-link:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.nav-main-link .ico { width: 14px; height: 14px; opacity: .85; }
.submenu-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: transparent;
  color: var(--on-night); display: grid; place-items: center; transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.icon-btn:hover { border-color: var(--brand); color: #fff; background: rgba(65, 105, 240, .16); }
.icon-btn .ico { width: 19px; height: 19px; }
.nav-toggle { display: none; }

@media (min-width: 1021px) and (max-width: 1240px) {
  .nav-menu > li > a { padding: 0 8px; font-size: .92rem; }
  .nav-ico { display: none; }
  .header-inner { gap: 12px; }
  .nav-main-link { margin-left: 6px; padding: 9px 10px 8px; font-size: .86rem; }
  .nav-main-link .ico { display: none; }
}

/* Mobitel: ladica izbornika */
@media (max-width: 1020px) {
  :root { --header-h: 58px; }
  .brand-logo { height: 48px; }
  .brand-tag { font-size: .9rem; padding: 5px 9px 4px; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--night);
    border-top: 1px solid var(--night-line); box-shadow: 0 30px 50px rgba(0, 0, 0, .5);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 6px 0 18px;
  }
  .main-nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--night-line); }
  .nav-menu > li > a { flex: 1; height: auto; padding: 14px 20px; font-size: 1.08rem; }
  .nav-menu > li > a::after, .submenu-caret { display: none; }
  .submenu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: 8px; background: none; border: 0; color: var(--on-night-2);
  }
  .submenu-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
  .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu, .nav-menu li:hover > .sub-menu--grid, .nav-menu li:focus-within > .sub-menu--grid { display: none; }
  .nav-menu .sub-menu, .nav-menu .sub-menu--grid {
    position: static; flex-basis: 100%; width: auto; min-width: 0; box-shadow: none; border: 0; border-radius: 0;
    background: rgba(255, 255, 255, .03); padding: 4px 12px 12px; color: var(--on-night); grid-template-columns: 1fr 1fr;
  }
  .nav-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
  .nav-menu .menu-item-has-children.is-open > .sub-menu--grid { display: grid; }
  .nav-menu .sub-menu a { color: var(--on-night); padding: 10px 10px; }
  .nav-menu .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .nav-menu .sub-menu .sub-all a { color: var(--brand-300); border-color: var(--night-line); }
  /* Liga s klubovima: naziv vodi na ligu, strelica otvara klubove */
  .nav-menu .sub-menu li.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-menu .sub-menu li.menu-item-has-children > a { flex: 1; min-width: 0; }
  .nav-menu .sub-menu .submenu-toggle { width: 42px; height: 42px; margin: 0; }
  .nav-menu .sub-menu .submenu-caret--side { display: none; }
  .nav-menu .sub-menu .sub-menu, .nav-menu .sub-menu .sub-menu.is-flip {
    display: none; position: static; flex-basis: 100%; max-height: none; overflow: visible; min-width: 0;
    margin: 0 0 6px 16px; padding: 2px 0 4px 10px; background: transparent; border: 0; border-left: 2px solid rgba(138, 163, 255, .35); border-radius: 0;
  }
  .nav-menu .sub-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
  .nav-menu .sub-menu .sub-league.current-menu-ancestor > a, .nav-menu .sub-menu .sub-club.current-menu-item > a { color: #fff; background: rgba(65, 105, 240, .18); }
  .nav-main-link {
    display: flex; justify-content: center; align-items: center; gap: 8px; margin: 16px 20px 0; padding: 13px 14px; border-radius: 10px;
    background: var(--brand); color: #fff; font: 800 1rem var(--display); text-transform: uppercase; letter-spacing: .06em;
  }
  .nav-main-link .ico { display: block; }
}
@media (max-width: 480px) {
  .nav-menu .sub-menu, .nav-menu .sub-menu--grid { grid-template-columns: 1fr; }
}

/* Traka sportova (mobitel) */
.pills { display: none; background: var(--night); border-top: 1px solid var(--night-line); }
.pills-inner { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 9px; scrollbar-width: none; }
.pills-inner::-webkit-scrollbar { display: none; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: var(--on-night); font: 700 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
}
.pill .ico { width: 15px; height: 15px; color: var(--brand-300); }
.pill.is-current { background: var(--brand); color: #fff; }
.pill.is-current .ico { color: #fff; }
.pill--alt { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
@media (max-width: 1020px) { .pills { display: block; } }

/* ============================================================
   5. TRAKA REZULTATA
   ============================================================ */
.ticker { background: var(--night-2); border-bottom: 1px solid var(--night-line); color: var(--on-night); }
.ticker-inner { position: relative; }
.ticker-track {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 11px; scroll-snap-type: x proximity; scrollbar-width: none;
  scroll-behavior: smooth; overscroll-behavior-x: contain;
}
.ticker-track::-webkit-scrollbar { display: none; }
.tk {
  flex: 0 0 192px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; padding: 8px 11px 9px;
  background: var(--night-3); border: 1px solid var(--night-line); border-radius: 11px; color: var(--on-night);
  transition: border-color .15s ease, background .15s ease; min-width: 0;
}
a.tk:hover { border-color: rgba(138, 163, 255, .55); background: #1d2744; }
.tk-comp { font: 700 .72rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--on-night-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; line-height: 1.2; }
.tk-row .club-logo { width: 20px !important; height: 20px !important; }
.tk-row.is-lose { color: var(--on-night-2); }
.tk-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-s { font: 800 1.12rem/1 var(--display); font-variant-numeric: tabular-nums; text-align: right; min-width: 1.2ch; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .72rem; color: var(--on-night-2); margin-top: 1px; }
.tk.is-live { border-color: rgba(239, 59, 59, .55); box-shadow: inset 0 2px 0 var(--live); }
.tk.is-live .tk-s { color: #fff; }
.tk-all {
  flex-basis: 108px; align-items: center; justify-content: center; text-align: center; gap: 6px;
  color: var(--brand-300); font: 700 .88rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em;
  background: transparent; border-style: dashed;
}
.tk-all .ico { width: 22px; height: 22px; }
.tk-label { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px 0 0; color: #fff; scroll-snap-align: start; }
.tk-label-t { display: inline-flex; align-items: center; gap: 8px; font: 800 1.16rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.tk-label-t::before { content: ""; flex: none; width: 5px; height: 17px; border-radius: 1px; background: var(--brand); transform: skewX(-20deg); }
.tk-label-s { padding-left: 13px; font-size: .72rem; line-height: 1; color: var(--on-night-2); white-space: nowrap; }
.tk-label-src { padding-left: 13px; font-size: .64rem; line-height: 1; letter-spacing: .02em; color: var(--on-night-2); opacity: .75; white-space: nowrap; }
.tk-row img.club-logo { border-radius: 3px; }
.tk-nav {
  position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.tk-nav .ico { width: 18px; height: 18px; }
.tk-prev { left: 8px; }
.tk-next { right: 8px; }
@media (hover: none) { .tk-nav { display: none !important; } }

/* Status utakmice */
.st { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; }
.st-live { color: var(--live); text-transform: uppercase; letter-spacing: .03em; }
.st-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(239, 59, 59, .6); animation: bps-pulse 1.4s infinite; }
.st-up { color: var(--brand-300); }
.st-up .st-day { font-weight: 600; opacity: .85; }
.st-off { color: var(--qual); }
.is-flash { animation: bps-flash 1.8s ease; border-radius: 4px; }
@keyframes bps-flash {
  0%, 100% { background: transparent; }
  15%, 55% { background: rgba(239, 59, 59, .45); }
}
@keyframes bps-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 59, 59, .6); }
  70% { box-shadow: 0 0 0 7px rgba(239, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 59, 59, 0); }
}

/* ============================================================
   6. PRETRAGA (overlay)
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 250; display: flex; align-items: flex-start; justify-content: center;
  padding: 14vh 20px 0; background: rgba(7, 10, 22, .97); backdrop-filter: blur(6px);
}
.search-box { width: min(720px, 100%); }
.search-overlay .search-form { display: flex; border-bottom: 3px solid var(--brand); }
.search-overlay input[type="search"] {
  flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 12px 4px;
  font: 700 clamp(1.5rem, 5vw, 2.4rem)/1.1 var(--display);
}
.search-overlay input::placeholder { color: #5d6784; }
.search-overlay .search-form button { background: none; border: 0; color: var(--brand-300); padding: 0 6px; }
.search-overlay .search-form .ico { width: 30px; height: 30px; }
.search-hint { color: var(--on-night-2); font-size: .9rem; margin: 18px 0 10px; }
.search-close { position: absolute; top: 20px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; display: grid; place-items: center; }
.search-close:hover { background: var(--brand); border-color: var(--brand); }
.search-close .ico { width: 22px; height: 22px; }

/* ============================================================
   7. OZNAKE, NASLOVI SEKCIJA, ČIPOVI, KARTICE (TABS), OKVIRI
   ============================================================ */
/* Oznaka kategorije: kosa crtica + plavi pravokutnik (kao na BPINFO FB karticama) */
.kicker {
  display: inline-flex; align-items: center; align-self: flex-start; max-width: 100%;
  font: 700 .76rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: #fff;
  padding: 5px 9px 4px 17px; border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(var(--brand), var(--brand)) right / calc(100% - 11px) 100% no-repeat; position: relative;
}
.kicker::before { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 4px; background: var(--brand); transform: skewX(-20deg); }
a.kicker:hover { background-image: linear-gradient(var(--brand-600), var(--brand-600)); }
.kicker--ghost { background: none; color: var(--brand-600); padding: 0 0 0 11px; }
.kicker--ghost::before { left: 0; top: 0; bottom: 0; width: 3px; }
a.kicker--ghost:hover { background: none; color: var(--ink); }
.kicker--light { background-image: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)); }
.kicker--light::before { background: #fff; }

.sec { margin: 0 0 34px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding-bottom: 9px; border-bottom: 1px solid var(--line); position: relative; }
.sec-title {
  margin: 0; display: flex; align-items: center; gap: 10px; font: 800 1.6rem/1 var(--display);
  text-transform: uppercase; letter-spacing: .02em; position: relative;
}
.sec-title::before { content: ""; width: 9px; height: 1.05em; background: var(--brand); transform: skewX(-18deg); flex: none; }
.sec-title:has(.sec-ico)::before { display: none; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--brand); }
.sec-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--sport, var(--brand)); color: #fff; display: inline-grid; place-items: center; flex: none; }
.sec-ico .ico { width: 20px; height: 20px; }
.sec-more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font: 700 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600);
}
.sec-more .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.sec-more:hover { color: var(--ink); }
.sec-more:hover .ico { transform: translateX(3px); }

/* Čipovi (klubovi, lige, sportovi) */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; line-height: 1.2; color: var(--ink);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip .club-logo { width: 22px !important; height: 22px !important; }
.chip .club-mono { font-size: 9px !important; }
.chip > .ico { width: 16px; height: 16px; margin-left: 4px; color: var(--brand); }
.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-current > .ico { color: #fff; }
.chips--wrap, .chips--post, .chips--center { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.chips--center { justify-content: center; margin-top: 22px; }
.chips--post { margin: 4px 0 16px; }
.chips--block { margin: -4px 0 16px; }
.chips--band { margin-top: 4px; }
.chip--text { padding: 6px 14px; }
.chips--leagues { margin: 0 0 14px; padding-top: 2px; }
.league-filter-note { display: flex; align-items: center; gap: 6px; margin: -4px 0 14px; font-size: .9rem; font-weight: 600; }
.league-filter-note a { color: var(--brand-600); }
.league-filter-note .ico { width: 15px; height: 15px; color: var(--brand); }
.chips--band .chip, .chips--dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.chips--band .chip > .ico, .chips--dark .chip > .ico { color: var(--brand-300); }
.chips--band .chip:hover, .chips--dark .chip:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.chips--band .chip.is-current { background: #fff; color: var(--ink); }
.chips--band .chip.is-current > .ico { color: var(--brand); }

/* Kartice (tabs) */
.tabs { display: flex; gap: 3px; padding: 4px; margin: 0 0 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: 1 0 auto; border: 0; background: transparent; padding: 7px 10px 6px; border-radius: 7px; white-space: nowrap;
  font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 24, 48, .14); }

/* Okviri (bočna traka i blokovi) */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.box-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.box-title { margin: 0; display: flex; align-items: center; gap: 9px; font: 800 1.22rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.box-title::before { content: ""; width: 7px; height: .95em; background: var(--brand); transform: skewX(-18deg); flex: none; }
.box-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); }
.box-more .ico { width: 15px; height: 15px; }
.box--flush { padding: 0; overflow: hidden; }
.box--matches { margin: 0 0 30px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.widget li:last-child { border-bottom: 0; }

/* ============================================================
   8. NASLOVNICA – IZDVOJENO (mozaik)
   ============================================================ */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; margin: 22px 0 34px; }
.hero--short { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 14px; }
.hero--short .hero-side { grid-template-columns: 1fr; }

.tile {
  position: relative; display: flex; min-height: 212px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--night-3); box-shadow: var(--shadow); color: #fff;
}
.tile--lead { min-height: 470px; }
.tile-img { position: absolute; inset: 0; z-index: -2; display: block; }
.tile-img img, .tile-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile-img .ph-match { align-items: flex-start; padding-top: 9%; }
.tile-img .ph-sport { align-items: flex-start; padding-top: 12%; }
.tile:not(.tile--lead) .tile-img .ph-match { padding-top: 7%; }
.tile:not(.tile--lead) .tile-img .ph-team .club-logo { width: 14cqi !important; height: 14cqi !important; }
.tile:not(.tile--lead) .tile-img .ph-score { font-size: 11cqi; }
.tile:not(.tile--lead) .tile-img .ph-name { display: none; }
.tile:hover .tile-img img { transform: scale(1.045); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--navy-fade), 0) 28%, rgba(var(--navy-fade), .62) 62%, rgba(9, 14, 36, .96) 100%);
}
.tile--lead::before {
  content: ""; position: absolute; top: 28px; left: -26px; width: 110px; height: 6px; z-index: 1;
  background: var(--brand); transform: rotate(-40deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.tile-body { align-self: flex-end; width: 100%; padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.tile-title { margin: 0; font-size: 1.32rem; font-weight: 700; line-height: 1.06; text-wrap: balance; }
.tile-title a:hover { color: var(--brand-300); }
.tile--lead .tile-body { padding: 24px 26px 24px; }
.tile--lead .tile-title { font-size: clamp(2rem, 3.4vw, 2.85rem); font-weight: 800; line-height: 1.02; }
.tile-excerpt { margin: 0; color: #d6dcf0; font-size: .98rem; line-height: 1.5; max-width: 62ch; }
.tile-meta { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: #b8c1dc; }
.tile .kicker { font-size: .72rem; }

/* ============================================================
   9. KARTICE, RETCI, MINI, REZERVNE SLIKE
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-ad { grid-column: 1 / -1; }
.grid-ad:empty { display: none; }

.card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-3); }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 14px 16px 14px; }
.card-title { margin: 0; font-size: 1.32rem; font-weight: 700; line-height: 1.08; text-wrap: balance; }
.card-title a:hover, .row-card-title a:hover, .mini-title a:hover, .rank-list a:hover { color: var(--brand-600); }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--ink-3); }
.card-meta .author { font-weight: 700; color: var(--ink-2); }
.card-meta .author:hover { color: var(--brand-600); }

.row-list { display: flex; flex-direction: column; gap: 14px; }
.row-card {
  display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 20px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.row-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.row-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-3); }
.row-card-img img, .row-card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.row-card:hover .row-card-img img { transform: scale(1.05); }
.row-card-body { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-width: 0; padding: 14px 20px 14px 0; }
.row-card-title { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.06; text-wrap: balance; }
.row-card-excerpt { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.row-card .card-meta { margin-top: 2px; }

.mini { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.mini:first-child { padding-top: 0; }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--night-3); }
.mini-img img, .mini-img .ph { width: 100%; height: 100%; object-fit: cover; }
.mini-title { margin: 0 0 3px; font-size: 1.04rem; font-weight: 700; line-height: 1.12; }
.mini time, .rank-list time { font-size: .74rem; color: var(--ink-3); }

.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.rank-list li { counter-increment: rk; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.rank-list li:first-child { padding-top: 2px; }
.rank-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-list li::before { content: counter(rk); grid-row: span 2; font: 800 2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.4px var(--brand); }
.rank-list a { font: 700 1.04rem/1.14 var(--display); }

/* Rezervna slika: grafika utakmice ili ikona sporta */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; container-type: inline-size;
  color: rgba(255, 255, 255, .3); background: radial-gradient(120% 130% at 15% 0%, #2a3f9e 0%, #131b3a 52%, #0a0e1b 100%);
}
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px); }
.ph::after { content: ""; position: absolute; top: 14%; left: -6%; width: 34%; height: 4%; min-height: 3px; background: var(--brand); transform: rotate(-38deg); opacity: .9; }
.ph-sport .ico { position: relative; width: 26%; height: auto; max-width: 96px; stroke-width: 1.2; }
.ph-match { gap: 5%; color: #fff; }
.ph-team { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 30%; min-width: 0; }
.ph-team .club-logo {
  width: 17cqi !important; height: 17cqi !important; min-width: 22px; min-height: 22px;
  border-radius: 22%; background: #fff; padding: 1.4cqi; box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.ph-team .club-mono { font-size: 6.4cqi !important; border-radius: 50%; padding: 0; }
.ph-name { max-width: 100%; font: 700 5.2cqi/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-score { position: relative; z-index: 1; font: 800 13cqi/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.mini-img .ph-name { display: none; }

/* Rezultat preko slike kartice */
.card-match {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 9px 4px 5px; border-radius: 999px; background: rgba(9, 13, 30, .86); color: #fff;
  backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.card-match .club-logo { width: 22px !important; height: 22px !important; border-radius: 50%; background: #fff; padding: 2px; }
.card-match .club-mono { padding: 0; font-size: 9px !important; }
.cm-score { font: 800 1.08rem/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cm-time { font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.card-match.is-live { background: var(--live); }
.cm-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: bps-pulse 1.4s infinite; }
.tile > .card-match { top: 14px; right: 14px; left: auto; bottom: auto; }

/* ============================================================
   10. RASPORED STRANICE (glavni stupac + bočna traka)
   ============================================================ */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: stretch; margin: 26px 0 44px; }
.layout-main { min-width: 0; }
.layout-rail { display: grid; gap: 18px; align-content: start; min-width: 0; }
.layout-rail > :last-child { position: sticky; top: calc(var(--header-h) + 16px); }
.admin-bar .layout-rail > :last-child { top: calc(var(--header-h) + 48px); }
.layout--single { margin-top: 12px; }

/* Blokovi sportova na naslovnici */
.sport-block-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sport-block-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.sport-block-list .mini:first-child { padding-top: 0; }

/* Zid klubova / popis klubova */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.club-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 18px 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.club-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--club, var(--brand)); }
.club-tile:hover { transform: translateY(-3px); border-color: var(--club, var(--brand)); box-shadow: var(--shadow-hover); }
.club-tile-logo { display: grid; place-items: center; height: 60px; }
.club-tile-name { font: 700 1.08rem/1.1 var(--display); }
.club-tile-sub { font-size: .7rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.clubs-wall { margin-top: 10px; }

/* ============================================================
   11. UTAKMICE (retci, forma, ishodi)
   ============================================================ */
.mlist { display: flex; flex-direction: column; }
.mlist-day {
  padding: 16px 4px 7px; font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.mlist-day:first-child { padding-top: 2px; }
.mlist-empty { margin: 4px 0; color: var(--ink-3); font-size: .92rem; }
.mrow {
  display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 8px; border-bottom: 1px solid var(--line-2); transition: background .12s ease;
}
a.mrow:hover { background: var(--surface-2); }
.mrow:last-child { border-bottom: 0; }
.mrow-when { display: flex; flex-direction: column; gap: 3px; align-self: stretch; justify-content: center; padding-right: 10px; border-right: 1px solid var(--line-2); font-size: .74rem; color: var(--ink-3); line-height: 1.15; }
.mrow-d { font-weight: 600; }
.mrow-t { font: 700 .95rem/1 var(--display); color: var(--ink); }
.mrow-when .st { font-size: .74rem; }
.mrow-when .st-ft { color: var(--ink-2); }
.mrow-when .st-up { color: var(--brand-600); }
.mrow-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mrow-comp { font-size: .68rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow-team { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; font-size: .93rem; font-weight: 600; line-height: 1.2; }
.mrow-team .club-logo { width: 22px !important; height: 22px !important; }
.mrow-team .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-team .s { font: 800 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; min-width: 1.4ch; text-align: right; }
.mrow:has(.is-win) .mrow-team:not(.is-win) { color: var(--ink-3); }
.mrow-team.is-ctx .n { font-weight: 800; }
.mrow.is-live { box-shadow: inset 3px 0 0 var(--live); }
.mrow.is-live .s { color: var(--live); }

.res { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font: 800 .88rem/1 var(--display); color: #fff; }
.res-P { background: var(--win); }
.res-N { background: var(--draw); }
.res-I { background: var(--loss); }

.form { display: inline-flex; gap: 4px; }
.fm { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font: 800 .8rem/1 var(--display); color: #fff; }
.fm-P { background: var(--win); }
.fm-N { background: var(--draw); }
.fm-I { background: var(--loss); }
a.fm:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.form--xs { gap: 2px; }
.form--xs .fm { width: 16px; height: 16px; font-size: .62rem; border-radius: 3px; }

/* ============================================================
   12. TABLICE
   ============================================================ */
.stand { min-width: 0; }
.stand-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.stand-title { margin: 0; display: flex; align-items: center; gap: 8px; font: 800 1.12rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.stand-title .ico { width: 18px; height: 18px; color: var(--brand); }
.stand-title a:hover { color: var(--brand-600); }
.stand-season { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.box--flush .stand-head { padding: 14px 16px 0; }
.stand-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stand-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.stand-table th {
  padding: 8px 6px 7px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line);
  font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); background: var(--surface-2);
}
.stand-table td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.stand-table tbody tr:last-child td { border-bottom: 0; }
.stand-table tbody tr:hover td { background: var(--surface-2); }
.stand-table .c-pos { width: 38px; padding-left: 10px; }
.stand-table td.c-pos span { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding: 0 4px; border-radius: 7px; background: var(--line-2); font: 700 .88rem/1 var(--display); color: var(--ink-2); }
.stand-table .z-promo td.c-pos span { background: var(--promo); color: #fff; }
.stand-table .z-qual td.c-pos span { background: var(--qual); color: #fff; }
.stand-table .z-releg td.c-pos span { background: var(--releg); color: #fff; }
.stand-table .c-club { text-align: left; width: 100%; max-width: 0; }
.stand-table .c-club a, .stand-table .c-wrap { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; }
.stand-table .c-club a:hover .c-name { color: var(--brand-600); }
.stand-table .c-club .club-logo { width: 22px !important; height: 22px !important; }
.stand-table .c-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stand-table .c-num { color: var(--ink-2); }
.stand-table .c-diff { color: var(--ink-2); font-weight: 600; }
.stand-table td.c-pts { font: 800 1.05rem/1 var(--display); color: var(--ink); }
.stand-table .c-pts { padding-right: 12px; }
.stand-table th.c-pts { color: var(--ink-2); }
.stand-table tr.is-hl td { background: var(--brand-50); }
.stand-table tr.is-hl .c-name { font-weight: 800; color: var(--brand-700); }
.stand-table tr.is-hl td.c-pos span { box-shadow: 0 0 0 2px var(--brand); }
.stand--compact .stand-table { font-size: .86rem; }
.stand--compact .stand-table th, .stand--compact .stand-table td { padding-left: 4px; padding-right: 4px; }
.stand-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 2px 0; font-size: .74rem; color: var(--ink-3); }
.box--flush .stand-foot { padding: 10px 16px 14px; }
.stand-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.lg { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.lg-promo::before { background: var(--promo); }
.lg-qual::before { background: var(--qual); }
.lg-releg::before { background: var(--releg); }
.stand-upd { font-weight: 600; }
.stand-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.stand-src a:hover { color: var(--brand-600); }

/* HRnogomet / ugrađene tablice */
.stand-embed--hrn { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stand-embed--hrn iframe { display: block; width: 100%; height: var(--h); border: 0; }
@media (max-width: 760px) {
  .stand-embed--hrn { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .stand-embed--hrn iframe { height: calc(var(--h) * 1.18); }
}
.stand-links { list-style: none; margin: 0; padding: 0; }
.stand-links li + li { border-top: 1px solid var(--line-2); }
.box--stand .tabpanel + .stand-links, .box--stand .stand + .stand-links { margin-top: 10px; border-top: 1px solid var(--line); }
.stand-links a { display: flex; align-items: center; gap: 10px; padding: 11px 2px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.stand-links a:hover { color: var(--brand-600); }
.stand-links a span { flex: 1; min-width: 0; }
.stand-links .ico { width: 17px; height: 17px; flex: none; color: var(--brand); }
.stand-links .ico:last-child { width: 15px; height: 15px; color: var(--ink-3); }
.stand-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
.stand-link:hover { border-color: var(--brand); }
.stand-link > .ico:first-child { width: 22px; height: 22px; color: var(--brand); flex: none; }
.stand-link span { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stand-link small { color: var(--ink-3); font-size: .8rem; }
.stand-link > .ico:last-child { width: 16px; height: 16px; color: var(--ink-3); }
/* HRnogomet rezultati po kolima: birač kola */
.hrn-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.hrn-step { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.hrn-step:hover { border-color: var(--brand); color: var(--brand-600); }
.hrn-step[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.hrn-step .ico { width: 18px; height: 18px; }
.hrn-form { margin: 0; display: flex; gap: 8px; }
.hrn-round {
  height: 42px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8499' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 15px;
  font: 800 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer;
}
.hrn-round:hover, .hrn-round:focus { border-color: var(--brand); outline: none; }
.hrn-go { height: 42px; padding: 0 16px; border: 0; border-radius: var(--radius-s); background: var(--brand); color: #fff; font: 700 .95rem/1 var(--display); text-transform: uppercase; }
.hrn-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: .78rem; font-weight: 700; }
.hrn-badge[hidden] { display: none; }

.table-frame { margin: 0 0 26px; }
.tables-grid + .table-frame { margin-top: 28px; }
.table-frame-title { margin: 0 0 10px; font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.table-frame-title a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.table-frame-title .ico { width: 18px; height: 18px; color: var(--brand); }
.table-frame-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; }
.table-frame-head .table-frame-title { margin: 0; }
.table-frame-more { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); }
.table-frame-more .ico { width: 15px; height: 15px; transition: transform .15s ease; }
.table-frame-more:hover { color: var(--ink); }
.table-frame-more:hover .ico { transform: translateX(3px); }

/* Lige na stranici sporta */
.league-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.league-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px 14px 19px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.league-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--league, var(--brand)); }
.league-card-title { margin: 0; font: 800 1.18rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.league-card-title a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.league-card-title a:hover { color: var(--brand-600); }
.league-card-title .ico { width: 18px; height: 18px; flex: none; color: var(--brand); }
.league-card-meta { margin: 0; font-size: .84rem; color: var(--ink-3); }
.league-card-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.league-card-links a {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  font: 700 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); background: var(--surface-2);
}
.league-card-links a:hover { border-color: var(--brand); color: var(--brand-600); background: var(--surface); }

/* Rezultati: widget rezultata svake lige */
.hrn-league { scroll-margin-top: calc(var(--header-h) + 12px); }
.league-desc { margin-top: 18px; }

/* Klubovi grupirani po ligama */
.club-group + .club-group { margin-top: 28px; }
.club-group-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px; font: 800 1.18rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.club-group-title a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.club-group-title a:hover { color: var(--brand-600); }
.club-group-title .ico { width: 18px; height: 18px; color: var(--brand); align-self: center; }
.club-group-n { font: 600 .82rem/1 var(--font); color: var(--ink-3); text-transform: none; letter-spacing: 0; }

/* Zadani WordPress blokovi u bočnoj traci (Pretraga, Najnovije objave…) */
.widget .wp-block-search__label, .widget .wp-block-heading, .widget > h2:not(.box-title) { display: block; margin: 0 0 12px; font: 800 1.22rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.widget .wp-block-search__label::before, .widget .wp-block-heading::before, .widget > h2:not(.box-title)::before { content: ""; display: inline-block; width: 7px; height: .95em; margin-right: 9px; vertical-align: -.1em; background: var(--brand); transform: skewX(-18deg); }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); font: inherit; background: var(--surface-2); }
.widget .wp-block-search__button { margin: 0; padding: 11px 16px; border: 0; border-radius: var(--radius-s); background: var(--brand); color: #fff; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.widget .wp-block-search__button:hover { background: var(--brand-600); }
.widget .wp-block-latest-posts a, .widget .wp-block-archives a, .widget .wp-block-categories a, .widget .wp-block-page-list a { font-weight: 600; color: var(--ink); }
.widget .wp-block-latest-posts a:hover, .widget .wp-block-archives a:hover, .widget .wp-block-categories a:hover { color: var(--brand-600); }
.stand-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); }
.stand-more .ico { width: 15px; height: 15px; }
.stand-note { font-size: .86rem; color: var(--ink-3); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; margin: 0; }
.stand-embed iframe { width: 100%; border: 0; }
.stand--inline { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.stand--inline .stand-head { padding: 12px 14px 0; }
.stand--inline .stand-foot { padding: 10px 14px 12px; }
.tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 18px; }

/* ============================================================
   13. ZAGLAVLJA RUBRIKA (sport, liga, stranice), PRIKAZI, PUTANJA
   ============================================================ */
.band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 12px 0 22px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--band, #4169f0) 72%, #0a0e1b) 0%, #111a38 46%, #0a0e1b 100%);
}
.band::before, .club-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .03) 0 16px, transparent 16px 32px);
}
.band::after, .club-hero::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 380px; height: 380px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 163, 255, .22), transparent);
}
.band-head { display: flex; align-items: center; gap: 16px; margin: 16px 0 16px; }
.band-icon { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.band-icon .ico { width: 36px; height: 36px; stroke-width: 1.6; }
.band-title { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.band-desc { margin: 6px 0 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.band-desc p { margin: 0; }
.band--compact { padding-bottom: 18px; }

.view-tabs { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px -6px rgba(16, 24, 48, .2); }
.view-tabs-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.view-tabs-inner::-webkit-scrollbar { display: none; }
.view-tabs a {
  flex: none; padding: 15px 14px 12px; border-bottom: 3px solid transparent; white-space: nowrap;
  font: 700 .98rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
}
.view-tabs a:hover { color: var(--ink); }
.view-tabs a.is-current { color: var(--ink); border-bottom-color: var(--brand); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 10px 0 0; font-size: .78rem; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--brand); opacity: .7; }
.crumbs a:hover { color: var(--brand-600); }
.crumbs li[aria-current] { color: var(--ink-2); font-weight: 600; }
.crumbs--light ol { color: rgba(255, 255, 255, .6); }
.crumbs--light li + li::before { color: var(--brand-300); }
.crumbs--light a:hover { color: #fff; }
.crumbs--light li[aria-current] { color: rgba(255, 255, 255, .9); }
.crumbs--single ol { padding-top: 16px; }

.page-head { margin: 26px 0 20px; }
.page-head .sec-head { margin-bottom: 8px; }
.page-title { margin: 8px 0 4px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
.page-desc { color: var(--ink-2); max-width: 72ch; margin: 0; }
.archive-lead { margin: 0 0 22px; }
.archive-lead .tile--lead { min-height: 400px; }
.page-wide { padding-top: 26px; padding-bottom: 20px; }
.page-narrow { max-width: 900px; margin-bottom: 44px; }
.page-narrow .article { margin-top: 14px; }
.page-intro { margin-bottom: 18px; }

/* ============================================================
   14. STRANICA KLUBA
   ============================================================ */
.club-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 12px 0 30px;
  background: linear-gradient(115deg, var(--club, var(--brand)) 0%, color-mix(in srgb, var(--club, var(--brand)) 42%, #0a0e1b) 34%, #0a0e1b 80%);
}
.club-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: end; margin-top: 22px; }
.club-id { display: flex; align-items: center; gap: 22px; min-width: 0; }
.club-hero-logo {
  width: 132px; height: 132px; flex: none; display: grid; place-items: center; border-radius: 30px; background: #fff;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .1);
}
.club-hero-logo .club-logo { width: 100px !important; height: 100px !important; }
.club-hero-logo .club-logo--small { width: var(--nat) !important; height: var(--nat) !important; }
.club-hero-logo .club-mono { width: 132px !important; height: 132px !important; font-size: 52px !important; border-radius: 30px; box-shadow: none; }
.club-id-text { min-width: 0; }
.club-kicks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.club-league { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font: 700 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.club-league .ico { width: 14px; height: 14px; }
.club-league:hover { background: rgba(255, 255, 255, .12); }
.club-name { margin: 10px 0 10px; font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; line-height: .92; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.club-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; font-size: .9rem; color: rgba(255, 255, 255, .82); }
.club-facts li { display: inline-flex; align-items: center; gap: 6px; }
.club-facts .ico { width: 16px; height: 16px; color: var(--brand-300); }
.club-links { display: flex; gap: 8px; margin-top: 14px; }
.club-links a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.club-links a:hover { background: #fff; color: var(--ink); }
.club-links .ico { width: 17px; height: 17px; }
.club-panel { display: flex; flex-direction: column; gap: 10px; min-width: 290px; }
.club-stat, .club-next {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 13px; backdrop-filter: blur(6px);
}
a.club-stat:hover, a.club-next:hover { background: rgba(255, 255, 255, .14); }
.club-stat b { font: 800 2.3rem/1 var(--display); }
.club-stat span { font-size: .86rem; color: rgba(255, 255, 255, .85); }
.club-stat--form { justify-content: space-between; }
.club-next { flex-direction: column; align-items: stretch; gap: 8px; }
.club-next-row { display: flex; align-items: center; gap: 12px; }
.club-next-row .club-logo { width: 34px !important; height: 34px !important; background: #fff; border-radius: 10px; padding: 3px; }
.club-next-row .club-mono { padding: 0; border-radius: 50%; }
.club-next-txt { display: flex; flex-direction: column; min-width: 0; font-size: .82rem; color: rgba(255, 255, 255, .78); }
.club-next-txt strong { font: 700 1.12rem/1.15 var(--display); color: #fff; }
.lbl { font: 700 .74rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .66); }
.club-desc { margin-top: 18px; max-width: 80ch; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.club-desc p { margin: 0; }

/* ============================================================
   15. ČLANAK
   ============================================================ */
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3.4vw, 40px); min-width: 0; }
.article-head .kicker { margin-bottom: 12px; }
.entry-title { margin: 0 0 12px; font-size: clamp(2rem, 4.4vw, 3.05rem); font-weight: 800; line-height: 1.01; letter-spacing: -.005em; text-wrap: balance; }
.entry-sub { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); }
.entry-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entry-byline .avatar { width: 40px; height: 40px; border-radius: 50%; }
.who { font-size: .9rem; line-height: 1.35; }
.who a { font-weight: 800; }
.who a:hover { color: var(--brand-600); }
.when { display: block; font-size: .8rem; color: var(--ink-3); }
.share-row { margin-left: auto; display: flex; gap: 6px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); transition: all .15s ease; }
.share-btn .ico { width: 16px; height: 16px; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-viber:hover { background: #7360f2; border-color: #7360f2; color: #fff; }
.share-x:hover { background: #000; border-color: #000; color: #fff; }
.share-copy:hover, .share-copy.is-copied { background: var(--brand); border-color: var(--brand); color: #fff; }

.featured-image { margin: 18px 0 6px; }
.featured-image img { width: 100%; height: auto; border-radius: var(--radius-s); }
.featured-image figcaption { padding: 8px 2px 0; font-size: .8rem; color: var(--ink-3); }

/* Semafor utakmice */
.sb {
  position: relative; overflow: hidden; isolation: isolate; margin: 18px 0 8px; padding: 16px 20px 16px; color: #fff; border-radius: var(--radius);
  background: radial-gradient(130% 150% at 0% 0%, #2b41a8 0%, #141d40 44%, #0a0e1b 100%); box-shadow: 0 18px 40px -22px rgba(10, 14, 27, .9);
}
.sb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px); }
.sb::after { content: ""; position: absolute; top: 22px; left: -28px; width: 110px; height: 6px; background: var(--brand); transform: rotate(-40deg); z-index: -1; }
.sb.is-live { box-shadow: inset 0 3px 0 var(--live), 0 18px 40px -22px rgba(10, 14, 27, .9); }
.sb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--on-night-2); }
.sb-comp { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 700 .9rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--on-night); }
.sb-comp .ico { width: 18px; height: 18px; color: var(--brand-300); }
.sb-comp a:hover { color: var(--brand-300); }
.sb-top .st { font: 700 .88rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px 4px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.sb-top .st-live { background: var(--live); color: #fff; }
.sb-top .st-live i { background: #fff; }
.sb-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin: 20px 0 16px; }
.sb-team { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; color: #fff; min-width: 0; }
.sb-logo { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 24px; background: #fff; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .55); transition: transform .2s ease; }
a.sb-team:hover .sb-logo { transform: translateY(-3px); }
.sb-logo .club-logo { width: 68px !important; height: 68px !important; }
.sb-logo .club-mono { width: 92px !important; height: 92px !important; border-radius: 24px; font-size: 36px !important; box-shadow: none; }
.sb-name { font: 700 1.4rem/1.05 var(--display); text-wrap: balance; }
.sb-role { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--on-night-2); }
.sb-score { display: flex; align-items: center; gap: 12px; font: 800 clamp(3rem, 8vw, 4.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.sb-score i { font-style: normal; font-size: .6em; color: var(--on-night-2); transform: translateY(-.06em); }
.sb-team:not(.is-win) .sb-name { color: #fff; }
.sb-main:has(.is-win) .sb-team:not(.is-win) .sb-name { color: var(--on-night-2); }
.sb-time { display: block; font: 800 clamp(2.4rem, 6vw, 3.4rem)/1 var(--display); }
.sb-date { display: block; margin-top: 6px; text-align: center; font: 700 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-300); }
.sb-score:has(.sb-time) { flex-direction: column; gap: 0; }
.sb-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding-top: 12px; border-top: 1px solid var(--night-line); font-size: .84rem; color: var(--on-night-2); }
.sb-foot span { display: inline-flex; align-items: center; gap: 6px; }
.sb-foot .ico { width: 15px; height: 15px; color: var(--brand-300); }
.sb-info { margin-top: 10px; text-align: center; font-size: .88rem; color: #cfd6ea; }
.sb.is-live .sb-score b { color: #fff; }

/* Više utakmica (pregled kola) */
.sb-list { margin: 18px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sb-list-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--night-2); color: #fff; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.sb-list-head .ico { width: 17px; height: 17px; color: var(--brand-300); }
.sb-list .mlist { padding: 4px 8px; }

/* Sadržaj članka */
.entry-content { margin-top: 18px; font-size: 1.1rem; line-height: 1.78; overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content p { margin: 0; }
.entry-content > p + p { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .5em; line-height: 1.12; }
.entry-content h2 { font-size: 1.85rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--ink); }
.entry-content .stand a, .entry-content .mlist a, .entry-content .chip { text-decoration: none; color: inherit; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 22px; background: var(--surface-2); border-left: 5px solid var(--brand); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 1.14rem; font-style: italic; color: var(--ink-2); }
.entry-content blockquote p { margin: 0; }
.entry-content img, .entry-content figure { border-radius: var(--radius-s); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption, .wp-caption-text { font-size: .82rem; color: var(--ink-3); margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content table:not(.stand-table) { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content table:not(.stand-table) th, .entry-content table:not(.stand-table) td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.entry-content table:not(.stand-table) th { background: var(--surface-2); font-weight: 700; }
.entry-content iframe { max-width: 100%; border-radius: var(--radius-s); }
.wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.gallery, .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.page-links { margin-top: 1.4em; font-weight: 700; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.entry-tags a { padding: 6px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.entry-tags a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.entry-share-end { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.entry-share-end .share-row { margin-left: 0; }
.related { margin-top: 30px; }
.mlist-wrap { margin: 1.4em 0; }

/* Galerija članka + lightbox */
.post-gallery { margin-top: 30px; }
.post-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.post-gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-s); background: var(--line-2); }
.post-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-gallery-grid a:hover img { transform: scale(1.05); }
.pg-lightbox { position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; background: rgba(7, 10, 22, .96); }
.pg-lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.pg-close, .pg-nav { position: absolute; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.pg-close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 1.6rem; }
.pg-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.3rem; }
.pg-close:hover, .pg-nav:hover { background: var(--brand); }
.pg-prev { left: 16px; }
.pg-next { right: 16px; }
.pg-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cdd6f5; font-size: .9rem; font-weight: 600; }

/* ============================================================
   16. PRAZNA STANJA, AUTOR, PRETRAGA
   ============================================================ */
.empty-state { max-width: 580px; margin: 0 auto; padding: 70px 20px; text-align: center; }
.empty-state .big { margin: 0 0 8px; color: var(--brand); display: flex; justify-content: center; }
.empty-state .big .ico { width: 64px; height: 64px; stroke-width: 1.3; }
.big--score { font: 800 clamp(4rem, 14vw, 7.5rem)/1 var(--display) !important; color: var(--ink) !important; letter-spacing: .04em; }
.big--score span { color: var(--brand); padding: 0 .06em; }
.empty-state h1, .empty-state h2 { margin: 0 0 10px; font-size: 1.9rem; text-transform: uppercase; }
.empty-state p { margin: 0 0 22px; color: var(--ink-2); }
.search-form { display: flex; gap: 8px; }
.empty-state .search-form input[type="search"], .widget .search-form input[type="search"] { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); }
.empty-state .search-form button, .widget .search-form button { padding: 12px 20px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.empty-state .search-form button:hover { background: var(--brand-600); }
.author-hero { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; margin: 26px 0 24px; padding: clamp(20px, 4vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.author-hero .avatar { width: 112px; height: 112px; border-radius: 50%; }
.author-hero p { margin: 0 0 6px; color: var(--ink-2); }
.author-stats { font-size: .88rem; font-weight: 600; color: var(--ink-3) !important; }

/* ============================================================
   17. PAGINACIJA
   ============================================================ */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 10px; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font: 700 1rem/1 var(--display);
}
.pagination .page-numbers .ico { width: 18px; height: 18px; }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-600); }
.pagination .dots { border: 0; background: none; }

/* ============================================================
   18. PODNOŽJE
   ============================================================ */
.site-footer { position: relative; margin-top: 44px; background: var(--night); color: var(--on-night-2); font-size: .92rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-300) 50%, var(--brand) 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 34px; padding-block: 50px 38px; }
.footer-col h3 { margin: 0 0 16px; color: #fff; font-size: 1.12rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.footer-col h3::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 8px; background: var(--brand); transform: skewX(-18deg); }
.brand-link--footer { margin-bottom: 14px; }
.brand-link--footer .brand-logo { height: 84px; }
.footer-about p { margin: 0 0 16px; line-height: 1.65; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-list a { display: flex; align-items: center; gap: 9px; min-height: 24px; color: var(--on-night); }
.footer-list a:hover { color: var(--brand-300); }
.footer-list .ico { width: 16px; height: 16px; color: var(--brand-300); }
.footer-list .club-logo { width: 20px !important; height: 20px !important; }
.footer-more a { color: var(--brand-300); font-weight: 700; }
.footer-social { display: flex; gap: 8px; margin-bottom: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-night); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-social .ico { width: 17px; height: 17px; }
.footer-main { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-300); font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.footer-main .ico { width: 15px; height: 15px; }
.footer-main:hover { color: #fff; }
.site-footer .mini { border-color: var(--night-line); }
.site-footer .mini-title a { color: var(--on-night); }
.site-footer .mini-title a:hover { color: var(--brand-300); }
.site-footer .mini time { color: var(--on-night-2); }
.footer-bottom { border-top: 1px solid var(--night-line); padding: 18px 0; font-size: .8rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.footer-bottom a { color: var(--on-night); }
.footer-bottom a:hover { color: var(--brand-300); }

/* ============================================================
   19. OGLASI
   ============================================================ */
.ad-zone { position: relative; text-align: center; margin: 18px 0; min-width: 0; }
.ad-zone img { display: inline-block; max-width: 100%; height: auto; border-radius: var(--radius-s); }
.ad-zone picture { display: inline-block; max-width: 100%; }
.ad-zone-label { display: block; margin-bottom: 5px; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.header-ads { margin-top: 18px; }
.header-ads .ad-zone { margin: 0 0 12px; }
.footer-ad .ad-zone { margin: 26px 0 0; }
.entry-content .ad-zone { margin: 1.6em 0; }
.layout-rail .ad-zone { margin: 0; padding: 12px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.ad-rotator { position: relative; display: grid; }
.ad-rotator .ad-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.ad-rotator .ad-slide.active { opacity: 1; visibility: visible; }
.ad-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; line-height: 0; }
.ad-anchor .ad-zone { margin: 0; }
.ad-anchor .ad-zone-label { display: none; }
.ad-anchor picture { display: block; max-width: none; }
.ad-anchor img { display: block; width: 100%; height: auto; border-radius: 0; }
.ad-anchor .ad-zone--code { line-height: normal; background: #fff; padding: 4px 0; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); }
.ad-anchor-close { position: absolute; top: -36px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(10, 14, 27, .9); color: #fff; font-size: 1.15rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.ad-anchor-close:hover { background: var(--brand); }

/* ============================================================
   20. RESPONZIVNO
   ============================================================ */
@media (max-width: 1200px) {
  .layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
  .row-card { grid-template-columns: 220px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout-rail { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .layout-rail > :last-child { position: static; }
  .hero { grid-template-columns: 1fr; }
  .tile--lead { min-height: 420px; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .club-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .club-panel { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-nav { display: none !important; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .hero { margin: 14px 0 26px; gap: 10px; }
  .tile--lead { min-height: 360px; }
  .tile--lead .tile-body { padding: 18px 16px; }
  .tile-excerpt { display: none; }
  .hero-side { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; gap: 10px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .hero-side::-webkit-scrollbar { display: none; }
  .hero-side .tile { flex: 0 0 76%; min-height: 220px; scroll-snap-align: start; }
  .card-grid, .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; gap: 14px; }
  .row-card { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; }
  .row-card-img { aspect-ratio: 1 / 1; }
  .row-card-body { padding: 10px 12px 10px 0; gap: 5px; }
  .row-card-title { font-size: 1.16rem; }
  .row-card-excerpt { display: none; }
  .row-card .card-meta .read-min, .row-card .card-meta .read-min + .sep, .row-card .card-meta .sep:nth-of-type(2) { display: none; }
  .row-card .card-match { left: 6px; bottom: 6px; gap: 4px; padding: 3px 6px 3px 3px; }
  .row-card .card-match .club-logo { width: 16px !important; height: 16px !important; padding: 1px; }
  .row-card .cm-score { font-size: .9rem; }
  .sport-block-grid { grid-template-columns: 1fr; gap: 12px; }
  .league-cards { grid-template-columns: 1fr; gap: 10px; }
  .sec-title { font-size: 1.38rem; }
  .sec { margin-bottom: 28px; }
  .layout { margin: 18px 0 30px; }
  .layout-rail { grid-template-columns: 1fr; }
  .band-head { gap: 12px; }
  .band-icon { width: 52px; height: 52px; border-radius: 14px; }
  .band-icon .ico { width: 28px; height: 28px; }
  .club-id { gap: 16px; align-items: flex-start; }
  .club-hero-logo { width: 88px; height: 88px; border-radius: 22px; }
  .club-hero-logo .club-logo { width: 66px !important; height: 66px !important; }
  .club-hero-logo .club-logo--small { width: min(var(--nat), 66px) !important; height: min(var(--nat), 66px) !important; }
  .club-hero-logo .club-mono { width: 88px !important; height: 88px !important; font-size: 34px !important; border-radius: 22px; }
  .club-name { font-size: clamp(2rem, 9vw, 2.6rem); margin-top: 8px; }
  .club-panel { grid-template-columns: 1fr; }
  .article { border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; padding: 18px 16px 22px; box-shadow: none; }
  .entry-title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .entry-content { font-size: 1.06rem; line-height: 1.72; }
  .entry-byline .share-row { display: none; }
  .sb { margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 14px 14px; }
  .sb-main { gap: 8px; margin: 16px 0 12px; }
  .sb-logo { width: 66px; height: 66px; border-radius: 18px; }
  .sb-logo .club-logo { width: 48px !important; height: 48px !important; }
  .sb-logo .club-mono { width: 66px !important; height: 66px !important; font-size: 26px !important; border-radius: 18px; }
  .sb-name { font-size: 1.1rem; }
  .sb-score { gap: 8px; }
  .sb-list { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .post-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 38px 28px; }
  .footer-bottom .wrap { flex-direction: column; }
  .author-hero { grid-template-columns: 1fr; text-align: center; }
  .author-hero .avatar { margin: 0 auto; }
  .tk { flex-basis: 172px; }
  .tk-label { padding-right: 4px; }
  .tk-label-t { font-size: 1.04rem; }
  .search-close { top: 12px; right: 12px; }
  .pg-nav { width: 40px; height: 40px; }
  .pg-prev { left: 8px; }
  .pg-next { right: 8px; }
  .box--matches { margin-bottom: 22px; }
  .club-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .club-tile { padding: 14px 6px 10px; gap: 6px; }
  .club-tile-logo { height: 44px; }
  .club-tile-logo .club-logo { width: 40px !important; height: 40px !important; }
  .club-tile-logo .club-mono { font-size: 17px !important; }
  .club-tile-name { font-size: .95rem; }
  .club-tile-sub { display: none; }
  .clubs-wall .club-tile:nth-child(n+13) { display: none; }
}
@media (max-width: 420px) {
  .brand-tag { font-size: .8rem; padding: 4px 7px 3px; letter-spacing: .08em; }
  .brand-logo { height: 44px; }
  .mrow { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 9px; padding: 9px 4px; }
  .stand-table { font-size: .84rem; }
}

/* ============================================================
   21. 1.8.0 – PRIJENOS UŽIVO (vremenska crta), PRATIMO S TERENA
   ============================================================ */
.follow-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 3px; border-radius: 999px;
  font: 700 .76rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em;
  background: rgba(239, 59, 59, .14); color: var(--live); border: 1px solid rgba(239, 59, 59, .35); white-space: nowrap;
}
.follow-badge .ico { width: 13px; height: 13px; }
.sb-foot .follow-badge--sb { background: rgba(239, 59, 59, .2); color: #ffb3b3; border-color: rgba(239, 59, 59, .45); }
.sb-foot .follow-badge--sb .ico { color: #ffb3b3; }
.sb-cal { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-300); font-weight: 600; }
.sb-cal:hover { color: #fff; }

.mtag { display: inline-block; margin-left: 6px; padding: 2px 6px 1px; border-radius: 4px; font-size: .62rem; letter-spacing: .05em; vertical-align: 1px; }
.mrow-comp .mtag:first-child { margin-left: 0; }
.mtag--fol { background: rgba(239, 59, 59, .12); color: var(--live); }
.mtag--ext { background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }
.mtag--own { background: var(--brand-50); color: var(--brand-700); }
.tk.is-fol { box-shadow: inset 0 2px 0 var(--live); }

.tl { margin: 18px 0 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 6px; box-shadow: var(--shadow); }
.article .tl { box-shadow: none; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.tl-h { margin: 0; display: flex; align-items: center; gap: 9px; font: 800 1.28rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.tl-h::before { content: ""; width: 8px; height: 1em; background: var(--live); transform: skewX(-18deg); }
.tl.is-done .tl-h::before { background: var(--brand); }
.tl-list { list-style: none; margin: 0; padding: 0; }
.tl-it { display: grid; grid-template-columns: 44px 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line-2); }
.tl-it:first-child { border-top: 0; }
.tl-it.is-new { animation: bps-tl-in .9s ease; }
@keyframes bps-tl-in { from { background: rgba(65, 105, 240, .12); } to { background: transparent; } }
.tl-min { font: 800 1.12rem/30px var(--display); text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.tl-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.tl-ico .ico { width: 17px; height: 17px; }
.tl-gol .tl-ico { background: var(--win); color: #fff; }
.tl-kraj .tl-ico, .tl-pocetak .tl-ico, .tl-poluvrijeme .tl-ico { background: var(--night); color: #fff; }
.tl-foto .tl-ico { background: var(--brand-50); color: var(--brand); }
.tl-card { display: block; width: 12px; height: 16px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.tl-card--y { background: #f5c518; }
.tl-card--r { background: #e5292f; }
.tl-body { min-width: 0; }
.tl-body p { margin: 0; }
.tl-title { font-size: .98rem; line-height: 1.35; padding-top: 4px; }
.tl-gol .tl-title b { font-family: var(--display); font-size: 1.16rem; text-transform: uppercase; letter-spacing: .02em; }
.tl-sc { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 6px; background: var(--night); color: #fff; font: 800 .98rem/1.4 var(--display); }
.tl-who { color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.tl-txt { margin-top: 3px !important; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.tl-img { display: block; margin-top: 8px; max-width: 480px; }
.tl-img img { border-radius: var(--radius-s); width: 100%; height: auto; }
.tl-empty { margin: 4px 0 12px; color: var(--ink-3); font-size: .92rem; }
.tl-tpl { display: none; }
.tl-details { margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.tl-details > summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; font-weight: 700; list-style: none; }
.tl-details > summary::-webkit-details-marker { display: none; }
.tl-details > summary em { margin-left: auto; font: 700 .76rem/1 var(--display); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); }
.tl-details[open] > summary { border-bottom: 1px solid var(--line-2); }
.tl-details .tl { margin: 0; border: 0; box-shadow: none; border-radius: 0; }
.tl-details .tl-head { display: none; }
@media (max-width: 760px) {
  .tl { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; padding: 14px 14px 4px; }
  .tl-it { grid-template-columns: 36px 28px minmax(0, 1fr); gap: 8px; }
  .tl-ico { width: 28px; height: 28px; }
  .tl-min { line-height: 28px; font-size: 1.02rem; }
}

/* ============================================================
   22. 1.8.0 – MOJ KLUB, PRETRAGA S PONUDAMA, DONJA NAVIGACIJA
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px 9px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font: 800 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em;
}
.btn:hover { background: var(--brand-600); }
.btn .ico { width: 16px; height: 16px; }
.btn--sm { padding: 7px 11px 6px; font-size: .82rem; border-radius: 8px; }
.btn--ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand-700); }
.sec-more--btn { background: none; border: 0; padding: 0; cursor: pointer; }

.myclub-btn { position: relative; }
.myclub-btn.is-on { color: #ffd34d; border-color: rgba(255, 211, 77, .45); }
.myclub-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #ffd34d; color: #1d1600; font: 800 .7rem/18px var(--font); text-align: center;
}
.follow-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 9px 16px 8px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff;
  font: 800 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; transition: background .15s ease, color .15s ease;
}
.follow-btn:hover { background: rgba(255, 255, 255, .2); }
.follow-btn .ico { width: 18px; height: 18px; }
.follow-btn .follow-on, .follow-btn .follow-t--on { display: none; }
.follow-btn.is-on { background: #ffd34d; border-color: #ffd34d; color: #1d1600; }
.follow-btn.is-on .follow-on, .follow-btn.is-on .follow-t--on { display: inline-flex; }
.follow-btn.is-on .follow-off, .follow-btn.is-on .follow-t--off { display: none; }
.follow-t--on { align-items: baseline; gap: 8px; }
.follow-t--on small { font: 600 .72rem/1 var(--font); text-transform: none; letter-spacing: 0; opacity: .75; }

.sec-ico--star { background: #ffd34d; color: #1d1600; }
.my-news-clubs { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.my-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.my-news-it { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px; }
.my-news-it .kicker { margin-bottom: 3px; }
.my-news-it .mini-time { font-size: .76rem; color: var(--ink-3); }
.my-news-load { color: var(--ink-3); }
.my-news-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.my-news-empty p { margin: 0; flex: 1 1 320px; color: var(--ink-2); }
.thumb-ph--mini { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--night-3), var(--night)); }
.tk.is-mine { border-color: rgba(255, 211, 77, .7); box-shadow: inset 0 -2px 0 #ffd34d; }
.tk.is-mine .tk-comp::before { content: "★ "; color: #ffd34d; }
.mrow.is-mine { background: linear-gradient(90deg, rgba(255, 211, 77, .16), transparent 55%); }

/* Panel „Moji klubovi” i ostali dijalozi */
.myclub, .report {
  position: fixed; inset: 0; z-index: 240; display: flex; align-items: flex-start; justify-content: center;
  padding: 9vh 16px 16px; background: rgba(7, 10, 22, .72); backdrop-filter: blur(4px);
}
.myclub[hidden], .report[hidden] { display: none; }
.myclub-box, .report-box {
  width: min(560px, 100%); max-height: 84vh; overflow: auto; background: var(--surface); border-radius: 18px; padding: 18px 18px 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); border-top: 4px solid #ffd34d;
}
.report-box { border-top-color: var(--brand); }
.myclub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.myclub-head h2 { margin: 0; display: flex; align-items: center; gap: 9px; font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.myclub-head h2 .ico { width: 22px; height: 22px; color: #e8b400; }
.myclub-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; cursor: pointer; }
.myclub-close .ico { width: 20px; height: 20px; }
.myclub-note { margin: 6px 0 12px; font-size: .84rem; color: var(--ink-3); }
.myclub-list { list-style: none; margin: 0 0 6px; padding: 0; }
.myclub-it { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.myclub-club { display: flex; align-items: center; gap: 10px; min-width: 0; }
.myclub-club span { display: flex; flex-direction: column; min-width: 0; }
.myclub-club b { font: 700 1.08rem/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.myclub-club small { font-size: .78rem; color: var(--ink-3); }
.myclub-links { display: flex; gap: 6px; }
.myclub-links a { padding: 6px 9px 5px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); font: 700 .76rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); }
.myclub-links a:hover { border-color: var(--brand); }
.myclub-rm { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; line-height: 1; color: var(--ink-3); cursor: pointer; }
.myclub-rm:hover { color: var(--loss); border-color: var(--loss); }
.myclub-empty { margin: 4px 0 10px; color: var(--ink-2); }
.myclub-add { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.myclub-add label { display: block; font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.myclub-add input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; background: var(--surface-2); }
.myclub-add input:focus { outline: 2px solid var(--brand); outline-offset: 1px; background: var(--surface); }
.myclub-res { list-style: none; margin: 8px 0 0; padding: 0; }
.myclub-res li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.myclub-res-c { display: flex; align-items: center; gap: 9px; min-width: 0; }
.myclub-res-c span { display: flex; flex-direction: column; min-width: 0; }
.myclub-res-c small { font-size: .76rem; color: var(--ink-3); }
.myclub-res-on { font: 700 .8rem/1 var(--display); text-transform: uppercase; color: #a07c00; }
.myclub-res-note { color: var(--ink-3); font-size: .9rem; border: 0 !important; }

/* Pretraga s ponudama */
.sg { position: relative; }
.sg-list { list-style: none; margin: 8px 0 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); max-height: 60vh; overflow: auto; }
.sg--dark .sg-list { background: #10162a; border-color: rgba(255, 255, 255, .12); color: #fff; }
.sg-h { padding: 8px 10px 4px; font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.sg--dark .sg-h { color: var(--on-night-2); }
.sg-opt a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.sg-opt span { display: flex; flex-direction: column; min-width: 0; }
.sg-opt b { font-weight: 700; line-height: 1.25; }
.sg-opt small { font-size: .78rem; color: var(--ink-3); }
.sg--dark .sg-opt small { color: var(--on-night-2); }
.sg-opt[aria-selected="true"] a, .sg-opt a:hover { background: var(--brand-50); }
.sg--dark .sg-opt[aria-selected="true"] a, .sg--dark .sg-opt a:hover { background: rgba(65, 105, 240, .25); }
.sg-ico { width: 26px; height: 26px; border-radius: 7px; display: grid !important; place-items: center; background: var(--brand); color: #fff; font-weight: 800; flex: none; }
.sg-more { border-top: 1px solid var(--line-2); margin-top: 4px; padding-top: 4px; }
.sg--dark .sg-more { border-color: rgba(255, 255, 255, .1); }
.sg-all { font-weight: 700; color: var(--brand-600); }
.sg--dark .sg-all { color: var(--brand-300); }
.sg-load, .sg-none { padding: 10px; color: var(--ink-3); font-size: .9rem; }
.search-overlay .sg { width: min(720px, 100%); }

/* Donja navigacija (mobitel) */
.bnav { display: none; }
@media (max-width: 760px) {
  .has-bnav { --bnav-h: 62px; }
  .bnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    height: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(10, 14, 27, .97); border-top: 1px solid var(--night-line); backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .45);
  }
  .bnav-i {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0;
    background: none; border: 0; padding: 6px 2px; color: var(--on-night-2); font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em;
  }
  .bnav-i .ico { width: 22px; height: 22px; }
  .bnav-i.is-current, .bnav-i[aria-expanded="true"] { color: #fff; }
  .bnav-i.is-current::before, .bnav-i[aria-expanded="true"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
  .bnav-dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: #ffd34d; }
  body.has-bnav { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); }
  .has-bnav .ad-anchor { bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); }
  /* Otvoreni sloj (pretraga, Moji klubovi, galerija, prijava) prekriva navigaciju. */
  .is-layer .bnav, .is-lightbox .bnav, html:has(#search-overlay:not([hidden])) .bnav, html:has(.pg-lightbox:not([hidden])) .bnav { display: none; }
  .is-layer .ad-anchor, .is-lightbox .ad-anchor { display: none; }
  .myclub, .report { padding: 0; align-items: flex-end; }
  .myclub-box, .report-box { border-radius: 18px 18px 0 0; max-height: 88vh; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .my-news-list { grid-template-columns: 1fr; }
  .myclub-links a { padding: 6px 7px 5px; font-size: .7rem; }
  .header-actions .myclub-btn { display: none; } /* na mobitelu je u donjoj navigaciji */
  body:not(.has-bnav) .header-actions .myclub-btn { display: grid; }
}

/* ============================================================
   23. 1.8.0 – OVO KOLO, DANAS / VIKEND, SEZONE I ARHIVA
   ============================================================ */
.kolo-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 4px; }
.kolo-form label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; min-width: 0; }
.kolo-form label span { font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.kolo-form select {
  width: 100%; min-height: 44px; padding: 8px 34px 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  color: #fff; font: 600 .95rem/1.2 var(--font); -webkit-appearance: none; appearance: none;
}
.kolo-form select option { color: var(--ink); }
.kolo-form .btn { min-height: 44px; }
.kolo-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; margin: 4px 0 10px; }
.kolo-step { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
a.kolo-step:hover { border-color: var(--brand); color: var(--brand-600); }
span.kolo-step { visibility: hidden; }
.kolo-step .ico { width: 22px; height: 22px; }
.kolo-title { text-align: center; min-width: 0; }
.kolo-title h2 { margin: 0; font: 800 clamp(1.9rem, 4vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.kolo-title p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.kolo-title a { color: var(--brand-600); font-weight: 700; }
.kolo-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.src-note { margin: 6px 0 0; font-size: .78rem; color: var(--ink-3); }
.ctype-sum, .ctype-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ctype-row { margin: 2px 0 0; }
.ctype { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 2px; border-radius: 5px; font: 700 .72rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .05em; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.ctype b { font-weight: 800; }
.ctype--najava { background: var(--brand-50); color: var(--brand-700); border-color: #cdd8ff; }
.ctype--izvjestaj { background: #e7f6ee; color: #0d7a43; border-color: #bfe6cf; }
.ctype--pregled { background: #f1ecff; color: #5b3fd6; border-color: #ddd2ff; }
.ctype--uzivo { background: rgba(239, 59, 59, .1); color: var(--live); border-color: rgba(239, 59, 59, .3); }
.ctype--galerija { background: #fff4e0; color: #9a5b00; border-color: #fbdca6; }

.today-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.today-sum .st { font: 700 .82rem/1 var(--display); padding: 5px 10px 4px; border-radius: 999px; background: rgba(239, 59, 59, .1); }
.today-note { margin: 4px 0 30px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--surface); border: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.today-note p { margin: 0 0 6px; }
.today-note p:last-child { margin: 0; }
.today-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.today-links a { color: var(--brand-600); font-weight: 700; }

.season-bar { padding-top: 14px; }
.chips--season { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; align-items: center; }
.chips-lbl { font: 700 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-right: 2px; }
.chip--muted { color: var(--ink-3); border-style: dashed; }
.season-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; padding: 11px 14px; border-radius: var(--radius-s); background: #fff8e6; border: 1px solid #f3dc9c; color: #6b4e00; font-size: .9rem; }
.season-note .ico { width: 18px; height: 18px; flex: none; }
.season-note span { flex: 1 1 260px; }
.season-note a { font-weight: 700; color: var(--brand-700); }
.arch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.arch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.arch-title { margin: 0; font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; }
.arch-badge { display: inline-block; padding: 3px 8px 2px; border-radius: 4px; background: #6b4e00; color: #fff; font: 800 .7rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em; vertical-align: 2px; }
.arch--empty { display: flex; gap: 12px; align-items: flex-start; }
.arch--empty p { margin: 0; color: var(--ink-2); }
.arch-img { margin: 12px 0 0; }
.arch-img img { border-radius: var(--radius-s); border: 1px solid var(--line); }
.arch-doc { margin: 12px 0 0; }
.arch-foot { margin: 10px 0 0; font-size: .8rem; color: var(--ink-3); }
.round-group + .round-group { margin-top: 18px; }
.round-title { margin: 0 0 4px; font: 800 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--brand-700); }
@media (max-width: 760px) {
  .kolo-form label { flex: 1 1 45%; }
  .kolo-form .btn { flex: 1 1 100%; justify-content: center; }
  .kolo-head { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .kolo-step { width: 44px; height: 44px; }
}
.mrow-when .st { white-space: normal; }
.mrow-when .st-txt { overflow-wrap: anywhere; }
.mrow-comp:has(.mtag) { white-space: normal; line-height: 1.6; }
@media (max-width: 420px) { .mrow-when .st, .mrow-when .st-txt { font-size: .66rem; letter-spacing: 0; } }

/* ============================================================
   24. 1.8.0 – KLUB (kalendar, karta, galerije, o klubu), ANKETE, PRIJAVE
   ============================================================ */
.club-next { gap: 6px; }
.club-next-row { color: #fff; }
.club-next-acts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; }
.club-next-acts a { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-300); font-weight: 600; }
.club-next-acts a:hover { color: #fff; }
.club-next-acts .ico { width: 14px; height: 14px; }
.club-next-src { color: rgba(255, 255, 255, .55); }
.club-stat--form .lbl small { display: block; margin-top: 3px; font: 600 .62rem/1 var(--font); letter-spacing: 0; text-transform: none; opacity: .8; }
.box--club-info { margin-bottom: 0; }
.info-list { margin: 0 0 12px; }
.info-list > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; }
.info-list dt .ico { width: 15px; height: 15px; color: var(--brand); }
.info-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.info-list a { color: var(--brand-600); }
.info-map { margin: 0 0 12px; }
.info-links { display: flex; gap: 8px; margin-bottom: 12px; }
.info-links a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.info-links a:hover { border-color: var(--brand); color: var(--brand-600); }
.info-links .ico { width: 17px; height: 17px; }
.report-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.report-btn:hover { color: var(--loss); }
.report-btn .ico { width: 15px; height: 15px; }
.sb-report { margin: -12px 0 14px; text-align: right; }
.report-f { display: block; margin: 0 0 12px; }
.report-f span { display: block; margin-bottom: 4px; font-weight: 700; font-size: .9rem; }
.report-f textarea, .report-f input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: var(--surface-2); }
.report-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.report-privacy { font-size: .8rem; color: var(--ink-3); margin: 0 0 12px; }
.report-msg { margin: 10px 0 0; font-weight: 600; color: var(--win); }
.report-about { font-weight: 700; color: var(--ink-2); }

.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gal-tile { position: relative; display: block; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gal-tile:hover img { transform: scale(1.04); }
.gal-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(var(--navy-fade), .9)); }
.gal-n { position: absolute; top: 8px; right: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: rgba(10, 14, 27, .75); color: #fff; font: 700 .78rem/1 var(--display); }
.gal-n .ico { width: 14px; height: 14px; }
.gal-t { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; color: #fff; font: 700 .98rem/1.15 var(--display); display: flex; flex-direction: column; gap: 3px; }
.gal-t small { font: 500 .72rem/1 var(--font); opacity: .8; }

.poll { margin: 1.4em 0; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.box--poll .poll { margin: 0; padding: 0; border: 0; box-shadow: none; }
.poll-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 6px !important; font: 700 .76rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); }
.poll-kicker .ico { width: 16px; height: 16px; }
.poll-q { margin: 0 0 10px; font: 800 1.35rem/1.15 var(--display); }
.poll-intro { margin: -4px 0 10px !important; color: var(--ink-2); font-size: .95rem; }
.poll fieldset { border: 0; margin: 0; padding: 0; }
.poll-opt { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .98rem; line-height: 1.3; }
.poll-opt:hover { border-color: var(--brand); }
.poll-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.poll-opt input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.poll-opt-t { display: inline-flex; align-items: center; gap: 8px; }
.poll-form .btn { margin-top: 6px; }
.poll-res { list-style: none; margin: 0; padding: 0; }
.poll-bar { margin: 0 0 10px; }
.poll-bar-t { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; margin-bottom: 4px; }
.poll-bar-t small { color: var(--ink-3); }
.poll-bar-f { display: block; height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.poll-bar-f i { display: block; height: 100%; border-radius: 6px; background: var(--brand-300); }
.poll-bar.is-mine .poll-bar-f i { background: var(--brand); }
.poll-bar.is-mine .poll-bar-t b::after { content: " ✓"; color: var(--brand); }
.poll-total { font-size: .82rem; color: var(--ink-3); }
.poll-msg { margin: 8px 0 0 !important; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.poll-msg:empty { display: none; }
.poll-disc { margin: 10px 0 0 !important; font-size: .74rem; color: var(--ink-3); }
@media (max-width: 760px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
body { padding-bottom: var(--anchor-h, 0px); }
@media (max-width: 760px) {
  body.has-bnav { padding-bottom: calc(var(--bnav-h) + var(--anchor-h, 0px) + env(safe-area-inset-bottom, 0px)); }
}
