/* Lobbyroo (ime 2026-10-31, bilo radno Spare Minute): svetla i tamna tema (Lazar 2026-10-30), prigušene tople boje, zaobljeno; telefon na prvom mestu.
   Tema: data-theme na <html> (layout.tsx postavlja pre crtanja: izbor igrača, inače podešavanje telefona). */
:root {
  --bg: #f6f1ea;
  --glow: rgba(240, 190, 160, .35);
  --ink: #2c2633;
  --ink-2: #706779;
  --card: #fffdfa;
  --card-2: #f0e9e1;
  --line: rgba(44, 38, 51, .09);
  --coral: #e2765b;
  --coral-dk: #c65e45;
  --sun: #efbd4e;
  --r: 22px;
  --shadow: 0 1px 2px rgba(44, 38, 51, .06), 0 14px 30px -18px rgba(44, 38, 51, .35);
  --shadow-hi: 0 1px 2px rgba(44, 38, 51, .06), 0 22px 40px -18px rgba(44, 38, 51, .45);
  --glass: rgba(255, 253, 250, .82);
  --glass-line: rgba(44, 38, 51, .08);
  --scrim: rgba(40, 32, 46, .42);
  --toast-bg: #2c2633;
  --toast-ink: #fffdfa;
  --best-bg: #e3f1ea;
  --best-ink: #2f7a5f;
  --gold-bg: #f8edd2;
  --gold-ink: #8a6417;
  --daily-bg: linear-gradient(120deg, #fffdfa 0%, #fbeee4 100%);
  --daily-ring: rgba(226, 118, 91, .25);
  --gift-bg: #f9e3d9;
  --star-off: #e6ddd4;
  --trip-bg: linear-gradient(140deg, #fde6d5 0%, #f7d3c6 45%, #e2d6ef 100%);
  --trip-ink: #3a2a35;
  --trip-blob: rgba(255, 255, 255, .45);
  --trip-chip: #ecdff3;
  /* pločice vrsta igara (filteri) */
  --k-puzzle: #dfe9f3; --k-logic: #e9e1f3; --k-arcade: #f8e1d4; --k-relax: #dcefe4; --k-ink: #2c2633;
  --av-coral: #e2765b; --av-sun: #e0b04a; --av-sage: #8fab6a; --av-sky: #6f8fc0; --av-plum: #9d8bc4; --av-rose: #d99aa5; --av-sand: #c9a77c; --av-teal: #5fae9a;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* brojevi kao na displeju u čekaonici (zvezdice, broj listića, rezultat) */
  --num: "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, monospace;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #16141d;
  --glow: rgba(110, 90, 150, .28);
  --ink: #efebf3;
  --ink-2: #a39cad;
  --card: #211e29;
  --card-2: #2b2734;
  --line: rgba(255, 255, 255, .08);
  --shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 14px 30px -14px rgba(0, 0, 0, .6);
  --shadow-hi: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 36px -14px rgba(0, 0, 0, .7);
  --glass: rgba(33, 30, 41, .78);
  --glass-line: rgba(255, 255, 255, .1);
  --scrim: rgba(8, 6, 12, .58);
  --toast-bg: #efebf3;
  --toast-ink: #16141d;
  --best-bg: rgba(95, 174, 150, .16);
  --best-ink: #8fd3bd;
  --gold-bg: rgba(239, 189, 78, .14);
  --gold-ink: #efcf86;
  --daily-bg: linear-gradient(120deg, #2a2433 0%, #33262c 100%);
  --daily-ring: rgba(226, 118, 91, .3);
  --gift-bg: rgba(226, 118, 91, .16);
  --star-off: rgba(255, 255, 255, .2);
  --trip-bg: linear-gradient(140deg, #3b2a3e 0%, #3a2733 45%, #262a44 100%);
  --trip-ink: #f3ebf2;
  --trip-blob: rgba(255, 255, 255, .06);
  --trip-chip: rgba(160, 140, 210, .2);
  --k-puzzle: #26303d; --k-logic: #2e2840; --k-arcade: #3a2a2a; --k-relax: #23332c; --k-ink: #efebf3;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: radial-gradient(120% 60% at 50% -10%, var(--glow) 0%, transparent 60%) no-repeat, var(--bg); transition: background-color .3s; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

/* ---------- komponente sajta: svet "Take a number" (docs/DESIGN.md, src/site/components/ui.tsx) ----------
   Čekaonica sa listićem za red: kartica = listić (perforacija, otcepak), dugme = taster sa pulta, naslov dela = znak,
   nedelja = bušena kartica, brojevi = displej iz čekaonice. Boje samo kroz tokene na vrhu fajla. */
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ico { width: 22px; height: 22px; flex: none; }
.star-ico, .flame-ico { width: 20px; height: 20px; flex: none; }

/* taster: debeo, utisne se na dodir (donja senka nestane) */
.btn { --b-bg: var(--card-2); --b-ink: var(--ink); --b-edge: rgba(44, 38, 51, .14); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border: 0; border-radius: 16px; background: var(--b-bg); color: var(--b-ink); font: inherit; font-weight: 900; font-size: 16.5px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 4px 0 var(--b-edge); transition: transform .08s, box-shadow .08s, filter .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-edge); }
.btn .ico { width: 20px; height: 20px; }
.btn-primary, .btn.primary { --b-bg: linear-gradient(180deg, #ef8c70, var(--coral)); --b-ink: #fff; --b-edge: var(--coral-dk); }
.btn-soft { --b-bg: var(--card-2); }
.btn-ghost, .btn.ghost { width: 50px; padding: 0; --b-bg: var(--card-2); }
.btn-danger, .btn.danger { --b-bg: #c9553e; --b-ink: #fff; --b-edge: #9f3f2c; }
.btn-lg { height: 56px; font-size: 18px; border-radius: 18px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; box-shadow: 0 3px 0 var(--b-edge); }
.btn-sm:active { transform: translateY(2px); }
.btn-wide, .btn.wide { width: 100%; }

/* listić za red: papir sa zarezima na ivici otcepka i isprekidanom perforacijom */
.ticket { --t-bg: var(--card); --t-ink: var(--ink); --stub: 74px; --notch: 10px; position: relative; display: flex; align-items: stretch; border: 0; padding: 0; border-radius: 22px; background: var(--t-bg); color: var(--t-ink); text-align: left; filter: drop-shadow(0 1px 1px rgba(44, 38, 51, .08)) drop-shadow(0 10px 18px rgba(44, 38, 51, .12)); font: inherit; -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
[data-theme="dark"] .ticket { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.ticket:not(:has(.t-stub)) { -webkit-mask: none; mask: none; }
a.ticket, button.ticket { cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.4, .5, 1); }
a.ticket:active, button.ticket:active { transform: scale(.985); }
.t-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.t-stub { position: relative; flex: none; width: var(--stub); display: grid; place-items: center; align-content: center; gap: 2px; padding: 10px 6px; text-align: center; }
.t-perf { position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 2px dashed var(--t-perf, rgba(44, 38, 51, .18)); }
.t-peach { --t-bg: var(--trip-bg); --t-ink: var(--trip-ink); }
.t-gold { --t-bg: var(--daily-bg); }
.t-mint { --t-bg: var(--best-bg); }
.t-paper { --t-bg: var(--card); }

/* znak u čekaonici: piktogram na tamnoj pločici + naslov dela */
.sign { display: flex; align-items: center; gap: 10px; margin: 30px 2px 12px; }
.sign-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--bg); }
.sign-ico .ico { width: 19px; height: 19px; }
.sign-ico .star-ico, .sign-ico .flame-ico { filter: none; }
.sign h2 { margin: 0; flex: 1; white-space: nowrap; font-size: 22px; letter-spacing: -.02em; font-weight: 900; }
.sign-note { color: var(--ink-2); font-size: 14px; font-weight: 800; white-space: nowrap; }
.sign-note:empty { display: none; }
@media (max-width: 440px) { .sign:has(.btn) .sign-note { display: none; } }

/* žeton: zvezdice i niz dana */
.token { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card-2); font-weight: 900; }

/* polja i izbor u temi */
.field { display: grid; gap: 6px; }
.field-l { font-weight: 850; font-size: 14px; color: var(--ink-2); padding: 0; }
.field input, .email-form input, .name-form input[name="name"], .poster-fields input { height: 52px; padding: 0 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-size: 17px; font-weight: 700; transition: border-color .15s, background .15s; }
.field input:focus, .email-form input:focus, .poster-fields input:focus { outline: none; border-color: var(--coral); background: var(--card); }
.field textarea, .field select { padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-size: 17px; font-weight: 700; transition: border-color .15s, background .15s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.4; }
.field select { height: 52px; padding: 0 16px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea:focus, .field select:focus { outline: none; border-color: var(--coral); background-color: var(--card); }
.feedback form { display: grid; gap: 16px; }
.feedback h1 { margin: 0; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--ink); font-weight: 800; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-opt { position: relative; }
.choice-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--card-2); box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; font-size: 14.5px; transition: background .15s, color .15s; }
.choice-opt input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.choice-opt input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 5; padding: max(10px, env(safe-area-inset-top)) 12px 6px; }
.top-in { max-width: 1016px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--glass-line), 0 10px 30px -18px rgba(44, 38, 51, .45); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 18px; letter-spacing: -.015em; white-space: nowrap; }
.logo { display: inline-block; width: 32px; height: 32px; flex: none; }
.logo svg { display: block; width: 100%; height: 100%; }
.top-nav { display: none; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 12px; font-weight: 850; font-size: 15px; color: var(--ink-2); }
.top-nav a:hover { background: var(--card-2); color: var(--ink); }
@media (min-width: 760px) { .top-nav { display: flex; } }
.wallet { display: flex; gap: 8px; align-items: center; }
.theme-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--ink-2); cursor: pointer; }
.theme-btn .ico { width: 19px; height: 19px; }
.theme-btn .moon, [data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: grid; }
.theme-btn span { display: grid; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card-2); font-weight: 800; font-size: 15px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pill.bump { transform: scale(1.12); }
.capsule { gap: 0; padding: 4px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.cap-part { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 7px; border-radius: 999px; font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 800; }
.cap-part + .cap-part { background: var(--card); box-shadow: 0 1px 2px rgba(44, 38, 51, .12); }
.sign-in { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 850; font-size: 14.5px; white-space: nowrap; }
.me-link { display: grid; }
@media (max-width: 440px) { .top-in > .brand > span:not(.logo) { display: none; } }

/* ---------- donja traka (telefon): Today, Games, Stars, nalog ---------- */
.tabbar { position: fixed; z-index: 6; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--glass-line), 0 14px 30px -14px rgba(44, 38, 51, .5); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 7px 4px 6px; border-radius: 16px; color: var(--ink-2); font-weight: 850; font-size: 12px; }
.tabbar a .ico { width: 23px; height: 23px; }
.tabbar a.on, .tabbar a:active { background: var(--card-2); color: var(--ink); }
body.has-tabbar { padding-bottom: 92px; }
@media (min-width: 760px) { .tabbar { display: none; } body.has-tabbar { padding-bottom: 0; } }

