:root {
  --bg: #08070a; --panel: rgba(12, 10, 14, .94); --panel2: #120e14; --line: #3a2e20; --line2: #2e2530;
  --gold: #d8a656; --gold2: #f0c97a; --bone: #e8dcc4; --muted: #b9ad97; --faint: #8a7f6c; --blood: #c0392b; --blood2: #e07a6a;
  --f-h: 'Cinzel', Georgia, serif; --f-b: 'Alegreya Sans', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--bone); font-family: var(--f-b); overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--gold); }
#map { position: fixed; inset: 0; }
#map canvas { display: block; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.labels > * { position: absolute; left: 0; top: 0; will-change: transform; }
.pill.island { pointer-events: auto; font: 700 13px var(--f-h); letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: rgba(12,10,14,.86); border: 1px solid var(--line); color: var(--bone); white-space: nowrap; }
.pill.island.hombres { border-color: #7a5a2a; } .pill.island.huesos { border-color: #6a6a70; } .pill.island.duendes { border-color: #4a6a2a; } .pill.island.carmesi { border-color: #7a1f2a; color: #f1b3a8; } .pill.island.luna { border-color: var(--gold); color: var(--gold2); }
.name { font: 600 11px var(--f-b); padding: 1px 6px; border-radius: 6px; background: rgba(8,6,10,.72); color: var(--bone); white-space: nowrap; }
.name.legend { color: #ffe3a3; border: 1px solid var(--gold); font-weight: 800; font-size: 12px; }
.name.sel { background: var(--gold); color: #140f08; }
.name.prev { opacity: .55; }

/* Cabecera */
.hud { position: fixed; left: 12px; top: 12px; width: min(460px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; z-index: 10; backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand h1 { margin: 0; font: 800 22px var(--f-h); letter-spacing: .05em; color: var(--gold2); text-shadow: 0 0 18px rgba(216,166,86,.35); }
.brand small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.brand small b { color: var(--blood2); }
.live { margin-left: auto; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--blood2); display: flex; align-items: center; gap: 6px; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 10px var(--blood); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3 } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { border-color: var(--gold); color: var(--gold2); }
.chip.on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.search { display: flex; gap: 8px; align-items: center; background: #050406; border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 12px; }
.search input { flex: 1; background: transparent; border: 0; outline: none; min-width: 0; font-size: 15px; }
.btn { height: 38px; padding: 0 16px; border-radius: 10px; background: var(--gold); color: #140f08; font-weight: 800; font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
.btn:hover { background: var(--gold2); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--bone); }
.btn.blood { background: var(--blood); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.stat { background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.stat .k { font-size: 10px; letter-spacing: .12em; color: var(--faint); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .v { font: 800 14px var(--f-h); color: var(--gold2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .v.red { color: var(--blood2); }
.bar { height: 6px; border-radius: 4px; background: #241d14; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: var(--gold); }
.bar.red { background: #2a1414; } .bar.red i { background: var(--blood); }

/* Barra inferior */
.story-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 86px; width: min(520px, calc(100vw - 24px)); z-index: 10; background: linear-gradient(90deg, #b8862e, #d8a656); color: #140f08; border-radius: 14px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.story-bar b { font: 800 16px var(--f-h); display: block; letter-spacing: .03em; }
.story-bar small { font-size: 11.5px; letter-spacing: .1em; font-weight: 800; opacity: .8; }
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; width: min(520px, calc(100vw - 24px)); z-index: 10; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0; border-radius: 12px; color: var(--faint); font-size: 12px; font-weight: 600; }
.nav button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav button.on { background: var(--gold); color: #140f08; font-weight: 800; }
.side-btns { position: fixed; right: 12px; bottom: 150px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.side-btns a, .side-btns button { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--bone); }
.side-btns svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Hojas (menús) */
.sheet { position: fixed; z-index: 20; left: 12px; top: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; transform: translateX(-110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(8px); }
.sheet.open { transform: none; }
.sheet header { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line2); }
.sheet header h2 { margin: 0; font: 800 24px var(--f-h); letter-spacing: .03em; color: var(--gold2); }
.sheet header .x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--panel2); color: var(--muted); font-size: 20px; }
.sheet .body { flex: 1; overflow: auto; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.tabs { display: grid; gap: 4px; background: var(--panel2); padding: 4px; border-radius: 12px; }
.tabs button { height: 38px; border-radius: 9px; font-weight: 700; font-size: 13.5px; color: var(--faint); }
.tabs button.on { background: var(--bone); color: #140f08; }
.lead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.kicker { font-size: 12px; letter-spacing: .16em; font-weight: 800; color: var(--faint); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--gold); }
.big-title { font: 800 30px/1.05 var(--f-h); margin: 0; letter-spacing: .01em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item { background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.item.gold { border-color: #8a6a32; }
.item b { font-size: 15px; }
.item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; flex: 1; }
.price { font: 800 15px var(--f-h); color: var(--gold); }
.soon { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gold); background: rgba(216,166,86,.12); border-radius: 6px; padding: 3px 7px; width: fit-content; }
.seat { background: linear-gradient(180deg, #1a1410, var(--panel2)); border: 1px solid #6a5028; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.seat .top { display: flex; align-items: flex-end; justify-content: space-between; }
.seat .eur { font: 800 34px var(--f-h); color: var(--gold2); line-height: 1; }
.seat .left { text-align: right; font: 800 22px var(--f-h); } .seat .left small { display: block; font: 700 10px var(--f-b); letter-spacing: .12em; color: var(--faint); }
.seat ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; } .seat li { margin: 3px 0; }
.row { display: flex; gap: 8px; align-items: center; }
.input { height: 40px; border-radius: 10px; background: #050406; border: 1px solid var(--line); padding: 0 12px; outline: none; min-width: 0; }
.input:focus { border-color: var(--gold); }
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line2); font-size: 15px; gap: 10px; }
.list-row .pts { font: 800 14px var(--f-h); color: var(--gold); white-space: nowrap; }
.fac-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.mission { display: flex; justify-content: space-between; gap: 10px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.mission small { display: block; color: var(--faint); font-size: 12px; }
.mission b { color: var(--gold); font-family: var(--f-h); white-space: nowrap; }
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.tiers div { text-align: center; font-size: 11px; color: var(--faint); background: var(--panel2); border-radius: 9px; padding: 7px 2px; line-height: 1.25; }
.tiers div.on { background: var(--gold); color: #140f08; font-weight: 800; }
.boss { background: linear-gradient(180deg, #2a0c0c, var(--panel2)); border: 1px solid #a33; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.boss .k { font-size: 12px; letter-spacing: .14em; font-weight: 800; color: var(--blood2); }
.boss b { font: 800 20px var(--f-h); }
.night { display: grid; grid-template-columns: 90px 1fr; gap: 12px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; }
.night .art { background: radial-gradient(circle at 50% 40%, #3a2a1a, #120e14); display: grid; place-items: center; font: 800 18px var(--f-h); color: var(--gold2); text-align: center; padding: 8px; }
.night .tx { padding: 10px 12px 10px 0; font-size: 13.5px; color: var(--muted); }
.night .tx b { display: block; font: 800 16px var(--f-h); color: var(--bone); margin-bottom: 3px; }
.candles { display: flex; flex-wrap: wrap; gap: 6px; }
.candles span { font-size: 12.5px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 8px; padding: 4px 8px; }
.race-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.race-row .rn { font-weight: 700; }
.race-row .rr { font-size: 12px; color: var(--faint); grid-column: 1 / -1; }
.badge { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; letter-spacing: .06em; }
.b-común { background: #241d14; color: var(--muted); } .b-raro { background: #1a1a3a; color: #a9a0ff; } .b-legendario { background: #3a2a0a; color: #ffd27a; }

/* Tarjeta de alma */
.card-soul { position: fixed; right: 12px; top: 12px; width: min(340px, calc(100vw - 24px)); z-index: 15; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: none; flex-direction: column; gap: 8px; }
.card-soul.open { display: flex; }

/* Avisos estilo Souls */
.banner { position: fixed; left: 0; right: 0; top: 38%; z-index: 30; text-align: center; pointer-events: none; padding: 26px 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.75) 20%, rgba(0,0,0,.75) 80%, transparent); opacity: 0; transition: opacity .8s; }
.banner.show { opacity: 1; }
.banner b { font: 700 clamp(34px, 6vw, 72px) var(--f-h); letter-spacing: .08em; color: #e8c37a; text-shadow: 0 0 30px rgba(232,195,122,.4); }
.banner.red b { color: #b3141c; text-shadow: 0 0 30px rgba(179,20,28,.5); }
.banner small { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); top: 14px; z-index: 40; background: var(--panel); border: 1px solid var(--gold); color: var(--bone); padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: 90vw; }
.empty-world { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9; text-align: center; background: rgba(8,7,10,.85); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; max-width: min(520px, 90vw); }
.empty-world h3 { margin: 0 0 6px; font: 800 24px var(--f-h); color: var(--gold2); }
.empty-world p { margin: 0 0 12px; color: var(--muted); }
.admin { position: fixed; right: 12px; top: 12px; z-index: 12; background: rgba(20,8,8,.92); border: 1px dashed var(--blood); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; width: 260px; }
.admin b { color: var(--blood2); }
.admin .btn { height: 30px; font-size: 12px; padding: 0 10px; }

@media (max-width: 760px) {
  .hud { width: calc(100vw - 24px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .admin { display: none; }
  .card-soul { top: auto; bottom: 150px; }
  .side-btns { bottom: 160px; }
}

/* ===== Retratos, tienda, menús nuevos ===== */
.pt { width: 100%; max-width: 150px; aspect-ratio: 220 / 260; object-fit: contain; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #2a2030, #0c0a10 75%); border: 1px solid var(--line2); display: block; }
.pt.lg { max-width: 150px; flex: none; } .pt.sm { width: 84px; flex: none; } .pt.xs { width: 64px; flex: none; } .pt.xxs { width: 40px; flex: none; border-radius: 9px; }
.pt.empty { display: grid; place-items: center; color: var(--faint); }
.pt.glyph, .pv.glyph { display: grid; place-items: center; color: var(--gold); }
.pt.glyph svg, .pv.glyph svg { width: 55%; height: 55%; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.locked { filter: grayscale(1) brightness(.3) contrast(1.1); }
.pv { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #2a2030, #0c0a10 78%); }
.shopc { gap: 7px; } .shopc .btn { width: 100%; padding: 0 8px; font-size: 12.5px; }
.req { font-size: 11.5px; color: var(--blood2); font-weight: 700; }
.coin { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(216,166,86,.14); color: var(--gold); flex: none; }
.coin svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.coin.sm { width: 20px; height: 20px; margin-right: 6px; vertical-align: -5px; } .coin.sm svg { width: 13px; height: 13px; }
.wallet { display: flex; gap: 12px; align-items: center; background: linear-gradient(90deg, #2a2010, var(--panel2)); border: 1px solid #8a6a32; border-radius: 14px; padding: 12px 14px; }
.wallet b { font: 800 20px var(--f-h); color: var(--gold2); display: block; } .wallet small { color: var(--muted); }
.how { background: var(--panel2); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
code { background: #1b1620; border: 1px solid var(--line2); border-radius: 6px; padding: 1px 6px; color: var(--gold2); font-size: 12.5px; white-space: nowrap; }
.hero-soul { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 22%, #0c0a10), var(--panel2)); border: 1px solid var(--fc); border-radius: 18px; padding: 12px; }
.hero-soul > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.hero-soul .k { font-size: 11px; letter-spacing: .12em; font-weight: 800; } .hero-soul b { font: 800 22px/1.1 var(--f-h); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.evo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.evo > div { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 6px 2px; border-radius: 10px; background: var(--panel2); border: 1px solid transparent; min-width: 0; }
.evo > div.on { border-color: var(--gold); background: #2a2010; }
.evo b { font-size: 10.5px; line-height: 1.15; } .evo small { color: var(--faint); font-size: 10.5px; }
.evo .pt { width: 100%; max-width: 64px; }
.isle { display: flex; gap: 12px; align-items: center; background: var(--panel2); border: 1px solid color-mix(in srgb, var(--fc) 45%, transparent); border-left: 4px solid var(--fc); border-radius: 14px; padding: 10px; }
.isle > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .isle span { font-size: 12.5px; color: var(--muted); }
.steps { display: grid; gap: 8px; } .steps > div { display: flex; gap: 12px; align-items: center; background: var(--panel2); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #140f08; flex: none; font-family: var(--f-h); }
.news { display: flex; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line2); font-size: 13.5px; } .news small { color: var(--faint); white-space: nowrap; }
.news.boss-dead span, .news.join span { color: var(--gold2); } .news.boss-win span { color: var(--blood2); }
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; align-items: end; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--panel2); border-radius: 14px; padding: 10px 4px; position: relative; min-width: 0; }
.pod.p1 { border: 1px solid var(--gold); background: linear-gradient(180deg, #2a2010, var(--panel2)); padding-bottom: 16px; } .pod b { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .pod small { color: var(--gold); }
.pod .medal { position: absolute; top: 4px; right: 6px; font-size: 18px; }
.list-row.mine { background: rgba(216,166,86,.1); border-radius: 10px; }
.road { display: flex; flex-direction: column; }
.stop { display: flex; gap: 12px; padding: 0 0 14px; position: relative; }
.stop::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line2); } .stop:last-child::before { display: none; }
.stop > i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; font-style: normal; flex: none; background: var(--bg); z-index: 1; }
.stop.done > i { background: var(--gold); border-color: var(--gold); color: #140f08; } .stop.next > i { border-color: var(--gold); box-shadow: 0 0 12px rgba(216,166,86,.6); }
.stop b { display: block; } .stop span { display: block; font-size: 13px; color: var(--muted); } .stop small { color: var(--faint); font-size: 12px; } .stop.done b { color: var(--gold2); }
.hint { position: fixed; left: 12px; bottom: 12px; z-index: 8; font-size: 12px; color: var(--muted); background: rgba(8,7,10,.7); padding: 6px 10px; border-radius: 8px; transition: opacity 1.5s; max-width: 260px; } .hint.fade { opacity: .0; pointer-events: none; }
.side-btns { bottom: 150px; gap: 6px; } .side-btns a, .side-btns button { width: 42px; height: 42px; }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr 1.1fr 1fr; } .side-btns { bottom: 160px; } .hint { bottom: 156px; } }

/* ===== Intro, joystick, idioma, tronos, bestiario ===== */
#intro { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none; transition: opacity .3s; }
.intro-box { text-align: center; padding: 0 24px; text-shadow: 0 0 30px rgba(0,0,0,.9); }
.intro-box h1 { margin: 0; font: 800 clamp(42px, 9vw, 108px) var(--f-h); letter-spacing: .14em; color: #efe3c4; text-shadow: 0 0 40px rgba(216,166,86,.45), 0 4px 20px #000; }
.intro-box .sub { margin: 6px 0 36px; color: var(--muted); font-size: clamp(14px, 2.2vw, 20px); }
.intro-box .go { margin: 0; font: 700 clamp(18px, 3vw, 28px) var(--f-h); color: var(--gold2); animation: pulse 2.2s infinite; }
.intro-box p.how {background:none;border:0;padding:0; margin: 8px 0 18px; color: var(--bone); font-size: 15px; } .intro-box .how b { color: var(--gold2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; }
.introbar { width: min(300px, 60vw); height: 5px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 0 auto; overflow: hidden; } .introbar i { display: block; height: 100%; width: 0; background: var(--gold); }
.skip { pointer-events: auto; margin-top: 22px; color: var(--faint); font-size: 13px; text-decoration: underline; padding: 8px; }
@keyframes pulse { 50% { opacity: .45; transform: translateY(-3px); } }
body.intro .hud, body.intro .nav, body.intro .story-bar, body.intro .side-btns a, body.intro #b-in, body.intro #b-out, body.intro #b-l, body.intro #b-r, body.intro #home-btn, body.intro .hint, body.intro .admin, body.intro #b-lang { opacity: 0; pointer-events: none; }
.hud, .nav, .story-bar, .side-btns > *, .hint { transition: opacity .8s; }
body.intro #b-lang { opacity: .8; pointer-events: auto; }
.joy { display: none; position: fixed; left: 18px; bottom: 150px; width: 112px; height: 112px; border-radius: 50%; background: rgba(12,10,14,.55); border: 1px solid var(--line); z-index: 30; touch-action: none; backdrop-filter: blur(4px); }
.joy .knob { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(216,166,86,.85); box-shadow: 0 0 14px rgba(216,166,86,.4); }
@media (pointer: coarse) { .joy { display: block; } .hint { left: 140px; bottom: 170px; max-width: 200px; } .side-btns > a#ig-btn { display: none; } }
.lang { font: 800 13px var(--f-h); color: var(--gold2); }
.vacant { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--gold2); background: rgba(216,166,86,.12); border: 1px solid #8a6a32; border-radius: 999px; padding: 5px 12px; animation: pulse 2.8s infinite; }
.isle.vac { border-left-style: dashed; }
.spgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.spc { background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.spc:hover { border-color: var(--gold); } .spc .pt { max-width: 100%; border: 0; } .spc b { font-size: 11.5px; line-height: 1.15; } .spc small { font-size: 9.5px; letter-spacing: .08em; color: var(--faint); }
.spc.r-r { border-color: #3a3a7a; } .spc.r-e { border-color: #7a3aa0; } .spc.r-l { border-color: #a07a1a; background: linear-gradient(180deg, #2a2010, var(--panel2)); }
.b-r { background: #1a1a3a; color: #a9a0ff; } .b-e { background: #2a1038; color: #d98aff; } .b-c { background: #241d14; color: var(--muted); } .b-l { background: #3a2a0a; color: #ffd27a; }
body.clipmode #ui, body.clipmode .labels { display: none !important; }

/* Pulido pre-lanzamiento */
.hud { position: fixed; }
.hud.min .chips, .hud.min .search, .hud.min .stats { display: none; }
.hud-t { height: 18px; margin: -4px -4px -6px; border-radius: 10px; color: var(--faint); font-size: 14px; line-height: 14px; }
.hud-t::after { content: '⌃'; } .hud.min .hud-t::after { content: '⌄'; }
.hud-t:hover { color: var(--gold2); background: rgba(255,255,255,.04); }
.intro-box { position: relative; padding: 44px clamp(24px, 6vw, 70px); background: radial-gradient(closest-side, rgba(5,4,8,.82) 55%, rgba(5,4,8,0)); }
.intro-box .sub { color: var(--bone); }
.skip { color: var(--bone); text-decoration: none; border: 1px solid var(--gold); border-radius: 999px; padding: 9px 22px; background: rgba(12,10,14,.7); font-weight: 700; letter-spacing: .04em; }
.skip:hover { background: var(--gold); color: #140f08; }

/* Actividad de cada alma y botón de sonido */
.name small { display: block; margin-top: 1px; font: italic 500 10.5px var(--f-b); color: var(--muted); text-align: center; letter-spacing: .01em; }
.name.sel small { color: #3a2a10; }
.card-soul .act { font: italic 600 13.5px var(--f-b); color: var(--gold2); }
#b-snd.on { color: var(--gold2); border-color: var(--gold); }
body.intro #b-snd { opacity: 0; pointer-events: none; }
