/* ===================== EÓNICA — estilos ===================== */
:root { --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --bg: #12101c; --panel: rgba(18, 16, 30, 0.94); --panel2: #1e1a30; --line: #3a3358; --txt: #ece8ff; --dim: #a39cc4; --acc: #ffd35a; --acc2: #6ae0ff; --bad: #ff5a6a; --good: #6aff9a; --btn: 1; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #000; color: var(--txt); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overscroll-behavior: none; -webkit-text-size-adjust: 100%; }
canvas#screen { position: fixed; left: 0; top: 0; image-rendering: -webkit-optimize-contrast; image-rendering: -moz-crisp-edges; image-rendering: pixelated; z-index: 1; }
canvas#overlay { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2; }
button { font-family: inherit; color: inherit; }
.hidden { display: none !important; }
/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#hud .tap { pointer-events: auto; }
#hud-tl { position: absolute; left: calc(8px + var(--sl)); top: calc(6px + var(--st)); width: 190px; }
.bar { position: relative; height: 11px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; margin-bottom: 3px; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; transition: width .15s; }
.bar b { position: absolute; left: 6px; top: -1px; font-size: 9px; font-weight: 700; text-shadow: 0 1px 2px #000; letter-spacing: .3px; }
#bar-hp i { background: linear-gradient(#ff6a6a, #c82a3a); } #bar-mp i { background: linear-gradient(#7aa8ff, #3a52c8); } #bar-sta i { background: linear-gradient(#9aff7a, #3aa83a); }
#bar-hp { height: 14px; } #bar-hp b { font-size: 10px; top: 0; }
#bar-xp { height: 4px; margin-top: 1px; } #bar-xp i { background: #ffd35a; }
#surv { display: flex; gap: 5px; flex-wrap: wrap; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px #000; margin-top: 2px; }
#surv span { background: rgba(0,0,0,.45); padding: 1px 5px; border-radius: 8px; }
#surv .warn { color: #ff8080; animation: pulse 1s infinite; }
#lvl { position: absolute; left: -2px; top: -2px; }
#stat-icons { display: flex; gap: 3px; margin-top: 3px; flex-wrap: wrap; }
#stat-icons span { font-size: 9px; padding: 1px 4px; border-radius: 6px; background: rgba(0,0,0,.5); border: 1px solid; }
#hud-top { position: absolute; left: 50%; top: calc(4px + var(--st)); transform: translateX(-50%); text-align: center; font-size: 11px; font-weight: 700; text-shadow: 0 1px 3px #000; white-space: nowrap; }
#clock { background: rgba(0,0,0,.4); padding: 2px 10px; border-radius: 10px; display: inline-block; }
#hud-tr { position: absolute; right: calc(8px + var(--sr)); top: calc(6px + var(--st)); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#minimap { width: 92px; height: 92px; border-radius: 10px; border: 2px solid rgba(255,255,255,.35); background: #000; image-rendering: pixelated; }
#gold { font-weight: 800; font-size: 12px; color: var(--acc); text-shadow: 0 1px 2px #000; background: rgba(0,0,0,.45); padding: 1px 8px; border-radius: 8px; }
#topbtns { display: flex; gap: 5px; }
.hbtn { pointer-events: auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(20,16,36,.7); font-size: 17px; display: flex; align-items: center; justify-content: center; }
.hbtn:active { background: rgba(255,211,90,.4); }
#quest-track { position: absolute; left: calc(8px + var(--sl)); top: calc(136px + var(--st)); width: 200px; font-size: 10.5px; text-align: left; text-shadow: 0 1px 2px #000; pointer-events: auto; max-height: 52px; overflow: hidden; background: rgba(0,0,0,.25); border-radius: 8px; padding: 2px 6px; }
#quest-track:empty { display: none; }
#quest-track .qn { color: var(--acc); font-weight: 800; }
#boss-bar { position: absolute; left: 50%; top: calc(26px + var(--st)); transform: translateX(-50%); width: min(420px, 50vw); text-align: center; }
#boss-bar .nm { font-size: 12px; font-weight: 800; color: #ffb0b0; text-shadow: 0 1px 3px #000; letter-spacing: .5px; }
#boss-bar .bar { height: 10px; border-color: #ff8080; } #boss-bar .bar i { background: linear-gradient(#ff5050, #9a1020); }
#hotbar { position: absolute; left: 50%; bottom: calc(6px + var(--sb)); transform: translateX(-50%); display: flex; gap: 3px; pointer-events: auto; }
.hs { position: relative; width: 38px; height: 38px; border-radius: 8px; background: rgba(10,8,20,.6); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.hs.sel { border: 2px solid var(--acc); background: rgba(60,50,20,.65); box-shadow: 0 0 8px rgba(255,211,90,.6); }
.hs img { width: 32px; height: 32px; image-rendering: pixelated; pointer-events: none; }
.hs .n { position: absolute; right: 2px; bottom: 0; font-size: 9px; font-weight: 800; text-shadow: 0 0 2px #000, 0 0 2px #000; pointer-events: none; }
.hs .k { position: absolute; left: 2px; top: 0; font-size: 8px; opacity: .55; pointer-events: none; }
.hs .dur { position: absolute; left: 3px; right: 3px; bottom: 2px; height: 2px; background: #333; } .hs .dur i { display: block; height: 100%; background: #6aff9a; }
#held-name { position: absolute; left: 50%; bottom: calc(50px + var(--sb)); transform: translateX(-50%); font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
#pet-hud { position: absolute; left: calc(8px + var(--sl)); top: calc(96px + var(--st)); display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.4); padding: 3px 8px 3px 3px; border-radius: 10px; pointer-events: auto; }
#pet-hud img { width: 30px; height: 30px; image-rendering: pixelated; }
#pet-hud .bar { width: 80px; height: 7px; margin: 2px 0 0; } #pet-hud .bar i { background: linear-gradient(#6ae0ff, #2a7ac8); }
#pet-hud small { font-size: 10px; font-weight: 700; }
#toasts { position: absolute; left: calc(8px + var(--sl)); bottom: calc(132px + var(--sb)); display: flex; flex-direction: column; gap: 3px; max-width: 42vw; }
.toast { background: rgba(10,8,20,.82); border-left: 3px solid var(--acc2); padding: 4px 9px; border-radius: 6px; font-size: 11.5px; animation: tin .25s ease-out; }
.toast.warn { border-color: var(--bad); } .toast.quest { border-color: var(--acc); } .toast.skill { border-color: var(--good); } .toast.pick { border-color: #c0c0c0; display: flex; align-items: center; gap: 6px; }
.toast img { width: 20px; height: 20px; image-rendering: pixelated; }
#banner { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; opacity: 0; transition: opacity .4s; width: 90vw; }
#banner h2 { margin: 0; font-size: 26px; font-weight: 900; color: var(--acc); text-shadow: 0 2px 0 #4a3010, 0 0 18px rgba(255,200,80,.55); letter-spacing: .5px; }
#banner p { margin: 4px 0 0; font-size: 13px; color: #fff; text-shadow: 0 1px 3px #000; }
#areaname { position: absolute; left: 50%; top: 16%; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .6s; pointer-events: none; }
#areaname h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: 2px; text-shadow: 0 2px 6px #000; } #areaname small { color: var(--dim); font-size: 11px; text-shadow: 0 1px 3px #000; }
#hint { position: absolute; left: 50%; bottom: calc(52px + var(--sb)); transform: translateX(-50%); max-width: min(560px, 70vw); background: rgba(10,8,24,.88); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 12px; text-align: center; opacity: 0; transition: opacity .3s; }
#flash { position: fixed; inset: 0; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .35s; }
#hurtv { position: fixed; inset: 0; pointer-events: none; z-index: 4; box-shadow: inset 0 0 70px rgba(255,0,0,.6); opacity: 0; transition: opacity .3s; }
/* ---------- controles táctiles ---------- */
#touch { position: fixed; inset: 0; z-index: 7; pointer-events: none; display: none; }
body.is-touch #touch { display: block; }
#stick-zone { position: absolute; left: 0; top: 18%; width: 44%; bottom: 0; pointer-events: auto; }
#stick-base { position: fixed; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.28); opacity: 0; pointer-events: none; }
#stick-knob { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.6); }
#stick-hint { position: absolute; left: calc(40px + var(--sl)); bottom: calc(40px + var(--sb)); width: 90px; height: 90px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); pointer-events: none; }
body.stick-on #stick-hint { display: none; }
.tb { position: absolute; pointer-events: auto; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); background: rgba(20,16,36,.55); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 11px; line-height: 1; text-shadow: 0 1px 2px #000; }
.tb.on { background: rgba(255,211,90,.55); transform: scale(.94); }
.tb span { font-size: 19px; margin-bottom: 1px; }
.tb small { font-size: 8.5px; font-weight: 700; letter-spacing: .2px; }
#b-atk { right: calc(16px + var(--sr)); bottom: calc(18px + var(--sb)); width: calc(78px * var(--btn)); height: calc(78px * var(--btn)); background: rgba(160,40,50,.55); }
#b-atk span { font-size: 26px; }
#b-esp { right: calc(104px * var(--btn) + var(--sr)); bottom: calc(12px + var(--sb)); width: calc(56px * var(--btn)); height: calc(56px * var(--btn)); background: rgba(150,90,20,.55); }
#b-dodge { right: calc(20px + var(--sr)); bottom: calc(106px * var(--btn) + var(--sb)); width: calc(56px * var(--btn)); height: calc(56px * var(--btn)); background: rgba(40,120,90,.55); }
#b-def { right: calc(86px * var(--btn) + var(--sr)); bottom: calc(80px * var(--btn) + var(--sb)); width: calc(54px * var(--btn)); height: calc(54px * var(--btn)); background: rgba(50,80,160,.55); }
#b-act { right: calc(166px * var(--btn) + var(--sr)); bottom: calc(44px * var(--btn) + var(--sb)); width: calc(58px * var(--btn)); height: calc(58px * var(--btn)); background: rgba(200,170,60,.5); }
#b-mag { right: calc(152px * var(--btn) + var(--sr)); bottom: calc(112px * var(--btn) + var(--sb)); width: calc(48px * var(--btn)); height: calc(48px * var(--btn)); background: rgba(110,60,170,.55); }
#b-act small { max-width: 54px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#small-btns { position: absolute; right: calc(10px + var(--sr)); top: calc(150px + var(--st)); display: flex; gap: 5px; pointer-events: auto; }
.sb { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(20,16,36,.6); font-size: 17px; display: flex; align-items: center; justify-content: center; pointer-events: auto; position: relative; }
.sb small { position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%); font-size: 8px; font-weight: 700; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.sb:active { background: rgba(255,211,90,.45); }
/* ---------- paneles ---------- */
#ui { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
#ui > * { pointer-events: auto; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,3,10,.55); }
.panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(820px, calc(100vw - 20px - var(--sl) - var(--sr))); height: min(560px, calc(100vh - 16px)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.panel.small { width: min(520px, 94vw); height: auto; max-height: calc(100vh - 20px); }
.ptabs { display: flex; gap: 2px; padding: 6px 6px 0; background: #16132a; overflow-x: auto; flex-shrink: 0; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { padding: 7px 11px; border-radius: 9px 9px 0 0; background: transparent; border: none; font-size: 12.5px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.ptab.on { background: var(--panel2); color: var(--acc); }
.pclose { margin-left: auto; padding: 4px 12px; background: #3a2030; border: none; border-radius: 8px; font-size: 15px; font-weight: 800; color: #ffb0c0; flex-shrink: 0; }
.ptabs .pclose { position: -webkit-sticky; position: sticky; right: 0; margin-bottom: 4px; box-shadow: -10px 0 10px #16132a; z-index: 2; }
.pbody { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 10px; background: var(--panel2); touch-action: pan-y; }
.phead { padding: 9px 12px; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.cols { display: flex; gap: 10px; height: 100%; }
.cols > .c1 { flex: 1.25; min-width: 0; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.cols > .c2 { flex: 1; min-width: 0; overflow: auto; -webkit-overflow-scrolling: touch; background: rgba(0,0,0,.2); border-radius: 10px; padding: 8px; touch-action: pan-y; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.slot { position: relative; aspect-ratio: 1; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid #3a3358; display: flex; align-items: center; justify-content: center; }
.slot.hot { border-color: #6a5a20; } .slot.sel { border: 2px solid var(--acc); background: rgba(80,60,10,.5); } .slot.mark { border-color: var(--acc2); }
.slot img { width: 80%; height: 80%; image-rendering: pixelated; pointer-events: none; }
.slot .n { position: absolute; right: 3px; bottom: 1px; font-size: 10px; font-weight: 800; text-shadow: 0 0 3px #000; pointer-events: none; }
.slot .q { position: absolute; left: 3px; top: 2px; width: 6px; height: 6px; border-radius: 50%; }
.slot .out { position: absolute; left: 2px; top: 1px; font-size: 9px; }
.sec { font-size: 11px; color: var(--dim); font-weight: 800; letter-spacing: .6px; text-transform: uppercase; margin: 8px 0 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 12px; border-radius: 9px; border: 1px solid #5a4a8a; background: #2e2650; font-size: 13px; font-weight: 700; margin: 2px; min-height: 36px; }
.btn:active { background: #4a3a80; } .btn.pri { background: #6a4a10; border-color: #c0902a; color: #ffe8b0; } .btn.dis { opacity: .4; } .btn.bad { background: #4a1a2a; border-color: #8a3a4a; }
.btn.sm { padding: 5px 8px; font-size: 11.5px; min-height: 28px; }
.info h3 { margin: 0 0 4px; font-size: 15px; } .info .d { font-size: 12px; line-height: 1.45; color: #d8d2f0; } .info .big { width: 64px; height: 64px; image-rendering: pixelated; float: right; margin-left: 6px; background: rgba(0,0,0,.3); border-radius: 10px; }
.row { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; background: rgba(0,0,0,.22); margin-bottom: 4px; }
.row img { width: 32px; height: 32px; image-rendering: pixelated; flex-shrink: 0; }
.row .t { flex: 1; min-width: 0; font-size: 12px; } .row .t b { font-size: 13px; } .row .t small { color: var(--dim); display: block; }
.row.sel { outline: 2px solid var(--acc); }
.ing { font-size: 11px; color: var(--dim); } .ing .ok { color: var(--good); } .ing .no { color: var(--bad); }
.stat { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.chip { display: inline-block; font-size: 10.5px; padding: 1px 6px; border-radius: 8px; background: rgba(255,255,255,.1); margin: 1px; }
select { background: #2a2346; color: var(--txt); border: 1px solid #5a4a8a; border-radius: 8px; padding: 6px; font-size: 13px; max-width: 100%; }
input[type=text] { background: #1a1630; color: var(--txt); border: 1px solid #5a4a8a; border-radius: 8px; padding: 8px; font-size: 15px; width: 100%; -webkit-user-select: text; user-select: text; }
input[type=range] { width: 100%; }
.partsel { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 8px; }
.partsel .slot { width: 46px; }
/* ---------- diálogo ---------- */
#dialog { position: absolute; left: 50%; bottom: calc(10px + var(--sb)); transform: translateX(-50%); width: min(700px, calc(100vw - 24px - var(--sl) - var(--sr))); background: rgba(14,12,26,.95); border: 2px solid #6a5aa0; border-radius: 14px; padding: 10px 14px 10px; display: flex; gap: 10px; box-shadow: 0 6px 30px rgba(0,0,0,.6); }
#dialog .por { width: 60px; height: 72px; image-rendering: pixelated; flex-shrink: 0; background: rgba(255,255,255,.05); border-radius: 10px; }
#dialog .dn { font-weight: 800; color: var(--acc); font-size: 13px; margin-bottom: 3px; }
#dialog .dt { font-size: 14px; line-height: 1.45; min-height: 40px; white-space: pre-line; }
#dialog .dch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
#dialog .more { position: absolute; right: 12px; bottom: 6px; font-size: 11px; color: var(--dim); animation: pulse 1s infinite; }
/* ---------- pantalla de título ---------- */
#title { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(ellipse at 50% 40%, #2a1a5a 0%, #0a0818 70%); overflow: hidden; }
#title canvas.bgc { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .55; }
#title .logo { position: relative; font-size: clamp(38px, 9vh, 74px); font-weight: 900; letter-spacing: 6px; background: linear-gradient(#fff6c0, #ffb020 55%, #c05010); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #3a1a00) drop-shadow(0 0 22px rgba(255,180,60,.45)); }
#title .sub { position: relative; color: #c8c0ff; margin: 0 0 4vh; font-size: 13px; letter-spacing: 3px; text-align: center; }
#title .menu { position: relative; display: flex; flex-direction: column; gap: 6px; width: min(330px, 80vw); }
#title .menu .btn { font-size: 15px; padding: 10px; }
#title .ver { position: absolute; right: calc(10px + var(--sr)); bottom: 6px; font-size: 10px; color: #6a6090; }
.newgame { display: flex; gap: 14px; align-items: flex-start; }
.newgame .prev { width: 96px; height: 144px; image-rendering: pixelated; background: rgba(255,255,255,.06); border-radius: 12px; flex-shrink: 0; }
.opt { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: 12px; flex-wrap: wrap; } .opt > label { width: 74px; color: var(--dim); font-weight: 700; }
.diffs { display: flex; flex-direction: column; gap: 4px; }
/* ---------- otros ---------- */
#rotate { position: fixed; inset: 0; z-index: 100; background: #0a0818; display: none; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 30px; }
#rotate .ph { font-size: 64px; animation: rot 2s infinite ease-in-out; }
@media (orientation: portrait) and (max-width: 900px) { #rotate { display: flex; } }
#loading { position: fixed; inset: 0; z-index: 60; background: #000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }
#loading .sp { width: 38px; height: 38px; border: 4px solid #3a3358; border-top-color: var(--acc); border-radius: 50%; animation: spin .8s linear infinite; }
#loading .tip { color: var(--dim); font-size: 12px; max-width: 70vw; text-align: center; }
#fade { position: fixed; inset: 0; background: #000; z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 92vw); background: var(--panel); border: 2px solid var(--acc); border-radius: 14px; padding: 12px; text-align: center; }
.mg .track { position: relative; height: 26px; background: #2a2440; border-radius: 13px; margin: 10px 0; overflow: hidden; }
.mg .zone { position: absolute; top: 0; bottom: 0; background: rgba(106,255,154,.35); }
.mg .ptr { position: absolute; top: -2px; bottom: -2px; width: 6px; margin-left: -3px; background: #fff; border-radius: 3px; box-shadow: 0 0 8px #fff; }
.mg .keys { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mg .keys .btn { min-width: 64px; min-height: 52px; font-size: 20px; }
.credits { position: fixed; inset: 0; z-index: 70; background: #000; overflow: hidden; display: flex; justify-content: center; }
.credits .roll { position: absolute; top: 100%; width: min(600px, 90vw); text-align: center; animation: roll 50s linear forwards; line-height: 1.7; }
.credits h1 { color: var(--acc); } .credits h3 { color: var(--acc2); margin-top: 30px; }
@keyframes roll { to { transform: translateY(-260%); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes tin { from { transform: translateX(-20px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rot { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
@media (max-height: 420px) {
  #hud-tl { width: 160px; } #minimap { width: 74px; height: 74px; } .hbtn { width: 30px; height: 30px; font-size: 15px; }
  #quest-track { top: calc(122px + var(--st)); width: 180px; font-size: 10px; }
  #small-btns { top: calc(140px + var(--st)); } .sb { width: 34px; height: 34px; font-size: 15px; }
  #toasts { bottom: calc(118px + var(--sb)); }
  .hs { width: 34px; height: 34px; } .hs img { width: 28px; height: 28px; }
  #banner h2 { font-size: 22px; } .panel { border-radius: 10px; }
  #pet-hud { top: calc(84px + var(--st)); }
}
