/* 10.0: one mechanical instrument, five fixed world finishes. */
body[data-room] .shared-masthead .brand,
body[data-room] .shared-masthead .brand>span{color:#e7c77f!important;-webkit-text-fill-color:#e7c77f;background:none;font-weight:500;text-shadow:0 1px 7px #0008}
body[data-room] .shared-masthead .brand>span{display:inline!important}

body[data-room] .world-selector{margin:4px auto}
body[data-room] .room-switch{width:min(620px,100%);padding:2px;gap:2px;border:1px solid #c8b58760;border-radius:999px;background:#060e16e8}
body[data-room] .room-switch button{height:32px;min-height:32px;padding:3px 8px;flex-direction:row;gap:7px;border-radius:999px;background:transparent}
body[data-room] .room-switch button .room-name,
body[data-room] .room-switch #room-abyss .room-name,
body[data-room] .room-switch #room-star .room-name{font:500 12px/1.2 'Manrope',sans-serif;letter-spacing:0;text-transform:none;font-style:normal;color:#c6c9c8;white-space:nowrap}
body[data-room] .room-switch button::before{opacity:.12!important;filter:brightness(.6)}
body[data-room] .room-switch button::after{background:linear-gradient(90deg,#050b10a0,#050b10c0)}
body[data-room] .room-switch #room-gold{--card-accent:#e7c77f;--card-rgb:231,199,127}
body[data-room] .room-switch #room-blue{--card-accent:#67d4f0;--card-rgb:103,212,240}
body[data-room] .room-switch #room-red{--card-accent:#f35b77;--card-rgb:243,91,119}
body[data-room] .room-switch #room-abyss{--card-accent:#245eda;--card-rgb:36,94,218}
body[data-room] .room-switch #room-star{--card-accent:#bd92ff;--card-rgb:189,146,255}
.room-dot{display:block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--card-accent);box-shadow:0 0 8px rgba(var(--card-rgb),.42)}
body[data-room] .room-switch button[aria-pressed=true]{border-color:rgba(var(--card-rgb),.75);background:rgba(var(--card-rgb),.11);box-shadow:inset 0 1px #ffffff25,0 0 10px rgba(var(--card-rgb),.08)}
body[data-room] .room-switch button[aria-pressed=true] .room-name{color:#f6efdf}
body[data-room] .room-switch button[aria-pressed=true]::before{opacity:.22!important}

/* No room-specific row, width, clipping or movement scale. */
body[data-room] .reels{--capsule-top:.42;--capsule-bottom:.38;--capsule-height:3.8;--capsule-width:4.486;--reel-height-factor:3.8;--reel-width-factor:var(--reference-width);width:calc(var(--row)*var(--reference-width));gap:calc(var(--row)*var(--reference-gap));overflow:visible}
body[data-room] .reels .reel,.duel-instrument .reel{height:calc(var(--row)*3.8);padding:calc(var(--row)*.42) 0 calc(var(--row)*.38);grid-template-rows:repeat(3,var(--row));min-width:0;overflow:visible}
body[data-room] .reels .symbol .symbol-art,
body[data-room] .reels .symbol.center .symbol-art,
body[data-room] .reels .strip-cell .symbol-art,
.duel-instrument .symbol .symbol-art,.duel-instrument .strip-cell .symbol-art{width:calc(var(--row)*.94);height:calc(var(--row)*.94);max-width:76%!important;transform:none;transition:none}
body[data-room] .reels .reel-motion-window,.duel-instrument .reel-motion-window{clip-path:inset(11.052632% 12% 10% 12% round 12% / 3%);-webkit-clip-path:inset(11.052632% 12% 10% 12% round 12% / 3%);overflow:hidden;contain:paint}
body[data-room] .reels .reel::before,.duel-instrument .reel::before{inset:11.052632% 14% 10%}
.capsule-shell{display:none;position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;filter:var(--capsule-filter,none)}
body[data-room][data-capsule=gold] .reel>.capsule-shell,body[data-room][data-capsule=blue] .reel>.capsule-shell,body[data-room][data-capsule=red] .reel>.capsule-shell,body[data-room][data-capsule=abyss] .reel>.capsule-shell,body[data-room][data-capsule=star] .reel>.capsule-shell{display:block}
body[data-room][data-capsule=gold] .reel::after,body[data-room][data-capsule=blue] .reel::after,body[data-room][data-capsule=red] .reel::after,body[data-room][data-capsule=abyss] .reel::after,body[data-room][data-capsule=star] .reel::after{display:none!important;content:none!important}
.skin-preview{position:relative}.skin-preview>.capsule-shell{display:block;filter:none}
.signature-world{display:block;margin-top:12px;font-size:11px;letter-spacing:.08em;color:#e7c77f}
.duel-player .capsule-shell{filter:var(--capsule-filter,none) drop-shadow(0 0 3px rgba(var(--team-rgb),.38))}

/* The line and Resonance traces inherit the actual reel width, not the console. */
body[data-room] .reel-area,body[data-room].cinema-mode .reel-area{width:max-content;max-width:100%;margin:0 auto;padding:0}
body[data-room] .reel-area>.crystal-payline{left:0;right:0;width:auto;top:50.526316%;height:9px;filter:drop-shadow(0 0 3px var(--crystal-aura))}
body[data-room] .crystal-payline span{height:1px;background:linear-gradient(90deg,var(--crystal-metal),#fff7dd 18%,#fff2c87a 50%,#fff7dd 82%,var(--crystal-metal));box-shadow:0 0 4px var(--crystal-aura)}
body[data-room] .crystal-payline i{width:5px;height:5px;border:1px solid var(--crystal-light);background:#fff5cb3b;box-shadow:0 0 4px var(--crystal-aura)}
body[data-room] .resonance-links{left:0;right:0;width:100%;top:11.052632%;bottom:10%;height:78.947368%}
@media(max-width:650px){
 body[data-room] .room-switch{gap:0;padding:2px}
 body[data-room] .room-switch button{height:29px;min-height:29px;padding:2px 1px;gap:3px}
 body[data-room] .room-switch button .room-name,body[data-room] .room-switch #room-abyss .room-name,body[data-room] .room-switch #room-star .room-name{font-size:8px}
 .room-dot{width:5px;height:5px}
 body[data-room] .reels{--reference-width:3.72;--reference-gap:.07}
}

body[data-frame-error=gold][data-capsule=gold] .reel::after{display:block}
body[data-frame-error=gold][data-capsule=gold] .reel>.capsule-shell{display:none}

body[data-frame-error=blue][data-capsule=blue] .reel::after{display:block}
body[data-frame-error=blue][data-capsule=blue] .reel>.capsule-shell{display:none}

body[data-frame-error=red][data-capsule=red] .reel::after{display:block}
body[data-frame-error=red][data-capsule=red] .reel>.capsule-shell{display:none}

body[data-frame-error=abyss][data-capsule=abyss] .reel::after{display:block}
body[data-frame-error=abyss][data-capsule=abyss] .reel>.capsule-shell{display:none}

body[data-frame-error=star][data-capsule=star] .reel::after{display:block}
body[data-frame-error=star][data-capsule=star] .reel>.capsule-shell{display:none}

body[data-room][data-frame-error=gold][data-capsule=gold] .reels .reel::after{display:block!important;content:""!important}

body[data-room][data-frame-error=blue][data-capsule=blue] .reels .reel::after{display:block!important;content:""!important}

body[data-room][data-frame-error=red][data-capsule=red] .reels .reel::after{display:block!important;content:""!important}

body[data-room][data-frame-error=abyss][data-capsule=abyss] .reels .reel::after{display:block!important;content:""!important}

body[data-room][data-frame-error=star][data-capsule=star] .reels .reel::after{display:block!important;content:""!important}
