/* Shared fullscreen entry and a persistent, high-contrast exit control. */
html body .realm-corner-control{position:fixed!important;inset:auto!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-sizing:border-box!important;width:154px!important;min-width:154px!important;max-width:calc(100vw - 16px)!important;height:46px!important;min-height:46px!important;padding:8px 10px!important;border:2px solid #f1e7d1!important;border-radius:9px!important;background:#102331f5!important;color:#fff!important;box-shadow:0 3px 15px #0009!important;font:700 13px/1.25 system-ui,Arial,sans-serif!important;text-shadow:none!important;letter-spacing:0!important;touch-action:manipulation!important;cursor:pointer!important;opacity:1!important;transform:none!important;animation:none!important;pointer-events:auto!important}
html body .realm-corner-control:focus-visible{outline:3px solid #8ad8ff!important;outline-offset:3px!important}
.realm-corner-control svg{width:18px!important;height:18px!important;flex:none;fill:none;stroke:currentColor;stroke-width:2}
@media(pointer:coarse){html body.rr-separated-controls{--padS:184px;--padb:60px;--padi:7px;--padL:max(16px,env(safe-area-inset-left));--padR:max(16px,env(safe-area-inset-right));--padB:max(16px,env(safe-area-inset-bottom))}
html body.rr-separated-controls #touch::before{content:'';position:fixed;left:var(--padL)!important;bottom:var(--padB)!important;width:var(--padS)!important;height:var(--padS)!important;border:2px solid #dfbf7c;border-radius:50%;background:radial-gradient(circle,#30121b88,#100a1555);box-shadow:inset 0 0 0 6px #ddbd7a33;pointer-events:none}
html body.rr-separated-controls .rr-touch>div:first-child{transform:none!important}
html body.rr-separated-controls :is(#bL,#bR,#bJ,.ex-tools .ex-tool){position:fixed!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:2px solid #dfbf7c!important;background:radial-gradient(circle at 40% 30%,#902b43,#450f21)!important;color:#ffefca!important;box-shadow:inset 0 0 0 3px #24111bcc,0 4px 12px #0006!important;min-width:0!important;min-height:0!important;font-size:0!important;line-height:1!important;overflow:hidden;top:auto!important}
html body.rr-separated-controls :is(#bL,#bR,.ex-tools .ex-tool:nth-child(1),.ex-tools .ex-tool:nth-child(2)){width:60px!important;height:60px!important;right:auto!important}
html body.rr-separated-controls #bL{left:calc(var(--padL) + 7px)!important;bottom:calc(var(--padB) + 62px)!important}
html body.rr-separated-controls #bR{left:calc(var(--padL) + 117px)!important;bottom:calc(var(--padB) + 62px)!important}
html body.rr-separated-controls .ex-tools{position:fixed!important;inset:0!important;transform:none!important;pointer-events:none!important;display:block!important}
html body.rr-separated-controls .ex-tools .ex-tool{pointer-events:auto!important}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1){left:calc(var(--padL) + 62px)!important;bottom:calc(var(--padB) + 117px)!important}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2){left:calc(var(--padL) + 62px)!important;bottom:calc(var(--padB) + 7px)!important}
html body.rr-separated-controls .ex-tools .ex-tool>*{display:none!important}
html body.rr-separated-controls :is(#bL,#bR,#bJ,.ex-tools .ex-tool)::before{content:'';display:block!important;position:absolute!important;left:50%!important;top:40%!important;transform:translate(-50%,-50%)!important;width:28px!important;height:28px!important;background:center/contain no-repeat;pointer-events:none}
html body.rr-separated-controls #bL::before{content:'◀';font:700 24px/28px system-ui;top:50%!important;color:#ffedc3}
html body.rr-separated-controls #bR::before{content:'▶';font:700 24px/28px system-ui;top:50%!important;color:#ffedc3}
html body.rr-separated-controls :is(.ex-tools .ex-tool,#bJ)::after{position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:10px!important;text-align:center;font:700 9px/1 system-ui!important;color:#fff0cd;text-transform:uppercase;letter-spacing:.04em;display:block!important;pointer-events:none}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1)::after{content:'Dash'}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2)::after{content:'Echo'}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(3)::after{content:'Journal'}
html body.rr-separated-controls #bJ{width:80px!important;height:80px!important;right:var(--padR)!important;left:auto!important;bottom:var(--padB)!important}
html body.rr-separated-controls #bJ::after{content:'Jump';bottom:12px!important;font-size:11px!important}
html body.rr-separated-controls .ex-tools .ex-tool:nth-child(3){width:56px!important;height:56px!important;left:auto!important;right:calc(var(--padR) + 12px)!important;bottom:calc(var(--padB) + 96px)!important}
html body.rr-separated-controls #bTalk{position:fixed!important;left:auto!important;right:calc(var(--padR) + 96px)!important;bottom:var(--padB)!important;min-height:48px!important;max-width:150px!important}
html body.rr-separated-controls .ex-prompt{bottom:calc(var(--padB) + 205px)!important;max-width:calc(100vw - 32px)!important}
html body.rr-separated-controls #demoBar{position:fixed!important;left:210px!important;right:auto!important;top:78px!important;bottom:auto!important;width:190px!important;max-width:calc(100vw - 222px)!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;padding:6px 10px!important;box-sizing:border-box}
html body.rr-separated-controls #demoBar .realm-demo-toggle{width:100%;min-height:44px;border:0;background:none;color:inherit;font:700 12px system-ui;text-align:left}
html body.rr-separated-controls #demoBar .realm-demo-drawer[hidden]{display:none!important}
html body.rr-separated-controls #demoBar .realm-demo-drawer{display:grid;gap:10px;padding:8px 0}
html body.rr-separated-controls #demoBar :is(select,.demo-btn){min-height:44px;width:100%}
}
@media(pointer:coarse) and (max-width:500px){html body.rr-separated-controls{--padS:152px;--padb:52px;--padL:max(10px,env(safe-area-inset-left));--padR:max(10px,env(safe-area-inset-right));--padB:max(12px,env(safe-area-inset-bottom))}html body.rr-separated-controls :is(#bL,#bR,.ex-tools .ex-tool:nth-child(1),.ex-tools .ex-tool:nth-child(2)){width:52px!important;height:52px!important}html body.rr-separated-controls #bL{left:calc(var(--padL) + 2px)!important;bottom:calc(var(--padB) + 50px)!important}html body.rr-separated-controls #bR{left:calc(var(--padL) + 98px)!important;bottom:calc(var(--padB) + 50px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1){left:calc(var(--padL) + 50px)!important;bottom:calc(var(--padB) + 98px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2){left:calc(var(--padL) + 50px)!important;bottom:calc(var(--padB) + 2px)!important}html body.rr-separated-controls #demoBar{left:12px!important;top:124px!important;max-width:calc(100vw - 24px)!important}}
@media(pointer:coarse){html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1)::before{content:'⇧';font:700 27px/28px system-ui;color:#ffedc3;background:none!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2)::before{content:'◈';font:700 25px/28px system-ui;color:#ffedc3;background:none!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(3)::before{content:'▤';font:700 22px/28px system-ui;color:#ffedc3;background:none!important}html body.rr-separated-controls #bJ::before{content:'↑';font:700 32px/28px system-ui;color:#ffedc3;background:none!important}}
@media(pointer:coarse){html body.rr-separated-controls{--padS:196px}html body.rr-separated-controls #bL{left:calc(var(--padL) + 4px)!important;bottom:calc(var(--padB) + 68px)!important}html body.rr-separated-controls #bR{left:calc(var(--padL) + 132px)!important;bottom:calc(var(--padB) + 68px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1){left:calc(var(--padL) + 68px)!important;bottom:calc(var(--padB) + 132px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2){left:calc(var(--padL) + 68px)!important;bottom:calc(var(--padB) + 4px)!important}html body.rr-separated-controls #demoBar{left:230px!important;max-width:calc(100vw - 242px)!important}}
@media(pointer:coarse) and (max-width:500px){html body.rr-separated-controls{--padS:164px}html body.rr-separated-controls :is(#bL,#bR,.ex-tools .ex-tool:nth-child(1),.ex-tools .ex-tool:nth-child(2)){width:48px!important;height:48px!important}html body.rr-separated-controls #bL{left:calc(var(--padL) + 4px)!important;bottom:calc(var(--padB) + 58px)!important}html body.rr-separated-controls #bR{left:calc(var(--padL) + 112px)!important;bottom:calc(var(--padB) + 58px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1){left:calc(var(--padL) + 58px)!important;bottom:calc(var(--padB) + 112px)!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2){left:calc(var(--padL) + 58px)!important;bottom:calc(var(--padB) + 4px)!important}html body.rr-separated-controls #demoBar{left:12px!important;max-width:calc(100vw - 24px)!important}}
@media(pointer:coarse){html body.rr-separated-controls .ex-tools .ex-tool:nth-child(1)::before{content:'⇧'!important;font:700 27px/28px system-ui!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(2)::before{content:'◈'!important;font:700 25px/28px system-ui!important}html body.rr-separated-controls .ex-tools .ex-tool:nth-child(3)::before{content:'▤'!important;font:700 22px/28px system-ui!important}html body.rr-separated-controls #bJ::before{content:'↑'!important;font:700 32px/28px system-ui!important}html body.rr-separated-controls #bL::before{content:'◀'!important;background:none!important;font:700 24px/28px system-ui!important}html body.rr-separated-controls #bR::before{content:'▶'!important;background:none!important;font:700 24px/28px system-ui!important}}

html body .realm-corner-control{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;padding:10px!important;border-radius:9px!important;gap:0!important}
.realm-native-fullscreen{visibility:hidden!important;pointer-events:none!important}
.realm-corner-slot{display:inline-block!important;width:46px!important;height:46px!important;min-width:46px!important;flex:0 0 46px!important;vertical-align:middle}
[data-realm-fullscreen-slot]{display:none!important}
