:root{font-family:'Courier New','PingFang SC','Microsoft YaHei',monospace;color:#fff;font-size:16px;--slot:46px;--panel:#c6c6c6}*{box-sizing:border-box}html,body{margin:0;height:100%;width:100%;overflow:hidden;background:#78a7ff;user-select:none}button{font:inherit;cursor:pointer;touch-action:manipulation;color:inherit}button:focus-visible{outline:2px solid #fff;outline-offset:2px}button:disabled{cursor:default}button,img{image-rendering:pixelated}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none;outline:none}*[hidden]{display:none!important}.screen{position:fixed;inset:0;z-index:15;display:grid;place-items:center;background:#0005}
#titleScreen{background:linear-gradient(#0002,#0003 55%,#0008);display:flex;flex-direction:column;justify-content:center;gap:65px}.title-group{position:relative;text-align:center;width:min(680px,85vw);margin-top:-50px}#gameLogo{width:100%;height:auto;filter:drop-shadow(0 4px 0 #0007)}.edition{font-size:13px;letter-spacing:5px;color:#d0d0d0;text-shadow:2px 2px #1d1d1d;margin-top:0}.splash{position:absolute;right:-30px;bottom:3px;color:#ffff55;font-size:21px;letter-spacing:-1px;font-weight:bold;text-shadow:2px 2px #3d3d00;transform:rotate(-17deg);animation:splash 1.8s ease-in-out infinite}.title-buttons{width:min(400px,82vw);display:flex;flex-direction:column;gap:11px}.mc-button{display:block;width:100%;height:43px;background:repeating-linear-gradient(90deg,#ffffff03 0px,#ffffff03 2px,#00000003 2px,#00000003 4px),#777;border:2px solid #111;box-shadow:inset 2px 2px #b7b7b7,inset -2px -2px #424242;color:#fff;text-shadow:2px 2px #383838;font-size:16px;text-align:center;padding:8px 13px}.mc-button:hover{background-color:#8b91ab;box-shadow:inset 2px 2px #c6cbdf,inset -2px -2px #53576a;border-color:#eee}.mc-button:active{box-shadow:inset 2px 2px #454545,inset -2px -2px #aaa;padding-top:10px}.mc-button:disabled{background:#555;color:#aaa;border-color:#222;box-shadow:inset 1px 1px #888;text-shadow:1px 1px #333}.mc-button.small{height:37px;font-size:14px}.button-pair{display:flex;gap:10px}.title-foot{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;font-size:12px;text-shadow:2px 2px #333}
.debug-text{position:fixed;top:12px;left:12px;z-index:3;font-size:14px;line-height:1.7;text-shadow:2px 2px #222;pointer-events:none;opacity:.9}.debug-text span{display:block}.debug-text #worldInfo{color:#eee;font-size:12px}.quick-buttons{position:fixed;z-index:4;top:12px;right:12px;display:flex;gap:6px}.quick-buttons button{width:32px;height:30px;border:2px solid #1119;background:#7778;box-shadow:inset 1px 1px #ddd9,inset -1px -1px #3339;font-size:16px;text-shadow:1px 1px #333}.tutorial{position:fixed;z-index:5;top:56px;right:12px;width:265px;padding:12px;display:flex;align-items:center;gap:10px;background:#212121e8;border:2px solid #555;box-shadow:0 0 0 2px #111;color:#fff}.tutorial img{width:40px;height:40px}.tutorial strong{display:block;font-size:14px;margin-bottom:5px;font-weight:400}.tutorial span{display:block;font-size:12px;color:#ccc}.tutorial button{background:transparent;border:0;position:absolute;right:4px;top:2px;color:#aaa;font-size:17px}.crosshair{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);font-family:monospace;font-size:28px;line-height:24px;color:#fff;z-index:2;text-shadow:1px 0 #222,-1px 0 #222,0 1px #222,0 -1px #222;pointer-events:none;mix-blend-mode:difference}#targetName{position:fixed;z-index:3;top:calc(50% + 27px);left:50%;transform:translateX(-50%);font-size:12px;text-shadow:2px 2px #222;pointer-events:none}#miningMeter{position:fixed;z-index:3;left:50%;top:calc(50% + 49px);width:70px;height:4px;background:#1119;transform:translateX(-50%);border:1px solid #fff6}#miningMeter i{display:block;height:100%;background:#fff;width:0}#lookHint{position:fixed;left:50%;bottom:151px;transform:translateX(-50%);font-size:12px;text-shadow:2px 2px #222;pointer-events:none;white-space:nowrap;opacity:.8}#itemName{position:fixed;z-index:3;left:50%;bottom:125px;transform:translateX(-50%);font-size:16px;text-shadow:2px 2px #222;pointer-events:none;transition:opacity .4s;white-space:nowrap}
.hud{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);width:424px;z-index:4}.survival-bars{height:24px;display:flex;justify-content:space-between;align-items:end;margin:0 4px 7px}#hearts,#hunger{display:flex;gap:2px;height:18px}#hearts img,#hunger img,#air img{width:17px;height:17px;image-rendering:pixelated}.xp-bar{height:8px;background:#242718;border:2px solid #10120b;box-shadow:inset 0 1px #49532f;position:relative;margin:0 5px 5px}.xp-bar i{display:block;height:100%;background:#7fb921;box-shadow:inset 0 1px #b6eb50;width:0}.xp-bar>span{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);color:#80ef20;font-size:19px;text-shadow:2px 2px #233a0c;font-weight:bold}.hud #hotbar{display:flex;gap:0;background:#8b8b8b;border:3px solid #202020;outline:1px solid #777;box-shadow:inset 2px 2px #e2e2e2,inset -2px -2px #454545;padding:3px;height:54px}.hotbar-slot,.item-slot{position:relative;background:#8b8b8b;border:2px solid;border-color:#373737 #fff #fff #373737;width:var(--slot);height:var(--slot);padding:1px;display:grid;place-items:center;flex-shrink:0;cursor:pointer}.hotbar-slot{background:#77777766;border:1px solid #2227;width:45.7px;height:42px;box-shadow:inset 1px 1px #aaa5}.hotbar-slot.selected{outline:3px solid #e4e4e4;outline-offset:1px;z-index:2;box-shadow:inset 2px 2px #1a1a1a,inset -2px -2px #1a1a1a}.item-slot:hover{background:#b8b8b8}.hotbar-slot>img,.item-slot>img{width:40px;height:40px;pointer-events:none}.stack-count{position:absolute;bottom:0;right:1px;color:#fff;font-size:16px;line-height:18px;text-shadow:2px 2px #3d3d3d;pointer-events:none}.slot-key{position:absolute;left:2px;top:0;font-size:9px;color:#ddd8;pointer-events:none}.durability{position:absolute;bottom:2px;left:5px;right:5px;height:4px;border:1px solid #111;background:#111;pointer-events:none}.durability>i{display:block;height:2px;background:#70c218}.bottom-hint{position:fixed;z-index:3;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;font-size:11px;text-shadow:2px 2px #222;white-space:nowrap;color:#ddd}.bottom-hint span{margin:0 3px}kbd{font:inherit;color:#fff}#air{position:absolute;right:5px;bottom:94px;display:flex;gap:2px}#waterOverlay{position:fixed;inset:0;background:#164bcc52;pointer-events:none;z-index:1;opacity:0}#damageOverlay{position:fixed;inset:0;pointer-events:none;z-index:7;background:radial-gradient(ellipse at center,transparent 30%,#ce000087);opacity:0;transition:opacity .16s}
#toast{position:fixed;z-index:30;bottom:181px;left:50%;transform:translateX(-50%);padding:7px 13px;background:#0007;font-size:14px;text-shadow:2px 2px #222;opacity:0;pointer-events:none;white-space:nowrap;max-width:94%;text-align:center}#toast.show{opacity:1}#achievement{position:fixed;right:12px;top:53px;z-index:35;display:flex;gap:12px;align-items:center;background:#242424;border:2px solid #7c7c7c;box-shadow:0 0 0 2px #111;padding:10px 18px 10px 10px;min-width:245px}#achievement img{width:42px;height:42px}#achievement span{display:block;color:#ffff55;font-size:13px;margin-bottom:5px}#achievement strong{font-size:15px;font-weight:400}#modalShade{background:#0009;z-index:20}#modal{width:410px;max-width:90vw;max-height:90vh;overflow-y:auto;text-shadow:2px 2px #222}#modal h1,#modal h2{text-align:center;font-size:25px;font-weight:400;margin:0 0 28px}#modal p{text-align:center;font-size:14px;line-height:1.9;color:#ddd;margin:20px 0}#modal .mc-button{margin-top:11px}.help-list{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px;font-size:14px;line-height:1.5;padding:0 0 12px}.help-list b{font-weight:400;color:#fff}.help-list span{color:#ccc;text-align:right}.setting-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:20px 0;gap:10px}.setting-row select,.world-seed{background:#222;border:2px solid #777;border-bottom-color:#ddd;border-right-color:#ddd;color:#fff;padding:9px;font:inherit;min-width:150px}.world-seed{width:100%}.death #modalShade{background:#75000070}.death #modal h1{font-size:40px;margin-bottom:15px}.death #modal p{margin-bottom:35px}
.inventory-screen{z-index:25;background:#000a}.inventory-window{display:flex;position:relative;gap:7px;color:#404040;max-height:95vh;box-shadow:4px 5px #1119;--slot:42px;font-size:14px}.inventory-main,.recipe-book{background:#c6c6c6;border:3px solid;border-color:#fff #555 #555 #fff;outline:2px solid #111;padding:14px}.inventory-main{width:414px;position:relative}.recipe-book{width:248px;display:flex;flex-direction:column;max-height:535px}.inventory-window h2{font-size:15px;font-weight:400;margin:0 0 8px;text-shadow:none}.recipe-tabs{display:flex;gap:4px;margin:4px 0 10px}.recipe-tabs button{flex:1;color:#343434;background:#aaa;border:2px solid;border-color:#eee #555 #555 #eee;padding:5px 0;font-size:12px}.recipe-tabs .chosen{background:#8ea172;border-color:#454c39 #ddd #ddd #454c39}.recipe-book #recipes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;overflow-y:auto;align-content:start;min-height:250px}.recipe-tile{background:#999;border:2px solid;border-color:#eee #555 #555 #eee;position:relative;width:46px;height:46px;padding:0;display:grid;place-items:center}.recipe-tile img{width:39px;height:39px}.recipe-tile.unavailable{background:#a97d78}.recipe-tile.table-required{opacity:.5}.recipe-tile:hover{background:#bbbc9c}.recipe-tile small{position:absolute;right:1px;bottom:0;color:#fff;text-shadow:1px 1px #222;font-size:12px}#recipeHelp{font-size:11px;line-height:1.8;color:#555;margin-top:13px}.crafting-top{display:flex;align-items:center;height:155px;gap:20px;margin-bottom:13px}.player-preview{width:95px;height:142px;background:#222;position:relative;border:2px solid;border-color:#777 #fff #fff #777;display:grid;place-items:center}.player-preview>span{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:10px;color:#ccc}.crafting-area{flex:1;min-width:0}.crafting-flow{display:flex;align-items:center;gap:13px}#craftGrid{display:grid;grid-template-columns:repeat(2,var(--slot));gap:0}#craftGrid.table{grid-template-columns:repeat(3,var(--slot));--slot:36px}#craftGrid.table .item-slot{width:36px;height:36px}#craftGrid.table img{width:33px;height:33px}.craft-arrow{font-size:24px;color:#777;line-height:1}.output{width:50px;height:50px}.crafting-flow .output{margin-left:1px}#craftName{height:22px;font-size:11px;margin-top:8px;white-space:nowrap;color:#555}.inventory-label{margin:0 0 5px!important}#inventoryGrid,#inventoryHotbar{display:grid;grid-template-columns:repeat(9,var(--slot));gap:0}#inventoryHotbar{margin-top:12px}#inventoryGrid .item-slot,#inventoryHotbar .item-slot{width:42px;height:42px}#inventoryGrid img,#inventoryHotbar img{width:37px;height:37px}.inventory-window .stack-count{font-size:14px}#inventoryHelp{font-size:10px;line-height:1.7;margin-top:12px;color:#555;white-space:nowrap}#closeInventory{position:absolute;right:7px;top:5px;z-index:2;border:0;background:none;color:#555;font-size:23px;line-height:20px;padding:0 5px}#cursorItem{position:fixed;z-index:100;pointer-events:none;width:44px;height:44px}#cursorItem img{width:44px;height:44px}#tooltip{position:fixed;z-index:101;pointer-events:none;background:#160b22f5;border:2px solid #32116a;box-shadow:0 0 0 2px #110817;padding:8px 10px;color:#fff;text-shadow:2px 2px #222;font-size:14px;max-width:250px;white-space:nowrap}#tooltip small{display:block;color:#aaa;font-size:11px;margin-top:5px}#furnaceUI{height:168px;margin-bottom:13px}.furnace-flow{display:flex;align-items:center;justify-content:center;gap:27px}.furnace-flow>div:first-child{display:flex;flex-direction:column;align-items:center}#flame{height:22px;color:#dd6f10;font-size:24px;line-height:22px}.smelt-progress{width:51px;height:18px;background:#898989;border:2px solid;border-color:#555 #eee #eee #555}.smelt-progress i{height:100%;display:block;background:#ececec;width:0}#furnaceHint{font-size:10px;text-align:center;margin:7px 0}.furnace-screen .crafting-top,.furnace-screen .recipe-book{display:none}.creative-catalog #recipes{max-height:310px}.creative-catalog .recipe-tile{background:#aaa}.creative-catalog .crafting-area{opacity:.4;pointer-events:none}#mobileControls{display:none}
#loading{position:fixed;inset:0;z-index:200;background:repeating-conic-gradient(#423225 0% 25%,#483728 0% 50%) 50%/12px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-shadow:2px 2px #222}.load-title{font-size:22px;margin-bottom:30px}.load-track{width:280px;height:13px;background:#111;border:2px solid #888;padding:1px}.load-track i{display:block;width:25%;height:100%;background:#76b833;animation:load 1.8s linear infinite}#loadText{font-size:14px;color:#bbb;margin-top:17px}.fade{opacity:0;transition:opacity .25s;pointer-events:none}@keyframes load{50%{width:82%}100%{width:100%}}@keyframes splash{50%{transform:rotate(-17deg) scale(1.06)}}
@media(max-width:900px){.bottom-hint{font-size:10px;gap:5px}.inventory-window{transform:scale(.88)}.title-group{max-width:80vw}.splash{right:-15px;font-size:17px}}
@media(max-width:700px){.title-group{margin-top:-80px;width:90vw;max-width:90vw}.edition{font-size:10px;letter-spacing:2px}.splash{font-size:14px;right:0;bottom:-12px}.title-buttons{width:80vw;max-width:360px}.mc-button{font-size:15px}.title-foot{font-size:9px;display:block;line-height:1.6}.title-foot span{display:block}.debug-text{font-size:11px;top:9px;left:9px}.debug-text #worldInfo{font-size:10px}.quick-buttons{top:9px;right:9px}.quick-buttons button{width:30px;height:28px}.tutorial{width:221px;top:48px;right:10px;padding:9px}.tutorial img{width:31px;height:31px}.tutorial strong{font-size:12px}.tutorial span{font-size:10px}.hud{width:340px;bottom:17px}.hud #hotbar{height:46px}.hotbar-slot{width:36.4px;height:34px}.hotbar-slot>img{width:32px;height:32px}.stack-count{font-size:13px;line-height:15px}.survival-bars{margin-bottom:6px;height:18px}#hearts img,#hunger img,#air img{width:14px;height:14px}#hearts,#hunger{gap:1px;height:14px}.xp-bar{height:6px;margin-bottom:5px}#itemName{font-size:14px;bottom:104px}#lookHint,.bottom-hint{display:none}.crosshair{font-size:25px}#gameUI #mobileControls{display:block;position:fixed;inset:0;z-index:5;pointer-events:none}#joystick{position:absolute;bottom:113px;left:22px;width:98px;height:98px;border:2px solid #ddd7;background:#2224;pointer-events:auto;touch-action:none}#joystick i{position:absolute;width:36px;height:36px;left:29px;top:29px;background:#c6c6c66b;border:2px solid;border-color:#fff7 #555b #555b #fff7}.touch-buttons{position:absolute;bottom:113px;right:18px;display:grid;grid-template-columns:repeat(2,57px);gap:6px;pointer-events:auto}.touch-buttons button{background:#7778;border:2px solid;border-color:#ddd9 #2229 #2229 #ddd9;font-size:12px;height:46px;text-shadow:1px 1px #222;touch-action:none}.touch-buttons button:last-child{grid-column:1/3;height:35px}.touch-look-hint{position:absolute;right:22px;bottom:220px;font-size:10px;color:#ddd;text-shadow:1px 1px #222}#toast{bottom:248px;font-size:12px;white-space:normal;width:max-content;max-width:90%}#air{bottom:83px}#achievement{top:49px;right:10px;min-width:220px;padding:8px 12px}#achievement img{width:34px;height:34px}#achievement span{font-size:11px}#achievement strong{font-size:13px}.inventory-window{transform:none;max-height:94vh;--slot:36px;flex-direction:column;width:354px;max-width:96vw;overflow-y:auto;gap:4px}.inventory-main{width:100%;padding:12px 10px}.recipe-book{width:100%;padding:9px 10px;max-height:156px;order:2}.recipe-book h2{font-size:12px;display:none}.recipe-tabs{margin:0 0 6px}.recipe-tabs button{font-size:10px;padding:3px}.recipe-book #recipes{grid-template-columns:repeat(8,1fr);min-height:0;max-height:80px;gap:3px}.recipe-tile{width:36px;height:36px}.recipe-tile img{width:32px;height:32px}#recipeHelp{display:none}.crafting-top{height:129px;gap:13px;margin-bottom:10px}.player-preview{width:79px;height:127px}.pixel-player{transform:scale(.85)}.crafting-flow{gap:9px}#craftGrid{--slot:34px}#craftGrid .item-slot{width:34px;height:34px}#craftGrid img{width:31px;height:31px}#craftGrid.table{--slot:31px}#craftGrid.table .item-slot{width:31px;height:31px}#craftGrid.table img{width:28px;height:28px}#craftOutput{width:40px;height:40px}.craft-arrow{font-size:21px}.inventory-window h2{font-size:13px}#craftName{font-size:10px}#inventoryGrid .item-slot,#inventoryHotbar .item-slot{width:36px;height:36px}#inventoryGrid,#inventoryHotbar{grid-template-columns:repeat(9,36px)}#inventoryGrid img,#inventoryHotbar img{width:32px;height:32px}#inventoryHelp{font-size:9px;white-space:normal}#inventoryHotbar{margin-top:10px}#closeInventory{right:7px;top:5px}#tooltip{font-size:12px}.inventory-window .stack-count{font-size:12px}#furnaceUI{height:154px}.inventory-screen{padding:8px}.creative-catalog #recipes{max-height:90px}}
@media(max-height:620px) and (min-width:701px){#titleScreen{gap:30px}.title-group{margin-top:0;width:500px}.title-buttons{width:350px;gap:8px}.mc-button{height:38px}.inventory-window{transform:scale(.86)}.hud{bottom:24px}.bottom-hint{bottom:5px}.tutorial{top:45px}#lookHint{bottom:138px}#itemName{bottom:113px}}

@media(max-width:360px){.hud{width:calc(100vw - 12px)}.hotbar-slot{width:calc((100vw - 24px)/9);height:34px}.hotbar-slot>img{width:calc((100vw - 32px)/9);height:auto}#hearts img,#hunger img,#air img{width:12px;height:12px}.inventory-window{zoom:.77;max-width:unset;width:354px;max-height:120vh}.tutorial{width:215px}.debug-text #worldInfo{font-size:9px}}

.player-preview{background:linear-gradient(#34303d,#24242f);overflow:hidden}#characterPreview{display:block;width:100%;height:calc(100% - 16px);align-self:start;image-rendering:auto}.player-preview>span{color:#e9dce8}
/* Forest worlds and online rooms */
.scene-select{display:flex;gap:8px;margin-bottom:4px}.scene-card{flex:1;min-width:0;padding:11px 6px;border:2px solid #131b13;background:linear-gradient(#344d2cf5,#1e3025f5);color:#e7efd4;box-shadow:inset 2px 2px #ffffff25,inset -2px -2px #0005;cursor:pointer;text-shadow:1px 2px #000;font:inherit}.scene-card b,.scene-card span{display:block}.scene-card span{font-size:11px;margin-top:6px;color:#c5cbb2}.scene-card[data-theme=plains]{background:linear-gradient(#606843f5,#3c482bf5)}.scene-card.chosen{border-color:#e5dfae;outline:1px solid #161c12}.title-buttons{gap:8px}.room-field{display:block;text-align:left;font-size:14px;margin:14px 0;color:#e3e1ce}.room-field input,.room-field select,.invite-field{display:block;width:100%;margin-top:7px;background:#181e1a;border:2px solid #737864;color:#fff;padding:11px;font:inherit;box-sizing:border-box}.room-field input:focus,.room-field select:focus{outline:2px solid #c9d5a7}.room-field input#roomCode{text-transform:uppercase;letter-spacing:5px}.room-divider{margin:18px 0 10px;border-top:1px solid #ffffff30;padding-top:16px}.room-error{min-height:20px;color:#ffd1b6;font-size:13px;line-height:1.5}.room-note{font-size:13px!important;line-height:1.7;color:#c5cbbb!important}.room-members{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.room-member{background:#18251fc9;padding:9px;font-size:13px;text-align:left;border-left:3px solid var(--player-color)}#roomStatus{position:absolute;left:12px;top:81px;background:#17231bc9;color:#e3edcc;border:1px solid #a8ba7877;padding:7px 10px;font:12px monospace;cursor:pointer;text-shadow:1px 1px #000}#roomStatus.disconnected{color:#ffd3a4;border-color:#dfad65}#scoreboard{position:absolute;top:17%;left:50%;transform:translateX(-50%);width:min(430px,90vw);background:#152018ef;border:2px solid #8c9b72;padding:18px;color:white;text-shadow:1px 1px #000}#scoreboard b{display:block;margin-bottom:12px}#scoreboard .room-member{margin:5px 0}.mc-button:disabled{opacity:.55;cursor:wait}#modal:has(#roomName),#modal:has(#inviteLink){max-height:90vh;overflow:auto}body:has(#roomStatus:not([hidden])) .tutorial{top:122px}.title-group{margin-bottom:32px}
@media(max-height:760px){.title-group{margin-bottom:20px}.scene-card{padding:7px 4px}.title-buttons{gap:6px}.title-buttons>.mc-button,.title-buttons>.button-pair>.mc-button{min-height:38px;height:38px}.title-foot{font-size:10px}}
@media(max-width:600px){.scene-card span{font-size:10px}.room-members{grid-template-columns:1fr}#roomStatus{font-size:10px;top:76px}.title-group{margin-bottom:20px}.title-foot span:last-child{display:none}}
.language-control{position:absolute;top:18px;right:18px;display:flex;align-items:center;gap:9px;font-size:14px;text-shadow:1px 2px #000;z-index:3}.language-control select{background:#354031;color:#fff;border:2px solid;border-color:#99a38b #172013 #172013 #99a38b;padding:6px 8px;font:inherit;cursor:pointer}.language-control select option{background:#273024}.quick-buttons #languageBtn{width:43px;font-size:12px}.setting-row select{max-width:66%}html[lang=en] .scene-card span{font-size:10px}html[lang=en] .room-note{line-height:1.5}html[lang=en] .room-field input{letter-spacing:normal}html[lang=en] #lookHint{max-width:90vw;white-space:normal;text-align:center}html[lang=en] #modal h2{font-size:24px}html[lang=en] .touch-buttons button{font-size:11px}html[lang=en] .scene-card b{font-size:16px}@media(max-width:600px){.language-control{top:10px;right:10px;font-size:12px}.language-control>span{display:none}.language-control select{padding:5px}.quick-buttons #languageBtn{width:33px;font-size:10px}html[lang=en] .scene-card b{font-size:14px}html[lang=en] #roomStatus{max-width:calc(100vw - 24px);font-size:10px}html[lang=en] .touch-buttons button{font-size:10px}html[lang=en] .help-list{grid-template-columns:1fr 1fr;font-size:12px}html[lang=en] .mc-button{font-size:15px}}
.scene-select{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.scene-card[data-theme=oasis]{background:linear-gradient(#a0824ef5,#506d54f5)}.scene-card{padding:10px 4px}.scene-card span{line-height:1.5}.scene-card b{font-size:16px}.title-buttons{width:min(510px,92vw)}html[lang=en] .scene-card b{font-size:15px}html[lang=en] .scene-card span{font-size:10px}.day-cycle{height:3px;width:170px;background:linear-gradient(90deg,#ecbd76,#9dcdea,#dfaa83,#55618b,#e3bd86);opacity:.75;margin:6px 0 4px}.day-cycle i{display:block;width:0;height:7px;margin-top:-2px;border-right:2px solid #fff;box-sizing:border-box}#weatherInfo{font-size:12px;color:#e1e8d7;margin-top:3px}#roomStatus{top:117px}body:has(#roomStatus:not([hidden])) .tutorial{top:158px}.debug-text{max-width:calc(100vw - 24px)}@media(max-width:600px){.scene-card b,html[lang=en] .scene-card b{font-size:12px}.scene-card span,html[lang=en] .scene-card span{font-size:9px}.scene-card{padding:8px 2px}.title-buttons{width:92vw}.day-cycle{width:140px;margin:3px 0}#weatherInfo{font-size:10px}#roomStatus{top:108px}body:has(#roomStatus:not([hidden])) .tutorial{top:143px}}
#modal{max-height:90vh;overflow-y:auto}@media(max-width:600px){#modeLabel{max-width:calc(100vw - 185px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#modal .setting-row{gap:12px;min-height:42px}}
.room-language{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#bfc9b2;font-size:12px;margin:-5px 0 8px}.room-language select{font:inherit;padding:5px 7px;color:#fff;background:#273024;border:1px solid #7d8d6c}
.color-range{display:flex;align-items:center;gap:10px;width:55%;min-width:140px}.color-range input{width:calc(100% - 47px);min-width:65px;accent-color:#a3ba82;cursor:pointer}.color-range output{min-width:38px;text-align:right;font:12px monospace;color:#e2e8d2}.reset-colors{width:auto!important;min-height:30px;height:32px!important;padding:3px 12px!important;margin:3px 0 12px!important;font-size:12px!important}#modal .color-setting label{font-size:14px}.scene-select .scene-card img{pointer-events:none}@media(max-width:600px){#modal .color-setting{gap:8px}#modal .color-setting label{font-size:12px}.color-range{min-width:120px;gap:6px}}
