/* Song Planet – temen atlas (Sofia Sans) in papirnat časopis (Newsreader). Barva --acc pride iz skladbe. */
@font-face { font-family: "Sofia Sans Extra Condensed"; src: url(../fonts/sofiax.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans Extra Condensed"; src: url(../fonts/sofiax-ext.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Sofia Sans Semi Condensed"; src: url(../fonts/sofia.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans Semi Condensed"; src: url(../fonts/sofia-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Newsreader"; src: url(../fonts/news.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Newsreader"; src: url(../fonts/news-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF; }
@font-face { font-family: "Newsreader"; font-style: italic; src: url(../fonts/news-it.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Newsreader"; font-style: italic; src: url(../fonts/news-it-ext.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF; }

:root {
  --D: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif; --T: "Sofia Sans Semi Condensed", "Segoe UI", sans-serif; --N: "Newsreader", Georgia, serif;
  --ink: #f6eede; --dim: rgb(246 238 222 / .68); --faint: rgb(246 238 222 / .44); --line: rgb(246 238 222 / .15); --bg: #04060b; --glass: rgb(8 11 18 / .72); --sheet: #0b0f17;
  --acc: 255 190 100; --paper: #f1e8d5; --pk: #17130d; --pd: rgb(23 19 13 / .68); --pl: rgb(23 19 13 / .26); --red: #a8281f;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); overscroll-behavior: none; }
body { font: 500 16px/1.4 var(--T); -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; -webkit-text-size-adjust: 100%; }
button, input, select { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
button { cursor: pointer; touch-action: manipulation; text-align: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
.ic.big { width: 38px; height: 38px; stroke-width: 1.3; }
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 1; touch-action: none; cursor: grab; display: block; }
#names { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 2; pointer-events: none; }
#ytwrap { position: fixed; left: 0; top: 0; width: 320px; height: 180px; z-index: 0; overflow: hidden; background: #000; opacity: 0; }
#ytwrap.inw { opacity: 1; }
#ytwrap iframe, #ytwrap > div { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
body.ytfront #ytwrap { z-index: 60; opacity: 1; left: 50% !important; top: calc(64px + var(--sat)) !important; width: min(92vw, 640px) !important; height: auto !important; aspect-ratio: 16/9; transform: translateX(-50%) !important; border-radius: 8px; box-shadow: 0 20px 80px #000; }
body.ytfront #ytwrap iframe { pointer-events: auto; }
#moonB { position: fixed; z-index: 7; border-radius: 50%; left: -999px; top: 0; }
#tip { position: fixed; z-index: 30; left: 0; top: 0; padding: 6px 11px; background: rgb(6 9 15 / .9); border: 1px solid var(--line); border-radius: 6px; font-size: 14px; line-height: 1.25; pointer-events: none; opacity: 0; transition: opacity .15s; max-width: 300px; }
#tip.on { opacity: 1; } #tip b { display: block; } #tip i { font-style: normal; color: var(--dim); }

/* ---------- zgornja vrstica ---------- */
#top { position: fixed; z-index: 8; left: 0; right: 0; top: 0; padding: calc(10px + var(--sat)) calc(14px + var(--sar)) 0 calc(16px + var(--sal)); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; pointer-events: none; transition: opacity .5s; }
#top button { pointer-events: auto; }
#crumbs { display: flex; align-items: center; min-width: 0; flex-wrap: wrap; padding-top: 5px; row-gap: 0; }
#crumbs button { font: 600 16px/1.2 var(--T); padding: 7px 2px; color: var(--dim); white-space: nowrap; max-width: 44vw; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px #000; display: flex; align-items: center; gap: 7px; }
#crumbs button:hover { color: var(--ink); }
#crumbs button[aria-current] { color: var(--ink); }
#crumbs button:first-child { font: 800 21px/1 var(--D); letter-spacing: .05em; color: var(--ink); }
#crumbs button:first-child .ic { width: 22px; height: 22px; }
#crumbs i { font-style: normal; color: var(--faint); margin: 0 8px; }
.tr { display: flex; gap: 8px; flex: none; }
.rnd { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, border-color .2s; flex: none; }
.rnd:hover { background: rgb(40 46 58 / .8); border-color: var(--faint); }
.pill { height: 42px; padding: 0 15px 0 11px; border-radius: 50px; display: flex; align-items: center; gap: 8px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill:hover { border-color: var(--faint); }
.pill b { font: 800 19px/1 var(--D); letter-spacing: .02em; }
.pill.up { animation: up .7s; } @keyframes up { 35% { transform: scale(1.1); border-color: rgb(var(--acc)); color: rgb(var(--acc)); } }
#yearTag { position: fixed; z-index: 8; left: 50%; top: calc(58px + var(--sat)); transform: translateX(-50%); padding: 6px 12px; border-radius: 50px; background: var(--paper); color: var(--pk); display: none; align-items: center; gap: 7px; font: 800 18px/1 var(--D); } #yearTag.on { display: flex; } #yearTag .ic { width: 17px; height: 17px; }
#mode { position: fixed; z-index: 8; left: 50%; top: calc(60px + var(--sat)); transform: translateX(-50%); max-width: min(92vw, 520px); display: none; align-items: center; gap: 10px; padding: 7px 7px 7px 15px; border-radius: 50px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
#mode.on { display: flex; } #mode span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; } #mode b { font: 800 18px/1 var(--D); letter-spacing: .02em; margin-right: 7px; }
#mode button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .1); flex: none; } #mode button .ic { width: 16px; height: 16px; }

/* ---------- dvigalo ---------- */
#lift { position: fixed; z-index: 7; right: calc(14px + var(--sar)); top: calc(50% - var(--deckH, 200px) / 2 + 30px); transform: translateY(-50%); display: grid; transition: opacity .5s; }
#lift button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--faint); position: relative; transition: color .25s; filter: drop-shadow(0 1px 5px #000); }
#lift button .ic { width: 21px; height: 21px; }
#lift button:hover { color: var(--ink); }
#lift button.on { color: rgb(var(--acc)); }
#lift button:not(:last-child)::after { content: ''; position: absolute; left: 50%; bottom: -4px; height: 8px; width: 1px; background: var(--line); }
#lift [data-l=song] { margin-top: 8px; opacity: .3; transition: opacity .3s; } #lift [data-l=song].away { opacity: 1; color: rgb(var(--acc)); animation: call 2.6s infinite ease-in-out; }
@keyframes call { 50% { filter: drop-shadow(0 0 9px rgb(var(--acc))); } }

/* ---------- kartica pogleda ---------- */
#card { position: fixed; z-index: 7; left: calc(14px + var(--sal)); right: calc(14px + var(--sar)); bottom: calc(var(--deckH, 200px) + 8px); max-width: 430px; margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 7px 8px 7px 17px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s; }
#card.on { opacity: 1; transform: none; pointer-events: auto; }
#card .c-t { flex: 1; min-width: 0; padding: 2px 6px 2px 0; cursor: pointer; }
#card b { display: block; font: 800 21px/1.08 var(--D); letter-spacing: .012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#card i { display: block; font-style: normal; font-size: 14px; line-height: 1.25; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#card .cx { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--dim); }
#card .cx:hover { color: var(--ink); background: rgb(255 255 255 / .08); }
#card .cx.on { color: #ff8d7c; } #card .cx.on .ic { fill: currentColor; fill-opacity: .5; }
#card .cx.go { background: var(--ink); color: #0a0d13; } #card .cx.go .ic { width: 20px; height: 20px; }

/* ---------- krmilna plošča ---------- */
#deck { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; padding: 54px calc(16px + var(--sar)) calc(8px + var(--sab)) calc(16px + var(--sal)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: center; pointer-events: none; background: linear-gradient(rgb(3 5 9 / 0), rgb(3 5 9 / .58) 34%, rgb(3 5 9 / .84)); transition: opacity .5s; }
#deck button, #deck input, #day { pointer-events: auto; }
#tickB { width: 100%; max-width: 640px; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 5px 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#tickB:hover { border-color: var(--faint); }
#tick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
#tick .tk-i { color: rgb(var(--acc)); } #tick .tk-i .ic { width: 20px; height: 20px; }
#tick .tk-t { min-width: 0; font: 500 15.5px/1.22 var(--T); color: rgb(246 238 222 / .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px #000; } #tick b { font-weight: 700; color: #fff; }
#tick.in .tk-t { animation: tk .55s cubic-bezier(.2, .8, .2, 1); } #tick.in .tk-i { animation: tki .5s; }
@keyframes tk { from { opacity: 0; transform: translateY(9px); clip-path: inset(0 60% 0 0); } to { clip-path: inset(0 0 0 0); } } @keyframes tki { from { opacity: 0; transform: scale(.4) rotate(-40deg); } }
.tk-p { display: grid; place-items: center; width: 36px; height: 30px; color: var(--pk); background: var(--paper); border-radius: 3px; transform: rotate(-3deg); box-shadow: 0 2px 10px rgb(0 0 0 / .5); flex: none; transition: transform .2s; } #tickB:hover .tk-p { transform: rotate(2deg) scale(1.08); } .tk-p .ic { width: 20px; height: 20px; }
.nowb { width: 100%; max-width: 640px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; }
.nt { min-width: 0; }
h1 { font: 800 38px/.95 var(--D); letter-spacing: .004em; text-transform: uppercase; text-wrap: balance; }
h1 button { max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 18px rgb(0 0 0 / .9); text-transform: inherit; padding: 4px 0 2px; }
.by { font-size: 16px; line-height: 1.25; color: var(--dim); }
.by button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 0; text-shadow: 0 1px 10px rgb(0 0 0 / .9); display: block; }
.by b { color: var(--ink); font-weight: 700; }
#subline { font: italic 500 17px/1.3 var(--N); color: #ffeccb; height: 23px; opacity: 0; transition: opacity .3s; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 12px #000; }
#subline.on { opacity: 1; }
body.nolyr #subline { display: none; }
#subline.in { animation: lin .5s ease-out; } @keyframes lin { from { opacity: 0; transform: translateY(5px); } }
.mz { width: 100%; max-width: 640px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.mz span { font-size: 13.5px; line-height: 1; color: var(--dim); min-width: 32px; padding-bottom: 3px; } .mz span:last-child { text-align: right; }
#day { width: 100%; height: 40px; display: block; touch-action: none; cursor: ew-resize; }
.ctl { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 3vw, 18px); }
.cb { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s, transform .15s; }
.cb:hover { background: rgb(255 255 255 / .08); } .cb:active { transform: scale(.92); }
.cb .ic { width: 25px; height: 25px; }
.cb.sc { color: rgb(var(--acc)); }
#like { margin-right: -6px; } #like.on { color: #ff7b6a; } #like.on .ic { fill: currentColor; }
#like.pop .ic { animation: pop .5s; } @keyframes pop { 40% { transform: scale(1.5) rotate(-8deg); } }
#play { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s; background: radial-gradient(circle at var(--sx, 24%) var(--sy, 42%), #fff 0, rgb(var(--acc)) 26%, rgb(var(--acc) / .55) 46%, #0c1420 74%, #060a12 100%); box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 0 calc(16px + 26px * var(--pu, 0)) rgb(var(--acc) / .5), inset 0 0 14px rgb(0 0 0 / .55); }
#play:active { transform: scale(.95); }
#pIc { color: #05080e; filter: drop-shadow(0 0 6px rgb(255 255 255 / .75)); } #pIc .ic { width: 30px; height: 30px; stroke-width: 2.4; }
#play.load #pIc { animation: brt 1s infinite alternate ease-in-out; } @keyframes brt { to { opacity: .3; } }
.nx { width: 100%; max-width: 640px; min-width: 0; min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 16px; }
#nxt { font-size: 14px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 6px; min-width: 0; } #nxt em { font: italic 500 15px/1 var(--N); color: rgb(var(--acc)); } #nxt b { font-weight: 600; color: var(--ink); } #nxt:hover b { text-decoration: underline; text-underline-offset: 3px; }
.volbox { display: none; align-items: center; gap: 8px; } #vol { width: 92px; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 24px; background: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), rgb(255 255 255 / .22) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), rgb(255 255 255 / .22) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border-radius: 50%; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--ink); }
#clock { position: fixed; z-index: 12; left: 50%; bottom: calc(var(--deckH, 200px) - 20px); transform: translateX(-50%); padding: 5px 15px; border-radius: 6px; background: var(--glass); border: 1px solid var(--line); font: 800 20px/1.1 var(--D); letter-spacing: .03em; opacity: 0; pointer-events: none; transition: opacity .2s; } #clock.on { opacity: 1; }
body.kino #deck, body.kino #top, body.kino #lift, body.kino #card, body.kino #mode, body.kino #yearTag { opacity: 0 !important; pointer-events: none !important; } body.kino #deck *, body.kino #top *, body.kino #lift * { pointer-events: none !important; }
body.booting #top, body.booting #deck, body.booting #lift, body.birth #lift, body.birth #top, body.birth #deck { opacity: 0; pointer-events: none; } body.booting #names { opacity: 0; } #names { transition: opacity .8s; }

/* ---------- odprave ---------- */
#powers { position: fixed; inset: 0; z-index: 34; display: grid; place-items: end center; background: rgb(3 5 9 / .62); opacity: 0; pointer-events: none; transition: opacity .25s; padding: calc(60px + var(--sat)) 12px calc(12px + var(--sab)); }
#powers.on { opacity: 1; pointer-events: auto; }
.pw-in { width: 100%; max-width: 660px; max-height: 100%; overflow: auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px; transform: translateY(16px); transition: transform .35s cubic-bezier(.2, .8, .2, 1); -webkit-overflow-scrolling: touch; } #powers.on .pw-in { transform: none; }
.pw-in header { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 10px 6px; } .pw-in h2 { font: 800 30px/1 var(--D); text-transform: uppercase; }
/* mreže: črte rišejo celice, zato prazna polja ostanejo prazna */
.pw, .dest:not(.wide), .flow, .stats div { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.pw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pw { background: var(--sheet); padding: 14px 8px 13px; display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; transition: background .2s; min-width: 0; }
.pw:hover, .pw:focus-visible { background: #18202c; } .pw .ic { width: 27px; height: 27px; color: rgb(var(--acc)); margin-bottom: 4px; } .pw b { font: 700 16px/1.1 var(--T); } .pw i { font-style: normal; font-size: 13px; line-height: 1.22; color: var(--dim); }
@media (max-width: 520px) { .pw-grid { grid-template-columns: repeat(3, 1fr); } .pw { padding: 12px 6px 11px; } .pw i { font-size: 12.5px; } }

/* ---------- okna ---------- */
#scrim { position: fixed; inset: 0; z-index: 38; background: rgb(3 5 9 / .5); opacity: 0; pointer-events: none; transition: opacity .3s; } #scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; max-height: min(78vh, 78dvh); display: flex; flex-direction: column; background: var(--sheet); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; transform: translateY(104%); visibility: hidden; transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s .38s; box-shadow: 0 -20px 60px rgb(0 0 0 / .5); }
.sheet.on { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.sheet.tall { max-height: none; top: calc(10px + var(--sat)); }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 8px auto 0; flex: none; }
.sh-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px calc(14px + var(--sar)) 10px calc(18px + var(--sal)); flex: none; touch-action: none; }
.sh-h > div:first-child { min-width: 0; } .sh-h h2 { font: 800 30px/1 var(--D); letter-spacing: .004em; overflow-wrap: anywhere; } .sh-h p { color: var(--dim); font-size: 15px; margin-top: 3px; } .sh-x { display: flex; gap: 8px; }
.sh-b { overflow-y: auto; overscroll-behavior: contain; padding: 2px calc(18px + var(--sar)) calc(22px + var(--sab)) calc(18px + var(--sal)); -webkit-overflow-scrolling: touch; flex: 1; min-height: 0; }
.sh-b h3 { font: 800 20px/1.1 var(--D); letter-spacing: .02em; margin: 20px 0 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .sh-b h3 i { font: 500 14px/1 var(--T); color: var(--faint); letter-spacing: 0; }
.fine { font-size: 15px; color: var(--dim); margin: 6px 0 10px; text-wrap: pretty; } .fine.err { color: #ff9d8a; } .empty { color: var(--dim); padding: 18px 0; max-width: 46ch; text-wrap: pretty; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.btn { min-height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; transition: background .2s, border-color .2s; max-width: 100%; } .btn:hover { background: rgb(255 255 255 / .07); border-color: var(--faint); } .btn .ic { width: 19px; height: 19px; } .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.pri { background: var(--ink); color: #0a0d13; border-color: var(--ink); } .btn.pri:hover { background: #fff; } .btn.big { min-height: 52px; padding: 0 28px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 10px; } .chip { min-height: 38px; padding: 0 13px; border-radius: 50px; border: 1px solid var(--line); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; } .chip:hover { border-color: var(--faint); } .chip.on { background: var(--ink); color: #0a0d13; border-color: var(--ink); } .chip i { font-style: normal; color: var(--faint); font-size: 13px; } .chip.on i { color: rgb(10 13 19 / .6); } .chip.pri { border-color: rgb(var(--acc)); color: rgb(var(--acc)); }
.rs { display: flex; align-items: center; border-bottom: 1px solid rgb(246 238 222 / .07); } .rs:last-child { border-bottom: 0; }
.r-m { flex: 1; min-width: 0; display: flex; align-items: center; gap: 13px; padding: 9px 0; min-height: 54px; } .r-m:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.r-t { min-width: 0; display: block; } .r-t b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .r-t i { display: block; font-style: normal; font-size: 14px; line-height: 1.25; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs.now b { color: rgb(var(--acc)); } .rs.past { opacity: .5; }
.r-x { width: 42px; height: 46px; display: grid; place-items: center; color: var(--faint); flex: none; } .r-x:hover { color: var(--ink); } .r-x .ic { width: 20px; height: 20px; } .r-x.lk.on { color: #ff7b6a; } .r-x.lk.on .ic { fill: currentColor; }
.dot { width: var(--sz, 12px); height: var(--sz, 12px); border-radius: 50%; flex: none; background: var(--dc); opacity: .5; } .dot.s1 { opacity: 1; box-shadow: 0 0 10px var(--dc); } .dot.s2 { opacity: 1; box-shadow: 0 0 0 2px var(--sheet), 0 0 0 3.5px #ff7b6a, 0 0 14px var(--dc); }
.pinD { width: 30px; height: 30px; display: grid; place-items: center; color: rgb(var(--acc)); flex: none; }
.th { width: 46px; height: 46px; border-radius: 3px; object-fit: cover; background: #1a2230; flex: none; } .th.w { width: 64px; height: 46px; }
.q { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; } .q:focus-within { border-color: rgb(var(--acc)); } .q input { flex: 1; min-width: 0; height: 100%; font-size: 17px; outline: 0; } .q input::placeholder { color: var(--faint); } .q input::-webkit-search-cancel-button { display: none; } .q .ic { width: 20px; height: 20px; color: var(--dim); }
.dests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.dest { background: var(--sheet); padding: 13px 12px; display: grid; gap: 1px; min-width: 0; align-content: start; } .dest:hover { background: #18202c; } .dest .ic { color: rgb(var(--acc)); margin-bottom: 5px; } .dest b { font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; } .dest i { font-style: normal; font-size: 13.5px; line-height: 1.2; color: var(--dim); } .dest.wide { width: 100%; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 420px) { .dests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tabs { display: flex; gap: 20px; padding: 0 calc(18px + var(--sar)) 0 calc(18px + var(--sal)); overflow-x: auto; scrollbar-width: none; flex: none; border-bottom: 1px solid var(--line); } .tabs::-webkit-scrollbar { display: none; } .tabs button { padding: 8px 0 10px; font-weight: 600; color: var(--dim); white-space: nowrap; border-bottom: 2px solid transparent; } .tabs [aria-selected=true] { color: var(--ink); border-color: rgb(var(--acc)); }
.flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 4px 0 12px; } .flow { background: var(--sheet); display: flex; align-items: center; gap: 9px; padding: 11px 11px; min-height: 46px; } .flow:hover { background: #18202c; } .flow b { font-weight: 600; font-size: 15px; line-height: 1.12; } .flow .ic { width: 19px; height: 19px; color: var(--dim); } .flow.on { background: var(--ink); color: #0a0d13; } .flow.on .ic { color: inherit; }
.tg { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgb(246 238 222 / .07); cursor: pointer; } .tg b { font-weight: 600; display: block; } .tg i { font-style: normal; font-size: 14px; color: var(--dim); line-height: 1.25; display: block; } .tg select { background: #161d28; border: 1px solid var(--line); border-radius: 8px; height: 40px; padding: 0 10px; max-width: 54%; }
.tg input[type=checkbox], .b-v input { -webkit-appearance: none; appearance: none; width: 46px; height: 27px; border-radius: 50px; background: rgb(255 255 255 / .14); position: relative; flex: none; transition: background .2s; cursor: pointer; } .tg input[type=checkbox]::after, .b-v input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); transition: transform .2s; } .tg input[type=checkbox]:checked, .b-v input:checked { background: rgb(var(--acc)); } .tg input[type=checkbox]:checked::after, .b-v input:checked::after { transform: translateX(19px); background: #0a0d13; }
.syn { display: flex; gap: 8px; flex-wrap: wrap; } .syn input { flex: 1; min-width: 150px; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 13px; background: #161d28; -webkit-user-select: text; user-select: text; outline: 0; }
.hd { display: flex; gap: 15px; align-items: flex-start; margin: 2px 0 12px; } .hd > img { width: 104px; height: 104px; object-fit: cover; border-radius: 4px; flex: none; background: #1a2230; } .hd.big > img { width: 128px; height: 128px; } .hd > div { min-width: 0; display: grid; gap: 3px; justify-items: start; } .hd i { font-style: normal; color: var(--dim); font-size: 14.5px; } .hd .prog { width: 160px; max-width: 100%; }
.lnk { text-align: left; max-width: 100%; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; } .lnk:hover { text-decoration-color: currentColor; } .hd .lnk { display: inline-flex; align-items: center; gap: 5px; padding: 1px 0; } .hd .lnk .ic { width: 16px; height: 16px; color: rgb(var(--acc)); } .hd .lnk b { font-size: 18px; }
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; margin: 4px 0 10px; } .act { display: grid; justify-items: center; align-content: start; gap: 5px; padding: 10px 4px; text-align: center; border-radius: 10px; text-decoration: none; color: var(--ink); min-width: 0; } .act:hover { background: rgb(255 255 255 / .06); } .act span { font-size: 13.5px; line-height: 1.15; color: var(--dim); overflow-wrap: anywhere; } .act .ic { width: 24px; height: 24px; } .act.on { color: #ff7b6a; } .act.on .ic { fill: currentColor; fill-opacity: .4; }
.prog { height: 3px; background: var(--line); margin: 6px 0; } .prog span { display: block; height: 100%; background: rgb(var(--acc)); }
.trk { border-top: 1px solid var(--line); } .tk-r { width: 100%; display: grid; grid-template-columns: 24px 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgb(246 238 222 / .07); min-height: 44px; } .tk-r i { font-style: normal; color: var(--faint); font-size: 14px; text-align: right; } .tk-r b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tk-r span.num { color: var(--faint); font-size: 14px; } .tk-r.now b { color: rgb(var(--acc)); } .tk-r:hover b { text-decoration: underline; text-underline-offset: 3px; }
.spec { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 84px; margin: 10px 0 4px; } .spec div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; } .spec i { width: 100%; height: calc(var(--v) * 58px + 3px); background: linear-gradient(rgb(var(--acc)), rgb(var(--acc) / .25)); } .spec span { font-size: 11.5px; color: var(--dim); margin-top: 5px; white-space: nowrap; }
.strip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; } .alb { width: 118px; flex: none; display: grid; gap: 3px; align-content: start; } .alb .th { width: 118px; height: 118px; } .alb b { font-weight: 600; font-size: 14.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .alb i { font-style: normal; font-size: 13.5px; color: var(--faint); }
.wiki { font: 400 16.5px/1.45 var(--N); color: rgb(246 238 222 / .88); overflow: hidden; } .wiki img { float: right; width: 112px; max-height: 150px; object-fit: cover; margin: 3px 0 8px 14px; border-radius: 3px; } .wiki p { text-wrap: pretty; }
.wxr { display: flex; align-items: center; gap: 14px; padding: 7px 0; } .wxr b { display: block; font-weight: 700; line-height: 1.15; } .wxr span { display: block; font-size: 15px; color: var(--dim); line-height: 1.25; } .wxr.top b { font: 800 34px/1 var(--D); } .wxr.top .ic { color: rgb(var(--acc)); width: 44px; height: 44px; }
.ph { margin: 6px 0 10px; } .ph img { width: 100%; max-height: 240px; object-fit: cover; display: block; border-radius: 4px; background: #1a2230; } .ph figcaption { font-size: 13px; color: var(--faint); margin-top: 4px; }
.cams { display: grid; gap: 7px; margin: 6px 0 8px; } .cams .btn { width: 100%; justify-content: flex-start; font-weight: 500; }
.rds { padding: 0; list-style: none; counter-reset: r; } .rds li { counter-increment: r; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgb(246 238 222 / .07); } .rds li::before { content: counter(r); font: 800 18px/1 var(--D); color: var(--faint); } .rds a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; } .rds a:hover { text-decoration: underline; } .rds em { font-style: normal; font-size: 13.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.rw { display: flex; align-items: center; border-bottom: 1px solid rgb(246 238 222 / .07); } .rw-m { flex: 1; min-width: 0; padding: 8px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; } .rw-m b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; } .rw-m i { font-style: normal; font-size: 13px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rw-m span { grid-column: 1 / -1; font-size: 15px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; } .rw-x { width: 42px; height: 46px; display: grid; place-items: center; color: var(--faint); flex: none; } .rw-x:hover { color: var(--ink); } .rw-x .ic { width: 20px; height: 20px; } .rw.hit .rw-m b, .rw.hit .rw-m span { color: rgb(var(--acc)); }
.bars { display: grid; gap: 1px; } .bars button { display: grid; grid-template-columns: minmax(0, 8.4em) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 0; text-align: left; } .bars b { font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bars span { height: 11px; display: block; } .bars i { display: block; height: 100%; background-image: radial-gradient(circle, rgb(var(--acc)) 38%, transparent 42%); background-size: 5.5px 5.5px; min-width: 6px; } .bars em { font-style: normal; font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; } .bars button:hover b { text-decoration: underline; }
.sm { font-size: 15px; line-height: 1.35; margin: 5px 0; } .src { font-size: 13px; color: var(--faint); margin-top: 6px; line-height: 1.3; }
.onair { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 2px 0 10px; display: grid; gap: 1px; } .onair span { font: 800 14px/1 var(--D); letter-spacing: .12em; color: #ff6f5e; display: flex; align-items: center; gap: 7px; margin-bottom: 4px; } .onair span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; } @keyframes blink { 50% { opacity: .25; } } .onair b { font: 800 26px/1.02 var(--D); } .onair i { font-style: normal; color: var(--dim); }
.yr { font: 900 64px/1 var(--D); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } .yr i { font: 500 16px/1.2 var(--T); color: var(--dim); } #yrR { width: 100%; }
.help { list-style: none; padding: 0; display: grid; gap: 11px; margin: 8px 0; } .help li { display: flex; gap: 13px; } .help .ic { color: rgb(var(--acc)); margin-top: 1px; } .help span { color: var(--dim); font-size: 15.5px; line-height: 1.35; } .help b { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 12px 0 16px; } .stats div { background: var(--sheet); padding: 11px 12px; } .stats b { font: 800 27px/1 var(--D); display: block; } .stats i { font-style: normal; font-size: 13.5px; color: var(--dim); } .rankb b { font: 800 34px/1 var(--D); } .rankb i { font-style: normal; color: var(--dim); font-size: 15px; }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; padding: 16px 12px; background: var(--paper) radial-gradient(circle at 30% 20%, rgb(255 255 255 / .5), transparent 60%); border-radius: 6px; } .stamp { transform: rotate(var(--r)); mix-blend-mode: multiply; opacity: .86; } .stamp:hover { opacity: 1; } .stamp svg { width: 100%; display: block; }
.diary h3 { font: italic 500 19px/1.2 var(--N); letter-spacing: 0; color: var(--dim); } .de { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px; padding: 9px 0; border-bottom: 1px solid rgb(246 238 222 / .07); } .de em { font: 800 18px/1.15 var(--D); color: rgb(var(--acc)); } .de b { font-weight: 700; } .de i { font-style: normal; color: var(--dim); } .de u { display: block; text-decoration: none; font: italic 400 16px/1.3 var(--N); } .de small { display: block; font-size: 14px; line-height: 1.3; color: var(--dim); }

/* ---------- časopis ---------- */
.paperS { background: var(--paper); color: var(--pk); border: 0; max-height: none; top: calc(26px + var(--sat)); border-radius: 4px 4px 0 0; --line: var(--pl); --ink: var(--pk); --dim: var(--pd); --faint: rgb(23 19 13 / .52); }
.paperS::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .26 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: inherit; }
.paperS .grab { background: var(--pl); } .paperS .sh-b { padding-top: 4px; scrollbar-color: var(--pl) transparent; position: relative; }
.pclose { position: absolute; right: calc(10px + var(--sar)); top: 10px; z-index: 3; background: rgb(241 232 213 / .9); border-color: var(--pl); color: var(--pk); } .pclose:hover { background: #fff; }
.paper { max-width: 760px; margin: 0 auto; font: 400 17px/1.42 var(--N); }
.mast { text-align: center; } .mast p { display: flex; justify-content: space-between; gap: 10px; font: 600 13px/1.2 var(--T); color: var(--pd); padding: 4px 0; } .m-t { padding-right: 48px !important; } .mast h1 { font: 900 clamp(52px, 15.5vw, 92px)/.86 var(--D); letter-spacing: .012em; display: flex; justify-content: center; align-items: center; border-top: 3px double var(--pk); border-bottom: 3px double var(--pk); padding: .08em 0 .1em; white-space: nowrap; } .mast .gl { width: .66em; height: .66em; margin: .04em .035em 0; } .m-b span:first-child::first-letter { text-transform: uppercase; }
.hl { font: 900 calc(clamp(34px, 12vw, 74px) * clamp(.46, 1.28 - var(--n) * .016, 1))/.9 var(--D); text-transform: uppercase; text-align: center; text-wrap: balance; margin: 14px 0 8px; letter-spacing: -.004em; overflow-wrap: anywhere; }
.dk { font: italic 500 18px/1.3 var(--N); text-align: center; color: var(--pd); padding-bottom: 11px; border-bottom: 1px solid var(--pk); }
.ld { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 14px 0 6px; } .ld figure img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; filter: contrast(1.06) saturate(.86); background: #d9cfb8; } .ld figcaption { font: 500 13.5px/1.28 var(--T); color: var(--pd); margin-top: 5px; } .txt p { text-wrap: pretty; } .txt p + p { margin-top: 7px; text-indent: 1em; } .cap { font: 700 15px/1 var(--T); letter-spacing: .01em; }
.cols { columns: 2; column-gap: 22px; column-rule: 1px solid var(--pl); border-top: 3px double var(--pk); padding-top: 12px; margin-top: 10px; }
.bx { break-inside: avoid; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--pl); } .paperS .bx h3 { font: 900 24px/1 var(--D); letter-spacing: .005em; margin: 0 0 6px; display: block; } .bx p { margin: 5px 0; } .paperS .sm { font: 400 16px/1.38 var(--N); } .paperS .src { font: 500 13px/1.3 var(--T); color: var(--faint); }
.bx.dark { background: var(--pk); color: var(--paper); padding: 13px 14px 10px; border: 0; --ink: var(--paper); --dim: rgb(241 232 213 / .74); --faint: rgb(241 232 213 / .54); --line: rgb(241 232 213 / .2); } .bx.dark .rw { border-color: rgb(241 232 213 / .16); } .bx.dark .src { color: var(--faint); }
.bx .rw-m { font-family: var(--T); } .bx .rw-m b { max-width: 24ch; } .bx.dark .rw.hit .rw-m b, .bx.dark .rw.hit .rw-m span { color: #ffcf7d; }
.paperS .bars { font-family: var(--T); } .paperS .bars i { background-image: radial-gradient(circle, var(--pk) 40%, transparent 44%); } .paperS .rds { font-family: var(--T); } .paperS .rds li { border-color: var(--pl); } .paperS .ph img { border-radius: 0; filter: contrast(1.05) saturate(.8); } .paperS .wxr { font-family: var(--T); padding: 5px 0; } .paperS .wxr .ic { color: var(--pk); } .fl { list-style: none; padding: 0; font: 500 15px/1.35 var(--T); } .fl li { display: flex; gap: 9px; padding: 4px 0; align-items: flex-start; } .fl .ic { width: 18px; height: 18px; margin-top: 1px; } .fl .lnk { text-align: left; }
.btn.ink { border-color: var(--pk); color: var(--pk); font-family: var(--T); } .btn.ink:hover { background: var(--pk); color: var(--paper); } .btn.ink.sm { min-height: 36px; font-size: 15px; padding: 0 12px; }
.adsb h3 { text-align: center; border-top: 1px solid var(--pk); border-bottom: 1px solid var(--pk); padding: 4px 0; } .ad { display: block; width: 100%; text-align: left; font: 400 15.5px/1.35 var(--N); padding: 8px 10px; border: 1px solid var(--pl); margin: 6px 0; } .ad:hover { background: rgb(23 19 13 / .06); border-color: var(--pk); }
.nw { display: block; } .pinb { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: -4px 4px -6px -4px; color: var(--red); vertical-align: middle; } .pinb .ic { width: 18px; height: 18px; }
.set { font-style: italic; color: var(--faint); } .bx-b.ink { animation: inkin .9s ease-out; } @keyframes inkin { from { opacity: 0; filter: blur(3px); } }
.pf { border-top: 3px double var(--pk); padding: 14px 0 6px; display: grid; gap: 8px; justify-items: center; text-align: center; }
@media (max-width: 560px) { .cols { columns: 1; } .ld { display: block; overflow: hidden; } .ld figure { float: left; width: 42%; margin: 3px 14px 6px 0; } .bx .rw-m b { max-width: 50vw; } }

/* ---------- celozaslonska okna ---------- */
.full { position: fixed; inset: 0; z-index: 50; background: rgb(3 5 10 / .9); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } .full.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.lyrhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: calc(12px + var(--sat)) calc(16px + var(--sar)) 10px calc(20px + var(--sal)); } .lyrhead b { display: block; font: 800 26px/1 var(--D); } .lyrhead span { color: var(--dim); font-size: 15px; } .lyrhead > div { min-width: 0; }
#lyrBody { flex: 1; overflow-y: auto; padding: 12vh 22px 42vh; text-align: center; } #lyrBody p { font: 500 clamp(22px, 5.4vw, 34px)/1.25 var(--N); color: rgb(246 238 222 / .86); margin: 0 auto .5em; max-width: 24em; text-wrap: balance; transition: color .3s; } #lyrBody.sync p { color: rgb(246 238 222 / .5); cursor: pointer; } #lyrBody.sync p.on { color: #fff; font-style: italic; text-shadow: 0 0 34px rgb(var(--acc) / .7); } #lyrBody .gap { height: .8em; } #lyrBody .lw { font-size: 20px; color: var(--dim); } #lyrBody .lsrc { font: 500 14px/1 var(--T); color: var(--faint); margin-top: 3em; }
#oknoB { flex: 1; display: grid; place-items: center; padding: 0 12px calc(16px + var(--sab)); } #oknoB iframe { width: min(100%, calc((100dvh - 110px) * 16 / 9)); aspect-ratio: 16/9; border: 0; border-radius: 6px; background: #000; }
#toast { position: fixed; z-index: 70; left: 50%; top: calc(62px + var(--sat)); transform: translate(-50%, -12px); max-width: min(92vw, 520px); display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--paper); color: var(--pk); border-radius: 4px; font: 500 16px/1.25 var(--T); box-shadow: 0 10px 40px rgb(0 0 0 / .55); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; } #toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } #toast button { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; padding: 4px; }
@media (max-width: 899px) and (min-height: 521px) { #toast { top: auto; bottom: calc(var(--deckH, 280px) - 22px); transform: translate(-50%, 12px); width: max-content; } body.sheeted:not(.lowed) #toast { bottom: calc(24px + var(--sab)); } }
body.kino #toast, body.expo #toast { top: auto; bottom: calc(26px + var(--sab)); }
#guide { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; background: rgb(3 5 9 / .72); padding: 16px; } #guide[hidden] { display: none; } .g-c { width: 100%; max-width: 520px; max-height: 100%; overflow: auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; } .g-c h2 { font: 900 40px/.95 var(--D); text-transform: uppercase; margin-bottom: 14px; text-wrap: balance; } .g-c .btn { margin-top: 18px; }

/* ---------- začetek ---------- */
#boot { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: calc(26px + var(--sat)) 18px calc(26px + var(--sab)); background: radial-gradient(120% 70% at 50% 46%, rgb(3 5 10 / 0), rgb(3 5 10 / .55) 70%); transition: opacity 1.2s; } #boot.off { opacity: 0; pointer-events: none; }
.b-k { font: italic 500 clamp(18px, 4.6vw, 24px)/1.2 var(--N); color: #ffeccb; text-shadow: 0 1px 14px #000; } .b-w { font: 900 clamp(84px, 25vw, 190px)/.78 var(--D); letter-spacing: -.005em; text-transform: none; text-shadow: 0 6px 50px rgb(0 0 0 / .65); margin-top: .06em; }
.b-in { width: 100%; max-width: 430px; display: grid; gap: 12px; justify-items: center; } .b-a { font: 500 18px/1.35 var(--T); color: var(--ink); text-shadow: 0 1px 12px #000; text-wrap: balance; min-height: 2.6em; display: grid; align-items: end; }
.b-go { display: grid; gap: 10px; justify-items: center; width: 100%; } .b-go[hidden] { display: none; } #goMain { width: 100%; min-height: 62px; border-radius: 10px; background: var(--paper); color: var(--pk); font: 900 30px/1 var(--D); text-transform: uppercase; text-align: center; letter-spacing: .02em; box-shadow: 0 10px 60px rgb(255 220 150 / .25); transition: transform .15s, background .2s; } #goMain:hover { background: #fff; } #goMain:active { transform: scale(.98); } #goSong { color: var(--dim); font-size: 15.5px; min-height: 1.4em; text-shadow: 0 1px 8px #000; } #goAlt { padding: 8px 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--faint); text-shadow: 0 1px 8px #000; }
.b-v { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 14px; line-height: 1.25; color: var(--dim); cursor: pointer; padding-top: 4px; text-shadow: 0 1px 8px #000; } .b-m { font-size: 15px; color: var(--dim); min-height: 1.4em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px #000; }

/* ---------- širok zaslon ---------- */
@media (min-width: 900px) and (min-height: 480px) {
  #deck { left: 0; right: auto; width: 500px; padding: 60px 20px 20px calc(28px + var(--sal)); justify-items: start; background: radial-gradient(130% 100% at 0 100%, rgb(3 5 9 / .86), rgb(3 5 9 / .55) 46%, rgb(3 5 9 / 0) 74%); }
  .nowb, .mz, .nx, #tickB { max-width: 452px; } .ctl { justify-content: flex-start; gap: 8px; margin-left: -12px; } .nx { justify-content: space-between; } .volbox { display: flex; } h1 { font-size: 46px; }
  #lift { top: 50%; } #card { left: auto; right: 74px; bottom: 26px; margin: 0; width: 400px; } #toast { top: 24px; } #mode, #yearTag { top: 20px; }
  .sheet { left: auto; right: 0; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; border: 0; border-left: 1px solid var(--line); transform: translateX(104%); } .sheet.tall { top: 0; } .sheet.low { top: auto; right: 18px; bottom: 18px; border: 1px solid var(--line); border-radius: 14px; width: 420px; transform: translateY(120%); } .sheet.on { transform: none; } .grab { display: none; } .sh-h { padding-top: 18px; touch-action: auto; }
  .paperS { width: min(560px, 46vw); box-shadow: -30px 0 90px rgb(0 0 0 / .6); } .paperS .sh-b { padding: 16px 26px 30px; } .mast h1 { font-size: clamp(58px, 6vw, 84px); } .hl { font-size: calc(clamp(40px, 4.6vw, 66px) * clamp(.46, 1.28 - var(--n) * .016, 1)); }
  .pclose { top: 14px; right: 16px; } #scrim { background: none; pointer-events: none !important; } #powers { place-items: center; } .r-t b, .rw-m b { max-width: none; } .rw-m b { max-width: 220px; }
}
@media (min-width: 900px) { body.sheeted:not(.lowed) #lift, body.sheeted:not(.lowed) .tr, body.sheeted:not(.lowed) #card { opacity: 0; pointer-events: none; } body.sheeted:not(.lowed) #lift *, body.sheeted:not(.lowed) .tr * { pointer-events: none; } }
#deck::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s; pointer-events: none; background: linear-gradient(rgb(3 5 9 / 0), rgb(3 5 9 / .62) 26%, rgb(3 5 9 / .8)); }
body[data-lvl]:not([data-lvl=planet]) #deck::before, body.sheeted #deck::before { opacity: 1; }
@media (min-width: 900px) { #deck::before { inset: -80px -240px 0 0; background: radial-gradient(112% 106% at 0 100%, rgb(3 5 9 / .9), rgb(3 5 9 / .78) 52%, rgb(3 5 9 / 0) 78%); } }
@media (max-height: 519px) and (max-width: 899px) { #deck::before { inset: -20px -150px 0 0; opacity: 1; background: radial-gradient(108% 130% at 0 100%, rgb(3 5 9 / .92), rgb(3 5 9 / .76) 58%, rgb(3 5 9 / 0) 84%); } }
/* ležeč telefon */
@media (max-height: 520px) {
  #deck { padding-top: 26px; width: min(56vw, 480px); left: 0; right: auto; justify-items: start; gap: 2px; background: radial-gradient(120% 100% at 0 100%, rgb(3 5 9 / .9), rgb(3 5 9 / .5) 50%, rgb(3 5 9 / 0) 78%); } h1 { font-size: 27px; } h1 button { -webkit-line-clamp: 1; } #subline { height: 20px; font-size: 15px; } #day { height: 30px; } .cb { width: 44px; height: 44px; } #play { width: 58px; height: 58px; } #pIc .ic { width: 24px; height: 24px; } .nx { min-height: 22px; justify-content: flex-start; } #tickB { min-height: 36px; padding: 2px 0; } #tick .tk-t { -webkit-line-clamp: 1; } .by { font-size: 14.5px; }
  #lift { top: calc(58px + var(--sat)); transform: none; } #lift button { width: 36px; height: 34px; } #card { left: auto; right: 60px; bottom: 12px; width: 300px; margin: 0; } .sheet { left: auto; right: 0; top: 0; width: min(460px, 60vw); max-height: none; border-radius: 0; } .b-w { font-size: clamp(60px, 20vh, 110px); } .b-w br { display: none; } #boot { padding-top: 10px; padding-bottom: 10px; } .b-a { min-height: 0; } .b-v { max-width: 420px; } .b-in { gap: 6px; } #goMain { min-height: 50px; }
}
@media (max-width: 899px) and (min-height: 521px) { #lift { top: auto; bottom: calc(var(--deckH, 260px) - 16px); transform: none; right: calc(8px + var(--sar)); } #lift button { width: 40px; height: 38px; } }
@media (max-height: 700px) and (max-width: 899px) and (min-height: 521px) { h1 { font-size: 31px; } #deck { padding-top: 36px; gap: 4px; } #day { height: 32px; } #play { width: 66px; height: 66px; } .cb { width: 48px; height: 48px; } .nx { min-height: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; } }
