.side-menu-inner, .side-menu-inner.is-vip-gold { background: #fff; color: #050505; }
.side-menu-inner.is-vip-gold .side-menu-head { background: #fff; }
.side-menu-inner.is-vip-gold .side-menu-section-label { color: #777; }
.side-games { display: grid; }
.side-games .side-menu-section-label { margin-top: 26px; }
.side-game-entry { background: #fff; border: 1px solid #c9c9c5; border-radius: 12px; color: #050505; cursor: pointer; display: grid; gap: 5px; overflow: hidden; padding: 18px; position: relative; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; width: 100%; }
.side-game-entry::after { background: radial-gradient(circle, rgba(82,108,255,.2), transparent 68%); content: ''; height: 140px; position: absolute; right: -50px; top: -55px; width: 140px; }
.side-game-entry:hover { border-color: #526cff; box-shadow: 0 12px 28px rgba(46,73,215,.12); transform: translateY(-2px); }
.side-game-entry-kicker { color: #2e49d7; font: 9px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.side-game-entry strong { font-size: 24px; letter-spacing: -.04em; }
.side-game-entry small { color: #666; font: 10px/1.45 'DM Mono', monospace; max-width: 230px; }
.side-game-entry-arrow { color: #050505; font: 10px 'DM Mono', monospace; margin-top: 7px; text-transform: uppercase; }

.ku-game-page { background: #050505; color: #f5f5f2; height: 100dvh; inset: 0; overflow: auto; position: fixed; z-index: 80; }
.ku-game-header { align-items: center; background: rgba(5,5,5,.88); border-bottom: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 1fr auto 1fr; min-height: 66px; padding: 10px clamp(16px, 3vw, 44px); position: sticky; top: 0; z-index: 4; backdrop-filter: blur(18px); }
.ku-game-back, .ku-game-help, .ku-game-pause { background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; cursor: pointer; font: 10px 'DM Mono', monospace; padding: 11px 15px; text-transform: uppercase; }
.ku-game-header-actions { display: flex; gap: 8px; justify-self: end; }
.ku-game-back:hover, .ku-game-help:hover, .ku-game-pause:hover { background: #fff; color: #050505; }
.ku-game-pause:disabled { cursor: default; opacity: .35; }
.ku-game-brand { align-items: baseline; display: flex; gap: 8px; }
.ku-game-brand span { font-size: 24px; font-weight: 800; }
.ku-game-brand small { color: #8293ff; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.ku-game-shell { display: grid; gap: clamp(14px, 2vw, 26px); grid-template-columns: 1fr; margin: 0 auto; max-width: 1380px; min-height: calc(100dvh - 66px); padding: clamp(14px, 2.2vw, 32px); }
.ku-game-sidebar { align-self: start; display: grid; gap: clamp(12px, 2vw, 24px); grid-template-columns: minmax(0, 2fr) minmax(210px, .8fr) minmax(210px, .8fr); position: static; }
.ku-game-sidebar > .eyebrow, .ku-game-sidebar > h1, .ku-game-sidebar > p:not(.eyebrow) { display: none; }
.ku-game-sidebar h1 { font-size: clamp(43px, 4.5vw, 74px); letter-spacing: -.07em; line-height: .84; }
.ku-game-sidebar h1 em { color: #526cff; font-style: normal; }
.ku-game-sidebar > p:not(.eyebrow) { color: #aaa; font: 11px/1.65 'DM Mono', monospace; }
.ku-game-stats { align-items: end; border-bottom: 1px solid rgba(255,255,255,.15); border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: clamp(8px, 2vw, 28px); grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 17px 0; }
.ku-game-stats div { display: grid; gap: 7px; padding: 0; }
.ku-game-stats div:first-child { border: 0; grid-column: auto; padding: 0; }
.ku-game-stats span, .ku-game-reward > span { color: #777; font: 8px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.ku-game-stats strong { font: 600 17px 'DM Mono', monospace; }
.ku-game-stats div:first-child strong { color: #fff; font: 800 28px/.9 'Syne', sans-serif; letter-spacing: -.06em; text-shadow: 0 0 22px rgba(82,108,255,.38); }
.ku-game-reward { background: linear-gradient(145deg, #141728, #090909); border: 1px solid rgba(109,131,255,.35); border-radius: 12px; display: grid; gap: 9px; padding: 15px; }
.ku-game-reward strong { font-size: 16px; }
.ku-game-reward small { color: #aaa; font: 9px/1.45 'DM Mono', monospace; }
.ku-game-reward-progress { background: rgba(255,255,255,.1); border-radius: 99px; height: 5px; overflow: hidden; }
.ku-game-reward-progress span { background: linear-gradient(90deg, #2e49d7, #8ba0ff); display: block; height: 100%; transition: width .4s ease; width: 0; }
#ku-game-copy-code { background: #fff; border: 0; border-radius: 999px; color: #050505; cursor: pointer; font: 10px 'DM Mono', monospace; padding: 10px; }
.ku-game-history { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; max-height: 220px; overflow: auto; padding: 13px; }
.ku-game-history-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 8px; }
.ku-game-history-head span, .ku-game-history-head strong { color: #8fa0ff; font: 9px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
#ku-game-history-list { display: grid; gap: 6px; }
#ku-game-history-list small { color: #888; font: 9px/1.45 'DM Mono', monospace; }
.ku-game-history-item { align-items: center; border-top: 1px solid rgba(255,255,255,.08); display: grid; font: 9px/1.35 'DM Mono', monospace; gap: 2px; grid-template-columns: 1fr auto; padding-top: 7px; }
.ku-game-history-item strong { color: #fff; }
.ku-game-history-item span { color: #858585; }
.ku-game-stage-wrap { align-self: start; min-width: 0; }
.ku-game-stage { aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 45%, #131a3c 0, #090b14 45%, #030303 100%); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.55), inset 0 0 80px rgba(52,76,220,.09); max-height: none; overflow: hidden; position: relative; width: 100%; }
.ku-game-stage::before { background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; content: ''; inset: 0; pointer-events: none; position: absolute; }
.ku-game-live-hud { display: none; pointer-events: none; z-index: 3; }
.ku-game-live-score { align-items: end; display: grid; grid-template-columns: 1fr auto; width: min(340px, 48vw); }
.ku-game-live-score span { color: #91a1ff; font: 9px 'DM Mono', monospace; grid-column: 1 / -1; letter-spacing: .18em; text-transform: uppercase; }
.ku-game-live-score strong { color: #fff; filter: drop-shadow(0 0 18px rgba(82,108,255,.5)); font: 800 clamp(42px, 7vw, 92px)/.82 'Syne', sans-serif; letter-spacing: -.08em; transition: color .15s ease, transform .15s ease; }
.ku-game-live-score strong.is-scoring { color: #aab7ff; transform: scale(1.08); }
.ku-game-live-score small { color: #8a8a8a; font: 9px 'DM Mono', monospace; padding-bottom: 5px; }
.ku-game-live-meter { background: rgba(255,255,255,.1); border-radius: 99px; height: 4px; margin: 10px 0 12px; overflow: hidden; width: min(340px, 48vw); }
.ku-game-live-meter span { background: linear-gradient(90deg, #526cff, #b6c0ff); box-shadow: 0 0 14px #526cff; display: block; height: 100%; transition: width .25s ease; width: 0; }
.ku-game-live-details { display: flex; gap: 8px; }
.ku-game-live-details div { background: rgba(5,5,5,.64); border: 1px solid rgba(255,255,255,.13); border-radius: 9px; display: grid; gap: 2px; min-width: 68px; padding: 7px 9px; backdrop-filter: blur(10px); }
.ku-game-live-details span { color: #777; font: 7px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.ku-game-live-details strong { color: #fff; font: 600 12px 'DM Mono', monospace; }
.ku-game-live-details div:first-child strong { color: #9dadff; font-size: 15px; }
#ku-game-canvas { display: block; height: 100%; touch-action: none; width: 100%; }
.ku-game-overlay { align-items: center; background: rgba(3,3,5,.76); backdrop-filter: blur(10px); display: flex; flex-direction: column; inset: 0; justify-content: center; padding: 28px; position: absolute; text-align: center; z-index: 2; }
.ku-game-overlay[hidden] { display: none; }
.ku-game-overlay-logo { align-items: center; background: #fff; border-radius: 50%; color: #050505; display: flex; font-size: 26px; font-weight: 800; height: 70px; justify-content: center; margin-bottom: 20px; width: 70px; }
.ku-game-overlay h2 { font-size: clamp(32px, 5vw, 68px); letter-spacing: -.06em; }
.ku-game-overlay p { color: #bbb; font: 11px/1.6 'DM Mono', monospace; margin: 12px 0 24px; max-width: 470px; }
#ku-game-start { background: #fff; border: 0; border-radius: 999px; color: #1731bd; cursor: pointer; font: 700 11px 'DM Mono', monospace; padding: 14px 20px; text-transform: uppercase; }
.ku-game-secondary-action { background: transparent; border: 1px solid #8fa0ff; border-radius: 999px; color: #d7ddff; cursor: pointer; font: 700 10px 'DM Mono', monospace; margin-top: 10px; padding: 12px 18px; text-shadow: 0 1px 3px #000; text-transform: uppercase; }
.ku-game-pause-menu { align-items: center; background: rgba(3,3,5,.88); backdrop-filter: blur(16px); display: flex; flex-direction: column; inset: 0; justify-content: center; padding: 24px; position: absolute; text-align: center; z-index: 5; }
.ku-game-pause-menu[hidden] { display: none; }
.ku-game-pause-menu h2 { font-size: clamp(32px, 5vw, 62px); letter-spacing: -.06em; }
.ku-game-pause-menu p { color: #aaa; font: 11px 'DM Mono', monospace; margin: 10px 0 22px; }
.ku-game-pause-actions { display: grid; gap: 9px; width: min(340px, 100%); }
.ku-game-pause-actions button { background: #fff; border: 1px solid #fff; border-radius: 999px; color: #1731bd; cursor: pointer; font: 700 10px 'DM Mono', monospace; padding: 13px 18px; text-transform: uppercase; }
.ku-game-pause-actions button:nth-child(n+2) { background: transparent; border-color: #8fa0ff; color: #d7ddff; text-shadow: 0 1px 3px #000; }
.ku-game-event { background: #fff; border-radius: 999px; color: #050505; font: 600 10px 'DM Mono', monospace; left: 50%; padding: 10px 16px; pointer-events: none; position: absolute; top: 18px; transform: translateX(-50%); z-index: 3; }
.ku-game-mobile-controls { display: none; gap: 8px; margin-top: 10px; }
.ku-game-mobile-controls button { background: #111; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: #fff; flex: 1; font: 11px 'DM Mono', monospace; min-height: 48px; }
.ku-game-legend { color: #777; display: flex; flex-wrap: wrap; font: 9px 'DM Mono', monospace; gap: 10px 20px; justify-content: center; padding: 14px 4px 0; }
.ku-game-legend b { color: #c8d0ff; font-weight: 500; }
.ku-game-rules { background: #f1f1ed; color: #050505; height: 100%; max-width: 470px; overflow: auto; padding: clamp(28px, 5vw, 70px); position: fixed; right: 0; top: 0; width: min(88vw, 470px); z-index: 84; }
.ku-game-rules::before { background: rgba(0,0,0,.72); content: ''; inset: 0 100% 0 -100vw; position: fixed; }
.ku-game-rules > * { position: relative; z-index: 1; }
#ku-game-rules-close { background: transparent; border: 1px solid #050505; cursor: pointer; float: right; font-size: 24px; height: 42px; width: 42px; }
.ku-game-rules h2 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.06em; line-height: .92; margin: 35px 0; }
.ku-game-rules h2 em { color: #2e49d7; font-style: normal; }
.ku-game-rules ol { display: grid; font: 12px/1.6 'DM Mono', monospace; gap: 20px; padding-left: 20px; }
body.ku-game-open { overflow: hidden; }
.ku-game-page.is-playing { overflow: hidden; }
.ku-game-page.is-playing .ku-game-header { background: linear-gradient(180deg, rgba(0,0,0,.86), transparent); border: 0; left: 0; position: absolute; right: 0; }
.ku-game-page.is-playing .ku-game-shell { display: block; height: 100dvh; max-width: none; min-height: 100dvh; padding: 0; }
.ku-game-page.is-playing .ku-game-stage-wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100dvh; padding-top: 66px; width: 100%; }
.ku-game-page.is-playing .ku-game-stage { height: auto; min-height: 0; width: 100%; }
.ku-game-page.is-playing .ku-game-stage { aspect-ratio: auto; border: 0; border-radius: 0; max-height: none; }
.ku-game-page.is-playing .ku-game-live-hud { align-items: center; background: #050505; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: clamp(14px, 3vw, 42px); grid-template-columns: minmax(130px, .7fr) minmax(180px, 1.4fr) minmax(320px, 2fr); padding: 12px clamp(16px, 3vw, 44px); position: static; }
.ku-game-page.is-playing .ku-game-live-score { align-items: center; grid-template-columns: auto 1fr; width: auto; }
.ku-game-page.is-playing .ku-game-live-score span { grid-column: 1 / -1; }
.ku-game-page.is-playing .ku-game-live-score strong { font-size: clamp(30px, 4vw, 52px); }
.ku-game-page.is-playing .ku-game-live-score small { justify-self: end; }
.ku-game-page.is-playing .ku-game-live-meter { margin: 0; width: 100%; }
.ku-game-page.is-playing .ku-game-live-details { justify-content: flex-end; }
.ku-game-page.is-playing .ku-game-live-details div { background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 4px 12px; backdrop-filter: none; }
.ku-game-page.is-playing .ku-game-sidebar { left: 16px; pointer-events: none; position: absolute; top: 78px; width: min(230px, 42vw); z-index: 3; }
.ku-game-page.is-playing .ku-game-sidebar > .eyebrow,
.ku-game-page.is-playing .ku-game-sidebar > h1,
.ku-game-page.is-playing .ku-game-sidebar > p,
.ku-game-page.is-playing .ku-game-reward,
.ku-game-page.is-playing .ku-game-history,
.ku-game-page.is-playing .ku-game-legend,
.ku-game-page.is-playing .ku-game-mobile-controls { display: none; }
.ku-game-page.is-playing .ku-game-stats { display: none; }

@media (max-width: 850px) {
  .ku-game-shell { grid-template-columns: 1fr; padding: 14px; }
  .ku-game-sidebar { grid-template-columns: 1fr; position: static; }
  .ku-game-stats { grid-template-columns: repeat(3, 1fr); }
  .ku-game-stats div { padding: 8px 4px; }
  .ku-game-stage { border-radius: 12px; max-height: none; }
  .ku-game-mobile-controls { display: flex; }
}
@media (max-width: 520px) {
  .ku-game-header { grid-template-columns: auto 1fr auto; padding: 8px 10px; }
  .ku-game-back, .ku-game-help, .ku-game-pause { font-size: 0; height: 40px; padding: 0; width: 40px; }
  .ku-game-back::before { content: '←'; font-size: 16px; }
  .ku-game-help::before { content: '?'; font-size: 16px; }
  .ku-game-pause::before { content: 'Ⅱ'; font-size: 14px; }
  .ku-game-brand { justify-self: center; }
  .ku-game-shell { gap: 10px; }
  .ku-game-reward { padding: 10px; }
  .ku-game-stage { aspect-ratio: 10 / 14; }
  .ku-game-legend { display: none; }
  .ku-game-page.is-playing .ku-game-sidebar { left: 8px; top: 62px; width: calc(100vw - 16px); }
  .ku-game-page.is-playing .ku-game-stage-wrap { padding-top: 56px; }
  .ku-game-page.is-playing .ku-game-live-hud { gap: 8px; grid-template-columns: 1fr; padding: 8px 10px; }
  .ku-game-live-score { width: 100%; }
  .ku-game-live-score strong { font-size: 30px; }
  .ku-game-live-meter { width: 100%; }
  .ku-game-live-details { gap: 4px; }
  .ku-game-page.is-playing .ku-game-live-details { justify-content: stretch; }
  .ku-game-page.is-playing .ku-game-live-details div { flex: 1; min-width: 0; padding: 3px 6px; }
  .ku-game-live-details span { font-size: 6px; }
  .ku-game-live-details strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ku-game-reward-progress span { transition: none; }
}

/* Kū Breakout en dorado para clientes VIP */
body.vip-gold-theme .ku-game-page { background: radial-gradient(circle at 50% 0%, rgba(202,161,74,.08), transparent 55%), #050505; }
body.vip-gold-theme .ku-game-header { border-bottom-color: rgba(202,161,74,.3); }
body.vip-gold-theme .ku-game-back, body.vip-gold-theme .ku-game-help, body.vip-gold-theme .ku-game-pause { border-color: rgba(202,161,74,.45); }
body.vip-gold-theme .ku-game-back:hover, body.vip-gold-theme .ku-game-help:hover, body.vip-gold-theme .ku-game-pause:hover { background: #caa14a; color: #241c05; }
body.vip-gold-theme .ku-game-brand small { color: #e9d5a0; }
body.vip-gold-theme .ku-game-sidebar h1 em { color: #caa14a; }
body.vip-gold-theme .ku-game-stats div:first-child strong { color: #f2e6c7; text-shadow: 0 0 22px rgba(202,161,74,.45); }
body.vip-gold-theme .ku-game-reward { background: linear-gradient(145deg, #29210d, #090909); border-color: rgba(202,161,74,.4); }
body.vip-gold-theme .ku-game-reward-progress span { background: linear-gradient(90deg, #8a6a1f, #e9d5a0); }
body.vip-gold-theme #ku-game-copy-code { background: #caa14a; color: #241c05; }
body.vip-gold-theme .ku-game-history { border-color: rgba(202,161,74,.3); }
body.vip-gold-theme .ku-game-history-head span, body.vip-gold-theme .ku-game-history-head strong { color: #e9d5a0; }
body.vip-gold-theme .ku-game-stage { background: radial-gradient(circle at 50% 45%, #221a08 0, #0d0904 45%, #030303 100%); border-color: rgba(202,161,74,.32); box-shadow: 0 24px 80px rgba(0,0,0,.55), inset 0 0 80px rgba(202,161,74,.1); }
body.vip-gold-theme .ku-game-live-score span { color: #d9bd7c; }
body.vip-gold-theme .ku-game-live-score strong { filter: drop-shadow(0 0 18px rgba(202,161,74,.5)); }
body.vip-gold-theme .ku-game-live-score strong.is-scoring { color: #f2e6c7; }
body.vip-gold-theme .ku-game-live-meter span { background: linear-gradient(90deg, #8a6a1f, #e9d5a0); box-shadow: 0 0 14px #caa14a; }
body.vip-gold-theme .ku-game-live-details div:first-child strong { color: #e9d5a0; }
body.vip-gold-theme .ku-game-overlay-logo { background: #caa14a; color: #241c05; }
body.vip-gold-theme #ku-game-start { color: #7a5c1a; }
body.vip-gold-theme .ku-game-secondary-action { border-color: #caa14a; color: #f2e6c7; }
body.vip-gold-theme .ku-game-pause-actions button { color: #7a5c1a; }
body.vip-gold-theme .ku-game-pause-actions button:nth-child(n+2) { border-color: #caa14a; color: #f2e6c7; }
body.vip-gold-theme .ku-game-event { background: #caa14a; color: #241c05; }
body.vip-gold-theme .ku-game-legend b { color: #e9d5a0; }
body.vip-gold-theme .ku-game-rules h2 em { color: #caa14a; }
