.shibdoku-game *{box-sizing:border-box}.shibdoku-game{margin:0;background:#152b2c;color:#f2f0e8;font-family:Arial,sans-serif}.shibdoku-game a,.shibdoku-game button{-webkit-tap-highlight-color:transparent}.shibdoku-game button{font:inherit;cursor:pointer}.shibdoku-game a:focus-visible,.shibdoku-game button:focus-visible{outline:2px solid #ffac83;outline-offset:4px}.shibdoku-game button:disabled{cursor:default;opacity:.4}.shibdoku-game .world{position:fixed;inset:0;background-image:var(--garden);background-size:cover;background-position:50%;z-index:-2}.shibdoku-game .atmosphere{position:fixed;inset:0;background:linear-gradient(90deg,#1022238c,transparent 65%),linear-gradient(180deg,#0a1c2080,transparent 26%,transparent 75%,#0a1c20aa);z-index:-1;pointer-events:none}.shibdoku-game .header{height:80px;border-bottom:1px solid #f6eedc17;padding:0 36px;display:flex;align-items:center;justify-content:space-between}.shibdoku-game .brand{display:flex;align-items:center;gap:12px;color:#f2f0e8;text-decoration:none}.shibdoku-game .brand img{width:32px;height:32px;border-radius:50%}.shibdoku-game .brand span{font:11px monospace;letter-spacing:3px}.shibdoku-game .brand i{color:#9ba99a;font-style:normal;font-size:25px;font-weight:200}.shibdoku-game .header-label{font:9px monospace;color:#c4ccb7;letter-spacing:2px}.shibdoku-game .header-label:before{content:"";display:inline-block;width:5px;height:5px;background:#d4c38c;border-radius:50%;margin-right:10px;box-shadow:0 0 10px #f1d18a}.shibdoku-game .main{width:min(1120px,100%);margin:auto;display:grid;grid-template-columns:300px minmax(0,530px);gap:90px;align-items:center;justify-content:center;padding:44px 30px 80px;min-height:calc(100dvh - 130px)}.shibdoku-game .intro{align-self:center;position:relative}.shibdoku-game .eyebrow{display:flex;align-items:center;gap:10px;font:9px monospace;letter-spacing:2px;color:#d0d1b4}.shibdoku-game .eyebrow b{font-size:7px;color:#d6b773}.shibdoku-game .eyebrow:before{content:"";height:1px;width:24px;background:#b6a775}.shibdoku-game .intro h1{font-size:64px;font-weight:800;line-height:1.02;letter-spacing:-3px;margin:22px 0 18px;text-shadow:0 4px 25px #071d2066}.shibdoku-game .intro h1 em{font-style:normal;color:#ffa079}.shibdoku-game .intro>p{font-size:13px;line-height:1.85;color:#c3cdbd;max-width:260px}.shibdoku-game .mascot{height:94px;width:94px;margin-left:-7px;filter:none}.shibdoku-game .modes{display:flex;gap:5px;margin:27px 0 20px;padding:4px;background:#12292ac9;border:1px solid #8eaa8c33;border-radius:5px;width:fit-content;box-shadow:0 8px 25px #09202233}.shibdoku-game .modes button{border:1px solid transparent;background:transparent;color:#b7c4b2;font:10px monospace;padding:12px 17px;border-radius:3px}.shibdoku-game .modes button[aria-pressed=true]{background:#ff855a20;border-color:#ff9b7066;color:#ffb18b}.shibdoku-game .modes button small{display:block;font:7px monospace;letter-spacing:1px;margin-top:5px}.shibdoku-game .scorecard{border-top:1px solid #b6c0a933;border-bottom:1px solid #b6c0a933;padding:16px 0;max-width:255px;display:flex;gap:34px}.shibdoku-game .scorecard small{font:8px monospace;letter-spacing:1.5px;color:#adbaa4;display:block;margin-bottom:8px}.shibdoku-game .scorecard strong{font:30px monospace;color:#f2e9ce;font-weight:400;letter-spacing:-1px}.shibdoku-game .scorecard span{font:10px monospace;color:#a9b69e}.shibdoku-game .quiet{display:block;font:10px monospace;color:#bcc7ab;line-height:1.8;margin:17px 0 10px}.shibdoku-game .game{min-width:0;width:100%;max-width:530px;margin:auto}.shibdoku-game .board-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px 13px;font:9px monospace;letter-spacing:1.5px;color:#d4d4b7;text-shadow:0 2px 8px #122322}.shibdoku-game .board-heading strong{font-weight:400;color:#ffd0a2}.shibdoku-game .frame{position:relative;padding:13px;border-radius:8px;background:#31483d55;border:1px solid #c7b77e80;box-shadow:0 18px 50px #061c2240}.shibdoku-game .frame:after,.shibdoku-game .frame:before{content:"";position:absolute;width:20px;height:20px;pointer-events:none;border-color:#d4bd7a;border-style:solid;z-index:2}.shibdoku-game .frame:before{left:5px;top:5px;border-width:2px 0 0 2px}.shibdoku-game .frame:after{right:5px;bottom:5px;border-width:0 2px 2px 0}.shibdoku-game .board{display:grid;grid-template-columns:repeat(var(--size),minmax(0,1fr));aspect-ratio:1;gap:1px;background:#23352d22;border:1px solid #c5d0b438;box-shadow:none;border-radius:2px;overflow:hidden;touch-action:manipulation}.shibdoku-game .tile{position:relative;min-width:0;min-height:0;padding:0;border:0;color:#152b28;background:color-mix(in srgb,var(--region) 48%,transparent);box-shadow:none;user-select:none;isolation:isolate}.shibdoku-game .tile:hover{filter:brightness(1.1)}.shibdoku-game .tile:focus-visible{z-index:3;outline:2px solid #ffe1a2;outline-offset:-4px}.shibdoku-game .tile .number{position:absolute;left:6px;top:4px;font:8px monospace;opacity:.55;color:#102b28;pointer-events:none}.shibdoku-game .tile .piece{position:absolute;inset:3%;width:94%;height:94%;filter:none;pointer-events:none;animation:place .17s ease-out}.shibdoku-game .tile .piece.cross{inset:12%;width:76%;height:76%;filter:none}.shibdoku-game .tile[data-kind=shiba]{box-shadow:none}.shibdoku-game .tile[data-kind=shiba] .number{opacity:0}.shibdoku-game .tile[data-kind=cross] .number{opacity:.3}.shibdoku-game .board-bottom{margin:22px 0 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.shibdoku-game .tool{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;min-height:48px;border:1px solid #b6c0a949;border-radius:4px;color:#d1d8c0;background:#162c2dda;box-shadow:0 4px 15px #0c202333;font:10px monospace}.shibdoku-game .tool img{width:25px;height:25px}.shibdoku-game .tool.icon{width:48px;padding:0;font-size:23px;color:#d6dbbf}.shibdoku-game .level-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin:18px auto 0;font:9px monospace;letter-spacing:1.5px;color:#bdc7ad}.shibdoku-game .level-nav button{min-width:44px;min-height:40px;border:0;border-radius:3px;color:#d1d8bd;background:#152b2b77;font-size:20px}.shibdoku-game .level-nav select{background:#18302fe6;color:#d4d9c0;font:10px monospace;border:1px solid #a8b89233;padding:8px;max-width:175px;border-radius:3px}.shibdoku-game .footer{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 36px 24px;font:8px monospace;letter-spacing:1.5px;color:#a5b39e}.shibdoku-game .footer a{color:#bcc8ad;text-decoration:none;border-bottom:1px solid #c2caa855;padding-bottom:4px}.shibdoku-game .footer b{color:#d6c88e;font-weight:400}.shibdoku-game .mote{position:fixed;width:3px;height:3px;border-radius:50%;background:#f7d18c;box-shadow:0 0 10px #ffc66f;pointer-events:none;opacity:.5;animation:float 7s ease-in-out infinite;z-index:-1}.shibdoku-game .mote.a{left:20%;top:32%}.shibdoku-game .mote.b{left:83%;top:65%;animation-delay:-3s}.shibdoku-game .mote.c{left:73%;top:16%;animation-delay:-5s}@keyframes place{0%{transform:translateY(-4px) scale(.86);opacity:.5}to{transform:none;opacity:1}}@keyframes float{50%{transform:translate(8px,-16px);opacity:.15}}@media(min-width:1450px){.shibdoku-game .main{gap:120px;grid-template-columns:320px minmax(0,570px);max-width:1250px}.shibdoku-game .game{max-width:570px}.shibdoku-game .intro h1{font-size:74px}}@media(max-width:950px){.shibdoku-game .main{grid-template-columns:minmax(0,520px);padding:26px 26px 40px;gap:20px;min-height:0}.shibdoku-game .intro{display:grid;grid-template-columns:1fr auto;align-items:center}.shibdoku-game .intro h1{font-size:38px;line-height:1;letter-spacing:-1.5px;margin:12px 0}.shibdoku-game .intro .eyebrow{font-size:8px}.shibdoku-game .mascot{grid-column:2;grid-row:1/4;margin:0;width:85px;height:85px}.shibdoku-game .intro>p{font-size:11px;line-height:1.7;margin:0;max-width:360px;grid-column:1}.shibdoku-game .modes{grid-column:1/3;margin:16px 0 0}.shibdoku-game .modes button{padding:10px 15px}.shibdoku-game .modes button small{display:inline;font-size:7px;margin-left:7px}.shibdoku-game .quiet,.shibdoku-game .scorecard{display:none}.shibdoku-game .game{max-width:520px}.shibdoku-game .footer{padding:0 26px 24px}.shibdoku-game .header{height:64px;padding:0 26px}.shibdoku-game .header-label{font-size:8px;letter-spacing:1.5px}.shibdoku-game .world{background-size:auto 112%;background-position:53%}.shibdoku-game .atmosphere{background:linear-gradient(180deg,#0b242a9c,transparent 40%,#0b222770)}.shibdoku-game .board-heading{font-size:8px;padding-bottom:10px}.shibdoku-game .level-nav{margin-top:13px}}@media(max-width:480px){.shibdoku-game .header{padding:env(safe-area-inset-top) 18px 0;height:calc(58px + env(safe-area-inset-top))}.shibdoku-game .brand img{width:27px;height:27px}.shibdoku-game .brand{gap:9px}.shibdoku-game .brand span{font-size:9px}.shibdoku-game .header-label{font-size:7px;letter-spacing:1px}.shibdoku-game .main{padding:22px 18px 30px;gap:20px}.shibdoku-game .intro h1{font-size:34px;margin:10px 0}.shibdoku-game .intro>p{font-size:10px;max-width:265px;padding-right:8px}.shibdoku-game .intro .eyebrow{font-size:7px;letter-spacing:1.4px}.shibdoku-game .mascot{width:67px;height:75px;margin-right:-5px}.shibdoku-game .modes button{font-size:9px;padding:10px 12px}.shibdoku-game .modes button small{display:none}.shibdoku-game .frame{padding:9px;border-radius:6px}.shibdoku-game .frame:before{left:3px;top:3px;width:15px;height:15px}.shibdoku-game .frame:after{right:3px;bottom:3px;width:15px;height:15px}.shibdoku-game .tile .number{font-size:6px;left:4px;top:3px}.shibdoku-game .board-bottom{margin-top:19px;gap:6px}.shibdoku-game .tool{padding:8px 12px;font-size:9px;min-height:46px}.shibdoku-game .tool img{width:23px;height:23px}.shibdoku-game .tool.icon{width:43px}.shibdoku-game .footer{padding:0 18px calc(20px + env(safe-area-inset-bottom));font-size:6px;letter-spacing:1px;gap:10px}.shibdoku-game .world{background-position:52%}.shibdoku-game .level-nav{gap:12px;font-size:8px}}@media(max-height:760px) and (max-width:480px){.shibdoku-game .main{padding-top:15px;gap:14px}.shibdoku-game .intro>p{display:none}.shibdoku-game .intro h1{font-size:30px;margin-bottom:6px}.shibdoku-game .mascot{height:60px}.shibdoku-game .modes{margin-top:10px}.shibdoku-game .header{height:52px}.shibdoku-game .board-bottom{margin-top:15px}}@media(prefers-reduced-motion:reduce){.shibdoku-game .mote,.shibdoku-game .tile .piece{animation:none}}@media(max-width:950px){.shibdoku-game .world{background-image:var(--garden-mobile);background-size:cover;background-position:50%}.shibdoku-game .atmosphere{background:linear-gradient(180deg,#0b242a66,transparent 38%,#0b22273b)}}.shibdoku-game .rules{display:grid;gap:8px;margin-top:22px}.shibdoku-game .rule{display:flex;align-items:center;gap:12px;padding:13px 12px;border:1px solid #9caa8c3d;border-radius:4px;background:#1b3431e8}.shibdoku-game .rule strong{display:block;font-size:11px;font-weight:600;color:#e3e8d6;line-height:1.45}.shibdoku-game .rule small{display:block;color:#b5c2ad;font-size:10px;line-height:1.5;margin-top:4px}.shibdoku-game .rule-icon{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px}.shibdoku-game .rule-icon img{width:30px;height:30px}.shibdoku-game .colour-rule{gap:2px}.shibdoku-game .colour-rule i{width:9px;height:22px;background:#c28e69;border-radius:1px}.shibdoku-game .colour-rule i:nth-child(2){background:#7e9b86;height:30px}.shibdoku-game .colour-rule i:nth-child(3){background:#a291b6}.shibdoku-game .lines-rule{font:18px/12px monospace;color:#d9cda5;display:block;text-align:center;padding-top:3px}.shibdoku-game .gesture-info{display:flex;gap:20px;font:11px monospace;color:#b8c5af}.shibdoku-game .gesture-info span{display:grid;grid-template-columns:23px auto;align-items:center;gap:0 7px}.shibdoku-game .gesture-info img{width:23px;height:23px;grid-row:1/3}.shibdoku-game .gesture-info b{display:block;color:#e4e7d4;font-weight:400;margin-top:3px}.shibdoku-game .board-actions{display:flex;gap:6px}@media(max-width:950px){.shibdoku-game .rules{grid-column:1/3;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px;gap:8px}.shibdoku-game .rule{display:flex;flex-direction:column;align-items:flex-start;padding:12px;gap:7px}.shibdoku-game .rule strong{font-size:10px}.shibdoku-game .rule small{font-size:9px}.shibdoku-game .mascot{grid-row:1/4}}@media(max-width:480px){.shibdoku-game .rules{gap:6px;margin-top:13px}.shibdoku-game .rule{padding:9px 8px;gap:6px}.shibdoku-game .rule strong{font-size:9px}.shibdoku-game .rule small{font-size:8px;line-height:1.5}.shibdoku-game .rule-icon{flex-basis:24px;width:24px;height:24px}.shibdoku-game .rule-icon img{width:24px;height:24px}.shibdoku-game .colour-rule i{height:17px;width:7px}.shibdoku-game .colour-rule i:nth-child(2){height:23px}.shibdoku-game .lines-rule{font-size:16px;line-height:10px}.shibdoku-game .gesture-info{gap:11px;font-size:9px}.shibdoku-game .gesture-info span{grid-template-columns:20px auto;gap:0 5px}.shibdoku-game .gesture-info img{width:20px;height:20px}.shibdoku-game .board-actions,.shibdoku-game .board-bottom{gap:5px}.shibdoku-game .board-actions .tool.icon{width:40px;min-height:44px}}.shibdoku-game .fireflies{position:fixed;inset:0;pointer-events:none;z-index:4;overflow:hidden}.shibdoku-game .firefly{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;animation:firefly-flight var(--duration) ease-in-out var(--delay) infinite}.shibdoku-game .firefly:before{content:"";position:absolute;inset:0;border-radius:50%;background:#f6ffd0;box-shadow:0 0 4px 1px #e2ff9fa6,0 0 13px 4px #d1ed6a40;animation:firefly-glow var(--glimmer) ease-in-out var(--delay) infinite}.shibdoku-game .firefly:nth-child(3n){width:2px;height:2px}.shibdoku-game .firefly:nth-child(4n):before{background:#ffe4a5;box-shadow:0 0 4px 1px #ffdf8c99,0 0 14px 4px #edc66630}@keyframes firefly-flight{0%,to{transform:translateZ(0)}25%{transform:translate3d(var(--dx),calc(var(--dy) * -.35),0)}50%{transform:translate3d(calc(var(--dx) * .5),var(--dy),0)}75%{transform:translate3d(calc(var(--dx) * -.4),calc(var(--dy) * .55),0)}}@keyframes firefly-glow{0%,to{opacity:.2;scale:.7}45%{opacity:.9;scale:1}70%{opacity:.4;scale:.85}}@media(prefers-reduced-motion:reduce){.shibdoku-game .firefly,.shibdoku-game .firefly:before{animation:none}.shibdoku-game .firefly:before{opacity:.4}}.shibdoku-game{position:fixed;inset:0;z-index:100;overflow:auto;isolation:isolate;font-family:var(--font-manrope,Arial),sans-serif;--garden:url(/play/shibdoku/lantern-garden.svg);--garden-mobile:url(/play/shibdoku/lantern-garden-mobile.svg)}.shibdoku-game button{font-family:inherit}.shibdoku-game .header{flex-shrink:0}.shibdoku-game .atmosphere,.shibdoku-game .world{position:fixed}.shibdoku-game .board-row{display:contents}.shibdoku-game .tile{aspect-ratio:1}.shibdoku-game .board-window{overflow:auto;overscroll-behavior:contain;max-width:100%;padding:3px}.shibdoku-game .board.zoomed{width:max(100%,calc(var(--size) * 49px + 1px));max-width:none}.shibdoku-game .board.concealed{visibility:hidden}.shibdoku-game .tile.conflict{outline:2px solid #ff9c82;outline-offset:-3px}.shibdoku-game .hint-pin{position:absolute;right:4px;bottom:2px;color:#fff0b8;font:10px monospace}.shibdoku-game .tile.revealed{outline:1px solid #f6db93;outline-offset:-3px}.shibdoku-game .tile[aria-disabled=true]{cursor:default}.shibdoku-game .feedback{min-height:28px;padding-top:12px;font:10px/1.6 var(--font-dm_mono,monospace);color:#d6dcc6}.shibdoku-game .board-bottom{margin-top:10px}.shibdoku-game .text-link{background:transparent;border:0;padding:9px 0;color:#ffd1a7;text-decoration:underline;text-underline-offset:4px;font:11px var(--font-dm_mono,monospace)}.shibdoku-game .utility-row{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:9px}.shibdoku-game .keyboard-info{display:block;font:9px/1.7 var(--font-dm_mono,monospace);color:#c3cbb5;margin-top:5px}.shibdoku-game .tutorial-link{margin-top:9px}.shibdoku-game .tutorial-note{background:#1b3431eb;border:1px solid #a5b18e44;border-radius:4px;padding:13px 15px;margin-bottom:18px}.shibdoku-game .tutorial-note b{font:9px var(--font-dm_mono,monospace);letter-spacing:1.5px;color:#ffd1a7}.shibdoku-game .tutorial-note p{font-size:12px;line-height:1.8;color:#d5ddc8;margin:8px 0 0}.shibdoku-game .level-nav select{max-width:260px}.shibdoku-game .save-error{font-size:12px;line-height:1.6;color:#ffb89b}.shibdoku-game .result-link{width:100%;margin-top:12px}.shibdoku-game .dialog-backdrop{position:fixed;inset:0;z-index:20;background:#0b2024d9;display:grid;place-items:center;padding:24px;overflow:auto}.shibdoku-game .dialog{width:min(410px,100%);max-height:calc(100dvh - 48px);overflow:auto;background:#1c3030;border:1px solid #c0c5a450;box-shadow:0 25px 80px #061c2280;border-radius:6px;padding:28px;color:#e5ead9}.shibdoku-game .dialog h2{font-size:30px;font-weight:700;line-height:1.2;letter-spacing:-1px;margin:0 0 20px}.shibdoku-game .dialog p{font-size:13px;line-height:1.85;margin:12px 0}.shibdoku-game .dialog .dialog-note{font-size:11px;color:#b9c6b1}.shibdoku-game .dialog-shiba{height:70px;width:70px;margin-bottom:8px}.shibdoku-game .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.shibdoku-game .primary-button,.shibdoku-game .secondary-button{padding:14px 17px;border-radius:3px;border:1px solid #ffb18b;background:#ff9b73;color:#22342e;font:11px var(--font-dm_mono,monospace);min-height:46px}.shibdoku-game .secondary-button{border-color:#a9b99e55;background:#ffffff06;color:#d4dfc7}.shibdoku-game .result-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #b5c0a333;border-bottom:1px solid #b5c0a333;padding:16px 0;margin:10px 0}.shibdoku-game .result-stats small{font:8px var(--font-dm_mono,monospace);letter-spacing:1px;color:#b3c2a7}.shibdoku-game .result-stats strong{display:block;font:32px var(--font-dm_mono,monospace);color:#ffd1a7;margin-top:8px}@media(max-width:950px){.shibdoku-game .main{padding-bottom:24px}.shibdoku-game .tutorial-link{grid-column:1/3;justify-self:start}.shibdoku-game .dialog{padding:24px}}@media(max-width:480px){.shibdoku-game .feedback{font-size:9px}.shibdoku-game .keyboard-info{font-size:8px}.shibdoku-game .text-link{font-size:10px}.shibdoku-game .main{padding-top:18px}.shibdoku-game .utility-row{gap:10px}.shibdoku-game .tutorial-note p{font-size:11px}.shibdoku-game .dialog{padding:23px}.shibdoku-game .footer{font-size:7px}}.shibdoku-game .account-links{display:flex;gap:20px;align-items:center;margin:16px 0 22px;flex-wrap:wrap}.shibdoku-game .account-error,.shibdoku-game .ranked-start{padding:16px 20px;margin-bottom:16px;border:1px solid #e8f1c833;border-radius:16px;background:#193d35d9;color:#edf2d9}.shibdoku-game .account-error p,.shibdoku-game .ranked-start p{margin:0 0 12px;font-size:14px;line-height:1.5}.shibdoku-game .account-error .text-link{margin-right:20px}.shibdoku-game .own-rank{display:flex;align-items:center;gap:16px;padding:16px;margin:20px 0;background:#c0df6530;border-radius:12px;font-size:11px;letter-spacing:.08em}.shibdoku-game .own-rank strong{font-size:24px}.shibdoku-game .own-rank span{margin-left:auto}.shibdoku-game .leaderboard-rows{list-style:none;padding:0;margin:20px 0;max-height:40vh;overflow-y:auto}.shibdoku-game .leaderboard-rows li{display:flex;align-items:center;gap:14px;padding:12px 10px;border-bottom:1px solid #e8f1c81a;font-size:14px}.shibdoku-game .leaderboard-rows li.mine{background:#c0df651a}.shibdoku-game .leaderboard-rows li>span{width:32px;color:#c0d79f}.shibdoku-game .leaderboard-rows li>div{min-width:0;flex:1}.shibdoku-game .leaderboard-rows b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shibdoku-game .leaderboard-rows small{display:block;opacity:.6;margin-top:4px;font-size:11px}.shibdoku-game .dialog>a.text-link{display:inline-block;margin:0 16px 12px 0}.shibdoku-game .round-note{color:#d8ddbf;font:11px/1.8 monospace;padding:12px 0}.shibdoku-game .intro .round-note{grid-column:1/-1}.shibdoku-game .round-note .text-link{display:block;margin-top:10px}@media(max-width:480px){.shibdoku-game .modes button small{display:block;margin:4px 0 0;font-size:6px}}.shibdoku-game .header-actions{display:flex;align-items:center;gap:20px}.shibdoku-game .audio-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid #b6c0a949;border-radius:4px;background:#162c2d99;color:#e3e8d6}.shibdoku-game .audio-toggle:hover{background:#29413bcc}.shibdoku-game .audio-toggle[aria-pressed=false]{color:#a5b39e}@media(max-width:480px){.shibdoku-game .header-actions{gap:10px}.shibdoku-game .header-actions .header-label{display:none}}.shibdoku-game .puzzle-toolbar{display:flex;align-items:stretch;gap:6px;margin-top:16px}.shibdoku-game .puzzle-toolbar .tool{flex:1;white-space:nowrap;font:10px var(--font-dm_mono,monospace);min-height:48px;padding:10px 12px}.shibdoku-game .puzzle-toolbar .tool svg{flex-shrink:0}.shibdoku-game .puzzle-toolbar .tool.icon{flex:0 0 48px;padding:0;font-size:23px}.shibdoku-game .puzzle-toolbar .tool:hover:not(:disabled){background:#29413be6;border-color:#c9d5b780}.shibdoku-game .puzzle-toolbar .tool[aria-pressed=true]{border-color:#ff9b7080;color:#ffd1a7;background:#ff855a20}@media(max-width:480px){.shibdoku-game .puzzle-toolbar{gap:5px;margin-top:13px}.shibdoku-game .puzzle-toolbar .tool{flex:0 0 38px;min-height:44px;padding:8px 0;font-size:9px}.shibdoku-game .puzzle-toolbar .hint-tool{flex:1;padding:8px 5px}.shibdoku-game .puzzle-toolbar .tool.icon{flex-basis:38px;width:38px}.shibdoku-game .puzzle-toolbar .tool-label{display:none}}@media(max-width:600px){.shibdoku-game .header{height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0}.shibdoku-game .main{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 12px 24px;align-items:start}.shibdoku-game .intro{display:contents}.shibdoku-game .intro .eyebrow,.shibdoku-game .intro .mascot,.shibdoku-game .intro .scorecard,.shibdoku-game .intro>p:not(.round-note){display:none}.shibdoku-game .intro h1{grid-column:1;grid-row:1;margin:0;font-size:28px;line-height:1.1;letter-spacing:-1px}.shibdoku-game .modes{grid-column:1;grid-row:2;margin:0;padding:3px}.shibdoku-game .modes button{padding:8px 12px;font-size:9px}.shibdoku-game .modes button small{display:inline;margin:0 0 0 5px;font-size:6px}.shibdoku-game .game{grid-column:1;grid-row:3}.shibdoku-game .rules{grid-column:1;grid-row:4;margin:4px 0 0;grid-template-columns:repeat(3,minmax(0,1fr))}.shibdoku-game .account-links{grid-column:1;grid-row:5;margin:0;gap:18px}.shibdoku-game .tutorial-link{grid-column:1;grid-row:6;margin:0}.shibdoku-game .intro>.round-note{grid-column:1;grid-row:7;margin:0;max-width:none}.shibdoku-game .game{display:flex;flex-direction:column}.shibdoku-game .game>.tutorial-note{order:1;margin:14px 0 0}.shibdoku-game .board-heading{padding-bottom:8px}.shibdoku-game .frame{width:min(100%,max(240px,calc(100svh - 300px)));margin-inline:auto;padding:9px}.shibdoku-game .feedback{min-height:22px;padding-top:7px;font-size:9px}.shibdoku-game .board-bottom{margin-top:5px}.shibdoku-game .gesture-info{gap:18px;font-size:9px}.shibdoku-game .gesture-info span{grid-template-columns:20px auto}.shibdoku-game .gesture-info img{width:20px;height:20px}.shibdoku-game .puzzle-toolbar{margin-top:10px}.shibdoku-game .keyboard-info{display:none}.shibdoku-game .level-nav{margin-top:12px}.shibdoku-game .game{position:relative}.shibdoku-game .game>.ranked-start{position:absolute;z-index:5;top:70px;left:14px;right:14px;margin:0;padding:16px;background:#193d35f5}.shibdoku-game .game>.ranked-start p{font-size:12px;line-height:1.6}.shibdoku-game .game>.account-error{order:1;margin:14px 0 0}}@media(hover:none) and (pointer:coarse),(max-width:950px){.shibdoku-game .keyboard-shortcuts{display:none}}.shibdoku-game .board-help{display:block}