.dark,:root{--background:#202638;--foreground:#f7f8fc;--primary:#ffca42;--primary-foreground:#201b10;--secondary:#303b57;--muted:#222b40;--muted-foreground:#c4cde1;--accent:#3e4d70;--popover:#303b57;--border:#647496;--ring:#ffca42;--radius:3px;--edge:#111827;--button-shadow:0 4px 0 var(--edge);color-scheme:dark}body{background:var(--background);color:var(--foreground)}button,input,select{font:inherit}button:disabled{cursor:not-allowed}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}input,select{accent-color:var(--primary)}svg{stroke-width:2.5}.brand{display:inline-flex;align-items:center;gap:9px;min-width:0;text-decoration:none;color:var(--foreground)}.brand>svg{width:32px;height:32px;color:var(--primary)}.brand>span{font-size:29px;font-weight:900;letter-spacing:-1.4px;line-height:1}.brand-accent{color:var(--primary)}.brand small{display:block}.play-button,.site-button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:52px;min-width:0;padding:12px 24px;background:var(--primary);color:var(--primary-foreground);border:2px solid var(--edge);border-top:2px solid #ffe699;border-radius:var(--radius);box-shadow:var(--button-shadow);font-size:18px;font-weight:800;line-height:1.25;text-decoration:none;transition:background-color .12s,transform .12s}.play-button:hover,.site-button:hover{background:#ffdb79}.play-button:active,.site-button:active{transform:translateY(2px);box-shadow:0 2px 0 var(--edge)}.play-button:disabled,.site-button:disabled{opacity:.6;transform:none}.inline-link,.text-button,.world-menu-link{font-size:14px;color:var(--muted-foreground);text-underline-offset:4px}.text-button{padding:10px;background:none;border:0;text-decoration:underline}.inline-link,.world-menu-link{display:inline-flex;align-items:center;gap:6px;padding-block:10px}.site-shell{min-height:100dvh;background:var(--background)}.site-footer,.site-header,.site-main{width:min(1320px,calc(100% - 48px));margin-inline:auto}.site-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid var(--edge)}.entry-header nav,.site-header nav{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700}.entry-header nav a,.site-header nav a{padding:12px;text-decoration:none}.entry-header nav a:hover,.site-header nav a:hover{background:var(--secondary)}.site-free{color:var(--muted-foreground);font-size:13px}.site-main{padding-block:28px 48px}.site-shell h1{font-size:clamp(28px,3vw,40px);font-weight:850;letter-spacing:-1px;line-height:1.15}.site-shell h2{font-weight:800}.catalog-heading{margin-bottom:24px}.catalog-heading h1{margin:0 0 10px}.catalog-heading p{margin:0;max-width:850px;color:var(--muted-foreground);font-size:16px;line-height:1.5}.game-grid,.play-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card{display:block;min-width:0;background:var(--secondary);border:2px solid var(--edge);border-radius:var(--radius);text-decoration:none;box-shadow:var(--button-shadow)}.game-card:hover{border-color:var(--primary)}.game-card-image{position:relative;aspect-ratio:4/3;overflow:hidden}.game-card-image img{object-fit:cover}.game-tag{position:absolute;top:8px;left:8px;max-width:calc(100% - 16px);padding:5px 7px;background:var(--primary);color:var(--primary-foreground);font-size:10px;font-weight:850;letter-spacing:.4px}.game-card-body{position:absolute;inset:auto 0 0;padding:32px 12px 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;background:linear-gradient(transparent,#101726eb)}.game-card-body h2{margin:0;font-size:clamp(18px,2vw,26px);line-height:1.12;text-shadow:0 2px 0 #111827}.game-card-body>svg{width:20px;height:20px;color:var(--primary)}.game-players{display:block;padding:9px 12px;color:var(--muted-foreground);font-size:12px;line-height:1.4}.weekly-course-link{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:24px;padding:18px 20px;background:var(--secondary);border:2px solid var(--edge);border-left:4px solid var(--primary);text-decoration:none}.weekly-course-link>span:first-child{color:var(--muted-foreground);font-size:14px}.weekly-course-link>strong{font-size:21px}.weekly-course-link>span:last-child{margin-left:auto;color:var(--primary);font-size:14px;font-weight:700}.discover-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:40px}.section-kicker{display:block;color:var(--muted-foreground);font-size:12px;font-weight:700;letter-spacing:1px}.discover-grid h2{font-size:26px;line-height:1.2;margin:12px 0}.discover-grid p{color:var(--muted-foreground);font-size:15px;line-height:1.7}.discover-grid nav{display:grid}.discover-grid nav a{display:grid;gap:5px;padding:15px 0;border-bottom:1px solid var(--border);text-decoration:none}.discover-grid nav span{color:var(--muted-foreground);font-size:14px}.site-footer{padding-block:24px;border-top:2px solid var(--edge);display:grid;grid-template-columns:1fr 2fr;gap:18px 40px}.footer-name{font-size:23px;font-weight:850;text-decoration:none}.site-footer p{font-size:13px;line-height:1.6;color:var(--muted-foreground)}.site-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px;align-content:start;font-size:13px}.independent-note{grid-column:1/-1;margin:0}.game-page-shell>.site-header{display:none}.game-page-details{scroll-margin-top:20px}.game-details{display:grid;grid-template-columns:1.2fr 1fr;gap:60px}.game-details h2,.section-heading h2{margin:0 0 16px;font-size:24px}.game-details ol{padding-left:22px;color:var(--muted-foreground);font-size:15px;line-height:1.8}.game-details li{margin-block:10px;padding-left:4px}.controls-table{font-size:14px}.controls-table>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.controls-table dt{font-weight:700}.controls-table dd{margin:0;color:var(--muted-foreground);text-align:right}.related-games{margin-top:40px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-heading h2{margin:0}.section-heading>a{display:inline-flex;gap:5px;align-items:center;font-size:14px}.article-body,.article-figure,.article-heading{max-width:900px}.article-heading h1{margin:12px 0}.article-body,.article-heading p{color:var(--muted-foreground);font-size:16px;line-height:1.8}.article-figure{margin:28px 0}.article-figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:2px solid var(--edge);border-radius:var(--radius)}.article-figure figcaption{margin-top:8px;color:var(--muted-foreground);font-size:12px}.article-body h2{margin:28px 0 12px;color:var(--foreground);font-size:24px;line-height:1.25}.article-body p{margin:12px 0}.article-body a{color:var(--primary);text-decoration:underline;text-underline-offset:4px}.table-scroll{overflow:auto;margin:20px 0;border:1px solid var(--border)}.article-body table{width:100%;border-collapse:collapse;text-align:left;min-width:500px;font-size:14px}.article-body td,.article-body th{padding:14px;border-bottom:1px solid var(--border);vertical-align:top}.article-body thead{background:var(--secondary);color:var(--foreground)}.article-sources ul{padding-left:20px}.guide-links{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:20px;margin-top:28px;border-top:1px solid var(--border)}.challenge-heading{text-align:center;padding-block:12px 24px}.challenge-time{font-size:clamp(44px,9vw,100px);line-height:1.2;font-weight:850;color:var(--primary);font-variant-numeric:tabular-nums}.challenge-expiry,.challenge-heading p{color:var(--muted-foreground);text-align:center;font-size:14px;line-height:1.6}.game-entry,.launch-area{position:relative;isolation:isolate;background:var(--background)}.game-entry{min-height:min(760px,100svh)}.launch-area{min-height:350px;display:grid;place-items:center}.launch-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.game-entry>.launch-image{filter:brightness(.55)}.launch-area>.launch-image{filter:brightness(.4)}.entry-front{position:relative;z-index:1;min-height:inherit;background:linear-gradient(0deg,#151c30aa,transparent 65%);padding-bottom:30px}.entry-front[hidden]{display:none}.entry-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 28px;background:#151c3080}.entry-menu{width:min(660px,calc(100% - 40px));margin:34px auto 0;text-align:center;color:var(--foreground)}.entry-menu>.eyebrow{display:block;margin:0 0 10px;color:var(--primary);font-size:12px;letter-spacing:1px;font-weight:800}.site-shell .entry-menu h1{font-size:clamp(32px,5vw,52px);line-height:1.1;margin:0 0 24px;text-shadow:0 3px 0 #151c30}.entry-choices{border:0;padding:0;margin:0 auto 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.entry-choice{position:relative;isolation:isolate;min-width:0;aspect-ratio:1.65;background:var(--secondary);border:3px solid var(--border);border-radius:var(--radius);padding:10px 6px;color:var(--foreground);box-shadow:var(--button-shadow);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.entry-choice img{object-fit:cover;filter:brightness(.55);z-index:-2}.entry-choice:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#11182799);z-index:-1}.entry-choice[aria-pressed=true]{border-color:var(--primary)}.entry-choice[aria-pressed=true]:before{content:"";position:absolute;top:0;right:0;width:15px;height:15px;background:var(--primary);clip-path:polygon(0 0,100% 0,100% 100%)}.entry-choice:hover{border-color:var(--primary)}.entry-choice span{font-size:17px;font-weight:800;line-height:1.15;text-shadow:0 2px 0 var(--edge);overflow-wrap:anywhere}.choice-symbol{width:25px;height:25px;color:var(--primary);filter:drop-shadow(0 2px 0 var(--edge))}.choice-survival img{object-position:25% center;filter:brightness(.35)}.choice-creative img{object-position:80% center}.entry-description{font-size:16px;line-height:1.5;color:var(--foreground);margin:0 0 22px;min-height:3em;text-shadow:0 1px 2px var(--edge)}.stable-world-copy{display:grid}.stable-world-copy>span{grid-area:1/1;min-width:0}.stable-world-copy>[aria-hidden=true]{visibility:hidden}.entry-menu>.play-button{display:flex;width:min(380px,100%);min-height:60px;margin-inline:auto;font-size:22px}.entry-menu>.play-button>svg:last-child{margin-left:auto}.entry-progress{display:block;min-height:32px;margin-top:12px;font-size:12px;color:var(--muted-foreground)}.entry-save-note{font-size:13px;line-height:1.5;margin:10px 0 0;color:var(--muted-foreground)}.entry-secondary{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 20px;margin-top:12px}.entry-menu .launch-notice{display:block;margin-top:16px;padding:12px;background:var(--secondary);border:1px solid var(--border);font-size:14px}.launch-panel{position:relative;width:min(440px,100%);display:grid;gap:16px;padding:28px;text-align:center}.track-select{display:grid;gap:8px;text-align:left}.track-select select{width:100%;min-height:44px;padding:8px;background:var(--secondary);border:1px solid var(--border)}.game-dialog[data-slot=dialog-content]{color:var(--foreground);background:var(--secondary);border:2px solid var(--edge);border-top-color:var(--border);border-radius:var(--radius);box-shadow:0 6px 0 #111827aa;gap:16px;padding:24px}.game-dialog [data-slot=dialog-title]{padding-right:44px;color:var(--foreground);font-size:26px;font-weight:800;letter-spacing:-.5px}.game-dialog [data-slot=dialog-description]{color:var(--muted-foreground);font-size:14px;line-height:1.5}.game-dialog [data-slot=dialog-close]{position:absolute;top:8px;right:8px;width:40px;height:40px;padding:8px;border:2px solid var(--edge);background:#a63842;color:#fff;border-radius:var(--radius)}.game-dialog .play-button{width:100%}.game-dialog input:not([type=checkbox],[type=range]),.game-dialog select,.result-share input{min-height:44px;padding:10px;font-size:16px}.audio-mute,.game-dialog .inventory-return,.game-dialog .secondary-action,.game-dialog input:not([type=checkbox],[type=range]),.game-dialog select,.result-share input{background:var(--muted);color:var(--foreground);border:1px solid var(--border);border-radius:var(--radius)}.inventory-tabs button,.world-mode-links a,.world-mode-links button{border-radius:var(--radius);min-height:44px;color:var(--foreground);background:var(--muted);border:2px solid var(--edge)}.inventory-tabs button[aria-pressed=true],.world-mode-links a[aria-current],.world-mode-links button[aria-pressed=true]{background:var(--accent);color:var(--foreground);border-bottom-color:var(--primary)}.block-slot,.item-slot{background:var(--muted);border:2px solid var(--border);border-radius:var(--radius);box-shadow:inset 2px 2px 0 var(--edge)}.block-slot.selected,.item-slot.held,.item-slot.selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.item-count{color:#fff;text-shadow:1px 2px 0 #000}.recipe-unavailable{opacity:.75}.crafting-dialog .recipe-detail{background:var(--muted);border:1px solid var(--border);padding:16px;border-radius:var(--radius)}.crafting-dialog .craft-button{color:var(--primary-foreground);background:var(--primary);border:2px solid var(--edge);min-height:48px;box-shadow:var(--button-shadow)}.crafting-dialog .recipe-ingredients li[data-ready=true]{color:#b6e49c}.game-dialog.settings-dialog{width:min(900px,calc(100vw - 24px))!important;max-width:900px!important}.settings-tabs{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;min-height:0}.settings-nav{display:flex;flex-direction:column;align-items:stretch;gap:6px}.settings-nav button{display:flex;gap:9px;align-items:center;min-height:48px;padding:10px 12px;color:var(--foreground);background:var(--muted);border:2px solid var(--edge);text-align:left;font-size:15px;font-weight:700}.settings-nav button[data-active]{border-left-color:var(--primary);background:var(--accent)}.settings-nav svg{width:19px;height:19px}.settings-content{min-width:0;max-height:min(460px,55dvh);overflow:auto;padding:0 10px 4px 2px;scrollbar-gutter:stable}.settings-content[hidden]{display:none}.settings-controls{margin:16px 0 0}.settings-controls>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.settings-controls dd{margin:0;color:var(--muted-foreground)}.settings-controls kbd{font-size:13px;font-weight:700}.settings-help details{border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:12px}.settings-help summary{cursor:pointer;padding-block:8px;font-weight:750}.settings-help p{color:var(--muted-foreground);line-height:1.65;font-size:14px;margin:8px 0}.settings-footer{border-top:1px solid var(--border);padding-top:14px;display:flex;justify-content:flex-end}.settings-footer .play-button{width:auto;min-height:48px;font-size:16px}.world-vignette{position:absolute;inset:0;pointer-events:none;background:#10182799}.is-playing .world-vignette{opacity:0}.game-shell .game-header{height:var(--header-height);display:flex;align-items:center;justify-content:space-between;padding:12px var(--hud-gap);gap:12px}.game-shell .game-header .brand{background:#192237c9;padding:8px 10px;gap:8px;max-width:50%}.game-shell .game-header .brand>span{font-size:23px}.game-shell .game-header .brand>svg{width:26px;height:26px}.game-shell .game-header .current-world{display:block;font-size:11px;font-weight:500;letter-spacing:0;color:var(--muted-foreground);margin-top:4px;line-height:1.2;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-shell .game-header .header-actions{display:flex;gap:7px}.hud-action{width:44px;height:44px;background:#222b40e8;color:var(--foreground);border:2px solid var(--edge);border-top-color:var(--border);border-radius:var(--radius)}.hud-action>svg{width:22px;height:22px}.hud-action>kbd{bottom:-5px;right:-2px;font-size:10px;padding:1px 4px;background:var(--secondary);border:1px solid var(--border)}.hud-action:hover{background:var(--accent)}.hud-time{border-top-color:var(--border)}.game-shell .start-panel{position:absolute;z-index:5;left:50%;right:auto;top:calc(var(--header-height) + 18px);bottom:auto;transform:translateX(-50%);width:min(540px,calc(100% - 32px));max-height:calc(100dvh - var(--header-height) - 36px);overflow:auto;padding:24px;border:2px solid var(--edge);background:var(--secondary);border-radius:var(--radius);text-align:center}.game-shell .start-panel h1{font-size:34px;font-weight:850;letter-spacing:-1px;line-height:1.15;margin:10px 0 16px}.game-shell .start-panel>p{font-size:15px;line-height:1.5;margin:12px 0;color:var(--muted-foreground)}.game-shell .start-panel>.eyebrow{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--primary)}.game-shell .start-panel .play-button{width:100%}.game-shell .start-panel .world-feature-list{display:none}.game-shell .start-panel .world-mode-links{justify-content:center}.game-shell .mission-result{background:var(--secondary);color:var(--foreground);border:2px solid var(--edge);border-radius:var(--radius)}.mission-result .play-button{width:100%}.mission-result h1{color:var(--foreground)}.game-shell .quest-card,.race-timer,.tide-hud{background:#222b40eb;border:1px solid var(--border);border-radius:var(--radius);color:var(--foreground)}.game-shell .hotbar,.resource-hotbar{background:#202638e8;border:2px solid var(--edge);border-radius:var(--radius)}.game-shell .build-modes{background:var(--muted)}.game-shell .build-modes,.game-shell .build-modes button{border-radius:var(--radius)}.game-shell .build-modes button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.game-shell.is-removing .build-modes button[aria-pressed=true]{background:#f1a28f;color:#321c18}.game-shell .hotbar-label{position:absolute;bottom:calc(100% + 8px);height:24px;margin:0;color:var(--foreground);animation:hide-item-label 2.4s step-end forwards}@keyframes hide-item-label{0%{visibility:visible}to{visibility:hidden}}.game-shell:has(.hud-vitals) .build-toolbar{margin-bottom:36px}.mission-checkpoints .current{color:var(--primary-foreground)}.hud-vitals{position:absolute;bottom:calc(var(--hud-bottom) + 76px);left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);pointer-events:none}.hud-vitals .player-food,.hud-vitals .player-hearts{margin:0;padding:5px 7px;min-width:0;background:#202638df;border-radius:var(--radius)}.hud-vitals .player-food progress{display:none}.hud-vitals .player-food svg,.hud-vitals .player-heart{width:12px;height:12px}.is-dead .hud-vitals{display:none}.entry-loading{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:20px;background:var(--background)}.loading-backdrop{object-fit:cover;filter:brightness(.35)}.loading-panel{position:relative;width:min(420px,100%);padding:28px;background:#222b40ed;border:2px solid var(--edge);text-align:center;border-radius:var(--radius)}.loading-brand{color:var(--foreground);font-size:24px;font-weight:850}.loading-panel h2{font-size:18px;margin:16px 0 24px}.loading-panel progress{display:block;width:100%;height:12px;accent-color:var(--primary)}.loading-panel progress::-webkit-progress-bar{background:var(--edge)}.loading-panel progress::-webkit-progress-value{background:var(--primary)}.loading-panel p{font-size:14px;line-height:1.5}.loading-panel .site-button{margin-top:18px}@media (max-width:1000px){.site-footer,.site-header,.site-main{width:calc(100% - 32px)}.site-free{display:none}.game-card-body h2{font-size:20px}.game-details{gap:32px}}@media (max-width:650px){.site-footer,.site-header,.site-main{width:calc(100% - 24px)}.site-header{min-height:68px;gap:12px;flex-wrap:wrap;padding-block:14px}.site-header nav{width:100%;justify-content:space-between;font-size:12px;gap:2px}.site-header nav a{padding:8px 5px}.site-main{padding-top:22px}.catalog-heading p{font-size:14px}.game-grid,.play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-card-body{padding:24px 8px 9px}.game-card-body h2{font-size:17px}.game-card-body>svg{display:none}.game-tag{font-size:8px;padding:4px;top:5px;left:5px}.game-players{font-size:11px;padding:8px}.weekly-course-link{padding:14px;gap:7px 12px}.weekly-course-link>span:last-child{margin-left:0;width:100%}.discover-grid,.game-details{grid-template-columns:1fr;gap:24px}.site-footer{grid-template-columns:1fr}.site-footer nav{justify-content:flex-start}.entry-header{padding:14px;gap:8px}.entry-header .brand>span{font-size:23px}.entry-header .brand>svg{width:26px;height:26px}.entry-header nav{font-size:12px;gap:2px}.entry-header nav a{padding:8px 4px}.entry-header nav a:last-child{display:none}.entry-menu{width:calc(100% - 28px);margin-top:24px}.entry-choices{gap:6px;margin-bottom:18px}.entry-choice{min-height:86px;aspect-ratio:1.1;padding:8px 2px;gap:7px}.entry-choice span{font-size:13px}.choice-symbol{width:22px;height:22px}.entry-description{font-size:14px;margin-bottom:18px}.entry-menu>.play-button{font-size:20px;min-height:54px}.entry-save-note{font-size:12px}.game-dialog.inventory-dialog,.game-dialog.inventory-dialog.crafting-dialog,.game-dialog.settings-dialog,.game-dialog[data-slot=dialog-content]{top:0;left:0;transform:none;translate:none;width:100%!important;max-width:none!important;height:100dvh;max-height:100dvh;border-radius:0;padding:max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))!important;overflow:auto;align-content:start}.game-dialog [data-slot=dialog-title]{font-size:24px}.settings-tabs{display:block}.settings-nav{flex-direction:row;margin-bottom:16px;gap:4px}.settings-nav button{flex:1;justify-content:center;padding:8px 4px;font-size:12px;gap:5px}.settings-nav svg{width:16px;height:16px}.settings-nav button[data-active]{border-left-color:var(--edge);border-bottom-color:var(--primary)}.settings-content{max-height:none;padding-right:0}.settings-controls>div{grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:13px}.settings-footer{position:sticky;bottom:0;background:var(--secondary)}.settings-footer .play-button{width:100%}.game-shell .desktop-action{display:none}.game-shell .mobile-menu-button{display:inline-flex}.game-shell .game-header .brand{max-width:60%;padding:7px}.game-shell .game-header .brand>span{font-size:20px}.game-shell .game-header .brand>svg{width:24px;height:24px}.hud-vitals{gap:4px;bottom:calc(var(--hud-bottom) + 52px)}.hud-vitals .player-food svg,.hud-vitals .player-heart{width:10px;height:10px}.hud-vitals .health-number,.hud-vitals .player-food small{font-size:10px}.game-shell .start-panel{padding:18px}.game-shell .start-panel h1{font-size:28px}}.game-shell.is-touch .hud-vitals{bottom:calc(var(--hud-bottom) + clamp(44px, 9vw, 66px));gap:4px}.game-shell.is-touch .hud-vitals .player-food,.game-shell.is-touch .hud-vitals .player-hearts{padding:4px}.game-shell.is-touch .mobile-action-buttons button{border-radius:var(--radius);background:#222b40de;border:2px solid var(--border)}@media (max-height:500px){.entry-header{padding-block:12px}.entry-menu{margin-top:18px}.game-entry{min-height:100svh}.game-shell .start-panel{top:calc(var(--header-height) + 4px);max-height:calc(100dvh - var(--header-height) - 14px);padding:16px}.game-shell .start-panel h1{font-size:26px}.game-shell .hud-vitals{bottom:calc(var(--hud-bottom) + 52px)}.game-shell.is-touch .hud-vitals{bottom:calc(var(--hud-bottom) + 64px)}.settings-content{max-height:43dvh}}@media (prefers-reduced-motion:reduce){.play-button,.site-button{transition:none}}@media (max-width:650px){.game-dialog.settings-dialog{display:flex;flex-direction:column;overflow:hidden}.settings-tabs{display:flex;flex-direction:column;flex:1;min-height:0}.settings-footer,.settings-nav{flex-shrink:0}.settings-content{flex:1;min-height:0;max-height:none}.settings-footer{position:static}}.crafting-dialog .recipe-ingredients li{color:#ffc394}.crafting-dialog .craft-button:disabled{background:#46516c;color:#c4cde1;box-shadow:none;border-color:#647496}.result-symbol{color:var(--primary)}.furnace-fire.is-burning{color:#ffc394}@media (max-width:650px){.hud-vitals .health-number,.hud-vitals .player-food small{display:none}.game-dialog.inventory-dialog.crafting-dialog{display:flex;flex-direction:column;overflow:hidden}.crafting-dialog .crafting-workspace{flex:1;min-height:0;grid-template-rows:minmax(90px,1fr) auto}.crafting-dialog .recipe-book{min-height:0;max-height:none;height:100%}}@media (max-height:500px),(max-width:650px){.crafting-dialog .recipe-detail{grid-template-columns:120px minmax(0,1fr);padding:10px;gap:6px 10px}.crafting-dialog .crafting-preview{grid-row:1/span 2;gap:5px;padding:0}.crafting-dialog .crafting-preview>svg{width:12px}.crafting-dialog .recipe-pattern{max-width:66px}.crafting-dialog .recipe-result{width:32px;height:32px}.crafting-dialog .recipe-detail h2{font-size:16px;line-height:1.2}.crafting-dialog .recipe-description{display:none}.crafting-dialog .recipe-ingredients{font-size:12px;margin:0;gap:3px}.crafting-dialog .craft-button,.crafting-dialog .crafting-feedback{grid-column:1/-1}.crafting-dialog .crafting-feedback{min-height:0;font-size:12px}}@media (max-width:650px){.crafting-dialog>:not(.crafting-panel){flex-shrink:0}.crafting-dialog .crafting-panel{display:flex;flex-direction:column;flex:1;min-height:0}.crafting-dialog .crafting-panel>p{flex-shrink:0}.crafting-dialog .recipe-book{grid-auto-rows:minmax(100px,max-content)}}.game-shell{--resource-bar-width:min(720px,calc(100vw - 68px));--resource-slot-size:calc((var(--resource-bar-width) - 46px) / 9);--vital-icon-size:18px}.game-shell.game-shell .resource-hotbar{width:var(--resource-bar-width);max-width:none;padding:5px;gap:4px;border-width:2px}.game-shell.game-shell .hud-vitals{bottom:calc(var(--hud-bottom) + var(--resource-slot-size) + 22px);gap:8px}.game-shell.game-shell .hud-vitals .player-food,.game-shell.game-shell .hud-vitals .player-hearts{padding:5px 7px}.game-shell.game-shell .hud-vitals .player-food svg,.game-shell.game-shell .hud-vitals .player-heart{width:var(--vital-icon-size);height:var(--vital-icon-size);flex:0 0 var(--vital-icon-size)}@media (max-width:650px){.game-shell{--vital-icon-size:12px}.game-shell.game-shell .hud-vitals{gap:4px}.game-shell.game-shell .hud-vitals .player-food,.game-shell.game-shell .hud-vitals .player-hearts{padding:5px 4px}.game-shell.game-shell .hud-vitals .heart-row,.game-shell.game-shell .hud-vitals .player-food output>span{gap:1px}}@media (max-height:500px) and (min-width:651px){.game-shell{--resource-bar-width:min(540px,calc(100vw - 68px));--vital-icon-size:14px}}.sandbox-lobby{min-height:100dvh;color:#fff;background:linear-gradient(#1b233bcf,#1b233bef),url(/images/my-world-cave-v1.png) 50%/cover fixed;padding:24px clamp(16px,5vw,80px)}.sandbox-lobby nav{display:flex;justify-content:space-between;gap:16px}.sandbox-entry{max-width:760px;margin:48px auto;text-align:center}.sandbox-entry h1{font-size:clamp(30px,5vw,56px);margin:0 0 24px}.sandbox-entry h1 span{color:#ffd34d}.sandbox-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sandbox-styles button,.sandbox-worlds article,.sandbox-worlds>button{background:#303b5d;border:2px solid #61708e;color:white;padding:16px}.sandbox-styles button{display:grid;gap:8px;min-height:90px}.sandbox-styles button[aria-pressed=true]{border-color:#ffd34d;background:#514b32}.sandbox-description{min-height:4.5em;font-size:18px}.sandbox-name{display:grid;gap:8px;max-width:360px;margin:20px auto;text-align:left}.sandbox-name input{background:#303b5d;border:2px solid #61708e;padding:10px;color:white;font-size:18px;width:100%}.sandbox-lobby .help-note,.sandbox-name small{color:#ccd4e6}.sandbox-entry>.play-button{width:100%;justify-content:center}.sandbox-directory{max-width:1100px;margin:auto}.sandbox-worlds{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:20px 0}.sandbox-worlds article button{padding:10px 22px;background:#ffd34d;color:#20283b;font-weight:700}.sandbox-lobby button:disabled{opacity:.55;cursor:wait}.sandbox-player-list{list-style:none;padding:0;display:grid;gap:6px;max-height:200px;overflow:auto}.sandbox-player-list li{display:flex;justify-content:space-between;padding:8px;background:#303b5d;color:white}@media(max-width:450px){.sandbox-entry{margin-top:28px}.sandbox-styles{gap:4px}.sandbox-styles button{padding:10px 4px;font-size:14px}.sandbox-description{min-height:6em}}.sandbox-styles{border:0;padding:0;min-width:0}.sandbox-directory h2,.sandbox-directory h3,.sandbox-entry h1{font-weight:800}.sandbox-directory h2{font-size:24px;margin:18px 0 10px}.sandbox-directory h3{font-size:20px;margin-bottom:8px}.sandbox-description{padding-top:14px;display:grid}.sandbox-description>span{grid-area:1/1;visibility:hidden}.sandbox-description>span[aria-hidden=false]{visibility:visible}