/* Nekon HUB · Juegos Nekon + Raspa y Gana v5.8 */
#juegos-nekon.nekon-games-page{
  --ng-gold:#ffc83d;
  --ng-gold-2:#ff9f1c;
  --ng-purple:#9d6bff;
  --ng-ink:#08090d;
  --ng-panel:#101117;
  --ng-line:rgba(255,200,61,.3);
}
#juegos-nekon .nekon-games-hub{display:grid;gap:18px;max-width:1320px;margin:0 auto;padding:6px 0 24px}
#juegos-nekon .nekon-games-intro{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:2px 4px}
#juegos-nekon .nekon-games-intro h2{margin:0;font:900 clamp(1.35rem,2.5vw,2.15rem)/1.05 system-ui;color:#fff}
#juegos-nekon .nekon-games-intro p{max-width:620px;margin:0;color:#aca8bb;font-size:.92rem;line-height:1.55}
#juegos-nekon .nekon-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#juegos-nekon .nekon-game-card{position:relative;min-height:300px;border:1px solid rgba(255,255,255,.09);border-radius:28px;overflow:hidden;background:linear-gradient(145deg,#141218,#090a0e 60%,#08080a);box-shadow:0 24px 70px rgba(0,0,0,.32);isolation:isolate}
#juegos-nekon .nekon-game-card::before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 20% 20%,rgba(255,190,45,.18),transparent 34%),radial-gradient(circle at 80% 18%,rgba(129,76,255,.22),transparent 30%);z-index:-1}
#juegos-nekon .nekon-game-card__visual{height:170px;position:relative;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.07)}
#juegos-nekon .nekon-game-card--bingo .nekon-game-card__visual{background:url('assets/bingo/bingo-nekon-hero-reference.webp?v=5.6') center 27%/cover no-repeat}
#juegos-nekon .nekon-game-card--bingo .nekon-game-card__visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(7,7,10,.82))}
#juegos-nekon .nekon-game-card__body{padding:20px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:end}
#juegos-nekon .nekon-game-card__body small{display:block;color:#ffd56e;font-weight:900;letter-spacing:.13em;font-size:.68rem;margin-bottom:6px}
#juegos-nekon .nekon-game-card__body h3{margin:0 0 7px;font:950 1.35rem/1 system-ui;color:#fff}
#juegos-nekon .nekon-game-card__body p{margin:0;color:#aaa7b3;font-size:.84rem;line-height:1.45}
#juegos-nekon .nekon-game-open{align-self:center;border:0;border-radius:16px;padding:12px 17px;background:linear-gradient(135deg,#ffe073,#ffb516);color:#17120a;font-weight:950;cursor:pointer;box-shadow:0 8px 26px rgba(255,187,32,.23)}
#juegos-nekon .nekon-game-card__badge{position:absolute;top:14px;right:14px;z-index:2;padding:7px 10px;border-radius:999px;background:rgba(6,7,10,.76);backdrop-filter:blur(8px);border:1px solid rgba(255,215,103,.28);color:#ffe490;font-size:.68rem;font-weight:900;letter-spacing:.06em}
#juegos-nekon .scratch-card-preview{height:170px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 25%,#4a2277 0,#22132f 40%,#0c0a10 100%);overflow:hidden}
#juegos-nekon .scratch-card-preview::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 12%,rgba(255,211,83,.24),transparent 18%),radial-gradient(circle at 18% 25%,rgba(255,255,255,.08),transparent 17%)}
#juegos-nekon .scratch-preview-title{position:absolute;top:16px;left:22px;display:grid;gap:2px;z-index:2}
#juegos-nekon .scratch-preview-title strong{font:950 1.28rem/1 system-ui;color:#ffd257;text-shadow:0 3px 18px #b950ff}
#juegos-nekon .scratch-preview-title span{font:900 .72rem/1 system-ui;letter-spacing:.34em;color:#fff}
#juegos-nekon .scratch-preview-cat{position:absolute;left:24px;bottom:18px;width:92px;height:92px;border-radius:26px;background:url('assets/bingo/bingo-nekon-cat-icon.webp?v=5.6') center/cover no-repeat;box-shadow:0 14px 30px rgba(0,0,0,.34);transform:rotate(-4deg)}
#juegos-nekon .scratch-preview-grid{width:min(48%,250px);margin-top:14px;margin-left:120px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;transform:rotate(-2deg)}
#juegos-nekon .scratch-preview-grid i{aspect-ratio:1;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#f6c54b,#d88617);box-shadow:inset 0 1px 0 #fff4b5,0 6px 14px rgba(0,0,0,.3);font-style:normal;color:#381d06;font-size:1.2rem}
#juegos-nekon .nekon-game-subview[hidden],#juegos-nekon .nekon-games-hub[hidden]{display:none!important}
#juegos-nekon .nekon-games-backbar{max-width:1540px;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
#juegos-nekon .nekon-games-back{border:1px solid rgba(255,205,72,.28);background:#0d0e13;color:#ffe079;border-radius:14px;padding:10px 14px;font-weight:900;cursor:pointer}
#juegos-nekon .nekon-games-backbar span{color:#8c8998;font-size:.78rem}

