@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800;900&family=Pixelify+Sans:wght@500;600;700&display=swap');

:root{--pixel-cyan:#34efff;--pixel-magenta:#ed48fa;--pixel-purple:#8f54ff;--pixel-yellow:#ffdd54}
body{background:radial-gradient(circle at 50% -10%,#172769,#090919 42%,#070b1a 75%);overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;z-index:50;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,#0205131a 4px 5px);opacity:.25}
.shell{max-width:1380px}
.topbar{height:84px;border-color:#65e8fb33;position:relative;z-index:5}
.brand{font-family:Orbitron,'Space Grotesk',sans-serif;letter-spacing:.08em;text-shadow:0 0 18px #46d9f480}
.brand strong{color:#7ffaff}.brand small{font-family:'Pixelify Sans',monospace;font-size:10px;letter-spacing:.15em;color:#c3c9ee}
.brand-mark{border-radius:3px;background:#0a1029;border:2px solid var(--pixel-cyan);box-shadow:0 0 14px #2ceaff90,inset 0 0 9px #2ceaff66}
.live-pill{font-family:'Pixelify Sans',monospace;font-size:12px;color:#a8e7fc}
.profile-button{border-radius:3px;border-color:#53d7f47e;background:#101633;box-shadow:4px 4px 0 #7335a657}
.sound-toggle{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;color:#86f5f5;background:#0d1a3b;border:1px solid #2bbde2;border-radius:2px;box-shadow:3px 3px 0 #592f8b;font:700 13px 'Pixelify Sans',monospace;white-space:nowrap}
.sound-toggle:hover,.sound-toggle:focus-visible{background:#193158;border-color:#8dfcff}.sound-toggle[aria-pressed="false"]{color:#a7adc7;border-color:#555c78}.sound-toggle:disabled{opacity:.55;cursor:not-allowed}
.tiny-avatar,.summary-avatar{font-family:'Pixelify Sans',monospace;border-radius:2px!important;background:#162853!important;border:1px solid #56dce7;color:#d6fbff;font-weight:700}

.hero-pixel{position:relative;display:block;min-height:610px;margin:28px 0 0;padding:0;border:1px solid #37dff185;overflow:hidden;background:#070c29;box-shadow:0 0 0 5px #101332,0 0 0 6px #a743d64d,0 25px 80px #030611;isolation:isolate}
.hero-pixel:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#061023f5 0%,#07122de8 31%,#08112b87 55%,transparent 83%),linear-gradient(0deg,#050919a1,transparent 29%);pointer-events:none}
.hero-pixel:after{content:"";position:absolute;inset:7px;z-index:8;border:1px solid #ffffff15;pointer-events:none}
.hero-scene{position:absolute;inset:0;background:url('assets/arcade-city.svg') center center / cover no-repeat}
.scene-grid{position:absolute;inset:0;background:radial-gradient(circle at 70% 55%,#9e3fff44,transparent 24%),radial-gradient(circle at 71% 67%,#20eaff33,transparent 28%)}
.scene-scanlines{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 6px,#07102a33 7px 8px);opacity:.65}
.hero-copy{position:relative;z-index:6;width:min(59%,690px);padding:92px 0 70px 54px}
.hero-copy .eyebrow{display:inline-flex;align-items:center;gap:9px;background:#051227d9;border:1px solid #3abce97c;box-shadow:4px 4px 0 #112456,0 0 18px #44d8f733;padding:10px 13px;font-family:'Pixelify Sans',monospace;font-size:13px;letter-spacing:.06em;color:#b5eaff}
.status-square{width:8px;height:8px;background:#33edfa;box-shadow:0 0 12px #43f4ff;animation:pixelBlink 2.6s steps(2,end) infinite}
.hero-copy h1{margin:32px 0 9px;font-family:Orbitron,'Space Grotesk',sans-serif;line-height:.97;letter-spacing:-.09em;text-transform:uppercase}
.hero-codec{display:block;font-size:clamp(56px,7vw,110px);font-weight:900;color:#fff;text-shadow:0 0 5px #fff,0 0 25px #25d8ff,5px 5px 0 #27498c}
.hero-copy h1 em{display:block;width:max-content;max-width:100%;margin-left:2px;padding-right:10px;font-family:'Pixelify Sans',monospace;font-style:italic;font-size:clamp(76px,10vw,158px);font-weight:700;letter-spacing:-.065em;line-height:.9;color:#69eaff;background:linear-gradient(160deg,#a4ffff 2%,#02bffd 44%,#c154ff 72%,#f967fa);background-clip:text;-webkit-text-stroke:1px #f7e9ff;text-shadow:5px 8px 0 #2336a0,0 0 26px #0cdcf9;transform:skewX(-8deg)}
.hero-tagline{font-family:'Pixelify Sans',monospace;font-size:20px;letter-spacing:.1em;color:#ff89ef;text-shadow:0 0 13px #fc42e9;margin:18px 0 15px}.hero-tagline span{color:#50ebff;font-size:11px;vertical-align:3px;padding:0 6px}
.hero-copy p{max-width:500px;color:#d3e3f6;font-size:14px;line-height:1.7;text-shadow:0 2px 12px #030a23}
.hero-actions{margin-top:28px;gap:12px}.hero-footnote{display:block;margin-top:30px;font:600 11px 'Pixelify Sans',monospace;letter-spacing:.15em;color:#8fb5da}
.primary-button,.outline-button{border-radius:2px;font-family:'Pixelify Sans',monospace;font-size:16px;letter-spacing:.02em;transition:transform .18s,box-shadow .18s,background .18s}
.primary-button{background:linear-gradient(90deg,#24e1f0,#94fafa);border:1px solid #c4ffff;box-shadow:5px 5px 0 #8f33bd,0 0 26px #27ecff55}
.primary-button:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 #8f33bd,0 0 35px #27ecff9c}
.outline-button{border-color:#8b56df;background:#151e3b;box-shadow:4px 4px 0 #642b9b6c}.outline-button:hover{transform:translate(-2px,-2px);border-color:#45f2ff;box-shadow:6px 6px 0 #27a0c270}
.ghost-button{font-family:'Pixelify Sans',monospace;font-size:16px;color:#a5f5ff;text-shadow:0 0 9px #0adbf4}
.pixel-coin{position:absolute;z-index:3;display:grid;place-items:center;pointer-events:none}
.pixel-coin{width:45px;height:52px;border:6px solid #ffb82e;background:#a45113;color:#ffe569;font-size:24px;box-shadow:inset 0 0 0 4px #fbe969,0 0 20px #ffc337;transform:rotate(-14deg);animation:coinFloat 3.3s ease-in-out infinite}
.coin-one{left:53%;top:30%}.coin-two{right:12%;bottom:17%;transform:scale(.6) rotate(15deg);animation-delay:-1.4s}
.portal-halo{position:absolute;z-index:2;width:330px;height:350px;left:61%;top:31%;border-radius:50%;background:radial-gradient(circle,#22dbf49c,transparent 62%);filter:blur(26px);animation:portalPulse 4s ease-in-out infinite}
.portal-frame{position:absolute;z-index:3;left:68%;top:39%;width:170px;height:200px;display:grid;place-items:center;clip-path:polygon(22% 0,78% 0,100% 24%,100% 100%,0 100%,0 24%);background:#21cfff;box-shadow:0 0 40px #38f5ff;filter:drop-shadow(0 0 22px #24eaff)}
.portal-frame:before{content:"";position:absolute;inset:10px;clip-path:inherit;background:radial-gradient(circle at 50% 80%,#083365,#151053 65%,#070a2c);border:3px solid #96f9ff}
.portal-frame span{position:relative;font:900 112px Orbitron,sans-serif;color:#8dfbff;line-height:1;text-shadow:0 0 17px #fff,0 0 35px #36eafa}
.pixel-player{position:absolute;z-index:5;left:70.4%;bottom:3%;width:87px;height:131px;image-rendering:pixelated;filter:drop-shadow(0 0 14px #a749ee);animation:characterBob 2.9s ease-in-out infinite}
.scene-label{position:absolute;z-index:4;padding:10px 12px;background:#071b3ddb;border:2px solid #39e9ff;box-shadow:4px 4px 0 #372078,0 0 18px #22e5ff66;color:#85f9ff;font:700 16px/1.15 'Pixelify Sans',monospace;transform:rotate(-5deg)}
.scene-label-one{left:52%;top:13%}.scene-label-two{right:2%;bottom:12%;border-color:#ea56ee;color:#f3a4ff;font-size:13px;transform:rotate(7deg)}.scene-label-two b{color:#ff6aa8}
.scene-rank{position:absolute;z-index:4;right:2.3%;top:27%;display:grid;gap:7px;width:137px;padding:12px 10px;background:#081333ed;border:2px solid #1fdcf5;box-shadow:4px 5px 0 #7239b9,0 0 21px #14d9ff8a;transform:rotate(5deg);font:700 12px 'Pixelify Sans',monospace;color:#86eafa}
.scene-rank b{font-size:15px;color:#c4f9ff;border-bottom:1px solid #6beefa7c;padding-bottom:5px}.scene-rank span{display:flex;align-items:center;gap:5px}.scene-rank i{font-style:normal;font-size:16px}
.scene-rank img{width:20px;height:20px;image-rendering:pixelated}

.tabs{position:relative;margin-top:22px;background:#0c1230;border:1px solid #2cc6e974;box-shadow:0 5px 0 #30225a,0 0 21px #16d2eb30;gap:0;scrollbar-width:thin}
.tab{flex:1;font-family:'Pixelify Sans',monospace;font-size:17px;letter-spacing:.02em;border-right:1px solid #294a71;border-bottom:3px solid transparent;padding:18px 8px;color:#9bb6d7}
.tab:last-child{border-right:0}.tab.active{background:#132d52;color:#9bffff;border-color:#53f4ff;text-shadow:0 0 10px #19d7f5}
.panel-view{padding-top:62px}.section-heading h2{font-family:Orbitron,'Space Grotesk',sans-serif;font-size:clamp(27px,2.7vw,39px);letter-spacing:-.055em;text-transform:uppercase}
.section-kicker,.game-tag{font-family:'Pixelify Sans',monospace;font-size:14px;letter-spacing:.1em;text-shadow:0 0 11px #31dcf966}
.section-heading p{color:#b1c7dd}.dot{color:#fc76f5;text-shadow:0 0 10px #f558eb}
.player-summary,.stat-strip,.surface,.game-card,.promo-box,.activity-box,.plan-card,.club-card{border-radius:3px;box-shadow:4px 5px 0 #0d1436}
.stat-strip{border-color:#3f9ac088;background:#101a38}.stat-strip>div+div{border-color:#38729a65}.stat-icon{border-radius:2px}.stat-strip strong,.metrics strong,.leader-row .total{font-family:Orbitron,'Space Grotesk',sans-serif}
.game-card{border-color:#385986;background:#101c39;overflow:hidden}.game-card:hover{border-color:#63f9fb;box-shadow:6px 8px 0 #4c2a8d,0 0 25px #21d9ef3b}
.game-art{height:230px}.game-art:after{content:"";position:absolute;inset:0;border:9px solid #081a3277;pointer-events:none}
.snake-art{background:radial-gradient(circle at center,#1c6b76,#101b42 62%,#0b1230)}.simon-art{background:radial-gradient(circle at center,#6c267f,#1e1945 64%,#0e1030)}
.snake-shape{transform:rotate(-8deg) scale(1.18)}.simon-preview{transform:rotate(-12deg) scale(1.12)}
.game-info h3,.surface h3,.promo-box strong,.plan-card h3,.club-copy h3{font-family:Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.04em}
.round-button{border-radius:2px;font-family:'Pixelify Sans',monospace;font-weight:700;box-shadow:4px 4px 0 #6d2fa1}
.promo-box{border-color:#6b4ab2;background:linear-gradient(115deg,#211b51,#151f3f)}.activity-box{border-color:#31577a}.text-link{font-family:'Pixelify Sans',monospace;font-size:16px}
.plan-card{border-width:2px}.plan-card h3{font-size:28px}.plan-icon{border-radius:2px}.plan-state{font-family:'Pixelify Sans',monospace;font-size:12px}.plan-note{border-radius:2px}
.plan-price{display:flex;align-items:baseline;gap:7px;margin-top:14px;color:#9bdfe7}.plan-price strong{color:#fff;font:800 25px Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.055em}.plan-price span{font:700 12px 'Pixelify Sans',monospace}.gold-plan .plan-price strong{color:#ffe394}
.club-card{border-width:2px}.club-emblem{border-radius:2px;transform:rotate(-4deg)}
.club-price{margin:0 0 10px;color:#e9c1ff;font:800 23px Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.05em}.club-price small{font:700 13px 'Pixelify Sans',monospace;letter-spacing:0;color:#b3c5e5}
.ranking-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:end;margin:0 0 27px}
.ranking-podium[hidden]{display:none}
.podium-card{display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px;padding:20px 13px 22px;min-height:218px;border:2px solid #9296af;background:linear-gradient(160deg,#222a4d,#111a35);box-shadow:5px 6px 0 #393e70;position:relative}
.podium-card.oro{min-height:248px;border-color:#ffde68;background:radial-gradient(circle at 50% 22%,#82602e88,transparent 55%),#1e1c35;box-shadow:5px 6px 0 #8b572c,0 0 25px #f8c9453b}
.podium-card.plata{border-color:#a7d6ed;box-shadow:5px 6px 0 #4b6886}.podium-card.bronce{border-color:#ca8e6b;box-shadow:5px 6px 0 #7c4d3c}
.podium-card img,.rank-avatar-mini{image-rendering:pixelated}.podium-card img{width:84px;height:84px;filter:drop-shadow(0 0 12px #7dcbff70)}.podium-card.oro img{width:96px;height:96px;filter:drop-shadow(0 0 15px #f9cc55ab)}
.podium-card strong{font-family:Orbitron,'Space Grotesk',sans-serif;font-size:15px}.podium-card>span:last-child{font:700 15px 'Pixelify Sans',monospace;color:#7af5ed}
.podium-place{font:700 15px 'Pixelify Sans',monospace;color:#dce6f6;letter-spacing:.05em}.podium-card.oro .podium-place{color:#ffe17e}
.rank-avatar-mini{width:36px;height:36px;flex:none}.leader-row,.list-head{background:#10182f}.leader-row.mine{background:#133a4a}.leader-row .leader-name{min-width:0}
.duel-stage,.duel-setup,.merchant-form{border-color:#3b668d}.modal{border-radius:3px;border:2px solid #65e8ff;box-shadow:8px 8px 0 #733caf,0 30px 90px #000d}.modal-header h2{font-family:Orbitron,'Space Grotesk',sans-serif}.close-button{border-radius:2px}
.game-controls button,.simon-pad,.duel-button{border-radius:3px}.simon-pad.lit{box-shadow:0 0 28px currentColor}

@keyframes pixelBlink{50%{opacity:.3}}
@keyframes coinFloat{50%{translate:0 -14px;rotate:9deg}}
@keyframes portalPulse{50%{opacity:.7;scale:1.12}}
@keyframes characterBob{50%{translate:0 -6px}}
@media(max-width:1050px){.hero-copy{width:63%;padding-left:35px}.scene-label-one{display:none}.scene-rank{right:1%;top:20%;scale:.82}.portal-frame{left:70%;width:140px;height:175px}.portal-frame span{font-size:90px}.pixel-player{left:72%;width:73px;height:110px}.hero-codec{font-size:clamp(50px,7vw,80px)}.hero-copy h1 em{font-size:clamp(76px,10vw,115px)}}
@media(max-width:730px){.shell{padding:0 13px}.hero-pixel{min-height:675px;margin-top:17px}.hero-pixel:before{background:linear-gradient(180deg,#071027fa 0%,#09132bdc 39%,#07102736 72%,#05081b76 100%)}.hero-scene{background-position:60% center}.hero-copy{width:100%;padding:42px 23px 0}.hero-copy .eyebrow{font-size:11px}.hero-copy h1{margin:26px 0 8px}.hero-codec{font-size:clamp(53px,12vw,77px)}.hero-copy h1 em{font-size:clamp(75px,19vw,116px)}.hero-tagline{font-size:17px;margin:8px 0}.hero-copy p{max-width:490px;font-size:13px}.hero-actions{margin-top:18px}.hero-footnote{margin-top:18px}.portal-halo{left:33%;top:60%;width:220px;height:200px}.portal-frame{left:56%;top:62%;width:106px;height:128px}.portal-frame:before{inset:7px}.portal-frame span{font-size:67px}.pixel-player{left:61%;bottom:4%;width:60px;height:90px}.scene-rank,.scene-label-two{display:none}.coin-one{left:20%;top:72%;scale:.7}.coin-two{right:9%;bottom:10%}.tabs{margin-top:16px}.tab{flex:none;min-width:96px;font-size:15px;padding:15px 8px}.ranking-podium{gap:7px}.podium-card{min-height:174px;padding:11px 5px;gap:5px}.podium-card.oro{min-height:195px}.podium-card img,.podium-card.oro img{width:55px;height:55px}.podium-card strong{font-size:10px;overflow-wrap:anywhere}.podium-place,.podium-card>span:last-child{font-size:11px}.game-art{height:174px}.section-heading h2{font-size:clamp(25px,7vw,32px)}}
@media(max-width:730px){.sound-toggle{padding:7px 9px}.sound-toggle #soundLabel{display:none}.top-actions{gap:8px}.plan-price strong{font-size:23px}}
@media(max-width:410px){.hero-pixel{min-height:715px}.hero-copy .eyebrow{font-size:10px}.hero-codec{font-size:50px}.hero-copy h1 em{font-size:73px}.hero-actions{align-items:stretch;flex-direction:column}.ghost-button{justify-content:flex-start}.hero-footnote{font-size:10px}.portal-frame{top:68%}.portal-halo{top:65%}}
@media(prefers-reduced-motion:reduce){.status-square,.pixel-coin,.portal-halo,.pixel-player{animation:none!important}.primary-button:hover,.outline-button:hover{transform:none}}

/* Presentación comercial: lectura clara sobre el ambiente arcade. */
.intro-grid,.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 42px}
.intro-card,.integration-card{min-width:0;padding:25px;border:2px solid #385f8c;background:linear-gradient(155deg,#142747,#101830 80%);box-shadow:5px 6px 0 #25204d}
.intro-card:nth-child(2){border-color:#9b58c8}.intro-card:nth-child(3){border-color:#d2a452}
.intro-number,.integration-tag{display:inline-block;color:#88f4f6;font:700 14px 'Pixelify Sans',monospace;letter-spacing:.07em}
.intro-symbol{display:block;margin:16px 0 7px;color:#f0a6ff;font:700 42px 'Pixelify Sans',monospace;text-shadow:0 0 20px #e64af7}
.intro-card h3,.integration-card h3{font:800 19px/1.3 Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.035em;margin:10px 0 12px;color:#fff}
.intro-card p,.integration-card p{color:#d0d9ee;font-size:15px;line-height:1.65;margin:0}
.integration-heading{margin-top:52px}.integration-card{background:#111f39;border-color:#487c99}.integration-card:nth-child(2){border-color:#8c69c8}.integration-card:nth-child(3){border-color:#b88879}
.integration-tag{background:#163558;padding:7px 9px;line-height:1.2}
.intro-cta,.plan-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 28px;border:2px solid #5ecce0;background:linear-gradient(105deg,#163751,#1b1c41);box-shadow:5px 6px 0 #4e2876}
.intro-cta strong,.plan-summary strong{display:block;color:#fff;font:800 20px/1.3 Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.035em}
.intro-cta p,.plan-summary p{color:#c9d8eb;font-size:14px;line-height:1.55;margin:9px 0 0}.intro-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.plan-summary{margin-top:20px;border-color:#735ac2;background:#151e3c}.plan-summary .text-link{white-space:normal;text-align:right;color:#86f7ff;font-size:16px}
#planes .section-heading p{font-size:16px;color:#d0dcf2;max-width:850px}
#planes .plan-grid{align-items:stretch;gap:20px}
#planes .plan-card{padding:27px;min-height:510px;background-color:#151d38}
#planes .plan-card h3{color:#fff;font-size:30px}
#planes .plan-count{line-height:1.3}
#planes .plan-card>p{color:#d2def2;font-size:15px;line-height:1.6;min-height:0;margin:20px 0 14px}
#planes .plan-card li{color:#e1eafd;font-size:14px;line-height:1.55;margin-bottom:12px}
#planes .plan-card li:before{content:'✦';color:#85f6ff}
#planes .plan-state{display:inline-block;padding:5px 8px;line-height:1.2;color:#f9e29c;background:#433720;border:1px solid #b4914d}
#planes .plan-state.live-state{color:#9dfff2;background:#174c49;border-color:#55d8cc}
#planes .plan-price{flex-wrap:wrap;gap:8px;padding:11px 0 15px;margin-top:10px;border-bottom:1px solid #58708e}
#planes .plan-price strong{font-size:clamp(24px,2.4vw,32px);white-space:nowrap}
#planes .plan-price span{font-size:14px;color:#b8eaf1}
#planes .plan-note{padding:12px;color:#f3dfaa;background:#2e293a;border:1px solid #8a7048;font:600 13px/1.45 'DM Sans',sans-serif}
#planes .club-card{padding:30px;align-items:center}
#planes .club-copy h3{font-size:28px;margin:8px 0}
#planes .club-copy>p{color:#e0e5f4;font-size:15px;line-height:1.6}
#planes .club-copy .club-hint{color:#d1c3e7;font-size:14px;line-height:1.55}
#planes .club-price{font-size:30px;margin:10px 0 12px}
#planes .club-price small{color:#d7d3ef;font-size:15px}
.section-heading p{color:#d0d9eb}
@media(max-width:1050px){.intro-grid,.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-grid>:last-child,.integration-grid>:last-child{grid-column:1/-1}#planes .plan-card{min-height:0}}
@media(max-width:730px){.intro-grid,.integration-grid{grid-template-columns:1fr;gap:14px}.intro-grid>:last-child,.integration-grid>:last-child{grid-column:auto}.intro-card,.integration-card{padding:20px}.intro-card p,.integration-card p{font-size:14px}.integration-heading{margin-top:42px}.intro-cta,.plan-summary{flex-direction:column;align-items:stretch;padding:22px}.intro-actions{justify-content:stretch}.intro-actions button{width:100%}.plan-summary .text-link{text-align:left;margin:0}.intro-cta strong,.plan-summary strong{font-size:17px}#planes .plan-card{padding:22px}#planes .club-card{padding:22px}#planes .club-copy{flex-basis:100%}#planes .plan-price strong{font-size:30px}}

/* El programa de puntos se presenta como un solo recorrido. */
.club-intro{padding:30px 32px;border:2px solid #57dbeb;background:radial-gradient(circle at 95% 4%,#5b348366,transparent 38%),linear-gradient(115deg,#152c4a,#141935);box-shadow:6px 7px 0 #452772}
.club-intro h2{margin:11px 0 14px;max-width:780px;font:800 clamp(27px,3vw,42px)/1.15 Orbitron,'Space Grotesk',sans-serif;letter-spacing:-.05em}
.club-intro p{max-width:820px;margin:0;color:#d4e3f6;font-size:16px;line-height:1.65}
.club-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}
.club-steps span{display:flex;align-items:center;gap:10px;min-width:0;padding:14px 15px;background:#0a1936;border:1px solid #3d89a4;color:#e5f8ff;font:700 16px/1.25 'Pixelify Sans',monospace}
.club-steps b{color:#6af6ff;font:800 17px Orbitron,'Space Grotesk',sans-serif}
.club-section{padding-top:46px}.club-section .section-heading p{max-width:810px;font-size:15px;line-height:1.65}
.club-ranking{margin-top:35px;border-top:2px solid #335f87}
.club-ranking .ranking-podium{margin-top:25px}
@media(max-width:730px){.club-intro{padding:24px 20px}.club-intro p{font-size:14px}.club-steps{grid-template-columns:1fr;gap:8px;margin-top:21px}.club-steps span{padding:10px 13px}.club-section{padding-top:35px}.club-ranking{margin-top:26px}}

/* Catálogos, juegos y clasificación de la demo */
#planCards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#planCards .plan-card { min-height: 0; padding: 22px; grid-column: auto; }
#planCards .plan-top { margin-bottom: 18px; }
#planCards .plan-count { font-size: 32px; }
#planCards .plan-count b { font-size: 16px; letter-spacing: 0; margin-inline-start: 4px; white-space: normal; }
#planCards .plan-price { margin-bottom: 17px; }
.deluxe-plan { border-color: #de78f9; background: radial-gradient(circle at 90% 4%, #b141c46b, transparent 58%), #241a3c; }
.deluxe-plan .plan-count b, .deluxe-plan .plan-icon { color: #f9a9fa; }
#planCards [aria-pressed="true"], .ranking-switch [aria-pressed="true"] { color: #a8ffff; background: #173951; border-color: #7bf5f4; }
.catalog-builder { padding: clamp(16px, 3vw, 29px); margin-bottom: 25px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.catalog-heading h3 { margin: 0; font-size: 23px; }
#planSelectionStatus { color: #a2f2ed; margin: 0 0 18px; font-size: 13px; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.catalog-grid fieldset { min-inline-size: 0; border: 1px solid #45618b; margin: 0; padding: 12px; }
.catalog-grid legend { padding: 0 6px; color: #defbff; font-weight: 800; }
.catalog-grid legend span { color: #83eeef; margin-left: 6px; }
.catalog-grid p { color: #abb9d7; margin: 10px 0 0; font-size: 12px; }
.local-catalog-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.local-catalog-groups h4 { margin: 4px 9px; color: #c1d3f0; font-size: 13px; }
.catalog-game { display: flex; align-items: center; gap: 11px; margin: 0; min-height: 43px; padding: 7px 9px; cursor: pointer; }
.catalog-game + .catalog-game { border-top: 1px solid #88bae627; }
.catalog-game input { flex: none; min-height: 0; margin: 0; width: 18px; height: 18px; accent-color: #72eeec; }
.catalog-game:has(:disabled) { color: #91a2bd; cursor: default; }

.online-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.online-card { overflow: hidden; border: 1px solid #8656a4; background: #101b39; box-shadow: 4px 5px #111533; }
.online-card:hover { border-color: #aa95ff; box-shadow: 0 0 23px #aa63f35c; }
.online-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: #10132e; }
.online-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.online-photo::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(0deg, #07132d70, transparent 35%), linear-gradient(115deg, #27f1ff19, transparent 40%, #f92fb521); }
.online-card:hover .online-photo img { transform: scale(1.04); }
.online-copy { padding: 18px; }
.online-copy h3 { font: 700 22px 'Space Grotesk', sans-serif; margin-bottom: 7px; }
.online-copy p { color: #b4c6e4; font-size: 13px; line-height: 1.55; margin: 0; }

.play-budget { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 21px; }
.play-budget strong, .play-budget small { display: block; }
.play-budget small { color: #a5b9d7; margin-top: 3px; font-size: 12px; }
time { font-variant-numeric: tabular-nums; }
.play-budget time { color: #a3ffff; font: 700 25px 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.breaker-art { background: radial-gradient(ellipse, #613789, #16213d 68%); }
.breaker-preview { display: grid; position: relative; margin-top: -50px; grid-template-columns: repeat(3, 43px); gap: 6px; transform: rotate(-9deg); }
.breaker-preview span { height: 19px; background: #f28cff; box-shadow: 0 0 12px #ed6dff9a; }
.breaker-preview span:nth-child(n+4) { background: #68e6f6; box-shadow: 0 0 12px #68e6f6a0; }
.breaker-preview i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: white; box-shadow: 0 0 10px #fff; top: 61px; right: 31px; }
.breaker-preview b { position: absolute; width: 68px; height: 8px; background: #60fbdf; box-shadow: 0 0 13px #60fbdf; top: 89px; left: 17px; }
.meteor-art { background: radial-gradient(ellipse at 51% 35%, #51376e, #12263d 69%); }
.meteor-preview { position: relative; width: 154px; height: 114px; }
.meteor-preview span { position: absolute; top: 7px; left: 84px; width: 42px; height: 38px; background: #ef83de; clip-path: polygon(26% 0%, 78% 6%, 97% 47%, 78% 84%, 24% 100%, 0% 64%, 6% 25%); }
.meteor-preview span:nth-child(2) { top: 31px; left: 23px; scale: .69; background: #9e8bf5; }
.meteor-preview span:nth-child(3) { top: 52px; left: 112px; scale: .46; }
.meteor-preview b { position: absolute; left: 61px; bottom: 0; font-size: 33px; line-height: 1; color: #94f5f4; text-shadow: 0 0 18px #3cfaff; }
.game-settings { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.game-settings label { margin: 0; flex-basis: 55%; }
.game-settings small, .game-settings time { display: block; text-align: right; }
.game-settings small { color: #a5b9d7; font-size: 10px; }
.game-settings time { color: #9bfffa; margin-top: 5px; font-size: 20px; font-weight: 800; }
.game-reward { color: #97e9f4; font-size: 12px; margin: 10px 0 16px; }
.game-meta { gap: 10px; }
.game-modal .game-state { margin: 10px 0; }
.game-modal .game-instructions { margin-bottom: 0; }
.game-modal .snake-board:not(.wide-board) { width: min(100%, 340px); }
.game-modal .wide-board { aspect-ratio: 10 / 7; }
.game-modal .simon-board { margin: 0 auto; }
.game-modal .simon-pad { height: clamp(47px, 13vh, 100px); color: #1c1637; font-size: 1.55rem; }
.simon-pad:nth-child(5) { background: #94b8ff; }
.simon-pad:nth-child(6) { background: #f28fdc; }
.horizontal-controls { display: flex; justify-content: center; gap: 8px; padding: 9px 0; }
.horizontal-controls button { width: 60px; min-height: 43px; color: white; background: #252842; border: 1px solid #5a6685; touch-action: none; }
.duel-clock-line { color: #b6fdfc !important; }

.ranking-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ranking-description { color: #b2c4e1; font-size: 13px; margin: 0 0 15px; }
.seller-ranking.list-head, .seller-ranking .leader-row { grid-template-columns: 55px minmax(90px, 1fr) minmax(55px, 100px) minmax(80px, 124px); }
.ranking-empty { padding: 16px; margin: 0; }
.field-optional { color: #9eafca; font-weight: 400; }

button:focus-visible, a:focus-visible, .catalog-game input:focus-visible { outline: 2px solid #aaffff; outline-offset: 3px; }
button:disabled { opacity: .68; cursor: default; }
@media (max-width: 1040px) { #planCards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .tabs .tab { min-width: 0; }
  .tabs .tab:nth-child(3n) { border-right: 0; }
  .online-grid, .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  #planCards { gap: 11px; }
  #planCards .plan-card { padding: 13px; }
  #planCards .plan-count { font-size: 27px; }
  #planCards .plan-count b { display: block; margin: 4px 0 0; font-size: 14px; }
  #planCards .plan-card .outline-button { padding: 8px 5px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; }
  .seller-ranking.list-head, .seller-ranking .leader-row { grid-template-columns: 31px minmax(75px, 1fr) 50px minmax(65px, 90px); }
}
@media (prefers-reduced-motion: reduce) { .online-card:hover .online-photo img, .game-card:hover { transform: none; } }

.ui-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.13em; flex: none; }
.tab { display: flex; align-items: center; justify-content: center; gap: .4em; }
.tab .ui-icon, .hero-actions .ui-icon, .sound-toggle .ui-icon { width: 17px; height: 17px; }
.chevron .ui-icon { width: 13px; height: 13px; }
.round-button .ui-icon, .close-button .ui-icon { width: 19px; height: 19px; vertical-align: middle; }
.close-button { display: grid; place-items: center; width: 40px; height: 40px; }
.round-button { display: grid; place-items: center; flex: none; }
.primary-button [data-icon], .outline-button [data-icon], .ghost-button [data-icon] { display: inline-flex; }
.pixel-coin .ui-icon { width: 21px; height: 21px; }
.intro-symbol .ui-icon, .aside-symbol .ui-icon { width: 38px; height: 38px; filter: drop-shadow(0 0 8px #aa66ff70); }
.plan-icon .ui-icon, .stat-icon .ui-icon { width: 22px; height: 22px; }
.surface-icon .ui-icon, .promo-icon .ui-icon { width: 27px; height: 27px; }
.club-emblem .ui-icon { width: 48%; height: 48%; }
.duel-idle { display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 20px; color: #a3ffff; background: #122b49; border: 1px solid #56d5e8; box-shadow: 4px 4px 0 #39265f; }
.duel-idle .ui-icon { width: 43px; height: 43px; }
.duel-results small { color: #b8c7df; overflow-wrap: anywhere; }
.duel-results > span { min-width: 0; }
.snake-art b { width: 17px; height: 17px; border-radius: 3px; background: #ff8298; box-shadow: 0 0 16px #ff6689; }
.meteor-preview b .ui-icon { width: 37px; height: 37px; filter: drop-shadow(0 0 8px #3cfaff90); }
.game-meta { flex-wrap: wrap; }
@media (max-width: 370px) { .tabs .ui-icon { width: 14px; height: 14px; } }

#arcadeCatalog, #tableGallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arcade-card-art { height: 153px; }
.arcade-dial { display: grid; place-items: center; width: 84px; height: 78px; border: 1px solid #7adcf1; background: #152c52; box-shadow: 6px 6px #67338a, 0 0 27px #6d60f95e; transform: rotate(-7deg); color: #9bfdff; }
.arcade-dial .ui-icon { width: 46px; height: 46px; }
.arcade-card-art.sync-art, .arcade-card-art.hunt-art { background: radial-gradient(ellipse, #6b356f, #151c36 76%); }
.arcade-card-art.relay-art, .arcade-card-art.lanes-art { background: radial-gradient(ellipse, #27556b, #182648 76%); }
.arcade-card-art.balance-art, .arcade-card-art.signals-art { background: radial-gradient(ellipse, #4e4388, #171c37 76%); }
.tennis-art { background: radial-gradient(ellipse, #313971, #101c38 78%); }
.tennis-preview { position: relative; width: 147px; height: 97px; border: 2px solid #ac9df5; box-shadow: 0 0 20px #8c67ee78; transform: rotate(-11deg); }
.tennis-preview::before { content: ''; position: absolute; inset: 50% 0 auto; border-top: 1px dashed #b1f0ff; }
.tennis-preview span, .tennis-preview b { position: absolute; width: 47px; height: 6px; box-shadow: 0 0 11px currentColor; }
.tennis-preview span { top: 9px; left: 23px; color: #ff9bd1; background: currentColor; }
.tennis-preview b { bottom: 9px; right: 20px; color: #75fcf6; background: currentColor; }
.tennis-preview i { position: absolute; width: 8px; height: 8px; top: 35%; right: 25%; border-radius: 50%; background: #fff8ff; }
#arcadeCatalog .game-card, #tableGallery .online-card { display: flex; flex-direction: column; }
#arcadeCatalog .game-info, #tableGallery .online-copy { flex: 1; display: flex; flex-direction: column; }
.game-footer, .table-card-footer { margin-top: auto; }
.round-button { width: 44px; height: 44px; }
.table-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; color: #a8e2fd; font-size: 12px; font-weight: 700; }
.table-card-footer button { flex: none; padding: 8px 13px; }

.match-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.match-players > div, .match-players > label { display: flex; flex-direction: column; min-width: 0; justify-content: space-between; padding: 8px 10px; margin: 0; border: 1px solid #4a6a89; background: #101b34; color: #bddff0; font-size: 12px; }
.match-players > label { border-color: #794d90; color: #f4d2f2; }
.match-players select { min-height: 34px; border-radius: 3px; margin: 4px 0; padding: 4px; }
.match-players strong { color: #e6fbff; font-size: 15px; overflow-wrap: anywhere; }
.match-players time { color: #92f5fb; font-weight: 800; }
.match-players label time { color: #f5b8ef; }
.game-modal.in-match .game-instructions { display: none; }
.game-modal .tennis-court { aspect-ratio: 10 / 9; width: min(100%, 400px); max-height: 52vh; touch-action: none; }
.tennis-rival { width: min(100%, 400px); margin: 3px auto; padding: 5px 10px; text-align: center; color: #a3fff5; font-weight: 750; font-size: 13px; overflow-wrap: anywhere; }
.tennis-rival[data-tennis-side="1"] { color: #ffb4e3; }
.split-controls, .simon-teams, .duo-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.split-controls { margin: 7px auto; width: min(100%, 400px); }
.split-controls > div, .duo-inputs fieldset { padding: 6px; text-align: center; background: #111f37; border: 1px solid #416480; min-width: 0; }
.split-controls > div:nth-child(2), .duo-inputs fieldset:nth-child(2) { background: #261b3b; border-color: #84578c; }
.split-controls strong, .split-controls span { display: block; overflow-wrap: anywhere; }
.split-controls strong, .simon-teams strong { color: #b8ffff; font-size: 12px; }
.split-controls span { color: #c0c9e1; font-size: 11px; margin: 3px 0; }
.split-controls button, .duo-inputs button { padding: 7px 8px; min-width: 44px; min-height: 44px; margin: 2px; background: #142b49; border: 1px solid #5d83a6; color: #f6f7fd; font-weight: 700; }
.split-controls button:active, .duo-inputs button:active { background: #5574a4; }
.simon-teams > div { display: flex; flex-direction: column; gap: 5px; text-align: center; min-width: 0; }
.simon-teams strong { overflow-wrap: anywhere; }
.simon-teams [data-pad="0"] { background: #f9788b; }
.simon-teams [data-pad="1"] { background: #f2c866; }
.simon-teams [data-pad="2"] { background: #61dcd4; }
.simon-teams [data-pad="3"] { background: #a584f8; }
.simon-teams [data-pad="4"] { background: #94b8ff; }
.simon-teams [data-pad="5"] { background: #f28fdc; }
.simon-teams [hidden], .duo-inputs [hidden] { display: none; }
.duo-game { text-align: center; }
.duo-cue { color: #ddfcff; margin: 8px 0 12px; min-height: 1.5em; line-height: 1.35; font-weight: 750; }
.duo-meter { margin: 12px auto; position: relative; width: min(95%, 380px); height: 22px; border: 1px solid #6890a4; background: #131b3a; }
.duo-meter.has-target::before { content: ''; position: absolute; inset: 0 36%; background: #276064; }
.duo-meter i { position: absolute; left: 0; top: -3px; bottom: -3px; width: 7px; transform: translateX(-50%); background: #fff5e7; box-shadow: 0 0 9px #8afff1; }
.duo-inputs { margin-top: 10px; }
.duo-inputs fieldset { margin: 0; }
.duo-inputs legend { color: #b8ffff; font-size: 12px; padding: 0 4px; overflow-wrap: anywhere; }
.duo-inputs button { width: calc(100% - 4px); }
.duo-game canvas.wide-board { aspect-ratio: 20 / 11; width: min(100%, 400px); }

.table-game { padding: clamp(10px, 2vw, 18px); background: #111c37; border: 1px solid #416884; text-align: center; color: #d9ebfd; min-height: 95px; }
.table-game h3 { font-size: 18px; color: #f6fbff; margin: 0 0 9px; overflow-wrap: anywhere; }
.table-game p { margin: 7px 0; font-size: 13px; }
.table-game .table-prompt { font: 700 clamp(20px, 5vw, 29px) 'Space Grotesk', sans-serif; color: #9af9fb; overflow-wrap: anywhere; margin: 10px 0; }
.table-grid { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 5px; margin: 8px auto; max-width: 390px; }
.table-button { min-height: 44px; max-width: 100%; border: 1px solid #6386a5; background: #1d3051; color: #f2f4ff; font-weight: 750; padding: 6px 9px; overflow-wrap: anywhere; }
.table-grid .table-button { padding: 3px 1px; font-size: clamp(10px, 3vw, 15px); }
.table-actions { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 8px; }
.table-button:hover:not(:disabled), .table-button.is-selected { background: #2b466c; border-color: #a9fbff; }
.table-button.table-primary { background: #75eeee; color: #101933; border-color: #adffff; }
.table-button.table-hit, .table-button.table-mark-0 { border-color: #82e7e2; color: #a2fbf4; }
.table-button.table-mark-1 { border-color: #f9a5dd; color: #ffb9e5; }
.table-button.table-water { background: #14243d; }
.table-pass .ui-icon { width: 32px; height: 32px; margin-bottom: 8px; color: #a1f0f6; }
.table-pass button { margin-top: 7px; }
.table-stack { border-top: 1px solid #405a76; padding: 8px 0; }
.table-guess { display: flex; justify-content: center; align-items: flex-end; gap: 8px; }
.table-guess label { margin: 0; max-width: 135px; }
.table-game .guess-list { color: #d8dff0; list-style: none; margin: 12px 0 0; padding: 0; }
.guess-list li { border-top: 1px solid #3a506e; padding: 5px; font-size: 12px; }
.guess-list b { display: block; color: #a9f8f4; }
.card-hue-0 { border-color: #ff9d96; color: #ffbeb8; }
.card-hue-1 { border-color: #baf588; color: #c7ffa4; }
.card-hue-2 { border-color: #88cbff; color: #bae3ff; }
.card-hue-3 { border-color: #e89cf4; color: #f6bbff; }
.truco-card { color: #ffe2af; border-color: #b4876a; }
.room-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.room-entry label { margin: 4px 0; min-width: 0; }
.room-entry label:nth-child(3), .room-entry .table-actions { grid-column: 1 / -1; }
[data-room-host] > p, .room-stage p { color: #c3d5ea; font-size: 13px; line-height: 1.55; }
.room-rules { margin-bottom: 10px; }
.room-stage { padding: clamp(12px, 3vw, 22px); background: #111c37; border: 1px solid #4f708d; text-align: center; }
.room-stage h3 { overflow-wrap: anywhere; margin: 10px 0 6px; }
.room-stage label { display: block; text-align: left; }
.room-stage [data-invite] { font-size: 12px; }
.room-stage .room-message, .room-message { min-height: 1.2em; margin: 9px 0 0; color: #bafaef; }
.room-clock { display: flex; justify-content: space-between; gap: 10px; color: #a6f8f8; font-size: 12px; font-weight: 750; }
@media (max-width: 970px) { #arcadeCatalog, #tableGallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  #arcadeCatalog, #tableGallery { grid-template-columns: minmax(0, 1fr); }
  .game-modal { padding: 15px; }
  .game-modal .modal-header { margin-bottom: 10px; }
  .game-modal .snake-board:not(.tennis-court):not(.wide-board) { width: min(100%, 260px); }
  .game-modal .tennis-court { width: min(100%, 305px); }
  .game-modal .simon-teams .simon-pad { height: min(62px, 10vh); }
}

#roomGallery .online-card, #roomGallery .online-copy { display: flex; flex-direction: column; }
#roomGallery .online-copy { flex: 1; }
.arcade-card-art { display: block; height: auto; aspect-ratio: 16 / 9; background: #151b35; }
.arcade-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.arcade-card-art::before { content: none; }
.arcade-launch { padding: 7px 12px; gap: 7px; flex: none; }
.match-help { color: #d5e3f8; background: #121f37; border-left: 3px solid #81f8ed; padding: 9px 12px; margin: -3px 0 12px; font-size: 13px; line-height: 1.5; }
.game-settings { align-items: end; }
.game-settings label { flex: 1; min-width: 0; }
.game-settings select { min-height: 41px; padding: 8px; }
.arcade-screen { display: block; width: min(100%, 470px); height: auto; aspect-ratio: 400 / 272; margin: 0 auto; background: #111a35; border: 1px solid #5893ab; box-shadow: 0 0 16px #60eaff20; touch-action: none; }
.play-controls { display: flex; justify-content: center; gap: 6px; margin: 10px auto 0; }
.play-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 46px; min-width: 46px; color: #e5fff9; border: 1px solid #526f93; border-radius: 3px; background: #1d3050; font-weight: 750; padding: 6px 9px; touch-action: none; }
.play-controls button[data-arcade-key="action"] { border-color: #79eadc; background: #214a57; }
.play-controls button:active { background: #537da0; }
.play-controls .control-arrow { display: inline-flex; font-size: 19px; }
.play-controls [data-arcade-key="left"] .control-arrow { rotate: 180deg; }
.play-controls [data-arcade-key="up"] .control-arrow { rotate: -90deg; }
.play-controls [data-arcade-key="down"] .control-arrow { rotate: 90deg; }
.play-controls [data-arcade-key="right"] .control-arrow { order: 2; }
.controls-cross { display: grid; width: max-content; grid-template-columns: repeat(3, 48px); grid-template-areas: '. up .' 'left down right'; }
.controls-cross [data-arcade-key="up"] { grid-area: up; }
.controls-cross [data-arcade-key="left"] { grid-area: left; }
.controls-cross [data-arcade-key="down"] { grid-area: down; }
.controls-cross [data-arcade-key="right"] { grid-area: right; }
.controls-fire [data-arcade-key="action"] { margin-left: 12px; min-width: 104px; }
.controls-fire .control-arrow + span { display: none; }
.controls-single button { min-width: min(72%, 166px); }
.controls-horizontal { width: min(100%, 280px); }
.controls-horizontal button { flex: 1 1 0; }
#gameBoard, #duelContent { position: relative; }
.touch-gesture { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.touch-gesture-hand { position: absolute; width: 0; height: 0; opacity: 0; animation: gesture-motion 1.86s ease-out forwards; }
.touch-gesture-hand::before { content: ''; position: absolute; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #9affed; background: #72ecc51c; translate: -50% -50%; animation: gesture-contact 1.86s ease-out forwards; }
.touch-gesture-hand .ui-icon { position: absolute; width: 40px; height: 40px; left: -16px; top: -5px; fill: #17254d; stroke: #effffd; filter: drop-shadow(0 2px 7px #0d173b); }
.touch-gesture-caption { position: absolute; left: 50%; translate: -50% calc(-100% - 3px); max-width: calc(100% - 12px); width: max-content; padding: 4px 9px; color: #e6fffb; background: #16254c; border: 1px solid #87eee1; border-radius: 3px; text-align: center; font-size: 12px; line-height: 1.3; animation: gesture-caption 1.86s ease-out both; }
.touch-gesture-caption.inside-board { translate: -50% 5px; }
.touch-hold .touch-gesture-hand::before { animation-name: gesture-hold; }
@keyframes gesture-motion {
  0% { opacity: 0; transform: translateY(6px); }
  22%, 32% { opacity: 1; transform: translate(0, 0); }
  55% { opacity: 1; transform: translate(var(--middle-x), var(--middle-y)); }
  77% { opacity: 1; transform: translate(var(--end-x), var(--end-y)); }
  100% { opacity: 0; transform: translate(var(--end-x), var(--end-y)); }
}
@keyframes gesture-contact {
  0%, 26% { opacity: 0; scale: .5; }
  34% { opacity: .9; scale: 1; }
  62%, 100% { opacity: 0; scale: 1.6; }
}
@keyframes gesture-hold {
  0%, 26% { opacity: 0; scale: .5; }
  38%, 72% { opacity: .8; scale: 1; }
  100% { opacity: 0; scale: 1.5; }
}
@keyframes gesture-caption { 0%, 100% { opacity: 0; } 22%, 77% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .touch-gesture-hand, .touch-gesture-caption { opacity: 1; animation: none; }
  .touch-gesture-hand::before { animation: none; }
}
.music-readout { width: min(100%, 435px); display: flex; justify-content: space-between; gap: 12px; margin: 0 auto 5px; color: #c4d3ea; font-size: 12px; }
.music-readout strong { color: #a8fff2; font-variant-numeric: tabular-nums; }
.music-board { display: block; width: min(100%, 435px); height: auto; aspect-ratio: 400 / 342; margin: auto; background: #152344; border: 1px solid #6693a8; touch-action: none; }
.music-keys { display: grid; grid-template-columns: repeat(var(--music-lanes, 2), minmax(0, 1fr)); width: min(100%, 435px); gap: 4px; margin: 5px auto 0; }
.music-keys button { min-height: 44px; color: #e4fcff; background: #1b2c4e; border: 1px solid #617f9b; border-radius: 3px; font-weight: 750; touch-action: manipulation; }
.music-keys button:active { background: #2c5d73; }
.music-keys kbd { margin-left: 7px; padding: 2px 4px; border-radius: 2px; background: #111c38; color: #c2def2; }
.arcade-readout { color: #c0cfec; font-size: 12px; line-height: 1.4; margin: 7px 0 0; text-align: center; }
.color-console { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.color-console:has([data-pad="4"]:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 395px); }
.color-console [data-pad] { height: clamp(59px, 13vh, 108px); }
.table-game h3 { text-wrap: balance; }
.line-board .table-button { aspect-ratio: 1; font: 800 clamp(19px, 7vw, 38px) Orbitron, sans-serif; }
.line-board .on-line { opacity: 1; background: #3b506c; border-width: 2px; }
.memory-board .memory-tile { aspect-ratio: 1; min-height: 48px; }
.memory-tile.back { position: relative; background: repeating-linear-gradient(135deg, #263b60 0 4px, #1e3155 4px 8px); }
.memory-tile.back i { display: block; width: 39%; aspect-ratio: 1; margin: auto; border: 2px solid #789ab5; background: #142845; transform: rotate(45deg); }
.memory-tile.face { background: #182b46; color: var(--face-color); border-color: var(--face-color); }
.memory-tile .ui-icon { width: 60%; height: 60%; min-height: 25px; }
.memory-tile.face-citrus, .memory-tile.face-gold { --face-color: #ffe59d; }
.memory-tile.face-aqua, .memory-tile.face-mint { --face-color: #9bfff6; }
.memory-tile.face-pink, .memory-tile.face-rose { --face-color: #ffb1d9; }
.memory-tile.face-violet, .memory-tile.face-blue { --face-color: #b3beff; }
.memory-tile.matched { opacity: 1; box-shadow: inset 0 0 0 2px #8af4dc65; }
.prompt-stage > span, .quiz-progress { font-size: 12px; font-weight: 750; color: #a5bfd8; }
.prompt-stage time { display: inline-block; margin-left: .6em; color: #a5fff2; font-size: 14px; font-weight: 850; }
.display-prompt { margin: 15px 0 9px !important; color: #b3fff6; font-family: Orbitron, sans-serif; font-size: clamp(19px, 6vw, 32px) !important; line-height: 1.2; }
.quiz-progress { margin-bottom: 9px; }
.quiz-choices { display: grid; gap: 5px; margin-top: 10px; }
.quiz-choices button { text-align: left; padding-left: 14px; }
.quiz-explanation { line-height: 1.5; }
.domino-chain, .domino-tray { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.domino-chain { min-height: 45px; padding: 6px; border: 1px solid #395979; background: #0c1930; }
.domino-face { display: inline-flex; align-items: stretch; color: #12213a; background: #e1e0cc; border: 1px solid #fff4de; border-radius: 2px; }
.domino-face span { display: grid; place-items: center; min-width: 17px; min-height: 23px; font-weight: 850; }
.domino-face span + span { border-left: 1px solid #59616c; }
.domino-tray button { padding: 4px; }
.domino-tray .is-selected { outline: 1px solid #9efde8; border-color: #9efde8; }
.draw-board { display: block; width: 100%; height: auto; margin: 8px 0; background: #0c162c; border: 1px solid #587294; touch-action: none; }
.draw-ink-0 { color: #a2fff4; }.draw-ink-1 { color: #ffe599; }.draw-ink-2 { color: #ffb4dc; }

.preview-modal { width: min(95vw, 925px); max-height: 95dvh; overflow: auto; }
.preview-steps, .preview-perspective { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.preview-steps button, .preview-perspective button { padding: 6px 11px; min-height: 42px; }
.preview-steps [aria-current], .preview-perspective [aria-pressed="true"] { background: #204251; border-color: #91f9f3; color: #c0fffa; }
.preview-intro h3 { margin: 10px 0 6px; color: #eef9ff; font-size: clamp(20px, 4vw, 27px); }
.preview-intro p, .fleet-breakdown p, .preview-outcome p { color: #bccce5; font-size: 14px; line-height: 1.55; }
.preview-lobby, .naval-layout, .naval-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.preview-lobby article, .fleet-breakdown, .preview-outcome, .preview-hand { min-width: 0; background: #111f39; border: 1px solid #547497; padding: clamp(11px, 3vw, 20px); }
.preview-lobby article { display: flex; flex-direction: column; gap: 7px; }
.preview-lobby article small, .preview-hand small { color: #9feeea; }
.preview-lobby article strong { font-size: clamp(16px, 3vw, 22px); }
.preview-lobby article span, .preview-outcome span { color: #bfd1ed; font-size: 12px; }
.naval-board { min-width: 0; margin: 0; padding: clamp(6px, 1vw, 11px); background: #101e36; border: 1px solid #536e92; }
.naval-board figcaption { margin: 0 0 6px; color: #b0fff2; font-size: 13px; font-weight: 800; }
.naval-board table { width: 100%; border-spacing: 2px; table-layout: fixed; }
.naval-board th { color: #a4bcd8; font: 700 clamp(9px, 2vw, 12px) monospace; }
.naval-cell { background: #172841; aspect-ratio: 1; height: clamp(17px, 3vw, 30px); text-align: center; font-weight: 800; font-size: clamp(10px, 2.6vw, 16px); line-height: 1; border: 1px solid #294a71; }
.naval-cell.hull { background: #245866; border-color: #60a9b2; }
.naval-cell.miss { background: #26384e; color: #d7e4fa; }
.naval-cell.hit { background: #753d57; color: #fff0f4; border-color: #ed89a6; }
.naval-cell.sunk { background: #4c366d; color: #ffe6f9; border-color: #c39aee; }
.naval-key { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.naval-key span { padding: 4px 6px; border: 1px solid #536e92; color: #ecf4ff; font-size: 12px; }
.naval-key .hull { background: #245866; }.naval-key .miss { background: #26384e; }
.naval-key .hit { background: #753d57; }.naval-key .sunk { background: #4c366d; }
.preview-turn { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; padding: 7px 10px; margin: 9px 0; background: #172e47; border-left: 2px solid #86f5ee; }
.preview-turn strong { color: #aefcf2; font-size: 13px; }.preview-turn span { color: #c3d8ef; font-size: 12px; }
.fleet-breakdown h4, .preview-outcome h4 { margin: 0 0 10px; font-size: 18px; }
.fleet-list { margin: 0; padding: 0; list-style: none; }
.fleet-list li { display: flex; justify-content: space-between; gap: 6px; padding: 5px 0; border-bottom: 1px solid #39516c; font-size: 13px; }
.fleet-list b { color: #9be7ed; white-space: nowrap; }
.preview-outcome .ui-icon { width: 46px; height: 46px; margin-bottom: 10px; color: #ffe4a2; }
.preview-hand ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; padding: 0; list-style: none; }
.preview-hand li { display: grid; place-items: center; min-height: 76px; padding: 8px; color: #17243e; border: 2px solid #af9cb8; border-radius: 3px; background: #eee5dc; font-weight: 850; }
.chess-preview-board { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: min(100%, 320px); margin: 0 auto; }
.chess-preview-board span { display: grid; place-items: center; aspect-ratio: 1; background: #ddedf3; color: #101d33; font: clamp(16px, 5vw, 27px)/1 'Segoe UI Symbol', serif; }
.chess-preview-board .chess-dark { background: #87a6bd; }
@media (max-width: 680px) {
  .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tabs .tab { font-size: 12px; padding-inline: 3px; }
  .tabs .ui-icon { width: 13px; height: 13px; }
  #roomGallery { grid-template-columns: minmax(0, 1fr); }
  .naval-layout, .naval-setup { grid-template-columns: minmax(0, 1fr); }
  .preview-modal { padding: 13px; }
  .game-settings { gap: 5px; }
  .game-settings small { font-size: 9px; }
}
@media (max-width: 430px) {
  .local-catalog-groups { grid-template-columns: minmax(0, 1fr); }
  #planCards .plan-price strong { font-size: clamp(18px, 6.8vw, 27px); }
  #club .merchant-bottom { grid-template-columns: minmax(0, 1fr); }
  #club .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #club .metrics div { padding: 8px 5px; overflow-wrap: anywhere; }
  #club .list-head:not(.seller-ranking), #club #leaderboardRows:not(.seller-ranking) .leader-row {
    grid-template-columns: 24px minmax(0, 1fr) 45px 43px minmax(52px, auto);
  }
  #club .leader-name { overflow-wrap: anywhere; }
  #club .rank-avatar-mini { width: 26px; height: 26px; }
}

