.game-shell[data-game="cuppong"] { --cabinet-accent: #58dbc7; --cabinet-rgb: 88,219,199; }
.game-shell[data-game="cuppong"] .cup-pong-root { gap: 13px; color: #f3f7e9; font-family: "DM Sans", sans-serif; }
.cup-pong-header { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 19px 22px; border: 1px solid #416078; border-radius: 18px; background: linear-gradient(115deg,#123341,#141d34 72%,#33233d); box-shadow: inset 0 1px rgba(255,255,255,.14),0 12px 28px rgba(0,0,0,.2); }
.cup-pong-header .eyebrow { margin: 0 0 4px; color: #7ce6cf; font-size: .69rem; font-weight: 800; letter-spacing: .17em; }
.cup-pong-header h3 { margin: 0; color: #fff6da; font: 900 clamp(1.55rem,4vw,2.8rem)/1 "Space Grotesk",sans-serif; letter-spacing: -.065em; }
.cup-pong-header h3 em { color: #ff917e; font-style: normal; }
.cup-pong-header p:last-child { margin: 7px 0 0; color: #b3c9ce; font-size: .83rem; }
.cup-live-pill { flex: none; padding: 9px 12px; border: 1px solid rgba(131,236,210,.45); border-radius: 30px; background: rgba(57,204,174,.11); color: #83f2d7; font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.cup-mode-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cup-mode-row .mode-button { flex: 1 1 160px; min-height: 40px; border: 1px solid #405b67; border-radius: 10px; background: #182d3d; color: #d9e8e6; font-size: .75rem; font-weight: 800; letter-spacing: .025em; }
.cup-mode-row .mode-button.is-active { border-color: #80e2cf; background: linear-gradient(125deg,#2c706c,#21535b); color: #fffbe6; box-shadow: inset 0 1px rgba(255,255,255,.19),0 0 0 2px rgba(105,229,204,.13); }
.cup-network { display: grid; gap: 10px; padding: 13px 16px; border: 1px solid #446876; border-radius: 13px; background: #102b3b; }
.cup-network.is-hidden,.cup-host-section.is-hidden,.cup-join-section.is-hidden { display: none; }
.cup-net-status { color: #8eead6; font-size: .7rem; letter-spacing: .13em; }
.cup-host-section { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; }
.cup-host-section small { color: #adc7ca; }
.cup-room-code { padding: 5px 10px; border: 1px dashed #79b8b0; border-radius: 7px; color: #fff3c8; font: 900 1.2rem "Space Grotesk",sans-serif; letter-spacing: .2em; }
.cup-join-section { display: flex; align-items: center; gap: 10px; }
.cup-join-section label { font-size: .75rem; font-weight: 800; }
.cup-join-section input { width: 130px; min-height: 36px; padding: 6px 9px; font-size: .95rem; }
.cup-join-section button { min-height: 36px; }
.game-shell[data-game="cuppong"] .cup-3d-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 360px; overflow: hidden; border: 3px solid #bd8f66; border-radius: 19px; background: #071520; box-shadow: 0 0 0 5px #192d39,0 20px 40px rgba(0,0,0,.33); }
.cup-3d-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.cup-3d-canvas:focus-visible { outline: 3px solid #e7d385; outline-offset: -5px; }
.cup-stage-top,.cup-stage-bottom { position: absolute; z-index: 2; right: 14px; left: 14px; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.cup-stage-top { top: 12px; gap: 12px; }
.cup-stage-bottom { bottom: 10px; color: #c2e6dc; font: 800 .61rem "Space Grotesk",sans-serif; letter-spacing: .1em; text-shadow: 0 2px 8px #000; }
.cup-side-score { display: grid; gap: 1px; min-width: 112px; padding: 9px 12px; border: 1px solid rgba(208,240,222,.3); border-radius: 10px; background: rgba(7,23,34,.82); box-shadow: 0 4px 12px rgba(0,0,0,.24); }
.cup-side-score:last-child { text-align: right; }
.cup-side-score span { color: #92e1d0; font: 800 .59rem "Space Grotesk",sans-serif; letter-spacing: .11em; }
.cup-side-score strong { color: #fff7df; font: 900 1.08rem "Space Grotesk",sans-serif; }
.cup-side-score small { color: #b4c6cb; font-size: .65rem; }
.cup-stage-turn { align-self: flex-start; max-width: 200px; padding: 8px 11px; border: 1px solid rgba(255,216,137,.53); border-radius: 30px; background: rgba(25,34,45,.9); color: #ffe0a2; font: 900 .69rem "Space Grotesk",sans-serif; letter-spacing: .04em; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.24); }
.game-shell[data-game="cuppong"] .cup-3d-stage .game-overlay { inset: 13px; z-index: 5; background: rgba(5,15,25,.82); backdrop-filter: blur(7px); }
.game-shell[data-game="cuppong"] .cup-3d-stage .game-overlay strong { color: #fff0bd; font-size: clamp(1.3rem,3vw,2.2rem); letter-spacing: -.02em; }
.game-shell[data-game="cuppong"] .cup-3d-stage .game-overlay p { max-width: 450px; margin: 10px auto 0; color: #d4e9e5; font-size: .9rem; line-height: 1.4; letter-spacing: 0; }
.cup-banner { padding: 11px 16px; border: 1px solid #527268; border-radius: 10px; background: linear-gradient(90deg,#204945,#193d48); color: #eaf8e8; font: 800 .79rem "Space Grotesk",sans-serif; letter-spacing: .015em; }
.cup-deck { display: grid; grid-template-columns: minmax(200px,1.3fr) minmax(145px,.9fr) minmax(145px,.9fr) minmax(145px,.85fr); gap: 10px; }
.cup-deck-intro,.cup-range-card,.cup-actions { min-width: 0; padding: 14px; border: 1px solid #435c66; border-radius: 13px; background: linear-gradient(150deg,#1d3443,#162937); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.cup-deck-intro { display: flex; flex-direction: column; gap: 5px; }
.cup-deck-kicker { color: #90c9c6; font: 800 .58rem "Space Grotesk",sans-serif; letter-spacing: .12em; }
.cup-forecast { color: #ffd783; font: 900 1.05rem "Space Grotesk",sans-serif; }
.cup-forecast[data-result="sink"] { color: #83f2d7; }
.cup-forecast[data-result="out"] { color: #ff8c86; }
.cup-forecast-detail { margin: 0; color: #d6e2df; font-size: .71rem; line-height: 1.35; }
.cup-aim-tip { margin: 3px 0 0; color: #a4b8bd; font-size: .67rem; line-height: 1.35; }
.cup-range-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cup-range-card span { display: flex; justify-content: space-between; gap: 8px; color: #d5e6df; font: 800 .66rem "Space Grotesk",sans-serif; letter-spacing: .08em; }
.cup-range-card strong { color: #ffe2a3; letter-spacing: 0; }
.cup-range-card input { width: 100%; margin: 0; accent-color: #72dcca; cursor: pointer; }
.cup-range-card input:disabled { opacity: .45; cursor: default; }
.cup-range-card small { color: #a7bbc0; font-size: .66rem; line-height: 1.3; }
.cup-actions { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.cup-throw-button { min-height: 48px; padding: 9px 12px; border: 1px solid #fff1bd; border-radius: 9px; background: linear-gradient(160deg,#ffdf92,#dc9c5e); color: #352e26; font: 900 .75rem "Space Grotesk",sans-serif; letter-spacing: .015em; cursor: pointer; box-shadow: 0 4px 0 #7d543e; }
.cup-throw-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.cup-throw-button:disabled { opacity: .47; cursor: default; box-shadow: none; }
.cup-reset-aim { min-height: 30px; border: 1px solid #536c74; border-radius: 7px; background: #193340; color: #c4ded8; font: 800 .61rem "Space Grotesk",sans-serif; letter-spacing: .06em; cursor: pointer; }
.cup-reset-aim:disabled { opacity: .45; cursor: default; }
@media(max-width:900px) { .cup-deck { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .cup-pong-header { align-items: flex-start; flex-direction: column; } .cup-live-pill { padding: 6px 9px; } .game-shell[data-game="cuppong"] .cup-3d-stage { min-height: 310px; aspect-ratio: 4 / 3; } .cup-stage-top { gap: 5px; right: 7px; left: 7px; } .cup-side-score { min-width: 76px; padding: 5px 6px; } .cup-side-score strong { font-size: .85rem; } .cup-side-score span,.cup-side-score small { font-size: .5rem; } .cup-stage-turn { padding: 6px; font-size: .52rem; } .cup-stage-bottom { right: 7px; left: 7px; font-size: .45rem; } .cup-deck { grid-template-columns: 1fr 1fr; } .cup-deck-intro,.cup-actions { grid-column: 1 / -1; } .cup-join-section { flex-wrap: wrap; } }