/* Scratch v5.8 */
#juegos-nekon .scratch-game-shell.enhanced{max-width:1240px;margin:0 auto;display:grid;gap:14px}
#juegos-nekon .scratch-hero.compact{position:relative;min-height:176px;border:1px solid rgba(255,199,61,.23);border-radius:26px;overflow:hidden;background:radial-gradient(circle at 18% 18%,rgba(255,185,64,.18),transparent 26%),radial-gradient(circle at 80% 0,rgba(157,107,255,.24),transparent 28%),linear-gradient(145deg,#141119,#090a0f 66%,#0b0812);padding:20px 22px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:20px;align-items:center;box-shadow:0 24px 60px rgba(0,0,0,.24)}
#juegos-nekon .scratch-hero__copy small{color:#ffd45e;font-weight:900;letter-spacing:.16em;font-size:.7rem}
#juegos-nekon .scratch-hero__copy h2{margin:7px 0 10px;font:1000 clamp(1.95rem,4vw,3.6rem)/.92 system-ui;color:#fff;text-transform:uppercase;letter-spacing:-.055em;text-shadow:0 0 28px rgba(165,73,255,.26)}
#juegos-nekon .scratch-hero__copy h2 span{display:block;color:#ffd04b}
#juegos-nekon .scratch-hero__copy p{margin:0;max-width:610px;color:#c6c2cf;line-height:1.55;font-size:.9rem}
#juegos-nekon .scratch-wallet{margin-top:15px;display:flex;gap:10px;flex-wrap:wrap}
#juegos-nekon .scratch-wallet b{padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#fff;font-size:.8rem}
#juegos-nekon .scratch-wallet b strong{color:#ffcf45;font-size:1rem}
#juegos-nekon .scratch-hero__art{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}
#juegos-nekon .scratch-cat-float{position:relative;width:120px;height:120px;display:grid;place-items:center}
#juegos-nekon .scratch-cat-float::before{content:"";position:absolute;inset:12px;background:radial-gradient(circle,rgba(255,208,75,.18),transparent 65%);filter:blur(6px)}
#juegos-nekon .scratch-cat-float img{width:108px;height:108px;object-fit:cover;border-radius:28px;border:1px solid rgba(255,210,85,.25);box-shadow:0 18px 35px rgba(0,0,0,.36);animation:nekonScratchFloat 3.8s ease-in-out infinite}
#juegos-nekon .scratch-ticket-stack{position:relative;height:120px;display:grid;place-items:center}
#juegos-nekon .scratch-ticket-stack__glow{position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,206,74,.18),transparent 62%)}
#juegos-nekon .scratch-ticket-stack__card{position:absolute;width:198px;height:114px;border-radius:22px;border:1px solid rgba(255,214,104,.28);background:linear-gradient(150deg,rgba(78,31,120,.92),rgba(23,13,35,.94));box-shadow:0 18px 36px rgba(0,0,0,.28)}
#juegos-nekon .scratch-ticket-stack__card.is-back{transform:translate(18px,-6px) rotate(7deg);opacity:.38}
#juegos-nekon .scratch-ticket-stack__card.is-mid{transform:translate(8px,0) rotate(2deg);opacity:.66}
#juegos-nekon .scratch-ticket-stack__card.is-front{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:12px;transform:rotate(-3deg)}
#juegos-nekon .scratch-ticket-stack__card.is-front i{aspect-ratio:1;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#ffd866,#e69a22);color:#321c07;font-size:1.15rem;font-style:normal;box-shadow:inset 0 1px 0 #fff2ab,0 6px 15px rgba(0,0,0,.25)}

