/* Magic Castle – vmesnik: zlat list na nočnem lapisu. Podpis je vrezan rob (odsekani koti kot pri kamnitih ploščicah) in gotica v naslovih.
   Barva poudarka (--acc) pride iz skladbe, ki igra. */
@font-face { font-family: "Grenze Gotisch"; src: url(../fonts/gotisch-ext.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Grenze Gotisch"; src: url(../fonts/gotisch.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Grenze; src: url(../fonts/grenze-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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Grenze; src: url(../fonts/grenze.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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Grenze; src: url(../fonts/grenze-it-ext.woff2) format('woff2'); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Grenze; src: url(../fonts/grenze-it.woff2) format('woff2'); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #f7efdb; --dim: rgb(240 231 208 / .72); --faint: rgb(240 231 208 / .46); --line: rgb(232 192 116 / .22); --gold: #f0cf86; --acc: 240 207 134;
  --glass: rgb(9 13 34 / .76); --solid: #0a0f26; --lapis: #14204f; --D: "Grenze Gotisch", Georgia, serif; --T: Grenze, Georgia, serif; --on: #1a1206;
  --cut: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); --r: 4px;
  --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; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #050818; color: var(--ink); font: 400 17px/1.36 var(--T); overflow: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none; -webkit-text-size-adjust: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; touch-action: manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible, a:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 2px; }
a { color: var(--gold); }
h1, h2, h3, p { margin: 0; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums lining-nums; }

#ytwrap { position: fixed; left: 0; top: 0; width: 320px; height: 180px; z-index: 0; overflow: hidden; pointer-events: none; background: #000; transform-origin: 0 0; }
#ytwrap iframe, #yt { width: 100%; height: 100%; border: 0; display: block; }
body.ytfront #ytwrap { z-index: 50; pointer-events: auto; left: 50%; top: 42%; width: min(92vw, 720px); height: min(51.75vw, 405px); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--gold), 0 0 0 7px #0a0f26, 0 0 0 8px var(--line), 0 20px 90px #000; }
body.nogl { background: radial-gradient(circle at 50% 30%, #2b3a78, #101a44 46%, #050818 88%); }
body.nogl #lift { display: none; }
body.nogl #ytwrap { left: 50%; top: 38%; width: min(88vw, 760px); height: min(49.5vw, 427px); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--gold), 0 0 70px rgb(var(--acc) / .4); }
#world, #names { position: fixed; inset: 0; width: 100%; height: 100%; }
#world { z-index: 1; touch-action: none; outline: none; cursor: grab; }
#world:active { cursor: grabbing; }
#names { z-index: 2; pointer-events: none; }

/* ---------- vrh ---------- */
#top { position: fixed; z-index: 10; left: 0; right: 0; top: 0; padding: calc(10px + var(--sat)) calc(12px + var(--sar)) 10px calc(14px + var(--sal)); display: flex; align-items: center; gap: 10px; justify-content: space-between; pointer-events: none; }
#top::before { content: ''; position: absolute; inset: 0 0 -26px; background: linear-gradient(rgb(5 8 24 / .62), rgb(5 8 24 / 0)); z-index: -1; }
#top > * { pointer-events: auto; }
#crumbs { display: flex; align-items: center; min-width: 0; flex: 1; font-size: 15.5px; color: var(--dim); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
#crumbs button { padding: 9px 4px; white-space: nowrap; display: flex; align-items: center; gap: 7px; text-shadow: 0 1px 8px #000; transition: color .2s; flex: none; }
#crumbs button:hover { color: #fff; }
#crumbs button[aria-current] { color: var(--ink); font-weight: 600; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; display: block; }
#crumbs button:first-child { font: 500 20px var(--D); color: var(--gold); }
#crumbs button:first-child[aria-current] { display: flex; }
#crumbs i { opacity: .4; padding: 0 4px; font-style: normal; flex: none; }
.tr { display: flex; gap: 8px; }
.rnd, .pill { height: 42px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .2s, background .2s; flex: none; }
.rnd { width: 42px; }
.rnd:hover, .pill:hover { border-color: rgb(232 192 116 / .6); background: rgb(26 38 86 / .85); }
.rnd .ic { width: 20px; height: 20px; }
.pill { padding: 0 13px 0 9px; display: flex; align-items: center; gap: 6px; }
.pill b { font: 500 20px var(--D); color: var(--gold); font-variant-numeric: lining-nums; }
.pill.up { animation: grew 1.1s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes grew { 0% { box-shadow: 0 0 0 0 rgb(var(--acc) / .9); transform: scale(1); } 30% { transform: scale(1.14); } 100% { box-shadow: 0 0 0 22px rgb(var(--acc) / 0); transform: scale(1); } }
#yearTag { position: fixed; z-index: 11; left: 50%; top: calc(64px + var(--sat)); transform: translate(-50%, -16px); opacity: 0; pointer-events: none; display: flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); color: var(--gold); transition: .3s; }
#yearTag.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#yearTag b { font: 500 19px var(--D); } #yearTag .ic { width: 16px; height: 16px; }

/* ---------- dvigalo ---------- */
#lift { position: fixed; z-index: 9; right: calc(10px + var(--sar)); top: calc(50% - var(--deckH, 230px) / 2 + 26px); transform: translateY(-50%); display: grid; gap: 2px; padding: 4px; border-radius: 6px; background: rgb(9 13 34 / .50); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#lift button { width: 40px; height: 44px; display: grid; place-items: center; border-radius: 3px; color: var(--dim); transition: .25s; position: relative; }
#lift button:hover { color: #fff; }
#lift button.on { color: var(--on); background: var(--gold); box-shadow: 0 0 22px rgb(240 207 134 / .4); }
#lift [data-l=song] { border-top: 1px solid var(--line); border-radius: 0 0 3px 3px; opacity: .5; }
#lift [data-l=song].away { opacity: 1; color: rgb(var(--acc)); animation: call 2.4s infinite ease-in-out; }
@keyframes call { 50% { filter: drop-shadow(0 0 9px rgb(var(--acc))); } }
@media (max-width: 560px) { #lift { right: calc(12px + var(--sar)); top: calc(59px + var(--sat)); transform: none; grid-auto-flow: column; padding: 3px; } #lift button { width: 40px; height: 36px; } #lift [data-l=song] { border-top: 0; border-left: 1px solid var(--line); border-radius: 0 3px 3px 0; } body #toast { top: calc(108px + var(--sat)); } }

/* ---------- kartica pogleda ---------- */
#card { position: fixed; z-index: 9; left: calc(14px + var(--sal)); right: calc(14px + var(--sar)); bottom: calc(var(--deckH, 190px) + 4px); max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 7px 7px 7px 16px; border-radius: 6px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); opacity: 0; transform: translateY(14px); 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: 500 22px/1.1 var(--D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#card i { display: block; font-style: normal; font-size: 14.5px; line-height: 1.2; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#card .cx { width: 42px; height: 42px; border-radius: 3px; display: grid; place-items: center; flex: none; color: var(--dim); }
#card .cx:hover { color: #fff; background: rgb(255 255 255 / .06); }
#card .cx.on { color: #ffc95e; } #card .cx.on .ic { fill: currentColor; fill-opacity: .35; }
#card .cx.go { background: var(--gold); color: var(--on); }

/* ---------- krmilna plošča ---------- */
#deck { position: fixed; z-index: 8; left: 0; right: 0; bottom: 0; padding: 34px calc(16px + var(--sar)) calc(8px + var(--sab)) calc(16px + var(--sal)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; justify-items: center; pointer-events: none; background: linear-gradient(rgb(5 8 24 / 0), rgb(5 8 24 / .56) 30%, rgb(5 8 24 / .90)); }
#deck button, #deck input, #sves { pointer-events: auto; }
.nowb { text-align: center; width: 100%; max-width: 620px; min-width: 0; }
h1 { font: 500 29px/1.06 var(--D); letter-spacing: .002em; text-wrap: balance; }
h1 button { max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: inherit; margin: 0 auto; text-shadow: 0 2px 18px rgb(0 0 0 / .9); padding: 1px 4px 2px; }
.by { font-size: 16.5px; line-height: 1.25; color: var(--dim); }
.by button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 6px; text-shadow: 0 1px 10px rgb(0 0 0 / .8); }
.by b { color: var(--ink); font-weight: 600; }
#subline { font: italic 400 17px/1.3 var(--T); padding: 0 6px; color: #ffeec2; 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; letter-spacing: .12em; } }
.sv { width: 100%; max-width: 660px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: end; gap: 4px; }
.sv span { font-size: 14px; color: var(--faint); padding-bottom: 1px; } .sv span:first-child { text-align: right; }
#sves { width: 100%; height: 42px; display: block; touch-action: none; cursor: ew-resize; }
.ctl { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 3.4vw, 22px); }
.cb { width: 52px; height: 52px; border-radius: 4px; display: grid; place-items: center; transition: background .2s, color .2s, transform .15s; }
.cb:hover { background: rgb(255 255 255 / .07); }
.cb:active { transform: scale(.92); }
.cb .ic { width: 25px; height: 25px; }
#like.on { color: #ffc95e; } #like.on .ic { fill: currentColor; filter: drop-shadow(0 0 8px rgb(255 190 70 / .7)); }
#like.pop .ic { animation: pop .5s; }
@keyframes pop { 40% { transform: scale(1.45) rotate(-8deg); } }
.cb.gold { color: var(--gold); }
#play { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s; margin: -4px 0; }
#play:active { transform: scale(.95); }
#rose { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 14px rgb(var(--acc) / .30)); }
#rose .r1 { fill: none; stroke: var(--gold); stroke-width: 1.1; opacity: .75; }
#rose .pt { fill: rgb(var(--acc) / .42); stroke: rgb(var(--acc) / .9); stroke-width: .8; transition: fill .4s; }
#rose .pd { fill: var(--gold); opacity: .8; }
#rose .rg { transform-origin: 0 0; animation: spin 60s linear infinite; animation-play-state: paused; }
body.playing #rose .rg { animation-play-state: running; }
body.playing #rose .pt { animation: pet 2.4s infinite ease-in-out; animation-delay: calc(var(--i) * .2s); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pet { 50% { fill: rgb(var(--acc) / .85); } }
#cov { position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; border-radius: 50%; object-fit: cover; filter: brightness(.62); }
#pIc { position: relative; filter: drop-shadow(0 2px 8px #000); }
#pIc .ic { width: 27px; height: 27px; color: #fff8e4; }
#play.load #pIc { animation: brt 1s infinite alternate ease-in-out; }
@keyframes brt { to { opacity: .35; } }
.nx { width: 100%; max-width: 640px; min-width: 0; min-height: 24px; display: flex; align-items: center; justify-content: center; gap: 14px; }
#nxt { font-size: 15px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 6px; min-width: 0; }
#nxt em { font-style: italic; color: var(--gold); } #nxt b { font-weight: 500; color: var(--ink); }
.volbox { display: none; align-items: center; gap: 8px; }
#vol { width: 92px; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 22px; background: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgb(255 255 255 / .2) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgb(255 255 255 / .2) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; transform: rotate(45deg); background: #fff6df; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 0; transform: rotate(45deg); background: #fff6df; }
#clock { position: fixed; z-index: 12; left: 50%; bottom: calc(var(--deckH, 200px) - 6px); transform: translateX(-50%); padding: 4px 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); font: 500 17px var(--T); font-variant-numeric: tabular-nums lining-nums; opacity: 0; pointer-events: none; transition: opacity .2s; }
#clock.on { opacity: 1; }

/* ---------- uroki ---------- */
#powers { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: radial-gradient(circle at 50% 44%, rgb(20 30 78 / .72), rgb(4 6 20 / .95)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s; overflow-y: auto; padding: calc(16px + var(--sat)) 14px calc(16px + var(--sab)); }
#powers.on { opacity: 1; pointer-events: auto; }
.pw-in { position: relative; width: min(94vw, 720px); }
.pw-in h2 { font: 500 clamp(34px, 8vmin, 54px)/1 var(--D); color: var(--gold); text-align: center; margin-bottom: 14px; }
.pw-in #pwX { position: absolute; right: 0; top: 0; }
.pw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pw { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 14px 8px 12px; text-align: center; background: rgb(14 21 54 / .72); border: 1px solid var(--line); clip-path: var(--cut); opacity: 0; transform: translateY(16px) scale(.96); transition: transform .45s cubic-bezier(.2, 1.3, .4, 1), opacity .3s, background .2s; transition-delay: calc(var(--i) * 18ms), calc(var(--i) * 18ms), 0s; }
#powers.on .pw { opacity: 1; transform: none; }
.pw span { color: var(--gold); } .pw span .ic { width: 34px; height: 34px; stroke-width: 1.15; }
.pw b { font: 500 21px/1.05 var(--D); } .pw i { font-style: normal; font-size: 14px; line-height: 1.18; color: var(--dim); text-wrap: balance; }
.pw:hover, .pw:focus-visible { background: var(--gold); color: var(--on); } .pw:hover span, .pw:focus-visible span, .pw:hover i, .pw:focus-visible i { color: var(--on); }
@media (max-width: 620px) { .pw-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .pw { padding: 10px 4px 9px; } .pw i { display: none; } .pw b { font-size: 18px; } }
#mode { position: fixed; z-index: 20; left: calc(12px + var(--sal)); right: calc(12px + var(--sar)); bottom: calc(14px + var(--sab)); max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 6px; background: rgb(10 15 38 / .94); border: 1px solid rgb(232 192 116 / .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; gap: 12px; transform: translateY(calc(100% + 60px)); visibility: hidden; transition: transform .35s cubic-bezier(.2, .9, .3, 1), visibility 0s .35s; }
#mode.on { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .9, .3, 1); }
#mode b { font: 500 26px var(--D); color: var(--gold); } #mode p { color: var(--dim); } #mode .row { margin: 0; }
body.moding #deck, body.moding #card, body.moding #lift { opacity: 0; pointer-events: none; }
body.moding #deck * { pointer-events: none !important; }

/* ---------- okna ---------- */
#scrim { position: fixed; inset: 0; z-index: 39; background: rgb(3 5 16 / .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(80vh, 780px); display: flex; flex-direction: column; background: linear-gradient(rgb(19 28 68 / .975), rgb(8 12 32 / .99)); border-top: 1px solid rgb(232 192 116 / .45); box-shadow: 0 -18px 70px rgb(0 0 0 / .6), inset 0 4px 0 -3px rgb(232 192 116 / .22); transform: translateY(104%); visibility: hidden; transition: transform .36s cubic-bezier(.2, .9, .3, 1), visibility 0s .36s; padding-bottom: var(--sab); }
.sheet.on { transform: none; visibility: visible; transition: transform .36s cubic-bezier(.2, .9, .3, 1); }
.sheet.tall { height: calc(100dvh - 24px - var(--sat)); max-height: none; }
.grab { width: 44px; height: 4px; background: rgb(232 192 116 / .35); margin: 9px auto 0; flex: none; }
.sh-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px calc(14px + var(--sar)) 10px calc(20px + var(--sal)); flex: none; touch-action: none; }
.sh-h > div:first-child { min-width: 0; }
.sh-h h2 { font: 500 31px/1.05 var(--D); overflow-wrap: anywhere; }
.sh-h p { color: var(--gold); font: italic 400 16.5px/1.3 var(--T); margin-top: 2px; }
.sh-x { display: flex; gap: 8px; flex: none; }
.sh-b { overflow-y: auto; overscroll-behavior: contain; padding: 2px calc(16px + var(--sar)) 24px calc(16px + var(--sal)); -webkit-overflow-scrolling: touch; min-height: 0; }
.sh-b h3 { font: 500 23px/1.1 var(--D); color: var(--gold); margin: 20px 4px 8px; display: flex; gap: 10px; align-items: baseline; }
.sh-b h3 i { font: 400 15px var(--T); color: var(--faint); }
.q { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: var(--r); background: rgb(0 0 0 / .34); border: 1px solid var(--line); }
.q:focus-within { border-color: rgb(232 192 116 / .7); }
.q input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 18px; -webkit-user-select: text; user-select: text; }
.q input::placeholder { color: var(--faint); }
.q input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.exs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
.ex { display: grid; grid-template-columns: 1fr; gap: 1px; padding: 9px 10px 10px; background: rgb(255 246 214 / .045); border: 1px solid var(--line); border-radius: var(--r); transition: .2s; min-width: 0; } .ex:hover { background: rgb(255 246 214 / .09); border-color: rgb(232 192 116 / .5); }
.ex b { font: 500 21px/1.05 var(--D); margin-top: 7px; } .ex i { font-style: normal; color: var(--dim); font-size: 14.5px; line-height: 1.2; }
.cvs { display: flex; gap: 3px; } .cvs .th { width: 0; flex: 1 1 0; height: auto; aspect-ratio: 1; min-width: 0; } .cvs.e { height: 44px; align-items: center; color: var(--gold); } .r-m .cvs { width: 92px; flex: none; }
.dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dest { display: grid; justify-items: start; gap: 2px; padding: 11px 12px; border-radius: var(--r); background: rgb(255 246 214 / .045); border: 1px solid var(--line); transition: .2s; min-width: 0; }
.dest:hover { background: rgb(255 246 214 / .09); border-color: rgb(232 192 116 / .5); }
.dest .ic { color: var(--gold); margin-bottom: 3px; }
.dest b { font-weight: 600; font-size: 16.5px; line-height: 1.15; } .dest i { font-style: normal; color: var(--dim); font-size: 14px; line-height: 1.2; }
.kors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kc { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 8px; border-radius: var(--r); background: rgb(255 246 214 / .035); border: 1px solid color-mix(in srgb, var(--kc) 28%, transparent); min-width: 0; transition: .2s; }
.kc:hover { background: color-mix(in srgb, var(--kc) 16%, transparent); }
.kc > span:last-child { min-width: 0; } .kc b { display: block; font: 500 20px/1.05 var(--D); } .kc i { display: block; font-style: normal; font-size: 14px; line-height: 1.15; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.kt { position: relative; width: 20px; height: 40px; flex: none; background: linear-gradient(90deg, color-mix(in srgb, var(--kc) 45%, #060a1c), color-mix(in srgb, var(--kc) 75%, #0a0f26) 40%, color-mix(in srgb, var(--kc) 28%, #060a1c)); clip-path: polygon(50% 0, 100% 34%, 88% 34%, 88% 100%, 12% 100%, 12% 34%, 0 34%); display: inline-block; } .kt::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 9px; transform: translateX(-50%); background: #ffe2a0; border-radius: 3px 3px 0 0; box-shadow: 0 0 8px #ffc766; } .kt.big { height: 34px; vertical-align: -6px; margin-right: 8px; }
.rs { display: flex; align-items: center; gap: 2px; border-radius: var(--r); }
.rs:hover { background: rgb(255 246 214 / .045); }
.rs.now { background: rgb(var(--acc) / .13); } .rs.past { opacity: .5; }
.r-m { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 6px 6px; text-align: left; }
.r-t { min-width: 0; flex: 1; } .r-t b { display: block; font-weight: 500; font-size: 17.5px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .r-t i { display: block; font-style: normal; font-size: 15px; line-height: 1.2; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs.now .r-t b { color: rgb(var(--acc)); font-weight: 600; }
.r-x { width: 42px; height: 42px; display: grid; place-items: center; color: var(--faint); border-radius: 3px; flex: none; }
.r-x:hover { color: #fff; background: rgb(255 255 255 / .06); } .r-x .ic { width: 20px; height: 20px; }
.r-x.lk.on { color: #ffc95e; } .r-x.lk.on .ic { fill: currentColor; }
.tile { flex: none; display: block; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .5)); }
.win { position: relative; width: 26px; height: 40px; margin: 0 6px; flex: none; border-radius: 13px 13px 2px 2px; background: linear-gradient(color-mix(in srgb, var(--wc) 30%, #0a0f26), #070b1e); border: 1.5px solid rgb(232 192 116 / .32); } .win::before, .win::after { content: ''; position: absolute; background: rgb(232 192 116 / .3); } .win::before { left: 50%; top: 0; bottom: 0; width: 1px; } .win::after { left: 0; right: 0; top: 46%; height: 1px; }
.win.lit { background: radial-gradient(circle at 50% 60%, #fff0c4, #ffc15a 55%, #b86a1c); box-shadow: 0 0 14px rgb(255 180 80 / .5); } .win.gold { border-color: #ffd884; box-shadow: 0 0 18px rgb(255 190 90 / .8); }
.th { width: 46px; height: 46px; border-radius: 2px; object-fit: cover; flex: none; background: #16204a; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 42px; border-radius: var(--r); border: 1px solid rgb(232 192 116 / .42); transition: .2s; font-weight: 500; }
.btn:hover { background: rgb(232 192 116 / .12); } .btn .ic { width: 19px; height: 19px; } .btn:disabled { opacity: .45; cursor: default; }
.btn.pri { background: var(--gold); color: var(--on); border-color: transparent; font-weight: 600; } .btn.pri:hover:not(:disabled) { background: #ffe1a0; }
.btn.big { min-height: 50px; padding: 0 28px; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0; }
.chip { padding: 7px 14px; border-radius: var(--r); border: 1px solid var(--line); background: rgb(255 246 214 / .04); } .chip:hover { border-color: rgb(232 192 116 / .6); } .chip.on { background: var(--gold); color: var(--on); border-color: transparent; font-weight: 600; } .chip.pri { color: var(--gold); border-color: rgb(232 192 116 / .6); }
.flows { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.flow { display: grid; justify-items: center; align-content: start; text-align: center; gap: 2px; padding: 10px 4px; border-radius: var(--r); border: 1px solid var(--line); background: rgb(255 246 214 / .035); min-width: 0; } .flow b { font-weight: 600; font-size: 15px; line-height: 1.1; } .flow i { font-style: normal; font-size: 13px; color: var(--dim); line-height: 1.1; } .flow .ic { color: var(--gold); } .flow.on { background: var(--gold); color: var(--on); border-color: transparent; } .flow.on i, .flow.on .ic { color: #3c300f; }
.fine { color: var(--dim); font-size: 15.5px; margin: 6px 4px; } .fine.err { color: #ff9d86; } .empty { color: var(--dim); padding: 22px 8px; text-align: center; font: italic 400 18px/1.35 var(--T); text-wrap: balance; }
.tabs { display: flex; gap: 2px; padding: 0 calc(14px + var(--sar)) 8px calc(14px + var(--sal)); overflow-x: auto; scrollbar-width: none; flex: none; } .tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 7px 12px; border-radius: var(--r); white-space: nowrap; color: var(--dim); font-weight: 500; border-bottom: 2px solid transparent; } .tabs button[aria-selected=true] { background: rgb(232 192 116 / .14); color: var(--gold); border-color: var(--gold); border-radius: var(--r) var(--r) 0 0; }
.hd { display: flex; gap: 14px; align-items: center; margin: 2px 2px 10px; position: relative; } .hd img { width: 92px; height: 92px; object-fit: cover; border-radius: 2px; background: #16204a; box-shadow: 0 0 0 1px rgb(232 192 116 / .5), 0 0 0 4px #0c1330, 0 0 0 5px rgb(232 192 116 / .25), 0 8px 30px rgb(0 0 0 / .5); flex: none; margin: 5px; } .hd.big img { width: 132px; height: 132px; } .hd > div { min-width: 0; flex: 1; } .hd b { display: block; font: 500 24px/1.1 var(--D); } .hd span { display: block; color: var(--dim); } .hd i { display: block; font-style: normal; font-size: 15px; color: var(--faint); } .hd .mine i { color: var(--ink); } .lnk { text-align: left; display: block; max-width: 100%; } .lnk:hover b, .lnk:hover span { color: var(--gold); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 6px 0; } .act { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 66px; padding: 8px 4px; border-radius: var(--r); background: rgb(255 246 214 / .045); border: 1px solid var(--line); text-align: center; text-decoration: none; color: var(--ink); transition: .2s; } .act:hover { background: rgb(255 246 214 / .1); } .act span { font-size: 14.5px; line-height: 1.1; } .act .ic { color: var(--gold); } .act.on { border-color: rgb(255 201 94 / .7); background: rgb(255 201 94 / .14); } .act.on .ic { fill: currentColor; fill-opacity: .3; }
.rosev { display: block; width: min(100%, 330px); margin: 12px auto 4px; } .rosev line, .rosev circle { stroke: rgb(232 192 116 / .24); fill: none; } .rosev text { fill: var(--dim); font: 400 13.5px var(--T); } .rosev .pet { fill: rgb(var(--acc) / .32); stroke: rgb(var(--acc)); stroke-width: 1.6; stroke-linejoin: round; }
.trk { display: grid; } .tk-r { display: grid; grid-template-columns: 24px 28px 1fr auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: var(--r); text-align: left; } .tk-r:hover { background: rgb(255 246 214 / .05); } .tk-r i { font-style: normal; color: var(--faint); text-align: right; } .tk-r b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tk-r span { color: var(--faint); font-size: 15px; } .tk-r.now { background: rgb(var(--acc) / .13); } .tk-r.now b { color: rgb(var(--acc)); font-weight: 600; }
.mine { position: relative; height: 30px; margin: 6px 0 10px; border-radius: 2px; background: rgb(0 0 0 / .34); overflow: hidden; border: 1px solid var(--line); } .mine span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgb(60 84 190 / .75), rgb(240 190 90 / .85)); } .mine i { position: relative; font-style: normal; font-size: 15px; line-height: 28px; padding: 0 12px; text-shadow: 0 1px 6px #000; white-space: nowrap; }
.wiki { display: flow-root; color: var(--dim); } .wiki img { float: right; width: 104px; border-radius: 2px; margin: 4px 0 8px 14px; box-shadow: 0 0 0 1px rgb(232 192 116 / .45); } .wiki p { -webkit-user-select: text; user-select: text; }
.strip { display: flex; gap: 11px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: rgb(232 192 116 / .3) transparent; } .alb { width: 116px; flex: none; } .alb img { width: 116px; height: 116px; display: block; } .alb b { font-weight: 500; font-size: 16px; line-height: 1.12; margin-top: 7px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .alb i { font-style: normal; color: var(--faint); font-size: 14.5px; }
.rank { text-align: center; padding: 4px 0 10px; } .rank svg { width: 132px; height: 132px; display: block; margin: 0 auto 4px; } .rank b { display: block; font: 500 34px/1.05 var(--D); color: var(--gold); } .rank i { color: var(--dim); font-style: normal; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 8px 0; } .stats div { padding: 9px 6px; border-radius: var(--r); background: rgb(255 246 214 / .04); border: 1px solid var(--line); text-align: center; } .stats b { display: block; font: 500 26px/1.1 var(--D); font-variant-numeric: lining-nums; } .stats i { font-style: normal; color: var(--dim); font-size: 14.5px; line-height: 1.1; display: block; }
.kbar { width: 100%; display: grid; grid-template-columns: 128px 1fr 66px; align-items: center; gap: 10px; padding: 5px 6px; text-align: left; } .kbar b { font: 500 18px/1.05 var(--D); } .kbar span { height: 8px; background: rgb(255 255 255 / .07); overflow: hidden; } .kbar span i { display: block; height: 100%; } .kbar em { font-style: normal; color: var(--dim); text-align: right; font-size: 15px; font-variant-numeric: tabular-nums lining-nums; } .kbar:hover { background: rgb(255 246 214 / .04); }
/* kotel */
.pot { display: grid; gap: 6px; } #potC { width: 100%; height: min(250px, 30vh); display: block; }
.ings { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; } .ing { display: grid; justify-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--ic) 34%, transparent); background: color-mix(in srgb, var(--ic) 7%, transparent); text-align: center; transition: .15s; min-width: 0; } .ing .ic { color: var(--ic); width: 26px; height: 26px; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--ic) 60%, transparent)); } .ing span { font-size: 13px; line-height: 1.05; } .ing:hover { background: color-mix(in srgb, var(--ic) 18%, transparent); } .ing:active { transform: scale(.94); } .ing.hit .ic { animation: pop .45s; }
@media (max-width: 899px) { .ings { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .ings { grid-template-columns: repeat(3, 1fr); } .ing { grid-template-columns: auto 1fr; align-items: center; text-align: left; padding: 8px 10px; } .ing span { font-size: 15px; } }
/* ura */
.clk { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: center; } .clk canvas { width: 100%; aspect-ratio: 1; touch-action: none; cursor: pointer; border-radius: 50%; } .clk .go { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } .clk .btn { padding: 0 12px; } .clk .chip { padding: 7px 11px; }
@media (min-width: 900px) { .clk { grid-template-columns: 1fr; justify-items: center; } .clk canvas { width: 290px; } .clk .go { width: 100%; } }
@media (max-width: 420px) { .clk { grid-template-columns: 148px minmax(0, 1fr); gap: 10px; } }
.tg { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 4px; border-bottom: 1px solid rgb(232 192 116 / .10); cursor: pointer; } .tg b { display: block; font-weight: 500; } .tg i { display: block; font-style: normal; font-size: 15px; line-height: 1.2; color: var(--dim); }
.tg input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 48px; height: 26px; border-radius: 3px; background: rgb(255 255 255 / .13); position: relative; flex: none; cursor: pointer; transition: .25s; } .tg input::after { content: ''; position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 2px; background: #fff6df; transition: .25s; } .tg input:checked { background: var(--gold); } .tg input:checked::after { left: 26px; background: #2a2108; }
.tg select { background: rgb(0 0 0 / .4); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; } .tg select option { background: #0c1330; }
.syn { display: flex; gap: 8px; flex-wrap: wrap; } .syn input { flex: 1 1 160px; min-width: 0; padding: 0 14px; height: 42px; border-radius: var(--r); background: rgb(0 0 0 / .4); border: 1px solid var(--line); outline: none; font-size: 17px; -webkit-user-select: text; user-select: text; }
.help { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 11px; } .help li { display: flex; gap: 12px; align-items: flex-start; color: var(--dim); line-height: 1.28; } .help b { display: block; color: var(--ink); font-weight: 600; } .help .ic { color: var(--gold); margin-top: 1px; }

/* ---------- celozaslonska okna ---------- */
.full { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; background: radial-gradient(circle at 50% 20%, rgb(24 35 88 / .97), rgb(5 8 24 / .985) 75%); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.full.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.lyrhead { display: flex; justify-content: space-between; gap: 12px; padding: calc(14px + var(--sat)) calc(16px + var(--sar)) 8px calc(20px + var(--sal)); } .lyrhead b { display: block; font: 500 28px/1.1 var(--D); } .lyrhead span { color: var(--gold); font: italic 400 17px var(--T); }
#lyrBody { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10vh calc(24px + var(--sar)) 44vh calc(24px + var(--sal)); max-width: 840px; width: 100%; margin: 0 auto; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); }
#lyrBody p { font: 500 clamp(27px, 5.2vw, 42px)/1.14 var(--D); color: rgb(246 239 220 / .34); padding: .2em 0; transition: color .35s, transform .35s; transform-origin: 0 50%; text-wrap: balance; }
#lyrBody.sync p { cursor: pointer; } #lyrBody p.pl { font: 400 clamp(19px, 3vw, 24px)/1.3 var(--T); color: rgb(246 239 220 / .86); padding: .05em 0; } #lyrBody p.gap { height: .8em; } #lyrBody p.on { color: #fff6da; transform: scale(1.03); text-shadow: 0 0 34px rgb(var(--acc) / .55); } #lyrBody .lw { font: italic 400 22px var(--T); text-align: center; padding-top: 20vh; } #lyrBody .lsrc { font: 400 15px var(--T); color: var(--faint); padding-top: 3em; }

/* ---------- sporočila, navodila ---------- */
#toast { position: fixed; z-index: 75; left: 50%; top: calc(66px + var(--sat)); transform: translate(-50%, -24px); max-width: min(92vw, 520px); width: max-content; display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: var(--r); background: rgb(14 21 54 / .95); border: 1px solid rgb(232 192 116 / .45); opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 10px 40px rgb(0 0 0 / .5); }
#toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { color: var(--gold); font-weight: 600; white-space: nowrap; padding: 4px 6px; }
#guide { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgb(4 6 20 / .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 16px; overflow-y: auto; } .g-c { max-width: 480px; padding: 24px; background: linear-gradient(rgb(22 32 78 / .98), rgb(9 13 36 / .98)); border: 1px solid rgb(232 192 116 / .5); border-radius: 6px; } .g-c h2 { font: 500 34px/1.04 var(--D); color: var(--gold); margin-bottom: 12px; text-wrap: balance; } .g-c .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ---------- zagon ---------- */
#boot { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; justify-items: center; transition: opacity 1.2s; background: linear-gradient(rgb(5 8 24 / .42), rgb(5 8 24 / 0) 26%, rgb(5 8 24 / 0) 44%, rgb(5 8 24 / .86)); }
#boot.off { opacity: 0; pointer-events: none; }
.b-in { text-align: center; padding: 0 24px calc(38px + var(--sab)); display: grid; gap: 10px; justify-items: center; }
.b-w { font: 500 clamp(62px, 14vw, 138px)/.86 var(--D); letter-spacing: -.005em; color: #fff3d0; background: linear-gradient(#fff8e2 18%, #f3cd7c 56%, #b97f2c 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 26px rgb(0 0 0 / .75)); padding: .06em .05em .12em; }
.b-a { font: italic 400 clamp(20px, 4.4vw, 27px)/1.2 var(--T); color: #fff0c8; text-shadow: 0 1px 18px #000; text-wrap: balance; }
.b-go { display: grid; gap: 8px; justify-items: center; animation: lin .9s ease-out; margin-top: 6px; }
#goMain { min-height: 58px; padding: 0 46px 4px; background: var(--gold); color: var(--on); font: 500 30px var(--D); clip-path: var(--cut); transition: .25s; } #goMain:hover { background: #ffe1a0; transform: translateY(-2px); }
#goSong { color: var(--dim); max-width: 40ch; text-wrap: balance; text-shadow: 0 1px 12px #000; } #goAlt { color: var(--gold); padding: 8px 14px; font-weight: 500; } #goAlt:hover { color: #fff; }
.b-m { color: var(--dim); min-height: 1.4em; font-variant-numeric: tabular-nums lining-nums; text-shadow: 0 1px 10px #000; }

/* ---------- stanja ---------- */
#top, #deck, #lift, #names { transition: opacity .6s; }
body.booting #top, body.booting #deck, body.booting #lift, body.birth #top, body.birth #deck, body.birth #lift, body.kino #top, body.kino #deck, body.kino #lift { opacity: 0; pointer-events: none; }
body.birth #deck *, body.kino #deck *, body.birth #lift *, body.kino #lift *, body.booting #deck * { pointer-events: none !important; }
body.kino #card, body.birth #card { display: none; }
body.kino #names { opacity: .35; }
body.sheeted #lift { opacity: 0; pointer-events: none; }

@media (min-width: 900px) and (min-height: 480px) {
  .sheet { left: auto; right: 14px; top: 14px; bottom: 14px; width: 424px; max-height: none; height: auto !important; border: 1px solid rgb(232 192 116 / .36); border-radius: 6px; transform: translateX(110%); }
  .sheet.low { top: auto; max-height: calc(100vh - 28px); }
  .grab { display: none; } .sh-h { padding-top: 18px; }
  #scrim { display: none; }
  .volbox { display: flex; }
  #card { left: auto; right: 22px; bottom: 24px; width: 340px; margin: 0; }
  .nx { max-width: 500px; }
  #deck { padding-top: 46px; background: radial-gradient(ellipse 44% 100% at 50% 100%, rgb(5 8 24 / .92), rgb(5 8 24 / .62) 52%, rgb(5 8 24 / 0)), linear-gradient(rgb(5 8 24 / 0), rgb(5 8 24 / .55)); }
  #lift { top: 45%; right: 18px; }
  #lift button { width: 46px; height: 50px; }
  body.sheeted #lift { opacity: 1; pointer-events: auto; right: 452px; }
  body.sheeted #card { display: none; }
}
@media (min-width: 900px) and (max-width: 1250px) and (min-height: 521px) { #card { bottom: calc(var(--deckH) + 2px); } }
@media (max-height: 520px) {
  #deck { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'n c' 'v c' 'x c'; align-items: center; gap: 0 16px; padding-top: 20px; padding-bottom: calc(5px + var(--sab)); }
  .nowb { grid-area: n; text-align: left; max-width: none; } h1 button { -webkit-line-clamp: 1; margin: 0; } .by { font-size: 15px; } #subline { display: none; }
  .sv { grid-area: v; max-width: none; grid-template-columns: 36px minmax(0, 1fr) 36px; } #sves { height: 28px; } .ctl { grid-area: c; gap: 2px; } .nx { grid-area: x; justify-content: flex-start; max-width: none; min-height: 16px; } #nxt { padding: 0; font-size: 14px; }
  #play { width: 70px; height: 70px; } #pIc .ic { width: 22px; height: 22px; } .cb { width: 44px; height: 44px; }
  .sheet { left: auto; width: min(440px, 56vw); top: 0; max-height: none; height: 100% !important; transform: translateX(104%); border-left: 1px solid rgb(232 192 116 / .36); } .grab { display: none; }
  #lift { top: 40%; } #lift button { height: 34px; width: 38px; } #lift .ic { width: 18px; height: 18px; }
  #card { left: auto; width: 320px; bottom: calc(var(--deckH) + 2px); right: calc(64px + var(--sar)); padding: 3px 4px 3px 12px; } #card .cx { width: 38px; height: 38px; } #card b { font-size: 19px; }
  .b-in { gap: 4px; padding-bottom: 14px; } .b-w { font-size: 56px; } #goMain { min-height: 46px; font-size: 25px; } .b-a { font-size: 18px; } .b-go { grid-auto-flow: column; align-items: center; gap: 16px; } #goSong { max-width: 30ch; }
  .pw-grid { grid-template-columns: repeat(6, 1fr); gap: 5px; } .pw { padding: 8px 3px; } .pw i { display: none; } .pw b { font-size: 16px; } .pw-in { width: min(96vw, 820px); } .pw-in h2 { font-size: 28px; margin-bottom: 6px; }
  #potC { height: 130px; } .clk { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 380px) { .dests { grid-template-columns: 1fr 1fr; } .flows { grid-template-columns: repeat(3, 1fr); } .cb { width: 47px; height: 47px; } #play { width: 84px; height: 84px; } .acts { gap: 5px; } .kc b { font-size: 18px; } .kc i { font-size: 13px; } .kc { padding: 6px; gap: 7px; } }
@media (max-width: 560px) { .flows { grid-template-columns: repeat(3, 1fr); } .kbar { grid-template-columns: 112px 1fr 58px; } }
@media (prefers-reduced-motion: reduce) { *, #rose .rg, body.playing #rose .pt { animation: none !important; } }
