/* Integration only: existing authentication, games and history keep their DOM. */
/* Approved shared presentation values; existing page controllers remain authoritative. */
body[data-player-layout="violet-lounge"] :is(.vl-hero,.vl-games,#home-view,#history-view) { --vl-panel:#19123d;--vl-muted:#c4badb;--vl-line:#544371; }
body[data-player-layout="violet-lounge"] { padding-top: 28px; }
body[data-player-layout="violet-lounge"]::before { content: none!important; }
body[data-player-layout="violet-lounge"] .app-shell.vl-app { width: 100%; padding: 0; }
body[data-player-layout="violet-lounge"] .player-header.vl-header { display: flex!important; margin: 0; }
body[data-player-layout="violet-lounge"] .vl-header .game-brand { min-width: 0; font-size: 15px; letter-spacing: 0; margin-right: auto; }
body[data-player-layout="violet-lounge"] .vl-header .game-brand [data-brand-name] { display: inline-flex; align-items: center; min-height: 44px; }
body[data-player-layout="violet-lounge"] .vl-header .game-brand img { width: 36px; height: 36px!important; flex-shrink: 0; }
body[data-player-layout="violet-lounge"] .vl-header .header-actions { margin-left: 0; gap: 14px; }
body[data-player-layout="violet-lounge"] #header-wallet { min-height: 46px; background: #241a4a; border-color: #463567; }
body[data-player-layout="violet-lounge"] #wallet-withdraw { min-height: 44px; min-width: 44px; }
body[data-player-layout="violet-lounge"] #available-balance { font-size: 14px; color: #fff; }
body[data-player-layout="violet-lounge"] #add-funds { width: 44px; min-width: 44px; min-height: 44px; height: 44px; }
body[data-player-layout="violet-lounge"] #header-menu-toggle { width: 44px; min-width: 44px; height: 44px; font-size: 16px; }
body[data-player-layout="violet-lounge"] #player-payment-modes { margin: 0; padding: 0; width: auto; background: none; border: 0; }
body[data-player-layout="violet-lounge"] #player-payment-modes .payment-mode-options { min-height: 50px; }
body[data-player-layout="violet-lounge"] #player-payment-modes .payment-mode-options button { min-height: 44px; }
body[data-player-layout="violet-lounge"] main.vl-main { width: 100%; max-width: none; margin: 0; padding: 18px 24px 0; }
body[data-player-layout="violet-lounge"] #dashboard { padding: 0; }
body[data-player-layout="violet-lounge"] #dashboard > .wallet-status { margin: 0; min-height: 0; }
body[data-player-layout="violet-lounge"] #dashboard > .wallet-status:has(#wallet-sync:empty) { display: none; }
body[data-player-layout="violet-lounge"] #games-home .game-tile { padding: 0; flex-direction: row; background: #24173d; align-self: stretch; }
body[data-player-layout="violet-lounge"] #games-home .game-tile h2 { margin: 0 0 8px; }
body[data-player-layout="violet-lounge"] #games-home .game-tile p { margin: 0 0 13px; color: #ded4ee; }
body[data-player-layout="violet-lounge"] #games-home .game-tile .btn { text-align: left; margin: 0; }
body[data-player-layout="violet-lounge"] #games-home .last-played-label { margin: 0; z-index: 2; }
body[data-player-layout="violet-lounge"] #dashboard-posters:not([hidden]) { margin: 64px 0 0; }
body[data-player-layout="violet-lounge"] #dashboard-posters:not([hidden]) + .vl-shortcut-section { margin-top: 28px; }
body[data-player-layout="violet-lounge"] .vl-footer { grid-column: 2; margin: 24px 24px 0; }
body[data-player-layout="violet-lounge"] #player-nav { display: none!important; }
body[data-player-layout="violet-lounge"] #home-view { padding: 20px 0; }
body[data-player-layout="violet-lounge"] #history-view { padding-top: 20px; }
body[data-player-layout="violet-lounge"]:not(:has(#dashboard:not([hidden]))) .vl-sidebar,
body[data-player-layout="violet-lounge"]:not(:has(#dashboard:not([hidden]))) .vl-footer { display: none; }
body[data-player-layout="violet-lounge"]:not(:has(#dashboard:not([hidden]))) .vl-app { grid-template-columns: minmax(0,1fr); }
body[data-player-layout="violet-lounge"]:not(:has(#dashboard:not([hidden]))) .vl-main { max-width: 1100px; margin: auto; padding-bottom: 40px; }
body[data-player-layout="violet-lounge"] #mobile-menu { z-index: 90; }
body[data-player-layout="violet-lounge"] #menu-backdrop { z-index: 80; }
@media(max-width:1200px) {
 body[data-player-layout="violet-lounge"] { padding-top: 16px; }
 body[data-player-layout="violet-lounge"] main.vl-main { padding: 16px 18px 0; }
}
@media(max-width:1000px) {
 body[data-player-layout="violet-lounge"] .vl-footer { grid-column: 1; }
 body[data-player-layout="violet-lounge"] #player-nav:not([hidden]) { display: grid!important; position: fixed; left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; border: 0; border-top: 1px solid #73589880; border-radius: 0; padding: 6px 12px max(8px,env(safe-area-inset-bottom)); background: #130d2cf5; backdrop-filter: blur(18px); z-index: 60; }
 body[data-player-layout="violet-lounge"] #player-nav > :is(a,button) { min-height: 50px; min-width: 44px; background: transparent; color: #c6b6d8; border: 0; border-radius: 12px; font-size: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 2px; }
 body[data-player-layout="violet-lounge"] #player-nav > [aria-current] { background: #9065f323; color: #e6d2ff; }
 body[data-player-layout="violet-lounge"] #player-nav svg { width: 20px; height: 20px; }
 body[data-player-layout="violet-lounge"] #home-view { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:800px) {
 body[data-player-layout="violet-lounge"] #player-payment-modes { margin: 0 auto; width: max-content; max-width: 100%; }
 body[data-player-layout="violet-lounge"] #mobile-currency-slot { margin-bottom: 16px; }
}
@media(max-width:600px) {
 body[data-player-layout="violet-lounge"] { padding-top: 0; }
 body[data-player-layout="violet-lounge"] main.vl-main { padding: 14px 14px 0; }
 body[data-player-layout="violet-lounge"] .vl-header .game-brand { font-size: 11px; }
 body[data-player-layout="violet-lounge"] .vl-header .game-brand [data-brand-name] { font-size: 10px; letter-spacing: .5px; }
 body[data-player-layout="violet-lounge"] .vl-header .game-brand img { width: 26px; height: 26px!important; margin-right: 5px!important; }
 body[data-player-layout="violet-lounge"] .vl-header .header-actions { gap: 8px; }
 body[data-player-layout="violet-lounge"] #header-wallet { padding: 0 4px 0 8px; }
 body[data-player-layout="violet-lounge"] #wallet-withdraw { gap: 5px; }
 body[data-player-layout="violet-lounge"] #wallet-withdraw > svg { display: none; }
 body[data-player-layout="violet-lounge"] #available-balance { font-size: 11px; }
 body[data-player-layout="violet-lounge"] #add-funds { display: none; }
 body[data-player-layout="violet-lounge"] .vl-footer { margin-inline: 14px; }
 body[data-player-layout="violet-lounge"] #games-home .game-tile p { margin-bottom: 10px; }
}

/* Approved Home carousel and representative game/history presentation. */
body[data-player-layout="violet-lounge"] #games-home .vl-hero{height:296px;min-height:0;padding:0;display:block;border-radius:32px 32px 62px 32px;background:#673bd1;isolation:isolate}
body[data-player-layout="violet-lounge"] #games-home .vl-hero::before,body[data-player-layout="violet-lounge"] #games-home .vl-hero::after{content:none}
body[data-player-layout="violet-lounge"] #games-home .vl-hero #dashboard-posters[data-violet-hero]{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:inherit;background:transparent}
.vl-hero-carousel .vl-banner-viewport,.vl-hero-default{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;display:block}
.vl-hero-carousel .vl-banner-viewport{overflow:hidden;touch-action:pan-y}
.vl-hero-carousel .vl-banner-slide{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;display:block;isolation:isolate}
.vl-hero-carousel [hidden]{display:none!important}
.vl-hero .vl-hero-default .vl-hero-content{position:relative;padding:38px 30px;width:65%;z-index:2}
.vl-hero .vl-hero-default h1{font-size:clamp(30px,3vw,44px);line-height:1.12;margin:14px 0 16px;letter-spacing:-1.6px}
.vl-hero .vl-hero-default p{font-size:13px;line-height:1.7;color:#fff}
.vl-hero .vl-hero-default .vl-hero-note,.vl-hero .vl-orbit{display:none}
.vl-hero .vl-hero-default .vl-hero-art{position:absolute;inset:0 0 0 auto;height:100%;width:auto;max-width:100%;margin:0;aspect-ratio:1.5;border-radius:inherit;z-index:0;mask-image:linear-gradient(90deg,transparent,#000 30%)}
.vl-hero .vl-hero-default .vl-hero-art img{height:100%;width:100%;object-fit:contain;object-position:right center}
.vl-hero-carousel .vl-configured-poster picture,.vl-hero-carousel .vl-configured-poster img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.vl-hero-carousel .vl-banner-slide:focus-visible{outline:3px solid #8ee9f3;outline-offset:-4px}
body[data-player-layout="violet-lounge"] .vl-hero :is(.vl-banner-prev,.vl-banner-next,.vl-banner-pause){position:absolute;z-index:4;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #b7a0da;border-radius:50%;background:#21113de8;color:#faf7ff;box-shadow:none;font:22px/1 system-ui}
.vl-hero .vl-banner-prev{bottom:14px;left:18px}.vl-hero .vl-banner-next{bottom:14px;right:18px}
body[data-player-layout="violet-lounge"] .vl-hero .vl-banner-pause{top:12px;right:18px;font-size:14px}
.vl-hero .vl-banner-count{position:absolute;bottom:23px;left:76px;color:white;font-size:11px;z-index:3;pointer-events:none;text-shadow:0 1px 4px #10051f}
.vl-hero .vl-banner-pause:disabled{opacity:.75;cursor:default}
body[data-player-layout="violet-lounge"] .vl-hero .vl-explore{width:98px;height:98px;bottom:-40px;border:9px solid #0d0924;background:#281849;color:#f4eaff;box-shadow:inset 0 0 0 1px #c29af2,0 5px 14px #10071c44;animation:none;z-index:5;gap:3px;transition:background .16s}
.vl-hero .vl-explore::before{content:none}.vl-hero .vl-explore svg{width:21px!important;height:21px!important;transform:rotate(-45deg)}
body[data-player-layout="violet-lounge"] .vl-hero .vl-explore span{color:#f4eaff;font-size:12px;letter-spacing:.1px;text-transform:none}
body[data-player-layout="violet-lounge"] .vl-hero .vl-explore:hover{background:#3b2463;box-shadow:inset 0 0 0 2px #dbc0ff}
body[data-player-layout="violet-lounge"] .vl-hero .vl-explore:active{background:#1e103a}
.vl-hero .vl-explore:focus-visible,.vl-hero button:focus-visible{outline:3px solid #8ee9f3;outline-offset:4px}
body[data-player-layout="violet-lounge"] #games-home>.vl-games{margin-top:62px}
body[data-player-layout="violet-lounge"] #games-home .game-catalogue{gap:16px}
body[data-player-layout="violet-lounge"] #games-home .game-tile{min-height:240px;aspect-ratio:auto;height:auto;border:1px solid #655080;border-radius:18px}
body[data-player-layout="violet-lounge"] #games-home .game-tile .game-tile-copy{padding:110px 18px 16px;display:flex;flex-direction:column;justify-content:flex-end}
body[data-player-layout="violet-lounge"] #games-home .game-tile h2{font-size:20px}
body[data-player-layout="violet-lounge"] #games-home .game-tile p{font-size:12px;line-height:1.5}
body[data-player-layout="violet-lounge"] #games-home .game-tile::after{background:linear-gradient(0deg,#140d2f 4%,#140d2fee 35%,transparent 95%)}
body[data-player-layout="violet-lounge"] :is(#home-view,#history-view){--card:#19123d;--muted:#c4badb;--border:#544371;color:#faf7ff}
body[data-player-layout="violet-lounge"] #home-view :is(.prediction-card,.stake-card,.last-bet,.account-summary,.session-card,.rules),body[data-player-layout="violet-lounge"] #history-view :is(.history-card,.live-panel){background:#19123d;border:1px solid #544371;border-radius:18px;box-shadow:none}
body[data-player-layout="violet-lounge"] #home-view .prediction-card{padding:18px;min-width:0}
body[data-player-layout="violet-lounge"] #home-view .choice-card{transition:transform 160ms ease-out}
body[data-player-layout="violet-lounge"] #home-view .choice-card[aria-pressed=true]{transform:translateY(-2px)}
body[data-player-layout="violet-lounge"] #home-view :is(.stake-grid button,.quick-add button,.place-prediction){transition:transform 120ms ease-out}
body[data-player-layout="violet-lounge"] #home-view .prediction-card button:active:not(:disabled){transform:scale(.985)}
@media(prefers-reduced-motion:reduce){body[data-player-layout="violet-lounge"] #home-view .prediction-card button{transition:none!important;transform:none!important}}
body[data-player-layout="violet-lounge"] #home-view :is(.choice-card,.stake-btn){border-color:#78618d;background:#241a4a;color:#faf7ff}
body[data-player-layout="violet-lounge"] #home-view .choice-card[aria-pressed=true]{background:#422875;border-color:#bc95ff;box-shadow:inset 0 0 0 1px #bc95ff}
body[data-player-layout="violet-lounge"] #history-view table{width:100%;table-layout:fixed;font-size:13px}
body[data-player-layout="violet-lounge"] #history-view :is(th,td){padding:16px 12px;border-color:#48355f;overflow-wrap:anywhere;text-align:left}
body[data-player-layout="violet-lounge"] #history-view th{color:#c4badb;font-size:11px;letter-spacing:.05em}
body[data-player-layout="violet-lounge"] #history-view :is(th,td):nth-child(3){text-align:right;font-variant-numeric:tabular-nums}
body[data-player-layout="violet-lounge"] #history-view :is(th,td):first-child{width:24%}
body[data-player-layout="violet-lounge"] #history-view :is(th,td):last-child{width:19%}
body[data-player-layout="violet-lounge"] #history-view .order-actions>*{white-space:normal}
@media(max-width:1000px){body[data-player-layout="violet-lounge"] #player-nav>:is(a,button){font-size:11px}body[data-player-layout="violet-lounge"] #flyxwin-support{--support-clearance:calc(90px + env(safe-area-inset-bottom,0px))!important}}
@media(max-width:600px){body[data-player-layout="violet-lounge"] #games-home .vl-hero{height:212px;border-radius:32px 32px 62px 32px}.vl-hero .vl-hero-default .vl-hero-content{padding:27px 18px;width:76%}.vl-hero .vl-hero-default h1{font-size:27px;line-height:1.1;margin:12px 0;letter-spacing:-1px}.vl-hero .vl-hero-default p{font-size:11px;max-width:172px;line-height:1.6}.vl-hero .vl-hero-default .vl-hero-art{right:-18px;max-width:none;width:318px;height:100%;aspect-ratio:auto;mask-image:linear-gradient(90deg,transparent,#000 55%)}.vl-hero .vl-hero-default .vl-hero-art img{object-fit:contain}.vl-hero .vl-banner-prev,.vl-hero .vl-banner-next{opacity:0;pointer-events:none}.vl-hero .vl-banner-prev:focus-visible,.vl-hero .vl-banner-next:focus-visible{opacity:1;pointer-events:auto}body[data-player-layout="violet-lounge"] .vl-hero .vl-banner-pause{right:10px;top:10px}.vl-hero .vl-banner-count{left:20px;bottom:16px;font-size:10px}body[data-player-layout="violet-lounge"] .vl-hero .vl-explore{width:82px;height:82px;bottom:-34px;border-width:7px}body[data-player-layout="violet-lounge"] .vl-hero .vl-explore span{font-size:11px}body[data-player-layout="violet-lounge"] #games-home>.vl-games{margin-top:52px}body[data-player-layout="violet-lounge"] #games-home .game-catalogue{gap:12px}body[data-player-layout="violet-lounge"] #games-home .game-tile{min-height:240px}body[data-player-layout="violet-lounge"] #games-home .game-tile .game-tile-copy{padding:96px 12px 12px}body[data-player-layout="violet-lounge"] #games-home .game-tile h2{font-size:17px}body[data-player-layout="violet-lounge"] #history-view :is(th,td):first-child,body[data-player-layout="violet-lounge"] #history-view :is(th,td):last-child{width:auto}body[data-player-layout="violet-lounge"] #history-view table{table-layout:auto}body[data-player-layout="violet-lounge"] #history-view td{padding:10px 12px}body[data-player-layout="violet-lounge"] #history-view td:nth-child(3){text-align:right}}
@media(max-width:350px){.vl-hero .vl-hero-default h1{font-size:23px}.vl-hero .vl-hero-default .vl-hero-content{padding:26px 15px;width:80%}.vl-hero .vl-hero-default p{font-size:10px;max-width:155px}.vl-hero .vl-hero-default .vl-hero-art{right:-32px}}
body[data-player-layout="violet-lounge"] #games-home .vl-view-all{background:transparent;color:#e3d2ff!important;border:0;font-size:12px}@media(max-width:600px){.vl-hero .vl-desktop-break{display:none}.vl-hero .vl-hero-default p{max-width:190px}}

body[data-player-layout="violet-lounge"] #home-view .pending-payment-card{padding:18px;margin:14px 0;border:1px solid #544371;border-radius:16px;background:#19123d;overflow-wrap:anywhere}body[data-player-layout="violet-lounge"] #home-view .pending-payment-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px}body[data-player-layout="violet-lounge"] #home-view .pending-payment-card dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}

/* Existing Home game cards are single navigation targets; no separate CTA. */
body[data-player-layout="violet-lounge"] #games-home .game-navigation-card{min-height:220px}
body[data-player-layout="violet-lounge"] #games-home .game-navigation-card .game-tile-copy{min-height:0}
body[data-player-layout="violet-lounge"] #games-home .game-navigation-card p{margin-bottom:0}
#games-home .game-navigation-card:focus-visible{outline:3px solid #b8a4ff;outline-offset:3px}
#games-home .game-navigation-card:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){#games-home .game-navigation-card,#games-home .game-navigation-card .vl-game-art{transition:none!important;transform:none!important}}
body[data-player-layout="violet-lounge"] #games-home .game-catalogue{grid-auto-rows:1fr}

@media(max-width:600px){body[data-player-layout="violet-lounge"] #games-home .game-catalogue{display:flex;align-items:stretch;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:4px;padding:4px 4px 10px;gap:12px;max-width:100%;box-sizing:border-box}body[data-player-layout="violet-lounge"] #games-home .game-catalogue>.game-tile{flex:0 0 52%;scroll-snap-align:start;min-height:220px}}
@media(max-width:600px){body[data-player-layout="violet-lounge"] #games-home .game-catalogue:focus-within{scroll-snap-type:none}}

/* Approved lobby artwork retains the existing card geometry and availability. */
/* Keep illustrated game names readable when shared heading styles use dark ink. */
body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]) h2{color:#f3ecff!important;text-shadow:0 1px 2px #0d0924bf}
#games-home .game-tile:is([data-game="plinko"],[data-game="aviator"]):focus-visible{outline:3px solid #b8a4ff;outline-offset:3px}
body[data-player-layout="violet-lounge"] #games-home .game-tile:is([data-game="plinko"],[data-game="aviator"]) .game-tile-copy{padding-top:154px}
@media(max-width:600px){body[data-player-layout="violet-lounge"] #games-home .game-tile:is([data-game="plinko"],[data-game="aviator"]) .game-tile-copy{padding-top:140px}}

/* Name-only lobby cards; catalogue availability/status messages remain separate. */
body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]) .game-tile-copy > :is(.game-card-eyebrow,p:not([role]):not([aria-live]):not([data-game-status])){display:none}
body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]){min-height:200px}
body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]) .game-tile-copy{padding-top:140px;gap:0}
body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]) h2{margin-bottom:0}
@media(max-width:600px){body[data-player-layout="violet-lounge"] #games-home .game-catalogue .game-tile:is([data-game="plinko"],[data-game="aviator"],[data-game="tron-rounds"],[data-game="colour"],[data-game="odd-even"]) .game-tile-copy{padding-top:128px}}