#juegos-nekon .scratch-prize-table{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
#juegos-nekon .scratch-prize{min-width:0;padding:12px 10px;border-radius:17px;border:1px solid rgba(255,255,255,.08);background:#101116;text-align:center;display:grid;gap:4px;align-content:start}
#juegos-nekon .scratch-prize__icon{width:40px;height:40px;margin:0 auto 4px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);font-size:1.15rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
#juegos-nekon .scratch-prize strong{display:block;color:#fff;font-size:.74rem;min-height:2.2em}
#juegos-nekon .scratch-prize b{display:block;color:#ffd14e;font-size:.85rem}
#juegos-nekon .scratch-prize small{display:block;color:#9d99a8;font-size:.67rem}
#juegos-nekon .scratch-prize--gold .scratch-prize__icon,#juegos-nekon .scratch-prize--jackpot .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#fff2ab,#e8a718 70%);color:#5b3300}
#juegos-nekon .scratch-prize--blue .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#ddf2ff,#4ba3ff 72%)}
#juegos-nekon .scratch-prize--mint .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#d8ffe9,#38bd86 70%)}
#juegos-nekon .scratch-prize--orange .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#ffe0c3,#ff8747 70%)}
#juegos-nekon .scratch-prize--silver .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#fff,#adb6c8 72%);color:#232936}
#juegos-nekon .scratch-prize--miss .scratch-prize__icon{background:radial-gradient(circle at 30% 20%,#dde7d4,#6d8e58 72%)}

#juegos-nekon .scratch-controls-card{display:grid;grid-template-columns:minmax(0,1.2fr) auto minmax(0,.9fr);gap:12px;align-items:center;padding:16px 18px;border-radius:22px;border:1px solid rgba(255,214,111,.22);background:linear-gradient(160deg,#111217,#0a0b10)}
#juegos-nekon .scratch-controls-card__left,#juegos-nekon .scratch-controls-card__right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#juegos-nekon .scratch-controls-card__center{display:grid;place-items:center}
#juegos-nekon .scratch-quantity{display:grid;gap:4px;align-items:center;justify-items:start}
#juegos-nekon .scratch-quantity small{font-size:.7rem;font-weight:900;letter-spacing:.14em;color:#9f9bad}
#juegos-nekon .scratch-quantity__controls{display:flex;align-items:center;gap:8px}
#juegos-nekon .scratch-quantity__controls strong{min-width:36px;text-align:center;font-size:1.25rem;color:#fff}
#juegos-nekon .scratch-quantity__help{font-size:.68rem;color:#8a8697}
#juegos-nekon .scratch-counter-btn,#juegos-nekon .scratch-nav-btn{border:1px solid rgba(255,213,98,.26);background:#15161d;color:#ffe28d;border-radius:13px;min-width:38px;height:38px;display:grid;place-items:center;font-weight:900;cursor:pointer}
#juegos-nekon .scratch-nav-btn:disabled,#juegos-nekon .scratch-counter-btn:disabled{opacity:.35;cursor:not-allowed}
#juegos-nekon .scratch-primary,#juegos-nekon .scratch-secondary{border-radius:16px;padding:12px 16px;font-weight:1000;cursor:pointer}
#juegos-nekon .scratch-primary{border:0;background:linear-gradient(135deg,#ffe37c,#ffb31c);color:#17110a;box-shadow:0 10px 32px rgba(255,177,29,.19)}
#juegos-nekon .scratch-primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
#juegos-nekon .scratch-secondary{border:1px solid rgba(163,100,255,.38);background:#111019;color:#ccb7ff}
#juegos-nekon .scratch-secondary.compact{padding:10px 14px;border-radius:13px;font-size:.76rem}
#juegos-nekon .scratch-stack-meter{display:grid;gap:8px;justify-items:center}
#juegos-nekon .scratch-stack-meter span{font-size:.78rem;color:#d7d1e3;font-weight:800;letter-spacing:.04em;text-align:center}
#juegos-nekon .scratch-stack-meter i{position:relative;display:block;width:88px;height:24px}
#juegos-nekon .scratch-stack-meter i::before,#juegos-nekon .scratch-stack-meter i::after{content:"";position:absolute;left:0;right:0;margin:auto;border-radius:12px;height:18px;width:68px;border:1px solid rgba(255,214,104,.24);background:linear-gradient(150deg,rgba(65,28,102,.9),rgba(20,12,33,.94));box-shadow:0 8px 18px rgba(0,0,0,.2)}
#juegos-nekon .scratch-stack-meter i::before{top:6px;transform:translateX(12px) rotate(4deg)}
#juegos-nekon .scratch-stack-meter i::after{top:0;transform:rotate(-4deg)}

