/* Approved game palette; game sprites retain their original colours. */
:root{--bg:#1a1a1c;--panel:#222224;--line:#39383e;--text:#f2f0e5;--dim:#b8b5ac;--accent:#eeeadf;--ink:#19191b;color-scheme:dark}
body.site-shell{background:var(--bg);color:var(--text);font-size:16px}
.site-shell .site-header{padding:0 18px;min-height:54px;gap:22px;background:#181717;border-bottom:2px solid #111;flex-wrap:nowrap}
.site-shell .wordmark{font-size:20px;color:var(--text);white-space:nowrap;letter-spacing:0}
.site-shell .wordmark .cell-mark{font-size:0;background:transparent url('indev/1.png') center/contain no-repeat;width:28px;height:28px;flex-shrink:0;border:0;image-rendering:pixelated}
.site-shell .tabs{gap:10px;align-items:center}.site-shell .tabs button{font-size:15px;color:var(--dim);padding:6px 12px;min-height:38px;border:2px solid transparent}
.site-shell .tabs [aria-selected=true]{border-color:var(--text);background:#353439;color:var(--text)}.site-shell .tabs [aria-selected=true]::after{display:none}
.site-shell .tabs button:hover{color:var(--text);background:#29282b}.site-shell .language{margin-left:auto}
.site-shell .language select,.site-shell #nav-sound{background:#242325;color:var(--text);border:1px solid #343337;border-radius:0;color-scheme:dark;max-width:120px}
.site-shell #nav-sound:hover{background:#333236;border-color:#aaa}.site-shell #nav-sound:focus-visible{outline-color:var(--text)}
.site-shell .workspace{width:100%;max-width:none;padding:0;margin:0;position:relative}
.site-shell .studio{margin:0}.board-viewport{height:calc(100dvh - 54px);min-height:600px;aspect-ratio:auto;border:0}
.board-stage,.editor-mode .board-stage{background:#191919 url('indev/ui/Grid.png') repeat;background-size:64px 64px}
.site-shell .source-note,.site-shell .board-status,#hud-eye,#hud-steps{display:none}
.site-shell #notice:not(:empty),.audio-notice:not([hidden]){position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:15;padding:8px 16px;background:#222;border:1px solid #aaa;color:#eee;max-width:90vw}
.site-shell footer{max-width:none;width:100%;margin:0;padding:20px;border:0;background:#1a1a1c;color:var(--dim);font-size:14px;text-align:center}
.site-shell footer a{color:var(--text)}.site-shell .cell-strip{display:none}.footer-credit{justify-content:center}
#original-panel{min-height:calc(100dvh - 54px);display:flex;align-items:center;justify-content:center;background:#666 image-set(url('original-background-1280.avif') type('image/avif'),url('original-background-1280.webp') type('image/webp')) center top/cover;background-blend-mode:multiply;position:relative;isolation:isolate}
#original-panel::before{content:'';position:absolute;inset:0 auto;left:50%;transform:translateX(-50%);width:min(1080px,90vw);background:#292a28;z-index:-1}
.original-launch,#original-game{width:min(1080px,90vw);flex:none;aspect-ratio:16/9;height:auto;margin:auto}
.original-launch button{left:38.3%;top:53.6%;width:23.4%;height:15.3%;background: url('original-menu-1280.webp') 50% 63.28% / 427.35% 653.59%;transition:transform .15s}
.original-launch button:hover,.original-launch button:focus-visible{background-image:url('original-menu-1280.webp');transform:scale(1.06);outline:2px solid var(--text);outline-offset:0}
.original-launch button:active{transform:scale(.97)}.original-launch button::after{content:attr(title);position:absolute;bottom:110%;left:50%;transform:translateX(-50%);font-size:14px;background:#222;color:var(--text);padding:4px 10px;opacity:0;white-space:nowrap}.original-launch button:hover::after,.original-launch button:focus-visible::after{opacity:1}
.campaign-hud{position:absolute;left:24px;top:18px;z-index:6;background:#171717e8;border:2px solid #111;padding:8px 12px;max-width:65%}
.site-shell .level-navigation{gap:8px}.site-shell .level-navigation select{flex:1;min-width:150px;max-width:310px}
.site-shell .level-navigation button,.site-shell .level-navigation select{border:1px solid #39383e;border-radius:0;background:#242325;color:var(--text);font-size:14px;min-height:32px;padding:4px 8px;color-scheme:dark}
.site-shell .level-summary{margin:6px 0 0;gap:10px}.site-shell .description,.site-shell .subtle{color:var(--dim);font-size:13px}
#hud-help,#hud-settings{width:44px;height:44px;top:18px;filter:none}#hud-help{right:76px}#hud-settings{right:20px}
.studio .sim-toolbar{width:152px;height:152px;left:24px;bottom:24px;background:transparent;padding:0}
.studio .sim-toolbar .game-icon{width:64px;height:64px;min-width:64px;background-size:100% 100%;filter:none}
.sim-toolbar #reset{left:0;bottom:76px}.sim-toolbar #step{left:76px;bottom:76px}.sim-toolbar #play{left:0;bottom:0}.sim-toolbar #pause{left:76px;bottom:0}
.studio .sim-toolbar .game-icon:hover{transform:scale(1.06)}
.board-viewport .palette,.editor-mode .board-viewport .palette{left:50%;right:auto;transform:translateX(-50%);bottom:42px;width:max-content;max-width:calc(100% - 400px);height:100px;padding:10px;gap:8px;border-radius:0;background:#101011dd}
.board-viewport .palette button,.editor-mode .board-viewport .palette button{flex:0 0 64px;width:64px;height:76px;background:transparent;border:2px solid transparent}
.board-viewport .palette img,.editor-mode .board-viewport .palette img,.board-viewport .palette .freeze-icon{width:56px;height:56px;filter:none}
.editor-mode .board-viewport .palette button>span:not(.count){display:block;font-size:12px;line-height:1.4}.board-viewport .palette button[aria-pressed=true]{border-color:#eee;background:#353439}
.board-viewport .palette .count{top:-4px;right:0}.board-viewport .palette .count .hud-digit{height:20px;filter:none}
.board-fit{position:absolute;bottom:20px;right:20px;z-index:5;font-size:14px}
body.editor-mode{height:auto;min-height:100dvh;overflow:auto;display:block}.editor-mode .site-header{padding-inline:18px}.editor-mode .workspace{display:block}.editor-mode .workspace> :not(.editor-shell){display:revert!important}.editor-mode .workspace>[hidden]{display:none!important}.editor-mode footer{display:block!important}
.editor-mode .board-viewport{height:calc(100dvh - 54px);min-height:640px}.editor-mode #hud-help,.editor-mode #hud-settings{top:82px}
.editor-topbar{position:absolute;left:18px;right:18px;top:16px;z-index:7;display:flex;align-items:center;gap:8px;pointer-events:none}.editor-topbar>*{pointer-events:auto}
.tool-buttons{display:flex;gap:8px}.editor-topbar button{padding:6px 10px;background:#252427;color:var(--text);border:2px solid #343338;font-size:14px;min-height:38px}
.editor-topbar button[style]::before{content:'';display:inline-block;vertical-align:middle;width:18px;height:18px;margin-right:6px;background:var(--tool-icon) center/contain no-repeat}
.editor-topbar button[aria-pressed=true]{border-color:var(--text);background:#353439}.editor-menus{margin-left:auto;display:flex;gap:8px}
.editor-filter{left:210px;bottom:158px;z-index:4}.editor-filter input{font-size:12px;width:180px}.editor-filter div{gap:10px}.editor-filter button{font-size:13px;min-height:24px}.editor-filter button[aria-pressed=true]{color:#fff;text-decoration:underline}
.editor-rotation{position:absolute;bottom:156px;left:50%;transform:translateX(-50%);z-index:4;background:#19191be8;padding:4px 8px;margin:0;gap:16px}.editor-rotation button{font-size:13px;min-height:28px;background:#252427;border:1px solid #333}
.workspace-dialog{width:min(620px,94vw);max-height:85dvh;overflow:auto;border:2px solid #555259;border-radius:0;padding:20px;background:#1b1a1d;color:var(--text);font:inherit;box-shadow:0 8px 0 #111}
.workspace-dialog::backdrop{background:#0009}.workspace-dialog header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #444;margin-bottom:16px}.workspace-dialog h2{font-size:22px;margin:0}.workspace-dialog header button{background:none;border:0;font-size:24px}
.workspace-dialog input,.workspace-dialog textarea,.workspace-dialog select{font:inherit;font-size:14px;width:100%;background:#121214;color:var(--text);border:1px solid #555;padding:8px;border-radius:0}.workspace-dialog label{display:grid;gap:6px;margin:8px 0}.workspace-dialog textarea{min-height:100px;resize:vertical}
.workspace-dialog button,.board-fit{background:#28272b;color:var(--text);border:1px solid #555;border-radius:0;font-size:14px;min-height:36px;padding:6px 12px}.workspace-dialog .document-bar{display:flex;flex-wrap:wrap;gap:10px}.workspace-dialog .document-bar label:first-child{width:100%}.workspace-dialog #level-name{width:100%}.workspace-dialog .document-bar input[type=number]{width:100px}.workspace-dialog #editor-actions{display:block}.workspace-dialog .description-field{display:grid}
[hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:2px solid #eee;outline-offset:3px}
@media(max-width:1100px){.site-shell .site-header{gap:10px}.site-shell .wordmark{font-size:16px}.site-shell .tabs{gap:2px}.site-shell .tabs button{padding:4px 7px}.editor-topbar{flex-wrap:wrap}.editor-menus{margin-left:0}.editor-filter{left:180px}.editor-rotation{left:auto;right:20px;transform:none}.board-viewport .palette,.editor-mode .board-viewport .palette{left:180px;right:16px;transform:none;max-width:none;width:auto}.campaign-hud{max-width:72%}}
@media(max-width:700px){.site-shell .site-header{flex-wrap:wrap;padding:8px 12px;gap:4px;min-height:94px}.site-shell .site-header nav{order:3;width:100%;margin:0}.site-shell .tabs{width:100%;justify-content:space-between}.site-shell .tabs button{min-height:30px;font-size:13px}.site-shell .language{margin-left:auto}.site-shell .language select{max-width:90px}.site-shell .board-viewport,.editor-mode .board-viewport{height:calc(100dvh - 94px);min-height:560px}.site-shell .sim-toolbar{left:12px;bottom:16px;transform:scale(.75);transform-origin:bottom left}.board-viewport .palette,.editor-mode .board-viewport .palette{left:132px;right:10px;bottom:32px;height:84px}.editor-filter{left:132px;bottom:126px}.editor-rotation{bottom:178px;right:12px}.editor-topbar{left:10px;right:10px;top:10px;gap:4px}.editor-topbar button{font-size:12px;padding:4px 6px;min-height:30px}.editor-topbar button[style]::before{width:14px;margin-right:3px}.tool-buttons{gap:4px}.editor-mode #hud-help,.editor-mode #hud-settings{top:104px}.campaign-hud{top:10px;left:10px;max-width:calc(100% - 110px);padding:6px}.site-shell .level-navigation{gap:4px}.site-shell .level-navigation select{min-width:100px;width:100px;font-size:12px}.site-shell .level-summary{display:block}.site-shell .description{font-size:11px}.campaign-hud #restart{display:none}.board-fit{bottom:0;right:12px;padding:2px 8px;min-height:26px}#original-panel{min-height:calc(100dvh - 94px)}}
.community-page{max-width:1180px;margin:auto;padding:30px 24px;min-height:calc(100dvh - 170px)}.community-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.workspace .community-heading h1{font-size:26px}.community-heading p,.map-card p{color:var(--dim);font-size:14px}.community-page button{background:#27262a;color:var(--text);border:1px solid #555;font-size:14px;border-radius:0;padding:6px 12px;min-height:36px}.community-filters{display:flex;gap:12px;margin:22px 0;padding:12px;background:#222224;border:1px solid #39383e}.community-filters input{flex:1;max-width:340px;background:#151517;color:var(--text);border:1px solid #444}.community-filters select{font-size:14px;background:#252427;border:1px solid #444;color:var(--text)}.map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.map-card{padding:14px;border:1px solid #39383e;background:#222224;min-width:0}.map-card canvas,.map-dialog canvas{width:100%;height:auto;image-rendering:pixelated;display:block;border:1px solid #39383e}.map-card h2{font-size:20px;overflow-wrap:anywhere;margin:14px 0 6px}.map-actions,.map-dialog-actions{display:flex;flex-wrap:wrap;gap:8px}.map-actions button:first-child{border:2px solid #eeeadf}.empty-maps{grid-column:1/-1;padding:60px 20px;text-align:center;color:var(--dim);border:1px solid #39383e}.map-description{white-space:pre-wrap;overflow-wrap:anywhere}.map-message{color:var(--text)}.map-dialog .map-code{font-size:12px;min-height:70px}.map-dialog .map-url{font-size:12px}.map-dialog-preview{margin-bottom:12px}@media(max-width:850px){.map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.community-page{padding:20px 14px}.community-heading{align-items:flex-start}.community-heading button{white-space:nowrap}.map-grid{grid-template-columns:1fr}.community-filters{flex-wrap:wrap}.community-filters input{min-width:0;width:100%}}
.editor-mode .board-viewport .palette button>span:not(.count){max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-shell .wordmark .cell-mark{box-shadow:none}.tool-panel #editor-tools>h2{display:none}.studio .sim-toolbar #reset[data-active=false]{background-image:url('indev/ui/save_up.png')}
.site-shell #puzzles-panel .level-navigation button,.site-shell #puzzles-panel .level-navigation select{background:#242325;color:#f2f0e5;border:1px solid #39383e;border-radius:0;color-scheme:dark}.site-shell #puzzles-panel .level-navigation button:hover{border-color:#aaa;background:#353439;color:#fff}
body.site-shell .workspace-dialog :is(#level-name,#width,#height){background:#121214;color:#f2f0e5;border:1px solid #555;border-radius:0}body.site-shell .workspace-dialog :is(#resize,#new){background:#28272b;color:#f2f0e5;border:1px solid #555;border-radius:0}

#play-panel{padding:12px 24px;background:#1b1a1d;border-bottom:1px solid #39383e}#play-panel button{font:inherit;font-size:14px;min-height:34px;padding:6px 10px;color:var(--text);background:#27262a;border:1px solid #555;cursor:pointer}.play-load #play-import{max-width:760px}.play-load label[for=play-code]{display:block;font-size:14px;color:var(--dim)}.play-load textarea{display:block;width:100%;min-height:64px;margin:8px 0;font:inherit;font-size:14px;background:#121214;color:var(--text);border:1px solid #555}.play-load #play-import>div,.play-map-actions{display:flex;flex-wrap:wrap;gap:8px}.play-map{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.play-map>span{font-size:13px;color:var(--dim)}#play-answer{width:100%;padding:10px;border-top:1px solid #444}#play-answer-text{white-space:pre-wrap;overflow-wrap:anywhere}#play-message:empty{display:none}#play-empty{color:var(--dim)}body[data-tab=play] .board-viewport{height:calc(100dvh - 180px)}@media(max-width:700px){#play-panel{padding:10px}.site-shell .tabs button{padding:4px;font-size:12px}.play-map-actions{width:100%}}
body.site-shell[data-tab=play] .board-viewport{height:calc(100dvh - var(--play-chrome-height,180px));min-height:320px}
.map-card .map-category{font-size:13px;color:var(--dim)}.map-card a{color:inherit;text-decoration:underline;text-underline-offset:3px}

.community-filters{flex-wrap:wrap}.category-tags{display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%}.community-page .category-tags button{border-radius:18px;padding:6px 14px;background:transparent;border-color:#555}.community-page .category-tags button[aria-pressed=true]{background:#45434a;border-color:#eeeade;color:#fff}.category-tags button:focus-visible{outline:2px solid #eeeade;outline-offset:3px}

/* Nine-slice frame keeps the stepped corners square at every button width. */
body.site-shell :is(button:not(.game-icon):not(.original-launch button):not(.tabs button):not(.palette button):not(.editor-filter button),.tabs button[aria-selected=true],.palette button[aria-pressed=true],.wiki-jump a,select){
 border:6px solid transparent!important;
 border-image:url('indev/ui/pixel-frame-muted.svg') 10 / 6px / 0 stretch!important;
 border-radius:0!important;
}
body.site-shell :is(button:not(.game-icon):not(.original-launch button):not(.tabs button):not(.palette button):not(.editor-filter button),.tabs button[aria-selected=true],.palette button[aria-pressed=true],.wiki-jump a,select):is(:hover,:focus-visible,[aria-pressed=true],[aria-selected=true]):not(:disabled){
 border-image-source:url('indev/ui/pixel-frame.svg')!important;
}
body.site-shell :is(.tabs button[aria-selected=true],.palette button[aria-pressed=true]){border-image-source:url('indev/ui/pixel-frame.svg')!important}

html{scrollbar-gutter:stable}body.site-shell.share-dialog-open{overflow:hidden}.map-dialog{overscroll-behavior:contain}

/* The extended editor palette keeps full-size sprites in two scrollable rows. */
.editor-mode .board-viewport .palette.palette-plus{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,76px);grid-auto-flow:column;grid-auto-columns:64px;align-content:start;height:198px;overflow-x:auto;overflow-y:hidden}
.editor-mode .board-viewport:has(.palette-plus) .editor-filter{bottom:256px}
.editor-mode .board-viewport:has(.palette-plus) .editor-rotation{bottom:254px}
@media(max-width:700px){
 .editor-mode .board-viewport:has(.palette-plus) .editor-filter{bottom:244px}
 .editor-mode .board-viewport:has(.palette-plus) .editor-rotation{bottom:344px}
}
.editor-load::before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' shape-rendering='crispEdges'%3E%3Cpath fill='none' stroke='%23eeeade' stroke-width='2' d='M11 3h6v14H3v-5M1 7h10M7 3l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat}
.editor-selection-tools{position:absolute;top:76px;left:18px;z-index:5;max-width:calc(100% - 150px);background:#19191be8;padding:4px;gap:6px}
@media(max-width:1100px){.editor-selection-tools{top:120px}}
@media(max-width:700px){.editor-selection-tools{top:150px;left:10px;max-width:calc(100% - 20px)}}
.workspace-dialog #level-code{box-sizing:border-box;width:100%;min-height:220px;height:32dvh;max-height:50dvh;resize:vertical;background:#101012;color:#eeeade;font:16px/1.5 monospace;padding:12px;border:1px solid #555}
.workspace-dialog #editor-actions details{margin-top:12px}
.workspace-dialog #editor-actions .file-toolbar{padding:4px 0;border:0}

/* Reserve measured chrome heights so fixed navigation never covers content. */
:root{--header-height:54px;--footer-height:80px;scroll-padding-top:calc(var(--header-height) + 16px);scroll-padding-bottom:calc(var(--footer-height) + 16px)}
body.site-shell{box-sizing:border-box;padding-top:var(--header-height);padding-bottom:var(--footer-height)}
body.site-shell>.site-header{position:fixed;inset:0 0 auto;z-index:30;width:100%;box-sizing:border-box}
body.site-shell>footer{position:fixed;inset:auto 0 0;z-index:30;box-sizing:border-box;padding:8px 16px;border-top:1px solid var(--line);max-height:30dvh;overflow:auto}
body.site-shell>footer .footer-credit{margin:4px 0 8px;line-height:1.5;gap:6px 12px}
body.site-shell>footer .footer-links{margin:0;line-height:1.5}
body.site-shell .board-viewport{height:calc(100dvh - var(--header-height) - var(--footer-height));min-height:480px}
body.site-shell[data-tab=play] .board-viewport{height:calc(100dvh - var(--play-chrome-height,180px) - var(--footer-height));min-height:320px}
body.site-shell #original-panel{min-height:calc(100dvh - var(--header-height) - var(--footer-height))}
body.site-shell .wiki-directory{top:calc(var(--header-height) + 16px);max-height:calc(100dvh - var(--header-height) - var(--footer-height) - 32px)}
.site-shell #notice:not(:empty),.audio-notice:not([hidden]){bottom:calc(var(--footer-height) + 12px)}
@media(max-width:900px){body.site-shell .wiki-directory{position:static;max-height:240px}}
@media(max-width:700px){body.site-shell>footer{font-size:11px;padding:6px 10px}.site-shell .footer-dot{display:none}}
/* Keep a usable drawing area on phones; advanced selection actions are contextual. */
@media(max-width:700px){
 body.site-shell>footer .footer-credit{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:2px 8px;font-size:9px;margin:0 0 4px}
 body.site-shell>footer .footer-credit>span{display:inline}
 body.site-shell>footer .footer-dot{display:none}
 body.site-shell>footer .footer-links{padding:0;font-size:11px}
 .editor-selection-tools{display:none}
 .board-viewport:has([data-tool=select][aria-pressed=true]) .editor-selection-tools{display:flex;top:116px}
 .editor-topbar{gap:3px}.editor-topbar button{padding:3px 5px;min-height:28px;font-size:11px}
 .editor-topbar .tool-buttons{gap:3px}
 .editor-mode #hud-help,.editor-mode #hud-settings{top:76px;width:30px;height:30px}
 .editor-mode #hud-help{right:48px}.editor-mode #hud-settings{right:12px}
 .editor-mode .editor-filter input,.editor-mode .editor-filter>div{display:none}
 .editor-mode .editor-filter label{font-size:0}.editor-mode .editor-filter select{font-size:12px;min-height:32px}
 .editor-mode .board-viewport:has(.palette-plus) .editor-filter,.editor-mode .editor-filter{bottom:242px;left:12px}
 .editor-mode .board-viewport:has(.palette-plus) .editor-rotation,.editor-mode .editor-rotation{bottom:242px;right:12px;gap:8px;padding:0}
 .editor-mode .editor-rotation button{min-height:30px;padding:3px 7px}
 .editor-mode .board-viewport .palette{left:92px}
 .editor-mode .sim-toolbar{transform:scale(.52);left:8px}
}
.site-shell .language .account-nav{width:auto;flex-wrap:nowrap;gap:8px;white-space:nowrap}
.site-shell .account-nav>span{max-width:100px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
 body:is([data-tab=puzzles],[data-tab=play]) .board-viewport .palette{left:124px;right:10px;bottom:54px;transform:none;width:auto;max-width:none;height:84px;padding:8px;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar{width:104px;height:104px;left:10px;bottom:54px;transform:none;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar .game-icon{width:48px;height:48px;min-width:48px;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar #reset{left:0;bottom:56px;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar #step{left:56px;bottom:56px;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar #play{left:0;bottom:0;}
 body:is([data-tab=puzzles],[data-tab=play]) .sim-toolbar #pause{left:56px;bottom:0;}
 body:is([data-tab=puzzles],[data-tab=play]) .board-fit{min-height:44px;bottom:4px;}
}
.site-shell .account-nav button{min-height:34px;padding:4px 10px;font-size:12px;white-space:nowrap}
@media(max-width:700px){.site-shell .account-nav>span{max-width:72px}.site-shell .language .account-nav{gap:4px}.site-shell .account-nav button{padding-inline:6px}}
@media(max-width:420px){.site-shell .account-nav>span{display:none}.site-shell .language{gap:4px}.site-shell .account-nav button{font-size:11px;padding-inline:4px}.site-shell #nav-sound-label{display:none}}

.map-publication{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.map-publication label{min-width:0}.map-publication select{width:100%;min-width:0;font-size:13px}.map-publication p{grid-column:1/-1;margin:0}@media(max-width:560px){.map-publication{grid-template-columns:1fr}}

body:is([data-tab=puzzles],[data-tab=play]) #palette{touch-action:none;user-select:none;-webkit-user-select:none}
/* Reserve the language control before locale and account hydration. */
.site-shell .language select{width:120px}
@media(max-width:700px){
 .site-shell .language select{width:90px}
 #original-panel{background-image:image-set(url('original-background-640.avif') type('image/avif'),url('original-background-640.webp') type('image/webp'))}
 .original-launch button,.original-launch button:hover,.original-launch button:focus-visible{background-image:url('original-menu-640.webp')}
}
