.futoshiki-page{padding-top:12px;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.futoshiki-game{background:#ccd6ef;border:1px solid #8894a3;border-radius:14px;padding:12px}.futoshiki-toolbar{align-items:center;gap:6px;margin-bottom:10px;display:flex}.futoshiki-game .futoshiki-toolbar button,.futoshiki-game select,.futoshiki-game .futoshiki-actions button,.futoshiki-game .futoshiki-keypad button,.futoshiki-game .futoshiki-apply{border:1px solid var(--accent);background:var(--covered);min-height:44px;color:var(--ink);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:4px;padding:8px 10px;font:550 13px Outfit,sans-serif;display:inline-flex}.futoshiki-game .futoshiki-toolbar [aria-pressed=true]{color:var(--covered);background:var(--accent)}.futoshiki-toolbar label{margin-left:auto}.futoshiki-game .futoshiki-toolbar [data-futoshiki-restart]{flex:0 0 44px;width:44px;padding:8px}.futoshiki-toolbar .r2-icon{flex-basis:20px;width:20px;height:20px}.futoshiki-game select{padding-inline:6px}.futoshiki-board{grid-template-columns:repeat(calc(var(--futoshiki-n,4) - 1),minmax(0,1fr) 14px) minmax(0,1fr);grid-template-rows:repeat(calc(var(--futoshiki-n,4) - 1),minmax(0,1fr) 14px) minmax(0,1fr);width:min(100%,var(--futoshiki-board-size,100%));aspect-ratio:1;margin-inline:auto;display:grid}.futoshiki-cell{min-width:0;min-height:0;color:var(--ink);background:var(--covered);font-variant-numeric:tabular-nums;cursor:pointer;border:1px solid #78866b;border-radius:5px;justify-content:center;align-items:center;padding:0;font:500 clamp(20px,6vw,32px) Outfit,sans-serif;display:flex;position:relative}.futoshiki-cell.is-given{text-underline-offset:4px;cursor:default;background:#e7eccf;font-weight:750;text-decoration:underline 2px}.futoshiki-cell.is-selected{outline:2px solid var(--accent);outline-offset:-4px}.futoshiki-cell.is-conflicting{color:#922c23;outline-offset:-4px;outline:3px solid #922c23}.futoshiki-cell.is-hinted{outline-offset:-4px;outline:3px dashed #764061}.futoshiki-cell:focus-visible{outline:3px solid var(--accent);outline-offset:2px;z-index:2}.futoshiki-candidates{letter-spacing:1px;overflow-wrap:anywhere;max-width:100%;padding:2px;font:550 12px/1.4 Outfit,sans-serif;text-decoration:none}.futoshiki-comparison{justify-content:center;align-items:center;display:flex}.futoshiki-comparison svg{fill:none;width:18px;height:18px;stroke:var(--ink);stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.futoshiki-keypad{grid-template-columns:repeat(var(--futoshiki-n,4),minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.futoshiki-game .futoshiki-keypad button{font-size:19px}.futoshiki-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.futoshiki-game .futoshiki-actions button{padding-inline:4px}.futoshiki-actions .r2-icon{flex-basis:17px;width:17px;height:17px}.futoshiki-game button:disabled{cursor:default}.futoshiki-toolbar button:disabled,.futoshiki-keypad button:disabled,.futoshiki-actions button:disabled{opacity:.5}.futoshiki-game[data-game-state=won] [data-futoshiki-next]{color:var(--covered);background:var(--accent)}.futoshiki-message{font-size:13px;line-height:1.5}.futoshiki-message:not(:empty){margin-top:10px!important}.futoshiki-game[data-game-state=won] .futoshiki-message{font-weight:650}.futoshiki-game .futoshiki-apply{margin-top:8px}.futoshiki-game [hidden]{display:none!important}.futoshiki-caption{font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;padding-top:12px;font-size:12px;display:flex}.futoshiki-storage-warning{color:#79251e;font-size:12px;margin-top:8px!important}@media (width<=350px){.futoshiki-game{padding:8px}.futoshiki-toolbar{gap:4px}.futoshiki-game .futoshiki-toolbar button{padding-inline:8px}}@media (height<=620px){.futoshiki-game{padding:8px}.futoshiki-toolbar{margin-bottom:8px}.futoshiki-keypad{margin-top:8px}}@media (width>=768px){.futoshiki-page .game-content{width:min(100%,clamp(280px,100svh - 492px,408px) + 26px);margin-inline:auto}.futoshiki-board{width:100%}}@media (width<=350px) and (height<=620px){.futoshiki-game[data-board-size="5"] .futoshiki-board{grid-template-rows:repeat(4,minmax(0,1fr) 10px) minmax(0,1fr);grid-template-columns:repeat(4,minmax(0,1fr) 10px) minmax(0,1fr);width:min(100%,244px)}.futoshiki-game[data-board-size="5"] .futoshiki-comparison svg{width:16px;height:16px}.futoshiki-game[data-board-size="5"] .futoshiki-keypad,.futoshiki-game[data-board-size="5"] .futoshiki-actions{margin-top:4px}}