#juegos-nekon .scratch-main.enhanced{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:16px;align-items:start}
#juegos-nekon .scratch-main__board{min-width:0}
#juegos-nekon .scratch-board-card{border:1px solid rgba(255,198,55,.24);border-radius:26px;background:linear-gradient(160deg,#111217,#0a0b0e);padding:18px;min-width:0}
#juegos-nekon .scratch-board-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
#juegos-nekon .scratch-board-head h3{margin:0;color:#fff;font-size:1.12rem}
#juegos-nekon .scratch-board-head h3 span{color:#ffd15b}
#juegos-nekon .scratch-board-head p{margin:4px 0 0;color:#918d9b;font-size:.78rem}
#juegos-nekon .scratch-board-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#juegos-nekon .scratch-board-meta span{font-size:.75rem;color:#d0cad9;font-weight:800}
#juegos-nekon .scratch-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:520px;margin:0 auto}
#juegos-nekon .scratch-board.is-empty{display:block;max-width:none}
#juegos-nekon .scratch-empty-state{min-height:280px;border:1px dashed rgba(255,214,111,.22);border-radius:24px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;padding:18px}
#juegos-nekon .scratch-empty-state__icon{width:74px;height:74px;border-radius:22px;display:grid;place-items:center;font-size:2rem;background:linear-gradient(145deg,#5a2f8c,#221232);box-shadow:0 12px 22px rgba(0,0,0,.25)}
#juegos-nekon .scratch-empty-state strong{color:#fff;font-size:1.05rem}
#juegos-nekon .scratch-empty-state span{max-width:380px;color:#918d9b;font-size:.82rem;line-height:1.45}
#juegos-nekon .scratch-cell{position:relative;aspect-ratio:1.04;border-radius:18px;overflow:hidden;background:radial-gradient(circle at 50% 30%,#23202b,#121217 70%);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 0 28px rgba(0,0,0,.26)}
#juegos-nekon .scratch-symbol{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:8px;background:linear-gradient(180deg,rgba(255,255,255,.03),transparent)}
#juegos-nekon .scratch-symbol b{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.07);font-size:1.58rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
#juegos-nekon .scratch-symbol strong{display:block;color:#fff;font-size:.74rem;margin-top:6px}
#juegos-nekon .scratch-symbol small{display:block;color:#a8a3b2;font-size:.61rem;margin-top:2px;line-height:1.35}
#juegos-nekon .scratch-symbol--blue b{background:radial-gradient(circle at 30% 20%,#ddf2ff,#4ba3ff 72%);color:#102441}
#juegos-nekon .scratch-symbol--mint b{background:radial-gradient(circle at 30% 20%,#d8ffe9,#38bd86 70%);color:#103324}
#juegos-nekon .scratch-symbol--orange b{background:radial-gradient(circle at 30% 20%,#ffe0c3,#ff8747 70%);color:#421a08}
#juegos-nekon .scratch-symbol--silver b{background:radial-gradient(circle at 30% 20%,#fff,#adb6c8 72%);color:#232936}
#juegos-nekon .scratch-symbol--jackpot b,#juegos-nekon .scratch-symbol--gold b{background:radial-gradient(circle at 30% 20%,#fff2ab,#e8a718 70%);color:#5b3300;box-shadow:0 0 26px rgba(255,212,84,.24)}
#juegos-nekon .scratch-symbol--miss b{background:radial-gradient(circle at 30% 20%,#dde7d4,#6d8e58 72%)}
#juegos-nekon .scratch-cover{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;transition:opacity .28s ease}
#juegos-nekon .scratch-cell.is-revealed .scratch-cover{opacity:0;pointer-events:none}

