:root {
  --jam: #ffb85c;
  --pink: #ffcb4f;
  --blue: #ff861f;
  --cream: #fffaf2;
  --glass: rgba(25, 13, 7, 0.5);
  --glass-line: rgba(255, 255, 255, 0.14);
}
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body { background: #281509; color: var(--cream); font-family: var(--f-ui); user-select: none; -webkit-user-select: none; touch-action: none; }
#stage { position: fixed; inset: 0; }
#game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.display { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -0.01em; }
.label { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 40px rgba(42, 22, 10, .35), inset 0 1px 0 rgba(255, 255, 255,.08); }
.hot { color: var(--pink); text-shadow: 0 0 1px rgba(255, 231, 190, .9), 0 0 18px rgba(255, 203, 79, .6), 0 0 60px rgba(255, 184, 92, .45); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; color: #ffffff; background: linear-gradient(90deg, #ffaa3d, #ffb54d 55%, var(--pink)); box-shadow: 0 0 0 1px rgba(255, 227, 180, .45) inset, 0 0 36px rgba(255, 184, 92, .5); border-radius: 6px; transition: transform .15s var(--ease), box-shadow .25s; }
.btn:hover { box-shadow: 0 0 0 1px rgba(255, 242, 220, .8) inset, 0 0 56px rgba(255, 203, 79, .55); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255,.06); box-shadow: 0 0 0 1px rgba(255, 255, 255,.18) inset; }

#loading { position: fixed; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #7a521a, #1d0f07 70%); z-index: 50; text-align: center; }
#loading[hidden], #overNew[hidden], #mult[hidden], #beerBar[hidden] { display: none; }
#loading p { margin: 18px 0 0; color: rgba(255, 250, 242,.7); }
#loading .spin { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255, 255, 255,.12); border-top-color: var(--pink); animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

#hud { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 10; padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
#hud.is-on { opacity: 1; }
.hud__score { position: absolute; top: max(16px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); text-align: center; }
.hud__score b { display: block; font-size: clamp(64px, 12vmin, 118px); color: #ffffff; text-shadow: 0 4px 0 rgba(110, 73, 20, .45), 0 0 30px rgba(255, 203, 79, .45), 0 0 80px rgba(255, 184, 92, .4); }
.hud__score small { display: block; margin-top: 6px; color: rgba(255, 250, 242,.72); }
.hud__score small b { display: inline; font-size: 13px; color: var(--cream); text-shadow: none; font-family: var(--f-ui); font-weight: 700; }
#mult { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); padding: 8px 12px; border-radius: 6px; color: var(--pink); }
#world { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); padding: 8px 12px; border-radius: 6px; color: rgba(255, 250, 242,.85); }
.hud__jam { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(380px, 70vw); padding: 10px 0; pointer-events: auto; display: block; text-align: left; }
.jam__lbl { display: flex; justify-content: space-between; color: rgba(255, 250, 242,.75); margin-bottom: 6px; }
#jamBar { display: block; height: 16px; border-radius: 999px; padding: 3px; }
#jamFill { display: block; }
.hud__jam.is-ready .jam__lbl { color: #ffffff; }
.hud__jam.is-ready #jamHint { color: var(--blue); text-shadow: 0 0 12px rgba(255, 134, 31, .8); animation: blink 1s ease-in-out infinite; }
.how { margin: 12px 0 0; color: rgba(255, 250, 242,.6); line-height: 1.6; }
.how b { color: var(--blue); }
.how .k-touch { display: none; }
.is-touch .how .k-touch { display: inline; }
.is-touch .how .k-desk { display: none; }
#jamFill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb85c, #e0a12a 60%, #ff861f); transform-origin: left; transform: scaleX(0); transition: transform .15s var(--ease); box-shadow: 0 0 14px rgba(224, 161, 42, .6); }
#jamBar.is-full { animation: pulse .5s ease-in-out infinite; }
.hud__jam.is-ready #jamFill { animation: jamflash .5s steps(1) infinite; }
@keyframes jamflash { 0% { background: linear-gradient(90deg, #ffb85c, #e0a12a 60%, #ff861f); box-shadow: 0 0 14px rgba(224, 161, 42, .6); } 50% { background: linear-gradient(90deg, #ffffff, #ffe8bf 60%, #ffffff); box-shadow: 0 0 30px rgba(255, 255, 255, .95), 0 0 60px rgba(255, 134, 31, .8); } }
@keyframes pulse { 50% { box-shadow: 0 0 34px rgba(255, 134, 31, .8), inset 0 1px 0 rgba(255, 255, 255,.1); } }
#beerBar { position: absolute; left: 50%; bottom: max(78px, calc(env(safe-area-inset-bottom) + 60px)); transform: translateX(-50%); width: min(220px, 50vw); height: 8px; border-radius: 999px; padding: 2px; }
#beerFill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff2a14, #ffb01f); transform-origin: left; box-shadow: 0 0 14px rgba(255, 60, 30, .7); }
#beerBar.is-ending { animation: beerWarn .3s steps(1) infinite; }
@keyframes beerWarn { 0% { box-shadow: 0 0 26px rgba(255, 60, 30, .95); } 50% { box-shadow: none; opacity: .35; } }

#banner { position: fixed; left: 50%; top: 32%; transform: translate(-50%, -50%) scale(.9); text-align: center; opacity: 0; pointer-events: none; z-index: 12; transition: opacity .25s, transform .4s var(--ease); }
#banner.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#banner .label { display: block; color: var(--pink); margin-bottom: 8px; }
#banner b { display: block; font-size: clamp(44px, 9vmin, 96px); color: #ffffff; text-shadow: 0 6px 0 rgba(110, 73, 20, .45), 0 0 40px rgba(255, 203, 79, .55); }
#toasts { position: fixed; left: 50%; top: 46%; transform: translateX(-50%); pointer-events: none; z-index: 12; display: grid; gap: 6px; justify-items: center; }
#toasts .toast { position: static; left: auto; bottom: auto; z-index: auto; opacity: 1; transform: none; background: none; padding: 0; white-space: nowrap; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 4.5vmin, 40px); color: #ffffff; text-shadow: 0 3px 0 rgba(110, 73, 20, .4), 0 0 24px rgba(255, 203, 79, .5); animation: pop .35s var(--ease); transition: opacity .4s, transform .4s; }
#toasts .toast.is-out { opacity: 0; transform: translateY(-30px); }
#toasts .toast.near { color: #fff0a0; }
#toasts .toast.jam { color: #ffdf9a; }
#toasts .toast.blue { color: #ffdfa8; }
#toasts .toast.smash { color: #ffb47a; }
#toasts .toast.dim { font-size: 18px; color: rgba(255, 250, 242,.7); }
#toasts .toast.big { font-size: clamp(34px, 7vmin, 64px); }
.hud__tl > #trickFeed { padding: 0; display: grid; gap: 4px; justify-items: start; }
.tf { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; font-size: 17px; letter-spacing: .03em; color: #ffffff; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); padding: 3px 10px 3px 8px; border-radius: 4px; background: rgba(23, 12, 6, .55); border-left: 3px solid #ffc56b; white-space: nowrap; animation: tfIn .22s var(--ease); transition: opacity .45s, transform .45s; }
.tf.jam { border-left-color: #ffcb4f; color: #ffeed1; }
.tf.blue { border-left-color: #ff861f; color: #ffebc9; }
.tf.is-out { opacity: 0; transform: translateX(-14px); }
@keyframes tfIn { from { opacity: 0; transform: translateX(-18px); } }
.combo-pop { position: fixed; z-index: 12; pointer-events: none; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: clamp(30px, 5.5vmin, 52px); line-height: 1; color: #ffffff; -webkit-text-stroke: 3px #000000; paint-order: stroke fill; text-shadow: 0 3px 0 #000000; will-change: transform, opacity, filter; animation: comboPop 1.15s linear forwards; }
@keyframes comboPop {
  0% { opacity: 0; transform: translate(-50%, -70%) scale(.3) rotate(-10deg); filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); animation-timing-function: cubic-bezier(.18, 1.7, .4, 1); }
  24% { opacity: 1; transform: translate(-50%, -125%) scale(1.18) rotate(4deg); filter: drop-shadow(0 0 16px rgba(255, 255, 255, .95)) drop-shadow(0 0 30px rgba(255, 203, 79, .8)); animation-timing-function: ease-out; }
  42% { opacity: 1; transform: translate(-50%, -140%) scale(1) rotate(0deg); filter: drop-shadow(0 0 8px rgba(255, 203, 79, .7)) drop-shadow(0 0 0 rgba(255, 203, 79, 0)); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  100% { opacity: 0; transform: translate(-50%, -205%) scale(.92) rotate(0deg); filter: drop-shadow(0 0 0 rgba(255, 203, 79, 0)) drop-shadow(0 0 0 rgba(255, 203, 79, 0)); }
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

.panel { position: fixed; inset: 0; display: grid; place-items: center; z-index: 20; padding: 20px; }
.panel[hidden] { display: none; }
.panel__box { width: min(520px, 100%); padding: 30px 28px; border-radius: 14px; text-align: center; pointer-events: auto; }
.kick { display: inline-block; padding: 6px 12px; color: #ffffff; background: linear-gradient(90deg, #ffaa3d, var(--pink)); box-shadow: 0 0 26px rgba(255, 184, 92, .55); letter-spacing: .2em; border-radius: 4px; }
.logo { margin: 18px 0 6px; font-size: clamp(56px, 13vmin, 112px); color: #ffffff; text-shadow: 0 6px 0 rgba(110, 73, 20, .5), 0 0 40px rgba(255, 203, 79, .35); }
.logo .hot { display: inline-block; }
.tap { margin: 22px 0 0; font-size: 18px; color: rgba(255, 250, 242,.85); }
.tap b { color: #ffffff; }
.blink { animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.stat { display: grid; gap: 4px; }
.stat b { font-size: 34px; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; line-height: 1; }
.stat .label { color: rgba(255, 250, 242,.6); }
#nameBtn { padding: 10px 14px; border-radius: 6px; color: var(--cream); background: rgba(255, 255, 255,.06); box-shadow: 0 0 0 1px rgba(255, 255, 255,.16) inset; }
#nameBtn::before { content: "\270E  "; opacity: .6; }
#nameForm { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
#nameForm[hidden] { display: none; }
#nameIn { width: 200px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0,.35); color: #ffffff; font: inherit; }
.over__score { font-size: clamp(72px, 16vmin, 140px); color: #ffffff; text-shadow: 0 6px 0 rgba(110, 73, 20, .5), 0 0 40px rgba(255, 203, 79, .45); margin: 14px 0 0; }
#overNew { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 4px; color: #361c0d; background: linear-gradient(90deg, #ffd23f, #ff8a1f); box-shadow: 0 0 30px rgba(255, 210, 63, .6); animation: pop .4s var(--ease); }
#overStats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--glass-line); }
#overStats > div { display: grid; gap: 4px; }
#overStats b { font-size: 22px; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; }
#overStats .label { color: rgba(255, 250, 242,.55); font-size: 10px; }

.corner { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); display: flex; gap: 8px; z-index: 30; }
.corner button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #ffffff; }
.corner svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#mute.is-off { color: rgba(255, 250, 242,.4); }
#mute .on { display: block; }
#mute .off { display: none; }
#mute.is-off .on { display: none; }
#mute.is-off .off { display: block; }
#fps { display: none; }
body.is-fs .corner #fsBtn { display: none; }
#endRun { display: none; }
html[data-screen="game"] #endRun { display: grid; }
@media (max-width: 600px) { body.is-fs .hud__jam { width: calc(100vw - 128px); } }
#settings { position: fixed; top: 66px; right: max(14px, env(safe-area-inset-right)); width: 250px; padding: 18px; border-radius: 12px; z-index: 31; display: grid; gap: 14px; }
#settings[hidden] { display: none; }
#settings label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
#settings input { width: 20px; height: 20px; accent-color: var(--pink); }
#settings .kbd { color: rgba(255, 250, 242,.55); font-size: 12px; line-height: 1.6; }
#settings kbd { font-family: inherit; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255,.1); }
.back { position: fixed; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); z-index: 30; padding: 10px 14px; border-radius: 999px; color: rgba(255, 250, 242,.85); }
#status { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; z-index: 40; color: #ffb4b4; }
#status[hidden] { display: none; }
#hud.is-on ~ .back { display: none; }
@media (max-width: 600px) {
  .hud__jam { width: calc(100vw - 48px); }
  #beerBar { width: calc(100vw - 120px); }
  .hud__score b { font-size: 60px; }
  #world { bottom: auto; top: max(16px, env(safe-area-inset-top)); font-size: 10px; }
  #beerBar { bottom: max(96px, calc(env(safe-area-inset-bottom) + 82px)); }
  .panel__box { padding: 24px 18px; }
  #overStats { grid-template-columns: repeat(3, 1fr); }
  #settings { width: calc(100vw - 28px); }
}
.hud__jam.is-dashing #jamBar { box-shadow: 0 0 40px rgba(255, 134, 31, .9); }
#game.is-mirror { transform: scaleX(-1); }
.is-embed .back { display: none; }
.hud__tl { position: absolute; top: max(16px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); display: grid; gap: 6px; justify-items: start; }
.hud__tl > * { padding: 8px 12px; border-radius: 6px; }
#modeTag { color: var(--blue); }
#timer { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(110px, calc(env(safe-area-inset-right) + 110px)); padding: 8px 14px; border-radius: 8px; font-size: 34px; color: #ffffff; }
#fuelBar { position: absolute; left: 50%; bottom: max(78px, calc(env(safe-area-inset-bottom) + 60px)); transform: translateX(-50%); width: min(300px, 64vw); height: 22px; border-radius: 999px; overflow: hidden; }
#fuelFill { position: absolute; inset: 0; background: linear-gradient(90deg, #ff2a14, #ffb01f); transform-origin: left; box-shadow: 0 0 18px rgba(255, 80, 30, .7); }
#fuelTxt { position: relative; display: block; text-align: center; line-height: 22px; color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0,.6); }
.modes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.mode { display: grid; gap: 2px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255,.06); box-shadow: 0 0 0 1px rgba(255, 255, 255,.14) inset; color: rgba(255, 250, 242,.85); font-size: 13px; transition: background .2s, box-shadow .2s; }
.mode b { font-weight: 700; }
.mode i { font-style: normal; font-size: 11px; color: rgba(255, 250, 242,.55); }
.mode.is-on { color: #ffffff; background: linear-gradient(90deg, rgba(255, 170, 61,.55), rgba(255, 203, 79,.45)); box-shadow: 0 0 0 1px rgba(255, 242, 220,.6) inset, 0 0 22px rgba(255, 184, 92,.45); }
.mode.is-on i { color: rgba(255, 255, 255,.85); }
.mode.is-soon { opacity: .5; cursor: not-allowed; }
.blurb { margin: 10px auto 0; max-width: 380px; color: rgba(255, 250, 242,.72); font-size: 14px; min-height: 2.6em; }
.chip { padding: 10px 14px; border-radius: 6px; color: var(--cream); background: rgba(255, 255, 255,.06); box-shadow: 0 0 0 1px rgba(255, 255, 255,.16) inset; }
.chip:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255,.4) inset; }
#nameBtn.is-empty { color: var(--pink); box-shadow: 0 0 0 1px rgba(255, 203, 79,.5) inset; }
#nameForm { display: block; margin-top: 12px; }
.nf-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nf-msg { margin: 8px 0 0; font-size: 12.5px; color: rgba(255, 250, 242,.65); }
.nf-msg.is-warn { color: #ffb4b4; }
.over__rank { margin: 12px 0 0; color: rgba(255, 250, 242,.7); }
.over__rank.is-ok { color: #9ff5c9; }
.over__rank.is-warn { color: #ffb4b4; }
.over__rank.is-dim { color: rgba(255, 250, 242,.55); }
.panel--scroll { align-items: start; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: max(20px, env(safe-area-inset-top)); z-index: 25; }
.sk-box { position: relative; width: min(860px, 100%); text-align: left; margin: 0 auto 40px; }
.sk-x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 8px; font-size: 26px; line-height: 1; color: #ffffff; background: rgba(255, 255, 255,.08); }
.sk-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding-right: 40px; }
.sk-head h2 { font-size: clamp(38px, 6vw, 60px); margin: 6px 0 8px; color: #ffffff; }
.sk-head p { margin: 0; color: rgba(255, 250, 242,.72); font-size: 14.5px; }
.sk-logo { position: relative; padding: 14px 16px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #3a2a1c, #120d09 75%); box-shadow: 0 0 0 1px rgba(255, 178, 62,.25) inset; overflow: hidden; }
.sk-logo .miner-logo__sub { font-size: 18px; margin-bottom: 2px; }
.sk-logo .miner-logo__grid, .sk-logo .miner-logo__miner { font-size: 44px; }
.sk-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0,0) 0, rgba(0, 0, 0,0) 2px, rgba(0, 0, 0,.32) 3px); mix-blend-mode: multiply; }
.sk-wallet { display: flex; align-items: center; gap: 10px; margin: 20px 0 6px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0,.25); box-shadow: 0 0 0 1px rgba(255, 255, 255,.08) inset; font-size: 14px; }
.sk-wallet .dot { width: 8px; height: 8px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 10px #3dff8a; }
.sk-wallet.is-off { display: grid; gap: 10px; }
.sk-wallets { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-link { color: var(--blue); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; margin-left: auto; }
.sk-fine { color: rgba(255, 250, 242,.6); font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.sk-fine a { color: var(--blue); }
.sk-fine.is-warn { color: #ffb4b4; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin: 16px 0 10px; }
.sk-card { display: grid; justify-items: center; gap: 4px; padding: 12px 8px 12px; border-radius: 14px; background: rgba(38, 21, 11,.6); border: 2px solid rgba(255, 255, 255,.12); color: var(--cream); text-align: center; transition: transform .15s var(--ease); }
.sk-card:hover { transform: translateY(-2px); }
.sk-card.is-eq { border-color: #ffb23e !important; box-shadow: 0 0 0 1px #ffb23e inset, 0 0 22px rgba(255, 178, 62,.45) !important; }
.sk-card.is-locked { opacity: .45; filter: grayscale(.4); cursor: default; }
.sk-prev { display: grid; place-items: center; width: 84px; height: 96px; border-radius: 10px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--g) 35%, transparent), transparent 70%); }
.sk-gav { width: 60px; height: 84px; image-rendering: pixelated; }
.sk-name { font-family: "Passion One", var(--f-display); font-size: 18px; text-transform: uppercase; line-height: 1; }
.sk-stars { font-size: 12px; letter-spacing: 1px; line-height: 1; }
.sk-band { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sk-badge { margin-top: 4px; padding: 3px 8px; border-radius: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #e1d9cc; background: rgba(225, 217, 204,.14); box-shadow: 0 0 0 1px rgba(225, 217, 204,.5) inset; }
.sk-badge.is-eq { color: #1e1815; background: #e1d9cc; }
.sk-badge.is-lock { color: rgba(255, 250, 242,.6); background: none; }
.sk-empty { margin: 14px 0; padding: 18px; border-radius: 12px; background: rgba(255, 178, 62,.07); box-shadow: 0 0 0 1px rgba(255, 178, 62,.25) inset; }
.sk-empty b { font-size: 30px; color: #ffb23e; }
.sk-empty p { margin: 8px 0 12px; color: rgba(255, 250, 242,.8); font-size: 14px; }
.sk-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-sec { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--glass-line); }
.sk-sec h3 { font-size: 36px; margin: 6px 0 4px; color: #ffffff; }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.og-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0,.28); box-shadow: 0 0 0 1px rgba(255, 255, 255,.1) inset; }
.og-art { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 720 / 1056; box-shadow: 0 8px 22px rgba(0, 0, 0,.5); animation: ogtilt 6s ease-in-out infinite; }
.og-art img { width: 100%; height: 100%; object-fit: cover; }
.og-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255,.35) 45%, transparent 60%); background-size: 250% 100%; animation: ogshine 3.5s linear infinite; mix-blend-mode: soft-light; }
@keyframes ogshine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes ogtilt { 50% { transform: perspective(500px) rotateY(10deg) rotateX(-4deg); } }
.og-meta b { display: block; font-family: "Passion One", var(--f-display); font-size: 22px; text-transform: uppercase; margin: 4px 0 2px; }
.og-meta ul { margin: 8px 0 0; padding-left: 16px; font-size: 12.5px; color: rgba(255, 250, 242,.75); }
.og-bronze .label { color: #e39b5c; } .og-silver .label { color: #e1d9cc; } .og-gold .label { color: #ffd23f; } .og-diamond .label { color: #ffc38f; }
@media (max-width: 600px) {
  .sk-head { grid-template-columns: 1fr; }
  .sk-logo { justify-self: start; }
  #timer { right: 16px; top: auto; bottom: max(96px, calc(env(safe-area-inset-bottom) + 82px)); font-size: 26px; }
  #fuelBar { width: calc(100vw - 48px); }
  .og-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .hud__tl { top: auto; bottom: max(64px, calc(env(safe-area-inset-bottom) + 50px)); } #hud #holderTag { position: fixed; top: calc(max(16px, env(safe-area-inset-top)) + 42px); left: max(16px, env(safe-area-inset-left)); font-size: 13px !important; padding: 8px 12px !important; } }
@media (max-height: 560px) {
  .panel { align-items: start; overflow-y: auto; padding: 10px; }
  .panel__box { padding: 14px 16px; width: min(620px, 100%); }
  .kick { padding: 4px 10px; }
  .logo { font-size: 42px; margin: 8px 0 2px; }
  .modes { margin-top: 8px; gap: 4px; }
  .mode { padding: 5px 9px; font-size: 12px; }
  .blurb { margin-top: 6px; min-height: 0; font-size: 12.5px; }
  .tap { margin-top: 8px; font-size: 15px; }
  .how { display: none; }
  .row { margin-top: 8px; }
  .stat b { font-size: 24px; }
  .over__score { font-size: 60px; margin-top: 6px; }
  #overStats { margin-top: 10px; padding-top: 10px; gap: 6px; }
  #overStats b { font-size: 18px; }
  .over__rank { margin-top: 6px; }
  .hud__score b { font-size: 52px; }
}
@media (max-height: 420px) {
  .panel__box > .row:has(.stat) { display: none; }
  .logo { font-size: 34px; }
  #overStats { display: none; }
}
.pg-btn { display: inline-grid; }
.pg-badge { display: grid; gap: 4px; justify-items: center; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255,.05); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent) inset; }
.pg-badge b { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1; color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
.pg-badge i { display: block; width: 90px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255,.1); overflow: hidden; }
.pg-badge em { display: block; height: 100%; background: var(--c); }
.pg-badge small { font-size: 10.5px; color: rgba(255, 250, 242,.6); letter-spacing: .08em; }
.pg-head h2 { font-size: clamp(38px, 6vw, 60px); margin: 6px 0 6px; color: #ffffff; }
.pg-head p { margin: 0; color: rgba(255, 250, 242,.72); font-size: 14px; }
.pg-xp { margin-top: 12px; max-width: 520px; }
.pg-xp__bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255,.08); box-shadow: 0 0 0 1px rgba(255, 255, 255,.1) inset; overflow: hidden; }
.pg-xp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #ffffff), var(--c)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent); }
.pg-xp__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 250, 242,.55); }
.pg-xp__ends span:first-child { color: var(--c); }
.pg-tiers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pg-tiers span { padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: rgba(255, 250, 242,.4); box-shadow: 0 0 0 1px rgba(255, 255, 255,.1) inset; }
.pg-tiers .is-done { color: var(--c); }
.pg-tiers .is-on { color: #281509; background: var(--c); box-shadow: 0 0 18px var(--c); }
.pg-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line); }
.pg-stats div { display: grid; gap: 4px; }
.pg-stats b { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 24px; }
.pg-stats .label { color: rgba(255, 250, 242,.55); font-size: 10px; }
.pg-h3 { font-size: 30px; margin: 0 0 10px; color: #ffffff; }
.pg-h3 small { font-size: 18px; color: rgba(255, 250, 242,.5); }
.pg-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.pg-ach div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0,.25); box-shadow: 0 0 0 1px rgba(255, 255, 255,.08) inset; opacity: .45; }
.pg-ach div.is-got { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 210, 63,.5) inset, 0 0 16px rgba(255, 210, 63,.12); }
.pg-ach b { font-size: 14px; }
.pg-ach div.is-got b::before { content: "🏆 "; }
.pg-ach span { font-size: 12.5px; color: rgba(255, 250, 242,.65); }
@media (max-width: 600px) { .pg-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-height: 500px) { .blurb { display: none; } .panel { scrollbar-width: none; } .panel::-webkit-scrollbar { display: none; } .kick { display: none; } .logo { margin-top: 0; } }
#holderTag { font-size: 15px !important; padding: 10px 16px !important; color: #2a1600; background: linear-gradient(180deg, #ffe07a, #f5b800); border: 1px solid #fff2b3; box-shadow: 0 0 18px rgba(255, 196, 40, .75), 0 0 42px rgba(255, 140, 0, .35); letter-spacing: .06em; animation: holderPulse 1s ease-in-out infinite; font-variant-numeric: tabular-nums; }
#holderTag.is-ending { animation-duration: .35s; }
@keyframes holderPulse { 50% { box-shadow: 0 0 28px rgba(255, 210, 60, 1), 0 0 60px rgba(255, 140, 0, .55); transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { #holderTag { animation: none; } }
#onlineTag { display: none !important; align-items: center; gap: 7px; color: rgba(255, 250, 242, .92); font-variant-numeric: tabular-nums; }
#onlineTag i { width: 8px; height: 8px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 8px #3dff8a; }
#surgeHud { position: absolute; top: calc(max(14px, env(safe-area-inset-top)) + 60px); right: max(14px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px; color: rgba(255, 250, 242, .92); font-variant-numeric: tabular-nums; }
#surgeHud b { font-size: 24px; line-height: 1; color: rgba(255, 250, 242, .55); }
#surgeHud > .label { display: grid; gap: 2px; font-size: 10.5px; line-height: 1.2; text-align: right; }
#surgeOn::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 8px #3dff8a; vertical-align: 1px; }
#surgeNext { color: rgba(255, 250, 242, .55); }
#surgeHud.is-hot { box-shadow: 0 0 0 1px rgba(255, 225, 158, .7) inset, 0 0 22px rgba(255, 203, 79, .45); }
#surgeHud.is-hot b { color: #ffe19e; text-shadow: 0 0 14px rgba(255, 203, 79, .8); }
@media (max-width: 600px) { #surgeHud { gap: 8px; padding: 6px 10px; } #surgeHud b { font-size: 20px; } #surgeHud > .label { font-size: 9.5px; } }
#toasts .toast.tip { background: rgba(23, 12, 6, .82); color: #ffffff; border: 1px solid rgba(255, 197, 107, .6); letter-spacing: .08em; font-size: 15px; padding: 8px 14px; border-radius: 8px; text-shadow: none; }

.tut { position: fixed; left: 50%; bottom: max(120px, calc(env(safe-area-inset-bottom) + 110px)); transform: translateX(-50%); z-index: 60; width: min(560px, calc(100vw - 32px)); padding: 16px 18px 14px; border-radius: 14px; background: rgba(35, 18, 8, .92); border: 1px solid rgba(255, 197, 107, .55); box-shadow: 0 10px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 197, 107, .25); color: #fff9ef; animation: pop .3s var(--ease); }
.tut[hidden] { display: none; }
.tut__who { margin: 0 0 4px; color: #ffe19e; font-size: 11px; }
.tut__txt { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.tut__row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tut.tut--top { top: max(170px, calc(env(safe-area-inset-top) + 160px)); bottom: auto; }
.tut-focus { position: relative; border-radius: 12px; outline: 2px solid #ffe19e; outline-offset: 6px; animation: tutFocus 1.1s ease-in-out infinite; }
.hud__score.tut-focus, .hud__jam.tut-focus { position: absolute; }
@keyframes tutFocus { 0%, 100% { outline-color: rgba(255, 225, 158, .95); box-shadow: 0 0 0 0 rgba(255, 225, 158, .45); } 50% { outline-color: rgba(255, 197, 107, .7); box-shadow: 0 0 0 10px rgba(255, 225, 158, 0); } }
.tut-task { position: fixed; left: 50%; top: max(170px, calc(env(safe-area-inset-top) + 160px)); transform: translateX(-50%); z-index: 59; padding: 8px 14px; border-radius: 999px; background: rgba(35, 18, 8, .85); border: 1px solid rgba(255, 225, 158, .6); color: #ffe19e; font-size: 13px; pointer-events: none; animation: tutFocus 1.1s ease-in-out infinite; }
.tut-task[hidden] { display: none; }
.iris { position: fixed; inset: 0; z-index: 55; pointer-events: none; background: #000000; }
.iris[hidden] { display: none; }
#jamBar.is-full { box-shadow: 0 0 14px rgba(255, 197, 123, .8), 0 0 30px rgba(255, 134, 31, .35); }
@media (max-width: 600px) { .tut { bottom: max(150px, calc(env(safe-area-inset-bottom) + 140px)); } .tut__txt { font-size: 15px; } }
