/* The page and its glass share one continuous optical environment. */
body::before,body[data-composition=mobile]::before,.scene::after,.light-field{display:none!important}
canvas.atmosphere-canvas{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;mask:none!important;-webkit-mask:none!important;touch-action:auto}
.scene canvas.world-canvas{position:absolute;inset:0;z-index:1}
.header,body[data-composition=mobile] .brand,.menu summary,.menu nav,.button,.journey,.journey button,.mobile-preferences button{background-image:radial-gradient(ellipse 100% 130% at var(--surface-x) var(--surface-y),rgb(255 213 155 / calc(var(--surface-heat)*.18)),transparent 100%),linear-gradient(135deg,#ffffff0d,#11111136 58%,#ffffff05);box-shadow:inset 0 1px rgb(255 227 188 / calc(.12 + var(--surface-heat)*.45)),inset 0 -1px #00000035,0 10px 28px #00000017}
.menu nav{background-color:#191919ed}
@media(forced-colors:active){.header,body[data-composition=mobile] .brand,.menu summary,.menu nav,.button,.journey,.journey button{background:Canvas;box-shadow:none}}

.graphics-fallback .atmosphere-canvas{display:none}
@media(prefers-contrast:more){.header,body[data-composition=mobile] .brand,.menu summary,.menu nav,.button,.journey,.journey button,.cord-knob{border-color:var(--glass-rim,#dddddd)}}

/* A fixed editorial plane sits in front of the voyage, below its controls. */
body::after{content:'';position:fixed;inset:0 var(--gutter);z-index:8;pointer-events:none;--grid-line:rgb(232 232 232 / .045);border-inline:1px solid var(--grid-line);background-image:linear-gradient(to right,var(--grid-line) 1px,transparent 1px),linear-gradient(to bottom,var(--grid-line) 1px,transparent 1px);background-size:calc(100% / 3) 100%,100% calc(100% / 3);background-position:-1px 0,0 -1px;background-repeat:repeat}
body[data-composition=mobile]::after{display:none}
@media(prefers-contrast:more),(forced-colors:active){body::after{display:none}}

/* Artwork and type share the page without a masked mobile partition. */
.scene canvas.world-canvas{pointer-events:none}
body.cinema-ready[data-composition=mobile] .scene{z-index:1}
body.cinema-ready[data-composition=mobile] .scene canvas.world-canvas{mask:none;-webkit-mask:none;clip-path:none}
.cinema-ready .beat{touch-action:pan-y pinch-zoom}

@media(forced-colors:active){.atmosphere-canvas{display:none!important}}

.world-burst{position:fixed;inset:0;z-index:1;pointer-events:none}.world-burst[hidden]{display:none}

/* Native slots retain full artwork between animation frames and browser swipes. */
.native-art{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
body.native-art-active .native-art{display:block}
body.native-art-active .scene{opacity:0;pointer-events:none}

/* One native background extends with the document beneath Safari's translucent UI. */
body[data-composition=mobile]:not(.reading-view){background-color:#211f1a;background-image:linear-gradient(to right,#e8e8e80b 1px,transparent 1px),linear-gradient(to bottom,#e8e8e80b 1px,transparent 1px),radial-gradient(ellipse 100% 65% at 68% 50%,#ffca7924,transparent),linear-gradient(#211f1afc,#211f1afc),url('brand-field.png');background-size:50% 100%,100% calc(var(--viewport-height)/3),100% var(--viewport-height),100% 100%,1270px 635px;background-repeat:repeat,repeat,repeat-y,no-repeat,repeat;background-attachment:scroll}
body[data-composition=mobile] .atmosphere-canvas{position:absolute;visibility:hidden}

/* Inline renderer dimensions must not expand the layout viewport during a width change. */
.scene canvas.world-canvas,canvas.atmosphere-canvas,.world-burst{max-width:100%}
