.blocksmith-page{margin:0;overflow:hidden;background:#86d3e5;overscroll-behavior:none}.voxel-game{position:relative;width:100vw;height:100dvh;min-height:420px;overflow:hidden;color:#fff;font-family:Inter,"Segoe UI",system-ui,sans-serif}.voxel-game canvas{display:block;width:100%;height:100%;touch-action:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.voxel-hud{position:absolute;z-index:10;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));display:flex;align-items:center;gap:8px;pointer-events:none}.voxel-brand,.world-pill,.voxel-icon-button,.quest-radar,.hotbar,.journal-tab{border:2px solid rgba(9,31,47,.3);background:rgba(7,25,39,.84);box-shadow:0 5px 0 rgba(3,12,20,.45),0 9px 24px rgba(1,15,25,.18);backdrop-filter:blur(10px)}.voxel-brand{display:flex;align-items:center;gap:8px;min-height:46px;padding:5px 11px 5px 5px;border-radius:13px;color:#fff;text-decoration:none;pointer-events:auto}.voxel-brand>span{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#43ddd2;color:#092638;font-weight:950;box-shadow:inset -4px -4px rgba(0,0,0,.14)}.voxel-brand b{display:none}.voxel-status{display:flex;min-width:0;gap:7px;margin-right:auto}.world-pill{display:flex;min-height:43px;align-items:center;gap:6px;padding:6px 10px;border-radius:13px;color:#dfeef4;font-size:.76rem;white-space:nowrap}.world-pill i{color:#ffd166;font-style:normal}.world-pill b{color:#fff}.quest-status{display:none;max-width:270px;overflow:hidden;text-overflow:ellipsis}.voxel-icon-button{display:grid;flex:0 0 44px;height:44px;place-items:center;border-radius:13px;color:#fff;font-size:1rem;pointer-events:auto;cursor:pointer}.quest-radar{position:absolute;z-index:7;top:75px;left:50%;display:flex;min-width:160px;min-height:34px;align-items:center;justify-content:center;gap:9px;padding:5px 10px;border-radius:10px;transform:translateX(-50%);font-size:.68rem}.quest-radar span{color:#ffd166;font-weight:950}.quest-radar i{display:block;width:9px;height:9px;border-radius:2px;background:#ffef6e;box-shadow:0 0 12px #fff15b}.quest-radar b{font-weight:800}.crosshair{position:absolute;z-index:5;top:50%;left:50%;width:22px;height:22px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 1px 1px #001)}.crosshair i{position:absolute;top:10px;left:3px;width:16px;height:2px;background:#fff}.crosshair i:last-child{transform:rotate(90deg)}.world-message{position:absolute;z-index:18;top:95px;left:50%;max-width:min(90vw,520px);padding:0;border-radius:13px;background:#fff;color:#0a2030;text-align:center;font-weight:850;transform:translate(-50%,-24px);opacity:0;pointer-events:none;transition:.25s}.world-message.show{padding:11px 15px;transform:translate(-50%,0);opacity:1}.world-message.success{background:#d8f9df;color:#0d582b}.world-message.warn{background:#fff0c4;color:#624a00}.nearby-prompt,.check-build{position:absolute;z-index:12;left:50%;display:flex;align-items:center;gap:8px;border:2px solid rgba(7,25,39,.35);border-radius:13px;background:#fff;color:#0a2232;font-weight:900;box-shadow:0 5px 0 rgba(5,18,29,.5);transform:translateX(-50%);cursor:pointer}.nearby-prompt{bottom:126px;padding:9px 14px}.check-build{top:125px;padding:9px 15px;background:#ffd166}.nearby-prompt kbd,.check-build kbd{padding:3px 6px;border-radius:6px;background:#10283a;color:#fff;font:800 .65rem/1 system-ui}.check-build span{font-size:1.1rem}.hotbar{position:absolute;z-index:10;bottom:max(14px,env(safe-area-inset-bottom));left:50%;display:flex;gap:4px;padding:5px;border-radius:15px;transform:translateX(-50%);pointer-events:auto}.hotbar-slot{position:relative;display:grid;width:51px;height:51px;place-items:center;border:2px solid transparent;border-radius:10px;background:#173145;color:#dcebf3;cursor:pointer}.hotbar-slot.selected{border-color:#ffe16a;background:#244a5c;transform:translateY(-4px)}.hotbar-slot kbd{position:absolute;top:3px;left:5px;color:#a8c3cf;font:800 .58rem system-ui}.hotbar-slot b{display:none}.block-swatch{display:block;width:27px;height:27px;border:2px solid rgba(3,20,28,.35);border-radius:4px;box-shadow:inset -7px -7px rgba(0,0,0,.16)}.swatch-moss{background:#54b864}.swatch-wood{background:#a87943}.swatch-stone{background:#8997a0}.swatch-glass{background:rgba(127,225,236,.8);box-shadow:inset -5px -5px rgba(255,255,255,.26)}.swatch-quest{background:#4bdfd5}.voxel-touch{position:absolute;z-index:9;right:max(14px,env(safe-area-inset-right));bottom:82px;left:max(14px,env(safe-area-inset-left));display:flex;align-items:end;justify-content:space-between;pointer-events:none}.move-pad{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:4px}.move-pad button:first-child{grid-column:2}.move-pad button:nth-child(2){grid-column:1}.move-pad button:nth-child(3){grid-column:2}.move-pad button:nth-child(4){grid-column:3}.action-pad{display:grid;grid-template-columns:repeat(2,50px);gap:6px;align-items:end}.action-pad button:last-child{grid-column:2;grid-row:1/3;width:58px;height:58px}.voxel-touch button{width:48px;height:48px;border:1px solid rgba(255,255,255,.38);border-radius:14px;background:rgba(7,25,39,.67);color:#fff;font-size:1.15rem;font-weight:950;box-shadow:0 4px 0 rgba(1,10,16,.4);pointer-events:auto;touch-action:none}.voxel-touch button.active,.voxel-touch button:active{transform:translateY(3px);background:#43bdb6;box-shadow:0 1px 0 rgba(1,10,16,.4)}.world-intro{position:absolute;z-index:30;inset:0;display:grid;place-items:center;padding:18px;background:rgba(3,20,30,.38);backdrop-filter:blur(4px)}.world-intro.hidden{display:none}.intro-card{width:min(500px,100%);padding:25px;border:2px solid rgba(255,255,255,.28);border-radius:20px;background:#0a2639;box-shadow:0 16px 0 rgba(2,14,22,.34),0 30px 70px rgba(0,0,0,.28)}.voxel-eyebrow,.quest-kicker{margin:0;color:#48e2d6;font-size:.68rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.intro-card h1{margin:5px 0 12px;font-size:clamp(2.2rem,9vw,4.2rem);line-height:.93;letter-spacing:-.055em}.intro-card>p:not(.voxel-eyebrow){margin:0;color:#c6dce6}.control-summary{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.control-summary span{padding:6px 8px;border-radius:8px;background:#153b4f;color:#bcd3dc;font-size:.68rem}.control-summary kbd{color:#fff}.voxel-primary,.voxel-secondary{min-height:48px;padding:10px 16px;border:2px solid #123646;border-radius:12px;background:#43d8ce;color:#082536;font-weight:950;box-shadow:0 5px 0 #147f7d;cursor:pointer}.voxel-primary:active,.voxel-secondary:active{transform:translateY(3px);box-shadow:0 2px 0 #147f7d}.intro-card>.voxel-primary{width:100%;margin-top:3px}.intro-card>small{display:block;margin-top:14px;color:#86a9b8;font-size:.67rem;text-align:center}.quest-dialog,.pause-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:20px;background:transparent;color:#102433;overflow:auto}.quest-dialog::backdrop,.pause-dialog::backdrop{background:rgba(3,16,26,.7);backdrop-filter:blur(4px)}.quest-card,.pause-card{padding:20px;border:2px solid #c8d5dc;border-radius:20px;background:#f7fafb;box-shadow:0 12px 0 rgba(2,14,22,.28)}.quest-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px}.quest-glyph{display:grid;width:46px;height:46px;place-items:center;border-radius:10px;background:#ffd166;color:#392d00;font-weight:950;box-shadow:inset -5px -5px rgba(0,0,0,.12)}.quest-card header span{display:block;color:#07847f;font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.quest-card h2{margin:2px 0;font-size:clamp(1.5rem,6vw,2.2rem);line-height:1}.dialog-close{width:40px;height:40px;border:0;background:transparent;color:#526c79;font-size:1.8rem;cursor:pointer}.quest-copy{margin:18px 0 12px;padding:16px;border-radius:14px;background:#0b293c;color:#fff}.quest-copy>p:last-child{margin:5px 0 0;font-size:clamp(1.05rem,4vw,1.25rem);font-weight:800}.quest-rule{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #d9e1e5;border-radius:13px;background:#fff}.quest-rule b,.quest-rule p{display:block;margin:0}.quest-rule p{color:#59717d;font-size:.77rem}.quest-hint{margin:12px 0;color:#536d79;font-size:.78rem}.quest-card footer{display:grid;gap:9px;margin-top:15px}.voxel-secondary{background:#fff;color:#233d4a;box-shadow:0 5px 0 #b9c7cd}.pause-card{text-align:center}.pause-card>span{color:#07847f;font-size:.69rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.pause-card h2{margin:9px 0 4px;font-size:2rem}.pause-card p{margin:0 0 18px;color:#59717d}.pause-card .voxel-primary,.pause-card a{display:flex;width:100%;align-items:center;justify-content:center;margin-top:9px;text-decoration:none}.pause-card a{min-height:44px;color:#49636f;font-weight:850}.quest-journal{position:absolute;z-index:22;top:0;right:0;bottom:0;width:min(380px,92vw);padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom));background:#f5f8f9;color:#102433;box-shadow:-15px 0 40px rgba(1,13,21,.3);transform:translateX(105%);transition:transform .25s;overflow:auto}.quest-journal.open{transform:none}.quest-journal>header{display:flex;align-items:center;justify-content:space-between}.quest-journal header span{color:#07847f;font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.quest-journal h2{margin:2px 0 13px}.quest-journal header>b{padding:6px 10px;border-radius:9px;background:#102b3d;color:#fff}.quest-list-item{display:grid;grid-template-columns:auto 1fr;gap:10px;margin:9px 0;padding:12px;border:1px solid #d5dfe3;border-radius:13px;background:#fff}.quest-list-item>span{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#ffe9a8;font-weight:950}.quest-list-item strong,.quest-list-item small{display:block}.quest-list-item small{color:#6a8089}.quest-list-item.completed{border-color:#7bc895;background:#eaf9ef}.quest-list-item.completed>span{background:#64c784;color:#fff}.quest-journal>button{width:100%;min-height:45px;margin-top:12px;border:1px solid #b7c7cd;border-radius:11px;background:#fff;color:#1a3947;font-weight:900}.journal-tab{position:absolute;z-index:13;right:max(14px,env(safe-area-inset-right));bottom:158px;display:grid;width:54px;height:54px;place-items:center;border-radius:14px;color:#fff;pointer-events:auto}.journal-tab span{font-size:1.15rem}.journal-tab b{display:none}.webgl-warning{position:absolute;z-index:50;inset:0;display:grid;place-content:center;gap:6px;padding:30px;background:#092536;color:#fff;text-align:center}.webgl-warning b{font-size:1.3rem}.webgl-warning span{color:#b8d0da}.webgl-warning[hidden]{display:none}
@media(pointer:fine){.voxel-touch{display:none}.voxel-brand b{display:block}.quest-status{display:flex}.hotbar-slot{width:60px;height:58px}.hotbar-slot b{display:block;font-size:.56rem}.nearby-prompt{bottom:104px}.journal-tab{bottom:28px;right:22px;width:67px}.journal-tab b{display:block;font-size:.55rem}.hotbar{bottom:18px}}
@media(min-width:640px){.world-pill{font-size:.82rem}.quest-card footer{grid-template-columns:1fr 1.3fr}.intro-card{padding:32px}.quest-journal{width:390px}}
@media(max-width:390px){.voxel-status .world-pill{padding-inline:8px}.voxel-brand{padding-right:5px}.quest-radar{top:69px}.hotbar-slot{width:46px;height:48px}.hotbar{bottom:max(9px,env(safe-area-inset-bottom))}.voxel-touch{bottom:69px}.nearby-prompt{bottom:120px}.journal-tab{bottom:148px}.quest-card{padding:15px}.quest-rule{align-items:flex-start}.intro-card{padding:20px}}
@media(max-height:520px) and (orientation:landscape){.voxel-hud{top:6px}.quest-radar{top:58px}.world-pill{min-height:38px}.voxel-brand{min-height:40px}.voxel-brand>span{width:28px;height:28px}.hotbar{bottom:7px}.hotbar-slot{width:46px;height:43px}.hotbar-slot .block-swatch{width:22px;height:22px}.nearby-prompt{bottom:62px}.check-build{top:56px;left:auto;right:12px;transform:none}.journal-tab{bottom:64px}.voxel-touch{bottom:57px}.move-pad{grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,42px)}.move-pad button,.action-pad button{width:42px;height:42px}.action-pad button:last-child{width:50px;height:50px}.intro-card{display:grid;grid-template-columns:1.2fr .8fr;gap:8px 18px;padding:17px;max-width:720px}.intro-card h1,.intro-card>.voxel-eyebrow,.intro-card>p{grid-column:1}.control-summary,.intro-card>.voxel-primary,.intro-card>small{grid-column:2}.control-summary{grid-row:1/4;align-content:center;margin:0}.intro-card>.voxel-primary{grid-row:4}.intro-card>small{grid-row:5}.quest-dialog{width:min(760px,calc(100% - 20px))}.quest-card{display:grid;grid-template-columns:1fr 1fr;gap:10px 15px;padding:14px}.quest-card header,.quest-card footer{grid-column:1/-1}.quest-copy{margin:0}.quest-rule{padding:9px}.quest-hint{margin:4px 0}}

