/* Staging V2: black surfaces and high-contrast neutral text; artwork retains color. */
html.arcade-v2{color-scheme:dark;background:#000000;color:#ffffff;--accent:#fff;--muted:#e0e0e0}
.arcade-v2 body{background:#000000}
.arcade-v2 button:focus-visible,.arcade-v2 a:focus-visible,.arcade-v2 input:focus-visible,.arcade-v2 select:focus-visible{outline:2px solid #ffffff;outline-offset:4px}
.arcade-v2 .v2-entrance{background:#000000;min-height:560px}
.arcade-v2 .v2-entrance:after{background:linear-gradient(90deg,#000000ad 0%,#00000028 45%,transparent 70%),linear-gradient(0deg,#000000e6,transparent 28%)}
.arcade-v2 .v2-entrance-content{align-items:flex-start;justify-content:space-between;padding:clamp(40px,9vh,100px) clamp(24px,6vw,104px) max(42px,env(safe-area-inset-bottom))}
.arcade-v2 .v2-entrance h1{font-family:var(--ui-font);font-size:clamp(64px,8vw,124px);font-weight:850;letter-spacing:-.065em;line-height:.9;margin:0;color:#ffffff}
.arcade-v2 .v2-entrance .arrival-hero-actions{align-items:flex-start;gap:9px}
.arcade-v2 .v2-entrance .arrival-primary{background:#e0e0e0;color:#fff;border:1px solid #ffffff;border-radius:4px;min-width:224px;box-shadow:none;margin:0}
.arcade-v2 .v2-entrance .arrival-disclaimer-trigger{color:#e0e0e0;background:none;font-size:11px;padding:10px 0;text-shadow:none;font-weight:400}
.arcade-v2 .arrival-name{background:#000000;min-height:100dvh;padding:24px 20px!important}
.arcade-v2 .arrival-name .onboarding-scene{display:block;filter:saturate(.55)}
.arcade-v2 .arrival-name:before{background:linear-gradient(#000000b8,#000000e8)}
.arcade-v2 .name-sheet{width:min(100%,360px);padding:20px 24px 24px;background:#141414f5;color:#ffffff;transform:none;border:1px solid #333333;border-radius:10px;box-shadow:0 24px 100px #0008;min-height:0}
.arcade-v2 .name-sheet:before{display:none}
.arcade-v2 .name-sheet .arrival-back{margin:-4px 0 8px -8px;color:#e0e0e0}
.arcade-v2 .name-sheet form{margin:0;gap:16px}
.arcade-v2 .name-label{font-size:13px;color:#e0e0e0;margin-bottom:-8px}
.arcade-v2 .arrival-name input{font-size:16px;min-height:48px;padding:12px;background:#141414;border:1px solid #525252;border-radius:5px;color:#eee}
.arcade-v2 .arrival-name .country-picker{margin:0}
.arcade-v2 .arrival-name .country-picker select{border-radius:5px}
.arcade-v2 .arrival-name .arrival-primary{margin:4px 0 0;min-height:48px;font-size:15px;padding:12px 16px}
.arcade-v2 .arrival-name [role=status]{margin:0;font-size:13px;line-height:1.4}
.arcade-v2 .arrival-name [role=status]:empty{display:none}
.arcade-v2 .country-picker>span{color:#e0e0e0}
.arcade-v2 .country-picker select{background:#141414;border-color:#525252}
.arcade-v2 .arrival-primary{border-radius:5px;background:#e0e0e0;color:#fff}
.arcade-v2 .arrival-avatars{background:radial-gradient(ellipse at 50% 42%,#333333,#000000);color:#eee}
.arcade-v2 .preset-option{mix-blend-mode:normal;background:#ffffff;border-radius:5px;padding:5px;border-bottom:4px solid transparent}
.arcade-v2 .preset-option[aria-pressed=true]{border-bottom-color:#ffffff}
.arcade-v2 [role=status]{color:#e0e0e0}
.arcade-v2 .arrival-restaurant.v2-browser{height:100dvh;overflow:auto;background:#000000;color:#ffffff;padding:0;scrollbar-color:#525252 #000000}
.v2-browser *{box-sizing:border-box}
.arcade-v2 .v2-header{display:flex;position:sticky;top:0;z-index:4;max-width:none;align-items:center;gap:36px;padding:20px clamp(20px,5vw,80px);border-bottom:1px solid #ffffff10;background:#000000f5;backdrop-filter:blur(16px)}
.v2-wordmark{display:flex;flex-direction:column;font-size:18px;letter-spacing:-.06em;font-weight:850;color:#ffffff;text-decoration:none;line-height:1.1;white-space:nowrap}
.v2-tabs{display:flex;align-self:stretch;gap:28px;margin:0 auto 0 40px;align-items:center}
.v2-tabs a{display:flex;gap:8px;align-items:center;position:relative;color:#e0e0e0;text-decoration:none;font-size:13px;letter-spacing:0;font-weight:600;min-height:44px}
.v2-tabs a[aria-current=page]{color:#ffffff}
.v2-tabs a[aria-current=page]:after{content:'';position:absolute;bottom:-21px;left:0;right:0;height:2px;background:#ffffff}
.v2-tabs i{display:block;width:6px;height:6px;border-radius:50%;background:#e0e0e0}
.arcade-v2 .v2-profile{display:flex;gap:9px;align-items:center;background:none;border:1px solid #333333;border-radius:5px;padding:5px 12px;font-size:12px;min-height:42px;max-width:190px}
.v2-profile .profile-portrait{width:29px;height:29px}
.v2-profile>span:last-child:not(.profile-portrait){max-width:100px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.v2-content{max-width:1540px;margin:0 auto;padding:52px clamp(20px,5vw,80px) 90px}
.v2-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.arcade-v2 .v2-section-heading h1{font-size:clamp(32px,4vw,50px);line-height:1.1;letter-spacing:-.05em;color:#ffffff;margin:0}
.v2-edition{font-size:9px;letter-spacing:.14em;color:#e0e0e0;border:1px solid #333333;border-radius:3px;padding:8px;white-space:nowrap}
.v2-browser[data-artwork-style=original] .v2-card-art img{object-position:var(--original-art-position,center)}
@media(max-width:600px){.arcade-v2 .v2-section-heading{flex-wrap:wrap;align-items:center;gap:16px}}
.v2-filters{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.v2-search{width:310px;max-width:50%;display:block}
.arcade-v2 .v2-filters input,.arcade-v2 .v2-filters select{background:#141414;border:1px solid #333333;color:#ffffff;border-radius:5px;min-height:44px;font:inherit;font-size:12px;padding:10px 14px;width:100%}
.v2-genre{max-width:44%}
.v2-count{margin-left:auto;color:#e0e0e0;font-size:11px;white-space:nowrap}
.v2-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.v2-card{min-width:0;background:#141414;border:1px solid #ffffff0b;border-radius:8px;overflow:hidden}
.arcade-v2 .v2-card-open{display:block;width:100%;height:100%;padding:0;text-align:left;background:transparent;color:inherit;border:0;border-radius:0;font-weight:400;transition:background .15s}
.v2-card:hover{border-color:#525252}
.arcade-v2 .v2-card-open:hover{background:#141414}
.v2-card-art{position:relative;aspect-ratio:16/10;overflow:hidden;background:#141414}
.v2-card-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%;transition:transform .2s}
.v2-card-open:hover img{transform:scale(1.025)}
.v2-card-body{padding:20px}
.v2-card-genre{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#e0e0e0;margin:0 0 9px}
.arcade-v2 .v2-card h2{font-family:var(--ui-font);font-size:19px;letter-spacing:-.03em;line-height:1.25;min-height:48px;color:#ffffff;margin:0 0 12px;font-weight:650}
.v2-card-meta{font-size:11px;line-height:1.5;color:#e0e0e0;min-height:17px;margin:0;overflow-wrap:anywhere}
.v2-card-meta:empty{display:none}
.v2-card-action{display:block;color:#e0e0e0;font-size:11px;font-weight:650;border-top:1px solid #ffffff0c;padding-top:14px;margin-top:16px}
.v2-live-badge{position:absolute;top:12px;left:12px;background:#e0e0e0e8;color:white;padding:6px 8px;border-radius:3px;font-size:9px;letter-spacing:.06em;font-weight:750}
.v2-art-label{position:absolute;bottom:8px;right:8px;background:#000000b3;padding:4px 7px;font-size:9px;color:#e0e0e0}
.v2-empty{text-align:center;padding:72px 20px;border:1px dashed #525252;border-radius:8px;background:radial-gradient(ellipse at center,#141414,#141414)}
.arcade-v2 .v2-empty h2{font:650 30px/1.2 var(--ui-font);letter-spacing:-.04em;margin:0 0 12px}
.v2-empty p{color:#e0e0e0;font-size:14px;line-height:1.6;max-width:430px;margin:0 auto 24px}
.arcade-v2 .v2-empty button{border-radius:4px;border:1px solid #525252;background:#e0e0e0;color:white;font-size:13px}
.arcade-v2 .v2-refresh-status{font-size:12px;color:#e0e0e0;margin:0 0 16px}
.arcade-v2 .v2-refresh-status:empty{display:none}
.arcade-v2 .v2-game-dialog{background:#141414f5;border:1px solid #525252;color:#eee;border-radius:10px;padding:24px;box-shadow:0 20px 100px #000b}
.arcade-v2 .v2-game-dialog::backdrop{background:#000000c9;backdrop-filter:blur(5px)}
.arcade-v2 .v2-game-dialog button{border-color:#525252;color:#ffffff;background:#333333;border-radius:5px}
.arcade-v2 .v2-game-dialog .dn-actions button:first-child{background:#e0e0e0;border-color:#e0e0e0;color:white}
.arcade-v2 .v2-game-dialog .dn-reason,.arcade-v2 .v2-game-details>p{font-size:13px;color:#e0e0e0;line-height:1.65}
.arcade-v2 .v2-game-dialog .dn-roster{font-size:13px;color:#e0e0e0}
.arcade-v2 .feedback-launcher,.arcade-v2 .lobby-music button{background:#141414;color:#e0e0e0;border-color:#525252;border-radius:6px;font-size:11px;box-shadow:none}
.arcade-v2 .game-toolbar{background:#000000ec;border-bottom:1px solid #ffffff12}
.arcade-v2 .game-toolbar button{border-radius:5px;border-color:#ffffff24;color:#ffffff}
.arcade-v2 .game-toolbar .game-controller-toggle,.arcade-v2 .game-toolbar .game-audio-toggle{display:grid;place-items:center;position:relative;width:44px;height:44px;min-height:44px;min-width:44px;padding:0}
.arcade-v2 .game-controller-toggle[data-controller-state=connected]:after{position:absolute;top:3px;right:3px;margin:0}
.arcade-v2 .lobby-music{border-radius:6px;background:#141414;color:#e0e0e0;border-color:#525252;box-shadow:none}
.arcade-v2 .v2-card-open:disabled{opacity:.7;cursor:default}
.game-controller-toggle svg,.game-audio-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.arcade-v2 .game-controller-dialog{background:#141414;color:#ffffff;border:1px solid #525252;border-radius:10px}
.arcade-v2 .game-controller-dialog h3{font-size:17px;margin:24px 0 8px}.arcade-v2 .game-controller-dialog p{color:#e0e0e0;font-size:13px}
.game-mapping-grid{display:grid;gap:9px;margin:18px 0}.game-mapping-row{display:grid;grid-template-columns:1fr 105px 130px;gap:10px;align-items:center;font-size:12px}.game-mapping-row select,.game-mapping-row button{font:inherit;min-height:40px;padding:6px!important;min-width:0!important;border-radius:4px!important;background:#333333!important;color:#ffffff!important;border:1px solid #525252!important}.game-mapping-help{font-size:12px;color:#e0e0e0}.arcade-v2 .game-controller-dialog .rollback-details{width:100%;margin:20px 0 0;max-width:none}
.v2-browser[data-browse-layout=rows] .v2-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.arcade-v2 .v2-browser[data-browse-layout=rows] .v2-card-open{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);align-items:stretch}
.v2-browser[data-browse-layout=rows] .v2-card-art{aspect-ratio:16/10}
.v2-browser[data-browse-layout=rows] .v2-card-body{display:flex;flex-direction:column;justify-content:center;padding:clamp(20px,3vw,44px)}
.arcade-v2 .v2-browser[data-browse-layout=rows] .v2-card h2{font-size:clamp(22px,2.6vw,36px);min-height:0;margin-bottom:20px}
.v2-browser[data-browse-layout=rows] .v2-card-genre{min-height:0;font-size:10px}
.v2-browser[data-browse-layout=rows] .v2-card-meta{min-height:0;font-size:12px}
@media(max-width:600px){.arcade-v2 .v2-browser[data-browse-layout=rows] .v2-card-open{grid-template-columns:minmax(0,1fr)}.v2-browser[data-browse-layout=rows] .v2-card-body{padding:20px}.arcade-v2 .v2-browser[data-browse-layout=rows] .v2-card h2{font-size:22px;margin-bottom:12px}}
@media(max-width:1000px){.v2-tabs{margin-left:12px;gap:20px}.v2-content{padding-top:36px}.v2-edition{display:none}}
@media(max-width:600px){.arcade-v2 .v2-header{padding:14px 18px;gap:12px;flex-wrap:wrap}.v2-wordmark{font-size:17px}.v2-tabs{order:3;flex-basis:100%;margin:0;gap:28px}.v2-tabs a[aria-current=page]:after{bottom:-14px}.arcade-v2 .v2-profile{margin-left:auto}.v2-content{padding:32px 16px 90px}.v2-grid{gap:12px}.v2-card-body{padding:12px}.arcade-v2 .v2-card h2{font-size:15px;min-height:57px}.v2-card-genre{font-size:8px;letter-spacing:.03em;min-height:20px}.v2-card-meta{font-size:10px;min-height:30px}.v2-card-art{aspect-ratio:4/3}.v2-count{display:none}.v2-search{width:60%;max-width:none}.v2-genre{width:40%;max-width:none}.v2-card-action{font-size:10px}.arcade-v2 .v2-entrance-content{padding:48px 25px max(30px,env(safe-area-inset-bottom));align-items:center}.arcade-v2 .v2-entrance-title{text-align:center}.arcade-v2 .v2-entrance h1{font-size:67px}.arcade-v2 .v2-entrance .arrival-hero-actions{align-items:center}.arcade-v2 .v2-entrance:after{background:linear-gradient(180deg,#00000068,transparent 35%,transparent 70%,#000000bd)}.v2-live-badge{font-size:8px;left:8px;top:8px}.v2-art-label{font-size:8px}.arcade-v2 .name-sheet{padding:20px 28px}.game-mapping-row{grid-template-columns:1fr 85px 100px;gap:6px}}
@media(prefers-reduced-motion:reduce){.v2-card-open,.v2-card-art img{transition:none!important}.v2-card-open:hover img{transform:none}}

/* Carry the same palette through shared dialogs, settings and game chrome. */
.arcade-v2 .v2-settings-toggle{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex-shrink:0;padding:0;border:1px solid #525252;border-radius:5px;background:#141414;color:#fff}
.v2-settings-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.arcade-v2 .v2-settings-dialog{width:min(380px,calc(100vw - 32px));padding:24px;border:1px solid #525252;border-radius:10px;background:#0b0b0b;color:#fff}
.v2-settings-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}
.v2-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.v2-settings-heading h2{margin:0;font:650 24px/1.2 var(--ui-font)}
.arcade-v2 .v2-settings-heading button{width:44px;height:44px;min-height:44px;padding:0;font-size:26px;border:0;background:transparent}
.v2-artwork-option{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;cursor:pointer;font-size:16px}
.arcade-v2 .v2-artwork-option input{width:22px;height:22px;min-height:22px;flex-shrink:0;margin:0;padding:0;accent-color:#fff;cursor:pointer}
.arcade-v2 button,.arcade-v2 input,.arcade-v2 select,.arcade-v2 textarea{background-color:#141414;color:#fff;border-color:#525252;box-shadow:none}
.arcade-v2 input::placeholder,.arcade-v2 textarea::placeholder{color:#ccc;opacity:1}
.arcade-v2 .arrival-primary,.arcade-v2 .v2-entrance .arrival-primary,.arcade-v2 .v2-game-dialog .dn-actions button:first-child,.arcade-v2 .v2-empty button,.arcade-v2 .feedback-submit{background:#fff;color:#000;border-color:#fff}
.arcade-v2 .v2-live-badge{background:#b42332;color:#fff}
.arcade-v2 .feedback-dialog,.arcade-v2 .disclaimer-dialog,.arcade-v2 .game-removal-dialog{background:#0b0b0b;color:#fff;border-color:#525252}
.arcade-v2 .feedback-heading,.arcade-v2 .disclaimer-heading{background:#141414;border-color:#525252}
.arcade-v2 .feedback-heading h2,.arcade-v2 .disclaimer-heading h2{font-family:var(--ui-font);font-weight:650}
.arcade-v2 .feedback-form label span,.arcade-v2 .feedback-availability,.arcade-v2 .feedback-result,.arcade-v2 .disclaimer-kicker,.arcade-v2 .disclaimer-lede,.arcade-v2 .disclaimer-footnote,.arcade-v2 .disclaimer-body a{color:#e0e0e0}
.arcade-v2 .feedback-result:not(:empty),.arcade-v2 .disclaimer-credits li{background:#141414;color:#fff;border-color:#525252}
.arcade-v2 .disclaimer-footnote{border-color:#525252}
.arcade-v2 .feedback-dialog::backdrop,.arcade-v2 .disclaimer-dialog::backdrop{background:#000c}
.arcade-v2 .game-experience{background:#000;color:#fff;--accent:#fff}
.arcade-v2 .game-peer-status,.arcade-v2 .restaurant-chat,.arcade-v2 .rollback-details{background:#0b0b0bf5;color:#fff;border-color:#525252}
.arcade-v2 .restaurant-messages strong,.arcade-v2 .restaurant-messages p,.arcade-v2 .restaurant-chat-close,.arcade-v2 .restaurant-chat-form input,.arcade-v2 .game-controller-close{color:#fff}
.arcade-v2 .restaurant-chat-form input{background:#141414;border-color:#525252}
.arcade-v2 .restaurant-chat-form button{background:#fff;color:#000}
.arcade-v2 .game-peer-ping,.arcade-v2 .game-status,.arcade-v2 .chat-log strong{color:#e0e0e0}
