/* KULTURË GJENERALE — pamja. Studio televizive natën: e zeza e ngrohtë, e kuqja e flamurit, ari. */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0c0708; --bg2: #160b0d; --card: #1c1012; --card2: #26161a; --card3: #301c20;
  --line: rgba(255, 214, 196, .11); --line2: rgba(255, 214, 196, .2);
  --ink: #fff4ec; --ink2: #ecd6cb; --muted: #b89d92; --dim: #806862;
  --red: #e41e20; --red2: #a3121a; --redglow: rgba(228, 30, 32, .42);
  --gold: #f4c34d; --gold2: #c88f1f; --goldink: #2b1b00; --goldglow: rgba(244, 195, 77, .35);
  --green: #2fd682; --green2: #13985a; --bad: #ff5c62; --bad2: #b8232b; --amber: #ffb445;
  --water: #1d4f78; --land: #2a1a1b;
  --r: 18px; --r2: 12px;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --ui: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 16px; }
body { overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ───────── sfondi: studio ───────── */
#bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(228, 30, 32, .38), transparent 70%),
    radial-gradient(70% 40% at 50% 112%, rgba(244, 195, 77, .1), transparent 70%),
    linear-gradient(180deg, #120809, var(--bg) 40%, #090506); }
#bg .beam { position: absolute; top: -30%; width: 70vmax; height: 140vmax; left: 50%; transform-origin: 50% 0;
  background: conic-gradient(from 180deg at 50% 0, transparent 0 172deg, rgba(255, 220, 190, .07) 178deg 182deg, transparent 188deg);
  animation: sweep 14s ease-in-out infinite alternate; }
#bg .beam.b2 { animation-duration: 19s; animation-delay: -6s; opacity: .7; }
@keyframes sweep { from { transform: translateX(-50%) rotate(-24deg); } to { transform: translateX(-50%) rotate(24deg); } }
#bg .grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
#fx { position: fixed; inset: 0; z-index: 80; pointer-events: none; width: 100%; height: 100%; }

/* ───────── skeleti ───────── */
#app { position: relative; z-index: 1; height: 100%; }
.screen { position: absolute; inset: 0; display: none; flex-direction: column; overflow-x: hidden; overflow-y: auto;
  padding: calc(var(--sat) + 14px) 16px calc(var(--sab) + 22px); scrollbar-width: thin; scrollbar-color: var(--card3) transparent; }
.screen.on { display: flex; animation: scrIn .35s ease both; }
@keyframes scrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; }

.btn { --b1: var(--gold); --b2: var(--gold2); appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; letter-spacing: .02em; font-size: 15px; color: var(--goldink);
  padding: 15px 22px; border-radius: 999px; min-height: 52px;
  background: linear-gradient(180deg, #ffe08a, var(--b1) 45%, var(--b2)); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 24px var(--goldglow), 0 3px 0 #7a5208;
  transition: transform .08s, box-shadow .15s, filter .15s; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 4px 12px var(--goldglow), 0 1px 0 #7a5208; }
.btn.red { color: #fff; background: linear-gradient(180deg, #ff5a4f, var(--red) 50%, var(--red2)); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 26px var(--redglow), 0 3px 0 #5e0a0e; }
.btn.ghost { color: var(--ink); background: rgba(255, 240, 230, .06); box-shadow: inset 0 0 0 1.5px var(--line2); font-family: var(--ui); font-weight: 600; font-size: 16px; }
.btn.small { min-height: 40px; padding: 9px 16px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (hover: hover) { .btn:hover { filter: brightness(1.08); } .btn.ghost:hover { background: rgba(255,240,230,.1); } }

.iconbtn { appearance: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 240, 230, .07); box-shadow: inset 0 0 0 1px var(--line2); font-size: 18px; color: var(--ink2); flex: none; }
.iconbtn:active { transform: scale(.95); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 240, 230, .07); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink2); white-space: nowrap; }
.kicker { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ───────── kreu ───────── */
#s-home .wrap { display: flex; flex-direction: column; gap: 16px; }
.home-bar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-height: 42px; }
.profile-chip { appearance: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 240, 230, .07); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink); text-align: left; max-width: 64vw; }
.profile-chip .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: linear-gradient(180deg, var(--card3), var(--card)); box-shadow: inset 0 0 0 1px var(--line2); flex: none; }
.profile-chip b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-chip small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-top: 4px; }
.brand .eagle { width: min(30vw, 120px); height: auto; filter: drop-shadow(0 6px 26px rgba(228, 30, 32, .55)); animation: hover 6s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-5px); } }
.brand h1 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.01em; text-transform: uppercase;
  font-size: clamp(34px, 10.5vw, 60px);
  background: linear-gradient(180deg, #fff6e6 10%, var(--gold) 55%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(244, 195, 77, .22)); }
.brand h1 span { display: block; }
.brand p { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 4.4vw, 20px); color: var(--ink2); }
.flag { height: 3px; width: 120px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--red) 25%, var(--red) 75%, transparent); box-shadow: 0 0 16px var(--redglow); }

