:root{color-scheme:dark;--gold:#ffcf4a;--ink:#070d15;--line:#304052;--pale:#e5ebf3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#090d15;color:#f9f8f5;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;background-image:radial-gradient(circle at 25% 0%,#31301c 0%,transparent 36%),radial-gradient(circle at 95% 34%,#132a39,transparent 43%)}button{font:inherit;cursor:pointer}a{text-decoration:none;color:inherit}.app{width:min(1210px,100%);margin:auto;padding:0 18px}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #343945;min-height:64px}.back{font-size:26px;color:var(--gold);font-weight:1000}.back span{font-size:17px}.gold{color:var(--gold)}.edition{font-size:11px;letter-spacing:.16em;color:#9baabb;font-weight:900}.telegram{border:1px solid #3778a3;border-radius:50px;padding:8px 16px;color:#a5defa;font-size:13px;font-weight:700}.intro{padding:25px 0 19px;display:flex;align-items:center;justify-content:space-between;gap:30px}.eyebrow{margin:0;color:var(--gold);font-size:11px;letter-spacing:.15em;font-weight:950}.intro h1{margin:6px 0 6px;font-size:clamp(28px,4.2vw,51px);line-height:1.08;letter-spacing:-.055em}.intro h1 span{color:var(--gold);display:block}.intro p:not(.eyebrow){margin:0;color:#c2c9d0}.intro p strong{color:#f7f0dc}.heroMascot{width:105px;height:115px;object-fit:contain;filter:drop-shadow(0 0 16px #e9ac2e4d)}.frame{background:#0b1421;border:1px solid #384759;border-radius:20px;box-shadow:0 24px 65px #0008;overflow:hidden}.hud{display:grid;grid-template-columns:1.4fr 1.2fr .7fr auto auto;align-items:center;gap:10px;padding:12px 16px 10px}.stat span{display:block;font-size:10px;letter-spacing:.07em;font-weight:900;color:#93a6b9}.stat strong{font-size:clamp(15px,2vw,23px);font-weight:950;white-space:nowrap;font-variant-numeric:tabular-nums}.stat:first-child strong{color:var(--gold)}.smallbtn{color:#ebedf0;border:1px solid #41556b;border-radius:10px;background:#1b2d42;padding:8px 10px;font-weight:900;min-height:37px}.smallbtn.active{color:#211801;background:var(--gold);border-color:var(--gold)}.progress{height:7px;margin:0 15px 12px;background:#2a3b51;border-radius:30px;overflow:hidden}.progress>div{width:0%;height:100%;background:linear-gradient(90deg,#e3a12c,#ffe17b);transition:width .2s linear}.layout{display:grid;grid-template-columns:minmax(310px,520px) minmax(240px,1fr);gap:15px;align-items:start;padding:0 15px 15px}.stage{position:relative;max-width:520px;width:100%;margin:0 auto;isolation:isolate;border-radius:13px;overflow:hidden;border:1px solid #36465c;background:#091626}.stage>canvas{display:block;width:100%;height:auto;touch-action:none;user-select:none;-webkit-user-select:none}.overlay,.pause-overlay{position:absolute;inset:0;z-index:5;background:#05111dd9;display:flex;justify-content:center;align-items:center;padding:18px}.modal{text-align:center;border:1px solid #705d35;background:linear-gradient(175deg,#182438f5,#0f1b2de8);border-radius:19px;padding:22px 18px;max-width:350px;width:100%;box-shadow:0 20px 50px #0007}.tag{background:#41351e;border:1px solid #ae832a;border-radius:30px;color:var(--gold);padding:6px 10px;letter-spacing:.06em;font-weight:950;font-size:11px}.modal h2{margin:7px 0;font-size:clamp(19px,4vw,30px);color:var(--gold);letter-spacing:-.04em}.modal p{font-size:14px;color:#ccd7e5}.modal p b:first-of-type{color:#65edab}.modal p b:last-of-type{color:#fd7c87}.modal-mascot{width:123px;height:132px;object-fit:contain;margin-top:15px}.modal small{display:block;font-size:10px;color:#a0b1bf;margin-top:10px}.primary{color:#1a1607;background:linear-gradient(#ffe480,#e7ac28);border:0;border-radius:11px;font-weight:1000;padding:13px 20px;box-shadow:0 5px 17px #e5b62a35}.primary:hover{filter:brightness(1.07)}.hide{display:none!important}.floating-message{position:absolute;top:24%;left:5%;right:5%;z-index:4;pointer-events:none;text-align:center;color:#ffe386;text-shadow:0 2px 11px #000;font-weight:950;font-size:19px;opacity:0;transition:opacity .2s}.floating-message.show{opacity:1}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:10px}.legend{border-radius:13px;border:1px solid #374354;background:#121e2c;padding:12px}.legend.good{border-color:#246e58;background:linear-gradient(160deg,#122b27,#101a27)}.legend.bad{border-color:#854448;background:linear-gradient(160deg,#301c24,#111a28)}.legend h2{font-size:13px;margin:0 0 8px;color:#75f0ad;letter-spacing:.04em}.legend.bad h2{color:#ff818c}.legend-row{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #ffffff12}.symbol{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:10px;font-weight:1000;font-size:18px;background:#182f2a;border:1px solid #2eac77;color:#70efb6}.symbol.gold{background:#3d2a14;border-color:#edb52c;color:#ffda68}.symbol.cyan{background:#173141;border-color:#359dcb;color:#83d9ff}.symbol.red{background:#3a1823;border-color:#df5266;color:#ff858c}.symbol.amber{background:#422c1c;border-color:#d68b43;color:#ffbd70}.legend-row b{font-size:10px;letter-spacing:.02em;display:block}.legend-row small{font-size:10px;display:block;color:#acbdc9;line-height:1.15}.guide{grid-column:1/-1;border:1px dashed #3c526b;border-radius:10px;padding:10px 12px;color:#c4cfda;font-size:12px;line-height:1.6}.result{margin:18px 0;padding:18px 20px 22px;border:1px solid #80653a;border-radius:18px;background:#131f2e}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.result-heading h2{margin:0;color:#ff808a;font-size:clamp(32px,4vw,50px);line-height:1}.result-heading h2.win{color:var(--gold)}.result-heading p:not(.eyebrow){margin:7px 0 0;color:#cad7e3}.result-heading img{width:80px;height:85px;object-fit:contain}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.result-stats>div{border:1px solid #3e5067;background:#1e3043;border-radius:11px;padding:12px}.result-stats small{display:block;color:#98aebf;letter-spacing:.05em;font-size:10px}.result-stats strong{display:block;color:var(--gold);font-size:clamp(15px,2.5vw,26px);font-variant-numeric:tabular-nums}.chart-head{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px;background:#0b1420;border:1px solid #35495e;border-bottom:0;border-radius:10px 10px 0 0}.chart-head small{font-size:10px;color:#91a5b6}#chart{width:100%;height:auto;display:block;border:1px solid #35495e;border-radius:0 0 10px 10px;background:#0c1521}.ending{text-align:center;font-weight:850;font-size:18px;color:#f2e8bc}.actions{display:flex;flex-wrap:wrap;gap:10px}.actions a,.actions button:not(.primary){border:1px solid #435a72;color:#f3f3f3;background:#223649;padding:13px 17px;border-radius:11px;font-size:13px;font-weight:850}footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-top:1px solid #323e4c;margin-top:23px;padding:16px 0 28px;color:#9babbc;font-size:12px}footer a{color:var(--gold);font-weight:900}@media(max-width:900px){.layout{grid-template-columns:minmax(290px,470px);justify-content:center}.sidebar{order:2;max-width:470px}.stage{max-width:470px}}@media(max-width:580px){.app{padding:0 8px}.top{min-height:51px}.edition{display:none}.intro{padding:13px 5px 12px;gap:5px}.intro h1{font-size:clamp(26px,7.2vw,40px)}.intro p:not(.eyebrow){font-size:11px}.heroMascot{width:66px;height:84px}.hud{gap:5px;padding:9px 7px}.stat span{font-size:8px}.stat strong{font-size:13px}.smallbtn{padding:7px 6px;min-width:34px;font-size:11px}.progress{margin:0 8px 7px}.layout{display:block;padding:0 5px 8px}.stage{border-radius:10px}.sidebar{margin-top:8px;gap:7px}.legend{padding:8px}.legend h2{font-size:11px}.legend-row{gap:4px;padding:4px 0}.symbol{min-width:29px;width:29px;height:29px;font-size:14px}.legend-row b{font-size:9px}.legend-row small{font-size:9px}.guide{font-size:10px}.result{padding:12px 9px}.result-stats{gap:5px}.result-stats>div{padding:8px 6px}.result-stats strong{font-size:13px}.result-stats small{font-size:8px}.chart-head b{font-size:11px}.chart-head small{font-size:7px}.result-heading img{width:57px;height:65px}.result-heading p:not(.eyebrow){font-size:12px}.actions>*{flex:1 1 100%;text-align:center}.modal{padding:13px 12px}.modal-mascot{width:90px;height:100px}.modal h2{font-size:22px}.modal p{font-size:12px}}

/* Pantalla principal V12, menú de pausa y configuración accesible */
.settings-overlay{position:absolute;inset:0;z-index:12;background:#06111df2;display:flex;justify-content:center;align-items:center;padding:15px}
.main-menu{border:2px solid #d9a63c;box-shadow:0 0 45px #e6ac2d35,0 22px 45px #000b;background:linear-gradient(170deg,#132338fa,#091520fa)}
.menu-mascot{display:block;width:min(60%,194px);height:auto;max-height:215px;object-fit:contain;margin:14px auto 4px;filter:drop-shadow(0 12px 24px #efb82166)}
.main-menu h2{font-size:32px;line-height:1.02;color:white;text-shadow:0 2px 10px #000;margin:7px 0 12px}
.main-menu h2 span{font-size:24px;color:var(--gold)}
.menu-action{width:100%;display:block;margin:9px 0;padding:13px 10px;min-height:44px;letter-spacing:.02em}
.secondary{color:#edf5ff;background:#22364c;border:1px solid #5b768a;border-radius:11px;font-weight:900;cursor:pointer}
.secondary:hover{background:#2e4861}
.settings-menu{padding:25px 21px;border-color:#6d9fbd}
.settings-control{text-align:left;margin:22px 0}
.settings-control label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:900;color:#eff3f8}
.settings-control output{color:#ffdb62;font-size:16px;font-variant-numeric:tabular-nums}
.settings-control input[type=range]{width:100%;accent-color:#ffce57;height:32px;cursor:pointer;touch-action:pan-x}
.settings-hint{font-size:12px!important;color:#a8bbc9!important;line-height:1.5}
.stage>canvas{filter:brightness(var(--game-brightness,1));transition:filter .15s ease}
@media(max-width:580px){.menu-mascot{max-height:148px;width:auto;margin:5px auto 0}.main-menu h2{font-size:26px}.main-menu h2 span{font-size:19px}.main-menu small{font-size:10px}.menu-action{min-height:40px;margin:6px 0;padding:10px}.settings-control{margin:13px 0}.settings-menu{padding:16px}.main-menu{max-width:310px}}

/* Panel de sentimiento y BTC en portada: datos reales, separados del juego. */
.market-board{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(215px,.85fr);gap:13px;margin:0 0 18px}
.mood-panel,.btc-panel{background:linear-gradient(135deg,#162536,#0b1624);border:1px solid #43536a;border-radius:17px;box-shadow:0 11px 25px #0004}
.mood-panel{display:flex;align-items:center;gap:10px;padding:13px 17px;transition:border-color .3s}
.mood-figure{min-width:98px;width:105px;align-self:center}
.mood-figure img{display:block;width:100%;max-height:150px;object-fit:contain;filter:drop-shadow(0 3px 12px #d8a84230)}
.mood-content{flex:1;min-width:0}
.market-eyebrow{font-size:10px;letter-spacing:.06em;font-weight:900;color:#ffcf4a}
.mood-content h2{margin:3px 0 6px;font-size:17px;line-height:1.15}
.mood-main{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline}
.mood-main strong{font-size:clamp(19px,2.3vw,29px);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.mood-main span{font-size:14px;font-weight:850;color:#cddae5}
.mood-meter{position:relative;margin:13px 4px 4px;height:12px;border-radius:30px;border:1px solid #fff4;background:linear-gradient(90deg,#bb3444 0%,#eb7c4f 25%,#e8c556 50%,#a1d663 75%,#29aa74 100%)}
.mood-needle{position:absolute;top:-6px;height:24px;width:4px;border:1px solid #000b;border-radius:5px;background:white;box-shadow:0 0 0 2px #000a;transition:left .5s ease}
.mood-labels{display:flex;justify-content:space-between;gap:4px;color:#99acb9;font-size:8px;font-weight:800}
.market-source{font-size:10px!important;color:#a6b5c2!important;margin:9px 0 0!important}
.market-source a{color:#8fcdea;text-decoration:underline}
.btc-panel{padding:17px 19px;display:flex;flex-direction:column;gap:4px}
.btc-panel strong{font-size:clamp(19px,2.4vw,29px);color:#fff;font-variant-numeric:tabular-nums}
.btc-change{font-size:14px;font-weight:900;color:#b7c8d7}
.btc-change.up{color:#67e6af}.btc-change.down{color:#ff8799}
.btc-panel>small{color:#a4b6c8;font-size:10px}
.btc-panel .market-source{margin:2px 0 4px!important}
.video-cta{display:block;margin-top:auto;border:1px solid #bc9239;color:#ffdb76;text-align:center;padding:8px 12px;border-radius:9px;font-weight:850;font-size:12px;background:#4a391729}
.video-cta:hover{background:#6d4b20}
.mood-panel.fear{border-color:#b65d65}.mood-panel.fear #moodValue{color:#ff929c}
.mood-panel.neutral{border-color:#c6a454}.mood-panel.neutral #moodValue{color:#f3d482}
.mood-panel.greed{border-color:#399a73}.mood-panel.greed #moodValue{color:#71e1ac}
@media(max-width:800px){.market-board{grid-template-columns:1fr}.btc-panel{gap:5px}.mood-panel{padding:13px}.mood-figure{width:88px;min-width:88px}}
@media(max-width:420px){.mood-panel{gap:7px;padding:10px}.mood-figure{width:73px;min-width:73px}.mood-content h2{font-size:15px}.market-eyebrow{font-size:8.5px}.mood-labels{font-size:7px}.mood-main span{font-size:12px}.btc-panel{padding:12px}}

/* V14 — Precio real protagonista y símbolo BTC a la derecha. */
.market-board{grid-template-columns:minmax(0,1.32fr) minmax(0,1fr)}
.btc-panel{position:relative;overflow:hidden;justify-content:center;gap:9px;padding:20px 22px;background:linear-gradient(145deg,#162c3b,#0b1829 78%);border-color:#9a7434}
.btc-panel .market-eyebrow{letter-spacing:.09em;font-size:11px}
.btc-quote-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0}
.btc-quote-data{flex:1;min-width:0}
.btc-panel #realBtcPrice{display:block;font-size:clamp(31px,3.7vw,51px);font-weight:1000;line-height:1.05;color:#ffffff;letter-spacing:-.055em;white-space:nowrap;font-variant-numeric:tabular-nums}
.btc-change{font-size:clamp(15px,1.65vw,21px);margin-top:8px}
.btc-symbol{width:104px;height:104px;flex:0 0 104px;display:grid;place-items:center;border-radius:50%;color:#fff;font-family:Arial,sans-serif;font-size:76px;line-height:1;font-weight:1000;border:5px solid #ffca65;background:radial-gradient(circle at 30% 20%,#ffcc60 0%,#e79108 65%,#9b5400 100%);box-shadow:0 0 28px #ffa62c4b,inset 0 4px 12px #ffef9988;text-shadow:0 3px 3px #b96902}
.btc-panel>small{font-size:11px;line-height:1.35}
@media(max-width:900px){.btc-symbol{width:80px;height:80px;flex-basis:80px;font-size:60px;border-width:4px}.btc-panel #realBtcPrice{font-size:clamp(29px,4.3vw,42px)}}
@media(max-width:800px){.market-board{grid-template-columns:1fr}.btc-panel{padding:19px}.btc-symbol{width:96px;height:96px;flex-basis:96px;font-size:72px}.btc-panel #realBtcPrice{font-size:clamp(32px,6vw,50px)}}
@media(max-width:420px){.btc-quote-row{gap:6px}.btc-symbol{width:72px;height:72px;flex-basis:72px;font-size:53px;border-width:3px}.btc-panel #realBtcPrice{font-size:clamp(29px,8.3vw,36px)}.btc-change{font-size:15px}.btc-panel{padding:14px}}


/* V16 — Inyecciones de liquidez y arcade de defensa: globo compacto, sin bloquear el escenario. */
.wave-hud{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin:0 15px 7px;padding:4px 9px;border:1px solid #45627a;border-radius:8px;background:#12243a;font-size:10px;font-weight:850;color:#a9ecff;letter-spacing:.025em}
.wave-hud span:last-child{color:#ffc96f;font-weight:750}
.wave-banner{position:absolute;z-index:3;top:7.2%;left:18%;right:18%;border:2px solid #ffbc48;border-radius:15px;background:linear-gradient(135deg,#222338f5,#593323ed);box-shadow:0 6px 20px #000b,0 0 20px #f8953760;text-align:center;padding:5px 7px;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:61px}
.wave-banner strong{color:#ffe380;font-size:clamp(11px,3.4vw,17px);line-height:1.1;text-shadow:0 1px 4px #000}
.wave-banner b{color:#fff;font-size:21px;line-height:1.1;font-variant-numeric:tabular-nums}
.wave-banner small{color:#ffc4a1;font-size:9px;line-height:1.25;font-weight:800;letter-spacing:.01em}
.wave-banner.warning{animation:wavepulse .7s ease-in-out infinite alternate}
@keyframes wavepulse{to{box-shadow:0 6px 24px #000e,0 0 24px #ffbf6fa6;transform:scale(1.015)}}
.weapon-switch{position:absolute;z-index:4;right:5px;top:47%;width:96px;min-height:170px;display:flex;flex-direction:column;padding:5px;gap:5px;border:2px solid #d4ac4b;border-radius:11px;background:#06121fee;color:white;box-shadow:0 0 18px #000a,0 0 8px #e3a8364d;touch-action:manipulation;user-select:none}
.weapon-active,.weapon-reserve{display:flex;align-items:center;flex-direction:column;gap:1px;line-height:1.05;font-size:9px;color:#a7bdce;font-weight:900}
.weapon-active{color:#6de2fc}
.weapon-switch img{display:block;width:70px;height:23px;object-fit:contain;background:#eef4fb;border-radius:3px}
.weapon-switch b{color:#fff;font-size:11px}
.weapon-switch small{color:#f2dba6;font-size:8px}
.weapon-switch-icon{font-size:8px;line-height:1.1;padding:4px;border-radius:5px;background:#223750;color:#fff;text-align:center;font-weight:1000}
.weapon-switch:active{border-color:#75f4fb;background:#183b5c}
@media(max-width:580px){.wave-hud{margin:0 8px 5px;font-size:9px;padding:3px 6px}.wave-banner{left:15%;right:15%;padding:4px 7px}.wave-banner strong{font-size:12px}.wave-banner b{font-size:19px}.wave-banner small{font-size:7.6px}.weapon-switch{right:3px;top:47%;width:82px;min-height:150px;gap:3px;padding:3px}.weapon-switch img{width:62px;height:19px}.weapon-switch b{font-size:10px}.weapon-switch small{font-size:7px}.weapon-switch-icon{font-size:7px}}

/* V16.2: iconografía original y compacta para EXCHANGE y WALLET. */
.weapon-switch img{width:36px;height:28px;object-fit:contain;background:#182940;border:1px solid #5e7f94a0;border-radius:6px;padding:2px}
@media(max-width:580px){.weapon-switch img{width:32px;height:24px}}

/* V18 — Tablero completo en escritorio: ancho aprovechado, sin scroll durante la partida. */
@media (min-width: 901px) {
  html {scroll-behavior:auto}
  .app {width:min(1640px,100%);padding:0 22px}
  .top {min-height:37px}
  .back {font-size:19px}.back span {font-size:15px}
  .edition {font-size:10px}
  .intro {padding:5px 1px 5px;gap:12px}
  .intro h1 {font-size:clamp(21px,2vw,30px);line-height:1.02;margin:1px 0 0}
  .intro h1 span {display:inline}
  .intro .eyebrow {font-size:9px}
  .intro p:not(.eyebrow){font-size:10px;line-height:1.15}
  .heroMascot {height:42px;width:44px}
  .hud {padding:4px 11px;gap:9px}
  .stat span {font-size:9px}.stat strong {font-size:16px}
  .smallbtn {min-height:28px;padding:4px 8px;font-size:11px}
  .wave-hud {margin:0 11px 4px;padding:2px 9px;font-size:9px;line-height:1.1}
  .progress{margin:0 11px 5px;height:5px}
  .frame{border-radius:12px}
  .layout{display:grid;grid-template-columns:minmax(205px,1fr) auto minmax(205px,1fr);gap:10px;padding:0 11px 7px;align-items:start}
  .stage{grid-column:2;grid-row:1;max-width:520px;width:min(520px,calc((100dvh - 190px) * 0.583333));min-width:0;margin:0 auto}
  .sidebar{display:contents}
  .legend.good{grid-column:1;grid-row:1}.legend.bad{grid-column:3;grid-row:1}
  .legend{padding:9px 12px;min-width:0}
  .legend h2{font-size:13px;margin:0 0 6px}
  .legend-row{padding:5px 0;gap:7px}
  .symbol{min-width:32px;width:32px;height:32px;font-size:15px}
  .legend-row b{font-size:11px}.legend-row small{font-size:10px}
  .guide{display:none}
  .main-menu {max-width:320px;padding:12px 14px}
  .main-menu .menu-mascot {width:105px;height:115px;margin:5px auto 0}
  .main-menu h2{font-size:22px;margin:3px 0 5px}
  .main-menu h2 span{font-size:17px}
  .main-menu p{font-size:11px;line-height:1.28;margin:6px 0}
  .main-menu small{font-size:9px;line-height:1.25;margin-top:5px}
  .main-menu .tag{font-size:9px;padding:3px 7px}
  .menu-action {min-height:33px;padding:6px 9px;margin:5px 0;font-size:12px}
  .pause-menu,.settings-menu{max-width:320px;padding:17px 15px}
  footer{margin-top:8px;padding:5px 0;font-size:9px}
}
@media (min-width:901px) and (max-height:740px){
  .stage{width:min(520px,calc((100dvh - 172px) * 0.583333))}
  .intro p:not(.eyebrow){display:none}
  .intro{padding:3px 0}
  .top{min-height:31px}
  .frame .hud{padding:3px 9px}
  .guide{display:none}
}
@media (min-width:901px) and (max-width:1100px){
  .layout{grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr)}
  .legend{padding:6px}
  .legend-row{gap:5px;padding:4px 0}
  .symbol{min-width:26px;width:26px;height:26px;font-size:13px}
  .legend-row b{font-size:10px}.legend-row small{font-size:9px}
}
/* Ayuda contraída de forma predeterminada en móvil/tablet. */
.guide{grid-column:1/-1;margin-top:0;padding:0;line-height:1.4}
.guide summary{font-size:11px;color:#d6ebff;font-weight:900;cursor:pointer;padding:7px 10px;list-style-position:inside}
.guide-body{padding:8px 12px 11px;font-size:11px;line-height:1.5}
@media (min-width:901px){.guide{display:none}}
/* Compartir: captura real del resultado, lista para descargar o enviar. */
.share-overlay{position:fixed;inset:0;z-index:50;background:#020a14ef;display:grid;place-items:center;padding:10px;overflow:auto}
.share-window{width:min(800px,96vw);max-height:96dvh;overflow:auto;border:1px solid #d2a642;border-radius:17px;background:linear-gradient(145deg,#192c43,#0b1727);box-shadow:0 23px 70px #000c;padding:14px;color:white}
.share-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.share-title h2{color:var(--gold);font-size:20px;margin:7px 0 0;line-height:1.1}
.share-title p{font-size:12px;color:#c3d5e6;margin:5px 0 8px}
.share-close{color:white;background:#2d4055;border:1px solid #72879c;border-radius:9px;padding:5px 11px;font-size:17px}
.share-preview{display:block;object-fit:contain;width:auto;max-width:100%;max-height:min(49dvh,470px);border:1px solid #6a859a;border-radius:10px;margin:3px auto 10px;background:#0b1829}
.share-buttons,.share-social{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:center}
.share-buttons button,.share-social a{border:1px solid #637a94;border-radius:9px;background:#233b54;color:white;padding:9px 12px;font-size:12px;font-weight:900}
.share-buttons button.primary{background:#ffcc46;color:#1d1607;border-color:#ffcc46}
.share-social{margin-top:9px}.share-social span{font-size:11px;color:#a9bdce}
.share-hint{font-size:10px;line-height:1.35;color:#a5b7c8;margin:8px 0 0;text-align:center}
@media (max-width:580px){.share-window{padding:10px}.share-preview{max-height:45dvh}.share-title h2{font-size:16px}.share-buttons button{flex:1 1 140px;font-size:11px;padding:9px}.share-social a{font-size:10px;padding:6px 8px}}
