/* O acabamento da edição encantada (Codex, 23/10/2026), por cima do style.css: cores, luz e letra
   da interface. Os comandos do mundo seguem os mesmos. Entrou no projeto principal em 26/10/2026. */
:root { --cream:#fff4da; --gold:#ecc884; --forest:#173b38; color:#f5efde; }
/* --fundo-meio: onde fica o brilho do fundo; a tela de carregar da corrida põe no meio (race-menu.css). */
.universe { background: radial-gradient(ellipse at var(--fundo-meio, 40%) 43%,#214e59 0,#102c3e 35%,#081626 74%); }
.nebula { opacity:.7; background:radial-gradient(ellipse at 25% 85%,#67878b3d,transparent 55%),radial-gradient(ellipse at 78% 8%,#8f7d6c24,transparent 40%); }
.nebula::after { border-color:#d9eedc13; box-shadow:0 0 0 72px #bce6d506,0 0 0 144px #badce603; }
.topbar { padding:28px 3.3%; }
.brand { display:flex; align-items:center; gap:13px; font-family:Georgia,'Times New Roman',serif; font-size:25px; font-weight:normal; letter-spacing:-.4px; text-shadow:0 2px 12px #071d2c88; }
.brand-emblem { display:grid; place-items:center; width:43px; height:43px; border:1px solid #e9d5a36e; border-radius:15px; color:var(--gold); background:#17343deb; font-size:27px; }
.brand small { display:block; margin-top:7px; font-family:'Segoe UI',sans-serif; font-size:9px; font-weight:600; letter-spacing:3px; color:#e3ca91; }
.world-invitation { position:absolute; left:42%; transform:translateX(-50%); bottom:128px; margin:0; color:#d2e3de; font-family:Georgia,serif; font-size:18px; text-align:center; pointer-events:none; text-shadow:0 2px 8px #071726; width:80%; }
body:not([data-view="overview"]) .world-invitation, body:not([data-ready]) .world-invitation { display:none; }
.planet-explore { min-width:300px; padding:21px 42px; border:1px solid #ffdf9e; border-radius:19px; background:linear-gradient(135deg,#f9e5ad,#dfb76e); box-shadow:0 8px 32px #010c1944,inset 0 1px #fff8; color:#253c37; font-size:24px; letter-spacing:.1px; text-shadow:none; }
.planet-explore:hover { background:linear-gradient(135deg,#fff0c9,#ecca88); border-color:#fff2ca; box-shadow:0 12px 36px #02111d66,0 0 26px #e6c37e1c; }
.planet-explore::after { display:none; }
.planet-dock { right:3.3%; padding:11px 8px; border-color:#d5e5cc23; background:#132e36f5; box-shadow:0 16px 50px #0003; border-radius:23px; }
.dock-button { border-radius:13px; color:#cfe0d9; }
/* O Kaco de arrastar, embaixo da faixa (25/10/2026), veste a mesma cor da faixa. */
.kaco-dock { border-color:#d5e5cc23; background:#132e36f5; color:#cfe0d9; }
.kaco-dock:hover { background:#1a3a42f5; color:#fff4da; }
.dock-button svg { stroke:#e1cc9f; }
.dock-button:hover,.dock-button[aria-expanded="true"] { background:#e5c78f18; color:#fff4da; }
.quality-open,.view-switch,.day-controls summary,.sky-shortcuts,.walk-location,.vehicles-open,.enchanted-map { background:#173b38f5; border:1px solid #e7e1c536; color:#f6efd9; box-shadow:0 5px 20px #072a2926; }
.quality-open { right:3.3%; border-radius:13px; }
.view-switch { top:28px; right:3.3%; border-radius:16px; padding:5px; }
.view-switch button { border-radius:11px; }
.view-switch button[aria-pressed="true"] { color:#273c34; background:#f0d9a2; }
.day-controls summary { border-radius:13px; }
.walk-location { border-radius:30px; font-size:12px; }
.walk-help { color:#fff7e3; text-shadow:0 1px 5px #113324; }
.walk-help kbd { display:inline-block; padding:3px 5px; border:1px solid #eee4c74d; border-radius:5px; background:#173b3866; }
.dock-window,.day-options,#minimap,#globe-map { background:#153833fa; border-color:#e3d2a83d; box-shadow:0 12px 40px #041e2438; border-radius:18px; }
.day-options p,.dock-window-heading,.map-heading { color:#f4e4bf; }
.enchanted-map { position:absolute; top:166px; right:3.3%; z-index:2; padding:11px 15px; border-radius:13px; cursor:pointer; font-size:16px; display:flex; align-items:center; gap:7px; }
.enchanted-map span { font-size:12px; }
body[data-view="overview"] .enchanted-map, body:not([data-ready]) .enchanted-map, body[data-environment="station"] .enchanted-map,body[data-environment="house"] .enchanted-map,body[data-environment="castle"] .enchanted-map,body[data-environment="arena"] .enchanted-map { display:none; }
body:not([data-view="overview"]):not(.maps-open) #minimap,body:not([data-view="overview"]):not(.maps-open) #globe-map { display:none; }
body:not([data-view="overview"]).maps-open #minimap { top:220px; right:3.3%; }
body:not([data-view="overview"]).maps-open #globe-map { top:440px; right:3.3%; }
.loading { color:#e7dcb8; }
.loading-track { height:8px; background:#16383b; border-color:#e8d8b03b; }
.loading-fill { background:linear-gradient(90deg,#69ac9c,#f2d591); }
.loading-title { font-family:Georgia,serif; font-size:22px; }
.loading-percent { color:#f0d8a4; font-size:18px; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #ffd78b; outline-offset:4px; }
@media(max-width:700px) {
 .topbar { padding:20px; }
 .brand { font-size:21px; gap:9px; }
 .brand-emblem { width:35px; height:35px; border-radius:12px; font-size:23px; }
 .brand small { font-size:8px; letter-spacing:2px; margin-top:4px; }
 .quality-open { right:14px; }
 .planet-dock { right:12px; padding:6px 4px; border-radius:18px; }
 /* No celular a faixa e o Kaco viram uma barra só (28/10/2026): a cor da faixa passa pra coluna inteira. */
 .planet-side { padding:6px 4px; border-color:#d5e5cc23; border-radius:18px; background:#132e36f5; box-shadow:0 16px 50px #0003; }
 .planet-side .kaco-dock:hover { background:#e5c78f18; }
 .planet-explore { min-width:250px; padding:18px 28px; font-size:23px; bottom:calc(max(18px, env(safe-area-inset-bottom)) + 88px + var(--dock-window-space,0px)); }
 .world-invitation { left:50%; bottom:187px; font-size:14px; max-width:280px; line-height:1.5; }
 body[data-dock-window] .world-invitation { display:none; }
 .view-switch { top:85px; left:14px; right:14px; }
 .view-switch button { padding:10px 8px; }
 .enchanted-map { top:183px; right:14px; padding:10px 13px; }
 body:not([data-view="overview"]).maps-open #minimap { top:235px; right:14px; left:auto; width:210px; }
 body:not([data-view="overview"]).maps-open #globe-map { top:235px; left:14px; right:auto; width:125px; }
 .walk-help kbd { padding:1px 3px; }
 .walk-help { left:14px; right:145px; width:auto; transform:none; text-align:left; font-size:10px; line-height:1.5; }
}
@media(max-height:500px) and (min-width:701px) {
 .topbar { padding:16px 24px; }
 .brand { font-size:19px; }
 .brand-emblem { width:32px; height:32px; }
 .brand small { font-size:7px; }
 .view-switch { top:16px; }
 .planet-dock { gap:2px; padding:6px; }
 .planet-explore { min-width:220px; padding:13px 30px; bottom:20px; font-size:20px; }
 .world-invitation { bottom:83px; font-size:13px; }
 .enchanted-map { top:111px; right:3.3%; }
 body:not([data-view="overview"]).maps-open #minimap { top:158px; right:3.3%; width:205px; }
 body:not([data-view="overview"]).maps-open #globe-map { top:158px; right:calc(3.3% + 220px); left:auto; width:135px; }
}
