/* Fantasy eFootball — FPL stil: tamnoljubičasta, neon zelena, cijan, magenta; bijele kartice sadržaja na svijetloj podlozi.
   Svjesno jedna (svijetla) tema, kao fantasy.premierleague.com */
:root {
  --bg: #f3f2f6;
  --panel: #ffffff;
  --panel-2: #f6f5f9;
  --ink: #37003c;          /* FPL tamnoljubičasta za tekst i naslove */
  --text: #1d1d2b;
  --muted: #6b5f72;
  --line: #e6e1ea;
  --accent: #37003c;       /* primarna boja (gumbi sekundarni, linkovi) */
  --accent-ink: #ffffff;
  --accent-soft: #f1e8f2;
  --link: #963cff;
  --green: #00ff87;        /* neon zelena — glavni gumbi */
  --cyan: #04f5ff;
  --magenta: #e90052;
  --gold: #00ff87;         /* oznake (kapetan, aktivno) u FPL zelenoj */
  --top: #37003c;
  --top-2: #2a002e;
  --top-ink: #ffffff;
  --pitch-1: #01a957;
  --pitch-2: #03b45f;
  --pitch-line: rgba(255,255,255,.35);
  --ok: #00894a; --ok-bg: #dcfbeb;
  --err: #d0003f; --err-bg: #fde6ee;
  --info: #5b2bd6; --info-bg: #efe9ff;
  --grad-hero: linear-gradient(110deg, #04f5ff 0%, #00ff87 100%);
  --grad-purple: linear-gradient(115deg, #37003c 0%, #5e0a69 60%, #963cff 100%);

  --f-display: "Outfit", "Figtree", system-ui, sans-serif;
  --f-card: "Saira Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--f-body); }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0 0 .4em; text-wrap: balance; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; text-transform: uppercase; }
h2 { font-size: 22px; font-weight: 700; text-transform: uppercase; }
h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; margin-top: 1.2em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono, .code { font-family: var(--f-mono); }
.center { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { padding-block: 24px 48px; display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- zaglavlje ---------- */
.topbar { background: var(--top); color: var(--top-ink); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--top-ink); text-decoration: none !important; }
.brand__mark {
  font: 900 18px/1 var(--f-display); width: 38px; height: 38px; display: grid; place-items: center;
  background: linear-gradient(140deg, #4c74ff, #1b2fa8); color: #fff;
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
}
.brand__txt { font: 600 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.brand__txt b { font-weight: 900; color: var(--gold); margin-left: 3px; }
.topbar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.langs { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.langs a { color: var(--top-ink); padding: 4px 10px; font-size: 13px; opacity: .7; text-decoration: none; }
.langs a.is-on { background: rgba(255,255,255,.14); opacity: 1; font-weight: 600; }
.who { font-weight: 600; font-size: 14px; }
.topbar .btn--ghost { color: var(--top-ink); border-color: rgba(255,255,255,.3); }

.mainnav { background: var(--top-2); border-top: 1px solid rgba(255,255,255,.06); }
.mainnav__in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav a {
  color: var(--top-ink); opacity: .75; padding: 12px 14px; white-space: nowrap; font: 600 16px/1 var(--f-display);
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 3px solid transparent;
}
.mainnav a:hover { opacity: 1; }
.mainnav a.is-on { opacity: 1; border-bottom-color: var(--gold); }

.deadline { background: linear-gradient(90deg, var(--gold), #ffdc6b); color: #2a1e00; }
.deadline__in { display: flex; gap: 14px; align-items: center; padding-block: 7px; font-size: 14px; flex-wrap: wrap; }
.deadline__gw { font: 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; background: #2a1e00; color: var(--gold); padding: 4px 8px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot__in { display: flex; justify-content: space-between; gap: 12px; padding-block: 18px; flex-wrap: wrap; }

/* ---------- osnovni elementi ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.pagehead { display: flex; flex-direction: column; gap: 4px; }
.pagehead p { margin: 0; }
.pagehead .row { margin-top: 8px; }
.eyebrow { font: 700 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.link { font-weight: 600; }
.tag { font: 700 .55em/1 var(--f-mono); background: var(--accent-soft); color: var(--accent); padding: 4px 8px; border-radius: 6px; vertical-align: middle; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-decoration: none !important;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 8px;
  padding: 9px 16px; font: 700 15px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .05em;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--sm { padding: 6px 11px; font-size: 13px; }
.btn--lg { padding: 13px 22px; font-size: 17px; }
.iconbtn {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; font: 700 20px/1 var(--f-body);
  background: var(--accent); color: var(--accent-ink);
}
.iconbtn--out { background: var(--err); color: #fff; }
.iconbtn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }

.alert { padding: 11px 14px; border-radius: 8px; font-weight: 500; border: 1px solid transparent; }
.alert--ok { background: var(--ok-bg); color: var(--ok); }
.alert--err { background: var(--err-bg); color: var(--err); }
.alert--info { background: var(--info-bg); color: var(--info); }

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.pill--on { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.code { background: var(--accent-soft); color: var(--accent); padding: 2px 7px; border-radius: 5px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.code--big { font-size: 16px; padding: 4px 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--line); vertical-align: middle; }

/* forme */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.form .btn { margin-top: 12px; align-self: flex-start; }
input, select { font: inherit; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; min-width: 0; }
input:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=color] { padding: 2px; width: 48px; height: 36px; }
input[type=checkbox] { width: auto; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.auth { max-width: 440px; width: 100%; margin: 0 auto; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.filters select, .filters input { padding: 7px 10px; font-size: 14px; }
.filters input[type=search] { flex: 1 1 160px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-left: auto; }
.seg a { padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg a.is-on { background: var(--accent); color: var(--accent-ink); }

/* tablice */
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 700 12px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 8px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl th.num { text-align: right; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.is-in td { background: var(--accent-soft); }
.tbl tr.is-off td { opacity: .45; }
.tbl td.act { text-align: right; white-space: nowrap; }
.tbl td.act form { display: inline; }
.tbl .pname { font-weight: 600; color: var(--ink); }
.tbl--market td.mini { width: 54px; padding-block: 6px; }
.tbl--market td.mini .efcard { font-size: 5.2px; }
.tbl--market .muted.small { display: block; }
.tbl--stats { min-width: 720px; }
.tbl--input input { width: 56px; padding: 5px 6px; text-align: right; }
.tbl--input input.w-rating { width: 58px; }
.tbl--input input.w-short { width: 70px; text-align: left; }
.tbl--input td { padding: 5px 4px; }
.tbl--input td:first-child { min-width: 160px; }
.cardmark { display: inline-block; width: 9px; height: 13px; background: #f5c400; border-radius: 2px; }
.cardmark--r { background: #e02020; }

dl.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
dl.kv > div { padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px -1px 0 0; }
dl.kv dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
dl.kv dd { margin: 2px 0 0; font: 700 20px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
dl.kv.panel { padding: 0; }

/* ---------- početna ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff; padding: 36px 32px;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(90,130,255,.45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 110%, rgba(240,178,10,.25), transparent 70%),
    linear-gradient(160deg, #0d1745, #050818);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: repeating-linear-gradient(90deg, rgba(31,122,69,.22) 0 60px, rgba(35,135,77,.22) 60px 120px); mask-image: linear-gradient(transparent, #000); pointer-events: none; }
.hero__text { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #c3cbef; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero__cards { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.hero__cards .efcard { margin-left: -46px; transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0)); transition: transform .25s; }
.hero__cards .efcard:first-child { margin-left: 0; }
.hero__cards .efcard:nth-child(1) { --rot: -12deg; --ty: 26px; }
.hero__cards .efcard:nth-child(2) { --rot: -6deg; --ty: 8px; }
.hero__cards .efcard:nth-child(3) { --rot: 0deg; --ty: -6px; z-index: 2; }
.hero__cards .efcard:nth-child(4) { --rot: 6deg; --ty: 8px; }
.hero__cards .efcard:nth-child(5) { --rot: 12deg; --ty: 26px; }
.hero__cards .efcard:hover { --ty: -18px; z-index: 3; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.step b { font: 900 34px/1 var(--f-display); color: var(--accent); }
.step h3 { margin-top: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.panel--cta { text-align: left; padding: 32px; background: linear-gradient(135deg, var(--panel), var(--accent-soft)); }

.dash { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.bigstats { display: flex; gap: 12px; flex-wrap: wrap; }
.bigstats--col { flex-direction: row; }
.bigstat { flex: 1 1 90px; background: var(--panel-2); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.bigstat--hero { background: linear-gradient(150deg, #2b55f0, #14217a); color: #fff; flex-grow: 1.4; }
.bigstat__label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; opacity: .8; }
.bigstat__val { font: 900 44px/1 var(--f-display); font-variant-numeric: tabular-nums; margin-top: 4px; }

.fixlist { display: flex; flex-direction: column; }
.fix { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fix:last-child { border-bottom: 0; }
.fix__team { font-weight: 600; overflow-wrap: anywhere; }
.fix__team--home { text-align: right; }
.fix__mid { text-align: center; font: 800 18px/1 var(--f-display); background: var(--panel-2); border-radius: 6px; padding: 6px 4px; font-variant-numeric: tabular-nums; }
.fix__mid.is-ft { background: var(--top); color: #fff; }
.fix__date { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--muted); }
.fix__goals { font-size: 12px; color: var(--muted); line-height: 1.4; }
.fix__goals--home { text-align: right; }

.cardrow { display: flex; gap: 14px; flex-wrap: wrap; }
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 16px; justify-items: center; }
.cardrow--legend { gap: 18px; }
.legendcard { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; max-width: 140px; }

/* ---------- raspored stranica s bočnim stupcem ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split--team { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.gwnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.gwnav b { font: 800 20px/1 var(--f-display); text-transform: uppercase; }
.gwnav .row label { margin: 0; }

/* ---------- teren ---------- */
.pitch {
  position: relative; border-radius: 12px; padding: 22px 10px; display: flex; flex-direction: column; justify-content: space-around; gap: 18px; min-height: 520px;
  background:
    linear-gradient(var(--pitch-line), var(--pitch-line)) center 50% / 100% 2px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 58px, var(--pitch-line) 59px, var(--pitch-line) 61px, transparent 62px),
    repeating-linear-gradient(180deg, var(--pitch-1) 0 52px, var(--pitch-2) 52px 104px);
  box-shadow: inset 0 0 0 2px var(--pitch-line), inset 0 0 60px rgba(0,0,0,.25);
}
.pitch::before, .pitch::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 46%; height: 70px; border: 2px solid var(--pitch-line); pointer-events: none; }
.pitch::before { top: 0; border-top: 0; }
.pitch::after { bottom: 0; border-bottom: 0; }
.pitch--draft { min-height: 0; }
.pitch--potw { background:
    linear-gradient(var(--pitch-line), var(--pitch-line)) center 50% / 100% 2px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 58px, var(--pitch-line) 59px, var(--pitch-line) 61px, transparent 62px),
    repeating-linear-gradient(180deg, #13693d 0 52px, #0f5c34 52px 104px); }
.pitch__row { position: relative; z-index: 1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.slot.is-sel .efcard { outline: 3px solid var(--gold); outline-offset: 3px; }
.slot.is-new .efcard { outline: 2px dashed #fff; outline-offset: 2px; }
.slot__x { position: absolute; top: -6px; right: -6px; z-index: 4; }
.slot__x button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--err); color: #fff; font: 700 14px/1 var(--f-body); cursor: pointer; padding: 0; }
.slot--empty {
  width: 86px; aspect-ratio: 0.72; border: 2px dashed rgba(255,255,255,.55); border-radius: 8px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none !important; background: rgba(255,255,255,.06); max-width: 100%;
}
.slot--empty span { font: 800 28px/1 var(--f-display); }
.slot--empty small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.slot--empty:hover { background: rgba(255,255,255,.16); }
.slot__tools { display: flex; gap: 3px; }
.slot__tools form { display: contents; }
.tool {
  min-width: 24px; height: 22px; padding: 0 6px; border-radius: 5px; border: 0; cursor: pointer; display: inline-grid; place-items: center;
  background: rgba(10,17,48,.75); color: #fff; font: 700 12px/1 var(--f-body); text-decoration: none !important;
}
.tool.is-on { background: var(--gold); color: #2a1e00; }
.tool--go { background: var(--gold); color: #2a1e00; }

.bench { margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.bench.is-boost { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; }
.bench__label { font: 700 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bench__row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.bench__item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bench__item > small { font-size: 11px; color: var(--muted); font-weight: 600; }
.bench .tool { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.bench .tool.is-on, .bench .tool--go { background: var(--gold); color: #2a1e00; }

.tbar { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 14px 18px; }
.tbar__stat { display: flex; flex-direction: column; }
.tbar__stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.tbar__stat b { font: 800 22px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.tbar__stat.is-bad b { color: var(--err); }
.tbar__actions { margin-left: auto; }
.tbar__actions form { display: flex; flex-wrap: wrap; gap: 6px; }

.chips { display: flex; flex-direction: column; gap: 10px; }
.chip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.chip b { font: 800 16px/1 var(--f-display); text-transform: uppercase; }
.chip .small { grid-column: 1; color: var(--muted); }
.chip > form, .chip > .pill, .chip > .btn { grid-row: 1 / 3; grid-column: 2; }
.chip.is-active { border-color: var(--ok); box-shadow: inset 4px 0 0 var(--ok); }
.chip.is-used { opacity: .6; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.legend .tool { margin-right: 6px; }

.market h2 { margin-bottom: 10px; }

/* ---------- profil igrača ---------- */
.profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.profile__card .efcard { font-size: 21px; }
.kv--wide { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.nextfx { display: flex; gap: 8px; flex-wrap: wrap; }
.nextfx__i { display: flex; flex-direction: column; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-width: 64px; }
.nextfx__i b { font: 800 18px/1.1 var(--f-display); }
.nextfx__i small { font-size: 11px; color: var(--muted); }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.prose { max-width: 70ch; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }

.ctag { font: 700 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px; border-radius: 4px; white-space: nowrap; background: #dfe3ea; color: #2a2f3a; }
.ctag--featured { background: #2c59e6; color: #fff; }
.ctag--highlight { background: #f2c230; color: #3a2700; }
.ctag--potw { background: #1aa35a; color: #fff; }
.ctag--epic { background: #22133d; color: #f5cf63; }
.ctag--bigtime { background: #b31414; color: #ffe08a; }
.ctag--showtime { background: #c2259c; color: #fff; }

.flow { margin: 10px 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.flow li form { display: inline-flex; gap: 10px; align-items: center; margin-left: 10px; flex-wrap: wrap; }
.statsform { display: flex; flex-direction: column; gap: 16px; }
.statsform > .btn { align-self: flex-start; }
.score { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.score input { width: 72px; font: 800 26px/1 var(--f-display); text-align: center; }
.preview { margin-top: 14px; display: flex; justify-content: center; }

/* =========================================================
   KARTICE (eFootball stil) — sve mjere su u em, veličina = font-size
   ========================================================= */
.efcard {
  --t-bg: linear-gradient(162deg, #f7f8fb 0%, #dde1e9 55%, #b9c0cc 100%);
  --t-ink: #151a26; --t-edge: rgba(255,255,255,.9); --t-accent: #4a5262; --t-type-bg: rgba(20,26,38,.85); --t-type-ink: #fff;
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .35em;
  font-size: 9px; width: 9.6em; color: var(--t-ink); text-decoration: none !important; flex: none;
  font-family: var(--f-card);
}
.efcard--md { font-size: 13px; }
.efcard--lg { font-size: 17px; }
.efcard__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 0.72; overflow: hidden;
  background: var(--t-bg);
  clip-path: polygon(0 0, 82% 0, 100% 9%, 100% 100%, 18% 100%, 0 91%);
  box-shadow: inset 0 0 0 .18em var(--t-edge);
  transition: transform .2s ease, filter .2s ease;
}
a.efcard:hover .efcard__frame { transform: translateY(-.25em); filter: brightness(1.06) saturate(1.1); }
.efcard__frame::after { /* sjaj */
  content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform .6s ease; pointer-events: none;
}
a.efcard:hover .efcard__frame::after { transform: translateX(60%); }
.efcard__top { position: absolute; top: .55em; left: .7em; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: .9; }
.efcard__ovr { font-weight: 900; font-size: 2.2em; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.efcard__pos { font-weight: 800; font-size: 1.05em; letter-spacing: .06em; color: var(--t-accent); margin-top: .1em; }
.efcard__type {
  position: absolute; top: 1.15em; right: 1.1em; z-index: 2; font-weight: 800; font-size: .6em; letter-spacing: .06em; text-transform: uppercase;
  background: var(--t-type-bg); color: var(--t-type-ink); padding: .25em .5em; border-radius: .2em; white-space: nowrap;
}
.efcard__badge {
  position: absolute; top: 3.3em; right: .6em; z-index: 3; width: 2.1em; height: 2.1em; border-radius: 50%;
  background: #0a1130; color: #ffd24a; font-weight: 900; font-size: 1em; display: grid; place-items: center; box-shadow: 0 0 0 .15em #ffd24a;
}
.efcard__art { position: absolute; inset: 22% 6% 27% 6%; display: grid; place-items: center; }
.efcard__stripe {
  position: absolute; inset: 0; opacity: .55;
  background: linear-gradient(118deg, transparent 0 28%, var(--c1) 28% 46%, var(--c2) 46% 58%, transparent 58%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 45%, transparent 75%);
}
.efcard__mono {
  position: relative; font-weight: 900; font-size: 3.3em; letter-spacing: -.03em; line-height: 1;
  color: transparent; -webkit-text-stroke: .045em var(--t-ink); text-shadow: .06em .06em 0 rgba(0,0,0,.12);
}
.efcard__name {
  position: absolute; left: 0; right: 0; bottom: 1.85em; z-index: 2; text-align: center; font-weight: 800; font-size: 1.12em; text-transform: uppercase;
  letter-spacing: .02em; padding: 0 .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15;
}
.efcard__meta {
  position: absolute; left: 0; right: 0; bottom: .65em; z-index: 2; display: flex; justify-content: center; gap: .6em;
  font-weight: 700; font-size: .78em; letter-spacing: .1em; color: var(--t-accent);
}
.efcard__style {
  position: absolute; left: 0; right: 0; top: 74%; text-align: center; font-size: .6em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; display: none;
}
.efcard--sm .efcard__name { bottom: .8em; font-size: 1.15em; }
.efcard--sm .efcard__type { display: none; }
.efcard--sm .efcard__badge { top: .5em; right: .9em; }
.efcard--sm .efcard__art { inset: 24% 6% 22% 6%; }
.efcard--lg .efcard__name { font-size: .95em; bottom: 2.05em; }
.efcard__sub {
  font-family: var(--f-body); font-size: max(11px, .95em); font-weight: 500; background: rgba(10,17,48,.82); color: #fff;
  padding: .15em .6em; border-radius: .3em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.efcard__sub b { font-weight: 800; }
.efcard__sub .in { color: #6ef0a0; font-style: normal; }
.efcard.is-dim .efcard__frame { filter: grayscale(.8) brightness(.85); }

/* vrste kartica */
.efcard--featured { --t-bg: linear-gradient(162deg, #5d8bff 0%, #2747c9 45%, #0e1a5c 100%); --t-ink: #fff; --t-edge: rgba(160,190,255,.8); --t-accent: #bcd0ff; --t-type-bg: #fff; --t-type-ink: #1b37b5; }
.efcard--highlight { --t-bg: linear-gradient(162deg, #fff1b8 0%, #f2c230 40%, #a8730a 100%); --t-ink: #2f1f00; --t-edge: rgba(255,248,210,.95); --t-accent: #6b4800; --t-type-bg: #2f1f00; --t-type-ink: #ffd65a; }
.efcard--potw { --t-bg: linear-gradient(162deg, #7af0a8 0%, #1fae5f 45%, #075030 100%); --t-ink: #fff; --t-edge: rgba(190,255,215,.9); --t-accent: #d4ffe4; --t-type-bg: #fff; --t-type-ink: #0b7a40; }
.efcard--epic {
  --t-bg: radial-gradient(ellipse at 70% 15%, rgba(255,210,100,.28), transparent 50%), linear-gradient(162deg, #3b2468 0%, #1a0f33 50%, #07040f 100%);
  --t-ink: #f7d77a; --t-edge: #d9ad42; --t-accent: #e9c66a; --t-type-bg: linear-gradient(90deg, #f6d77a, #b98a20); --t-type-ink: #1a0f33;
}
.efcard--bigtime {
  --t-bg: radial-gradient(ellipse at 30% 10%, rgba(255,220,120,.35), transparent 45%), linear-gradient(162deg, #ff4a3d 0%, #a10f17 45%, #2a0306 100%);
  --t-ink: #fff2c4; --t-edge: #ffcf4a; --t-accent: #ffd978; --t-type-bg: #ffcf4a; --t-type-ink: #5a0508;
}
.efcard--showtime {
  --t-bg: radial-gradient(ellipse at 80% 85%, rgba(90,230,255,.35), transparent 50%), linear-gradient(162deg, #ff6fd2 0%, #b4249c 45%, #34085a 100%);
  --t-ink: #fff; --t-edge: rgba(255,200,245,.9); --t-accent: #ffd2f4; --t-type-bg: #2bd7ff; --t-type-ink: #34085a;
}
.efcard--epic .efcard__frame, .efcard--bigtime .efcard__frame { box-shadow: inset 0 0 0 .22em var(--t-edge), inset 0 0 0 .4em rgba(0,0,0,.35); }
.efcard--lg .efcard__style { display: block; color: var(--t-ink); }
.efcard--lg .efcard__art { inset: 20% 6% 32% 6%; }

@media (prefers-reduced-motion: reduce) {
  .efcard__frame, .efcard__frame::after, .hero__cards .efcard { transition: none; }
}

/* ---------- odzivnost ---------- */
@media (max-width: 960px) {
  .split, .split--team, .dash, .prose-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
  .hero__cards { min-height: 220px; }
  .hero__cards .efcard { font-size: 12px; margin-left: -40px; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .page { padding-block: 16px 36px; gap: 16px; }
  .panel { padding: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .topbar__in { gap: 8px; }
  .who { display: none; }
  .hero__cards .efcard { font-size: 8.5px; margin-left: -28px; }
  .hero__cards { min-height: 160px; }
  .pitch { padding: 14px 4px; gap: 12px; min-height: 0; }
  .pitch__row { gap: 4px; }
  .pitch .efcard--sm, .bench .efcard--sm { font-size: 6.6px; }
  .pitch .efcard--md { font-size: 8px; }
  .efcard__sub { font-size: 10px; }
  .slot--empty { width: 64px; }
  .tool { min-width: 19px; height: 20px; padding: 0 4px; font-size: 11px; }
  .bench__row { gap: 6px; }
  .tbar__actions { margin-left: 0; width: 100%; }
  .bigstat__val { font-size: 36px; }
  .profile { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .profile__info { width: 100%; }
  .profile__card .efcard { font-size: 15px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .seg { margin-left: 0; }
  .fix { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
}

/* =========================================================
   LIGA MEČEVA: kolekcija, tržište, mečevi, kola
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pos { color: var(--ok); font-weight: 600; }
.neg { color: var(--err); font-weight: 600; }
.wallet { font: 800 16px/1 var(--f-display); color: #2a1e00; background: var(--gold); padding: 6px 10px; border-radius: 6px; text-decoration: none !important; font-variant-numeric: tabular-nums; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font: 700 11px/1 var(--f-body); vertical-align: 2px; }
.deadline--off { background: linear-gradient(90deg, #c9cfdd, #e2e6ef); color: #2b3245; }
.deadline--off .deadline__gw { background: #2b3245; color: #e2e6ef; }
.deadline__cta { margin-left: auto; color: #2a1e00; font-weight: 700; text-decoration: underline; }
.deadline--off .deadline__cta { color: #2b3245; }
.alert--link { display: block; text-decoration: none !important; }
.alert--link:hover { filter: brightness(.97); }
.btn--danger { background: var(--err); border-color: var(--err); color: #fff; }
.pill--warn { background: #fff2cc; color: #7a5500; border-color: transparent; }
.pill--bad { background: var(--err-bg); color: var(--err); border-color: transparent; }
.panel--attn { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.todo { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.todo a { font-weight: 600; }

/* tržište i kolekcija */
.cardgrid--market { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px 14px; }
.mcard { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mcard.is-owned .efcard__frame { box-shadow: inset 0 0 0 .18em var(--t-edge), 0 0 0 3px var(--ok); }
.mcard__act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pricebar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager a { min-width: 36px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-weight: 600; text-decoration: none; }
.pager a.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* sastav */
.pitch__empty { position: relative; z-index: 1; text-align: center; color: #fff; font-weight: 600; margin: auto; }
.lineupform .tablewrap { max-height: 640px; overflow-y: auto; }
.tbl--lineup td { padding: 7px 6px; }
.tbl--lineup select { padding: 5px 8px; font-size: 13px; }
.tbl--lineup .ctag { font-size: 12px; margin-right: 4px; }
.tbl--lineup input[type=radio] { width: 18px; height: 18px; accent-color: var(--gold); }
.lineupform .btn { margin-top: 14px; }

/* popis mečeva */
.fix--match { color: var(--ink); text-decoration: none !important; border-radius: 8px; padding-inline: 6px; }
.fix--match:hover { background: var(--panel-2); }
.fix--match .fix__team { display: flex; flex-direction: column; line-height: 1.25; }
.fix--match .fix__team--home { align-items: flex-end; }
.fix--match .fix__team small { font-weight: 400; font-size: 12px; color: var(--muted); }
.fix__team.is-me { color: var(--accent); }
.fix--match.is-pending .fix__mid { background: #fff2cc; color: #7a5500; }
.fix--match.is-disputed .fix__mid { background: var(--err-bg); color: var(--err); }
.st { font-weight: 700; }
.st--pending { color: #a06f00; }
.st--disputed { color: var(--err); }

.roundtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.roundtabs a { flex: none; min-width: 58px; display: flex; flex-direction: column; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); text-decoration: none; }
.roundtabs a b { font: 800 20px/1 var(--f-display); }
.roundtabs a small { font-size: 11px; color: var(--muted); }
.roundtabs a.is-open { border-color: var(--ok); }
.roundtabs a.is-on { background: var(--top); border-color: var(--top); color: #fff; }
.roundtabs a.is-on small { color: #c3cbef; }

/* unos meča */
.matchform { max-width: 720px; }
.matchform__round { font: 800 20px/1.1 var(--f-display); text-transform: uppercase; color: var(--accent); }
.score--form { justify-content: flex-start; margin-top: 10px; }
.score--form > div { display: flex; flex-direction: column; gap: 4px; }
.score--form label { font: 600 12px/1 var(--f-body); text-transform: none; color: var(--muted); margin: 0; }
.scoreline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; background: var(--top); color: #fff; border-radius: 10px; padding: 14px 18px; margin: 8px 0 2px; }
.scoreline span { font: 700 18px/1.15 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.scoreline span:first-child { text-align: right; }
.scoreline b { font: 900 34px/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.goalrows { display: flex; flex-direction: column; gap: 8px; }
.goalrow { display: grid; grid-template-columns: 28px minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.goalrow__n { font: 800 18px/1 var(--f-display); color: var(--muted); }
.goalrow select { width: 100%; }
.matchform > select { max-width: 100%; }
.bookings { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; }
.booking { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.booking > span { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking .check { gap: 4px; }
.dispute { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); max-width: 520px; }

/* prikaz meča */
.matchhead { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; background: linear-gradient(160deg, #0d1745, #050818); color: #fff; border: 0; }
.matchhead__team { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.matchhead__team--away { align-items: flex-start; text-align: left; }
.matchhead__team b { font: 800 clamp(20px, 3vw, 30px)/1.05 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.matchhead__team .muted { color: #a8b2dc; }
.matchhead__score { font: 900 clamp(44px, 7vw, 72px)/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; display: flex; gap: 8px; }
.matchhead__score span { opacity: .5; }
.matchhead__status { grid-column: 1 / -1; text-align: center; }
.evlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.evlist li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ev { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 12px/1 var(--f-body); background: var(--panel-2); border: 1px solid var(--line); }
.ev--cap { background: var(--gold); color: #2a1e00; border-color: transparent; }
.ev--assist { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* tablica lige */
.tbl--standings { min-width: 640px; }
.formb { display: inline-flex; gap: 3px; }
.formb i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; font: 700 11px/1 var(--f-body); color: #fff; }
.formb__W { background: #1f9d55; }
.formb__D { background: #8a93a8; }
.formb__L { background: #d64545; }

.w-amt { width: 80px; }
.w-reason { width: 140px; }

@media (max-width: 960px) {
  .split--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cardgrid--market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cardgrid--market .efcard--md { font-size: 12px; }
  .goalrow { grid-template-columns: 22px minmax(0, 1fr); }
  .goalrow select:last-child { grid-column: 2; }
  .wallet { font-size: 14px; padding: 5px 8px; }
  .matchhead { gap: 8px; padding: 16px 10px; }
  .deadline__cta { margin-left: 0; }
}

/* =========================================================
   FPL TEMA — preslojava gornje stilove
   ========================================================= */
body { color: var(--text); }
a { color: var(--link); }
h1, h2, h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); }
h2 { font-weight: 700; font-size: 21px; }
h3 { font-weight: 700; font-size: 16px; }
:focus-visible { outline: 3px solid var(--cyan); }
.eyebrow { color: var(--magenta); font-family: var(--f-display); letter-spacing: .08em; }
.lead { color: var(--muted); }

/* zaglavlje */
.topbar { background: var(--top); }
.brand__mark { background: var(--grad-hero); color: var(--top); font-family: var(--f-display); font-weight: 900; border-radius: 6px; clip-path: none; }
.brand__txt { font-family: var(--f-display); text-transform: none; font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.brand__txt b { color: var(--green); font-weight: 800; }
.wallet { background: var(--green); color: var(--top); font-family: var(--f-display); }
.mainnav { background: var(--top); border-top: 1px solid rgba(255,255,255,.08); }
.mainnav__in { gap: 4px; padding-block: 8px; }
.mainnav a { font: 600 15px/1 var(--f-display); text-transform: none; letter-spacing: 0; padding: 10px 14px; border-radius: 6px; border-bottom: 0; opacity: .9; }
.mainnav a:hover { background: rgba(255,255,255,.08); }
.mainnav a.is-on { background: #fff; color: var(--top); opacity: 1; }
.badge { background: var(--magenta); }
.deadline { background: var(--grad-hero); color: var(--top); }
.deadline__in { font-weight: 600; }
.deadline__gw { background: var(--top); color: var(--green); font-family: var(--f-display); border-radius: 4px; text-transform: none; letter-spacing: 0; }
.deadline__cta { color: var(--top); }
.deadline--off { background: linear-gradient(110deg, #e5e1ea, #f3f2f6); }
.deadline--off .deadline__gw { background: #6b5f72; color: #fff; }

/* gumbi */
.btn { background: var(--green); color: var(--top); border: 2px solid var(--green); border-radius: 6px; font: 700 15px/1.1 var(--f-display); text-transform: none; letter-spacing: 0; }
.btn:hover { filter: none; background: #2bffa0; }
.btn--ghost { background: transparent; color: var(--top); border-color: var(--top); }
.btn--ghost:hover { background: var(--top); color: #fff; }
.topbar .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.topbar .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--top); }
.btn--danger { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.btn--sm { font-size: 13px; padding: 6px 11px; }
.iconbtn { background: var(--green); color: var(--top); }

/* paneli i tablice */
.panel, .step, .bench, .nextfx__i { border: 0; box-shadow: 0 1px 2px rgba(55,0,60,.06), 0 4px 14px rgba(55,0,60,.06); }
.panel--attn { box-shadow: inset 4px 0 0 var(--magenta), 0 4px 14px rgba(55,0,60,.08); }
.tbl th { color: var(--ink); font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-size: 13px; border-bottom: 2px solid var(--top); }
.tbl tr.is-in td { background: #e9fff4; }
.tbl tr.is-in td:first-child { box-shadow: inset 4px 0 0 var(--green); }
.tbl .pname, .tbl b { color: var(--ink); }
dl.kv { border-color: var(--line); background: #fff; }
dl.kv dt { color: var(--muted); }
dl.kv dd { color: var(--ink); font-family: var(--f-display); font-weight: 800; }
.code { background: var(--accent-soft); color: var(--top); }
.tag { background: var(--top); color: var(--green); font-family: var(--f-display); }
.pill--on { background: #dcfbeb; color: #006b3a; }
.pill--warn { background: #fff0f5; color: var(--magenta); }
.alert--ok { background: #dcfbeb; color: #006b3a; }
.filters select, .filters input, input, select { border-radius: 6px; background: #fff; }

/* početna */
.hero {
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(4,245,255,.9) 58% 64%, rgba(0,255,135,.9) 64% 70%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(150,60,255,.55), transparent 70%),
    linear-gradient(120deg, #37003c 0%, #4a0752 55%, #2a002e 100%);
  border-radius: 10px;
}
.hero::after { display: none; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); }
.hero .eyebrow { color: var(--green); }
.hero .lead { color: #e7d6ea; }
.step b { color: var(--magenta); font-family: var(--f-display); }
.panel--cta { background: var(--grad-hero); }
.bigstat { background: var(--panel-2); }
.bigstat--hero { background: var(--grad-purple); }
.bigstat__val { font-family: var(--f-display); font-weight: 800; }
.bigstat__label { font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-size: 13px; }

/* mečevi i kola */
.fix__mid { font-family: var(--f-display); background: var(--panel-2); color: var(--ink); }
.fix__mid.is-ft { background: var(--top); color: #fff; }
.fix--match.is-pending .fix__mid { background: #fff0f5; color: var(--magenta); }
.fix__team.is-me { color: var(--link); }
.st--pending { color: var(--magenta); }
.roundtabs a { border: 0; box-shadow: 0 1px 3px rgba(55,0,60,.1); }
.roundtabs a b { font-family: var(--f-display); color: var(--ink); }
.roundtabs a.is-open { box-shadow: inset 0 -3px 0 var(--green), 0 1px 3px rgba(55,0,60,.1); }
.roundtabs a.is-on { background: var(--top); }
.roundtabs a.is-on b { color: var(--green); }
.matchhead { background: var(--grad-purple); }
.matchhead__team b { font-family: var(--f-display); text-transform: none; }
.matchhead__score { color: var(--green); font-family: var(--f-display); }
.matchhead__team .muted { color: #e7d6ea; }
.scoreline { background: var(--top); }
.scoreline span { font-family: var(--f-display); text-transform: none; }
.scoreline b { color: var(--green); font-family: var(--f-display); }
.matchform__round { color: var(--magenta); font-family: var(--f-display); text-transform: none; }
.goalrow__n { font-family: var(--f-display); }
.ev--cap { background: var(--top); color: var(--green); }
.ev--assist { background: var(--accent-soft); color: var(--top); }
.gwnav b { font-family: var(--f-display); text-transform: none; }

/* teren i kartice u FPL bojama */
.pitch { border-radius: 8px; }
.tool.is-on, .tool--go, .bench .tool.is-on, .bench .tool--go { background: var(--green); color: var(--top); }
.efcard__badge { background: var(--top); color: #fff; box-shadow: 0 0 0 .15em var(--green); }
.efcard__sub { background: var(--top); }
.slot.is-sel .efcard { outline-color: var(--green); }
.chip b, .bench__label, .tbar__stat b { font-family: var(--f-display); text-transform: none; }
.mcard.is-owned .efcard__frame { box-shadow: inset 0 0 0 .18em var(--t-edge), 0 0 0 3px var(--green); }
.pager a.is-on, .seg a.is-on { background: var(--top); border-color: var(--top); color: #fff; }

/* slike meča */
.uploads { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 2px dashed var(--line); border-radius: 8px; background: var(--panel-2); }
.uploads input[type=file] { background: #fff; padding: 8px; }
.uploads .req { color: var(--magenta); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(55,0,60,.15); aspect-ratio: 16 / 10; background: var(--panel-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.gallery figure { margin: 0; }

/* odabir formacije i mjesta na terenu */
.formations { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; }
.formations__label { font: 700 15px/1 var(--f-display); color: var(--ink); margin-right: 6px; }
.fbtn { font: 700 15px/1 var(--f-display); padding: 9px 14px; border-radius: 6px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.fbtn:hover { border-color: var(--top); }
.fbtn.is-on { background: var(--top); border-color: var(--top); color: var(--green); }
.pitch--slots { min-height: 0; gap: 22px; padding-block: 26px; }
.pitch--slots .pitch__row { gap: 12px; }
.pslot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 96px; }
.pslot .efcard--sm { font-size: 9.4px; }
.pslot__ph { width: 90px; aspect-ratio: .72; border: 2px dashed rgba(255,255,255,.7); border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.pslot__ph b { font: 800 30px/1 var(--f-display); }
.pslot__ph small { font: 600 11px/1.2 var(--f-display); text-align: center; padding: 0 4px; }
.pslot select { width: 100%; font-size: 11px; padding: 4px 4px; border-radius: 5px; background: #fff; color: var(--ink); border: 1px solid rgba(55,0,60,.25); cursor: pointer; }
.pitch .pslot select { box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.bench .pslot__ph { border-color: var(--line); color: var(--muted); background: var(--panel-2); }
.bench__row { gap: 10px; }
.restlist { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow-y: auto; font-size: 14px; }
.restlist .ctag { font-size: 11px; }
@media (max-width: 560px) {
  .pslot { width: 64px; }
  .pslot .efcard--sm { font-size: 6.4px; }
  .pslot__ph { width: 60px; }
  .pslot__ph b { font-size: 22px; }
  .pslot select { font-size: 10px; padding: 3px 2px; }
  .pitch--slots .pitch__row { gap: 5px; }
  .fbtn { padding: 7px 10px; font-size: 14px; }
}

dl.kv dd.mono { font: 500 13px/1.45 var(--f-mono); overflow-wrap: anywhere; }
