/* Batalla Naval: estilos de la interfaz (sobre el lienzo 3D). */
:root {
  --bg: #0f3a5c; --bg2: #0a2740; --panel: #14476d; --panel2: #1d5a88; --line: rgba(170,215,255,.18); --text: #f4fbff; --muted: #9fbad6;
  --accent: #ffd23f; --accent2: #ff9a3c; --accent-text: #2a1a05; --mint: #47d96b; --mint2: #22a84a; --danger: #ff5a5a; --gem: #4ff0ff;
  --font: 'Fredoka', 'Baloo 2', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
  --sky1: #7fcff7; --sky2: #d9f2ff; --red: #ff5a4f; --blue: #3a9bf0;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); overscroll-behavior: none; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overflow: hidden; }
#app { position: fixed; inset: 0; overflow: hidden; background: linear-gradient(180deg, var(--sky1), var(--sky2)); transition: background .6s; touch-action: none; }
#c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hidden { display: none !important; }
button { font-family: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
a { color: var(--accent); }

/* ---------- botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .45em 1.3em; border-radius: 18px; font-size: 1.12rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-text); text-decoration: none;
  background: linear-gradient(180deg, #fff1a6, var(--accent) 55%, #f2a922); box-shadow: 0 5px 0 #b77812, 0 10px 22px rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.6); transition: transform .08s, box-shadow .08s, filter .15s; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #b77812, inset 0 2px 0 rgba(255,255,255,.6); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn small { font-size: .62em; font-weight: 600; opacity: .8; letter-spacing: 0; margin-top: .15em; }
.btn.mint { color: #06301a; background: linear-gradient(180deg, #b9ffc9, var(--mint) 55%, var(--mint2)); box-shadow: 0 5px 0 #157233, 0 10px 22px rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.6); }
.btn.mint:active { box-shadow: 0 1px 0 #157233, inset 0 2px 0 rgba(255,255,255,.6); }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:active { transform: translateY(2px); }
.btn.big { min-height: 64px; font-size: 1.45rem; padding: .4em 1.6em; border-radius: 22px; }
.btn.small { min-height: 40px; font-size: .92rem; padding: .3em .9em; border-radius: 13px; }
.btn[disabled] { filter: grayscale(.7) brightness(.85); pointer-events: none; }
.icon-btn { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: var(--text); background: rgba(10,39,64,.72); box-shadow: inset 0 0 0 2px var(--line), 0 4px 12px rgba(0,0,0,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.icon-btn svg { width: 26px; height: 26px; }
.icon-btn:active { transform: scale(.94); }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.25); font-weight: 700; }
.pill svg { width: 20px; height: 20px; fill: var(--gem); }

/* ---------- pantallas ---------- */
#screens { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.screen { position: absolute; inset: 0; pointer-events: auto; display: flex; flex-direction: column; align-items: center; animation: in .25s ease-out both; padding: calc(14px + var(--safe-t)) calc(14px + var(--safe-r)) calc(14px + var(--safe-b)) calc(14px + var(--safe-l)); }
.screen.out { animation: out .2s ease-in both; pointer-events: none; }
@keyframes in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes out { to { opacity: 0; transform: scale(.98); } }
.overlay { justify-content: center; background: rgba(6,18,32,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.card { width: min(420px, 100%); max-height: 100%; overflow: auto; padding: 22px 20px; border-radius: 26px; background: linear-gradient(180deg, var(--panel2), var(--panel)); box-shadow: inset 0 0 0 2px var(--line), 0 20px 50px rgba(0,0,0,.4); text-align: center; display: flex; flex-direction: column; gap: 14px; }
.card h2 { margin: 0; font-size: 1.9rem; line-height: 1.1; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.card .sub { margin: 0; color: var(--muted); font-size: 1rem; }
.card.scroll { max-height: min(86vh, 720px); }

/* portada */
.title-screen { justify-content: space-between; }
.logo { text-align: center; margin-top: 2vh; filter: drop-shadow(0 6px 0 rgba(0,0,0,.15)); }
.logo .h1 { display: flex; flex-direction: column; align-items: center; line-height: .86; font-weight: 700; }
.logo .l1 { font-size: clamp(3rem, 13vw, 5.6rem); color: #fff; -webkit-text-stroke: 3px #0d3d66; paint-order: stroke fill; text-shadow: 0 6px 0 #0d3d66, 0 10px 20px rgba(0,0,0,.25); transform: rotate(-3deg); }
.logo .l2 { font-size: clamp(2.6rem, 11.5vw, 5rem); color: #ff6a4f; -webkit-text-stroke: 3px #7a1f14; paint-order: stroke fill; text-shadow: 0 5px 0 #7a1f14; transform: rotate(2deg); margin-top: .05em; }
.logo p { margin: .7em auto 0; display: inline-block; padding: .3em .9em; border-radius: 99px; background: rgba(10,39,64,.72); font-weight: 600; font-size: 1.05rem; }
.title-bottom { display: flex; flex-direction: column; gap: 14px; align-items: stretch; width: min(360px, 100%); margin-bottom: 1vh; }
.title-bottom .btn.big { justify-content: flex-start; }
.portal-link { position: absolute; left: calc(12px + var(--safe-l)); top: calc(12px + var(--safe-t)); display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 99px; background: rgba(10,39,64,.72); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.portal-link svg { width: 28px; height: 28px; }

/* nueva partida */
.newgame .card { gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: rgba(0,0,0,.25); }
.seg-b { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; font-weight: 700; font-size: 1rem; color: var(--muted); }
.seg-b svg { width: 24px; height: 24px; }
.seg-b.on { color: var(--accent-text); background: linear-gradient(180deg, #fff1a6, var(--accent)); box-shadow: 0 3px 0 #b77812; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lv-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 2px var(--line); }
.lv-opt b { font-size: 1.1rem; } .lv-opt small { font-size: .74rem; color: var(--muted); line-height: 1.15; }
.lv-opt em { position: absolute; top: -6px; right: -4px; display: flex; align-items: center; gap: 2px; padding: 1px 6px; border-radius: 99px; background: var(--mint2); font-style: normal; font-size: .72rem; font-weight: 700; }
.lv-opt em svg { width: 12px; height: 12px; }
.lv-opt.on { background: rgba(255,210,63,.18); box-shadow: inset 0 0 0 3px var(--accent); } .lv-opt.on small { color: #ffe9a8; }
.lv-opt:active, .seg-b:active { transform: scale(.97); }
.rules .setting > span { display: flex; flex-direction: column; } .rules .setting small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.sub.small, p.small { font-size: .85rem; }

/* marcador */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hud-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: calc(10px + var(--safe-t)) calc(10px + var(--safe-r)) 0 calc(10px + var(--safe-l)); }
.hud-top > * { pointer-events: auto; }
.hud-top .spacer { width: 50px; flex: none; }
.hud-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none !important; }
.pill-big { max-width: 100%; padding: 7px 16px; border-radius: 99px; background: rgba(10,39,64,.8); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: 1.12rem; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill-big.mine { background: linear-gradient(180deg, #5be07a, #22a84a); color: #04250f; box-shadow: 0 3px 0 #157233; }
.pill-big.theirs { background: linear-gradient(180deg, #ff8a7a, #d8443a); color: #fff; box-shadow: 0 3px 0 #8a2018; }
.pill-big.bump { animation: bump .3s; }
@keyframes bump { 40% { transform: scale(1.12); } }
.hint { font-size: .85rem; font-weight: 600; padding: 3px 12px; border-radius: 99px; background: rgba(10,39,64,.65); text-align: center; }
.tracker { display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; background: rgba(10,39,64,.7); font-size: .85rem; font-weight: 600; }
.tracker .tl { white-space: nowrap; } .tracker .ships { display: flex; gap: 5px; align-items: center; }
.si { display: inline-flex; gap: 1px; height: 10px; } .si b { width: 7px; height: 10px; background: #e8f3ff; border-radius: 2px; } .si b:first-child { border-radius: 5px 2px 2px 5px; } .si b:last-child { border-radius: 2px 6px 6px 2px; }
.si.sunk b { background: #ff5a4f; opacity: .55; } .si.sunk { position: relative; } .si.sunk::after { content: ''; position: absolute; left: -2px; right: -2px; top: 4px; height: 2px; background: #ffd0cc; transform: rotate(-12deg); }
.acc { width: 64px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 5px 4px; border-radius: 16px; background: rgba(10,39,64,.72); box-shadow: inset 0 0 0 2px var(--line); }
.acc b { font-size: 1.1rem; line-height: 1; } .acc small { font-size: .62rem; color: var(--muted); font-weight: 600; }
.hud-bot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding: 0 calc(12px + var(--safe-r)) calc(14px + var(--safe-b)) calc(12px + var(--safe-l)); pointer-events: none; }
.hud-bot > * { pointer-events: auto; }
.hud-bot .btn { min-height: 54px; padding: .35em .95em; font-size: 1.02rem; flex: 0 1 auto; }
.hud-bot .btn.ghost { background: rgba(10,39,64,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-bot .btn small { display: flex; align-items: center; gap: 3px; } .hud-bot .btn small svg { width: 14px; height: 14px; }
.b-radar.ad { box-shadow: inset 0 0 0 2px var(--mint); } .b-radar.active { background: rgba(71,217,107,.35) !important; box-shadow: inset 0 0 0 3px var(--mint); }
.b-fire { color: #fff !important; background: linear-gradient(180deg, #ff9f8f, #ff4a3a 55%, #c9281e) !important; box-shadow: 0 5px 0 #7a1810, 0 10px 22px rgba(0,0,0,.3), inset 0 2px 0 rgba(255,255,255,.4) !important; animation: firein .25s cubic-bezier(.3,1.6,.5,1); }
@keyframes firein { from { transform: scale(.6); } }
.btn:disabled { opacity: .5; }

/* avisos */
#fx { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.pop { position: absolute; transform: translate(-50%, -50%); font-weight: 700; font-size: 1.35rem; color: #fff; -webkit-text-stroke: 2px rgba(0,0,0,.5); paint-order: stroke fill; animation: popup 1.25s ease-out forwards; white-space: nowrap; }
.pop.miss { color: #bfe9ff; } .pop.hit { color: #ffb02e; font-size: 1.6rem; }
@keyframes popup { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -190%) scale(1); } }
.banner { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; animation: banner 1.9s ease-out forwards; }
.banner b { font-size: clamp(2.2rem, 10vw, 3.8rem); font-weight: 700; color: #fff; -webkit-text-stroke: 3px rgba(0,0,0,.45); paint-order: stroke fill; line-height: 1.05; }
.banner small { margin-top: 4px; padding: 4px 14px; border-radius: 99px; background: rgba(10,39,64,.85); font-size: 1.1rem; font-weight: 700; }
.banner.gold b { color: var(--accent); } .banner.mint b { color: #8affa0; } .banner.red b { color: #ff7a6a; }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } 22% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
#toasts { position: absolute; left: 0; right: 0; top: calc(124px + var(--safe-t)); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 30; padding: 0 12px; }
.toast { padding: 8px 16px; border-radius: 14px; background: rgba(10,39,64,.94); box-shadow: inset 0 0 0 2px var(--line), 0 6px 16px rgba(0,0,0,.3); font-weight: 600; animation: in .25s both; max-width: min(92vw, 460px); text-align: center; }
.toast.gold { background: linear-gradient(180deg, #fff1a6, var(--accent)); color: var(--accent-text); }
.toast.out { animation: out .3s both; }

/* pasa el dispositivo (tapa todo) */
.pass-screen { justify-content: center; background: radial-gradient(circle at 50% 30%, #1d5a88, #0a2740 75%); z-index: 20; }
.pass-card { width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pass-ico { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 3px var(--line); animation: bob 2s ease-in-out infinite; }
.pass-ico svg { width: 54px; height: 54px; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.pass-card h2 { margin: 0; font-size: 2rem; line-height: 1.1; }
.pass-card .sub { margin: 0; color: var(--muted); font-size: 1.05rem; }
.pass-last { margin: 0; padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,.1); font-weight: 600; }

/* resultados y estadísticas */
.over-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.over-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px; border-radius: 16px; background: rgba(255,255,255,.07); }
.over-stats b { font-size: 1.8rem; line-height: 1; color: var(--accent); } .over-stats span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.record .card h2 { color: var(--accent); }
.stats-t { width: 100%; border-collapse: collapse; font-weight: 600; }
.stats-t th, .stats-t td { padding: 7px 4px; text-align: center; } .stats-t thead th { font-size: .78rem; color: var(--muted); } .stats-t tbody th { text-align: left; }
.stats-t tbody tr:nth-child(odd) { background: rgba(255,255,255,.05); }
.ad-slot:empty { display: none; }

/* ajustes, cómo se juega */
.settings { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-weight: 600; }
.setting select, .setting input { font-family: inherit; font-size: 1rem; font-weight: 600; padding: 7px 10px; border-radius: 10px; border: 0; background: #0a2740; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); max-width: 55%; }
.setting .names { display: flex; gap: 6px; max-width: 60%; } .setting .names input { max-width: none; width: 50%; min-width: 0; }
.tog { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 99px; background: rgba(0,0,0,.3); font-weight: 700; min-width: 74px; flex: none; }
.tog i { width: 26px; height: 26px; border-radius: 50%; background: #5a6b7d; transition: .2s; }
.tog.on i { background: var(--mint); transform: translateX(2px); }
.links { margin-top: 6px; }
.howto-body { text-align: left; }
.howto-body .t1 { font-size: 1.35rem; font-weight: 700; margin: 0 0 .4em; color: var(--accent); }
.howto-body h2 { font-size: 1.15rem; margin: 1em 0 .3em; }
.howto-body ul { padding-left: 1.2em; margin: .3em 0; }
.howto-body li { margin: .25em 0; line-height: 1.35; }
.howto-body p { line-height: 1.4; }

/* anuncio de prueba */
.dev-ad { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0,0,0,.75); }
.dev-ad-box { width: min(340px, 90%); padding: 20px; border-radius: 20px; background: #111; color: #fff; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dev-ad-tag { font-size: .8rem; color: #aaa; }
.dev-ad-art { width: 100%; aspect-ratio: 16/9; border-radius: 12px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #333 0 12px, #2a2a2a 12px 24px); font-size: 2rem; font-weight: 700; }

/* carga */
#loader { position: absolute; inset: 0; display: grid; place-items: center; z-index: 60; background: var(--bg); transition: opacity .4s; }
#loader.out { opacity: 0; pointer-events: none; }
.loader-ring { width: 64px; height: 64px; border-radius: 50%; border: 8px solid rgba(58,155,240,.25); border-top-color: var(--blue); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.noscript { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; }

/* pantallas estrechas */
.setup-bar { gap: 8px; } .setup-bar .btn { padding: .35em .75em; white-space: nowrap; min-width: 0; }
@media (max-width: 400px) { .setup-bar .btn { font-size: .95rem; gap: .35em; } .setup-bar .b-rand svg, .setup-bar .b-rot svg { display: none; } }
@media (max-width: 380px) { .hud-bot .btn { padding: .35em .7em; font-size: .95rem; } .pill-big { font-size: 1rem; } }
/* pantallas bajas (móvil en horizontal): botones de juego en columna a la derecha */
@media (max-height: 520px) {
  .logo .l1 { font-size: 2.8rem; } .logo .l2 { font-size: 2.5rem; } .logo p { display: none; }
  .title-screen { flex-direction: row; align-items: center; justify-content: space-around; }
  .btn.big { min-height: 52px; font-size: 1.2rem; }
  .card { padding: 14px; gap: 10px; } .card h2 { font-size: 1.5rem; }
  .hud-top { padding-top: calc(6px + var(--safe-t)); } .hint { display: none; } .pill-big { padding: 5px 14px; font-size: 1rem; }
  .hud-bot { left: auto; right: 0; top: 0; bottom: 0; width: auto; flex-direction: column; justify-content: center; align-items: stretch; padding: 64px calc(10px + var(--safe-r)) calc(10px + var(--safe-b)) 0; gap: 8px; }
  .hud-bot .btn { min-height: 46px; font-size: .95rem; justify-content: flex-start; }
  #toasts { top: calc(56px + var(--safe-t)); }
  .settings { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .setting { padding: 4px 8px; } .settings .links { grid-column: 1 / -1; }
  .card .b-close { position: sticky; bottom: 0; }
  .settings-p .card, .newgame .card { width: min(720px, 100%); }
  .newgame .card { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } .newgame .card h2, .newgame .seg { grid-column: 1 / -1; }
  .newgame .levels, .newgame .pvp-note { grid-column: 1; } .newgame .rules { grid-column: 2; grid-row: 3; display: flex; flex-direction: column; } .newgame .b-go { grid-column: 1; } .newgame .b-back { grid-column: 2; align-self: center; }
  .pass-card h2 { font-size: 1.5rem; } .pass-ico { width: 64px; height: 64px; } .pass-ico svg { width: 38px; height: 38px; }
}
.over .row .btn { flex: 1 1 0; min-width: 0; padding-left: .6em; padding-right: .6em; font-size: 1rem; }
.over .row { flex-wrap: nowrap; }
@media (prefers-reduced-motion: reduce) { .pass-ico { animation: none; } }

/* texto rastreable «Cómo se juega» (lo procesa el generador del portal) */
.howto-src { display: none; }

/* fichas.py: ficha del juego bajo la pantalla de juego (visible al desplazarse; al jugar la página vuelve arriba y no se mueve) */
html, body { height: auto !important; min-height: 100%; overflow-x: hidden !important; overflow-y: auto !important; }
html:has(body.playing), body.playing { overflow: hidden !important; }
body:not(.playing) { touch-action: pan-y; }
body:not(.playing) #wrap, body:not(.playing) #app, body:not(.playing) #app canvas, body:not(.playing) #app .screen { touch-action: pan-y !important; }   /* fuera de la partida se puede bajar a la ficha deslizando sobre el juego */
#wrap, #app { position: relative !important; inset: auto !important; width: 100% !important; height: 100vh !important; height: 100dvh !important; }
.game-info { max-width: 860px; margin: 0 auto; padding: 26px 18px 40px; font-family: Fredoka, ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif; color: #f4f0ff; line-height: 1.55; user-select: text; -webkit-user-select: text; }
.game-info .crumbs { font-size: .92rem; color: #b9b0d8; margin-bottom: 10px; } .game-info .crumbs a { color: #b9b0d8; } .game-info .crumbs span { margin: 0 6px; opacity: .6; }
.game-info .howto-src { display: block; } .game-info .howto { background: none; color: inherit; padding: 0; border-radius: 0; box-shadow: none; border: 0; }
.game-info h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.15; margin: 0 0 10px; color: #fff; }
.game-info h2 { font-size: 1.3rem; margin: 26px 0 8px; color: #ffd23f; }
.game-info p, .game-info li { color: #e8e2fa; } .game-info ul { padding-left: 1.2em; } .game-info a { color: #ffd23f; }
.game-info details { margin: 8px 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(190,160,255,.22); }
.game-info summary { cursor: pointer; font-weight: 600; } .game-info details p { margin: 6px 0 0; }
.game-info .more { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.game-info .more a { display: block; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(190,160,255,.22); text-decoration: none; color: #fff; }
.game-info .more img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; } .game-info .more b { display: block; padding: 8px 10px 0; } .game-info .more span { display: block; padding: 0 10px 10px; font-size: .88rem; color: #c9c0e6; }
.game-info .foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(190,160,255,.22); font-size: .92rem; } .game-info .foot a { color: #b9b0d8; }
.howto .t1 { font-size: 1.25rem; font-weight: 700; margin: .67em 0; }