.daily { position: relative; overflow: hidden; border-radius: 24px; padding: 20px 18px 18px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(228, 30, 32, .35), transparent 55%), linear-gradient(180deg, #2a1416, #1a0e10);
  box-shadow: inset 0 0 0 1px rgba(255, 120, 100, .22), 0 18px 50px rgba(0, 0, 0, .45); }
.daily::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 195, 77, .18), transparent 65%); pointer-events: none; }
.daily .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.daily h2 { margin: 10px 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 6.4vw, 30px); line-height: 1.05; }
.daily .sub { margin: 0 0 14px; color: var(--ink2); font-size: 15px; line-height: 1.45; }
.daily .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.daily .played { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; margin-bottom: 14px; }
.daily .played .big { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--gold); }
.daily .played .grid { font-size: 17px; letter-spacing: 1px; }
.daily .count { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.streak { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #ffcf8a; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { appearance: none; border: 0; cursor: pointer; text-align: left; position: relative; overflow: hidden; border-radius: 20px; padding: 16px 14px 14px; min-height: 128px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; color: var(--ink);
  background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .3); transition: transform .12s; }
.tile:active { transform: scale(.98); }
.tile .ico { font-size: 28px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.tile b { display: block; font-family: var(--display); font-size: 14.5px; font-weight: 700; line-height: 1.15; }
.tile small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tile.gold { background: radial-gradient(120% 90% at 0% 0%, rgba(244, 195, 77, .2), transparent 60%), linear-gradient(180deg, #2a1d10, #1c130b); box-shadow: inset 0 0 0 1px rgba(244, 195, 77, .3), 0 10px 30px rgba(0, 0, 0, .3); }
.tile .tag { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; color: var(--gold); }
@media (hover: hover) { .tile:hover { box-shadow: inset 0 0 0 1px var(--line2), 0 14px 34px rgba(0, 0, 0, .4); } }
.home-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 4px; }
.home-foot button, .home-foot a { appearance: none; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: none; padding: 6px 4px; }
.home-foot button:hover, .home-foot a:hover { color: var(--ink); }

/* ───────── loja ───────── */
#s-play { padding-top: calc(var(--sat) + 10px); }
#s-play .wrap { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.hud-mid { min-width: 0; text-align: center; }
.hud-mode { display: block; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-step { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.hud-score { text-align: right; min-width: 74px; }
.hud-score b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1; }
.hud-score small { color: var(--muted); font-size: 11.5px; }
.hud-score.bump b { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.22); color: var(--gold); } }
.lives { font-size: 14px; letter-spacing: 2px; margin-top: 3px; }
.lives .x { opacity: .22; filter: grayscale(1); }

.dots { display: flex; gap: 5px; justify-content: center; }
.dots i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 240, 230, .1); }
.dots i.cur { background: var(--ink2); }
.dots i.g { background: var(--green); } .dots i.y { background: var(--amber); } .dots i.r { background: var(--bad); } .dots i.k { background: #4a3a38; }

.timer { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 240, 230, .07); overflow: hidden; }
.timer i { position: absolute; inset: 0; transform-origin: 0 50%; border-radius: 8px; background: linear-gradient(90deg, var(--gold), #ffe08a); }
.timer.low i { background: linear-gradient(90deg, var(--bad2), var(--bad)); }
.timer.off { visibility: hidden; }

.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.diff { display: inline-flex; gap: 3px; align-items: center; font-size: 11.5px; color: var(--muted); }
.diff i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 240, 230, .15); }
.diff i.on { background: var(--gold); box-shadow: 0 0 8px var(--goldglow); }
.secs { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink2); min-width: 28px; text-align: right; }
.secs.low { color: var(--bad); animation: tick 1s steps(1) infinite; }
@keyframes tick { 50% { opacity: .55; } }

