.game-toolbar{display:flex;align-items:center;gap:6px;margin:0 0 12px;flex-wrap:wrap}.game-toolbar button{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:2px;font-size:12px;font-weight:600;color:var(--ink)}.game-toolbar button:hover{background:var(--line)}.game-toolbar button:first-child{border-color:#a27a26}.game-toolbar button:last-child{margin-left:auto}.game-dialog button:disabled,.game-panel button:disabled,.game-toolbar button:disabled{opacity:.45;cursor:not-allowed}.game-dialog{width:min(880px,calc(100% - 40px));max-height:min(840px,90dvh);padding:0;margin:auto;background:#1a1e24;color:#f0f3f7;border:1px solid #4d5560;border-radius:4px;box-shadow:0 24px 100px #0009;overflow:hidden}.game-dialog::backdrop{background:#070b11c9}.game-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #ffd23f;outline-offset:3px}.dialog-header{padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #3c424c}.dialog-header .eyebrow{color:#b6bdc7;font-size:10px}.dialog-header h2{font:700 36px/1 var(--serif);margin:8px 0 0;text-transform:uppercase}.dialog-header .icon-button{flex-shrink:0;color:#e5eaf2;border:1px solid #505965}.dialog-layout{display:grid;grid-template-columns:172px minmax(0,1fr)}.dialog-nav{padding:16px 10px;background:#14181d;border-right:1px solid #3c424c;display:flex;flex-direction:column;align-items:stretch;gap:4px}.dialog-nav button{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;font-size:12px;font-weight:600;color:#bdc5d0;padding:13px 10px;border-left:2px solid transparent}.dialog-nav button:hover{background:#252c35;color:white}.dialog-nav button[aria-pressed=true]{border-left-color:#ffd23f;background:#30302a;color:#ffd969}.dialog-nav svg{opacity:0;flex-shrink:0}.dialog-nav [aria-pressed=true] svg{opacity:1}.dialog-content{min-width:0;padding:28px;max-height:calc(min(840px, 90dvh) - 116px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#65707e #1a1e24}.options-heading h3{font:700 28px/1.1 var(--serif);text-transform:uppercase;margin:0 0 10px}.options-heading p,.share-block>p{font-size:14px;line-height:1.55;color:#bdc5d0;margin:0 0 24px}.game-dialog input:not([type=checkbox]):not([type=range]):not([type=file]),.game-dialog select,.game-dialog textarea{background:#101419;border:1px solid #59616d;color:#f0f3f7;border-radius:2px;padding:10px 11px;font:400 16px/1.35 var(--sans);min-width:0}.game-dialog textarea{width:100%;resize:vertical;min-height:72px}.game-dialog input::placeholder,.game-dialog textarea::placeholder{color:#99a5b4;opacity:1}.game-dialog label{font-size:13px}.game-dialog .primary-button,.game-dialog .secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;font-size:12px;font-weight:600;padding:10px 14px}.secondary-button{border:1px solid #596470;color:#e2e8f0;border-radius:2px}.secondary-button:hover{background:#303944}.preset-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 24px;border-top:1px solid #434b57;border-left:1px solid #434b57}.preset-strip button{text-align:left;padding:12px 10px;border-right:1px solid #434b57;border-bottom:1px solid #434b57}.preset-strip button:hover{background:#303944}.preset-strip strong{display:block;font-size:13px}.preset-strip span{display:block;margin-top:5px;font-size:10px;color:#b6c0cd;white-space:nowrap}.builder-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.builder-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600}.builder-fields input{width:100%}.density-row{display:flex;justify-content:space-between;gap:10px;margin:12px 0 20px;color:#bbc4d0;font-size:11px}.density-row strong{font-weight:500}.option-switch{display:flex;gap:13px;align-items:flex-start;margin:18px 0;cursor:pointer}.option-switch input{width:18px;height:18px;flex-shrink:0;accent-color:#ffd23f;margin:2px 0 0}.option-select strong,.option-switch strong{display:block;font-weight:600;line-height:1.5}.option-select small,.option-switch small,.seed-field small{display:block;font-size:12px;font-weight:400;color:#b5bfcc;line-height:1.5;margin-top:3px}.seed-field{display:flex;flex-direction:column;gap:7px;margin:24px 0 20px;font-weight:600}.seed-field>span{color:#b5bfcc;display:inline;font-weight:400;font-size:11px}.option-error,.option-note{font-size:12px;line-height:1.5;margin:14px 0;color:#b9c5d3}.option-error{color:#ffb5a6}.favorites{border-top:1px solid #434b57;margin-top:28px;padding-top:24px}.game-dialog h4{font-size:14px;font-weight:600;margin:0 0 13px}.favorites h4{display:flex;justify-content:space-between}.favorites h4 span{color:#adb9c8;font-size:11px}.favorite-row{display:flex;align-items:center;gap:8px;border-top:1px solid #373f49;padding:8px 0}.favorite-row>button:first-child{text-align:left;flex:1 1;padding:5px 0}.favorite-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.favorite-row span{display:block;color:#b5bfcc;font-size:11px;margin-top:4px}.save-preset{display:flex;gap:8px;margin-top:13px}.save-preset input{width:0;flex:1 1}.settings-group{border:0;border-top:1px solid #434b57;padding:12px 0 6px;margin:28px 0 0}.settings-group legend{padding-right:12px;color:#ffd969;font-size:11px;font-weight:600;letter-spacing:1px;text-transform:uppercase}.option-select{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:15px 0}.option-select select{max-width:50%;font-size:13px}.option-range{display:block;margin:22px 0}.option-range>span{display:flex;justify-content:space-between;gap:10px}.option-range strong{font-size:12px;color:#c7d2de}.option-range input{display:block;width:100%;accent-color:#ffd23f;margin-top:14px}.shortcut-note{font-size:11px;color:#b5bfcc;line-height:2.5}.shortcut-note kbd{background:#101419;color:#e2e8f0;border:1px solid #59616d;font-size:10px;border-radius:2px;padding:2px 4px;margin:0 2px}.share-block{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid #434b57}.option-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.file-button{position:relative;overflow:hidden;cursor:pointer}.file-button input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-button:focus-within{outline:2px solid #ffd23f;outline-offset:3px}.editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}.editor-toolbar label{display:flex;align-items:center;gap:8px}.editor-toolbar>span{color:#b9c5d3;font-size:12px}.editor-mode{display:flex;border:1px solid #59616d;border-radius:2px}.editor-mode button{padding:9px 10px;font-size:12px}.editor-mode button[aria-pressed=true]{background:#ffd23f;color:#191b1e}.editor-scroll{overflow:auto;max-height:400px;padding:4px}.editor-grid{display:grid;gap:3px;width:max-content;margin:0 auto}.editor-grid button{width:29px;height:29px;font:600 14px/1 var(--sans);color:#b9cde2;background:#353f4c;border:1px solid #627083;border-radius:2px;display:grid;place-items:center}.editor-grid .editor-mine{background:#613e38;border-color:#b47460;color:#ffb99b}.editor-grid .editor-opening{background:#ffd23f;color:#292317;border-color:#fff0b0}.archive-form>label{gap:10px;max-width:240px}.archive-form>label,.archive-spec{display:flex;flex-direction:column}.archive-spec{margin:24px 0;gap:6px}.archive-spec strong{font:600 32px/1.1 var(--serif)}.archive-spec span{color:#b9c5d3;font-size:12px}.achievement-list{border-top:1px solid #434b57}.achievement{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #434b57}.achievement>svg{flex-shrink:0;color:#99a7b8}.achievement>div{flex:1 1}.achievement strong{font-size:13px}.achievement p{color:#b5bfcc;font-size:12px;line-height:1.4;margin:5px 0 0}.achievement>span{display:flex;align-items:center;gap:3px;font-size:10px;color:#b5bfcc}.achievement.unlocked>span,.achievement.unlocked>svg{color:#ffd969}.question-symbol{font-weight:700;font-size:1.15em}.island-hit-layer .tile.questioned{color:#292e21}.classic-mode .skin-retro .minefield{background:#929292;padding:5px;gap:0}.classic-mode .skin-retro .tile{border-radius:0;background:#c0c0c0;border-color:#fff #777 #777 #fff;border-style:solid;border-width:3px;box-shadow:none;color:#111;font-family:monospace}.classic-mode .skin-retro .tile.revealed{background:#c0c0c0;border:1px solid #888}.classic-mode .skin-retro .tile.n1.revealed{color:#0000b0}.classic-mode .skin-retro .tile.n2.revealed{color:#005800}.classic-mode .skin-retro .tile.n3.revealed{color:#980000}.classic-mode .skin-retro .tile.n4.revealed{color:#000070}.classic-mode .skin-retro .tile.n5.revealed{color:#690000}.classic-mode .skin-retro .tile.n6.revealed{color:#005858}.classic-mode .skin-retro .tile.flagged{color:#ab0000}.classic-mode .skin-retro .tile.hit{background:#ff6969}.classic-mode .skin-contrast .tile{background:#f5f7fa;color:#101419;border:2px solid #fff;border-radius:1px;box-shadow:none}.classic-mode .skin-contrast .tile.revealed{background:#090d11;border-color:#647080;color:#fff}.classic-mode .skin-contrast .tile.hit{background:#791e14}.classic-mode .align-left .minefield{margin-left:0}.quiet-board :is(.tile,.start-spark,.progress-track>span,.expedition-line>span){animation:none!important;transition:none!important}.advanced-stats{display:flex;flex-wrap:wrap;gap:22px;padding:16px 0 0;font-size:10px;color:var(--muted)}.advanced-stats strong{font-size:13px;color:var(--ink);margin-right:4px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.archive-link{margin-top:10px;color:var(--ink);font-size:12px;text-decoration:underline;text-underline-offset:4px}.game-panel:fullscreen{width:100vw!important;height:100dvh;max-height:none;border:0!important;overflow:auto;align-content:start}.game-panel:fullscreen .island-viewport{height:calc(100dvh - 225px);min-height:350px}.game-panel:fullscreen .board-scroll{max-height:calc(100dvh - 320px)}.focus-mode .game-toolbar{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (max-width:600px){.game-toolbar{gap:5px;margin-bottom:10px}.game-toolbar button{padding:8px;font-size:10px;gap:5px}.game-toolbar button svg{width:13px;height:13px}.game-toolbar button:last-child{margin-left:0}.game-dialog{width:calc(100% - 20px);max-height:92dvh}.dialog-header{padding:18px}.dialog-header h2{font-size:28px}.dialog-header .eyebrow{font-size:8px}.dialog-layout{display:block}.dialog-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #3c424c;padding:7px 10px;scrollbar-width:thin}.dialog-nav button{flex-shrink:0;font-size:11px;padding:10px 8px;border-left:0;border-bottom:2px solid transparent}.dialog-nav button[aria-pressed=true]{border-bottom-color:#ffd23f}.dialog-nav svg{display:none}.dialog-content{max-height:calc(92dvh - 153px);padding:22px 18px}.options-heading h3{font-size:25px}.options-heading p{font-size:13px}.preset-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-fields{gap:8px}.builder-fields input{padding-inline:8px!important}.game-dialog .primary-button,.game-dialog .secondary-button{font-size:11px;padding-inline:11px}.option-select{align-items:flex-start}.option-select select{max-width:48%;font-size:12px}.achievement{gap:10px}.achievement>span{font-size:9px}.advanced-stats{gap:12px}}.classic-mode .board-scroll{max-height:650px}body:has(.game-dialog[open]){overflow:hidden}.custom-submit{position:sticky;bottom:-28px;z-index:2;margin:24px -28px -28px;padding:14px 28px;background:#1a1e24;border-top:1px solid #434b57;display:flex;align-items:center;justify-content:space-between;gap:12px}.custom-submit>span{font-size:11px;color:#b5bfcc}@media (max-width:600px){.custom-submit{bottom:-22px;margin:22px -18px -22px;padding:13px 18px}}.option-select>span{flex:1 1;min-width:0}.option-select select{flex-shrink:0;width:160px}@media (max-width:600px){.option-select select{width:130px}}.expedition .game-intro{flex-wrap:wrap}.expedition .game-intro>div{min-width:0}.expedition .game-intro h1{white-space:normal}.expedition .game-panel-top{height:auto;min-height:64px;padding-block:12px;gap:12px}.expedition .field-journal{height:auto;min-height:510px}.journal-heading{flex-shrink:0;padding-block:10px}[data-theme=dark] .intro-slash{color:#b58d35}.no-script{padding-block:20px;line-height:1.6}.no-script a,.text-version a{text-decoration:underline;text-underline-offset:3px}.text-version{font-size:14px;margin-top:36px;color:var(--muted)}.reference-table-scroll{max-width:100%;overflow:auto;margin-block:24px}.reference-table-scroll table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}.reference-table-scroll td,.reference-table-scroll th{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}.reference-table-scroll th{color:var(--ink);background:var(--paper)}.article-body>section{scroll-margin-top:90px}@media (min-width:1500px){.expedition .field-journal{min-height:560px}}@media (max-width:1023px){.expedition .field-journal{min-height:0}}@media (max-width:700px){.expedition .game-panel-top{min-height:56px}.reference-table-scroll td,.reference-table-scroll th{padding:10px 8px}}.expedition .game-options{height:auto;min-height:48px;padding-block:10px;gap:8px}[data-theme=dark] .island-hit-layer .tile.n1{color:#203c55}[data-theme=dark] .island-hit-layer .tile.n2{color:#254025}[data-theme=dark] .island-hit-layer .tile.n3{color:#682b1e}[data-theme=dark] .island-hit-layer .tile.n4{color:#44305e}[data-theme=dark] .island-hit-layer .tile.n5{color:#623019}[data-theme=dark] .island-hit-layer .tile.n6{color:#123f3e}.expedition .game-intro{align-items:center;padding-bottom:20px;gap:8px 24px}.expedition .game-intro h1{font-family:var(--sans);font-size:clamp(30px,3.5vw,44px);font-weight:600;text-transform:none;line-height:1.12;letter-spacing:-1.2px;margin:0}.expedition .intro-description{margin:0;padding:0}.expedition .intro-copy{font-size:15px;margin:0}.player-manual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(32px,6vw,88px);padding-block:56px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:52px}.faq-section h2,.manual-overview h2,.progress-section h2{font:600 clamp(26px,3vw,36px)/1.18 var(--sans);text-transform:none;letter-spacing:-.7px;margin:10px 0 16px}.manual-overview p{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 20px}.manual-specs{margin-top:26px;border-top:1px solid var(--line)}.manual-specs summary{padding-block:16px;font-size:15px;font-weight:600;cursor:pointer}.manual-specs p{font-size:15px}.player-manual .guide-list>a{padding-block:28px}.player-manual .guide-list h3{font-size:19px}.player-manual .guide-list p{font-size:15px;line-height:1.5}.progress-section{padding-top:40px}.progress-section .section-heading{margin-bottom:20px}.stats-row>div{padding-block:24px}.stats-row>div strong{font-size:38px}.faq-section.wrap{padding-block:48px 64px}.faq-section h2{margin-top:0}.article-page h1{font-family:var(--sans);text-transform:none;font-size:clamp(32px,4.5vw,52px);font-weight:600;letter-spacing:-1px;line-height:1.12}.article-body h2{font:600 27px/1.2 var(--sans);text-transform:none;letter-spacing:-.4px}.article-body .tutorial-panel h2{font-size:25px}.site-footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}.game-dialog[open]{display:flex;flex-direction:column}.dialog-header{flex-shrink:0}.dialog-layout{min-height:0;flex:1 1}.dialog-nav{min-height:0;overflow:auto}.game-dialog .dialog-content{max-height:none;min-height:0}@media (max-width:1023px),(pointer:coarse){.expedition .action-tools .icon-button,.expedition .panel-tools .icon-button,.expedition .restart-button,.game-dialog .icon-button,.journal-pager button,.site-header .theme-button,.tutorial-toolbar .icon-button{min-width:44px;min-height:44px}.camera-button,.expedition .custom-picker>summary,.expedition .input-modes button,.expedition .level-choices>button,.expedition .logic-toggle,.expedition .tool-button,.game-toolbar button,.view-switch button{min-height:44px;min-width:44px;font-size:13px}.game-toolbar button{padding-inline:12px}.game-toolbar button svg{width:16px;height:16px}.view-switch button{padding-inline:12px}.expedition .input-modes button{padding-inline:14px;gap:6px}.expedition .input-modes svg{width:16px;height:16px}.expedition .tool-button{padding-inline:8px}.camera-button{font-size:12px;padding:10px 14px}.expedition .logic-toggle{gap:8px}.expedition .board-spec{font-size:12px}.expedition .score-item>span{font-size:10px}.expedition .score-item strong{font-size:25px}.expedition .board-status{font-size:12px;line-height:1.5;padding-block:9px}.expedition .board-controls{gap:10px;padding:12px;flex-wrap:wrap}.expedition .action-tools{gap:4px}.expedition .controls-caption{font-size:12px}.controls-caption summary{min-height:44px;display:flex;align-items:center}.journal-paper>p{font-size:15px;line-height:1.6}.journal-heading{font-size:14px}.journal-kicker{font-size:11px}.journal-fairness,.journal-fairness small{font-size:12px}.dialog-nav button,.game-dialog .primary-button,.game-dialog .secondary-button,.preset-strip button{min-height:44px;font-size:14px}.game-dialog input:not([type=checkbox]),.game-dialog select{min-height:44px}.game-dialog .option-select select{font-size:16px}.game-dialog .options-heading p,.game-dialog .share-block>p{font-size:15px}.game-dialog label{font-size:14px}.toggle-option{min-height:48px}.footer-bottom a,.site-footer nav a{display:inline-flex;align-items:center;min-height:44px}.faq-list summary{min-height:52px;font-size:16px}}@media (max-width:1023px){.expedition .level-bar{height:auto;min-height:48px;overflow-x:auto;padding-inline:8px}.expedition .level-choices{gap:0;width:100%}.expedition .custom-picker>summary,.expedition .level-choices>button{padding-inline:12px;flex-shrink:0}.expedition .game-options{padding-block:0;min-height:48px}.expedition .field-journal{min-height:0}.player-manual{gap:32px}.expedition .panel-bottom{min-height:48px;font-size:13px}}@media (max-width:600px){.play-section.expedition,.wrap{width:calc(100% - 2 * max(12px, env(safe-area-inset-left), env(safe-area-inset-right)))}.site-header.wrap{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:56px 44px;height:auto;gap:0 12px}.site-header .brand{grid-column:1;grid-row:1}.site-header .brand>span:not(.brand-online){font-size:26px}.site-header .theme-button{grid-column:2;grid-row:1}.site-header nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,1fr);gap:0;width:100%;margin:0;font-size:13px}.site-header .nav-guide,.site-header .nav-records,.site-header nav a{display:flex;align-items:center;justify-content:center;padding:0 4px;min-height:44px;white-space:nowrap}.play-section.expedition{padding-top:18px}.expedition .game-intro{padding-bottom:16px;display:block}.expedition .game-intro h1{font-size:32px}.expedition .intro-description{margin-top:7px}.expedition .intro-copy{font-size:14px}.game-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.game-toolbar button{margin:0;font-size:13px;justify-content:flex-start}.game-toolbar button:last-child{margin:0}.expedition .game-panel-top{display:flex;flex-wrap:wrap;padding:12px;gap:10px}.expedition .panel-title{flex:1 1}.island-title{font-size:25px}.island-title small{font-size:10px;letter-spacing:.5px}.expedition .panel-tools{gap:4px}.view-switch{margin-right:0;padding:0}.view-switch button{font-size:13px;padding-inline:9px}.expedition .level-choices{justify-content:flex-start}.expedition .custom-picker>summary,.expedition .level-choices>button{font-size:12px;padding-inline:10px}.expedition .input-modes,.expedition .input-modes button{flex:1 1}.expedition .action-tools{justify-content:space-between;flex:1 1}.expedition .board-controls{display:grid;grid-template-columns:minmax(0,1fr)}.expedition .action-tools .control-divider{display:none}.expedition .board-status{padding-inline:12px}.island-scale{font-size:9px}.expedition .score-strip{padding:8px 10px;gap:12px}.expedition .restart-button{margin-left:2px}.player-manual{grid-template-columns:minmax(0,1fr);padding-block:32px;margin-top:32px;gap:24px}.player-manual .guide-list>a{padding-block:22px}.manual-overview h2{font-size:29px}.manual-overview .text-link{display:inline-flex;align-items:center;min-height:44px}.progress-section{padding-top:32px}.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-row>div{padding:18px 14px}.stats-row>div>span{font-size:12px;text-transform:none}.stats-row>div strong{font-size:34px}.daily-copy{padding:24px}.daily-copy h2{font-size:34px}.daily-copy p{font-size:16px}.daily-art{height:170px;min-height:170px}.daily-date{top:38px}.daily-date strong{font-size:84px}.faq-section.wrap{padding-block:36px}.faq-section h2{font-size:28px}.article-page{padding-top:28px}.article-page .article-lead{font-size:17px}.article-body h2{font-size:25px}.game-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.dialog-header{padding:16px}.dialog-header h2{font-size:28px}.dialog-layout{display:flex;flex-direction:column}.dialog-nav{flex-shrink:0;padding:6px}.game-dialog .dialog-content{flex:1 1;padding:20px 16px}.custom-submit{margin:20px -16px -20px;bottom:-20px;padding:14px 16px max(14px,env(safe-area-inset-bottom))}}@media (max-height:600px) and (max-width:1023px) and (orientation:landscape){.play-section.expedition{padding-top:14px}.expedition .game-intro{padding-bottom:12px}.expedition .game-intro h1{font-size:30px}.game-toolbar{margin-bottom:10px}.island-pending,.island-viewport{height:max(280px,75svh)}.expedition.classic-mode .board-stage{min-height:280px;padding:90px 12px 16px}.classic-mode .board-scroll{max-height:70svh}.game-dialog{max-height:calc(100dvh - 16px)}.dialog-header{padding:12px 18px}.dialog-header .eyebrow{display:none}.dialog-header h2{margin:0;font-size:28px}}.focus-mode .player-manual{display:none}@media (max-width:600px){.game-toolbar:has(button:nth-child(5)){grid-template-columns:repeat(6,minmax(0,1fr))}.game-toolbar:has(button:nth-child(5)) button{grid-column:span 3}.game-toolbar:has(button:nth-child(5)) button:nth-child(n+3){grid-column:span 2;font-size:12px;padding-inline:6px;justify-content:center}.game-toolbar:has(button:nth-child(5)) button:nth-child(n+3) svg{display:none}.expedition .panel-title{display:none}.expedition .panel-tools{width:100%}.view-switch{flex:1 1}.view-switch button{flex:1 1;justify-content:center}}@media (min-width:601px) and (max-width:1023px){.site-header .nav-records{display:flex}.site-header nav{gap:16px;font-size:13px}.site-header nav a{min-height:44px;display:flex;align-items:center}}:root{--device-gutter:48px;--dialog-gutter:20px;--safe-inline-left:env(safe-area-inset-left,0px);--safe-inline-right:env(safe-area-inset-right,0px)}@media (max-width:1100px){:root{--device-gutter:28px}}@media (max-width:1023px){:root{--device-gutter:20px}}@media (max-width:600px){:root{--device-gutter:12px;--dialog-gutter:8px}}.play-section.expedition,.wrap{width:min(1320px,calc(100% - 2 * max(var(--device-gutter),
          var(--safe-inline-left),
          var(--safe-inline-right))))}.expedition.is-focused{width:min(1460px,calc(100% - 2 * max(16px, var(--safe-inline-left), var(--safe-inline-right))))}.game-dialog{width:min(880px,calc(100% - 2 * max(var(--dialog-gutter),
          var(--safe-inline-left),
          var(--safe-inline-right))))}:root{--paper:#edf7f5;--surface:#fffefa;--ink:#203f4a;--muted:#526c73;--line:#b7d1ce;--sage:#deefeb;--green:#126d5b;--green-dark:#0d594b;--covered:#9acaad;--tile-edge:#6aa68c;--tile-open:#eff5e9;--accent:#ffcf6b;--accent-ink:#263f45;--ocean:#176b80;--coral:#c24d3a}:root[data-theme=dark]{--paper:#142e38;--surface:#1d3b46;--ink:#f0f8f3;--muted:#b8d0d3;--line:#567881;--sage:#294b55;--green:#a1dcc2;--green-dark:#b8ead3;--ocean:#8bd6e0;--coral:#ffb09c;--covered:#436d62;--tile-edge:#24483e;--tile-open:#203c3c}body{background:var(--paper)}h1,h2,h3{text-transform:none}.eyebrow{letter-spacing:1px}.site-header.wrap{border-bottom:0}.brand>svg{color:var(--coral)}.brand>span:not(.brand-online),.footer-top .brand>span:not(.brand-online){font-size:26px;letter-spacing:-.6px;text-transform:none}.brand-online,.footer-top .brand-online{display:none}.site-header nav{text-transform:none;letter-spacing:0;font-size:14px}.site-header nav a{border-bottom-width:3px}.site-header nav a.nav-active{color:var(--ocean);border-bottom-color:var(--ocean)}.site-header .theme-button{border-radius:50%;background:var(--surface)}.expedition .game-intro h1{font-family:var(--serif);font-size:clamp(32px,4vw,48px);letter-spacing:-1px}.game-toolbar button{background:var(--surface);border-radius:8px;border-bottom-width:3px}.game-toolbar button:first-child{border-color:var(--ocean);color:var(--ocean)}.game-toolbar button:hover{background:var(--sage)}.expedition .game-panel{--panel:var(--surface);--panel-deep:var(--sage);--panel-line:var(--line);--panel-muted:var(--muted);color:var(--ink);border-radius:16px;border:1px solid var(--line);box-shadow:0 7px 0 #aacbc44d,0 18px 45px -32px #285c62}.expedition .game-panel-top{background:var(--surface)}.expedition .panel-title>svg{color:var(--coral);--brand-cut:var(--surface)}.island-title{text-transform:none;font-size:26px;letter-spacing:0}.view-switch{background:var(--sage);border-color:var(--line);border-radius:9px}.view-switch button{color:var(--muted);border-radius:6px}.view-switch button[aria-pressed=true]{background:var(--ocean);color:var(--surface)}.view-switch button:hover{background:var(--line);color:var(--ink)}.view-switch button[aria-pressed=true]:hover{background:var(--ocean);color:var(--surface)}.expedition .panel-tools .icon-button{color:var(--muted);border-radius:7px}.expedition .panel-tools .icon-button:hover{background:var(--sage);color:var(--ink)}.expedition .custom-picker>summary,.expedition .level-choices>button{color:var(--ink)}.expedition .custom-picker>summary:hover,.expedition .level-choices>button:hover{background:var(--line);color:var(--ink)}.expedition .level-choices .selected{background:var(--surface);color:var(--ocean);border-bottom-color:var(--ocean)}.expedition .logic-toggle{color:var(--green)}.expedition .logic-toggle .toggle-track{background:var(--muted)}.expedition .logic-toggle.enabled .toggle-track{background:var(--green)}.expedition .logic-toggle .toggle-track span,.expedition .logic-toggle.enabled .toggle-track span{background:var(--surface)}.expedition .board-spec{color:var(--muted)}.expedition .score-strip{background:var(--surface);border-color:var(--line);border-radius:10px}.expedition .score-item strong{color:var(--ink);font-family:var(--sans);font-size:25px}.expedition .score-item>span{color:var(--muted)}.expedition .score-item svg{color:var(--coral)}.expedition .restart-button{border-color:var(--line);color:var(--ocean);border-radius:7px;background:var(--sage)}.expedition .restart-button:hover{color:var(--ink);background:var(--line)}.expedition .field-journal,.expedition .panel-bottom,.journal-heading{background:var(--surface);color:var(--ink)}.expedition .panel-bottom .best-time,.expedition .panel-bottom .best-time span,.expedition-progress>p,.expedition-progress>p>span,.journal-fairness,.journal-fairness small,.journal-heading>span:last-child,.journal-heading>svg,.journal-kicker,.journal-pager>span>span,.journal-paper>p{color:var(--muted)}.journal-paper h2{font-family:var(--sans);font-size:22px;text-transform:none;line-height:1.15}.journal-diagram>span{background:var(--covered);color:var(--ocean);border-radius:3px}.journal-diagram>.inked{background:var(--tile-open)}.journal-diagram>.journal-flag{color:var(--coral)}.journal-pager button{border-color:var(--line);border-radius:7px;color:var(--ocean)}.journal-pager button:hover:not(:disabled){background:var(--sage)}.expedition-heading svg,.journal-fairness svg,.journal-hint{color:var(--green)}.journal-hint:hover{color:var(--ocean)}.journal-fairness{background:var(--sage)}.expedition .board-status{color:var(--muted)}.expedition .progress-track,.expedition-line{background:var(--line)}.expedition .progress-track>span,.expedition .status-dot.active,.expedition-line>span{background:var(--green)}.expedition .input-modes{background:var(--sage);border-color:var(--line);border-radius:9px}.expedition .input-modes button{color:var(--ink);border-radius:6px}.expedition .input-modes button.active{background:var(--green);color:var(--surface)}.expedition .action-tools .icon-button,.expedition .tool-button{color:var(--ocean);border-radius:7px}.expedition .action-tools .icon-button:hover:not(:disabled),.expedition .tool-button:hover:not(:disabled){background:var(--sage);color:var(--ink)}.expedition .control-divider{background:var(--line)}.camera-button{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px}.camera-button:hover{background:var(--sage);color:var(--ink)}.classic-mode .minefield{background:var(--tile-edge);border-color:var(--tile-edge)}.classic-mode .skin-studio .tile.covered{background:var(--covered)}.classic-mode .skin-studio .tile.revealed{background:var(--tile-open)}.classic-mode .board-scroll{max-height:min(680px,70svh)}.ritual-section.wrap{border-radius:16px;border:0;background:var(--surface)}.daily-copy h2{text-transform:none;font-size:clamp(30px,3.4vw,44px)}.daily-art{background:#f8ca7d;color:#274e58}.daily-art:before{background:#e78b64;border-radius:50%;width:100%;height:100%;right:-40%;bottom:-50%;transform:none}.daily-art .daily-date,.daily-art-label,.daily-art-reset{color:#274e58}.primary-button,.small-button{border-radius:8px;background:var(--green);color:var(--surface);border-bottom:3px solid var(--green-dark)}.primary-button:hover,.small-button:hover{background:var(--green-dark);color:var(--surface)}[data-theme=dark] .primary-button{background:var(--green);color:var(--surface)}.text-link{color:var(--ocean)}.guide-index{color:var(--coral)}.player-manual .guide-list>a:hover{background:var(--sage)}.faq-list summary{color:var(--ink)}.site-footer{background:var(--sage);border-top:0}.game-dialog{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:14px}.game-dialog::backdrop{background:#173e5070;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.game-dialog :is(button,input,select,textarea):focus-visible,:is(button,a,summary,input):focus-visible{outline-color:var(--ocean)}.dialog-header{background:var(--sage);border-color:var(--line)}.dialog-header h2,.options-heading h3{font-family:var(--sans);text-transform:none;font-weight:600;font-size:26px}.dialog-header .eyebrow{color:var(--muted)}.dialog-header .icon-button{color:var(--ink);border-color:var(--line);border-radius:7px}.dialog-nav{background:var(--surface);border-color:var(--line)}.dialog-nav button{color:var(--muted);border-radius:6px}.dialog-nav button:hover{background:var(--sage);color:var(--ink)}.dialog-nav button[aria-pressed=true]{background:var(--sage);color:var(--green);border-color:var(--green)}.dialog-content{scrollbar-color:var(--line) var(--surface)}.game-dialog .achievement p,.game-dialog .achievement>span,.game-dialog .archive-spec span,.game-dialog .density-row,.game-dialog .editor-controls p,.game-dialog .favorites h4 span,.game-dialog .option-note,.game-dialog .option-switch small,.game-dialog .options-heading p,.game-dialog .preset-strip span,.game-dialog .seed-field small,.game-dialog .seed-field>span,.game-dialog .settings-row p,.game-dialog .settings-row small,.game-dialog .share-block>p{color:var(--muted)}.game-dialog input:not([type=checkbox]):not([type=range]):not([type=file]),.game-dialog select,.game-dialog textarea{background:var(--surface);border-color:var(--muted);color:var(--ink);border-radius:6px}.game-dialog input::placeholder,.game-dialog textarea::placeholder{color:var(--muted)}.game-dialog input{accent-color:var(--green)}.game-dialog .secondary-button{color:var(--ocean);border-color:var(--line);border-radius:7px}.game-dialog .secondary-button:hover,.preset-strip button:hover{background:var(--sage)}.achievement,.achievement-list,.favorite-row,.favorites,.preset-strip,.preset-strip button,.settings-group,.settings-row,.share-block{border-color:var(--line)}.preset-strip button{position:relative;padding-top:18px}.preset-strip button:before{content:"";display:block;width:24px;height:4px;margin-bottom:9px;background:var(--green);border-radius:2px}.preset-strip button:nth-child(2n):before{background:var(--ocean)}.preset-strip button:nth-child(3n):before{background:var(--coral)}.game-dialog .custom-submit,.game-dialog .option-actions{border-color:var(--line)}.game-dialog .custom-submit{background:var(--surface)}.game-dialog .custom-submit>span{color:var(--muted)}.achievement.unlocked>span,.achievement.unlocked>svg{color:var(--green)}.game-dialog .option-error{color:var(--red)}@media (max-width:600px){.site-header.wrap{border-bottom:1px solid var(--line)}.brand>span:not(.brand-online){font-size:24px}.expedition .game-panel{border-radius:12px}.expedition .score-strip{margin:12px;padding:9px 11px;gap:15px}.dialog-header h2{font-size:24px}.dialog-nav button{border-left-color:transparent;border-bottom-color:transparent}.dialog-nav button[aria-pressed=true]{border-left-color:transparent;border-bottom-color:var(--green)}}.expedition.classic-mode .board-stage{background:var(--sage)}.classic-mode .minefield{--covered:inherit;--tile-edge:inherit;--tile-open:inherit;--line:inherit;--n1:inherit;--n2:inherit;--n3:inherit;--n4:inherit;--n5:inherit;--n6:inherit;--n7:inherit;--n8:inherit}.classic-mode .skin-studio .tile.covered{color:var(--ink)}.classic-mode .skin-studio .tile.covered:hover{background:var(--sage)}.classic-mode .skin-studio .tile.flagged{color:var(--coral)}.expedition .panel-bottom,.expedition .panel-bottom strong{color:var(--ink)}.expedition .panel-bottom .text-link{color:var(--ocean)}.game-dialog .favorite-row span,.game-dialog .option-range strong,.game-dialog .option-select small,.game-dialog .shortcut-note{color:var(--muted)}.game-dialog .settings-group legend{color:var(--green)}.game-dialog input[type=range]{accent-color:var(--green)}.expedition .result-banner{background:var(--sage);color:var(--green);border-color:var(--line)}.expedition .result-banner.lost{background:var(--surface);color:var(--coral);border-color:var(--line)}.expedition .result-banner strong{text-transform:none}.expedition .result-banner small{color:var(--muted)}.expedition .board-overlay{background:var(--surface);color:var(--ink)}.expedition .board-overlay p{color:var(--muted)}.view-switch button{transition:transform .12s ease}.expedition.panorama-board .board-stage{padding-top:var(--hud-height,92px);background:var(--surface)}.panorama-board .island-viewport{padding-bottom:var(--camera-height,56px);background:var(--surface)}.panorama-board .camera-button{bottom:6px}.panorama-board .island-scale{bottom:24px;color:var(--muted);text-shadow:none}.expedition.panorama-board .field-journal{height:auto}.panorama-board .island-scale{display:none}.coast-controls{justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding:7px 14px;background:var(--surface);border-top:1px solid var(--line);color:var(--ink)}.coast-controls,.coast-weather{display:flex;align-items:center}.coast-weather{gap:7px;min-width:0}.coast-weather>svg{flex-shrink:0;color:var(--muted)}.coast-weather select{max-width:100%;padding:7px 23px 7px 2px;color:var(--ink);background:var(--surface);border:0;border-radius:3px}.coast-controls button,.coast-weather select{min-height:44px;font:inherit;font-size:13px;font-weight:600}.coast-controls button{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:5px}.coast-controls button[aria-pressed=true]{color:var(--ink);background:var(--sage)}.coast-controls :is(button,select):focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (max-width:380px){.coast-controls{padding-inline:10px;gap:6px}.coast-weather{gap:4px}.coast-controls button{padding-inline:8px}}