/* ---------- početna ---------- */
.wrap { max-width: 980px; margin: 0 auto; padding: 4px 18px 24px; }
.hello { padding: 14px 2px 0; }
.hello .eyebrow { margin: 0 0 4px; color: var(--coral); }
.hello h1 { margin: 0 0 6px; font-size: clamp(32px, 8.4vw, 48px); line-height: 1.02; letter-spacing: -.03em; font-weight: 900; }
.hello p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.4; max-width: 34em; }
.eyebrow { margin: 0 0 6px; color: var(--coral); font-weight: 850; text-transform: uppercase; font-size: 12.5px; letter-spacing: .08em; }
section[id] { scroll-margin-top: 90px; }

/* Danas */
.today { display: grid; gap: 12px; }
.today > .sign { margin-bottom: 0; }
.trip { --stub: 58px; }
.trip .t-body { flex-direction: column; align-items: stretch; gap: 6px; padding: 18px 12px 18px 16px; }
.trip .t-stub { --t-perf: rgba(58, 42, 53, .22); }
.trip .t-stub b { font-family: var(--num); font-size: 20px; font-weight: 900; line-height: 1; }
.trip .t-stub small { font-size: 11px; font-weight: 850; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.trip .t-stub .star-ico { width: 26px; height: 26px; }
.trip-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trip-eyebrow { font-weight: 900; text-transform: uppercase; font-size: 12.5px; letter-spacing: .08em; opacity: .8; }
.trip-no { font-size: 12.5px; font-weight: 800; opacity: .6; }
.trip-title { font-size: 24px; line-height: 1.1; letter-spacing: -.02em; font-weight: 900; }
.trip-sub { font-size: 14.5px; line-height: 1.35; opacity: .82; }
.trip-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.stop { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.stop small { max-width: 100%; text-align: center; font-size: 10.5px; overflow-wrap: anywhere; line-height: 1.15; font-weight: 800; opacity: .82; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stop-art { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(var(--c1), var(--c2)); box-shadow: 0 5px 12px -7px rgba(44, 38, 51, .55), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.stop-art .cover { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.45); }
.stop.now .stop-art { box-shadow: 0 0 0 3px var(--coral), 0 8px 18px -8px rgba(226, 118, 91, .7); }
.stop.done .stop-art::after { content: ""; position: absolute; inset: 0; background: rgba(43, 37, 48, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 50% no-repeat; }
.trip-progress { height: 8px; margin-top: 10px; border-radius: 99px; background: rgba(255, 255, 255, .55); overflow: hidden; }
[data-theme="dark"] .trip-progress { background: rgba(255, 255, 255, .1); }
.trip-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--coral)); transition: width .8s cubic-bezier(.2, .8, .3, 1); }
.trip-cta { margin-top: 12px; }
.trip.done .trip-cta { --b-bg: var(--ink); --b-ink: var(--bg); --b-edge: rgba(0, 0, 0, .35); }
@media (min-width: 720px) { .trip { --stub: 96px; } .trip .t-body { padding: 24px 22px 22px 26px; } .trip-cta.btn-wide { align-self: flex-start; width: auto; padding: 0 40px; } .trip-stops { max-width: 540px; } }

/* bušena kartica nedelje */
.punch { display: grid; gap: 10px; padding: 14px 16px 12px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.punch-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.punch-head b { font-size: 16px; font-weight: 900; }
.punch-reward { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--gold-bg); color: var(--gold-ink); font-size: 13px; font-weight: 900; }
.punch-reward .star-ico { width: 16px; height: 16px; }
.punch-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 10px 8px; border-radius: 16px; background: var(--card-2); }
.wd { display: grid; justify-items: center; gap: 4px; }
.wd i { position: relative; width: 100%; max-width: 34px; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: inset 0 2px 3px rgba(44, 38, 51, .18); }
.wd small { font-size: 11px; font-weight: 900; color: var(--ink-2); }
/* probušeno: rupica kroz karticu (vidi se pozadina) i zeleni žig */
.wd.done i { background: var(--bg); box-shadow: inset 0 2px 4px rgba(44, 38, 51, .35), 0 0 0 3px #7fae6c; }
.wd.done i::after { content: ""; position: absolute; inset: 22%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%237fae6c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd.today i { box-shadow: inset 0 2px 3px rgba(44, 38, 51, .18), 0 0 0 3px var(--coral); }
.wd.today small { color: var(--coral); }
/* redni broj dana na kartici (1-7) u neprobušenoj rupici */
.wd i em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; color: var(--ink-2); opacity: .55; }
.wd.done i em { display: none; }
.wd.missed i { opacity: .5; }
.wd.missed i::after { content: ""; position: absolute; inset: 28%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='%23a08f99' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.wd.past i { opacity: .45; }
.punch-note { color: var(--ink-2); font-size: 13.5px; line-height: 1.3; font-weight: 700; }
.punch.won { background: linear-gradient(120deg, var(--gold-bg), var(--card)); }
.punch.broken .punch-reward { opacity: .5; }

/* dnevna zagonetka (/puzzle): korica igre, broj na otcepku, rešena = zvezdice i vreme */
.pz-card { --stub: 64px; }
.pz-card .t-body { gap: 14px; padding: 14px 12px 14px 14px; }
.pz-card .t-stub small { font-size: 11px; font-weight: 850; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.pz-card .t-stub b { font-size: 19px; font-weight: 900; line-height: 1; }
.pz-art { position: relative; flex: none; width: 76px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(var(--c1), var(--c2)); box-shadow: 0 5px 12px -7px rgba(44, 38, 51, .55), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.pz-art .cover { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.45); }
.pz-text { display: grid; gap: 3px; min-width: 0; }
.pz-title { font-size: 20px; line-height: 1.1; letter-spacing: -.01em; font-weight: 900; }
.pz-sub { font-size: 14px; line-height: 1.35; opacity: .82; }
.pz-sub .lvl-stars { display: inline-flex; vertical-align: -1px; margin: 0 2px; }
.pz-card.done .pz-art::after { content: ""; position: absolute; inset: 0; background: rgba(43, 37, 48, .4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 46% no-repeat; }
.board-list .pz-res { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.board-note { margin: 0 0 4px; color: var(--ink-2); font-size: 14px; text-align: left; }

.today-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .today-row { grid-template-columns: 1fr 1fr; } }
.daily { width: 100%; }
.gift, .streak-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 17px; background: var(--gift-bg); }
.gift .ico { width: 40px; height: 40px; overflow: visible; }
.streak .t-body { gap: 14px; }
.streak-ico { background: var(--card-2); }
.streak-ico .flame-ico { width: 30px; height: 30px; filter: grayscale(1) opacity(.5); }
.streak.on .streak-ico { background: var(--gift-bg); }
.streak.on .streak-ico .flame-ico { filter: none; }
.daily:not(.opened) .gift .ico { animation: wiggle 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
.daily.popping .gift-lid, .daily.popping .gift-bow { animation: lid-off .6s ease-out forwards; }
.daily.opened { --t-bg: var(--card); }
.daily.opened .gift { background: var(--card-2); filter: saturate(.35); }
.daily-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.daily-text b { font-size: 16.5px; font-weight: 900; }
.daily-text small { color: var(--ink-2); font-size: 13.5px; line-height: 1.3; }
.daily-cta { font-weight: 900; font-size: 15px; color: var(--coral); }
.daily.opened .daily-cta { color: var(--ink-2); font-size: 13px; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0) } 76% { transform: rotate(-8deg) } 82% { transform: rotate(7deg) } 88% { transform: rotate(-4deg) } 94% { transform: rotate(2deg) } }
@keyframes lid-off { to { transform: translateY(-26px) rotate(-14deg); opacity: 0 } }

/* Zvezdice */
.stars-card { padding: 16px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 14px; }
.stars-head { display: flex; align-items: center; gap: 12px; }
.stars-big { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 18px; background: var(--gold-bg); color: var(--gold-ink); }
.stars-big .star-ico { width: 28px; height: 28px; }
.stars-big b { font-size: 26px; font-weight: 900; }
.stars-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.stars-text b { font-size: 16.5px; font-weight: 900; }
.stars-text small { color: var(--ink-2); font-size: 13.5px; line-height: 1.3; }
.spend-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spend-row li { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 18px; background: var(--gold-bg); color: var(--gold-ink); text-align: center; }
.spend-row .ico { width: 24px; height: 24px; }
.spend-row b { color: var(--ink); font-size: 13.5px; line-height: 1.2; font-weight: 900; }
.spend-row span { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; font-size: 14px; }
.spend-row .star-ico { width: 15px; height: 15px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.how li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 6px; border-radius: 18px; background: var(--card-2); }
.how b { font-size: 13.5px; line-height: 1.2; font-weight: 900; }
.how small { color: var(--ink-2); font-size: 12px; line-height: 1.3; }
.how-n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--num); font-weight: 900; }
.how-n .ico, .how-n .star-ico { width: 18px; height: 18px; }

