:root .result .seed-line>span{flex:1 1 calc(100% - 30px)}:root .page:has(>.keeper-banner){grid-template-rows:auto auto minmax(0,1fr)}:root .intro{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(min-width:761px),(orientation:landscape)and (min-width:520px){html,:root body{height:100%;overflow:hidden}:root .page{display:grid;grid-template-rows:auto minmax(0,1fr);height:100vh;height:100dvh;max-width:none;padding:0 20px}:root :is(.header-description,.footer,.game-heading){display:none}:root .header{height:44px;gap:20px}:root .wordmark{font-size:22px;margin-right:auto}:root .brandmark{grid-template-columns:repeat(2,7px);gap:2px;margin-right:8px}:root .brandmark i{height:7px}:root .layout{grid-template-columns:204px minmax(0,1fr);gap:22px;align-items:stretch;min-height:0;padding:8px 0}:root :is(.sidebar,.play-area){min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}:root .play-modes{margin-top:0}:root .mode-options{grid-template-columns:repeat(6,minmax(0,1fr))}:root .mode-options button{grid-column:span 2;padding:9px 4px 11px;font-size:13px}:root .mode-options :is([data-play-mode=coop],[data-play-mode=versus]){grid-column:span 3}:root:not([data-host=crazygames])[data-stage="3"] .mode-options :is([data-play-mode=coop],[data-play-mode=versus]){grid-column:span 2}:root .size-fieldset{margin:16px 0 14px}:root .size-fieldset legend{margin-bottom:8px}:root .sizes{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}:root .size-option{justify-content:center;padding:8px 4px;border-radius:8px;text-align:center}:root .size-option :is(.mini-grid,.selected-check,.size-mines){display:none}:root .size-option strong{font-size:13px;margin-bottom:2px}:root .size-option small{font-size:11px;white-space:nowrap}:root .game-actions{gap:8px}:root .game-actions :is(.primary,.secondary){min-height:40px;padding:9px 14px}:root .logic-note{margin:18px 0 20px}:root .quick-guide{padding-top:16px}:root .quick-guide h2{margin-bottom:10px}:root .quick-guide p{margin:8px 0}:root .play-area{display:flex;flex-direction:column;padding:0 2px 0 0}:root body:not(.story-active) .game-table{flex:1 1 0;min-height:260px;display:grid;grid-template-columns:minmax(0,1fr) 108px;grid-template-rows:auto minmax(0,1fr) auto;column-gap:14px;padding:8px 14px}:root body:not(.story-active) .board-scroll{grid-column:1;grid-row:1 / -1;display:flex;min-height:0;padding:6px;container-type:size}:root body:not(.story-active) .board{--cg-gap: var(--t-gap, 4px);gap:var(--cg-gap);margin:auto}:root body:not(.story-active) .board:not([data-size=small]){--cg-gap: min(var(--t-gap, 4px), 2px)}@supports (width: 1cqw){:root body:not(.story-active) .board{--tile: clamp(var(--tile-min, 16px), min(calc((100cqw - (var(--cols) - 1) * var(--cg-gap)) / var(--cols)), calc((100cqh - (var(--rows) - 1) * var(--cg-gap)) / var(--rows))), 52px)}}:root body:not(.story-active) .cell{font-size:max(12px,calc(var(--tile) * .43))}:root body:not(.story-active) .scoreboard{grid-column:2;grid-row:1;flex-direction:column;align-items:stretch;gap:14px;max-width:none;margin:4px 0 0;padding:0}:root body:not(.story-active) .score{min-width:0}:root body:not(.story-active) .score strong{font-size:22px}:root body:not(.story-active) .score>svg{display:none}:root body:not(.story-active) .time{justify-content:flex-start}:root body:not(.story-active) .table-mark{order:1;font-size:19px}:root body:not(.story-active) .table-footer{grid-column:2;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 6px;max-width:none;margin:0}:root body:not(.story-active) #progress{grid-column:1 / -1;grid-row:2}:root .under-board{margin-top:6px;flex-wrap:nowrap}:root .under-board .status{flex:1 1 0;min-width:0}:root :is(.hint-message,.scroll-note){margin-top:10px}:root .play-area:has(#result:not([hidden])) .under-board{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root .play-area:has(#result:not([hidden])) .input-mode{display:none}:root .result{margin-top:10px;padding-top:10px;align-items:center}:root .result h3{font-size:18px;margin-bottom:2px}:root .result p{font-size:12px;line-height:1.5}:root .result .primary{min-height:40px;padding:9px 14px}:root :is(.daily-card,.multiplayer-lobby){margin-bottom:14px;padding:22px 24px 18px}:root dialog{max-height:calc(100dvh - 24px);overflow-y:auto}}@media(min-width:761px)and (pointer:coarse),(orientation:landscape)and (min-width:520px)and (pointer:coarse){:root .board{--tile-min: 26px}}@media(min-width:761px)and (max-width:940px),(orientation:landscape)and (min-width:520px)and (max-width:940px){:root .page{padding:0 14px}:root .layout{grid-template-columns:184px minmax(0,1fr);gap:16px}:root .size-option{padding:7px 3px}:root .size-option strong{font-size:12px}:root body:not(.story-active) .game-table{grid-template-columns:minmax(0,1fr) 96px;column-gap:14px}:root body:not(.story-active) .score strong{font-size:20px}:root body:not(.story-active) .pause-button{width:30px;height:30px}}@media(min-width:761px)and (max-height:560px){:root .quick-guide{display:none}}@media(max-width:760px)and (orientation:landscape)and (min-width:520px){:root .layout{display:grid}:root :is(.play-area,.play-modes){margin-top:0}:root .mode-options{display:grid;gap:0}:root .game-actions{grid-template-columns:1fr}:root :is(.game-heading,.under-board,.game-table,.scroll-note,.hint-message,.result){order:0}:root .under-board{position:static;padding:0;background:none}:root .multiplayer-setup{display:block}:root .multiplayer-setup>.primary{margin:8px 0 16px;font-size:13px}:root .multiplayer-setup>label{margin-bottom:8px}}@media(orientation:landscape)and (min-width:520px)and (max-width:940px)and (max-height:420px){:root .header{height:40px}:root .layout{padding:6px 0}:root :is(.play-modes,.size-fieldset)>legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root .size-fieldset{margin:10px 0 8px}:root .logic-note{display:none}:root .sidebar{padding-bottom:88px}:root body:not(.story-active) .under-board{position:fixed;z-index:3;top:auto;left:max(14px,env(safe-area-inset-left));bottom:6px;width:184px;flex-direction:column;align-items:stretch;gap:6px;margin:0;padding:6px 0 0;background:var(--paper)}:root body:not(.story-active) .under-board .status{font-size:11px;line-height:1.4}:root body:not(.story-active) .under-board .status>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:root body:not(.story-active) .under-board .input-mode button{flex:1;justify-content:center}:root .layout:has(#result:not([hidden])) :is(.size-fieldset,.game-actions,.reveal-notice .invite-notice-actions){display:none}:root .layout:has(#result:not([hidden])) .reveal-notice{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root body:not(.story-active) .result{position:fixed;z-index:3;left:max(14px,env(safe-area-inset-left));bottom:6px;width:184px;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:8px 0 0;background:var(--paper)}:root body:not(.story-active) .result h3{font-size:17px}:root body:not(.story-active) .result p{font-size:11px;line-height:1.45}:root body:not(.story-active) .result .primary{justify-content:center}}@media(orientation:landscape)and (min-width:520px)and (max-height:340px)and (pointer:coarse){:root .board{--tile-min: 22px}}@media(orientation:landscape)and (min-width:520px)and (max-width:619px)and (max-height:340px)and (pointer:coarse){:root body:not(.story-active) .game-table{padding-inline:6px;column-gap:8px}:root body:not(.story-active) .board[data-size=small]{--cg-gap: 0px}}@media(max-width:760px)and (orientation:portrait){html,:root body{height:100%;overflow:hidden}:root .page{display:grid;grid-template-rows:auto minmax(0,1fr);height:100vh;height:100dvh;padding:0 12px}:root :is(.footer,.game-heading,.logic-note,.quick-guide,.size-option .mini-grid){display:none}:root .header{height:52px}:root .layout{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:4px 0 10px}:root .sidebar{flex:none}:root :is(.play-modes,.size-fieldset)>legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root .play-modes{margin:0}:root .mode-options button{padding:9px 4px 10px;font-size:13px}:root .size-fieldset{margin:8px 0}:root .sizes{gap:6px}:root .size-option{padding:6px 9px}:root .size-option strong{font-size:13px;margin-bottom:0}:root .game-actions :is(.primary,.secondary){min-height:40px;padding:8px 10px}:root .play-area{flex:1 1 0;min-height:0;margin:0;display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:none}:root body:not(.story-active) .game-table{flex:1 0 220px;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:10px 8px 9px}:root body:not(.story-active) .scoreboard{margin:0 0 4px;padding:0 6px}:root body:not(.story-active) .score strong{font-size:20px}:root body:not(.story-active) .board-scroll{display:flex;min-height:0;padding:6px;container-type:size}:root body:not(.story-active) .board{--cg-gap: var(--t-gap, 4px);gap:var(--cg-gap);margin:auto}:root body:not(.story-active) .board:not([data-size=small]){--cg-gap: min(var(--t-gap, 4px), 2px)}@supports (width: 1cqw){:root body:not(.story-active) .board{--tile: clamp(26px, min(calc((100cqw - (var(--cols) - 1) * var(--cg-gap)) / var(--cols)), calc((100cqh - (var(--rows) - 1) * var(--cg-gap)) / var(--rows))), 52px)}}:root body:not(.story-active) .cell{font-size:max(12px,calc(var(--tile) * .43))}:root body:not(.story-active) .table-footer{margin:6px 0 0}:root .under-board{order:4;position:static;flex:none;margin:8px 0 0;padding:0;background:none}:root .scroll-note{order:5}:root .hint-message{order:6;margin-top:8px}:root .result{order:7;align-items:flex-start;margin-top:8px;padding-top:8px}:root .layout:has(#result:not([hidden])) :is(.size-fieldset,.game-actions){display:none}:root .play-area:has(#result:not([hidden])) .under-board{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root .result h3{font-size:18px;margin-bottom:2px}:root .result p{font-size:12px;line-height:1.5}:root .result .primary{min-height:40px}:root :is(.daily-card,.multiplayer-lobby){flex:none;margin-bottom:10px}:root dialog{max-height:calc(100dvh - 24px);overflow-y:auto}}@media(max-width:760px)and (orientation:portrait)and (max-height:700px){:root .header{height:46px}:root .size-fieldset{margin:6px 0}:root .size-option{padding:7px 9px}:root .size-option>span:not(.mini-grid,.selected-check){display:flex;align-items:baseline;justify-content:space-between;gap:6px;width:100%}:root .size-option small{font-size:11px}:root .game-actions :is(.primary,.secondary){min-height:36px;padding-block:6px}:root body:not(.story-active) .game-table{padding:8px 8px 7px}:root .under-board{margin-top:6px}@supports (width: 1cqw){:root body:not(.story-active) .board{--tile: clamp(24px, min(calc((100cqw - (var(--cols) - 1) * var(--cg-gap)) / var(--cols)), calc((100cqh - (var(--rows) - 1) * var(--cg-gap)) / var(--rows))), 52px)}}}@media(max-width:370px)and (orientation:portrait){:root body:not(.story-active) .score>svg{display:none}}@media(max-width:370px)and (orientation:portrait)and (max-height:700px){:root .size-option>span:not(.mini-grid,.selected-check){display:block}}@media(max-width:760px)and (orientation:portrait)and (max-height:600px){:root .sidebar:has([data-play-mode=solo][aria-pressed=true]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}:root .sidebar:has([data-play-mode=solo][aria-pressed=true])>:not(.size-fieldset,.game-actions){grid-column:1 / -1}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .size-fieldset{margin:0}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .size-option{min-height:40px;justify-content:center;padding:6px 2px}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .size-option small{display:none}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .game-actions{display:flex;gap:6px;margin-top:0}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .game-actions button{width:44px;min-height:40px;padding:0}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) .game-actions button span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) #new-game svg{display:none}:root .sidebar:has([data-play-mode=solo][aria-pressed=true]) #new-game-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;font-size:11px;line-height:1.2}:root body:not(.story-active) .game-table{padding-block:5px}:root body:not(.story-active) .under-board .status{font-size:11px;line-height:1.4}}@media(min-width:761px)and (min-height:740px){:root body:not(.story-active) .game-table{grid-template-columns:minmax(0,1fr);padding:14px 18px 12px}:root body:not(.story-active) .scoreboard{grid-column:1;grid-row:1;flex-direction:row;align-items:center;justify-content:space-between;width:min(100%,520px);margin:0 auto 4px;padding:0 6px;gap:12px}:root body:not(.story-active) .score>svg{display:block}:root body:not(.story-active) .time{justify-content:flex-end}:root body:not(.story-active) .table-mark{order:0}:root body:not(.story-active) .board-scroll{grid-column:1;grid-row:2}:root body:not(.story-active) .table-footer{grid-column:1;grid-row:3;display:flex;width:min(100%,520px);margin:4px auto 0}:root body:not(.story-active) #progress{grid-column:auto;grid-row:auto}}:root[data-stage="0"] :is(.sidebar>:not(.play-modes),#open-shop,#open-players){display:none}:root:is([data-stage="0"],[data-stage="1"]) :is([data-play-mode=coop],[data-play-mode=versus],#open-players){display:none}:root:not([data-stage="3"]) [data-play-mode=ranked]{display:none}:root[data-stage="0"] .play-modes>legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(min-width:761px),(orientation:landscape)and (min-width:520px){:root[data-stage="0"] .layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);row-gap:6px}:root[data-stage="0"] :is(.sidebar,.play-area){justify-self:center;width:min(100%,700px,calc(100dvh - 10px))}:root[data-stage="0"] .sidebar{overflow:visible;padding-bottom:0}}@media(min-width:761px)and (min-height:740px){:root[data-stage="0"] .layout{grid-template-rows:auto minmax(0,700px);align-content:center}:root[data-stage="0"] :is(.sidebar,.play-area){width:min(100%,600px)}}@media(orientation:landscape)and (min-width:520px)and (max-width:940px)and (max-height:420px){:root[data-stage="0"] .layout{grid-template-columns:184px minmax(0,1fr);grid-template-rows:none;row-gap:normal}:root[data-stage="0"] :is(.sidebar,.play-area){justify-self:stretch;width:auto}:root[data-stage="0"] .sidebar{overflow-y:auto;padding-bottom:88px}}@media(orientation:landscape)and (min-width:520px)and (max-width:940px)and (max-height:420px){:root[data-stage="0"] body:not(.story-active) .under-board .status{font-size:13px}:root[data-stage="0"] body:not(.story-active) .under-board .status>span{display:inline;-webkit-line-clamp:unset}}@media(orientation:landscape)and (min-width:520px)and (max-height:420px)and (pointer:coarse){:root[data-stage="0"] .board{--tile-min: 22px}}@media(orientation:landscape)and (min-width:520px)and (max-width:559px)and (max-height:420px){:root .layout,:root[data-stage="0"] .layout{grid-template-columns:168px minmax(0,1fr)}:root body:not(.story-active) :is(.under-board,.result){width:168px}:root body:not(.story-active) .game-table{grid-template-columns:minmax(0,1fr) 76px;column-gap:6px}:root body:not(.story-active) .time{flex-direction:column;align-items:flex-start;gap:6px}:root body:not(.story-active) .pause-button{margin-left:0}}@media(max-width:760px)and (orientation:portrait){:root[data-stage="0"] .layout{justify-content:center}:root[data-stage="0"] .play-area{flex:0 1 calc(100vw + 140px)}:root[data-stage="0"] body:not(.story-active) .game-table{max-height:calc(100vw + 60px)}:root[data-stage="0"] .under-board{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}:root[data-stage="0"] .under-board .status{grid-column:1 / -1;font-size:14px;line-height:1.4}:root[data-stage="0"] .under-board .input-mode{grid-column:2;justify-self:end}}:root .reveal-notice{flex-direction:column;align-items:stretch;gap:8px;margin:10px 0 0;padding:10px 12px;font-size:13px;line-height:1.45}:root .reveal-notice .invite-notice-actions{justify-content:flex-end}:root .reveal-notice .invite-notice-actions button{min-height:36px;padding-block:6px}@media(max-width:760px)and (orientation:portrait){:root .reveal-notice{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px;margin:8px 0 0;padding:8px 12px}}@media(max-width:760px)and (orientation:portrait)and (max-height:600px){:root .reveal-notice{margin-top:4px;padding:4px 8px;font-size:12px}}@media(orientation:landscape)and (min-width:520px)and (max-width:940px)and (max-height:420px){:root .reveal-notice{gap:4px;margin-top:8px;padding:7px 10px;font-size:12px;line-height:1.4}:root .reveal-notice .invite-notice-actions button{min-height:32px;padding:4px 10px;font-size:12px}}:root .coach-skip{flex:none;min-height:40px;padding:6px 2px;font-size:12px;color:var(--muted);white-space:nowrap}@media(hover:hover){:root .coach-skip:hover{color:var(--clay)}}
