:root{--md-gold:#edc57b;--md-edge:#304455;--md-surface:#102131}
:root[data-md-font=broadcast]{--md-heading:'Barlow Condensed','Inter',sans-serif}
:root[data-md-font=chakra]{--md-heading:'Chakra Petch','Inter',sans-serif}
html.wg-shell body,html.wg-shell body :is(button,input,select,textarea,p,a,label,summary),html.wg-shell body [style*="font-family"]{font-family:var(--md-body)!important;font-variant-numeric:tabular-nums}
html.wg-shell body{font-size:var(--md-ui-body,14px);line-height:1.45}
html.wg-shell [data-md-game] input[type=number],html.wg-shell :is(.md-unboxed,.md-seat-return,.md-best-value){font-family:var(--md-mono)!important;font-variant-numeric:tabular-nums}
html.wg-shell body :is(h1,h2,h3),html.wg-shell body :is(.cb-page-heading h1,.cb-hero h2,.cb-setup-intro h2,.md-victory-copy h2,.md-banner h1){font-family:var(--md-heading)!important;letter-spacing:-.035em!important;font-weight:700}
html.wg-shell body :is(button,a){text-transform:none}
html.wg-shell body button{letter-spacing:.015em!important}
html.wg-shell [data-md-game]{gap:12px!important;padding-top:12px!important;align-content:start!important}
.md-banner{grid-column:1/-1;min-width:0;position:relative;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 17px;border:1px solid #344b60;border-radius:11px;background:linear-gradient(90deg,#102135 12%,#102135e8 48%,#10213540),var(--md-art) right 45%/340px auto no-repeat,#102135;overflow:hidden}
.md-banner-copy{display:flex;align-items:center;gap:12px}.md-category{font:600 9px/1.4 var(--md-body);letter-spacing:.15em;color:#95b4c6}.md-banner h1{font-size:25px;line-height:1.1;margin:4px 0;color:#f2f7fc}.md-view-toggle{flex:none;min-height:42px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #48667b;border-radius:8px;background:#142d41e8;color:#daf1f3;padding:9px 13px;font:600 12px var(--md-body);box-shadow:0 2px 6px #0002;cursor:pointer}.md-view-toggle svg{width:22px;height:22px}.md-view-toggle:hover{background:#23455a;border-color:#8ecbbf}.md-view-toggle:focus-visible{outline:3px solid #8ebdff;outline-offset:3px}.md-legacy-view{opacity:.8}.md-game-icon{display:block;width:27px;height:27px;background:#aad8dc;mask:var(--md-icon) center/contain no-repeat;flex:none}
[data-md-game=mines]{--md-art:url('assets/wayger-lobby-v8/mines-480.webp');--md-icon:url('assets/wayger-matchday/icon-mines.svg')}
[data-md-game=dice]{--md-art:url('assets/wayger-lobby-v8/dice-480.webp');--md-icon:url('assets/wayger-matchday/icon-dice.svg')}
[data-md-game=plinko]{--md-art:url('assets/wayger-lobby-v8/plinko-480.webp');--md-icon:url('assets/wayger-matchday/icon-plinko.svg')}
[data-md-game=crash]{--md-art:url('assets/wayger-lobby-v8/crash-480.webp');--md-icon:url('assets/wayger-matchday/icon-crash.svg')}
[data-md-game=limbo]{--md-art:url('assets/wayger-lobby-v8/limbo-480.webp');--md-icon:url('assets/wayger-matchday/icon-limbo.svg')}
[data-md-game=towers]{--md-art:url('assets/wayger-lobby-v8/towers-480.webp');--md-icon:url('assets/wayger-matchday/icon-towers.svg')}
[data-md-game=keno]{--md-art:url('assets/wayger-lobby-v8/keno-480.webp');--md-icon:url('assets/wayger-matchday/icon-keno.svg')}
[data-md-game=hilo]{--md-art:url('assets/wayger-lobby-v8/hilo-480.webp');--md-icon:url('assets/wayger-matchday/icon-hilo.svg')}
[data-md-game=wheel]{--md-art:url('assets/wayger-lobby-v8/wheel-480.webp');--md-icon:url('assets/wayger-matchday/icon-wheel.svg')}
[data-md-game=roulette]{--md-art:url('assets/wayger-lobby-v8/roulette-480.webp');--md-icon:url('assets/wayger-matchday/icon-wheel.svg')}
[data-md-game=blackjack]{--md-art:url('assets/wayger-lobby-v8/blackjack-480.webp');--md-icon:url('assets/wayger-matchday/icon-cards.svg')}
[data-md-game=baccarat]{--md-art:url('assets/wayger-lobby-v8/baccarat-480.webp');--md-icon:url('assets/wayger-matchday/icon-cards.svg')}
[data-md-game=video-poker]{--md-art:url('assets/wayger-lobby-v8/video-poker-480.webp');--md-icon:url('assets/wayger-matchday/icon-cards.svg')}
[data-md-game=upgrader]{--md-art:url('assets/wayger-lobby-v8/upgrader-480.webp');--md-icon:url('assets/wayger-esports/underdog.svg')}
[data-md-game=coinflip]{--md-art:url('assets/wayger-matchday/coinflip-480.webp');--md-icon:url('assets/wayger-matchday/icon-coinflip.svg')}
[data-md-game=cases]{--md-art:url('assets/wayger-lobby-v5/cases-480.webp');--md-icon:url('assets/wayger-esports/case.svg')}
html.wg-shell [data-md-game] .wg-playstage{min-height:clamp(330px,50vh,460px)!important;padding-top:18px!important;padding-bottom:18px!important}
html.wg-shell :is([data-md-game=mines],[data-md-game=dice],[data-md-game=plinko],[data-md-game=crash],[data-md-game=limbo],[data-md-game=towers],[data-md-game=keno],[data-md-game=hilo],[data-md-game=wheel]) .wg-playstage{background:linear-gradient(100deg,#081115f2,#081115e5 65%,#081115f5),var(--md-art) center/cover no-repeat,#081115!important}
html.wg-shell .wg-playstage.wg-table-stage{background:radial-gradient(ellipse at 50% 30%,#16303435,transparent 75%),url('assets/wayger-matchday/card-back-fine.svg') center/48px 48px,#081115!important;box-shadow:inset 0 0 60px #0004!important}
/* One short perimeter sweep on deliberate hover/focus. No idle betting prompt. */
[data-md-action=play]{isolation:isolate;overflow:hidden}
[data-md-action=play]:not(:disabled):is(:hover,:focus-visible)::after{content:'';position:absolute;inset:0;border:1px solid #b8f2df;border-radius:inherit;pointer-events:none;animation:md-frame-pass .8s ease-out both}
@keyframes md-frame-pass{0%{clip-path:inset(0 100% 92% 0);opacity:.2}35%{clip-path:inset(0 0 60% 0);opacity:.9}70%{clip-path:inset(0 0 0 0);opacity:.7}100%{clip-path:inset(0 0 0 0);opacity:0}}
/* Case art is the label; exact names remain on hover/accessibility text. */
html.wg-shell .cb-cases .cb-case-caption,html.wg-shell .cb-case-name{display:none!important}
html.wg-shell .cb-cases .cb-case-plinth{height:174px!important;width:180px!important;min-width:180px!important;max-width:180px!important}
html.wg-shell .cb-cases .cb-case-plinth>img{height:172px!important;max-height:172px!important;width:178px!important;max-width:178px!important}
html.wg-shell .cb-cases{min-height:174px!important;justify-content:safe center}
html.wg-shell .cb-battle-row:not([data-closing="1"]){min-height:194px!important}
html.wg-shell .cb-cases .cb-case-plinth>span[style*="position: absolute"]{font-size:13px!important;border-radius:6px!important;padding:4px 7px!important;background:#0c1b29e8!important;z-index:2}
html.wg-shell .cb-case-belt .cb-setup-case-art{height:190px!important;min-height:190px!important}html.wg-shell .cb-case-belt .cb-setup-case-art img{height:188px!important;max-height:188px!important}
.md-round-case{position:relative!important;width:72px!important;height:68px!important;border:0!important;background:transparent!important;overflow:visible!important}.md-round-case img{max-width:72px!important;max-height:65px!important}.md-case-count{position:absolute;right:0;top:0;min-width:19px;padding:2px 4px;background:#213849;color:#fff;border:1px solid #476176;border-radius:5px;text-align:center;font:700 11px var(--md-body)}
/* Victory is a match highlight, followed by the full collection for every seat. */
html.wg-shell .cb-app[data-cb-phase=done] .cb-stage{height:auto!important;min-height:0!important;overflow:hidden!important}
html.wg-shell .cb-result-scene{position:relative!important;inset:auto!important;display:flex!important;min-height:0!important;justify-content:flex-start!important;padding:18px!important;background:radial-gradient(ellipse at 75% 20%,#c2984b1e,transparent 65%),#09151f!important}
.md-victory-hero{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px!important;align-items:center;min-height:230px}.md-victory-copy{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.md-victory-eyebrow{display:flex;align-items:center;gap:8px;color:#efd090;font:700 11px var(--md-body);letter-spacing:.16em}.md-victory-eyebrow .cb-trophy{width:27px;height:27px}.md-victory-copy h2{font-size:clamp(28px,3.2vw,46px)!important;line-height:1.06;margin:0;color:#f5d599!important;letter-spacing:-.03em!important}.md-victory-copy p{font-size:12px!important;margin:0;color:#acc3d2;max-width:44ch}.md-victory-format{font-size:10px;color:#89a0b4;letter-spacing:.08em}
.md-winning-pulls{display:flex;align-items:stretch;justify-content:center;gap:8px;min-width:0}.md-best-pull{min-width:0;flex:1;max-width:430px;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;background:radial-gradient(ellipse,#dfbc7126,transparent 68%);padding:4px 8px}.md-best-pull img{width:100%;height:190px;object-fit:contain;filter:drop-shadow(0 18px 15px #0008)}.md-best-pull strong{font-size:13px;color:#dce7f0}.md-best-player{font-size:12px;color:#f0ce8b;font-weight:700}.md-best-value{font-size:10px;color:#a5b8c8;letter-spacing:.07em}
.md-podium{display:grid!important;grid-template-columns:repeat(var(--md-seats),minmax(0,1fr))!important;gap:7px!important}.md-podium-seat{position:relative;padding:10px;border:1px solid #304457;border-radius:8px;display:grid;justify-items:center;gap:5px;min-width:0;background:#0d1e2a}.md-podium-seat[data-winner=true]{border-color:#ad8950;background:linear-gradient(150deg,#6b522127,#122230);box-shadow:inset 0 2px #e6c583}.md-avatar{flex:none;width:28px;height:28px;display:grid;place-items:center;border:1px solid #4c687c;border-radius:8px;color:#c8e2ea;background:#203544;font-size:12px}.md-podium-seat strong{font-size:11px;text-align:center}.md-unboxed{font-size:14px;font-weight:600;color:#d7e8f3}.md-unboxed small{display:block;text-align:center;font-size:8px;letter-spacing:.08em;color:#8ba5b7}.md-seat-return{color:#f0cc82;font-size:13px}
html.wg-shell .cb-result-scene[data-format^=GROUP] .cb-competitive-title{display:none}html.wg-shell .cb-result-scene[data-format^=GROUP] .cb-shared-title{display:inline}
html.wg-shell .cb-app[data-cb-phase=done] .cb-seat-status{display:none!important}
html.wg-shell .md-drop-columns{overflow:auto;grid-template-columns:repeat(var(--md-seats,2),minmax(165px,1fr));padding:3px 0}
.md-collection-owner{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 7px;margin-bottom:5px;border-bottom:1px solid #30475a;font-size:11px;min-height:60px}.md-collection-owner strong{min-width:0;flex:1}.md-collection-owner b{color:#eccc82}.md-drop-column[data-winner=true] .md-collection-owner{border-color:#ad8950}
html.wg-shell .cb-drop-record{padding:9px!important;min-height:75px!important;border-color:#2d4252!important;background:#112131!important;gap:10px!important}.cb-drop-record :is(span){letter-spacing:0!important}.cb-drop-record span[style*="text-overflow"]{font-size:12px!important}.cb-drop-thumb{width:58px!important;height:50px!important}.cb-drop-thumb img{max-width:58px!important;max-height:50px!important}
.md-social-mark{display:block;width:22px;height:22px;background:currentColor;mask:var(--social) center/contain no-repeat}.md-social-button{min-width:44px;min-height:44px}.md-social-fallback{display:none}.md-social-button[data-social="X"],.md-social-button[data-social="𝕏"]{--social:url('assets/wayger-matchday/x.svg')}.md-social-button[data-social="DC"]{--social:url('assets/wayger-matchday/discord.svg')}.md-social-button[data-social="RD"]{--social:url('assets/wayger-matchday/reddit.svg')}.md-social-button[data-social="FB"]{--social:url('assets/wayger-matchday/facebook.svg')}.md-social-button[data-social="IG"]{--social:url('assets/wayger-matchday/instagram.svg')}.md-social-button[data-social="+"]{--social:url('assets/wayger-esports/plus.svg')}
/* Coinflip adopts the Arena's materials; the engine keeps the actual toss/landing. */
html.wg-shell [data-md-game=coinflip] :is([data-screen-label="COINFLIP ARENA"],.md-flip-stage){background:#0b1925!important;border-color:#304759!important;min-height:0!important;padding:14px!important}
html.wg-shell .md-flip-stage{background:radial-gradient(ellipse at 50% 35%,#35536630,transparent 65%),#081115!important}
.md-flip-coin{width:168px!important;height:168px!important;filter:drop-shadow(0 12px 15px #0008)}.md-coin-face{background:transparent!important;box-shadow:none!important}.md-coin-face img{width:100%;height:100%;display:block}.md-side-gold,.md-side-silver{width:44px!important;height:44px!important;background:center/cover url('assets/wayger-matchday/coin-brass-gold.svg')!important}.md-side-silver{background-image:url('assets/wayger-matchday/coin-brass-silver.svg')!important}.md-side-gold>*,.md-side-silver>*{visibility:hidden}
html[data-md-coin=mint] .md-coin-gold img{content:url('assets/wayger-matchday/coin-mint-gold.svg')}html[data-md-coin=mint] .md-coin-silver img{content:url('assets/wayger-matchday/coin-mint-silver.svg')}
@media(max-width:899px){.md-victory-hero{grid-template-columns:1fr 1fr}.md-podium{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md-best-pull img{height:145px}.md-victory-copy h2{font-size:30px!important}}
@media(max-width:699px){.md-banner{min-height:68px;padding:10px;background-size:auto,230px auto;background-position:center,right center}.md-banner h1{font-size:21px}.md-category{font-size:8px}.md-game-icon{display:none}.md-view-toggle{padding:8px;font-size:11px;gap:6px;min-height:44px}.md-view-toggle svg{width:20px;height:20px}html.wg-shell [data-md-game] .wg-playstage{min-height:310px!important}.md-victory-hero{grid-template-columns:1fr;gap:8px!important}.md-victory-copy{align-items:center;text-align:center}.md-victory-copy h2{font-size:29px!important}.md-best-pull img{height:165px}.md-winning-pulls{flex-wrap:wrap}.md-best-pull{flex-basis:42%}.md-podium{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.wg-shell .cb-result-scene{padding:13px!important}html.wg-shell .cb-cases .cb-case-plinth{height:145px!important;width:149px!important;min-width:149px!important;max-width:149px!important}html.wg-shell .cb-cases .cb-case-plinth>img{height:142px!important;max-height:142px!important;width:147px!important;max-width:147px!important}html.wg-shell .cb-cases{min-height:145px!important}html.wg-shell .cb-case-belt .cb-setup-case-art{height:170px!important;min-height:170px!important}html.wg-shell .cb-case-belt .cb-setup-case-art img{height:168px!important;max-height:168px!important}.md-flip-coin{width:145px!important;height:145px!important}}
@media(prefers-reduced-motion:reduce){html.wg-shell .cb-app *,[data-md-action=play]::after{animation:none!important}.md-flip-coin{scroll-behavior:auto}}

html.wg-shell .md-legacy-view{display:none!important}
html.wg-shell .md-drop-columns{grid-template-columns:repeat(var(--md-seats,2),minmax(165px,1fr))!important}
[data-md-action=play]{position:relative}
/* Shared commitment language across Originals, tables and skins games. */
[data-md-action=play]:not(:disabled){background:linear-gradient(#393677,#272454)!important;border-color:#8176eb!important;color:#f2efff!important;box-shadow:none!important}
[data-md-action=play]:not(:disabled)>span{color:inherit!important}
[data-md-action=play][data-wg-action=bank]:not(:disabled){background:linear-gradient(#184c45,#12342f)!important;border-color:#79c4b6!important;color:#d6fff0!important}
[data-md-action=play]:is([data-wg-action=stop],[data-wg-action=cancel]):not(:disabled){background:#273341!important;border-color:#8296a5!important;color:#e4edf5!important}


.md-small-coin[data-md-face="#5c430f"]{background:center/cover url("assets/wayger-matchday/coin-brass-gold.svg")!important}.md-small-coin[data-md-face="#eef1f4"]{background:center/cover url("assets/wayger-matchday/coin-brass-silver.svg")!important}.md-small-coin:is([data-md-face="#5c430f"],[data-md-face="#eef1f4"])>*{visibility:hidden}
.md-idle-coin{position:absolute;inset:0;border-radius:50%;filter:drop-shadow(0 12px 12px #0008)}.md-idle-coin img{position:absolute;inset:0;width:100%;height:100%}.md-idle-silver{clip-path:inset(0 0 0 50%)}
html[data-md-coin=mint] .md-idle-gold{content:url("assets/wayger-matchday/coin-mint-gold.svg")}html[data-md-coin=mint] .md-idle-silver{content:url("assets/wayger-matchday/coin-mint-silver.svg")}
html.wg-shell .md-flip-skin{width:92px!important;height:70px!important}html.wg-shell .md-flip-skin img{max-width:90px!important;max-height:68px!important}html.wg-shell .md-pool-skin{width:100px!important;height:85px!important}html.wg-shell .md-pool-skin img{max-width:96px!important;max-height:73px!important}
@media(min-width:900px){html.wg-shell .md-flip-row{grid-template-columns:104px 84px minmax(0,1fr) 168px!important}}
@media(max-width:699px){html.wg-shell .md-flip-skin{width:66px!important;height:56px!important}html.wg-shell .md-flip-skin img{max-width:64px!important;max-height:54px!important}}


html.wg-shell [data-md-game=cases] .wg-playstage{min-height:0!important}
[data-md-game=cases]>.md-banner+div{font-size:10px;opacity:.75}[data-md-game=cases]>.md-banner+div>span:first-child{display:none}


html.wg-shell [data-md-game]>.md-banner+div[style*="grid-template-rows"]{grid-template-rows:auto auto!important;min-height:0!important;align-content:start!important}
.md-best-pull img{animation:md-prize-reveal .65s cubic-bezier(.16,1,.3,1) both}.md-podium-seat[data-winner=true]{animation:md-podium-reveal .75s ease-out both}
@keyframes md-prize-reveal{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}@keyframes md-podium-reveal{from{box-shadow:inset 0 2px #e6c583,0 0 24px #e6c58355}to{box-shadow:inset 0 2px #e6c583}}


@media(max-width:360px){html.wg-shell div[style*="min-width: 320px"]{min-width:0!important}}

html[data-md-coin=mint] .md-side-gold,html[data-md-coin=mint] .md-small-coin[data-md-face="#5c430f"]{background-image:url('assets/wayger-matchday/coin-mint-gold.svg')!important}
html[data-md-coin=mint] .md-side-silver,html[data-md-coin=mint] .md-small-coin[data-md-face="#eef1f4"]{background-image:url('assets/wayger-matchday/coin-mint-silver.svg')!important}
/* Filters flatten preserve-3d and let the edge disks cover the coin faces. */
.md-flip-coin{filter:none!important}

/* Shared chrome stays compact; labels remain readable and collections wrap. */
html.wg-shell .md-banner{min-height:64px;padding:10px 14px}
html.wg-shell .md-banner h1{font-size:24px;line-height:1.15}
html.wg-shell .md-category{font-size:12px;letter-spacing:.06em}
html.wg-shell :is(.md-victory-format,.md-best-value,.md-unboxed small,.md-collection-owner,.md-podium-seat strong){font-size:12px;letter-spacing:0;line-height:1.35}
html.wg-shell .md-drop-columns{overflow:visible;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;min-width:0}
html.wg-shell .md-drop-column,html.wg-shell .md-collection-owner{min-width:0;overflow-wrap:anywhere}
html.wg-shell .md-banner-copy,html.wg-shell .md-victory-copy{min-width:0}
@media(max-width:599px){html.wg-shell .md-banner{min-height:60px;padding:8px 10px}html.wg-shell .md-banner h1{font-size:20px}html.wg-shell .md-category{font-size:12px}html.wg-shell [data-md-game] input[type=number]{font-size:16px!important}}

/* Balance is a short menu: UI labels use body type, the amount uses the data face. */
html.wg-shell .wg-balance-picker,html.wg-shell .wg-balance-panel{font-family:var(--md-body)!important;font-size:13px;line-height:1.4}
html.wg-shell .wg-balance-picker>summary{gap:8px;padding:6px 10px;min-height:44px}
html.wg-shell .wg-balance-word{font-size:12px!important;letter-spacing:0}
html.wg-shell .wg-balance-picker>summary>strong{font-family:var(--md-mono)!important;font-size:15px!important;font-weight:600;letter-spacing:0;font-variant-numeric:tabular-nums}
html.wg-shell .wg-balance-panel{padding:12px;gap:8px;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 88px);overflow-y:auto}
html.wg-shell .wg-balance-panel .wg-eyebrow{font-size:13px;letter-spacing:0;font-weight:600}
html.wg-shell .wg-balance-panel .wg-mode-option{min-height:60px!important;gap:3px;padding:9px 10px;min-width:0}
html.wg-shell .wg-balance-panel .wg-mode-option>strong{font-family:var(--md-body)!important;font-size:14px;line-height:1.35}
html.wg-shell .wg-balance-panel :is(.wg-mode-option>span,p){font-size:12px;line-height:1.45}
html.wg-shell .wg-balance-panel a{min-height:44px;font-size:13px;line-height:1.35;display:flex;align-items:center}

html.wg-shell body .wg-instrument{font-family:var(--md-mono)!important;font-variant-numeric:tabular-nums}