.qcard { position: relative; border-radius: 22px; padding: 22px 20px; min-height: 120px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, #2b171a, #1d1012); box-shadow: inset 0 0 0 1px rgba(255, 190, 160, .16), 0 16px 40px rgba(0, 0, 0, .4); }
.qcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(244, 195, 77, .55), transparent 35%, transparent 65%, rgba(228, 30, 32, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.qcard p { margin: 0; font-size: clamp(19px, 5.1vw, 26px); font-weight: 600; line-height: 1.32; letter-spacing: -.005em; text-wrap: balance; }
.qcard.slim { min-height: 0; padding: 15px 18px; }
.qcard.slim p { font-size: clamp(18px, 4.8vw, 24px); }
.qcard.in { animation: qIn .45s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes qIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.answers { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .answers { grid-template-columns: 1fr 1fr; } }
.answers.two { grid-template-columns: 1fr 1fr; }
.answers.two .ans { min-height: 54px; padding: 10px 12px 10px 10px; gap: 10px; font-size: 15.5px; }
.answers.two .ans .l { width: 28px; height: 28px; font-size: 12.5px; }
.ans { appearance: none; border: 0; cursor: pointer; position: relative; display: flex; align-items: center; gap: 14px; text-align: left; min-height: 60px; padding: 12px 16px 12px 12px;
  border-radius: 16px; color: var(--ink); font-size: clamp(16px, 4.3vw, 18.5px); font-weight: 600; line-height: 1.25;
  background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1.5px var(--line2), 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .08s, box-shadow .15s, background .2s, opacity .3s; animation: aIn .38s ease both; }
.ans:nth-child(2) { animation-delay: .06s; } .ans:nth-child(3) { animation-delay: .12s; } .ans:nth-child(4) { animation-delay: .18s; }
@keyframes aIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ans .l { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--gold); background: rgba(244, 195, 77, .1); box-shadow: inset 0 0 0 1px rgba(244, 195, 77, .35); }
@media (hover: hover) { .ans:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px rgba(244, 195, 77, .6), 0 8px 22px rgba(0, 0, 0, .35); } }
.ans:not(:disabled):active { transform: scale(.985); }
.ans:disabled { cursor: default; }
.ans.sel { background: linear-gradient(180deg, #3b2a10, #2a1d0b); box-shadow: inset 0 0 0 2px var(--gold), 0 0 26px var(--goldglow); animation: selPulse 1s ease-in-out infinite; }
.ans.sel .l { color: var(--goldink); background: var(--gold); }
@keyframes selPulse { 50% { box-shadow: inset 0 0 0 2px #ffe7a8, 0 0 34px var(--goldglow); } }
.ans.right { background: linear-gradient(180deg, #1d5a3a, #123f28); box-shadow: inset 0 0 0 2px var(--green), 0 0 30px rgba(47, 214, 130, .35); animation: rightPop .5s ease both; }
.ans.right .l { color: #04210f; background: var(--green); box-shadow: none; }
@keyframes rightPop { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }
.ans.wrong { background: linear-gradient(180deg, #5a1a1e, #3d1013); box-shadow: inset 0 0 0 2px var(--bad); animation: shake .42s ease both; }
.ans.wrong .l { color: #fff; background: var(--bad); box-shadow: none; }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.ans.dead { opacity: .18; filter: grayscale(.7); }
.ans .pct { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }

.host { margin: 0; min-height: 22px; text-align: center; color: var(--muted); font-size: 14.5px; font-style: italic; line-height: 1.4; font-family: var(--serif); }
.host b { font-style: normal; color: var(--ink2); font-family: var(--ui); }

.confirm { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.confirm span { font-weight: 700; color: var(--gold); }

/* rendit */
.rendit { display: flex; flex-direction: column; gap: 9px; }
.rendit .ans { min-height: 54px; animation-name: aIn; }
.rendit .ans .l { color: var(--muted); background: rgba(255, 240, 230, .05); box-shadow: inset 0 0 0 1px var(--line2); }
.rendit .ans.picked .l { color: var(--goldink); background: var(--gold); box-shadow: none; }
.rendit .ans.picked { box-shadow: inset 0 0 0 1.5px rgba(244, 195, 77, .55); }
.rendit .ans.okpos .l { background: var(--green); color: #04210f; }
.rendit .ans.badpos .l { background: var(--bad); color: #fff; }
.rendit .ans .should { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rendit-bar { display: flex; gap: 10px; justify-content: center; }

/* kush jam unë */
.clues { display: flex; flex-direction: column; gap: 8px; }
.clue { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border-radius: 14px; background: rgba(255, 240, 230, .05); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--serif); font-size: 16.5px; line-height: 1.4; animation: clueIn .45s ease both; }
.clue i { font-style: normal; flex: none; font-family: var(--display); font-weight: 800; font-size: 12px; color: var(--gold); margin-top: 3px; }
.clue.hid { color: var(--dim); font-family: var(--ui); font-size: 14px; font-style: italic; animation: none; box-shadow: inset 0 0 0 1px dashed var(--line); background: transparent; border: 1px dashed var(--line2); }
@keyframes clueIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.kush-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

/* harta */
.mapbox { position: relative; display: flex; justify-content: center; }
.map { display: block; height: min(50vh, 620px); width: auto; max-width: 100%; touch-action: manipulation; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.map .sea { fill: transparent; }
.map .land { fill: url(#landGrad); stroke: var(--gold); stroke-width: 2.6; stroke-linejoin: round; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55)); }
.map .lake { fill: #1f5b8a; opacity: .85; }
.map .lake.out { fill: #1f5b8a; opacity: .18; }
.map .ref circle { fill: var(--ink2); } .map .ref text { fill: var(--ink2); font: 600 27px var(--ui); }
.map .guess circle { fill: var(--gold); stroke: #000; stroke-width: 3; }
.map .truth circle.dot { fill: var(--green); stroke: #04210f; stroke-width: 3; }
.map .truth circle.ring { fill: none; stroke: var(--green); stroke-width: 4; opacity: .6; animation: ring 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.map .truth text { fill: #fff; font: 700 32px var(--ui); paint-order: stroke; stroke: rgba(0, 0, 0, .85); stroke-width: 7px; }
.map .line { stroke: #fff; stroke-width: 3; stroke-dasharray: 10 8; opacity: .85; }
.map .others circle { fill: #fff; opacity: .55; }
.map-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0; }

/* milioni */
.ladder { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; list-style: none; }
.ladder::-webkit-scrollbar { display: none; }
.rung { flex: none; min-width: 64px; text-align: center; padding: 6px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--muted);
  background: rgba(255, 240, 230, .04); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.rung small { display: block; font-size: 10px; color: var(--dim); font-weight: 600; }
.rung.safe { box-shadow: inset 0 0 0 1px rgba(244, 195, 77, .45); color: var(--ink2); }
.rung.done { color: var(--green); }
.rung.cur { color: var(--goldink); background: linear-gradient(180deg, #ffe08a, var(--gold)); box-shadow: 0 0 18px var(--goldglow); }
.rung.cur small { color: rgba(43, 27, 0, .7); }
.rung.top:not(.cur) { color: var(--gold); }
@media (min-width: 1040px) {
  #s-play.milioni .wrap { max-width: 980px; display: grid; grid-template-columns: minmax(0, 1fr) 210px; grid-auto-rows: min-content; column-gap: 22px; align-content: start; }
  #s-play.milioni .wrap > * { grid-column: 1; }
  #s-play.milioni .ladder { grid-column: 2; grid-row: 1 / span 9; flex-direction: column-reverse; overflow: visible; align-self: start; position: sticky; top: 0; }
  #s-play.milioni .rung { display: flex; justify-content: space-between; min-width: 0; padding: 7px 12px; font-size: 13.5px; }
  #s-play.milioni .rung small { display: inline; font-size: 12px; }
}
.lifelines { display: flex; justify-content: center; gap: 6px; }
.life { appearance: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1 1 0; min-width: 0; max-width: 92px; padding: 9px 4px 7px; border-radius: 14px;
  background: rgba(255, 240, 230, .06); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink2); font-size: 11.5px; font-weight: 600; }
.life .i { font-size: 20px; line-height: 1; }
.life.used { opacity: .25; text-decoration: line-through; pointer-events: none; }
.life:disabled { opacity: .4; pointer-events: none; }
.life.walk { box-shadow: inset 0 0 0 1px rgba(47, 214, 130, .45); color: #b9f5d4; }
@media (hover: hover) { .life:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--gold); } }
.purse { display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--muted); }
.purse b { color: var(--ink); font-family: var(--display); font-size: 14px; }

/* ───────── fleta e zbulimit ───────── */
#sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none;
  transform: translateY(110%); transition: transform .42s cubic-bezier(.2, .9, .2, 1); }
#sheet.on { transform: none; pointer-events: auto; }
#sheet .in { width: 100%; max-width: 720px; max-height: 62vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 18px 18px calc(var(--sab) + 16px);
  background: linear-gradient(180deg, #2a1719, #1b0f11); box-shadow: 0 -18px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 210, 190, .18); }
.verdict { display: flex; align-items: center; gap: 12px; }
.verdict .badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; flex: none; }
.verdict.g .badge { background: var(--green); color: #04210f; } .verdict.y .badge { background: var(--amber); color: #2b1b00; }
.verdict.r .badge { background: var(--bad); color: #fff; } .verdict.k .badge { background: #4a3a38; color: #fff; }
.verdict h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.1; }
.verdict p { margin: 3px 0 0; color: var(--ink2); font-size: 14.5px; }
.verdict .pts { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); }
.didyou { margin: 14px 0 0; padding: 14px 14px 14px 16px; border-radius: 14px; background: rgba(255, 240, 230, .05); border-left: 3px solid var(--gold); }
.didyou .kicker { display: block; margin-bottom: 6px; }
.didyou p { margin: 0; font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.world { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--ink2); }
.world .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 240, 230, .08); overflow: hidden; }
.world .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }
#sheet .actions { margin-top: 14px; display: flex; gap: 10px; }
#sheet .actions .btn { flex: 1; }

/* ───────── fundi ───────── */
#s-end .wrap { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.end-hero { text-align: center; padding-top: 6px; }
.end-hero .kicker { display: block; }
.end-hero h2 { margin: 8px 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 8vw, 44px); line-height: 1.02; }
.end-hero h2.win { background: linear-gradient(180deg, #fff8e8, var(--gold) 60%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.end-hero p { margin: 0; color: var(--ink2); font-size: 15.5px; }
.end-score { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 15vw, 84px); line-height: 1; color: var(--ink); margin-top: 12px; text-shadow: 0 6px 40px rgba(244, 195, 77, .35); }
.end-score small { display: block; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.egrid { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.egrid i { width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); animation: pop .35s ease both; }
.egrid i.g { background: var(--green); } .egrid i.y { background: var(--amber); } .egrid i.r { background: var(--bad); } .egrid i.k { background: #4a3a38; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border-radius: 16px; padding: 12px 8px; text-align: center; background: rgba(255, 240, 230, .05); box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; }
.stat small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.panel { border-radius: 20px; padding: 16px; background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { margin: 0 0 10px; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.panel p { margin: 0; color: var(--ink2); font-size: 14.5px; line-height: 1.45; }
.xp { display: flex; align-items: center; gap: 12px; }
.xp .rk { font-size: 30px; }
.xp .bar { height: 10px; border-radius: 10px; background: rgba(255, 240, 230, .08); overflow: hidden; margin-top: 7px; }
.xp .bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 1.2s cubic-bezier(.2, .9, .2, 1); }
.xp b { font-family: var(--display); font-size: 15px; }
.xp small { color: var(--muted); font-size: 12.5px; }
.hist { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin-top: 10px; }
.hist i { flex: 1; background: rgba(255, 240, 230, .14); border-radius: 3px 3px 0 0; min-height: 2px; }
.hist i.me { background: var(--gold); box-shadow: 0 0 12px var(--goldglow); }
.rows { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 240, 230, .04); font-size: 14.5px; }
.row .pos { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--muted); text-align: center; }
.row .who { min-width: 0; } .row .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.row .who small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sc { font-family: var(--display); font-weight: 700; font-size: 14px; }
.row.me { background: rgba(244, 195, 77, .12); box-shadow: inset 0 0 0 1px rgba(244, 195, 77, .45); }
.row.p1 .pos { color: var(--gold); } .row.p2 .pos { color: #d8dde6; } .row.p3 .pos { color: #e09a62; }
.end-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.end-actions .full { grid-column: 1 / -1; }
.duelcmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; text-align: center; }
.duelcmp .p b { display: block; font-family: var(--display); font-size: 26px; }
.duelcmp .p small { color: var(--muted); font-size: 13px; }
.duelcmp .vs { font-family: var(--display); font-weight: 800; color: var(--red); }
.duelcmp .win b { color: var(--gold); }
details.review { border-radius: 18px; background: rgba(255, 240, 230, .04); box-shadow: inset 0 0 0 1px var(--line); }
details.review summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
details.review summary::-webkit-details-marker { display: none; }
details.review summary::after { content: "▾"; color: var(--muted); }
details.review[open] summary::after { content: "▴"; }
.rev { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.rev .it { padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.45; }
.rev .it b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.rev .ok { color: var(--green); font-weight: 700; } .rev .no { color: var(--bad); font-weight: 700; }
.rev .e { color: var(--muted); font-family: var(--serif); margin-top: 4px; }
.countdown { text-align: center; color: var(--muted); font-size: 14px; }
.countdown b { font-family: var(--display); color: var(--ink); letter-spacing: .04em; }

/* ───────── klasifikimi, profili, temat ───────── */
.pagehead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pagehead h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { appearance: none; border: 0; cursor: pointer; flex: none; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink2);
  background: rgba(255, 240, 230, .06); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button.on { color: var(--goldink); background: var(--gold); box-shadow: none; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; font-size: 14.5px; line-height: 1.5; }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat { appearance: none; border: 0; cursor: pointer; text-align: left; padding: 14px; border-radius: 18px; color: var(--ink); min-height: 104px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1px var(--line); }
.cat .i { font-size: 26px; } .cat b { font-family: var(--display); font-size: 13.5px; }
.cat .m { height: 5px; border-radius: 5px; background: rgba(255, 240, 230, .08); margin-top: 8px; overflow: hidden; }
.cat .m i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }
.cat small { color: var(--muted); font-size: 12px; margin-top: 4px; display: block; }
.prof-top { display: flex; align-items: center; gap: 14px; }
.prof-top .big { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 34px; background: linear-gradient(180deg, var(--card3), var(--card)); box-shadow: inset 0 0 0 1px var(--line2); flex: none; }
.prof-top h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.prof-top p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.catbars { display: flex; flex-direction: column; gap: 9px; }
.catbar { display: grid; grid-template-columns: 26px 1fr 52px; gap: 8px; align-items: center; font-size: 13.5px; }
.catbar .t { display: flex; justify-content: space-between; color: var(--ink2); margin-bottom: 4px; }
.catbar .b { height: 7px; border-radius: 7px; background: rgba(255, 240, 230, .08); overflow: hidden; }
.catbar .b i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }
.catbar .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.medal { text-align: center; padding: 12px 6px; border-radius: 16px; background: rgba(255, 240, 230, .05); box-shadow: inset 0 0 0 1px var(--line); }
.medal .i { font-size: 28px; display: block; }
.medal b { display: block; font-size: 12px; margin-top: 6px; line-height: 1.2; }
.medal small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; line-height: 1.25; }
.medal.off { opacity: .45; } .medal.off .i { filter: grayscale(1); opacity: .5; }
.medal.new { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 22px var(--goldglow); animation: pop .5s ease both; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.field input, .field select { appearance: none; width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border-radius: 14px; border: 0;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1.5px var(--line2); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.field select option, .field select optgroup { background: #1c1012; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--muted); }

/* ───────── dritaret ───────── */
#dim { position: fixed; inset: 0; z-index: 60; background: rgba(5, 2, 3, .66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
#dim.on { opacity: 1; pointer-events: auto; }
#modal { position: fixed; z-index: 61; left: 50%; top: 50%; width: min(92vw, 460px); max-height: 86vh; overflow-y: auto; transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none;
  border-radius: 24px; padding: 20px 18px 18px; background: linear-gradient(180deg, #2b181b, #1b0f11); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 200, 180, .18);
  transition: opacity .22s, transform .22s; }
#modal.on { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
#modal h3 { margin: 0 0 12px; font-family: var(--display); font-size: 18px; font-weight: 800; text-align: center; }
#modal p { color: var(--ink2); font-size: 15px; line-height: 1.5; }
#modal .acts { display: flex; gap: 10px; margin-top: 16px; }
#modal .acts .btn { flex: 1; }
.howto { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.howto li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.howto li > span { font-size: 20px; } .howto b { color: var(--ink); }
.audbars { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding: 0 6px; }
.audbars .c { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.audbars .t { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.audbars .bar { width: 100%; height: 0; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #ffe08a, var(--gold2)); transition: height 1s cubic-bezier(.2, .9, .2, 1); }
.audbars b { font-family: var(--display); color: var(--gold); } .audbars small { font-size: 13px; color: var(--ink2); }
.friends { display: flex; flex-direction: column; gap: 8px; }
.friend { appearance: none; border: 0; cursor: pointer; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; color: var(--ink);
  background: rgba(255, 240, 230, .05); box-shadow: inset 0 0 0 1px var(--line2); }
.friend .av { font-size: 28px; } .friend b { display: block; font-size: 15px; } .friend small { color: var(--muted); font-size: 12.5px; }
.callmsg { text-align: center; font-family: var(--serif); font-size: 18px; line-height: 1.5; margin: 6px 0 0; color: var(--ink); }
.ringing { display: block; text-align: center; font-size: 40px; animation: ringing .5s ease-in-out infinite; }
@keyframes ringing { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }

#toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--sab) + 24px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: 90vw;
  padding: 11px 18px; border-radius: 999px; background: #2b181b; color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line2);
  transition: opacity .2s, transform .2s; text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#banner { position: fixed; z-index: 70; left: 50%; top: 22%; transform: translate(-50%, -10px) scale(.95); opacity: 0; pointer-events: none; text-align: center;
  padding: 16px 28px; border-radius: 20px; background: linear-gradient(180deg, #3a2410, #24170b); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), inset 0 0 0 1.5px var(--gold); transition: opacity .3s, transform .3s; }
#banner.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
#banner small { display: block; color: var(--ink2); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
#banner b { display: block; font-family: var(--display); font-size: clamp(22px, 7vw, 34px); color: var(--gold); margin-top: 4px; }
.fly { position: fixed; z-index: 75; pointer-events: none; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); text-shadow: 0 4px 16px rgba(0, 0, 0, .6); animation: fly 1.1s ease-out forwards; }
@keyframes fly { from { opacity: 0; transform: translateY(10px) scale(.8); } 20% { opacity: 1; transform: translateY(0) scale(1.1); } to { opacity: 0; transform: translateY(-50px) scale(1); } }

/* gjatë lojës pulsanti i atriumit fshihet: s'i takon skenës */
/* (e ka edhe kreu: këtu jashtë kreut kemi butonin tonë "←" në të njëjtin vend) */
body:not(.at-home) #ssw-ritorno { opacity: 0 !important; pointer-events: none !important; }

@media (min-width: 720px) {
  .screen { padding-left: 24px; padding-right: 24px; }
  .modes { grid-template-columns: repeat(3, 1fr); }
  .catgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 360px) {
  .tile { min-height: 116px; padding: 13px 12px 12px; } .tile b { font-size: 13px; }
  .ans { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  #bg .beam { display: none; }
}
html.still *, html.still *::before, html.still *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
html.still #bg .beam { display: none; }