#juegos-nekon .scratch-preview-panel{display:grid;gap:12px}
#juegos-nekon .scratch-preview-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:16px 18px;border-radius:22px;border:1px solid rgba(163,100,255,.18);background:linear-gradient(160deg,#101117,#0b0c11)}
#juegos-nekon .scratch-preview-head small{display:block;font-weight:900;letter-spacing:.12em;color:#9f9bad;font-size:.65rem}
#juegos-nekon .scratch-preview-head h3{margin:4px 0 5px;color:#fff;font-size:1.08rem}
#juegos-nekon .scratch-preview-head p{margin:0;color:#8f8b99;font-size:.74rem;line-height:1.45}
#juegos-nekon .scratch-preview-nav{display:flex;align-items:center;gap:8px}
#juegos-nekon .scratch-preview-nav span{font-size:.77rem;font-weight:800;color:#ddd4ee;min-width:42px;text-align:center}
#juegos-nekon .scratch-preview-grid-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#juegos-nekon .scratch-preview-empty{grid-column:1/-1;padding:24px 18px;border-radius:20px;border:1px dashed rgba(255,214,111,.22);text-align:center;display:grid;place-items:center;gap:8px;min-height:180px;background:linear-gradient(160deg,#111217,#0a0b10)}
#juegos-nekon .scratch-preview-empty div{font-size:2rem}
#juegos-nekon .scratch-preview-empty strong{color:#fff}
#juegos-nekon .scratch-preview-empty span{max-width:240px;font-size:.76rem;color:#948f9d;line-height:1.45}
#juegos-nekon .scratch-ticket-thumb{border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#101116;color:#fff;padding:11px;display:grid;gap:10px;cursor:pointer;text-align:left;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
#juegos-nekon .scratch-ticket-thumb:hover{transform:translateY(-1px);border-color:rgba(255,214,104,.24)}
#juegos-nekon .scratch-ticket-thumb.is-selected{border-color:rgba(255,210,87,.64);box-shadow:0 0 0 1px rgba(255,210,87,.24)}
#juegos-nekon .scratch-ticket-thumb.is-win{background:radial-gradient(circle at 50% 0,rgba(255,197,55,.12),transparent 62%),#101116}
#juegos-nekon .scratch-ticket-thumb__head{display:flex;justify-content:space-between;gap:8px;align-items:start}
#juegos-nekon .scratch-ticket-thumb__head b{font-size:.82rem}
#juegos-nekon .scratch-ticket-thumb__head small{font-size:.67rem;line-height:1.35;color:#aaa6b2;max-width:90px;text-align:right}
#juegos-nekon .scratch-ticket-thumb__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
#juegos-nekon .scratch-ticket-thumb__grid i{aspect-ratio:1;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:.92rem;background:#1a1c25;color:#fff}
#juegos-nekon .scratch-ticket-thumb__grid i.is-covered{background:linear-gradient(145deg,#ffd866,#e69a22);color:#432707}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-blue{background:radial-gradient(circle at 30% 20%,#ddf2ff,#4ba3ff 72%);color:#102441}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-mint{background:radial-gradient(circle at 30% 20%,#d8ffe9,#38bd86 70%);color:#103324}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-orange{background:radial-gradient(circle at 30% 20%,#ffe0c3,#ff8747 70%);color:#421a08}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-silver{background:radial-gradient(circle at 30% 20%,#fff,#adb6c8 72%);color:#232936}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-jackpot,#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-gold{background:radial-gradient(circle at 30% 20%,#fff2ab,#e8a718 70%);color:#5b3300}
#juegos-nekon .scratch-ticket-thumb__grid i.is-tone-miss{background:radial-gradient(circle at 30% 20%,#dde7d4,#6d8e58 72%);color:#1f2c16}