.spark { position: fixed; z-index: 50; width: 10px; height: 10px; margin: -5px; pointer-events: none; background: var(--sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spark .85s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(160deg) scale(.4); opacity: 0 } }

.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-weight: 850; font-size: 14.5px; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--coral); }
.chip.on:focus-visible { box-shadow: inset 0 0 0 3px var(--coral), inset 0 0 0 5px var(--bg); }
/* pretraga iznad filtera: isto polje kao forme, sa lupom i dugmetom za brisanje */
.search { position: relative; flex: 1; min-width: 0; margin: 0; }
.search > .ico { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 46px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 16.5px; font-weight: 750; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: var(--ink-2); font-weight: 700; }
.search input:focus { outline: none; border-color: var(--coral); }
.search-clear { position: absolute; right: 6px; top: 50%; width: 36px; height: 36px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: var(--card-2); color: var(--ink-2); cursor: pointer; }
.search-clear .ico { width: 16px; height: 16px; }
.help-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.help-tags .chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; font-size: 13.5px; color: var(--ink); text-decoration: none; }
.filter-count { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 800; }
.filter-count:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.shelf > .sign:first-child { margin-top: 30px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.row { display: grid; }

/* kartica igre: listić sa slikom, perforacija između slike i natpisa */
.card { position: relative; display: flex; flex-direction: column; padding: 6px; border: 0; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); }
.card:active { transform: scale(.97); }
.card-art { position: relative; aspect-ratio: 10 / 7; border-radius: 17px; overflow: hidden; }
.cover { display: block; width: 100%; height: 100%; }
.card-play { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--coral); box-shadow: 0 3px 0 rgba(44, 38, 51, .18); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.card-play .ico { width: 18px; height: 18px; margin-left: 2px; }
.card:hover .card-play { transform: scale(1.1); }
.card.locked .card-play { display: none; }
.card-body { position: relative; padding: 12px 8px 8px; display: grid; gap: 4px; }
.card-body::before { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; border-top: 2px dashed var(--line); }
.card h3 { margin: 0; font-size: 17px; font-weight: 900; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pill-mini { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); font-size: 12.5px; font-weight: 850; }
.pill-mini .ico, .pill-mini .star-ico { width: 14px; height: 14px; }
.pill-mini.best { background: var(--best-bg); color: var(--best-ink); }
.card-stars { position: absolute; left: 8px; top: 8px; display: flex; gap: 3px; padding: 5px 7px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(4px); }
.card-stars i { width: 12px; height: 12px; background: var(--star-off); clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 61%, 81% 100%, 50% 78%, 19% 100%, 29% 61%, 0 38%, 37% 35%); }
.card-stars i.on { background: var(--sun); }
.card.locked .card-art .cover { filter: grayscale(.7) blur(1.5px) opacity(.7); transform: scale(1.04); }
.card.locked h3 { opacity: .75; }
.card.locked p { opacity: .6; }
.card-lock { position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 6px; color: #fff; }
.card.locked .card-lock { display: grid; }
.card-lock > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; color: #fff; background: rgba(40, 32, 46, .55); backdrop-filter: blur(4px); }
.card-lock b { display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px 4px 6px; border-radius: 999px; background: rgba(40, 32, 46, .55); font-family: var(--num); font-size: 13px; font-weight: 850; }
.card-lock b .star-ico { width: 16px; height: 16px; }
.unlock-bar { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.unlock-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--coral)); transition: width .8s cubic-bezier(.2, .8, .3, 1); }
@keyframes shake { 20%, 60% { transform: translateX(-5px) } 40%, 80% { transform: translateX(5px) } }
.card-new { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 2px 0 rgba(44, 38, 51, .18); }
.card.soon .card-lock { display: grid; }
/* "Today's picks": vodoravan red kartica (telefon lista prstom, računar vidi više) */
.picks-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 41%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 0 -2px; scrollbar-width: none; }
.picks-row::-webkit-scrollbar { display: none; }
.picks-row .card { scroll-snap-align: start; }
@media (min-width: 640px) { .picks-row { grid-auto-columns: minmax(200px, 30%); } }
@media (min-width: 900px) { .picks-row { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.card-fav { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--glass); color: var(--coral); }
.card-fav .ico { width: 15px; height: 15px; }
.card.wide { flex-direction: row; align-items: stretch; }
.card.wide .card-art { width: 42%; aspect-ratio: auto; min-height: 118px; }
.card.wide .card-body { flex: 1; align-content: center; padding: 10px 12px; }
.card.wide .card-body::before { left: 0; top: 8px; bottom: 8px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
.card.wide h3 { font-size: 19px; }
@media (min-width: 640px) { .row { grid-template-columns: minmax(0, 560px); } }

.shelf-sub { margin: -4px 2px 12px; color: var(--ink-2); font-size: 14px; }
.empty { color: var(--ink-2); text-align: center; padding: 20px; }
.empty p { margin: 0 0 12px; }

/* Podnožje */
.foot { margin-top: 30px; padding: 0 18px max(26px, env(safe-area-inset-bottom)); }
.foot-in { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 18px; border-top: 2px dashed var(--line); color: var(--ink-2); font-size: 13.5px; }
.brand.small { font-size: 15px; gap: 7px; color: var(--ink); }
.brand.small .logo { width: 24px; height: 24px; }
.foot-note { flex: 1 1 220px; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 850; color: var(--ink); }
.foot-link .ico { width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: 16px; background: var(--toast-bg); color: var(--toast-ink); font-weight: 800; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), visibility .3s; white-space: nowrap; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
body.has-tabbar .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- nalog u zaglavlju ---------- */
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--av, var(--coral)); color: #fff; font-weight: 850; line-height: 1; }
.avatar svg { width: 62%; height: 62%; }
.avatar.ani { background-color: transparent; background-size: cover; background-position: center; }

/* ---------- list: kako se zarađuju zvezdice ---------- */
.sheet.stars-sheet { text-align: left; }
.stars-lead { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.earn { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.earn li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 18px; background: var(--card-2); }
.earn li > span:last-child { display: grid; gap: 2px; }
.earn b { font-size: 15.5px; font-weight: 900; }
.earn small { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.earn-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--gold-bg); color: var(--gold-ink); }
.earn-ico .ico { width: 24px; height: 24px; }
.earn-ico.trip-ico { background: var(--ink); color: var(--bg); }
.earn-ico.gift-bg { background: var(--gift-bg); }
.earn-ico.spend-ico { background: var(--best-bg); color: var(--best-ink); }
.stars-note { margin: -6px 2px 16px; }
.unlock-title { margin: 0 0 8px; font-size: 16px; font-weight: 900; }

/* ---------- strana igre ---------- */
body.play { height: 100dvh; overflow: hidden; overscroll-behavior: none; background: var(--bg); }
.hud { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 12px 10px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--glass); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--glass-line); }
.hud-btn svg { width: 22px; height: 22px; }
.hud-mid { position: absolute; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.hud-title { font-weight: 850; font-size: 16px; padding: 7px 14px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); }
.hud-right { display: flex; gap: 8px; align-items: center; }
.hud-btn { border: 0; color: var(--ink); cursor: pointer; }
.hud-btn.fav.on { color: var(--coral); }
.hud-btn:not(.on) svg path[fill="currentColor"] { fill: none; stroke: currentColor; stroke-width: 2.2; }
.hud-btn[data-skip] svg path { fill: currentColor; stroke: none; }
.trip-dots { display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); }
.trip-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.trip-dots i.done { background: var(--ink-2); box-shadow: none; }
.trip-dots.shuffle-tag { font-size: 12.5px; font-weight: 900; color: var(--coral); letter-spacing: .04em; text-transform: uppercase; }
.trip-dots.shuffle-tag { align-items: center; }
.shuffle-tag .ico { width: 15px; height: 15px; margin-right: -1px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tag-new { margin-left: 2px; padding: 2px 7px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 10.5px; letter-spacing: .05em; }
.trip-dots i.now { background: var(--coral); box-shadow: none; transform: scale(1.25); }
@media (max-width: 480px) { .hud-right .pill { display: none; } .hud-mid { left: 66px; transform: none; justify-items: start; } .has-skip .hud-right [data-levels] { display: none; } .hud-right { gap: 6px; } .trip-dots { gap: 5px; padding: 6px 8px; } .trip-dots.shuffle-tag { font-size: 11.5px; letter-spacing: .02em; } }
.stage { position: fixed; inset: 0; background: linear-gradient(var(--c1), var(--c2)); }
/* Spice Rack ima svoju traku na vrhu; spuštamo je ispod HUD-a */
.play .sr-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Tidy Shelf: traka i traka cilja ispod HUD-a */
.play .ts-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .ts-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
.play .fl-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .fl-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
.play .gt-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .gt-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
.play .sf-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .sf-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
/* Pipe Garden: traka i traka cilja ispod HUD-a */
.play .pg-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .pg-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
/* Domino Drop: traka i pilula cilja ispod HUD-a */
.play .dd-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .dd-goal { top: calc(max(10px, env(safe-area-inset-top)) + 112px); }
/* Button Tin: traka (nivo, zvezdice) ispod HUD-a */
.play .bt-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Cocoa Snap: traka (nivo, zvezdice) ispod HUD-a */
.play .cs-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Sand Frame: traka (Undo, nivo, zvezdice, ispočetka) ispod HUD-a */
.play .sf-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .sh-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Quilt Patch: traka (Undo, nivo, zvezdice, ispočetka) ispod HUD-a */
.play .qp-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Yarn Tangle: traka i pilula preseka ispod HUD-a */
.play .yt-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .yt-goal { top: calc(max(10px, env(safe-area-inset-top)) + 114px); }
/* Picnic Basket: traka i pilula ispunjenosti ispod HUD-a */
.play .bp-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .bp-goal { top: calc(max(10px, env(safe-area-inset-top)) + 114px); }
/* Goose Parade: traka (Undo, zvezdice, nivo, ispočetka) i traka cilja ispod HUD-a */
.play .gp-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .gp-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
/* Paint Fence: traka (Undo, zvezdice, nivo, ispočetka) i traka cilja ispod HUD-a */
.play .pf-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .pf-goal { top: calc(max(10px, env(safe-area-inset-top)) + 116px); }
/* Birdhouse Kit: traka i pilula šrafova ispod HUD-a */
.play .bk-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .bk-goal { top: calc(max(10px, env(safe-area-inset-top)) + 112px); }
/* Bao Basket: traka (poeni, sledeća knedla) ispod HUD-a */
.play .bb-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Bird Feeder: traka (ptice, srca, godišnje doba) ispod HUD-a */
.play .bf-bar { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
/* Pocket Plot: traka cilja ispod HUD-a */
.play .gm-goal { top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
.play .hud-title { display: none; }
.play .pill { background: var(--glass); backdrop-filter: blur(8px); }
@media (min-width: 640px) { .play .hud-title { display: block; } }

.sheet-wrap { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; padding: 12px; background: transparent; transition: background .25s; }
.sheet-wrap.in { background: var(--scrim); }
@media (min-width: 560px) { .sheet-wrap { place-items: center; } }
.sheet { width: min(440px, 100%); max-height: calc(100dvh - 24px); overflow: auto; padding: 24px 20px max(20px, env(safe-area-inset-bottom)); border-radius: 30px; background: var(--card); color: var(--ink); text-align: center; box-shadow: var(--shadow-hi); transform: translateY(110%); transition: transform .4s cubic-bezier(.22, 1.2, .36, 1); }
.sheet-wrap.in .sheet { transform: none; }
.end-stars { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin-bottom: 6px; }
.end-stars .star-ico { width: 54px; height: 54px; filter: grayscale(1) opacity(.3); transform: scale(.7); transition: transform .45s cubic-bezier(.3, 1.8, .5, 1), filter .2s; }
.end-stars .star-ico:nth-child(2) { width: 68px; height: 68px; margin-bottom: 10px; }
.end-stars .star-ico.on { filter: none; transform: scale(1); }
.end-label { margin: 6px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.end-score { margin: 4px 0 0; display: flex; justify-content: center; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 18px; font-weight: 750; }
.end-score.unit-first { flex-direction: row-reverse; }
.end-score.unit-first span { text-transform: capitalize; }
.end-score.unit-first b { font-size: 22px; }
.end-score b { font-size: 40px; color: var(--ink); font-weight: 900; }
.end-best { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; min-height: 1.2em; }
.end-actions { display: flex; gap: 10px; margin-top: 20px; }
.end-actions .btn.primary { flex: 1; }
.btn.challenge-btn { width: 100%; margin-top: 12px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ekran kraja: čipovi (zvezdice, mesto na tabeli), otključano, sledeća igra, ponuda naloga */
.end-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; min-height: 8px; }
.end-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.end-chip svg { width: 18px; height: 18px; }
.end-chip.gold { background: var(--gold-bg); color: var(--gold-ink); cursor: default; }
.btn.cont-btn { width: 100%; margin-top: 14px; --b-bg: var(--gold-bg); --b-ink: var(--gold-ink); }
.cont-price { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 3px 9px 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-family: var(--num); font-size: 14px; }
.cont-price .star-ico { width: 15px; height: 15px; }
.btn:disabled { opacity: .5; cursor: default; }
/* "Stuck?" u listu "How to play": pomoć i preskok nivoa za zvezdice */
.stuck { margin: 0 0 16px; padding: 12px; border-radius: 18px; background: var(--gold-bg); text-align: left; }
.stuck-t { margin: 0 0 10px; color: var(--gold-ink); font-size: 14.5px; }
.stuck-t b { color: var(--ink); font-size: 16px; }
.stuck-row { display: grid; gap: 8px; }
.help .btn.stuck-b { --b-bg: var(--card); justify-content: flex-start; }
.stuck-b .cont-price { margin-left: auto; background: var(--gold-bg); color: var(--gold-ink); }
.stuck-note { margin: 10px 0 0; color: var(--ink-2); font-size: 13.5px; }
.end-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--ink-2); font-weight: 800; }
.end-next svg { width: 18px; height: 18px; }
.end-save { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.end-save a { color: var(--coral); font-weight: 800; }
.end-feedback { display: block; margin-top: 10px; text-align: center; color: var(--ink-2); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* lista: zaglavlje, kartice (tabs), tabela, nivoi */
.help-goal { margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--card-2); text-align: left; font-size: 16px; line-height: 1.4; }
.help-goal b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.help-steps { margin: 0 0 18px; padding-left: 22px; text-align: left; font-size: 15.5px; line-height: 1.45; }
.help-steps li + li { margin-top: 8px; }
.help .btn { width: 100%; }
.hud-btn.pulse { animation: help-pulse 1.8s ease-in-out 3; }
@keyframes help-pulse { 0%, 100% { box-shadow: var(--shadow) } 50% { box-shadow: var(--shadow), 0 0 0 5px rgba(255,255,255,.45) } }
@media (prefers-reduced-motion: reduce) { .hud-btn.pulse { animation: none } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; text-align: left; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.sheet-head .hud-btn { background: var(--card-2); box-shadow: none; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); }
.tab { padding: 9px 6px; border: 0; border-radius: 11px; background: none; color: var(--ink-2); font-weight: 800; cursor: pointer; }
.tab.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.board-list { list-style: none; margin: 12px 0 0; padding: 0; text-align: left; }
.board-list li { display: grid; grid-template-columns: 28px 30px 1fr auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; }
.board-list li:nth-child(-n+3) .rk { color: var(--gold-ink); }
.board-list li.me { background: var(--gold-bg); }
.board-list .rk { font-weight: 900; color: var(--ink-2); text-align: center; }
.board-list .avatar { width: 30px; height: 30px; font-size: 13px; }
.board-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.board-list .board-empty { display: block; text-align: center; color: var(--ink-2); padding: 18px; }
.board-me { margin: 10px 0 0; font-weight: 800; color: var(--ink-2); }
.level-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px; }
.lvl { display: grid; place-items: center; gap: 4px; aspect-ratio: 1; border-radius: 16px; background: var(--card-2); color: var(--ink); font-size: 20px; }
.lvl.next { background: var(--coral); color: #fff; box-shadow: 0 3px 0 var(--coral-dk); }
.lvl.locked { opacity: .4; }
.lvl-stars { display: flex; gap: 2px; }
.lvl-stars i { width: 10px; height: 10px; background: var(--star-off); clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 61%, 81% 100%, 50% 78%, 19% 100%, 29% 61%, 0 38%, 37% 35%); }
.lvl-stars i.on { background: var(--sun); }
.lvl.next .lvl-stars i { background: rgba(255, 255, 255, .45); }

/* ---------- nalog, profil, izazov ---------- */
.wrap.narrow { max-width: 560px; }
/* strane sa tekstom (About, Privacy, Terms, Accessibility) */
.prose h2 { margin: 22px 0 8px; font-size: 19px; }
.prose p, .prose li { line-height: 1.55; color: var(--ink); }
.prose ul { margin: 0 0 10px; padding-left: 20px; }
.prose li { margin: 4px 0; }
.prose a:not(.btn) { color: var(--coral); font-weight: 800; }
.foot-legal { font-size: 13px; font-weight: 750; color: var(--ink-2); }
.foot-legal a { color: inherit; }
.panel { margin-top: 16px; padding: 22px 20px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.panel h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.02em; }
.panel h2 { margin: 0 0 8px; font-size: 20px; }
.lead { color: var(--ink-2); font-size: 17px; margin: 0 0 18px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.btn.google svg { width: 22px; height: 22px; }
.login { text-align: center; padding: 28px 22px 22px; }
.login .lead { margin-bottom: 14px; }
.login-badge { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 22px; background: var(--gold-bg); }
.login-badge .star-ico { width: 36px; height: 36px; }
.perks { list-style: none; margin: 0 auto 6px; padding: 0; display: grid; gap: 8px; max-width: 320px; text-align: left; }
.perks li { display: flex; gap: 10px; align-items: center; font-weight: 750; font-size: 15px; }
.perks svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--best-bg); color: var(--best-ink); }
.email-form { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
.email-form label { font-weight: 750; color: var(--ink-2); font-size: 14px; }
.email-form input, .name-form input[name="name"] { height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-size: 17px; }
.form-error { padding: 10px 14px; border-radius: 12px; background: rgba(201, 85, 62, .14); color: #c9553e; font-weight: 750; }
.profile { display: flex; align-items: center; gap: 16px; }
.profile h1 { margin: 0; font-size: 24px; }
.profile p { margin: 2px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.stat b { font-size: 24px; }
.stat span { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.cta { background: var(--daily-bg); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--daily-ring); }
.my-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-games a { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "c n b" "c p b"; align-items: center; column-gap: 12px; padding: 8px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.mini-cover { grid-area: c; width: 56px; height: 40px; border-radius: 10px; overflow: hidden; }
.mg-name { grid-area: n; font-weight: 850; }
.mg-plays { grid-area: p; color: var(--ink-2); font-size: 13px; }
.mg-best { grid-area: b; font-weight: 800; color: var(--best-ink); padding-right: 6px; }
.name-form { display: grid; gap: 12px; }
.avatar-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar-opt input { position: absolute; opacity: 0; }
.avatar-opt .avatar { box-shadow: 0 0 0 3px transparent; transition: box-shadow .15s; cursor: pointer; }
.avatar-opt input:checked + .avatar { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--av); }
.saved { color: var(--best-ink); font-weight: 800; }
.quiet { background: transparent; box-shadow: none; text-align: center; }
.welcome { margin: 12px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--best-bg); color: var(--best-ink); font-weight: 800; }
.challenge { text-align: center; }
.eyebrow { margin: 0 0 6px; color: var(--coral); font-weight: 850; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.hl { color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- admin (docs/ADMIN.md) ---------- */
.admin .wrap { max-width: 860px; }
.admin-login { max-width: 420px; margin: 40px auto 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.admin-head h1 { margin: 0; font-size: 28px; }
.admin-btn { height: 44px; width: auto; padding: 0 16px; font-size: 15px; border-radius: 14px; }
.btn.ghost.admin-btn { width: auto; }
.admin-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 16px; }
.admin-search input[name="q"] { flex: 1 1 220px; height: 44px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-size: 16px; }
.admin-search label { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--ink-2); font-size: 14px; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card-2); }
.admin-who { display: grid; gap: 2px; min-width: 0; }
.admin-who b, .admin-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-nums { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ink-2); }
.admin-tag { grid-column: 1; justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(226, 118, 91, .16); color: var(--coral); font-weight: 800; font-size: 13px; }
.admin-act { grid-column: 2; grid-row: 1 / span 3; }

/* ---------- poster za mesta gde se čeka (/poster, docs/OUTREACH.md) ---------- */
.poster-wrap { max-width: 760px; display: grid; gap: 18px; }
.poster-form h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; }
.poster-fields { display: grid; gap: 12px; }
.poster-fields label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: var(--ink-2); }
.poster-fields input, .poster-fields select { height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-size: 16px; }
.poster-btns { display: flex; gap: 10px; align-items: center; }
.poster-btns .btn-primary { flex: 1; }
.paper { width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 8.5 / 11; padding: 6% 7% 0; border-radius: 10px; background: #fffaf3; color: #2b2530; box-shadow: var(--shadow-hi); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; container-type: inline-size; }
.paper.a4 { aspect-ratio: 210 / 297; }
.p-brand { display: flex; align-items: center; gap: 1.6cqw; font-weight: 900; font-size: 3.4cqw; color: #e2765b; }
.p-brand .logo { width: 5.4cqw; height: 5.4cqw; }
.p-place { margin: 3cqw 0 0; padding: 1.4cqw 3.6cqw; border-radius: 99px; background: #f6e6d6; font-size: 3.4cqw; }
.p-head { margin: 5cqw 0 0; font-size: 11.5cqw; line-height: 1; letter-spacing: -.03em; font-weight: 900; }
.p-sub { margin: 2cqw 0 0; font-size: 4.4cqw; color: #5d5463; font-weight: 700; }
.p-mid { display: flex; gap: 5cqw; align-items: center; margin-top: 7cqw; }
.p-qr { width: 46cqw; padding: 3cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 0 0 .6cqw #e2765b; }
.p-qr svg { display: block; width: 100%; height: auto; }
.p-games { display: grid; grid-template-columns: repeat(2, 17cqw); gap: 3cqw; }
.p-game { display: grid; gap: .8cqw; justify-items: center; }
.p-game .cover { width: 17cqw; height: 12cqw; border-radius: 2cqw; overflow: hidden; }
.p-game small { font-size: 2.2cqw; font-weight: 800; color: #5d5463; }
.p-steps { list-style: none; display: flex; gap: 4cqw; margin: 8cqw 0 0; padding: 0; font-size: 3.1cqw; font-weight: 800; }
.p-steps li { display: flex; align-items: center; gap: 1.4cqw; }
.p-steps b { width: 5cqw; height: 5cqw; display: grid; place-items: center; border-radius: 50%; background: #e2765b; color: #fff; font-size: 2.8cqw; }
.p-free { margin: 6cqw 0 0; font-size: 3.4cqw; font-weight: 850; color: #8a6417; }
.p-tabs { margin-top: auto; width: calc(100% + 14cqw); display: grid; grid-template-columns: repeat(6, 1fr); border-top: .4cqw dashed #c9b8a8; }
.p-tabs span { display: grid; gap: .4cqw; padding: 2cqw .5cqw 3cqw; border-left: .3cqw dashed #c9b8a8; writing-mode: vertical-rl; transform: rotate(180deg); justify-items: center; height: 22cqw; align-content: center; }
.p-tabs span:last-child { border-left: 0; }
.p-tabs b { font-size: 2.2cqw; }
.p-tabs small { font-size: 1.8cqw; color: #5d5463; }
@media print {
  @page { margin: 0; }
  body.poster-body { background: #fff !important; }
  .noprint, .toast { display: none !important; }
  .poster-wrap { padding: 0; max-width: none; }
  .paper { width: 8.5in; height: 11in; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .paper.a4 { width: 210mm; height: 297mm; }
}

/* ---------- profil (životinje, nastavak, podešavanja) ---------- */
.avatar-opt .avatar.ani { box-shadow: 0 0 0 3px transparent; }
.avatar-opt input:checked + .avatar.ani { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--coral); }
.avatar-opt input:focus-visible + .avatar { outline: 3px solid var(--coral); outline-offset: 3px; }
.stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 420px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .icon, .stat svg { width: 20px; height: 20px; color: var(--ink-2); }
.mg-fav { display: inline-flex; margin-left: 6px; color: var(--coral); vertical-align: -2px; }
.mg-fav svg { width: 15px; height: 15px; fill: currentColor; }
.mg-go { grid-area: b; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--coral) 70%, #000); }
.mg-go svg { width: 16px; height: 16px; margin-left: 2px; }
.my-games .mg-plays { line-height: 1.3; }
.fresh-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.fresh { flex: none; width: 120px; display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: var(--ink); scroll-snap-align: start; }
.fresh .mini-cover { grid-area: auto; order: -1; width: 120px; height: 84px; }
.settings { display: grid; gap: 4px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.set-row:first-of-type { border-top: 0; }
.set-row b { display: block; }
.set-row small { color: var(--ink-2); font-weight: 600; }
.switch { position: relative; flex: none; width: 54px; height: 32px; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background .2s; }
.switch span { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.18); transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.switch[aria-checked="true"] { background: var(--sage, #8fab6a); }
.switch[aria-checked="true"] span { transform: translateX(22px); }
@media (max-width: 340px) { .has-skip .hud-right .fav { display: none; } }

/* ---------- režim učionice (/class, shared/class.ts) ---------- */
.class-mode .hud-mid { grid-auto-flow: column; align-items: center; }
.class-clock { padding: 6px 12px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--glass-line); font-weight: 900; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: .01em; transition: color .4s; }
.class-clock.low { color: var(--coral); }
.class-over .sheet { text-align: center; }
.class-over-logo .logo { display: inline-block; width: 64px; height: 64px; }
.class-over-logo .logo svg { width: 100%; height: 100%; }
.class-over .end-label { font-size: 30px; }
.class-over-sub { margin: 4px 0 22px; color: var(--ink-2); font-size: 18px; font-weight: 750; }
.class-over .class-again { width: 100%; }
.class-over-note { margin: 10px 0 0; color: var(--ink-2); font-size: 13px; }
.class-for { padding: 0 8px; color: var(--coral); font-weight: 850; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.class-wrap { max-width: 760px; display: grid; gap: 4px; }
.class-promises { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-weight: 700; }
.class-fields { display: grid; gap: 16px; }
.class-fields p { margin: 0; }
.class-share { text-align: center; }
.class-qr { width: min(300px, 70vw); margin: 14px auto 10px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 4px var(--coral); }
.class-qr svg { display: block; width: 100%; height: auto; }
.class-url { margin: 8px 0 16px; font-weight: 900; font-size: clamp(20px, 5vw, 34px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.class-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- pretraga i filteri (Lazar 2026-11-02: lepše, ne jedan red za skrolovanje) ---------- */
.browse { display: grid; gap: 12px; margin-bottom: 14px; }
.browse-top { display: flex; gap: 8px; align-items: stretch; }
.more-btn { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font-weight: 850; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s; }
.more-btn .ico { width: 20px; height: 20px; }
.more-btn[aria-expanded="true"], .more-btn.on { border-color: var(--ink); }
.more-n { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12.5px; }
@media (max-width: 380px) { .more-btn span { display: none; } }
/* vrste igara: četiri pločice sa lepezom korica */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kind { position: relative; display: flex; align-items: stretch; min-height: 92px; padding: 12px 0 12px 14px; border: 0; border-radius: 20px; background: var(--k-bg); color: var(--k-ink); text-align: left; overflow: hidden; cursor: pointer; font: inherit; box-shadow: var(--shadow); transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), box-shadow .18s; }
.kind:active { transform: scale(.97); }
.k-puzzle { --k-bg: var(--k-puzzle); } .k-logic { --k-bg: var(--k-logic); } .k-arcade { --k-bg: var(--k-arcade); } .k-relax { --k-bg: var(--k-relax); }
.kind-text { position: relative; z-index: 1; display: grid; align-content: start; gap: 1px; min-width: 0; }
.kind-text b { font-size: 17px; font-weight: 900; letter-spacing: -.01em; }
.kind-text small { font-size: 12.5px; font-weight: 750; opacity: .72; }
.kind-n { margin-top: 6px; font-size: 11.5px; font-weight: 800; opacity: .6; }
.kind-fan { position: absolute; right: -14px; bottom: -12px; width: 92px; height: 70px; pointer-events: none; }
.kind-cover { position: absolute; right: 0; bottom: 0; width: 64px; aspect-ratio: 10 / 7; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px -4px rgba(44, 38, 51, .45), 0 0 0 2px rgba(255, 255, 255, .7); transform-origin: 100% 100%; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.kind-cover .cover { display: block; width: 100%; height: 100%; }
.kind-cover:nth-child(1) { transform: translate(-30px, -20px) rotate(-14deg); }
.kind-cover:nth-child(2) { transform: translate(-14px, -10px) rotate(-5deg); }
.kind-cover:nth-child(3) { transform: rotate(5deg); }
.kind:hover .kind-cover:nth-child(1), .kind.on .kind-cover:nth-child(1) { transform: translate(-38px, -24px) rotate(-20deg); }
.kind:hover .kind-cover:nth-child(3), .kind.on .kind-cover:nth-child(3) { transform: translate(4px, 2px) rotate(10deg); }
.kind-check { position: absolute; z-index: 2; top: 10px; right: 10px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); opacity: 0; transform: scale(.4); transition: opacity .15s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.kind-check .ico { width: 15px; height: 15px; stroke-width: 3; }
.kind.on { box-shadow: inset 0 0 0 3px var(--ink), var(--shadow-hi); }
.kind.on .kind-check { opacity: 1; transform: none; }
.kind:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--coral), var(--shadow); }
/* panel "Filters": kontrola, način, trajanje kao segmenti, svaki red sa natpisom */
.more { display: grid; gap: 10px; padding: 12px 14px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
@media (min-width: 760px) { .more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.seg-row { display: grid; gap: 6px; }
.seg-l { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: var(--card-2); }
.seg-b { height: 38px; padding: 0 8px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-2); font-weight: 850; font-size: 14.5px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.seg-b.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(44, 38, 51, .14), 0 3px 8px -4px rgba(44, 38, 51, .3); }
[data-theme="dark"] .seg-b.on { background: var(--ink); color: var(--bg); }
.seg-b:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--coral); }
.browse-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; }
.clear-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); font-weight: 850; font-size: 13.5px; cursor: pointer; }
.clear-btn .ico { width: 14px; height: 14px; }

/* ---------- shuffle: "Can't decide?" točak sa koricama ---------- */
.shuffle-sec { margin-top: 6px; }
.shuffler { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 24px; background: linear-gradient(135deg, var(--k-logic), var(--k-puzzle) 55%, var(--k-relax)); color: var(--k-ink); box-shadow: var(--shadow); transition: transform .18s cubic-bezier(.3, 1.4, .5, 1); }
.shuffler:active { transform: scale(.985); }
.reel { position: relative; flex: none; width: 104px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), 0 10px 22px -12px rgba(44, 38, 51, .6); }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .16), transparent 22%, transparent 78%, rgba(0, 0, 0, .16)); }
.reel-strip { display: block; height: 100%; will-change: transform; }
.reel-tile, .reel-q { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(var(--c1, var(--card-2)), var(--c2, var(--card))); }
.reel-tile .cover { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.45); }
.reel-q { display: grid; place-items: center; font-family: var(--num); font-size: 48px; font-weight: 900; color: var(--coral); background: var(--card); animation: reel-bob 2.8s ease-in-out infinite; }
@keyframes reel-bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
.shuffler.spinning .reel-tile .cover { filter: blur(1.2px); }
.shuffler.landed .reel { animation: reel-land .45s cubic-bezier(.3, 1.6, .5, 1); box-shadow: inset 0 0 0 3px var(--coral), 0 10px 22px -12px rgba(44, 38, 51, .6); }
@keyframes reel-land { 0% { transform: scale(1) } 40% { transform: scale(1.08) } 100% { transform: scale(1) } }
.shuffler-text { display: grid; gap: 4px; min-width: 0; }
.shuffler-title { font-size: 21px; line-height: 1.1; letter-spacing: -.015em; font-weight: 900; }
.shuffler-sub { font-size: 14px; line-height: 1.35; opacity: .78; }
.shuffler-fresh { justify-self: start; margin-top: 2px; padding: 3px 10px; border-radius: 999px; background: var(--card); color: var(--coral); font-size: 12.5px; font-weight: 900; }
.shuffle-cta { justify-self: start; margin-top: 8px; height: 44px; }
.shuffle-steps { list-style: none; display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 8px; margin: 10px 4px 0; padding: 0; color: var(--ink-2); font-size: 12.5px; font-weight: 800; }
.shuffle-steps li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
@media (min-width: 640px) { .shuffle-steps { justify-content: start; gap: 22px; font-size: 13.5px; } }
.shuffle-steps .how-n { width: 22px; height: 22px; font-size: 12px; }
.shuffle-steps .ico { width: 14px; height: 14px; }
@media (max-width: 400px) { .shuffler { gap: 12px; padding: 14px; } .reel { width: 86px; } .shuffler-title { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .reel-q { animation: none; } .kind-cover { transition: none; } }

/* ---------- profil (Lazar 2026-11-02): ram, kartica igrača, brojke, nedelja, kolekcija, izgled ---------- */
/* ram oko životinje: ukupna veličina ostaje --fs, životinja je unutra (tabele, zaglavlje, profil) */
.frame { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--fs); height: var(--fs); padding: calc(var(--fs) * .12); border-radius: 50%; }
.frame > .avatar { width: 100% !important; height: 100% !important; box-shadow: 0 0 0 calc(var(--fs) * .035) var(--card); }
.fr-ticket { background: repeating-conic-gradient(var(--coral) 0 12deg, transparent 12deg 24deg); }
.fr-sunny { background: conic-gradient(from 10deg, #efbd4e, #f6d68a, #e9a43c, #f6d68a, #efbd4e, #f6d68a, #e9a43c, #f6d68a, #efbd4e); }
.fr-garden { background: radial-gradient(circle at 20% 20%, #b7d39f 0 14%, transparent 15%), radial-gradient(circle at 80% 75%, #f2b8c0 0 10%, transparent 11%), linear-gradient(135deg, #7fae6c, #a9c49a 50%, #5f8f55); }
.fr-night { background: radial-gradient(circle at 25% 22%, #fff 0 2.5%, transparent 3.5%), radial-gradient(circle at 78% 30%, #fff 0 2%, transparent 3%), radial-gradient(circle at 70% 82%, #f6d68a 0 3%, transparent 4%), radial-gradient(circle at 18% 70%, #fff 0 1.8%, transparent 2.8%), linear-gradient(160deg, #3b3f78, #5d6189 55%, #2c2850); }
.fr-rainbow { background: conic-gradient(#e2765b, #efbd4e, #8fab6a, #5fae9a, #6f8fc0, #9d8bc4, #d99aa5, #e2765b); }
.fr-gold { background: conic-gradient(from 30deg, #b8862b, #f6e2a4, #d6a43f, #fff3c9, #b8862b, #f1d27f, #a8761f, #f6e2a4, #b8862b); box-shadow: 0 2px 8px -2px rgba(138, 100, 23, .6); }
.me-link .frame { --fs: 34px; }

/* kartica igrača: boja po izboru (Paper, Peach, Mint, Sky, Lilac, Sunset) */
.tint-paper { --pc-bg: var(--card); }
.tint-peach { --pc-bg: linear-gradient(135deg, #fde6d5, #f7d3c6); }
.tint-mint { --pc-bg: linear-gradient(135deg, #e3f1ea, #cfe6d8); }
.tint-sky { --pc-bg: linear-gradient(135deg, #e3ecf6, #cbdcef); }
.tint-lilac { --pc-bg: linear-gradient(135deg, #ece3f5, #dccdee); }
.tint-sunset { --pc-bg: linear-gradient(135deg, #fde6d5 0%, #f7c9b8 45%, #d8c9ee 100%); }
[data-theme="dark"] .tint-peach { --pc-bg: linear-gradient(135deg, #3d2b2c, #33262c); }
[data-theme="dark"] .tint-mint { --pc-bg: linear-gradient(135deg, #22322b, #1f2a26); }
[data-theme="dark"] .tint-sky { --pc-bg: linear-gradient(135deg, #232c3c, #1f2533); }
[data-theme="dark"] .tint-lilac { --pc-bg: linear-gradient(135deg, #2e2840, #262236); }
[data-theme="dark"] .tint-sunset { --pc-bg: linear-gradient(135deg, #3b2a3e 0%, #3a2733 45%, #262a44 100%); }
.pcard { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 20px 18px; border-radius: 26px; background: var(--pc-bg); box-shadow: var(--shadow); transition: background .3s; }
.pcard-av { display: grid; flex: none; }
.pcard-id { display: grid; gap: 2px; min-width: 0; padding-right: 30px; }
.pcard-id h1 { margin: 0; font-size: 25px; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pcard-id p { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.pcard-tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ptok { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(44, 38, 51, .1); font-size: 15px; }
.ptok .ico { width: 18px; height: 18px; }
.ptok b { font-weight: 900; }
.ptok small { color: var(--ink-2); font-weight: 800; font-size: 12.5px; }
.pcard-edit { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--ink-2); box-shadow: 0 1px 2px rgba(44, 38, 51, .12); }
.pcard-edit .ico { width: 19px; height: 19px; }

/* brojke: šest pločica kao displej u čekaonici */
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.num-tile { display: grid; justify-items: center; gap: 3px; padding: 14px 6px 12px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.num-tile .ico { width: 20px; height: 20px; color: var(--coral); }
.num-tile .flame-ico { width: 20px; height: 20px; }
.num-tile b { font-size: 23px; font-weight: 900; line-height: 1.1; }
.num-tile span { color: var(--ink-2); font-size: 12.5px; font-weight: 800; line-height: 1.2; }
/* omiljena vrsta: traka po vrstama u bojama pločica sa početne */
.kinds-card { display: grid; gap: 10px; margin-top: 12px; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.kc-head small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.kc-head b { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.kc-bar { display: flex; gap: 3px; height: 14px; border-radius: 99px; overflow: hidden; }
.kc-bar i, .kc-legend i { display: block; background: var(--k-c); }
.k-puzzle { --k-c: #8fb0d3; } .k-logic { --k-c: #ab97d0; } .k-arcade { --k-c: #e59a7b; } .k-relax { --k-c: #82bb98; }
.kc-legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; padding: 0; font-size: 14px; font-weight: 800; }
.kc-legend li { display: flex; align-items: center; gap: 7px; }
.kc-legend i { width: 12px; height: 12px; border-radius: 4px; }
.kc-legend b { margin-left: auto; color: var(--ink-2); font-size: 13px; }
/* mesta na tabelama */
.spots { display: grid; gap: 8px; margin-top: 12px; }
.spots-t { padding: 0 2px; color: var(--ink-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.spot { display: grid; grid-template-columns: 52px 56px 1fr; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.spot .mini-cover { grid-area: auto; }
.spot-rank { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 14px; background: var(--card-2); font-family: var(--num); font-size: 21px; font-weight: 900; }
.spot-rank small { margin-right: 1px; font-size: 14px; opacity: .55; }
.spot-rank.podium { background: var(--gold-bg); color: var(--gold-ink); }
.spot-t { display: grid; gap: 1px; min-width: 0; }
.spot-t b { font-weight: 900; }
.spot-t small { color: var(--ink-2); font-size: 13.5px; font-weight: 750; }

/* nedelja: stubići po danu, četiri broja, najigranija igra, deljenje */
.wk { display: grid; gap: 14px; padding: 16px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.wk-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: start; }
.wk-day { display: grid; grid-template-rows: 16px 92px auto; justify-items: center; gap: 4px; }
.wk-col { position: relative; display: flex; align-items: flex-end; width: 34px; max-width: 100%; height: 92px; border-radius: 12px; background: var(--card-2); overflow: hidden; }
.wk-col i { display: block; width: 100%; border-radius: 12px; background: linear-gradient(var(--sun), var(--coral)); transform-origin: bottom; animation: wk-grow .7s cubic-bezier(.2, .8, .3, 1) both; }
.wk-day:nth-child(2) i { animation-delay: .04s } .wk-day:nth-child(3) i { animation-delay: .08s } .wk-day:nth-child(4) i { animation-delay: .12s } .wk-day:nth-child(5) i { animation-delay: .16s } .wk-day:nth-child(6) i { animation-delay: .2s } .wk-day:nth-child(7) i { animation-delay: .24s }
.wk-day.zero i { background: var(--star-off); }
@keyframes wk-grow { from { transform: scaleY(0) } }
.wk-day b { align-self: end; font-size: 13px; font-weight: 900; line-height: 1; }
.wk-day small { color: var(--ink-2); font-size: 11.5px; font-weight: 900; }
.wk-day.today small { color: var(--coral); }
.wk-day.today .wk-col { box-shadow: inset 0 0 0 2px var(--coral); }
.wk-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wk-nums span { display: grid; justify-items: center; gap: 1px; padding: 10px 4px; border-radius: 16px; background: var(--gold-bg); text-align: center; }
.wk-nums b { font-size: 20px; font-weight: 900; color: var(--ink); }
.wk-nums small { color: var(--gold-ink); font-size: 11.5px; font-weight: 850; line-height: 1.15; }
.wk-top { display: flex; align-items: center; gap: 12px; margin: 0; }
.wk-top .mini-cover { grid-area: auto; flex: none; }
.wk-top > span:last-child { display: grid; color: var(--ink-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.wk-top b { color: var(--ink); font-size: 17px; text-transform: none; letter-spacing: 0; }
.wk-empty { margin: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 750; text-align: center; }

/* kolekcija: markice (nazubljena ivica), stanje bojom i oznakom */
.col-head { display: grid; gap: 10px; margin-bottom: 14px; }
.col-bar { display: flex; height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.col-bar i { display: block; height: 100%; background: var(--coral); transition: width .8s cubic-bezier(.2, .8, .3, 1); }
.col-bar i.gold { background: linear-gradient(90deg, #e0b04a, #efbd4e); }
.col-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.col-legend li { display: inline-flex; align-items: center; gap: 6px; }
.col-legend .star-ico { width: 14px; height: 14px; margin-right: -3px; }
.lg { width: 14px; height: 14px; border-radius: 4px; }
.lg.new { box-shadow: inset 0 0 0 2px var(--ink-2); opacity: .7; }
.lg.played { background: var(--coral); }
.lg.gold { background: linear-gradient(135deg, #e0b04a, #f6d68a); }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
@media (min-width: 520px) { .stamps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stamp { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.stamp-paper { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 7px; background: var(--card); filter: drop-shadow(0 4px 6px rgba(44, 38, 51, .16)); -webkit-mask: radial-gradient(circle 3.5px, #0000 95%, #000) -5px -5px / 10px 10px round, linear-gradient(#000 0 0) content-box; mask: radial-gradient(circle 3.5px, #0000 95%, #000) -5px -5px / 10px 10px round, linear-gradient(#000 0 0) content-box; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.stamp:active .stamp-paper { transform: scale(.95) rotate(-2deg); }
.stamp-art { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; }
.stamp-art .cover { width: 100%; height: 100%; transform: scale(1.35); }
.stamp-name { max-width: 100%; font-size: 11.5px; font-weight: 850; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stamp-badge { position: absolute; z-index: 1; right: 4px; bottom: 4px; display: grid; place-items: center; border-radius: 999px; }
.stamp-badge.gold { width: 26px; height: 26px; background: #fffdfa; box-shadow: 0 2px 6px rgba(138, 100, 23, .45); }
.stamp-badge.gold .star-ico { width: 18px; height: 18px; }
.stamp-badge.new { padding: 3px 7px; background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: .04em; }
.stamp.gold .stamp-paper { background: linear-gradient(135deg, #e0b04a, #f6e2a4 45%, #d6a43f); }
.stamp.new .stamp-art .cover { filter: saturate(.35) opacity(.75); }
.stamp.new .stamp-name { color: var(--ink-2); }
.stamp.shake .stamp-paper { animation: shake .4s; }

/* izgled: životinja, ram, boja kartice */
.look h2 { margin: 0 0 2px; }
.look .muted.small { margin: 0 0 12px; }
.look-l { display: grid; gap: 6px; margin-top: 4px; color: var(--ink-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.look-l input { text-transform: none; letter-spacing: 0; }
.look-next { display: grid; gap: 6px; margin-bottom: 14px; padding: 12px 14px; border-radius: 18px; background: var(--gold-bg); }
.look-next > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.look-next small { color: var(--gold-ink); font-size: 13px; font-weight: 850; }
.look-next b { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 900; }
.look-next .star-ico { width: 15px; height: 15px; }
.look-next .unlock-bar { margin: 0; background: rgba(255, 255, 255, .6); }
.look-pick { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.look-opt { position: relative; display: grid; justify-items: center; gap: 4px; width: 62px; cursor: pointer; }
.look-opt input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
/* zaključan: dodir ide na natpis (poruka koliko fali), onemogućen radio ga ne bi preneo */
.look-opt input:disabled { pointer-events: none; }
.look-face { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px transparent; transition: box-shadow .15s, transform .2s cubic-bezier(.3, 1.5, .5, 1); }
.look-opt input:checked + .look-face { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--coral); }
.look-opt input:focus-visible + .look-face { outline: 3px solid var(--coral); outline-offset: 4px; }
.look-opt:active .look-face { transform: scale(.92); }
.look-opt small { display: inline-flex; align-items: center; gap: 2px; color: var(--ink-2); font-size: 11.5px; font-weight: 850; text-align: center; line-height: 1.1; }
.look-opt small .star-ico { width: 12px; height: 12px; }
.look-opt.locked { cursor: help; }
.look-opt.locked .look-face > :not(.look-lock) { filter: grayscale(.85) opacity(.45); }
.look-lock { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.look-lock .ico { width: 13px; height: 13px; }
.swatch { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--pc-bg); box-shadow: inset 0 0 0 1.5px var(--line); }
.look-save { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.saved { display: inline-flex; align-items: center; gap: 4px; }
.saved .ico { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .wk-col i { animation: none; } }

/* ===== Raspored strana (Lazar 2026-11-03: Today, Games, Stars kao odvojene strane; sitnije i preglednije) ===== */
.top-nav a.on { background: var(--card-2); color: var(--ink); }
.hello { padding-top: 10px; }
.hello h1 { font-size: clamp(26px, 6.6vw, 38px); }
.hello p { font-size: 15px; }
.page-head { padding: 14px 2px 4px; }
.page-head h1 { margin: 0 0 4px; font-size: clamp(26px, 6.6vw, 36px); line-height: 1.05; letter-spacing: -.03em; font-weight: 900; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.sign { margin: 22px 2px 10px; }
.sign h2 { font-size: 19px; }
.sign-ico { width: 30px; height: 30px; border-radius: 9px; }
.sign-ico .ico { width: 17px; height: 17px; }
.sign-link { display: inline-flex; align-items: center; gap: 2px; color: var(--coral); font-weight: 850; font-size: 14.5px; white-space: nowrap; }
.sign-link .ico { width: 16px; height: 16px; }
.wrap.narrow { max-width: 640px; }

/* Today: glavna kolona i bočna (na računaru desno, na telefonu ispod puta) */
.today-grid { display: grid; gap: 14px; margin-top: 14px; }
.today-main, .today-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.today-main > .shelf > .sign:first-child { margin-top: 10px; }
@media (max-width: 899px) {
  /* telefon: put, pa listići dana, pa picks i tvoje igre */
  .today-grid { display: flex; flex-direction: column; }
  .today-main { display: contents; }
  .today-main .today { order: 1; }
  .today-side { order: 2; }
  .today-main .picks { order: 3; }
  .today-main [data-mine] { order: 4; }
}
@media (min-width: 900px) {
  .wrap { max-width: 1120px; }
  .today-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
  .today-side { position: sticky; top: 84px; }
}
.trip .t-body { padding: 14px 10px 14px 14px; gap: 4px; }
.trip-title { font-size: 20px; }
.trip-sub { font-size: 13.5px; }
.trip-stops { margin-top: 6px; }
.trip-cta { margin-top: 8px; }
@media (min-width: 720px) { .trip .t-body { padding: 18px 18px 18px 20px; } }

/* listići dana: kutija i niz jedan pored drugog, mali */
.day-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); text-align: left; font: inherit; cursor: pointer; }
.tile .gift, .tile .streak-ico { width: 40px; height: 40px; border-radius: 13px; }
.tile .gift .ico { width: 24px; height: 24px; }
.tile .streak-ico .flame-ico { width: 24px; height: 24px; }
.tile-text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.tile-text b { font-size: 14.5px; font-weight: 900; line-height: 1.15; }
.tile-text small { color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.daily { position: relative; }
.tile .daily-cta { position: absolute; top: 8px; right: 10px; font-size: 12px; }
.tile.daily.opened .daily-cta { display: none; }
.tile.daily:not(.opened) { background: var(--gold-bg); }
.pz-card { --stub: 56px; }
.pz-card .t-body { gap: 10px; padding: 10px; }
.pz-art { width: 54px; border-radius: 13px; }
.pz-title { font-size: 16px; }
.pz-sub { font-size: 12.5px; }
.pz-card .t-stub b { font-size: 16px; }
.punch { gap: 8px; padding: 12px; border-radius: 18px; }
.punch-head b { font-size: 14.5px; }
.punch-days { padding: 6px; gap: 4px; }
.punch-note { font-size: 12.5px; }
.all-games-btn { margin-top: 22px; }

/* male pločice igara (Today's picks, Your games): telefon lista prstom, računar mreža */
.minis { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.minis::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .minis { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.mini { display: grid; gap: 3px; min-width: 0; scroll-snap-align: start; color: var(--ink); }
.mini-art { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(var(--c1), var(--c2)); box-shadow: var(--shadow); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.mini-art .cover { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.42); }
.mini:hover .mini-art { transform: translateY(-2px); }
.mini:active .mini-art { transform: scale(.96); }
.mini b { font-size: 13.5px; font-weight: 900; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.mini small { color: var(--ink-2); font-size: 12px; font-weight: 750; }
.mini .card-new { left: 6px; bottom: 6px; font-size: 11px; padding: 2px 7px; }
.mini .card-fav { top: 6px; right: 6px; width: 24px; height: 24px; }

/* Games: manje kartice, kraći opis, sitnije vrste i shuffle */
.card { padding: 5px; border-radius: 18px; }
.card-art { border-radius: 14px; }
.card-body { padding: 9px 6px 6px; gap: 3px; }
.card h3 { font-size: 15px; }
.card p { font-size: 12.5px; min-height: 0; -webkit-line-clamp: 1; }
.card-meta { margin-top: 2px; }
.pill-mini { font-size: 11.5px; padding: 2px 7px; }
.card-play { width: 30px; height: 30px; right: 6px; bottom: 6px; }
.card-play .ico { width: 14px; height: 14px; }
.card-new { font-size: 11px; padding: 2px 7px; left: 6px; bottom: 6px; }
.grid { gap: 10px; }
@media (min-width: 640px) { .grid { gap: 12px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.kind { min-height: 70px; padding: 10px 0 10px 12px; border-radius: 16px; }
.kind-text b { font-size: 15.5px; }
.kind-n { margin-top: 3px; }
.kind-fan { transform: scale(.8); transform-origin: 100% 100%; }
.games-page .shuffle-sec .sign { display: none; }
.games-page .shuffle-steps, .games-page .shuffler-sub { display: none; }
.shuffler { gap: 12px; padding: 10px 12px; border-radius: 18px; margin-top: 12px; }
.reel { width: 64px; border-radius: 15px; }
.shuffler-title { font-size: 17px; }
.shuffle-cta { height: 40px; padding: 0 16px; font-size: 15px; }
.games-page #games { margin-top: 6px; }

/* Stars */
.stars-page .stars-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.stars-page .stars-big b { font-size: 34px; }
.stars-text { display: grid; gap: 2px; }
.stars-text b { font-size: 16px; font-weight: 900; }
.stars-text small { color: var(--ink-2); font-size: 13.5px; }
.h-sec { margin: 24px 2px 10px; font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.reel-q { font-size: 30px; }
.shuffler .trip-eyebrow { display: none; }
.tile .daily-cta { display: none; }
.games-page .shuffle-sec { max-width: 520px; }

/* ---------- zbirke po nameri pretrage (/games/<slug>, src/shared/seo.ts) i "More like this" ---------- */
h1.hud-title { margin: 0; line-height: inherit; letter-spacing: normal; }
.crumbs { padding: 12px 2px 0; font-size: 13.5px; font-weight: 750; color: var(--ink-2); }
.crumbs a { color: inherit; }
.collection-page .page-head p + p { margin-top: 8px; }
.coll-links { display: flex; flex-wrap: wrap; gap: 8px; }
.coll-links .chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; font-size: 14px; color: var(--ink); text-decoration: none; }
.coll-text { margin-top: 22px; }
.coll-text h3 { margin: 14px 0 4px; font-size: 16px; }
.coll-text p { margin: 0 0 6px; }
.coll-more { margin-top: 6px; }
.foot-cols { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 750; }
.foot-cols a { color: var(--ink-2); }
.help-more { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 16px 0 0; padding-top: 12px; border-top: 2px dashed var(--line); font-size: 14px; }
.help-more b { font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.help-more-row { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.help-more a { font-weight: 850; color: var(--coral); text-decoration: none; }
.help-more a.soft { font-weight: 750; color: var(--ink-2); }

/* 404 strana (src/site/pages/info.tsx NotFoundPage): dva dugmeta u redu */
.nf-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
