/* Atmosphere affects painted scenery; paper, exercise text and controls remain readable. */
:root{--nexus-scene-light:brightness(1) saturate(1);--nexus-sky:#e9ece3}
html[data-lighting=morning]{--nexus-scene-light:brightness(1.04) saturate(.92) sepia(.07);--nexus-sky:#eeeadd}
html[data-lighting=day]{--nexus-scene-light:brightness(1) saturate(1);--nexus-sky:#e9ece3}
html[data-lighting=evening]{--nexus-scene-light:brightness(.86) saturate(.88) sepia(.2);--nexus-sky:#e3dccb}
html[data-lighting=night]{--nexus-scene-light:brightness(.65) saturate(.67) hue-rotate(10deg);--nexus-sky:#d0dacf}
#map-world,#ocean-world,.auth-scene img.scene,.coastal-course-art>img,.coastal-island-picture>img{filter:var(--nexus-scene-light);transition:filter 1s ease}
.coastal-island-card.is-locked .coastal-island-picture>img{filter:var(--nexus-scene-light) saturate(.42)}
body{background-color:var(--nexus-sky)}
.nexus-experience-tools{position:relative;z-index:40;padding:0!important;margin:0!important;background:#fbf5e4!important;border:1px solid #c8b88e!important;border-radius:6px!important;box-shadow:0 2px 5px #4a4e3212!important;min-width:105px;font:12px/1.5 'Nexus Inter','Segoe UI',sans-serif;color:#486040}
.nexus-experience-tools>summary{padding:10px 12px;list-style:none;cursor:pointer;font-size:12px;font-weight:550;white-space:nowrap;min-height:40px}
.nexus-experience-tools>summary::-webkit-details-marker{display:none}.nexus-experience-tools>summary:before{content:'◐';margin-right:7px;color:#9d7943}
.nexus-experience-tools[open]>summary{border-bottom:1px solid #ddd0ae}.nexus-experience-tools[open]{box-shadow:0 9px 22px #4a4e3228!important}
#nexus-experience-content{position:absolute;right:-1px;top:100%;width:285px;max-width:calc(100vw - 26px);padding:18px;display:grid;gap:13px;background:linear-gradient(105deg,#f7ecd0,#fff9e8);border:1px solid #c8b88e;border-radius:0 0 7px 7px;box-shadow:0 12px 20px #47523824;color:#5d6046;text-align:left;max-height:75dvh;overflow:auto}
#nexus-experience-content>label{display:grid;gap:5px;font-size:12px;font-weight:550}#nexus-experience-content select{font:inherit;padding:8px;border:1px solid #c9b78d;border-radius:4px;background:#fffbee;color:#3d5d43;min-height:38px}#nexus-experience-content small{font-size:10px;color:#857353;line-height:1.6;margin-top:-8px}
#nexus-experience-content label.nexus-experience-check{display:flex;align-items:flex-start;gap:8px;line-height:1.6;font-size:11px}#nexus-experience-content input[type=checkbox]{accent-color:#3c6b4b;margin:3px 0 0;width:15px;height:15px;flex:0 0 15px}
#nexus-experience-content .nexus-audio-range{display:grid;grid-template-columns:1fr 44px;gap:6px;align-items:center}.nexus-audio-range span{grid-column:1/-1}.nexus-audio-range input{accent-color:#62835a;width:100%;margin:0;min-width:0}.nexus-audio-range output{text-align:right;color:#7b6a49;font-size:10px}
.nexus-fullscreen{padding:9px 12px;background:#e5ecd8;border:1px solid #bacaa4;border-radius:4px;color:#3f6546;font:inherit;min-height:40px;cursor:pointer}#nexus-experience-status{font-size:10px;color:#5f7a4f;line-height:1.6;margin:0}#nexus-experience-status:empty{display:none}#nexus-experience-status[data-error=true]{color:#943c29}
.auth-form{position:relative}.nexus-experience-auth{position:absolute;right:19px;top:16px}.nexus-experience-auth #nexus-experience-content{top:100%}
.nexus-welcome{position:fixed;inset:0;width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:0;background:#fff8e4;border:9px solid #927047;border-image:url('/design-v2/art/ui/frames/oak-frame-v1.png') 13% / 9px stretch;border-radius:6px;box-shadow:0 22px 80px #193d3545;color:#4f5c40;font-family:'Nexus Inter','Segoe UI',sans-serif}
.nexus-welcome::backdrop{background:#183b32a3;backdrop-filter:blur(4px)}.nexus-welcome form{padding:28px}.nexus-welcome h2{font:500 32px/1.2 'Nexus Lora',Georgia,serif;color:#355b40;margin:10px 0 16px}.nexus-welcome p{font-size:13px;line-height:1.8;color:#77684d}.nexus-welcome .eyebrow{font-size:10px;letter-spacing:.1em;color:#927447}.nexus-welcome .nexus-welcome-progress{font-weight:600;color:#5f7b4c}.nexus-welcome-actions{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0}.nexus-welcome-actions a,.nexus-welcome-actions button{font:500 12px/1.4 'Nexus Inter','Segoe UI',sans-serif;border:1px solid #b6c49e;border-radius:5px;padding:11px 14px;background:#e9eed8;color:#3f6040;text-decoration:none;cursor:pointer;min-height:42px}.nexus-welcome-actions a{background:#27594a;border-color:#27594a;color:#fff7df}.nexus-welcome label{display:flex;align-items:center;gap:8px;font-size:11px;color:#897653}.nexus-welcome label input{accent-color:#587b4e}
@media(max-width:760px){.nexus-experience-tools{min-width:88px}.nexus-experience-tools>summary{font-size:10px;padding:10px 8px;min-height:42px}.nexus-experience-tools>summary:before{margin-right:5px}.top-actions{gap:7px!important}.top-actions .level-pill{display:none}.nexus-experience-auth{position:fixed;right:15px;top:18px;z-index:60;background:#fff7e6e8!important}.nexus-experience-auth>summary{font-size:11px}.nexus-experience-auth #nexus-experience-content{max-height:70dvh}.world-topbar .nexus-experience-tools{margin-left:auto!important}.nexus-welcome form{padding:23px 20px}.nexus-welcome h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){#map-world,#ocean-world,.auth-scene img.scene,.coastal-course-art>img,.coastal-island-picture>img{transition:none}}