#juegos-nekon .scratch-info-card,#juegos-nekon .scratch-result{border:1px solid rgba(255,255,255,.08);border-radius:20px;background:#101116;padding:16px}
#juegos-nekon .scratch-info-card small,#juegos-nekon .scratch-result small{color:#8f8b99;font-weight:900;letter-spacing:.12em;font-size:.65rem}
#juegos-nekon .scratch-info-card strong{display:block;margin:5px 0;color:#fff;font-size:1rem}
#juegos-nekon .scratch-info-card p{margin:0;color:#aaa6b2;font-size:.78rem;line-height:1.48}
#juegos-nekon .scratch-result{text-align:center;min-height:120px;display:grid;place-items:center;align-content:center;gap:5px;border-color:rgba(255,198,55,.25)}
#juegos-nekon .scratch-result strong{font-size:1.22rem;color:#fff;line-height:1.24}
#juegos-nekon .scratch-result b{font-size:1.42rem;color:#ffd14e;line-height:1.2}
#juegos-nekon .scratch-result.is-win{background:radial-gradient(circle at 50% 0,rgba(255,197,55,.17),transparent 60%),#111116;border-color:rgba(255,202,69,.5)}
#juegos-nekon .scratch-result.is-lose b{color:#a59faf;font-size:.98rem}

#juegos-nekon .scratch-dialog{border:0;padding:0;background:transparent}
#juegos-nekon .scratch-dialog::backdrop{background:rgba(2,3,6,.72);backdrop-filter:blur(4px)}
#juegos-nekon .scratch-dialog__card{width:min(720px,calc(100vw - 20px));border-radius:26px;border:1px solid rgba(255,214,111,.22);background:linear-gradient(160deg,#111217,#0a0b10);padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.42)}
#juegos-nekon .scratch-dialog__head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:14px}
#juegos-nekon .scratch-dialog__head small{display:block;font-weight:900;letter-spacing:.12em;color:#9f9bad;font-size:.65rem}
#juegos-nekon .scratch-dialog__head h3{margin:4px 0 0;color:#fff;font-size:1.18rem}
#juegos-nekon .scratch-dialog__close{border:1px solid rgba(255,214,111,.22);background:#12131a;color:#ffe08a;width:40px;height:40px;border-radius:50%;font-size:1.1rem;cursor:pointer}
#juegos-nekon .scratch-dialog__steps{margin:0;padding-left:18px;color:#d7d1e3;display:grid;gap:10px;line-height:1.55;font-size:.9rem}
#juegos-nekon .scratch-dialog__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}
#juegos-nekon .scratch-history-list{display:grid;gap:10px;max-height:60vh;overflow:auto;padding-right:4px}
#juegos-nekon .scratch-history-empty{padding:18px;border:1px dashed rgba(255,214,111,.22);border-radius:18px;text-align:center;display:grid;gap:8px}
#juegos-nekon .scratch-history-empty div{font-size:1.8rem}
#juegos-nekon .scratch-history-empty strong{color:#fff}
#juegos-nekon .scratch-history-empty span{font-size:.78rem;color:#958fa0;line-height:1.45}
#juegos-nekon .scratch-history-item{padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:#101116;display:grid;gap:10px}
#juegos-nekon .scratch-history-item.is-win{border-color:rgba(255,208,75,.35);background:radial-gradient(circle at 50% 0,rgba(255,197,55,.12),transparent 66%),#101116}
#juegos-nekon .scratch-history-item__head{display:flex;justify-content:space-between;gap:10px;align-items:start}
#juegos-nekon .scratch-history-item__head small{display:block;font-weight:900;letter-spacing:.12em;color:#9f9bad;font-size:.62rem}
#juegos-nekon .scratch-history-item__head strong{display:block;color:#fff;font-size:.98rem;margin-top:3px}
#juegos-nekon .scratch-history-item__head span{font-size:.72rem;color:#aaa6b2;white-space:nowrap}
#juegos-nekon .scratch-history-item__grid{display:grid;grid-template-columns:repeat(9,1fr);gap:5px}
#juegos-nekon .scratch-history-item__grid i{aspect-ratio:1;border-radius:9px;display:grid;place-items:center;font-style:normal;font-size:.84rem;background:#1a1c25;color:#fff}
#juegos-nekon .scratch-history-item__grid i.is-covered{background:linear-gradient(145deg,#ffd866,#e69a22);color:#432707}
#juegos-nekon .scratch-history-item__grid i.is-tone-blue{background:radial-gradient(circle at 30% 20%,#ddf2ff,#4ba3ff 72%);color:#102441}
#juegos-nekon .scratch-history-item__grid i.is-tone-mint{background:radial-gradient(circle at 30% 20%,#d8ffe9,#38bd86 70%);color:#103324}
#juegos-nekon .scratch-history-item__grid i.is-tone-orange{background:radial-gradient(circle at 30% 20%,#ffe0c3,#ff8747 70%);color:#421a08}
#juegos-nekon .scratch-history-item__grid i.is-tone-silver{background:radial-gradient(circle at 30% 20%,#fff,#adb6c8 72%);color:#232936}
#juegos-nekon .scratch-history-item__grid i.is-tone-jackpot,#juegos-nekon .scratch-history-item__grid i.is-tone-gold{background:radial-gradient(circle at 30% 20%,#fff2ab,#e8a718 70%);color:#5b3300}
#juegos-nekon .scratch-history-item__grid i.is-tone-miss{background:radial-gradient(circle at 30% 20%,#dde7d4,#6d8e58 72%);color:#1f2c16}
#juegos-nekon .scratch-history-item__footer{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
#juegos-nekon .scratch-history-item__footer b{color:#ffd14e}
#juegos-nekon .scratch-history-item__footer span{color:#a9a3b1;font-size:.76rem}