.active-quest-chip{position:absolute;z-index:14;top:max(72px,calc(env(safe-area-inset-top) + 62px));left:max(10px,env(safe-area-inset-left));display:flex;max-width:min(248px,calc(50vw - 92px));min-height:54px;align-items:center;gap:9px;padding:6px 10px 6px 6px;border:2px solid rgba(9,31,47,.3);border-radius:14px;background:rgba(7,25,39,.92);color:#fff;box-shadow:0 5px 0 rgba(3,12,20,.45),0 9px 24px rgba(1,15,25,.18);backdrop-filter:blur(10px);cursor:pointer;text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.active-quest-chip[hidden]{display:none}
.active-quest-chip:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(3,12,20,.45)}
.active-quest-chip:focus-visible{outline:3px solid #ffe16a;outline-offset:3px}
.active-quest-glyph{display:grid;flex:0 0 38px;height:38px;place-items:center;border-radius:9px;background:#ffd166;color:#392d00;font-size:.78rem;font-weight:950;box-shadow:inset -4px -4px rgba(0,0,0,.12)}
.active-quest-copy{display:grid;min-width:0;line-height:1.08}
.active-quest-copy small{color:#56e2d8;font-size:.58rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.active-quest-copy b{margin:2px 0;overflow:hidden;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}
.active-quest-copy em{color:#d4e5ec;font-size:.65rem;font-style:normal;font-weight:800}
@media(max-width:600px){.active-quest-chip{max-width:76px;padding-right:6px;gap:6px}.active-quest-copy small,.active-quest-copy b{display:none}.active-quest-copy em{max-width:26px;line-height:1.05;text-align:center}.active-quest-glyph{flex-basis:32px;height:38px}}
@media(max-height:520px) and (orientation:landscape){.active-quest-chip{top:57px;min-height:46px;max-width:188px}.active-quest-glyph{height:32px}.active-quest-copy b{font-size:.69rem}}
@media(prefers-reduced-motion:reduce){.world-message,.quest-journal{transition:none}}

.selector-label{margin:14px 0 6px!important;color:#8fb5c4!important;font-size:.66rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.blocksmith-year-grid,.blocksmith-subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.blocksmith-year-grid button,.blocksmith-subject-grid button{min-width:0;min-height:54px;padding:8px;border:2px solid #255064;border-radius:11px;background:#13384b;color:#fff;text-align:left;cursor:pointer}.blocksmith-year-grid button{display:grid;place-items:center;text-align:center}.blocksmith-year-grid b,.blocksmith-year-grid small,.blocksmith-subject-grid b,.blocksmith-subject-grid small{display:block}.blocksmith-year-grid small,.blocksmith-subject-grid small{margin-top:2px;color:#a7c2ce;font-size:.6rem}.blocksmith-year-grid button.selected,.blocksmith-subject-grid button.selected{border-color:#5aeee3;background:#1d5364;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.blocksmith-subject-grid button{display:flex;align-items:center;gap:7px}.blocksmith-subject-grid i{display:grid;flex:0 0 29px;height:29px;place-items:center;border-radius:7px;background:#0a2639;color:#75eee5;font-style:normal;font-weight:950}.expedition-set{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:8px 10px;border-radius:9px;background:#0b2231;color:#9bb8c5;font-size:.64rem}.expedition-set a{color:#62e8de;font-weight:900;white-space:nowrap}.block-answer-key{margin:0 0 12px;padding:12px;border:1px solid #d5e0e5;border-radius:13px;background:#edf5f7}.block-answer-key>p{margin:0 0 8px;color:#3d5966;font-size:.75rem;font-weight:850}.block-answer-key>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.answer-material{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 8px;min-width:0;padding:8px;border:1px solid #cbd9df;border-radius:9px;background:#fff}.answer-material .block-swatch{grid-row:1/3;width:25px;height:25px}.answer-material b{color:#173341;font-size:.68rem;text-transform:capitalize}.answer-material span:last-child{min-width:0;color:#425d69;font-size:.7rem;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:600px){.quest-card footer{grid-template-columns:.9fr 1.15fr}.quest-card footer button{min-width:0;padding-inline:8px;font-size:.78rem}}
@media(max-width:390px){.blocksmith-year-grid,.blocksmith-subject-grid{gap:5px}.blocksmith-year-grid button,.blocksmith-subject-grid button{padding:6px}.blocksmith-subject-grid i{display:none}.expedition-set{align-items:flex-start;flex-direction:column}.block-answer-key>div{grid-template-columns:1fr}.answer-material{padding:6px 8px}}
@media(max-height:650px){.tour-step:first-of-type h1{font-size:2rem}.tour-step:first-of-type>p:not(.voxel-eyebrow){font-size:.78rem}.selector-label{margin-top:8px!important}.blocksmith-year-grid button,.blocksmith-subject-grid button{min-height:45px}.expedition-set{margin-top:7px}}
.nearby-prompt[hidden],.check-build[hidden]{display:none!important}
@media(max-width:600px){.quest-status{display:none!important}.voxel-brand b{display:none!important}}
.force-touch .voxel-touch{display:flex!important;bottom:96px}.force-touch .hotbar{bottom:max(14px,env(safe-area-inset-bottom))}.force-touch .hotbar-slot{width:51px;height:51px}.force-touch .hotbar-slot b,.force-touch .voxel-brand b{display:none}.force-touch .journal-tab{right:max(14px,env(safe-area-inset-right));bottom:168px;width:54px}.force-touch .journal-tab b{display:none}
.voxel-touch,.voxel-touch *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.material-pill>span{text-transform:capitalize}.hotbar-slot .slot-count{position:absolute;right:3px;bottom:3px;display:grid;min-width:18px;height:18px;place-items:center;padding:0 4px;border-radius:7px;background:#f7fbfc;color:#10283a;font-size:.62rem;font-weight:950;line-height:1}.hotbar-slot.selected .slot-count{background:#ffe16a}.quest-card header span[data-quest-objective]{line-height:1.35}.quest-rule b[data-quest-rule]{line-height:1.25}
@media(max-height:520px) and (orientation:landscape){.voxel-game{min-height:0}.force-touch .voxel-touch{bottom:57px}.force-touch .hotbar{bottom:7px}.force-touch .hotbar-slot{width:46px;height:43px}.force-touch .journal-tab{right:124px;bottom:64px}}

.flight-pill[hidden],.tour-step[hidden],.tour-actions>[hidden]{display:none!important}
.flight-pill{border-color:#68e7dd;background:rgba(12,72,80,.9)}
.action-pad{grid-template-columns:repeat(2,50px);grid-template-rows:repeat(2,50px)}
.action-pad button:last-child{grid-column:auto;grid-row:auto;width:50px;height:50px}
.action-pad [data-action="fly"].active{background:#ffd166;color:#172d39}
.intro-card{max-height:calc(100dvh - 36px);overflow:auto}
.tour-progress{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:#89adb9;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.tour-progress i{color:#ffd166;font-style:normal;letter-spacing:.2em}
.tour-step{min-height:250px}
.tour-step h2{margin:5px 0 15px;font-size:clamp(1.8rem,7vw,2.6rem);line-height:1}
.tour-step>p:not(.voxel-eyebrow){margin:12px 0;color:#c6dce6}
.device-guide{display:grid;gap:5px;margin:13px 0;padding:14px;border:1px solid #2b5365;border-radius:13px;background:#12394c;color:#c7dce5}
.device-guide b{color:#fff;font-size:1rem}.device-guide span{font-size:.78rem;line-height:1.45}.device-guide kbd{color:#ffd166}.desktop-guide{display:none}
.tour-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;margin-top:15px}.tour-actions>:only-child{grid-column:1/-1}.tour-actions .voxel-primary,.tour-actions .voxel-secondary{width:100%}
@media(pointer:fine){.desktop-guide{display:grid}.touch-guide{display:none}}
.force-touch .desktop-guide{display:none!important}.force-touch .touch-guide{display:grid!important}

.letter-tray{position:absolute;z-index:15;right:max(12px,env(safe-area-inset-right));bottom:92px;display:grid;width:min(330px,calc(100vw - 24px));gap:6px;padding:8px;border:2px solid rgba(9,31,47,.3);border-radius:14px;background:rgba(7,25,39,.92);box-shadow:0 5px 0 rgba(3,12,20,.45);backdrop-filter:blur(10px);pointer-events:auto}.letter-tray[hidden]{display:none}.letter-tray>span{color:#bfe8f4;font-size:.61rem;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.letter-tray>div{display:flex;gap:5px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.letter-slot{position:relative;flex:0 0 42px;height:42px;border:2px solid #708394;border-radius:9px;background:linear-gradient(135deg,#aab5bf,#667480);color:#fff;font-size:1rem;font-weight:950;text-shadow:0 2px 0 #26333c;box-shadow:inset -5px -5px rgba(0,0,0,.18);cursor:pointer}.letter-slot.selected{border-color:#ffe16a;transform:translateY(-2px)}.letter-slot small{position:absolute;right:2px;bottom:1px;display:grid;min-width:15px;height:15px;place-items:center;border-radius:5px;background:#fff;color:#172b38;font-size:.55rem;text-shadow:none}
.quest-support-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.quest-support-actions button{min-height:43px;border:1px solid #b9c9d0;border-radius:11px;background:#fff;color:#173544;font-weight:900;cursor:pointer}.quest-support-actions button[aria-expanded="true"]{border-color:#058b85;background:#daf8f4;color:#07524e}.quest-support-panel{margin-top:9px;padding:12px 14px;border:1px solid #bedad7;border-radius:12px;background:#edf9f7;color:#23414d}.quest-support-panel[hidden]{display:none}.quest-support-panel h3{margin:0 0 5px;font-size:.95rem}.quest-support-panel p{margin:0;color:#425f6b;font-size:.8rem;line-height:1.45}.quest-support-panel ul{margin:7px 0 0;padding-left:19px;color:#35525e;font-size:.76rem}.hint-panel{border-color:#e8d397;background:#fff8df}.hint-panel p{color:#5e4b16;font-weight:750}
@media(pointer:fine){.letter-tray{right:22px;bottom:100px}}
@media(max-width:600px){.letter-tray{right:50%;bottom:145px;width:min(310px,calc(100vw - 96px));transform:translateX(50%)}.letter-slot{flex-basis:38px;height:38px}.quest-support-actions{grid-template-columns:1fr}.quest-dialog{max-height:calc(100dvh - 12px)}}
@media(max-height:520px) and (orientation:landscape){.letter-tray{top:57px;right:auto;bottom:auto;left:10px;width:250px;transform:none}.quest-card{grid-template-columns:1fr 1fr}.quest-support-actions,.quest-support-panel{margin-top:0}.quest-support-panel{max-height:118px;overflow:auto}.quest-support-actions{grid-template-columns:1fr 1fr}.quest-card footer{margin-top:0}}
@media(max-width:390px){.voxel-icon-button{flex-basis:40px;height:42px}.tour-step{min-height:270px}.tour-step h2{font-size:1.85rem}.device-guide{padding:12px}}
@media(max-width:600px){.flight-pill{position:absolute;top:55px;right:0;min-height:34px;padding:4px 8px;font-size:.68rem}}
@media(max-height:520px) and (orientation:landscape){.intro-card{width:min(720px,100%);max-height:calc(100dvh - 16px);padding:14px 18px}.tour-step{min-height:145px}.tour-step h1{font-size:2.15rem}.tour-step h2{margin-bottom:8px;font-size:1.7rem}.device-guide{margin:7px 0;padding:9px}.tour-step>p:not(.voxel-eyebrow){margin:6px 0}.tour-progress{margin-bottom:7px}.tour-actions{margin-top:7px}}

/* Inventory drawer and responsive gameplay safe zones. */
.voxel-hud-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px;pointer-events:auto}.inventory-toggle{display:none;position:relative}.inventory-toggle small{position:absolute;right:2px;bottom:2px;display:grid;min-width:17px;height:17px;place-items:center;border-radius:6px;background:#ffe16a;color:#19313e;font-size:.55rem;font-weight:950}.inventory-drawer{position:absolute;z-index:24;right:max(12px,env(safe-area-inset-right));bottom:90px;width:min(410px,calc(100vw - 24px));max-height:min(560px,calc(100dvh - 120px));padding:16px;border:2px solid #385466;border-radius:18px;background:rgba(7,25,39,.97);color:#fff;box-shadow:0 12px 0 rgba(3,12,20,.42),0 24px 60px rgba(0,0,0,.35);overflow:auto;overscroll-behavior:contain;pointer-events:auto}.inventory-drawer[hidden]{display:none}.inventory-drawer>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.inventory-drawer header span{color:#59e2d8;font-size:.64rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.inventory-drawer h2{margin:2px 0;font-size:1.35rem}.inventory-drawer header button{display:grid;width:42px;height:42px;place-items:center;border:1px solid #587181;border-radius:11px;background:#17384a;color:#fff;font-size:1.5rem;cursor:pointer}.inventory-drawer>p{margin:8px 0 14px;color:#bad0da;font-size:.75rem}.inventory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.inventory-item{position:relative;display:grid;min-height:70px;place-items:center;gap:4px;padding:7px 4px;border:2px solid #496372;border-radius:12px;background:#153244;color:#fff;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}.inventory-item.selected{border-color:#ffe16a;background:#21495b;box-shadow:0 0 0 2px rgba(255,225,106,.2)}.inventory-item[disabled]{opacity:.42;cursor:not-allowed}.inventory-item .block-swatch{width:31px;height:31px}.inventory-letter-stone{display:grid;width:34px;height:34px;place-items:center;border:2px solid #bf93f4;border-radius:6px;background:linear-gradient(135deg,#aab5bf,#667480);font-size:1rem;font-weight:950;text-shadow:0 2px #26333c;box-shadow:inset -6px -6px rgba(0,0,0,.17)}.inventory-item b{max-width:100%;overflow:hidden;font-size:.63rem;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap}.inventory-item em{position:absolute;right:4px;top:4px;display:grid;min-width:19px;height:19px;place-items:center;padding:0 4px;border-radius:7px;background:#fff;color:#10283a;font-size:.61rem;font-style:normal;font-weight:950}

@media(max-width:600px){
  .voxel-hud{gap:6px;align-items:center}.voxel-hud-actions{gap:5px}.voxel-hud-actions .voxel-icon-button{flex-basis:42px;height:42px}.inventory-toggle{display:grid}.material-pill,.hotbar,.letter-tray{display:none!important}.voxel-status{flex:1;margin:0}.flight-pill{display:none!important}
  .quest-radar{top:66px;right:max(10px,env(safe-area-inset-right));left:max(10px,env(safe-area-inset-left));min-width:0;transform:none}.world-message{top:108px;max-width:calc(100vw - 20px)}
  .active-quest-chip{top:108px;left:max(10px,env(safe-area-inset-left))}.check-build{top:108px;right:max(10px,env(safe-area-inset-right));left:auto;max-width:180px;transform:none}.nearby-prompt{bottom:128px}
  .voxel-touch{right:max(10px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left))}
  .inventory-drawer{right:max(10px,env(safe-area-inset-right));bottom:max(128px,calc(env(safe-area-inset-bottom) + 118px));left:max(10px,env(safe-area-inset-left));width:auto;max-height:calc(100dvh - 210px);padding:14px}.inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.inventory-item{min-height:66px}
}
.force-touch .inventory-toggle,.touch-capable .inventory-toggle{display:grid}.force-touch .material-pill,.force-touch .quest-status,.force-touch .hotbar,.force-touch .letter-tray,.force-touch .flight-pill,.touch-capable .material-pill,.touch-capable .quest-status,.touch-capable .hotbar,.touch-capable .letter-tray,.touch-capable .flight-pill{display:none!important}.force-touch .voxel-touch,.touch-capable .voxel-touch{display:flex!important;bottom:max(12px,env(safe-area-inset-bottom))}
@media(max-height:520px) and (orientation:landscape){.inventory-drawer{top:57px;right:112px;bottom:12px;left:112px;width:auto;max-height:none}.inventory-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.inventory-item{min-height:60px}.force-touch .voxel-touch{bottom:10px}.quest-radar{top:57px}.active-quest-chip{top:99px}.check-build{top:99px}}

/* Keep transient feedback in a dedicated HUD row below the quest radar. */
.world-message{top:120px}
@media(max-width:600px){.world-message{top:168px}}
