/* Font znaka i naslova: Unbounded (OFL, self-hosted, latin + latin-ext) */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --display: 'Unbounded', var(--font); }
/* Sijelo shell: app traka, tabovi, sheet, forme, kviz. Boje isključivo preko --gold / --gold-rgb / --gold-hi. */
#s-home { padding: 0; }
.shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 16px 8px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; border-radius: 14px; }
.sj-word { font-family: var(--display); font-weight: 800; letter-spacing: .05em; font-size: 20px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sj-mark { display: block; flex: none; }
.ab-r { display: flex; align-items: center; gap: 10px; }
.chip.streak, .streak-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 99px; font-weight: 800; font-size: 16px; color: var(--gold-hi); background: rgba(var(--gold-rgb), .16); border: 1px solid rgba(var(--gold-rgb), .5); cursor: pointer; }
.chip.streak .ico, .streak-badge .ico { width: 18px; height: 18px; }
.chip.streak.cold, .streak-badge.cold { color: var(--muted); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.ab-av { position: relative; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 2px solid rgba(var(--gold-rgb), .7); background: rgba(255, 255, 255, .08); cursor: pointer; display: grid; place-items: center; }
.ab-av > :first-child { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ab-lvl { position: absolute; right: -6px; bottom: -6px; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--gold); color: #1a1205; border: 2px solid #0b0f1c; padding: 0 4px; }
.panes { position: relative; flex: 1; min-height: 0; }
.pane { position: absolute; inset: 0; display: none; overflow-y: auto; overflow-x: hidden; padding: 6px 16px 18px; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.pane.on { display: flex; animation: paneIn .35s var(--ease-out) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); flex: none; padding: 6px 10px max(8px, env(safe-area-inset-bottom)); gap: 4px; background: rgba(8, 12, 22, .72); border-top: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 54px; justify-content: center; border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 700; border-radius: 16px; cursor: pointer; transition: .25s var(--ease-out); }
.tabbar button .ico { width: 24px; height: 24px; }
.tabbar button.on { color: var(--gold-hi); background: rgba(var(--gold-rgb), .14); }
.tabbar button:focus-visible, .brand:focus-visible, .ab-av:focus-visible, .gcard:focus-visible { outline: 3px solid rgba(var(--gold-rgb), .8); outline-offset: 2px; }
@media (min-width: 760px) { .pane { padding-left: calc(50% - 280px); padding-right: calc(50% - 280px); } .tabbar { padding-left: calc(50% - 280px); padding-right: calc(50% - 280px); } }

/* Igre */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; padding: 4px 0 8px; }
.gcard { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: inherit; cursor: pointer; text-align: center; transition: .25s var(--ease-out); }
.gcard.on { border-color: rgba(var(--gold-rgb), .85); background: rgba(var(--gold-rgb), .16); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .16); }
.gc-ico .ico { width: 30px; height: 30px; color: var(--gold-hi); }
.gcard b { font-size: 14px; line-height: 1.15; }
.gcard small { color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.tk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tk-head b { font-size: 20px; letter-spacing: -.02em; } .tk-head span { color: var(--muted); font-size: 13.5px; text-align: right; }
.who { display: flex; align-items: center; gap: 10px; }
.who .field { text-align: left; }
.who-av { flex: none; width: 56px; height: 56px; padding: 0; border-radius: 18px; border: 1px solid rgba(var(--gold-rgb), .6); background: rgba(255, 255, 255, .08); cursor: pointer; display: grid; place-items: center; overflow: hidden; }
.lvl-row:empty { display: none; }
.code-row { display: flex; gap: 10px; } .code-row .grow { flex: 1; text-transform: uppercase; letter-spacing: .3em; }
.credit-line { text-align: center; color: var(--muted); font-size: 13px; padding: 6px 0 2px; } .credit-line b { color: var(--gold-hi); }

/* Sheet */
.overlay.ov-sheet { place-items: end center; padding: 0; }
.overlay.ov-full { padding: 0; place-items: stretch; }
.sheet { width: min(560px, 100%); max-height: 92dvh; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; padding: 0; animation: sheetUp .35s var(--ease-out) both; }
.ov-full .sheet { max-height: none; height: 100%; border-radius: 0; width: 100%; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; flex: none; }
.sheet-head h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.sheet-body { overflow-y: auto; padding: 6px 18px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: inherit; display: grid; place-items: center; cursor: pointer; }
.icon-btn .ico { width: 20px; height: 20px; }

/* Forme */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 650; color: var(--muted); }
.form .field, .sheet .field { text-align: left; font-size: 17px; }
.field.sel { appearance: none; }
.chk { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 14px !important; line-height: 1.4; color: inherit !important; }
.chk input { width: 22px; height: 22px; flex: none; accent-color: var(--gold); margin-top: 1px; }
.chk a, .linkbtn { color: var(--gold-hi); text-decoration: underline; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.err { color: #ffb4c0; font-size: 14px; font-weight: 650; min-height: 18px; }
.err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recovery { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: .12em; padding: 16px; border-radius: 18px; border: 1px dashed rgba(var(--gold-rgb), .7); background: rgba(var(--gold-rgb), .1); color: var(--gold-hi); user-select: all; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sec-head h3 { margin: 0; font-size: 18px; display: inline-flex; align-items: center; gap: 8px; } .sec-head h3 .ico { width: 22px; height: 22px; color: var(--gold-hi); }
.tag { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: rgba(var(--gold-rgb), .18); border: 1px solid rgba(var(--gold-rgb), .5); color: var(--gold-hi); }
.pro { color: var(--gold-hi); font-weight: 800; }
.perks { margin: 0; padding-left: 20px; line-height: 1.55; } .price { font-size: 30px; font-weight: 800; color: var(--gold-hi); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; font-size: 15px; } .kv .k { color: var(--muted); } .kv .c { font-weight: 800; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 84px; justify-content: center; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.cat .ico { width: 26px; height: 26px; color: var(--gold-hi); }
.cat:active { transform: scale(.96); }
.special { border-color: rgba(var(--gold-rgb), .4); }

/* Tema */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; background: none; border: 1px solid transparent; border-radius: 16px; color: var(--muted); cursor: pointer; font-size: 12px; }
.sw span { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .35); }
.sw em { font-style: normal; font-weight: 650; }
.sw.on { border-color: rgba(var(--gold-rgb), .8); color: var(--gold-hi); }
.sw.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* Ja / avatari */
.me-head { display: flex; align-items: center; gap: 14px; } .me-av { width: 64px; height: 64px; border-radius: 20px; overflow: hidden; flex: none; border: 1px solid rgba(var(--gold-rgb), .6); }
.me-id { display: flex; flex-direction: column; gap: 2px; } .me-id b { font-size: 20px; }
.av-pick.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.av-opt { position: relative; padding: 4px; border-radius: 18px; border: 2px solid transparent; background: rgba(255, 255, 255, .06); cursor: pointer; display: grid; place-items: center; }
.av-opt.on { border-color: var(--gold); background: rgba(var(--gold-rgb), .16); }
.av-opt.locked > :first-child { filter: grayscale(1) brightness(.55); }
.av-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; } .av-lock .ico { width: 20px; height: 20px; } .av-lock em { font-style: normal; }
.av-name { text-align: center; min-height: 22px; color: var(--muted); }

/* Rang */
.brow { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.brow.me { background: rgba(var(--gold-rgb), .16); border: 1px solid rgba(var(--gold-rgb), .55); }
.brow .rk { font-weight: 800; color: var(--gold-hi); text-align: center; } .brow .bn { font-weight: 700; } .brow .bw { font-weight: 800; }
.skeleton { height: 120px; border-radius: 22px; background: linear-gradient(100deg, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .05) 70%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.bar-row { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 8px; font-size: 14px; } .dg-bar { height: 8px; border-radius: 4px; background: rgba(var(--gold-rgb), .8); }
.spark { width: 100%; height: 54px; color: var(--gold); }
.center-msg { text-align: center; padding: 24px 8px; color: var(--muted); }

/* Kviz */
.quiz { display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .quiz-title { font-weight: 800; } .quiz-n { color: var(--muted); font-weight: 700; }
.dg-bar.t { height: 6px; }
.quiz-q { font-size: clamp(20px, 5.4vw, 26px); font-weight: 750; line-height: 1.25; letter-spacing: -.02em; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.qopt { min-height: 56px; padding: 10px 16px; text-align: left; border-radius: 18px; font-size: 17px; font-weight: 650; color: inherit; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; transition: .2s var(--ease-out); }
.qopt:active { transform: scale(.98); } .qopt.on { border-color: var(--gold); background: rgba(var(--gold-rgb), .2); }
.qopt.ok { border-color: #4fe3b0; background: rgba(79, 227, 176, .22); } .qopt.no { border-color: #ff6b86; background: rgba(255, 107, 134, .2); }
.qres { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 12px 0; }
.qscore { font-size: 64px; font-weight: 800; color: var(--gold-hi); line-height: 1; } .qscore small { font-size: 26px; color: var(--muted); } .qscore.sm { font-size: 36px; }
.qdet { width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 14px; }
.legal { line-height: 1.6; } .legal h2 { font-size: 20px; } .legal h3 { font-size: 16px; margin-top: 18px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px 0; }
.legal-links a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); transition: .2s var(--ease-out); }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--text); border-color: rgba(var(--gold-rgb), .6); background: rgba(var(--gold-rgb), .12); outline: none; }
.linkrow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.radar-mini { width: 48px; height: 48px; }
@media (prefers-reduced-motion: reduce) { .pane.on, .sheet, .skeleton { animation: none; } }
[hidden] { display: none !important; }
.me-head { flex-direction: row; text-align: left; } .me-head .me-id { align-items: flex-start; }

/* ===== Okviri oko avatara (.avw.fr-N) ===== */
.avw { position: relative; display: inline-grid; place-items: center; flex: none; --fr: none; --fw: 3px; padding: 4px; isolation: isolate; } /* prsten je unutar svoje kutije: okviri se ne preklapaju sa susjedima */
.avw::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: var(--fw); background: var(--fr); pointer-events: none; z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.avw.fr-1 { --fr: linear-gradient(135deg, #f0b27a, #8c4b1d 50%, #f0b27a); }
.avw.fr-2 { --fr: linear-gradient(135deg, #fff, #8e9aa8 50%, #fff); }
.avw.fr-3 { --fr: linear-gradient(135deg, #fff3a3, #d4900a 50%, #fff3a3); }
.avw.fr-4 { --fr: linear-gradient(135deg, #67e8f9, #0891b2); } .avw.fr-4::before { filter: drop-shadow(0 0 4px #22d3ee); }
.avw.fr-5 { --fr: linear-gradient(135deg, #f9a8d4, #db2777); } .avw.fr-5::before { filter: drop-shadow(0 0 4px #f472b6); }
.avw.fr-6 { --fr: conic-gradient(#fde047, #f97316, #ef4444, #f97316, #fde047); --fw: 4px; } .avw.fr-6::before { filter: drop-shadow(0 0 4px #f97316); animation: frSpin 3s linear infinite; }
.avw.fr-7 { --fr: conic-gradient(#e0f2fe, #38bdf8, #fff, #7dd3fc, #e0f2fe); --fw: 4px; } .avw.fr-7::before { filter: drop-shadow(0 0 4px #bae6fd); }
.avw.fr-8 { --fr: conic-gradient(#6d28d9, #0ea5e9, #ec4899, #6d28d9); --fw: 4px; } .avw.fr-8::before { filter: drop-shadow(0 0 4px #8b5cf6); animation: frSpin 6s linear infinite; }
.avw.fr-9 { --fr: conic-gradient(#ef4444, #f97316, #facc15, #22c55e, #06b6d4, #3b82f6, #d946ef, #ef4444); --fw: 4px; } .avw.fr-9::before { animation: frSpin 4s linear infinite; }
.avw.fr-10 { --fr: conic-gradient(#fff, #a5f3fc, #fff, #c4b5fd, #fff, #a5f3fc, #fff); --fw: 4px; } .avw.fr-10::before { filter: drop-shadow(0 0 4px #fff); animation: frPulse 2.2s ease-in-out infinite; }
.avw.fr-11 { --fr: conic-gradient(#fde047 0 12%, #fff 12% 18%, #fde047 18% 40%, #a16207 40% 50%, #fde047 50% 62%, #fff 62% 68%, #fde047 68% 90%, #a16207 90%); --fw: 4px; } .avw.fr-11::before { filter: drop-shadow(0 0 4px #fde047); animation: frFlick 1.4s steps(2) infinite; }
.avw.fr-12 { --fr: conic-gradient(#000, #7c3aed, #000, #4c1d95, #000); --fw: 5px; } .avw.fr-12::before { filter: drop-shadow(0 0 4px #7c3aed); animation: frSpin 8s linear infinite reverse; }
.avw.fr-13 { --fr: conic-gradient(#fff3a3, #d4900a, #7a4a00, #ffd24d, #fff3a3, #d4900a, #fff3a3); --fw: 5px; }
.avw.fr-13::before { filter: drop-shadow(0 0 4px #ffd24d); animation: frSpin 5s linear infinite; }
.avw.fr-13::after { content: "👑"; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-size: 14px; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); animation: frFloat 2.4s ease-in-out infinite; }
@keyframes frSpin { to { transform: rotate(360deg); } }
@keyframes frPulse { 50% { opacity: .55; } }
@keyframes frFlick { 50% { transform: rotate(14deg); } }
@keyframes frFloat { 50% { transform: translateX(-50%) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .avw::before, .avw::after { animation: none !important; } }
.owner-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: #2a1800; background: linear-gradient(135deg, #fff3a3, #d4900a); box-shadow: 0 0 12px rgba(255, 210, 77, .6); }

/* Font: Fraunces (self-hosted, latin + latin-ext zbog š đ č ć ž) */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.hero2 { text-align: center; padding: 10px 0 4px; min-height: 108px; }
.hero2 h1 { margin: 0; font-family: var(--display); font-size: clamp(26px, 7.4vw, 40px); letter-spacing: -.01em; font-weight: 650; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; color: #fff6dc; text-shadow: 0 2px 22px rgba(var(--gold-rgb), .45); transition: opacity .38s, filter .38s, transform .38s; }
.hero2 h1.out { opacity: 0; filter: blur(8px); transform: translateY(-6px); }
.hw { display: inline-block; animation: hw-in .8s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes hw-in { from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.hero2 p { margin: 10px 0 0; color: var(--muted); font-family: var(--font); font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: .01em; opacity: 0; }
.hero2 p.in { animation: sub-in .9s .35s var(--ease-out) forwards; }
@keyframes sub-in { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: .01em; } }
@media (prefers-reduced-motion: reduce) { .hw, .hero2 p.in { animation: none; opacity: 1; filter: none; } .hero2 p { opacity: 1; } }
.fr-h { margin: 14px 0 6px; font-size: 14px; color: var(--muted); font-weight: 700; }
.fr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.fr-opt { position: relative; padding: 6px; border-radius: 16px; border: 2px solid transparent; background: rgba(255,255,255,.06); cursor: pointer; display: grid; place-items: center; }
.fr-opt.on { border-color: var(--gold); background: rgba(var(--gold-rgb), .16); }
.fr-opt.locked > :first-child { filter: grayscale(1) brightness(.55); }
.trial-note { font-size: 13.5px; text-align: center; border: 1px dashed rgba(var(--gold-rgb), .55); }
.owner-btn { background: linear-gradient(120deg, #ffd86b, #ff7ad9, #7ad7ff, #ffd86b); background-size: 300% 100%; color: #1a1030; animation: ob 6s linear infinite; }
@keyframes ob { to { background-position: 300% 0; } }
.lvl-badge.owner { background: linear-gradient(120deg, #ffd86b, #ff7ad9); color: #1a1030; }
.owner-tag.big { font-size: 15px; padding: 5px 14px; }
.op-hero { text-align: center; } .op-stats { display: flex; justify-content: space-around; font-size: 13px; color: var(--muted); margin: 8px 0; } .op-stats b { color: var(--text); font-size: 18px; display: block; }
.op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.op-users { display: grid; gap: 6px; margin-top: 8px; max-height: 220px; overflow: auto; }
.op-u { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 0 8px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: inherit; cursor: pointer; }
.op-u small { color: var(--muted); grid-column: 1; } .op-u span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 12px; color: var(--gold); }

select.field, select.field option { color: var(--text); background-color: #1b1530; }
.op-chips { display: flex; flex-wrap: wrap; gap: 6px; } .op-u.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 13px; width: auto; }

/* ===== Animirani okviri 14-23 (sve unutar kutije okvira) ===== */
.avw.fr-14 { --fr: conic-gradient(#fde047, #f97316, #dc2626, #f97316, #fde047); --fw: 4px; } .avw.fr-14::before { filter: drop-shadow(0 0 4px #f97316); animation: frFlick 0.7s steps(2) infinite, frHue 2.5s ease-in-out infinite alternate; }
.avw.fr-14::after { content: "🔥"; position: absolute; bottom: -4px; left: 50%; font-size: 13px; transform: translateX(-50%); z-index: 3; animation: frBob .6s ease-in-out infinite alternate; }
.avw.fr-15 { --fr: conic-gradient(#fef08a, #fff, #facc15, #fff, #fef08a); --fw: 4px; } .avw.fr-15::before { filter: drop-shadow(0 0 4px #fde047); animation: frSpin 1.6s linear infinite, frPulse .5s steps(2) infinite; }
.avw.fr-15::after { content: "⚡"; position: absolute; top: -5px; right: -3px; font-size: 13px; z-index: 3; animation: frPop 1.3s ease-in-out infinite; }
.avw.fr-16 { --fr: conic-gradient(#e0f2fe, #7dd3fc, #fff, #38bdf8, #e0f2fe); --fw: 4px; } .avw.fr-16::before { filter: drop-shadow(0 0 4px #7dd3fc); animation: frSpin 7s linear infinite; }
.avw.fr-16::after { content: "❄️"; position: absolute; top: -5px; left: -3px; font-size: 12px; z-index: 3; animation: frTurn 5s linear infinite; }
.avw.fr-17 { --fr: linear-gradient(135deg, #fbcfe8, #f472b6, #fbcfe8); --fw: 4px; } .avw.fr-17::before { animation: frPulse 2.4s ease-in-out infinite; }
.avw.fr-17::after { content: "🌸"; position: absolute; top: -6px; right: 2px; font-size: 12px; z-index: 3; animation: frFall 2.6s ease-in infinite; }
.avw.fr-18 { --fr: conic-gradient(from 0deg, transparent 0 55%, #22c55e 80%, #bbf7d0 100%); --fw: 4px; } .avw.fr-18::before { filter: drop-shadow(0 0 4px #22c55e); animation: frSpin 1.8s linear infinite; }
.avw.fr-19 { --fr: conic-gradient(from 0deg, transparent 0 40%, #fb923c 70%, #fde68a 90%, #fff 100%); --fw: 5px; } .avw.fr-19::before { filter: drop-shadow(0 0 5px #fbbf24); animation: frSpin 1.1s linear infinite; }
.avw.fr-20 { --fr: linear-gradient(135deg, #c4b5fd, #5eead4, #c4b5fd); --fw: 4px; } .avw.fr-20::before { animation: frPulse 3s ease-in-out infinite, frHue 5s linear infinite alternate; }
.avw.fr-20::after { content: "👻"; position: absolute; bottom: -4px; right: -3px; font-size: 13px; z-index: 3; animation: frBob 1.8s ease-in-out infinite alternate; }
.avw.fr-21 { --fr: conic-gradient(#0b1026, #1e3a8a, #0b1026, #312e81, #0b1026); --fw: 5px; } .avw.fr-21::before { filter: drop-shadow(0 0 4px #6366f1); animation: frSpin 12s linear infinite; }
.avw.fr-21::after { content: "✨"; position: absolute; top: -4px; left: 4px; font-size: 12px; z-index: 3; animation: frTwinkle 1.6s ease-in-out infinite; }
.avw.fr-22 { --fr: conic-gradient(#7f1d1d, #ea580c, #fde047, #ea580c, #7f1d1d); --fw: 5px; } .avw.fr-22::before { filter: drop-shadow(0 0 4px #ea580c); animation: frSpin 3.5s linear infinite reverse, frPulse 1.2s ease-in-out infinite; }
.avw.fr-23 { --fr: conic-gradient(#f0abfc, #67e8f9, #fde047, #86efac, #f0abfc); --fw: 5px; } .avw.fr-23::before { filter: drop-shadow(0 0 5px #e879f9); animation: frSpin 2.4s linear infinite, frHue 3s linear infinite; }
.avw.fr-23::after { content: "💎"; position: absolute; top: -6px; left: 50%; font-size: 13px; z-index: 3; transform: translateX(-50%); animation: frBob 1.2s ease-in-out infinite alternate; }
@keyframes frHue { to { filter: hue-rotate(35deg) drop-shadow(0 0 4px currentColor); } }
@keyframes frBob { to { transform: translateX(-50%) translateY(-3px); } }
@keyframes frPop { 0%, 70%, 100% { transform: scale(.6); opacity: 0; } 80% { transform: scale(1.25); opacity: 1; } }
@keyframes frTurn { to { transform: rotate(360deg); } }
@keyframes frFall { 0% { transform: translateY(-3px) rotate(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(26px) rotate(160deg); opacity: 0; } }
@keyframes frTwinkle { 0%, 100% { transform: scale(.5); opacity: .2; } 50% { transform: scale(1.2); opacity: 1; } }
.pill .avw, .tk-m .avw, .brow .avw { padding: 3px; }
.pill .avw::after, .tk-m .avw::after, .brow .avw::after { display: none; }
.heat { font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.heat.h0 { color: #9fd8ff; } .heat.h1 { color: #7cc4ff; } .heat.h2 { color: #d8e3a8; } .heat.h3 { color: #ffb347; background: rgba(255,150,40,.16); } .heat.h4 { color: #ff6a4d; background: rgba(255,80,40,.22); animation: frPulse 0.9s ease-in-out infinite; }
.online { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border-radius: 18px; color: inherit; cursor: pointer; text-align: left; font-size: 14px; }
.online .on-dot { width: 9px; height: 9px; border-radius: 50%; background: #4fe3b0; box-shadow: 0 0 0 0 rgba(79,227,176,.6); animation: onPulse 2s infinite; flex: none; }
@keyframes onPulse { 70% { box-shadow: 0 0 0 8px rgba(79,227,176,0); } 100% { box-shadow: 0 0 0 0 rgba(79,227,176,0); } }
.online .on-chips { display: flex; margin-left: auto; } .online .on-chips .avw, .online .on-chips .av { margin-left: -8px; }
.online .on-go { display: inline-flex; gap: 6px; align-items: center; color: var(--gold-hi); font-weight: 700; } .online .on-go .ico { width: 16px; height: 16px; }
.on-list { display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.on-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 14px; background: rgba(255,255,255,.05); }
.on-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .on-row small { color: var(--muted); font-size: 12px; } .on-row small.st-slobodan { color: #4fe3b0; }

/* ---------- uloge: značke, boje imena, okviri 24-28 ---------- */
.rtag { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; vertical-align: middle; color: #101018; }
.rtag.r-admin { background: linear-gradient(135deg, #bae6fd, #0ea5e9); box-shadow: 0 0 10px rgba(56, 189, 248, .55); }
.rtag.r-youtuber { background: linear-gradient(135deg, #fecaca, #ef4444); color: #fff; box-shadow: 0 0 10px rgba(239, 68, 68, .5); }
.rtag.r-tiktoker { background: linear-gradient(135deg, #67e8f9, #f472b6); box-shadow: 0 0 10px rgba(34, 211, 238, .5); }
.rtag.r-promoter { background: linear-gradient(135deg, #fed7aa, #f97316); box-shadow: 0 0 10px rgba(249, 115, 22, .5); }
.rtag.r-vip { background: linear-gradient(135deg, #fff3a3, #d4900a); box-shadow: 0 0 10px rgba(255, 210, 77, .55); }
.rtag.r-owner { background: linear-gradient(135deg, #fff3a3, #d4900a); box-shadow: 0 0 12px rgba(255, 210, 77, .6); }
.ttl { font-size: 11px; font-weight: 800; opacity: .85; font-style: italic; }
.rn-owner, .rn-vip { color: #fde68a; text-shadow: 0 0 8px rgba(255, 210, 77, .55); }
.rn-admin { color: #7dd3fc; text-shadow: 0 0 8px rgba(56, 189, 248, .5); }
.rn-youtuber { color: #fca5a5; text-shadow: 0 0 8px rgba(239, 68, 68, .45); }
.rn-tiktoker { color: #a5f3fc; text-shadow: 0 0 8px rgba(244, 114, 182, .5); }
.rn-promoter { color: #fdba74; text-shadow: 0 0 8px rgba(249, 115, 22, .45); }
.avw.fr-24 { --fr: conic-gradient(#e0f2fe, #0284c7, #0c4a6e, #38bdf8, #e0f2fe); --fw: 5px; } .avw.fr-24::before { filter: drop-shadow(0 0 5px #38bdf8); animation: frSpin 6s linear infinite; }
.avw.fr-24::after { content: "🛡️"; position: absolute; top: -6px; left: 50%; font-size: 13px; z-index: 3; transform: translateX(-50%); }
.avw.fr-25 { --fr: conic-gradient(#fecaca, #dc2626, #7f1d1d, #ef4444, #fecaca); --fw: 5px; } .avw.fr-25::before { filter: drop-shadow(0 0 5px #ef4444); animation: frSpin 4s linear infinite, frPulse 1.6s ease-in-out infinite; }
.avw.fr-25::after { content: "▶"; position: absolute; bottom: -3px; right: -2px; font-size: 11px; color: #fff; background: #dc2626; border-radius: 6px; padding: 1px 5px; z-index: 3; }
.avw.fr-26 { --fr: conic-gradient(#22d3ee, #0b0b10, #f472b6, #0b0b10, #22d3ee); --fw: 5px; } .avw.fr-26::before { filter: drop-shadow(-2px 0 3px #22d3ee) drop-shadow(2px 0 3px #f472b6); animation: frSpin 2.8s linear infinite; }
.avw.fr-26::after { content: "♪"; position: absolute; top: -6px; right: -2px; font-size: 14px; z-index: 3; color: #fff; text-shadow: -1px 0 #22d3ee, 1px 0 #f472b6; animation: frBob 1s ease-in-out infinite alternate; }
.avw.fr-27 { --fr: conic-gradient(#fed7aa, #f97316, #9a3412, #fb923c, #fed7aa); --fw: 5px; } .avw.fr-27::before { filter: drop-shadow(0 0 5px #f97316); animation: frSpin 5s linear infinite reverse; }
.avw.fr-27::after { content: "📣"; position: absolute; top: -6px; left: -2px; font-size: 13px; z-index: 3; animation: frBob .8s ease-in-out infinite alternate; }
.avw.fr-28 { --fr: conic-gradient(#fff3a3, #f59e0b, #78350f, #fde047, #fff3a3, #f59e0b, #fff3a3); --fw: 5px; } .avw.fr-28::before { filter: drop-shadow(0 0 6px #fbbf24); animation: frSpin 3.2s linear infinite; }
.avw.fr-28::after { content: "💎"; position: absolute; top: -6px; left: 50%; font-size: 13px; z-index: 3; transform: translateX(-50%); animation: frTwinkle 2s ease-in-out infinite; }
.rl-mine { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.rl-card .sec-head h3 { font-size: 15px; line-height: 1.35; } .rl-app { padding: 4px 0; }
.r-vipc { border: 1px solid rgba(251, 191, 36, .45); }
@media (prefers-reduced-motion: reduce) { .avw.fr-24::before, .avw.fr-25::before, .avw.fr-26::before, .avw.fr-27::before, .avw.fr-28::before, .avw.fr-26::after, .avw.fr-27::after, .avw.fr-28::after { animation: none; } }

.rm-box { display: grid; gap: 8px; margin-top: 10px; text-align: left; } .rm-list { display: grid; gap: 4px; } .rm-p { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 12px; background: rgba(255, 255, 255, .06); } .rm-p b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rm-chat { display: grid; gap: 6px; } .rm-log { max-height: 120px; overflow: auto; display: grid; gap: 3px; font-size: 14px; } .rm-f { display: flex; gap: 6px; } .rm-f input { flex: 1; min-width: 0; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(0, 0, 0, .22); padding: 0 10px; color: inherit; font-size: 15px; }

/* ===== Uloge: traka ispod avatara ===== */
.avw.hasrb { margin-bottom: 6px; }
.avb { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); z-index: 6; font-style: normal; font-size: 8.5px; font-weight: 900; letter-spacing: .09em; line-height: 1; padding: 3px 7px; border-radius: 99px; white-space: nowrap; color: #101018; border: 1px solid rgba(0, 0, 0, .35); box-shadow: 0 2px 6px rgba(0, 0, 0, .45); pointer-events: none; }
.avb.t { font-size: 6.5px; padding: 2px 4px; bottom: -6px; letter-spacing: .04em; }
.avw.x.hasrb { margin-bottom: 5px; }
.avb.r-admin { background: linear-gradient(135deg, #bae6fd, #0ea5e9); }
.avb.r-youtuber { background: linear-gradient(135deg, #fecaca, #ef4444); color: #fff; }
.avb.r-tiktoker { background: linear-gradient(135deg, #67e8f9, #f472b6); }
.avb.r-promoter { background: linear-gradient(135deg, #fed7aa, #f97316); }
.avb.r-vip { background: linear-gradient(135deg, #fff3a3, #d4900a); }
.avb.r-owner { background: linear-gradient(100deg, #fff3a3, #ffd24d, #22d3ee, #ffd24d, #fff3a3); background-size: 250% 100%; color: #1a1200; border-color: #fff3a3; box-shadow: 0 0 10px rgba(255, 210, 77, .8), 0 2px 6px rgba(0, 0, 0, .5); animation: ownShine 3s linear infinite; }
@keyframes ownShine { to { background-position: 250% 0; } }

/* ===== Vlasnički okvir: tehnološki prsten sa orbitama ===== */
.avw.fr-13 { --fr: conic-gradient(from 0deg, #ffd24d, #22d3ee, #a855f7, #ff3d8b, #ffd24d, #22d3ee, #ffd24d); --fw: 5px; filter: drop-shadow(0 0 8px rgba(255, 210, 77, .5)); }
.avw.fr-13::before { filter: drop-shadow(0 0 5px #ffd24d) drop-shadow(0 0 9px #22d3ee); animation: frSpin 3.2s linear infinite; }
.avw.fr-13::after { content: ""; position: absolute; inset: -6px; top: -6px; left: -6px; transform: none; font-size: 0; border-radius: 50%; z-index: 1; opacity: .95; background: repeating-conic-gradient(#22d3ee 0 7deg, transparent 7deg 18deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); filter: drop-shadow(0 0 3px #22d3ee); animation: frSpin 11s linear infinite reverse; }
.own-orb { position: absolute; inset: -10px; border-radius: 50%; z-index: 3; pointer-events: none; animation: frSpin 4.6s linear infinite; }
.own-orb b { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px #ffd24d; }
.own-orb b:nth-child(1) { top: -1px; left: 50%; margin-left: -2.5px; }
.own-orb b:nth-child(2) { bottom: 14%; right: 3%; background: #cffafe; box-shadow: 0 0 6px 2px #22d3ee; }
.own-orb b:nth-child(3) { bottom: 14%; left: 3%; background: #fae8ff; box-shadow: 0 0 6px 2px #d946ef; }
.own-crown { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 7; font-size: 16px; line-height: 1; filter: drop-shadow(0 0 5px #ffd24d); animation: ownBob 1.5s ease-in-out infinite alternate; pointer-events: none; }
@keyframes ownBob { to { transform: translateX(-50%) translateY(-3px) scale(1.08); } }
.avw.fr-13.x .own-orb { inset: -6px; } .avw.fr-13.x .own-orb b { width: 3px; height: 3px; } .avw.fr-13.x .own-crown { font-size: 10px; top: -8px; } .avw.fr-13.x::after { inset: -4px; }
@media (prefers-reduced-motion: reduce) { .avw.fr-13::before, .avw.fr-13::after, .own-orb, .own-crown, .avb.r-owner { animation: none !important; } }

/* Soba: vođa i vlasnik se odmah vide */
.rm-p { gap: 10px; }
.rm-p.lead { border-color: rgba(255, 210, 77, .55); background: linear-gradient(90deg, rgba(255, 210, 77, .16), transparent); }
.rm-lead { margin-left: auto; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: .06em; color: #1a1200; background: linear-gradient(135deg, #fff3a3, #ffd24d); box-shadow: 0 0 10px rgba(255, 210, 77, .5); }
.rm-p.own { border: 1px solid transparent; background: linear-gradient(#0c1220, #0c1220) padding-box, conic-gradient(from var(--a, 0deg), #ffd24d, #22d3ee, #a855f7, #ffd24d) border-box; animation: ownBorder 5s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ownBorder { to { --a: 360deg; } }
.party > .pills .pill.own { border-color: #ffd24d; box-shadow: 0 0 12px rgba(255, 210, 77, .45); }
.uj-seat .avw, .kl-chip .avw { margin-bottom: 6px; }
.rm-p.own, .rm-p.lead { padding: 8px 10px 10px; }
/* Potpis na dnu */
.credit { margin: 14px 0 4px; display: grid; gap: 1px; justify-items: center; font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive; font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.credit b { font-size: 16px; font-weight: 700; background: linear-gradient(90deg, #fff3a3, #ffd24d 40%, #22d3ee 75%, #fff3a3); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ownShine 6s linear infinite; }
.credit small { font-family: var(--font); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .credit b { animation: none; } }

/* Vlasnički panel i tajno rješenje */
.op-card { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); margin-top: 10px; }
.op-card h4 { margin: 0; font-size: 15px; letter-spacing: -.01em; } .op-card .muted { margin: 0; font-size: 12.5px; line-height: 1.4; }
.op-card .op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 6px; }
.op-log { display: grid; gap: 4px; font-size: 12.5px; } .op-log div { display: flex; gap: 6px; align-items: baseline; padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .05); } .op-log small { margin-left: auto; color: var(--muted); } .op-log i { color: var(--muted); font-style: normal; }
.op-peek { border-color: rgba(34, 211, 238, .45); background: linear-gradient(135deg, rgba(34, 211, 238, .1), rgba(168, 85, 247, .08)); }
.op-sw { display: flex; align-items: center; gap: 10px; font-weight: 700; } .op-sw input { width: 22px; height: 22px; accent-color: #22d3ee; }
.peek-fab { position: fixed; right: 12px; bottom: 150px; z-index: 90; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .6); background: rgba(8, 14, 24, .72); color: #fff; font-size: 18px; opacity: .5; box-shadow: 0 0 12px rgba(34, 211, 238, .35); } .peek-fab:active { opacity: 1; transform: scale(.94); } .peek-fab[hidden], .cheat-box[hidden] { display: none; }
.cheat-box { position: fixed; left: 50%; bottom: 200px; transform: translateX(-50%); z-index: 91; max-width: min(92vw, 420px); display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(8, 14, 24, .92); border: 1px solid rgba(34, 211, 238, .6); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); font-size: 14px; line-height: 1.35; }

/* brending: logo u zaglavljima prozora i u podnožju */
.sheet-head h2::before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 9px; vertical-align: -4px; background: url(/logo.svg) center/contain no-repeat; border-radius: 6px; }
.cr-logo { vertical-align: -4px; margin-right: 4px; border-radius: 5px; }
.nt-role { display: grid; gap: 12px; }
.nt-role h3 { margin: 0; font-size: 20px; }
.nt-role ul { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.nt-role .nt-no li::marker { color: #f87171; } .nt-role .nt-yes li::marker { color: #4ade80; }
.nt-role h4 { margin: 8px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-cv { width: 100%; max-width: 360px; aspect-ratio: 1080 / 1350; border-radius: 18px; display: block; margin: 0 auto 12px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.sharecard .col { display: grid; gap: 10px; margin-top: 10px; }

.today { display: grid; gap: 6px; padding: 12px 14px; border-radius: 18px; }
.td-h { font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.td-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.td-row b { color: var(--gold-hi); font-size: 18px; }
.td-daily { margin-left: auto; border: 1px solid rgba(var(--gold-rgb), .5); background: rgba(var(--gold-rgb), .12); color: var(--gold-hi); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 40px; }
.gi-how { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.gi-meta { display: flex; gap: 8px; flex-wrap: wrap; } .gi-meta span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }

/* početna: polica igara je vodoravna da glavna akcija ostane vidljiva bez skrolanja */
.shelf { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 10px; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; }
.shelf::-webkit-scrollbar { display: none; }
.gcard { flex: 0 0 132px; padding: 12px 8px; }
.hero2 { min-height: 0; padding: 4px 0 0; }
.tl-foot { display: grid; gap: 8px; margin-top: 8px; } .tl-foot.vj-solve { display: flex; gap: 8px; }
.tl-steps { display: grid; gap: 10px; max-height: 62vh; overflow-y: auto; padding: 4px 2px; }
.tl-step { background: rgba(255,255,255,.07); border-radius: 16px; padding: 10px 12px; text-align: center; } .tl-step small { color: var(--muted); display: block; margin-bottom: 6px; }
.tl-step p { margin: 0; font-size: 18px; font-weight: 700; } .tl-cv { width: 100%; max-width: 280px; aspect-ratio: 1; background: #1b2433; border-radius: 14px; }

.ms { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; } .ms small { grid-column: 1 / -1; color: var(--muted); } .ms.done { opacity: .6; } .ms b { color: var(--gold-hi); }
.ach { display: flex; flex-wrap: wrap; gap: 8px; } .ach-i { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); } .ach-i.on { background: rgba(var(--gold-rgb), .2); color: var(--gold-hi); }
.ts { margin: 14px 0; } .ts-ends { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 14px; } .ts-ends span { max-width: 46%; }
.ts-track { position: relative; height: 44px; margin-top: 10px; border-radius: 22px; background: linear-gradient(90deg, #3b82f6, #a855f7, #f59e0b); }
.ts-zone { position: absolute; top: 0; bottom: 0; background: rgba(255,255,255,.35); border-radius: 22px; } .ts-mid { position: absolute; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: #fff; border-radius: 2px; }
.ts-knob { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #111827; border: 3px solid #fff; } .ts-pin { position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; opacity: .85; }
.ts-res { display: grid; gap: 4px; margin-top: 8px; } .ts-res div { display: flex; justify-content: space-between; background: rgba(255,255,255,.07); border-radius: 12px; padding: 6px 12px; }
.qboard { display: grid; gap: 4px; margin: 10px 0; } .qboard .kv { background: rgba(255,255,255,.07); border-radius: 12px; padding: 6px 12px; }
.cm { position: relative; } .cm-mute { position: absolute; top: 2px; right: 2px; background: none; border: 0; opacity: .35; font-size: 13px; padding: 2px 6px; cursor: pointer; } .cm-mute:hover, .cm-mute:focus-visible { opacity: 1; }
.ch-unmute { margin-left: 8px; }
.cm-rep { position: absolute; bottom: 2px; right: 2px; background: none; border: 0; opacity: .35; font-size: 13px; padding: 2px 6px; cursor: pointer; color: inherit; } .cm-rep:hover, .cm-rep:focus-visible { opacity: 1; }
.zb-ban { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .zb-ban span { background: rgba(255,93,93,.18); color: #ff9a9a; border-radius: 10px; padding: 3px 9px; font-weight: 800; font-size: 14px; text-decoration: line-through; }
.zb-clues { display: grid; gap: 6px; max-height: 34vh; overflow-y: auto; margin: 8px 0; } .zb-clue { background: rgba(255,255,255,.08); border-radius: 12px; padding: 7px 12px; font-size: 16px; }
/* početna: sve igre su odmah vidljive u mreži od tri kolone; izbor igre pomjera ekran na kartu s igranjem */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 8px; padding: 2px 0 6px; }
.gcard { flex: none; min-height: 0; padding: 10px 4px; gap: 6px; border-radius: 16px; align-items: center; text-align: center; }
.gcard .gc-ico { width: 34px; height: 34px; border-radius: 12px; } .gcard b { font-size: 12.5px; line-height: 1.15; hyphens: auto; overflow-wrap: anywhere; }
.ticket { scroll-margin-top: 70px; }
.smedal { font-size: 14px; } .bot-tag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.14); color: var(--muted); vertical-align: middle; } .badges { display: flex; flex-wrap: wrap; gap: 8px; } .bdg { background: rgba(var(--gold-rgb), .16); border: 1px solid rgba(var(--gold-rgb), .5); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 14px; }
.tlist { margin: 4px 0; padding-left: 22px; display: grid; gap: 4px; } .tlist li { font-weight: 600; } .code { letter-spacing: .12em; }
.ttag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 1px 5px; margin-right: 3px; border-radius: 5px; vertical-align: middle; background: rgba(var(--gold-rgb), .18); border: 1px solid rgba(var(--gold-rgb), .55); color: var(--text, #fff); }
.qopt { display: flex; align-items: center; gap: 12px; }
.qopt b { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(0, 0, 0, .3); color: var(--gold-hi, var(--gold)); }
.qopt span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ttag { display: inline-flex; align-items: center; gap: 3px; } .ttag .tlogo { flex: none; } .tlogo { display: inline-block; vertical-align: middle; }
.tm-head { display: flex; gap: 14px; align-items: center; } .tm-name { font-size: 18px; margin: 0; }
.tm-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; } .tm-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi, var(--gold))); border-radius: 999px; transition: width .5s var(--ease-out); }
.tm-prev { display: flex; justify-content: center; padding: 6px 0; } .tm-row { display: grid; gap: 6px; margin: 8px 0; } .tm-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-o { position: relative; min-width: 46px; min-height: 46px; padding: 6px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: inherit; cursor: pointer; }
.tm-o.on { border-color: var(--gold); background: rgba(var(--gold-rgb), .2); } .tm-o:disabled { opacity: .45; cursor: not-allowed; } .tm-o small { font-size: 9px; font-weight: 800; }
.tmem { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .tmem li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .tm-ctl { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; } .tm-ctl .field { padding: 4px 8px; min-height: 34px; width: auto; }
.rk-badge { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; letter-spacing: .03em; background: rgba(255,255,255,.12); } .rk-leader { background: rgba(var(--gold-rgb), .3); border: 1px solid var(--gold); } .rk-deputy { background: rgba(169,139,255,.3); } .rk-officer { background: rgba(79,179,255,.28); } .rk-recruit { opacity: .7; }
.tchat { max-height: 180px; overflow-y: auto; display: grid; gap: 4px; padding: 8px; border-radius: 14px; background: rgba(0,0,0,.22); font-size: 14px; } .tc-m { overflow-wrap: anywhere; }

/* ---- Sijelo Live ---- */
.lv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .lv-top h2 { margin: 0; font-size: 26px; } .lv-top p { margin: 2px 0 0; }
.lv-conn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; } .lv-conn i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b86; } .lv-conn.on i { background: var(--mint); box-shadow: 0 0 0 4px rgba(79, 227, 176, .18); }
.lv-stats { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); } .lv-stats .ico { width: 16px; height: 16px; vertical-align: -3px; } .lv-stats b { color: var(--gold-hi); }
.lv-ev { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 10px; }
.lv-ev.big { background: linear-gradient(160deg, rgba(var(--gold-rgb), .16), rgba(143, 123, 255, .12)); border-color: rgba(var(--gold-rgb), .5); } .lv-ev.is-live { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 107, 134, .12); }
.lv-ev-h { display: flex; gap: 12px; align-items: flex-start; } .lv-ev-h > .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: rgba(var(--gold-rgb), .16); color: var(--gold-hi); }
.lv-ev-h h3 { margin: 0; font-size: 19px; line-height: 1.2; } .lv-ev-h p { margin: 2px 0 0; font-size: 13px; } .lv-ev-h > div { flex: 1; min-width: 0; }
.lv-badge { flex: none; padding: 4px 10px; border-radius: 99px; font-size: 12px; background: rgba(var(--gold-rgb), .2); color: var(--gold-hi); } .lv-badge.live { background: var(--rose); color: #fff; animation: lvPulse 1.6s ease-in-out infinite; } .lv-badge.wait { background: rgba(79, 227, 176, .2); color: var(--mint); }
@keyframes lvPulse { 50% { opacity: .6; } }
.lv-desc { margin: 0; font-size: 15px; line-height: 1.4; } .lv-ev-m { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; } .lv-ev-m .ico { width: 15px; height: 15px; vertical-align: -3px; } .lv-ev-m span:first-child { font-weight: 800; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.lv-ev-a { display: flex; flex-wrap: wrap; gap: 8px; } .lv-ev-a .btn.primary { flex: 1 1 140px; }
.lv-empty { text-align: center; padding: 28px 16px; border-radius: 22px; border: 1.5px dashed rgba(255, 255, 255, .22); display: flex; flex-direction: column; gap: 8px; align-items: center; } .lv-empty h3 { margin: 0; } .lv-empty p { margin: 0; max-width: 30ch; }
.lv-empty-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--gold-rgb), .14); color: var(--gold-hi); } .lv-empty-ic .ico { width: 28px; height: 28px; }
.lv-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .07); } .lv-seg button { min-height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 700; } .lv-seg button.on { background: rgba(var(--gold-rgb), .2); color: var(--gold-hi); }
.lv-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .lv-hist button, .lv-hist li > div { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; padding: 10px 14px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .06); color: inherit; } .lv-hist li > div { display: grid; } .lv-hist li { display: block; } .lv-hist li:has(> div) { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); } .lv-hist b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--gold-hi); }
.lv-room { display: flex; flex-direction: column; gap: 12px; position: relative; } .lv-rh { display: flex; align-items: center; gap: 10px; } .lv-rt { flex: 1; min-width: 0; } .lv-rt h3 { margin: 0; font-size: 18px; } .lv-rt p { margin: 0; font-size: 13px; }
.lv-rh .icon-btn { transform: rotate(-90deg); }
.lv-host { min-height: 0; padding: 0; font-size: 14px; border-radius: 14px; } .lv-host:not(:empty) { padding: 10px 14px; background: rgba(143, 123, 255, .16); border: 1px solid rgba(143, 123, 255, .4); } .lv-host.in { animation: lvIn .4s ease-out; } .lv-hn { font-weight: 800; color: var(--gold-hi); } .lv-hn .ico { width: 14px; height: 14px; vertical-align: -2px; }
@keyframes lvIn { from { opacity: 0; transform: translateY(-6px); } }
.lv-wait { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 8px 0; } .lv-wait h3 { margin: 0; } .lv-wait p { margin: 0; }
.lv-count { font-size: 60px; font-weight: 800; letter-spacing: .02em; color: var(--gold-hi); font-variant-numeric: tabular-nums; line-height: 1; } .lv-pc { font-size: 15px; } .lv-pc b { color: var(--gold-hi); } .lv-big { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--gold-rgb), .16); color: var(--gold-hi); } .lv-big .ico { width: 34px; height: 34px; }
.lv-av { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-height: 190px; overflow: hidden; } .lv-p { position: relative; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .55; } .lv-p.here { opacity: 1; } .lv-p small { font-size: 11px; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lv-p.more { display: grid; place-items: center; font-weight: 800; color: var(--gold-hi); opacity: 1; } .lv-p .avw { width: 44px; height: 44px; } .lv-k { position: absolute; top: -4px; right: 0; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--rose); color: #fff; font-weight: 800; line-height: 1; }
.lv-rules { text-align: left; width: 100%; } .lv-rules summary { cursor: pointer; font-weight: 700; min-height: 36px; display: flex; align-items: center; }
.lv-q { display: flex; flex-direction: column; gap: 12px; } .lv-qh { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--muted); } .lv-qh b { font-size: 28px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.lv-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; } .lv-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--gold)); transition: width .25s linear; border-radius: 99px; }
.lv-qt { margin: 4px 0; font-size: 22px; line-height: 1.3; text-wrap: balance; } .lv-opts { display: flex; flex-direction: column; gap: 10px; } .lv-est { display: flex; gap: 8px; } .lv-est .field { flex: 1; min-width: 0; font-size: 20px; }
.lv-st { margin: 0; text-align: center; } .qopt.rv { position: relative; overflow: hidden; } .qopt.rv em { flex: none; font-style: normal; font-weight: 800; font-size: 14px; } .qopt.rv i { position: absolute; left: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .35); }
.lv-msg { margin: 0; text-align: center; font-size: 20px; font-weight: 800; } .lv-msg.ok { color: var(--mint); } .lv-ans { font-size: 20px; text-align: center; } .lv-ans b { color: var(--mint); }
.lv-rank { display: flex; flex-direction: column; gap: 6px; }
.lv-end { display: flex; flex-direction: column; gap: 14px; } .lv-end h3 { margin: 0; text-align: center; font-size: 24px; }
.lv-podium { display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding-top: 10px; } .lv-pod { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 16px 16px 0 0; background: rgba(255, 255, 255, .07); min-width: 90px; max-width: 120px; flex: 1; } .lv-pod.p1 { background: rgba(var(--gold-rgb), .22); padding-top: 22px; } .lv-pod.p2 { padding-top: 14px; } .lv-pod b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lv-pod small { color: var(--muted); } .lv-pod span { font-size: 26px; font-weight: 800; color: var(--gold-hi); }
.lv-you { text-align: center; padding: 12px; border-radius: 18px; background: rgba(var(--gold-rgb), .14); border: 1.5px solid rgba(var(--gold-rgb), .4); display: flex; flex-direction: column; gap: 2px; } .lv-you b { font-size: 24px; color: var(--gold-hi); }
.lv-votes { display: flex; flex-direction: column; gap: 14px; } .lv-v p { margin: 0 0 6px; font-weight: 700; } .lv-vb { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; margin-bottom: 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); overflow: hidden; } .lv-vb i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(var(--gold-rgb), .25); z-index: 0; } .lv-vb span, .lv-vb em { position: relative; z-index: 1; font-style: normal; }
.lv-react { display: flex; justify-content: space-between; gap: 4px; } .lv-react button { flex: 1; min-height: 44px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .07); font-size: 22px; } .lv-react button:active { transform: scale(.9); }
.lv-chat h4 { margin: 4px 0 6px; } .lv-chat .tchat { max-height: 160px; }
.lv-ctl { border-radius: 16px; border: 1px dashed rgba(var(--gold-rgb), .5); padding: 6px 12px; } .lv-ctl summary { min-height: 40px; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; } .lv-ctl summary .ico { width: 16px; height: 16px; } .lv-ctl-b { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; } .lv-ctl-b .row { width: 100%; display: flex; gap: 8px; } .lv-ctl-b .field { flex: 1; min-width: 0; }
.lv-fl { position: absolute; inset: auto 0 70px 0; height: 0; pointer-events: none; } .lv-fl span { position: absolute; bottom: 0; font-size: 28px; animation: lvFloat 1.8s ease-out forwards; } @keyframes lvFloat { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-220px); opacity: 0; } }
.lv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; text-align: center; } .lv-kpis div { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); } .lv-kpis b { display: block; font-size: 24px; color: var(--gold-hi); }
.lv-board .brow .cc { min-width: 28px; text-align: right; }
@media (prefers-reduced-motion: reduce) { .lv-badge.live, .lv-host.in, .lv-fl span { animation: none !important; } .lv-bar i { transition: none; } }
.lite .lv-badge.live, .lite .lv-host.in { animation: none; } .lite .lv-fl { display: none; }
.lv-rank .brow, .lv-board .brow { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; }
.lv-rank .brow.me, .lv-board .brow.me { border-color: var(--gold); background: rgba(var(--gold-rgb), .18); }
.lv-rank .bn, .lv-board .bn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .lv-rank .rk, .lv-board .rk { width: 24px; text-align: center; color: var(--gold-hi); }
.lv-rank .bw, .lv-board .bw { font-weight: 800; font-size: 18px; color: var(--gold-hi); }
.op-card .row { display: flex; gap: 8px; flex-wrap: wrap; } .op-card .row .field { flex: 1 1 90px; min-width: 0; } .op-form { display: flex; flex-direction: column; gap: 8px; }

/* ---- prijatelji, obavijesti, profil ---- */
.soc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.soc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 18px; color: inherit; font-size: 14px; cursor: pointer; position: relative; }
.nbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff5d73; color: #fff; font-size: 11px; font-weight: 700; margin-left: 4px; }
.nbadge[hidden] { display: none; }
.fr-body, .nt-body { display: flex; flex-direction: column; gap: 10px; }
.fr-add { margin-bottom: 8px; } .fr-tabs { margin: 8px 0; --cols: 3; }
.fr-row { position: relative; flex-wrap: wrap; } .fr-act { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.fr-menu { position: absolute; right: 0; top: 100%; z-index: 5; display: flex; gap: 6px; padding: 8px; border-radius: 14px; }
.fr-vis { margin-top: 10px; } .fr-pos { width: 22px; text-align: right; }
.st-live { color: #ffb84d; } .st-off { color: var(--muted, #8a93a6); }
.on-row.me { outline: 1px solid rgba(255,255,255,.25); border-radius: 12px; }
.nt-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.nt-row { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); }
.nt-row.new { background: rgba(255,200,80,.1); box-shadow: inset 3px 0 0 #ffb84d; }
.nt-ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; } .nt-ic svg { width: 20px; height: 20px; }
.nt-tx { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.pf-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; } .pf-head h3 { margin: 0 0 4px; }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.pf-grid div { text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.05); } .pf-grid b { display: block; font-size: 20px; } .pf-grid small { color: var(--muted, #8a93a6); font-size: 11px; }
.pf-ach { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- nove kolo-igre: Pogodi godinu, Brzi prsti, Ko zna više? ---- */
.sc-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.sc-chip { padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 13px; } .sc-chip.me { outline: 1px solid #ffe08a; } .sc-chip.done { background: rgba(79,227,176,.2); }
.sc-chip b { margin-left: 4px; } .sc-chip i { margin-left: 4px; font-style: normal; color: #7be8b8; font-weight: 700; }
.gd-q { font-size: clamp(20px, 5.5vw, 28px); font-weight: 800; text-align: center; margin: 14px 4px; line-height: 1.25; }
.gd-f { display: flex; gap: 8px; } .gd-f input { flex: 1; min-width: 0; height: 50px; font-size: 20px; text-align: center; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); color: inherit; padding: 0 12px; }
.gd-ans { text-align: center; font-size: clamp(36px, 12vw, 56px); font-weight: 900; color: #ffe08a; margin: 4px 0 10px; }
.gd-res { display: flex; flex-direction: column; gap: 6px; } .gd-r { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.06); } .gd-r.me { outline: 1px solid #ffe08a; }
.gd-r span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .gd-r small { color: var(--muted, #8a93a6); } .gd-r i { font-style: normal; font-weight: 800; color: #7be8b8; }
.pr-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pr-o { min-height: 64px; padding: 8px 10px; border-radius: 16px; border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.pr-o:disabled { cursor: default; opacity: .75; } .pr-o.on { outline: 3px solid #ffe08a; opacity: 1; } .pr-o.good { border-color: #7be8b8; background: rgba(79,227,176,.28); opacity: 1; } .pr-o.bad { border-color: #ff8da4; background: rgba(255,107,138,.25); opacity: 1; }
.kz-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; min-height: 28px; } .tag.ok { background: rgba(79,227,176,.22); } .kz-fb { min-height: 22px; font-weight: 700; }

/* Nove igre: Tajna riječ, Pogodi ko sam, Emoji šarada, Brzi izazov */
.tj-b { display: grid; gap: 6px; justify-content: center; margin: 8px 0; } .tj-r { display: grid; grid-template-columns: repeat(5, 46px); gap: 6px; }
.tj-t { display: grid; place-items: center; height: 46px; border-radius: 10px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); font-style: normal; font-weight: 800; font-size: 22px; }
.tj-t.g { background: #2f9e6b; border-color: #2f9e6b; } .tj-t.y { background: #b98a1f; border-color: #b98a1f; } .tj-t.x { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.tj-msg { min-height: 20px; margin: 4px 0; } .tj-os { display: grid; gap: 4px; margin-top: 8px; } .tj-o { display: flex; align-items: center; gap: 8px; font-size: 13px; } .tj-o b { width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tj-o.ok b::after { content: ' ✓'; color: #7be8b8; }
.tj-o span { display: flex; gap: 4px; flex-wrap: wrap; } .tj-o em { display: inline-flex; gap: 2px; } .tj-o u { width: 9px; height: 9px; border-radius: 2px; background: rgba(255,255,255,.14); text-decoration: none; } .tj-o u.g { background: #2f9e6b; } .tj-o u.y { background: #b98a1f; }
.ks-hs { display: grid; gap: 6px; margin: 8px 0; min-height: 120px; } .ks-h { background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 12px; font-size: 16px; } .ks-h.new { outline: 2px solid #ffe08a; }
.em-line { text-align: center; font-size: 34px; line-height: 1.3; min-height: 56px; margin: 6px 0; word-break: break-word; }
.em-pad { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 4px; max-height: 30vh; overflow-y: auto; margin: 6px 0; } .em-k { height: 40px; font-size: 22px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); cursor: pointer; padding: 0; }
.iz-p { text-align: center; font-size: clamp(28px, 9vw, 44px); font-weight: 800; margin: 14px 0; word-break: break-word; }
@media (prefers-reduced-motion: no-preference) { .tj-t.g, .tj-t.y { transition: background .2s; } }

.gt-map{display:flex;gap:6px;justify-content:center;margin:8px 0}
.gt{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700;border:1px solid var(--line,#8886)}
.gt-o{opacity:.35}.gt-n{opacity:.55;background:repeating-linear-gradient(45deg,transparent 0 4px,#8883 4px 8px)}
.gt-me{background:var(--accent,#e0a030);color:#111}.gt-x{background:#5a6b86;color:#fff}

.mn-bar{height:6px;border-radius:3px;background:#8883;overflow:hidden;margin-top:4px}.mn-bar i{display:block;height:100%;background:var(--accent,#e0a030)}
.mn-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0}.mn-row span{flex:1}.mn-row small{display:block;opacity:.7}
.mn-tiers,.mn-items{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.mn-tiers .on{background:var(--accent,#e0a030);color:#111}.mn-sheet .glass{margin-bottom:10px}

/* ---- Osvajanje Balkana: karta preko cijele pozornice, prozor s pitanjem ---- */
.party-stage.os-stage{padding:0!important;overflow:hidden;position:relative;background:#091728}
.dg.os{position:absolute;inset:0;display:block;padding:0;margin:0;overflow:hidden}
.os-wrap{position:absolute;inset:84px 0 0 0}
.os-map{width:100%;height:100%;display:block}
.os-sea{fill:url(#osea)}
.os-c path{fill:url(#ogn);stroke:#0b1626;stroke-width:.08;stroke-linejoin:round;transition:fill .3s}
.os-c.c0 path{fill:url(#og0);stroke:#fff3cf;stroke-opacity:.75}.os-c.c1 path{fill:url(#og1);stroke:#d6ecff;stroke-opacity:.75}
.os-c.c2 path{fill:url(#og2);stroke:#ffd9e2;stroke-opacity:.75}.os-c.c3 path{fill:url(#og3);stroke:#d9fbe4;stroke-opacity:.75}
.os-c.c0 path,.os-c.c1 path,.os-c.c2 path,.os-c.c3 path{stroke-width:.1}
.os-c.me path{stroke:#fff;stroke-opacity:1;stroke-width:.16}
.os-c.dim{opacity:.5}
.os-c.sel{cursor:pointer}.os-c.sel path{animation:osp 1s ease-in-out infinite alternate;stroke:#fff;stroke-width:.18;stroke-opacity:1}
@keyframes osp{from{filter:brightness(1)}to{filter:brightness(1.55)}}
.os-c.hot path{stroke:#ffe27a;stroke-width:.3;stroke-opacity:1}
.os-c.pk path{stroke:#fff;stroke-width:.36;filter:brightness(1.5);animation:none}
.os-c.ans path{stroke:#7cf29c;stroke-width:.38;stroke-opacity:1}
.os-c.fin .os-ring{stroke:#ffd36b;animation:osfin .9s ease-in-out infinite alternate}
@keyframes osfin{to{stroke-width:.3;filter:drop-shadow(0 0 .3px #ffd36b)}}
.os-c.flash path{animation:osfl 1s ease-out 1}
@keyframes osfl{0%{filter:brightness(3)}100%{filter:brightness(1)}}
.os-c.hit{animation:oshit .5s 2}
@keyframes oshit{0%,100%{transform:translate(0,0)}25%{transform:translate(.14px,-.08px)}75%{transform:translate(-.14px,.08px)}}
.os-l{font:800 .72px/1 system-ui,'Segoe UI',Roboto,sans-serif;fill:#fff;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#0009;stroke-width:.16px;stroke-linejoin:round;letter-spacing:.02px}
.os-l.cap{font-size:.64px}
.os-hs{font-size:.42px;fill:#ff5c6c;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#000b;stroke-width:.12px;letter-spacing:.04px}
.os-ring{fill:#101a2b;stroke:#fff;stroke-width:.16}
.os-ring.c0,.os-flag.c0{stroke:#ffd36b}.os-ring.c1,.os-flag.c1{stroke:#7cc4ff}.os-ring.c2,.os-flag.c2{stroke:#ff8aa6}.os-ring.c3,.os-flag.c3{stroke:#7fe3a1}
.os-flag{stroke-width:.09;pointer-events:none}
.os-out{fill:none;stroke:#fff;stroke-opacity:.35;stroke-width:.07;pointer-events:none}
.os-shaft{fill:none;stroke-width:.24;stroke-dasharray:.55 .35;stroke-linecap:round;animation:osdash .6s linear infinite;filter:drop-shadow(0 0 .12px #000)}
.os-atk.done .os-shaft{animation:none;stroke-dasharray:none;opacity:.8}
.os-pulse{fill:none;stroke-width:.14;animation:ospl 1.1s ease-out infinite}
.os-atk.done .os-pulse{animation:none;opacity:0}
@keyframes osdash{to{stroke-dashoffset:-.9}}
@keyframes ospl{0%{r:.4;opacity:1}100%{r:1.5;opacity:0}}
/* gornja traka: runda i igrači */
.os-hud{position:absolute;left:8px;right:8px;top:8px;z-index:3;display:flex;flex-direction:column;gap:6px;pointer-events:none}
.os-pill{align-self:center;background:#0b1626d9;border:1px solid #ffffff2a;border-radius:999px;padding:4px 14px;font-weight:800;font-size:13px;letter-spacing:.2px;backdrop-filter:blur(6px)}
.os-pill.fin{background:#6b4a08e6;border-color:#ffd36b;color:#ffe9a8}
.os-leg{display:flex;gap:6px;justify-content:center}
.os-p{flex:1 1 0;min-width:0;max-width:150px;display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 8px 3px 4px;border-radius:14px;background:#0b1626d9;border:2px solid #ffffff22;backdrop-filter:blur(6px);font-size:12px}
.os-p.c0{border-color:#ffd36b}.os-p.c1{border-color:#7cc4ff}.os-p.c2{border-color:#ff8aa6}.os-p.c3{border-color:#7fe3a1}
.os-p.me{box-shadow:0 0 0 2px #ffffff55}.os-p.next{background:#5b4509e6}.os-p.out{opacity:.45}
.os-p b{font-size:15px;font-variant-numeric:tabular-nums}.os-p small{font-size:11px;opacity:.8}.os-p .ok{color:#7cf29c;opacity:1;font-weight:800}.os-p .nx{color:#ffe27a;opacity:1}
.os-hp{color:#ff5c6c;letter-spacing:0;font-size:11px;line-height:1}.os-hp s{color:#ffffff33;text-decoration:none}
.os-av{width:26px;height:26px;border-radius:50%;background:#222;vertical-align:middle;flex:none}.os-av.big{width:40px;height:40px}.os-p .os-av{width:24px;height:24px}
/* prozor s pitanjem */
.os-sheet{position:absolute;left:8px;right:8px;bottom:8px;z-index:4;max-height:56%;overflow:auto;pointer-events:none}
.os-sheet>*{pointer-events:auto}
.os-sheet.in .os-sh{animation:ossh .28s ease-out}
@keyframes ossh{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.os-sh{background:#0c1424ed;border:1px solid #ffffff26;border-radius:20px;padding:12px 14px 14px;box-shadow:0 14px 40px #000a;backdrop-filter:blur(12px)}
.os-sh .dg-head{margin-bottom:2px}.os-sh .dg-hint{font-size:15px}.os-sh .dg-sec{font-size:24px;min-width:34px}
.os-sh .gd-q{font-size:18px;margin:8px 0;line-height:1.25;text-align:center}
.os-sh-t{font-size:20px;font-weight:800;text-align:center;margin-bottom:4px}
.os-rules{text-align:left;padding-left:20px;line-height:1.4;font-size:13.5px;margin:6px 0 0}.os-rules li{margin:4px 0}
.os-vs{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0;flex-wrap:wrap}.os-vs p{margin:0;flex-basis:100%;text-align:center;font-size:13px;line-height:1.3}
.os-sw{font-size:22px}.os-neu{display:inline-flex;width:40px;height:40px;border-radius:50%;background:#4a5361;align-items:center;justify-content:center;font-style:normal;font-weight:800}
.os-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 0}
.os-opt{padding:12px 8px;border-radius:14px;border:1px solid #ffffff2a;background:#ffffff14;color:inherit;font:700 15px/1.2 inherit;min-height:50px;cursor:pointer}
.os-opt:hover:not(:disabled){background:#ffffff26}.os-opt.on{background:var(--accent,#e0a030);color:#111;border-color:transparent}.os-opt:disabled:not(.on){opacity:.5}
.os-pk{flex:1;padding:10px 12px;border-radius:12px;background:#ffffff14;font-weight:800;text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center}
.os-rank{display:flex;flex-direction:column;gap:4px;margin:6px 0}
.os-row{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:2px 8px;align-items:center;padding:4px 8px;border-radius:12px;background:#ffffff10;border-left:4px solid #5a6270}
.os-row.c0{border-left-color:#ffd36b}.os-row.c1{border-left-color:#7cc4ff}.os-row.c2{border-left-color:#ff8aa6}.os-row.c3{border-left-color:#7fe3a1}.os-row.me{background:#ffffff1f}
.os-row .os-nm{display:flex;flex-direction:column;line-height:1.15;font-weight:700}.os-row small{font-size:11px;opacity:.8;font-weight:500}.os-row .os-gs{font-weight:800;text-align:right}.os-row em{font-style:normal;color:#ffe27a;font-weight:800;min-width:2ch}
.os-pos{opacity:.7}
.os-hint{text-align:center;font-weight:700;color:var(--accent,#e0a030);margin:4px 0 0;font-size:14px}.os-res{text-align:center;font-weight:800;margin:6px 0 0;font-size:15px}.os-res.win{color:#7cf29c}
/* sažeti prozor pri biranju pokrajina */
.os-sh.cmp .os-rank{display:none}.os-sh.cmp .dg-bar{margin-bottom:2px}
.os-tg{display:block;margin:4px auto 0;background:#ffffff14;border:1px solid #ffffff2a;color:inherit;border-radius:999px;padding:3px 12px;font-size:12px;cursor:pointer}
/* široki ekran: karta veća i desno, prozor lijevo dolje u praznom moru */
@media (min-width:820px){
  .os-wrap{inset:64px 0 0 0}
  .os-map{}
  .os-sheet{left:8px;right:auto;bottom:8px;width:350px;max-height:80%}
}
@media (prefers-reduced-motion:reduce){.os-shaft,.os-pulse,.os-c.hit,.os-c.sel path,.os-c.fin .os-ring,.os-c.flash path,.os-sheet.in .os-sh{animation:none}}

.os-p{padding:3px 6px 3px 4px;gap:6px;justify-content:flex-start}.os-pc{display:flex;flex-direction:column;line-height:1.05;min-width:0}.os-pt{display:flex;align-items:baseline;gap:4px}
.os-p .os-hp{font-size:10px;letter-spacing:1px}.os-p small.ct{font-size:10px}
.os-p .ok,.os-p .nx{margin-left:auto}
/* Osvajanje: 3D karta */
.os-glh{position:absolute;inset:0;overflow:hidden}
.os-glh canvas{outline:none}
.os-ban{position:absolute;left:50%;top:18%;transform:translateX(-50%);padding:10px 20px;border-radius:14px;font-weight:900;letter-spacing:.5px;font-size:clamp(15px,4.4vw,24px);color:#fff;pointer-events:none;z-index:6;animation:osban 2.4s ease-out forwards;white-space:nowrap;text-shadow:0 2px 8px #000a}
.os-ban.bad{background:linear-gradient(#e23c55,#9b1d33);box-shadow:0 0 0 3px #ffffff55,0 0 36px #ff2d4d99}
.os-ban.good{background:linear-gradient(#37c871,#1c8a4a);box-shadow:0 0 0 3px #ffffff55,0 0 36px #3dff8a77}
@keyframes osban{0%{opacity:0;transform:translateX(-50%) scale(.6)}12%{opacity:1;transform:translateX(-50%) scale(1.12)}22%{transform:translateX(-50%) scale(1)}80%{opacity:1}100%{opacity:0;transform:translateX(-50%) translateY(-18px) scale(1)}}
.os-p.lose{animation:oslose .9s ease-out;border-color:#ff4d63!important}
.os-p.gain{animation:osgain .9s ease-out}
@keyframes oslose{0%,100%{transform:translateX(0)}10%{transform:translateX(-5px);background:#7a1424}25%{transform:translateX(5px)}40%{transform:translateX(-4px)}55%{transform:translateX(3px)}70%{transform:translateX(-2px)}}
@keyframes osgain{0%{transform:scale(1)}30%{transform:scale(1.12);background:#1a5a35}100%{transform:scale(1)}}
.os-bs{display:flex;flex-direction:column;gap:2px;font-size:13px;margin:4px 0}.os-bw b{color:#ffd36b}.os-br b{color:#7cf29c}

/* Okviri majstorstva (premium igre): Majstor = jednostavniji, Legenda = animiran sjaj */
.avw.fr-29{--fr:conic-gradient(#bcd7ff,#3b82f6,#1e3a8a,#60a5fa,#bcd7ff);--fw:5px}.avw.fr-29::after{content:"🚂";position:absolute;top:-6px;left:-2px;font-size:13px;z-index:3}
.avw.fr-30{--fr:conic-gradient(#fff3a3,#3b82f6,#fde047,#1e3a8a,#fff3a3);--fw:5px}.avw.fr-30::before{filter:drop-shadow(0 0 6px #60a5fa);animation:frSpin 3s linear infinite}.avw.fr-30::after{content:"🚂";position:absolute;top:-6px;left:50%;font-size:14px;z-index:3;transform:translateX(-50%);animation:frTwinkle 2s ease-in-out infinite}
.avw.fr-31{--fr:conic-gradient(#fecaca,#dc2626,#7f1d1d,#f87171,#fecaca);--fw:5px}.avw.fr-31::after{content:"⚔️";position:absolute;top:-6px;left:-2px;font-size:13px;z-index:3}
.avw.fr-32{--fr:conic-gradient(#fff3a3,#dc2626,#fbbf24,#7f1d1d,#fff3a3);--fw:5px}.avw.fr-32::before{filter:drop-shadow(0 0 6px #f87171);animation:frSpin 3s linear infinite}.avw.fr-32::after{content:"👑";position:absolute;top:-8px;left:50%;font-size:15px;z-index:3;transform:translateX(-50%);animation:frTwinkle 2s ease-in-out infinite}
.avw.fr-33{--fr:conic-gradient(#e7d3b0,#a16207,#451a03,#d6a869,#e7d3b0);--fw:5px}.avw.fr-33::after{content:"🪢";position:absolute;top:-6px;left:-2px;font-size:13px;z-index:3}
.avw.fr-34{--fr:conic-gradient(#fff3a3,#a16207,#f5d58a,#451a03,#fff3a3);--fw:5px}.avw.fr-34::before{filter:drop-shadow(0 0 6px #fbbf24);animation:frSpin 3s linear infinite}.avw.fr-34::after{content:"🎯";position:absolute;top:-6px;left:50%;font-size:14px;z-index:3;transform:translateX(-50%);animation:frTwinkle 2s ease-in-out infinite}
.avw.fr-35{--fr:conic-gradient(#bbf7d0,#16a34a,#14532d,#4ade80,#bbf7d0);--fw:5px}.avw.fr-35::after{content:"🌍";position:absolute;top:-6px;left:-2px;font-size:13px;z-index:3}
.avw.fr-36{--fr:conic-gradient(#fff3a3,#16a34a,#fde047,#14532d,#fff3a3);--fw:5px}.avw.fr-36::before{filter:drop-shadow(0 0 6px #4ade80);animation:frSpin 3s linear infinite}.avw.fr-36::after{content:"🗺️";position:absolute;top:-6px;left:50%;font-size:14px;z-index:3;transform:translateX(-50%);animation:frTwinkle 2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.avw.fr-30::before,.avw.fr-32::before,.avw.fr-34::before,.avw.fr-36::before,.avw.fr-30::after,.avw.fr-32::after,.avw.fr-34::after,.avw.fr-36::after{animation:none}}
.ms-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 0;border-bottom:1px solid #ffffff12}.ms-row b{font-size:14px}.ms-row .ms-rk{font-weight:800;color:#ffd36b}.ms-bar{grid-column:1/3;height:6px;border-radius:4px;background:#ffffff18;overflow:hidden}.ms-bar i{display:block;height:100%;background:linear-gradient(90deg,#7cf29c,#ffd36b)}.ms-row small{grid-column:1/3;opacity:.7}
.tier-h{display:flex;align-items:center;gap:8px;margin:6px 2px 2px;font-size:12px;letter-spacing:.4px;opacity:.85}.tier-h.prem b{color:#ffd36b}.gcard .pm{position:absolute;top:4px;right:6px;font-size:10px;color:#ffd36b}
.gcard{position:relative}
.shelf.prem2{grid-template-columns:repeat(2,1fr)!important}.shelf.prem2 .gcard{padding:16px 8px}

.pf-tabs{display:flex;gap:6px;margin:10px 0 6px}.pf-tabs button{flex:1;padding:8px 4px;border-radius:12px;border:1px solid #ffffff22;background:#ffffff0d;color:inherit;font-weight:700;font-size:13px}.pf-tabs button.on{background:#ffd36b26;border-color:#ffd36b}
.pf-ach{display:flex;flex-wrap:wrap;gap:6px}.abdg{display:inline-flex;align-items:center;gap:5px;padding:4px 9px 4px 6px;border-radius:999px;font-size:12px;border:1px solid #ffffff22;background:#ffffff0f}.abdg i{font-style:normal}
.abdg.r2{border-color:#5aa7ff;background:#2a5fa022}.abdg.r3{border-color:#c77dff;background:#8a3fd122}.abdg.r4{border-color:#ffd36b;background:linear-gradient(90deg,#ffd36b26,#ff8a4a22);box-shadow:0 0 10px #ffd36b44}
.pf-fr{display:flex;gap:10px;flex-wrap:wrap;padding:6px 0}
[data-pnick]{cursor:pointer}

.crown-tag{display:inline-block;margin:4px 4px 0 0;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:800;color:#1a0b1e;background:linear-gradient(90deg,#ffe9aa,#f6a93b);box-shadow:0 0 12px #f6a93b66}
.ch-card{border:1px solid #ffffff1f;border-radius:16px;padding:10px 12px;margin:8px 0;background:#ffffff08;display:flex;flex-direction:column;gap:3px}.ch-card.prem{border-color:#ffd36b66;background:linear-gradient(135deg,#ffd36b14,#ffffff06)}
.ch-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.ch-crown{font-weight:800;color:#ffd36b}.ch-week{margin-top:4px}.ch-w{display:grid;grid-template-columns:22px 1fr auto;gap:6px;font-size:13px;padding:2px 0}.ch-w em{font-style:normal;opacity:.75}.ch-w.pend{opacity:.6}
.champ-btn{margin-top:8px;border-color:#ffd36b88}
/* Vješala: nove stvari */
.vj-wd{display:inline-flex;gap:4px;margin:0 6px 6px 0}.vj-c.hint{background:#ffd36b33;box-shadow:0 0 0 2px #ffd36b}
.vj-st{color:#ffd36b;letter-spacing:1px}
.vj-pl{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:6px 0}.vj-pc{display:flex;gap:6px;align-items:center;padding:4px 10px;border-radius:999px;background:#ffffff0f;border:1px solid #ffffff22;font-size:13px}
.vj-pc em{font-style:normal;font-weight:800;color:#ffd36b}.vj-pc.turn{border-color:#ffd36b;box-shadow:0 0 0 3px #ffd36b33;animation:vjturn 1.2s ease-in-out infinite alternate}.vj-pc.me b{color:#7cf29c}
@keyframes vjturn{to{box-shadow:0 0 0 5px #ffd36b22}}
.vj-who{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.vj-hinted{text-align:center;font-size:13px;color:#ffd36b;margin:4px 0}
.vj-sum{display:flex;flex-direction:column;gap:3px;margin-top:8px;font-size:13px;font-weight:500;text-align:left}
@media (prefers-reduced-motion:reduce){.vj-pc.turn{animation:none}}
.vet-tag{display:inline-block;margin:4px 4px 0 0;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid #9fc3ff;color:#cfe0ff;background:#2a4a8a33}.crown-tag.pr{background:linear-gradient(90deg,#e2c6ff,#9b6bff);color:#1a0b2e}
/* Kviz-bitka i Riječi */
.hub{display:flex;flex-direction:column;height:100%;min-height:0}.hub-in{flex:1;min-height:0;position:relative;background:none!important;border:0!important;box-shadow:none!important;padding:8px 8px 0!important}
.hub-band{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 8px;border-bottom:1px solid #ffffff14;font-size:13px}
.hub-segs{display:flex;gap:5px}.hub-seg{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;background:#ffffff12;border:1px solid #ffffff2a}
.hub-seg.done{background:#2fbf6a;border-color:#2fbf6a;color:#06210f}.hub-seg.on{background:#ffd36b;color:#2a1700;border-color:#ffd36b;box-shadow:0 0 0 3px #ffd36b44}.hub-seg.fin{border-color:#ff8a4a}
.hub-now{text-align:right}.hub-x2{font-style:normal;font-weight:900;color:#ff8a4a}
.hub-enter{animation:hubin .35s ease-out}@keyframes hubin{from{opacity:0;transform:translateY(10px)}}
.hub-list{text-align:left;display:inline-block;margin:10px auto}.hub-inter{display:flex;flex-direction:column;gap:10px;padding:10px}
.hub-tab{display:flex;flex-direction:column;gap:6px}.hub-row{display:grid;grid-template-columns:28px 1fr 44px 50px;align-items:center;padding:8px 10px;border-radius:12px;background:#ffffff0d}.hub-row.me{outline:2px solid #7cf29c55}
.hub-row em{font-style:normal;opacity:.6}.hub-row em.up{color:#7cf29c;opacity:1;font-weight:800;animation:hubpop .5s ease-out}.hub-row strong{text-align:right;font-size:18px}
@keyframes hubpop{0%{transform:scale(.4)}70%{transform:scale(1.25)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.hub-enter,.hub-row em.up{animation:none}}

/* Brending: naslovi i znak na više mjesta */
.party-title, .tk-head b, .end-card h2, .dg .big, .tier-h b, .sec-head h3, .sheet-title, .ch-top b { font-family: var(--display); letter-spacing: 0; }
.party-title { display: flex; align-items: center; gap: 8px; } .party-title .sj-mark { border-radius: 7px; }
.sj-word.sm { font-size: 13px; letter-spacing: .06em; } .sj-word.big { font-size: clamp(34px, 10vw, 54px); }
.brand-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 6px; opacity: .95 }
.brand-row .sj-mark { border-radius: 8px; box-shadow: 0 6px 20px #ff8a3c33; }
.splash { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.splash img { border-radius: 24px; box-shadow: 0 18px 60px #ff8a3c55; animation: splashin .6s ease-out both; }
.splash p { margin: 0; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
@keyframes splashin { from { opacity: 0; transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) { .splash img { animation: none; } }
/* Početni ekran: koraci za prvi put, kartice s opisom, dobrodošlica */
.steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 34px 12px 12px;border-radius:18px}
.steps div{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12.5px;line-height:1.25;font-weight:600}
.steps b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-size:13px;color:#2a1700;background:linear-gradient(#ffe9aa,#f6a93b);box-shadow:0 4px 14px #f6a93b55}
.steps-x{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:50%;background:#ffffff14;color:inherit;display:grid;place-items:center;cursor:pointer}.steps-x svg{width:14px;height:14px}
.gcard small{display:block;margin-top:2px;font-size:11px;line-height:1.2;color:var(--muted);font-weight:500}
.wl{display:flex;flex-direction:column;gap:14px}.wl-hero{display:flex;gap:14px;align-items:center}.wl-hero .sj-mark{border-radius:20px;box-shadow:0 10px 30px #ff8a3c44;flex:none}.wl-hero .sj-word{font-size:26px}.wl-hero p{margin:4px 0 0;color:var(--muted);font-size:14px}
.wl-pts{display:flex;flex-direction:column;gap:8px}.wl-pts div{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.35}.wl-pts div>:first-child{font-size:20px}
.wl-acc{padding:12px 14px;border-radius:16px;border:1px solid #ffd36b55;background:linear-gradient(135deg,#ffd36b14,#ffffff06)}.wl-acc ul{margin:6px 0 8px;padding-left:18px;font-size:14px;line-height:1.45}
.pp-stamps{display:flex;flex-wrap:wrap;gap:6px}.pp-stamp{padding:3px 8px;border:2px dashed #e86a5a;color:#ffb3a8;border-radius:8px;font-size:12px;font-weight:800;letter-spacing:.03em;transform:rotate(-2deg);text-transform:uppercase}.pp-stamp:nth-child(2n){transform:rotate(2deg);border-color:#5aa7ff;color:#bcd7ff}.pp-stamp:nth-child(3n){border-color:#7cf29c;color:#c8ffd8;transform:rotate(-1deg)}

/* SIJELO.app: presijavanje znaka, slogani */
.sj-word i { font-style: normal; font-weight: 600; font-size: .62em; letter-spacing: .02em; opacity: .9; margin-left: 1px; }
.sj-word.shine { background: linear-gradient(105deg, var(--gold-hi) 0%, var(--gold) 38%, #fffdf2 50%, var(--gold) 62%, var(--gold-hi) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: sjshine 5.5s ease-in-out infinite; }
@keyframes sjshine { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.brand-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.slogan { display: inline-block; transition: opacity .35s ease, transform .35s ease; } .slogan.out { opacity: 0; transform: translateY(4px); }
.slogan.hdr { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58vw; }
.hero-sub { margin: 6px 0 0; color: var(--muted); font-size: 13px; opacity: .85; }
.brand-sl { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-style: italic; text-align: center; }
.pt-brand { display: block; font-family: var(--display); font-size: 9px; letter-spacing: .12em; color: var(--gold); opacity: .8; font-weight: 700; }
#credit-fixed b, .credit-line b { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .sj-word.shine { animation: none; } .slogan { transition: none; } }
/* Kraj partije: majstorstvo i nove nagrade */
.ep{display:flex;flex-direction:column;gap:10px;margin:10px 0 4px;text-align:left}
.ep-ms{padding:10px 12px;border-radius:14px;background:#ffffff0b;border:1px solid #ffd36b44}.ep-top{display:flex;justify-content:space-between;align-items:center;font-family:var(--display);font-size:13px}.ep-rk{color:#ffd36b;font-weight:800}
.ep-bar{height:8px;border-radius:6px;background:#ffffff18;overflow:hidden;margin:7px 0 5px}.ep-bar i{display:block;height:100%;width:var(--w);background:linear-gradient(90deg,#7cf29c,#ffd36b);animation:epbar 1s .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes epbar{from{width:0}}.ep-ms small{color:var(--muted);font-size:12px}
.ep-done{display:flex;flex-wrap:wrap;gap:6px}.ep-badge{padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:#ffffff12;border:1px solid #ffffff2a;animation:eppop .5s cubic-bezier(.2,1.4,.4,1) both}
.ep-badge.k-mastery{background:linear-gradient(90deg,#ffd36b33,#ff8a4a22);border-color:#ffd36b}.ep-badge em{font-style:normal;color:#7cf29c}
@keyframes eppop{from{opacity:0;transform:scale(.5)}}
@media (prefers-reduced-motion:reduce){.ep-bar i,.ep-badge{animation:none}}
.ep-guest{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;border:1px dashed #ffd36b77;font-size:13px}
.gal{margin:12px 0 6px;text-align:left}.gal h4{margin:0 0 8px;font-family:var(--display);font-size:14px}.gal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.gal figure{margin:0;border-radius:14px;overflow:hidden;background:#10182a;border:1px solid #ffffff1f;animation:eppop .45s ease-out both}.gal figure:nth-child(2){animation-delay:.08s}.gal figure:nth-child(3){animation-delay:.16s}.gal figure:nth-child(4){animation-delay:.24s}
.gal canvas{display:block;width:100%;height:auto;aspect-ratio:1}.gal figcaption{display:flex;flex-direction:column;padding:6px 8px;font-size:12px}.gal figcaption b{text-transform:uppercase;letter-spacing:.03em}.gal figcaption span{color:var(--muted)}
.tl-vl{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:4px 2px}.tl-vc{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;padding:10px;border-radius:14px;background:#ffffff0b;border:1px solid #ffffff1f}
.tl-vc.win{border-color:#ffd36b;background:linear-gradient(135deg,#ffd36b22,#ffffff08);animation:eppop .5s ease-out}.tl-vc.mine{border-color:#7cf29c88}
.tl-vq{grid-column:1/3;font-weight:700;font-size:14px}.tl-vq small{display:block;font-weight:500;color:var(--muted);font-size:11.5px}.tl-vt{font-size:13px;color:#ffd36b}.tl-vcv{width:110px;height:110px;border-radius:10px;background:#10182a}.tl-cnt{font-family:var(--display);font-size:13px}
.os-tip{position:absolute;left:10px;right:10px;top:10px;z-index:7;display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:14px;background:#0b1626ee;border:1px solid #ffd36b88;box-shadow:0 10px 30px #0008;font-size:13.5px;line-height:1.35;animation:ossh .3s ease-out;cursor:pointer}.os-tip b{font-size:18px}
.appbar .brand{min-width:0;flex:1 1 auto;overflow:hidden}.appbar .ab-r{flex:none}.brand-tx{min-width:0;max-width:100%}.slogan.hdr{max-width:100%}
#hero-p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ===== Novi glavni meni: centriran, jasan izbor, animiran ===== */
#pane-igre .col { align-items: stretch; }
.hero2 { text-align: center; }
.steps { grid-template-columns: repeat(3, 1fr); padding: 14px 36px 14px 14px; }
.steps div { gap: 4px; }
.steps strong { font-family: var(--display); font-size: 12.5px; font-weight: 700; }
.steps span { font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.tier { text-align: center; margin-top: 6px; }
.tier-h { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 17px; font-weight: 800; }
.tier-h::before, .tier-h::after { content: ""; height: 1px; flex: 1; max-width: 70px; background: linear-gradient(90deg, transparent, #ffffff40); }
.tier-h::after { background: linear-gradient(270deg, transparent, #ffffff40); }
.tier-h.premium span { background: linear-gradient(90deg, #ffe9aa, #f6a93b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-s { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
#pane-igre .shelf, .shelf.prem2 { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; overflow: visible !important; }
#pane-igre .gcard { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 16px 10px 14px; min-height: 150px; border-radius: 20px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--gc) 22%, transparent), transparent 70%), rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12);
  transition: transform .18s cubic-bezier(.2,.9,.3,1.2), border-color .2s, box-shadow .25s; }
#pane-igre .gcard .g-logo { filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--gc) 45%, transparent)); transition: transform .25s cubic-bezier(.2,.9,.3,1.3); }
#pane-igre .gcard b { font-family: var(--display); font-size: 13.5px; font-weight: 700; line-height: 1.2; }
#pane-igre .gcard small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
#pane-igre .gcard:active { transform: scale(.96); }
#pane-igre .gcard:hover .g-logo { transform: translateY(-2px) rotate(-3deg); }
#pane-igre .gcard.hubc { border-style: dashed; }
.gc-on { display: none; }
#pane-igre .gcard.on { border-color: var(--gc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 35%, transparent), 0 14px 34px color-mix(in srgb, var(--gc) 30%, transparent); animation: gcpulse 2.2s ease-in-out infinite; }
#pane-igre .gcard.on .g-logo { transform: scale(1.08); }
#pane-igre .gcard.on .gc-on { display: inline-flex; align-items: center; gap: 4px; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #10131c; background: var(--gc); white-space: nowrap; box-shadow: 0 4px 12px #0006; animation: eppop .35s cubic-bezier(.2,1.4,.4,1) both; }
.gc-on svg { width: 12px; height: 12px; }
#pane-igre .gcard .pm { top: 8px; right: 10px; }
@keyframes gcpulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gc) 18%, transparent), 0 14px 34px color-mix(in srgb, var(--gc) 30%, transparent); } }
.ticket { text-align: center; align-items: center; border: 1.5px solid color-mix(in srgb, var(--gc) 60%, transparent) !important; background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--gc) 20%, transparent), transparent 65%), var(--glass, rgba(12,14,24,.6)) !important; scroll-margin-top: 80px; }
.ticket > * { width: 100%; }
.tk-sel { width: auto !important; display: inline-flex; gap: 6px; align-items: center; align-self: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #10131c; background: var(--gc); }
.tk-sel svg { width: 13px; height: 13px; }
.tk-logo { display: flex; justify-content: center; margin-top: 6px; } .tk-logo .g-logo { filter: drop-shadow(0 12px 22px color-mix(in srgb, var(--gc) 50%, transparent)); animation: tklogo .5s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes tklogo { from { transform: scale(.6) rotate(-8deg); opacity: 0; } }
.tk-name { margin: 4px 0 0; font-family: var(--display); font-size: 22px; }
.tk-tag { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.ticket .gi-how { text-align: center; }
.ticket .gi-meta { justify-content: center; }
.tk-l { margin: 10px 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-transform: none; }
.ticket .seg button.on { box-shadow: 0 0 0 2px var(--gc) inset; }
.big-play { font-size: 18px !important; padding: 16px !important; margin-top: 10px; animation: bigplay 2.6s ease-in-out infinite; }
@keyframes bigplay { 50% { box-shadow: 0 0 0 6px rgba(var(--gold-rgb), .15), 0 10px 30px rgba(var(--gold-rgb), .25); } }
.tk-hint { margin: 2px 0 6px; font-size: 12px; color: var(--muted); }
.room-card { text-align: center; align-items: center; margin-top: 8px; border: 1.5px dashed rgba(var(--gold-rgb), .45) !important; }
.room-card > * { width: 100%; } .room-card h2 { margin: 4px 0 0; font-family: var(--display); font-size: 19px; } .room-card p { margin: 4px 0 8px; font-size: 13.5px; }
.room-ico { width: 52px !important; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #ffe9aa, #f6a93b); color: #2a1700; box-shadow: 0 10px 24px rgba(var(--gold-rgb), .35); }
.room-ico svg { width: 26px; height: 26px; }
.room-card .code-row input { text-align: center; letter-spacing: .3em; font-weight: 800; }
.party-title .g-logo { flex: none; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #pane-igre .gcard.on, .big-play, .tk-logo .g-logo { animation: none; } }
.room-ico{margin:0 auto}
/* Baneri profila */
.pf-banner{position:relative;height:104px;margin:-6px -6px 0;border-radius:18px;overflow:hidden;box-shadow:inset 0 -40px 40px -20px #0009}
.pf-banner::after{content:attr(data-m);position:absolute;right:12px;top:8px;font-size:26px;filter:drop-shadow(0 4px 8px #0008);opacity:.9}
.bn-sw{height:58px;border-radius:12px;position:relative;overflow:hidden;border:2px solid transparent}
.bn-sw::after{content:attr(data-m);position:absolute;right:6px;top:4px;font-size:16px}
.pfb-vatra{background:radial-gradient(60% 90% at 50% 110%, #ff8a3c 0%, #c2410c55 40%, transparent 70%), linear-gradient(180deg,#1d1036,#3a1840)}
.pfb-sumrak{background:linear-gradient(180deg,#f97316 0%,#db2777 45%,#4c1d95 100%)}
.pfb-more{background:radial-gradient(40% 50% at 80% 30%, #fde68a 0 12%, transparent 13%), linear-gradient(180deg,#0c1a3a,#0e4d6e 70%,#0891b2)}
.pfb-planina{background:linear-gradient(160deg,transparent 55%, #1e293b 55.5%), linear-gradient(200deg,transparent 60%, #334155 60.5%), linear-gradient(180deg,#38bdf8,#a5f3fc)}
.pfb-cilim{background:repeating-linear-gradient(45deg,#b91c1c 0 14px,#7f1d1d 14px 28px,#f59e0b 28px 32px,#7f1d1d 32px 46px)}
.pfb-polje{background:radial-gradient(circle at 20% 80%, #ef4444 0 6%, transparent 7%), radial-gradient(circle at 60% 70%, #ef4444 0 5%, transparent 6%), radial-gradient(circle at 85% 85%, #dc2626 0 6%, transparent 7%), linear-gradient(180deg,#7dd3fc 0 50%, #65a30d 50%)}
.pfb-aurora{background:radial-gradient(80% 60% at 30% 40%, #22d3ee88, transparent 60%), radial-gradient(70% 60% at 70% 30%, #a3e63588, transparent 60%), linear-gradient(180deg,#020617,#0f172a)}
.pfb-neon{background:linear-gradient(90deg,#f0abfc22 1px,transparent 1px) 0 0/22px 22px, linear-gradient(0deg,#22d3ee22 1px,transparent 1px) 0 0/22px 22px, linear-gradient(135deg,#4c1d95,#be185d)}
.pfb-zlato{background:repeating-linear-gradient(115deg,#fde68a 0 4px,#d97706 4px 12px,#fbbf24 12px 16px,#92400e 16px 26px)}
.pfb-galaksija{background:radial-gradient(1px 1px at 20% 30%,#fff,transparent), radial-gradient(1px 1px at 70% 60%,#fff,transparent), radial-gradient(2px 2px at 40% 80%,#fff,transparent), radial-gradient(60% 50% at 60% 50%, #7c3aed88, transparent 70%), linear-gradient(135deg,#020617,#1e1b4b)}
.pfb-lava{background:radial-gradient(50% 40% at 30% 100%, #fde047, transparent 60%), radial-gradient(50% 50% at 75% 100%, #f97316, transparent 65%), linear-gradient(180deg,#1c1917,#7f1d1d)}
.pfb-kristal{background:conic-gradient(from 200deg at 50% 120%, #a5f3fc, #818cf8, #c4b5fd, #67e8f9, #a5f3fc)}
.pfb-legenda{background:radial-gradient(60% 80% at 50% 0%, #fde68a, transparent 70%), conic-gradient(from 0deg at 50% 50%, #f59e0b, #fde047, #f59e0b, #b45309, #f59e0b)}
.pfb-kruna{background:radial-gradient(50% 70% at 50% 120%, #fbbf24aa, transparent 70%), linear-gradient(135deg,#4c1d95,#7e22ce,#4c1d95)}
.pfb-put{background:repeating-linear-gradient(90deg,#fef3c7 0 18px,transparent 18px 36px) 0 70%/100% 4px no-repeat, linear-gradient(180deg,#0ea5e9,#1e3a8a)}
.pfb-majstor{background:radial-gradient(40% 60% at 50% 50%, #fbbf2455, transparent 70%), linear-gradient(135deg,#292524,#57534e)}
.pfb-noc{background:radial-gradient(18% 30% at 82% 30%, #fef3c7 0 40%, transparent 42%), linear-gradient(180deg,#0b1026,#1e1b4b)}
.pfb-vjernost{background:radial-gradient(40% 80% at 50% 120%, #fb923c, transparent 70%), linear-gradient(180deg,#450a0a,#9a3412)}
.pfb-drustvo{background:radial-gradient(circle at 20% 60%, #f472b6 0 10%, transparent 11%), radial-gradient(circle at 45% 50%, #60a5fa 0 10%, transparent 11%), radial-gradient(circle at 70% 60%, #34d399 0 10%, transparent 11%), linear-gradient(180deg,#312e81,#1e1b4b)}
.pfb-savrseno{background:linear-gradient(135deg,#ecfeff 0%,#a5f3fc 30%,#f0abfc 60%,#fde68a 100%)}
.pfb-prestiz{background:conic-gradient(from 90deg at 50% 50%, #e9d5ff, #a855f7, #f0abfc, #a855f7, #e9d5ff)}
.pfb-veteran{background:repeating-linear-gradient(0deg,#1e3a8a 0 12px,#1d4ed8 12px 24px), linear-gradient(180deg,#1e3a8a,#172554)}
.bn-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}.bn-pick{display:flex;flex-direction:column;gap:3px;padding:6px;border-radius:14px;border:1.5px solid #ffffff1a;background:#ffffff08;color:inherit;text-align:center;cursor:pointer}.bn-pick b{font-size:12.5px}.bn-pick small{font-size:11px;color:var(--muted)}.bn-pick.on{border-color:#ffd36b;box-shadow:0 0 0 3px #ffd36b33}.bn-pick:disabled{opacity:.55;cursor:default}.bn-pick:disabled .bn-sw{filter:grayscale(.7)}
/* Profil igrača: centriran, baner, medalje */
.pf-sheet .sheet-body, .pf-sheet { text-align: center; }
.pf-top { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.pf-top .pf-banner { width: calc(100% + 12px); }
.pf-av { margin-top: -46px; position: relative; z-index: 1; filter: drop-shadow(0 8px 18px #000a); }
.pf-name { margin: 8px 0 2px; font-family: var(--display); font-size: 22px; }
.pf-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pf-grid { text-align: center; }
.pf-tabs { justify-content: center; }
.pf-pane .kv { text-align: left; }
.pf-pane h4, .pf-sec { text-align: center; font-family: var(--display); font-size: 14px; margin: 14px 0 8px; }
.pf-sec small { color: var(--muted); font-family: var(--font); font-weight: 600; }
.pf-ach, .badges, .pp-stamps, .pf-fr { justify-content: center; }
.medals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
.medal { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; animation: eppop .4s ease-out both; }
.medal b { font-size: 11px; line-height: 1.25; } .medal small { font-size: 10px; color: var(--muted); }
.md-coin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffffff55, transparent 45%), linear-gradient(145deg, #94a3b8, #475569); box-shadow: 0 6px 14px #0007, inset 0 -4px 8px #0005; border: 3px solid #cbd5e1; }
.medal.r2 .md-coin { background: radial-gradient(circle at 35% 30%, #ffffff66, transparent 45%), linear-gradient(145deg, #60a5fa, #1d4ed8); border-color: #bfdbfe; }
.medal.r3 .md-coin { background: radial-gradient(circle at 35% 30%, #ffffff66, transparent 45%), linear-gradient(145deg, #c084fc, #7e22ce); border-color: #e9d5ff; }
.medal.r4 .md-coin { background: radial-gradient(circle at 35% 30%, #ffffff88, transparent 45%), linear-gradient(145deg, #fde047, #d97706); border-color: #fef3c7; box-shadow: 0 0 18px #fbbf2499, 0 6px 14px #0007; animation: mdglow 2.4s ease-in-out infinite; }
.md-coin i { font-style: normal; filter: drop-shadow(0 2px 2px #0006); }
@keyframes mdglow { 50% { box-shadow: 0 0 28px #fbbf24cc, 0 6px 14px #0007; } }
@media (prefers-reduced-motion: reduce) { .medal.r4 .md-coin, .medal { animation: none; } }
/* Skinovi okvira za visoke nivoe (80-200) */
.avw.fr-37{--fr:conic-gradient(#a7f3d0,#059669,#064e3b,#34d399,#a7f3d0);--fw:5px}.avw.fr-37::before{animation:frSpin 6s linear infinite}
.avw.fr-38{--fr:conic-gradient(#22d3ee,#a3e635,#818cf8,#22d3ee);--fw:5px}.avw.fr-38::before{filter:drop-shadow(0 0 6px #22d3ee);animation:frSpin 4s linear infinite}
.avw.fr-39{--fr:conic-gradient(#fecaca,#e11d48,#4c0519,#fb7185,#fecaca);--fw:6px}.avw.fr-39::after{content:"♦";position:absolute;top:-7px;left:50%;transform:translateX(-50%);color:#fb7185;font-size:14px;z-index:3}
.avw.fr-40{--fr:conic-gradient(#fff7ae,#fbbf24,#f97316,#fbbf24,#fff7ae);--fw:6px}.avw.fr-40::before{filter:drop-shadow(0 0 8px #fbbf24);animation:frSpin 3s linear infinite}.avw.fr-40::after{content:"☀️";position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-size:14px;z-index:3}
.avw.fr-41{--fr:repeating-conic-gradient(#b91c1c 0 15deg,#f59e0b 15deg 22deg,#7f1d1d 22deg 37deg,#fef3c7 37deg 40deg);--fw:6px}.avw.fr-41::after{content:"🧶";position:absolute;bottom:-6px;right:-4px;font-size:13px;z-index:3}
.avw.fr-42{--fr:conic-gradient(#1e1b4b,#7c3aed,#ec4899,#22d3ee,#1e1b4b);--fw:6px}.avw.fr-42::before{filter:drop-shadow(0 0 8px #a855f7);animation:frSpin 5s linear infinite reverse}.avw.fr-42::after{content:"✨";position:absolute;top:-6px;right:-4px;font-size:13px;z-index:3;animation:frTwinkle 2s ease-in-out infinite}
.avw.fr-43{--fr:conic-gradient(#fde047,#f97316,#dc2626,#f97316,#fde047);--fw:7px}.avw.fr-43::before{filter:drop-shadow(0 0 10px #f97316);animation:frSpin 2.4s linear infinite}.avw.fr-43::after{content:"🔥";position:absolute;top:-9px;left:50%;transform:translateX(-50%);font-size:16px;z-index:3;animation:frBob .8s ease-in-out infinite alternate}
.avw.fr-44{--fr:conic-gradient(#fff,#fde68a,#f59e0b,#fff,#a5f3fc,#f0abfc,#fff);--fw:7px}.avw.fr-44::before{filter:drop-shadow(0 0 12px #fde68a);animation:frSpin 2s linear infinite}.avw.fr-44::after{content:"👑";position:absolute;top:-11px;left:50%;transform:translateX(-50%);font-size:17px;z-index:3;animation:frTwinkle 2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.avw.fr-37::before,.avw.fr-38::before,.avw.fr-40::before,.avw.fr-42::before,.avw.fr-43::before,.avw.fr-44::before,.avw.fr-42::after,.avw.fr-43::after,.avw.fr-44::after{animation:none}}

/* Potpis: jedna boja, jedan font */
.cr-txt { font-family: var(--display); font-weight: 500; font-size: 10.5px; letter-spacing: .03em; color: rgba(255, 220, 150, .78); }
#credit-fixed .cr-txt, .credit-line .cr-txt, .credit .cr-txt { color: rgba(255, 220, 150, .78); background: none; -webkit-text-fill-color: currentColor; }
.credit .cr-txt { font-size: 11.5px; }
/* .app: Safari ne crta dijete unutar teksta s background-clip, pa dobija svoju boju */
.sj-word i { color: var(--gold-hi); -webkit-text-fill-color: var(--gold-hi); background: none; }