#juegos-nekon .scratch-jackpot-layer{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,rgba(255,213,90,.18),rgba(7,8,12,.82) 65%);backdrop-filter:blur(8px)}
#juegos-nekon .scratch-jackpot-card{position:relative;width:min(420px,calc(100vw - 26px));padding:28px;border-radius:28px;border:1px solid rgba(255,214,111,.36);background:linear-gradient(155deg,#1d1512,#090a10 68%);text-align:center;box-shadow:0 26px 80px rgba(0,0,0,.46);overflow:hidden}
#juegos-nekon .scratch-jackpot-card::before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 30% 30%,rgba(255,219,102,.34),transparent 24%),radial-gradient(circle at 70% 36%,rgba(255,255,255,.16),transparent 16%),radial-gradient(circle at 62% 74%,rgba(157,107,255,.28),transparent 24%);animation:nekonSparkle 4.5s linear infinite}
#juegos-nekon .scratch-jackpot-card small{position:relative;display:block;color:#ffd868;font-weight:900;letter-spacing:.18em;font-size:.72rem}
#juegos-nekon .scratch-jackpot-card strong{position:relative;display:block;margin-top:8px;color:#fff;font:1000 2.1rem/1 system-ui;text-transform:uppercase}
#juegos-nekon .scratch-jackpot-card b{position:relative;display:block;margin-top:12px;color:#ffd14e;font:1000 3.2rem/1 system-ui;text-shadow:0 0 20px rgba(255,208,74,.2)}
#juegos-nekon .scratch-jackpot-card span{position:relative;display:block;margin-top:10px;color:#f7f1ff;font-size:1rem}

@keyframes nekonScratchFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes nekonSparkle{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}

