/* Naga Elyndra */
body { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body.playing #top { display: none; }
.screen { flex: 1; min-height: 0; overflow-y: auto; }
.logo-snake { display: flex; justify-content: center; align-items: center; height: 56px; margin-top: 4px; }
.logo-snake i { width: 26px; height: 26px; border-radius: 50%; margin-left: -8px; background: radial-gradient(circle at 35% 30%, #ffd0ea, #ff8fc8 45%, #7b5cff); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.logo-snake i:nth-child(odd) { transform: translateY(6px); }
.logo-snake i.head { width: 36px; height: 36px; position: relative; }
.logo-snake i.head::before, .logo-snake i.head::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 2px 0 0 2px #120d2e; }
.logo-snake i.head::before { left: 8px; } .logo-snake i.head::after { right: 8px; }
.skins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.skin { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; border: 1px solid rgba(205, 184, 255, .2); background: rgba(0, 0, 0, .2); font-size: 12px; }
.skin i { width: 40px; height: 14px; border-radius: 8px; }
.skin.on { border-color: var(--kv-pink); box-shadow: 0 0 12px rgba(255, 143, 200, .35); }
.skin.locked { opacity: .4; }
.skin small { color: var(--kv-muted); font-size: 10px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bar b { font-size: 18px; }
.levels { display: grid; gap: 8px; }
.lvl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(205, 184, 255, .2); background: linear-gradient(150deg, var(--kv-panel), var(--kv-navy2)); text-align: left; }
.lvl.locked { opacity: .4; }
.lvl.done { border-color: rgba(255, 215, 122, .5); }
.lvl .num { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(255, 255, 255, .08); }
.lvl.done .num { background: var(--kv-gold); color: #2a1b00; }
.lvl small { display: block; color: var(--kv-muted); }

#game { position: relative; overflow: hidden; touch-action: none; }
#arena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ghud { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
.ghud button { pointer-events: auto; }
.gstat { background: rgba(11, 16, 38, .7); border-radius: 12px; padding: 4px 12px; }
.gstat b { display: block; font-size: 20px; font-weight: 900; line-height: 1.1; }
.gstat small { color: var(--kv-muted); font-size: 11px; }
.board { margin: 0 0 0 auto; padding: 6px 10px 6px 28px; background: rgba(11, 16, 38, .7); border-radius: 12px; font-size: 12px; min-width: 130px; }
.board li { color: #dcdcf5; }
.board li.me { color: var(--kv-pink); font-weight: 800; }
.goal { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); background: rgba(11, 16, 38, .78); border: 1px solid rgba(255, 143, 200, .4); border-radius: 12px; padding: 6px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.boost { position: absolute; right: 18px; bottom: 22px; width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: radial-gradient(circle at 35% 30%, #ffd77a, #ff6a88 60%, #7b5cff); font-size: 30px; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.boost.on { transform: scale(.92); box-shadow: 0 0 24px #ffd77a; }
@media (pointer: fine) { .boost { display: none; } }
.rules-text { text-align: left; font-size: 14px; color: #dcdcf5; }
.rules-text li { margin: 4px 0; }