@media(max-width:1024px){
  #juegos-nekon .scratch-prize-table{grid-template-columns:repeat(4,minmax(0,1fr))}
  #juegos-nekon .scratch-controls-card{grid-template-columns:1fr;justify-items:center;text-align:center}
  #juegos-nekon .scratch-controls-card__left,#juegos-nekon .scratch-controls-card__right{justify-content:center}
  #juegos-nekon .scratch-main.enhanced{grid-template-columns:1fr}
}
@media(max-width:900px){
  #juegos-nekon .nekon-games-grid{grid-template-columns:1fr}
  #juegos-nekon .scratch-hero.compact{grid-template-columns:1fr;min-height:0;text-align:center}
  #juegos-nekon .scratch-hero__art{grid-template-columns:1fr;justify-items:center}
  #juegos-nekon .scratch-cat-float{order:2}
  #juegos-nekon .scratch-ticket-stack{order:1}
}
@media(max-width:620px){
  #juegos-nekon .nekon-games-intro{display:block;text-align:center;padding:0 6px}
  #juegos-nekon .nekon-games-intro p{margin:8px auto 0;font-size:.78rem}
  #juegos-nekon .nekon-game-card{min-height:250px;border-radius:22px}
  #juegos-nekon .nekon-game-card__visual,#juegos-nekon .scratch-card-preview{height:148px}
  #juegos-nekon .scratch-preview-cat{width:76px;height:76px;left:16px;bottom:12px;border-radius:22px}
  #juegos-nekon .scratch-preview-grid{width:52%;margin-left:92px;gap:6px}
  #juegos-nekon .nekon-game-card__body{grid-template-columns:1fr;padding:16px}
  #juegos-nekon .nekon-game-open{width:100%}
  #juegos-nekon .nekon-games-backbar{padding:0 2px}
  #juegos-nekon .nekon-games-backbar span{display:none}
  #juegos-nekon .scratch-game-shell.enhanced{gap:12px}
  #juegos-nekon .scratch-hero.compact{padding:18px;border-radius:22px;gap:12px}
  #juegos-nekon .scratch-hero__copy h2{font-size:2.4rem}
  #juegos-nekon .scratch-hero__copy p{font-size:.81rem}
  #juegos-nekon .scratch-wallet{justify-content:center}
  #juegos-nekon .scratch-cat-float{width:96px;height:96px}
  #juegos-nekon .scratch-cat-float img{width:90px;height:90px;border-radius:24px}
  #juegos-nekon .scratch-ticket-stack{height:102px}
  #juegos-nekon .scratch-ticket-stack__card{width:168px;height:98px;border-radius:18px}
  #juegos-nekon .scratch-ticket-stack__card.is-front{padding:10px;gap:6px}
  #juegos-nekon .scratch-ticket-stack__card.is-front i{font-size:1rem;border-radius:10px}
  #juegos-nekon .scratch-prize-table{grid-template-columns:repeat(2,1fr);gap:8px}
  #juegos-nekon .scratch-prize{padding:10px 8px}
  #juegos-nekon .scratch-controls-card{padding:14px}
  #juegos-nekon .scratch-controls-card__left,#juegos-nekon .scratch-controls-card__right{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #juegos-nekon .scratch-controls-card__left .scratch-quantity{grid-column:1/-1;justify-items:center}
  #juegos-nekon .scratch-controls-card__left .scratch-primary,#juegos-nekon .scratch-controls-card__left .scratch-secondary,#juegos-nekon .scratch-controls-card__right .scratch-secondary{width:100%}
  #juegos-nekon .scratch-preview-grid-panel{grid-template-columns:1fr}
  #juegos-nekon .scratch-board-card{padding:14px;border-radius:22px}
  #juegos-nekon .scratch-board-head{display:block;text-align:center}
  #juegos-nekon .scratch-board-meta{justify-content:center;margin-top:10px}
  #juegos-nekon .scratch-board{gap:7px}
  #juegos-nekon .scratch-cell{border-radius:12px;aspect-ratio:1}
  #juegos-nekon .scratch-symbol{padding:4px}
  #juegos-nekon .scratch-symbol b{width:38px;height:38px;font-size:1.05rem;border-radius:12px}
  #juegos-nekon .scratch-symbol strong{font-size:.56rem;margin-top:4px}
  #juegos-nekon .scratch-symbol small{font-size:.48rem;line-height:1.2}
  #juegos-nekon .scratch-preview-head{padding:14px;display:block;text-align:center}
  #juegos-nekon .scratch-preview-nav{justify-content:center;margin-top:10px}
  #juegos-nekon .scratch-result b{font-size:1.18rem}
  #juegos-nekon .scratch-dialog__card{padding:16px;border-radius:22px}
  #juegos-nekon .scratch-history-item__grid{grid-template-columns:repeat(3,1fr)}
}
