.consent-banner{z-index:1000;box-sizing:border-box;width:100%;max-height:65dvh;padding-bottom:env(safe-area-inset-bottom);color:#17312d;background:#fffaf0;border-top:1px solid #d1cbbf;font-family:Noto Sans JP,sans-serif;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -2px 12px #17312d12}.consent-banner[hidden]{display:none}.consent-banner__content{box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;max-width:1200px;margin:0 auto;padding:14px 60px 14px 24px;display:grid}.consent-banner__title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.consent-banner__copy{letter-spacing:normal;min-width:0;font-size:13px;line-height:1.7}.consent-banner__copy p{font:inherit;margin:0}.consent-banner__copy a{color:inherit;text-underline-offset:3px;align-items:center;min-height:44px;font-size:12px;display:inline-flex}.consent-banner__actions{flex-wrap:wrap;gap:8px;display:flex}.consent-banner__actions button{cursor:pointer;border:1px solid #8a9990;border-radius:6px;flex:auto;min-height:44px;padding:8px 14px;font:600 13px/1.4 Noto Sans JP,sans-serif}.consent-banner__accept{color:#fffaf0;background:#173d35}.consent-banner__deny{color:#17312d;background:0 0}.consent-banner__close{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;font:24px/1 sans-serif;position:absolute;top:4px;right:6px}.consent-banner button:focus-visible,.consent-banner a:focus-visible{outline-offset:2px;outline:3px solid #e4574c}.consent-banner-space{height:0}html{scroll-padding-bottom:var(--consent-banner-height,0px)}.consent-settings-button,footer nav .consent-settings-button{min-height:44px;color:inherit;box-shadow:none;font:inherit;letter-spacing:.04em;cursor:pointer;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:center;background:0 0;border:0;border-radius:4px;flex:0 auto;justify-content:center;align-items:center;min-width:0;max-width:100%;padding:8px;font-size:13px;display:inline-flex}.consent-settings-button:hover{color:#17312d;text-underline-offset:3px;text-decoration:underline}.consent-settings-button:focus-visible{outline-offset:2px;outline:2px solid #d75a43}@media (width<=720px){.consent-banner__content{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 52px 12px 16px}.consent-banner__actions button{flex:110px;padding-inline:8px}}.ad-placement{width:min(970px,100% - 48px);color:var(--muted);margin:0 auto 40px;font-family:DM Sans,Noto Sans JP,sans-serif}.ad-placement.ad-placement-game{margin-top:160px;margin-bottom:0}.ad-preview-heading{letter-spacing:.08em;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:10px;display:flex}.ad-preview-space{background:#ffffff40;border:1px dashed #172a2738;border-radius:4px;justify-content:center;align-items:center;gap:16px;min-height:90px;padding:16px;display:flex}.ad-preview-mark{letter-spacing:.08em;border:1px solid #172a2729;border-radius:3px;place-items:center;width:34px;height:28px;font-size:10px;display:grid}.ad-preview-space strong{font-size:13px;font-weight:500}.ad-preview-space>span:last-child{font-size:10px}.ad-placement .ad-preview-caption{text-align:center;margin:10px 0 0;font-size:10px}@media (width<=600px){.ad-placement{width:calc(100% - 36px);margin-bottom:28px}.ad-preview-space{flex-direction:column;gap:8px;min-height:100px}.ad-preview-mark{display:none}}.ad-placement>.adsbygoogle{min-height:90px}.ad-placement[hidden]{display:none}.ad-placement:has(>.adsbygoogle[data-ad-status=unfilled]){display:none}@media (width<=600px){.ad-placement>.adsbygoogle{min-height:100px}}@media (width<=360px){.ad-placement{width:calc(100% - 16px)}}.game-screen-ad-host{background:var(--paper);color:var(--muted);border-radius:10px;margin-top:72px;padding:16px 0}.game-screen-ad-host:empty{display:none}.game-screen-ad-host:has(.ad-placement[hidden]){display:none}.game-screen-ad-host:has(.adsbygoogle[data-ad-status=unfilled]){display:none}.game-screen-ad-host .ad-placement.ad-placement-game{width:100%;margin:0;padding:0}.game-screen-ad-host .ad-preview-heading{padding-inline:12px}.game-screen-ad-host .ad-preview-caption{display:none}.game-chrome-page .game-toolbar{justify-content:flex-end;align-items:center;gap:8px;width:min(1000px,100% - 24px);max-width:1000px;margin:0 auto 16px;display:flex}.game-chrome-page .game-toolbar .toolbar-label{display:none}.game-chrome-page .game-toolbar>.toolbar-actions:not(.page-toolbar-actions){display:contents}.game-chrome-page .page-toolbar-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.game-chrome-page .game-toolbar .page-toolbar-button{box-sizing:border-box;color:#18312d;letter-spacing:0;width:auto;min-width:44px;height:44px;min-height:44px;box-shadow:none;cursor:pointer;background:#fffaf040;border:1px solid #c3c8bf;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin:0;padding:0 14px;font:700 14px/1.4 DM Sans,Noto Sans JP,sans-serif;display:inline-flex}.game-chrome-page .game-toolbar .page-toolbar-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.game-chrome-page .game-toolbar .page-sound-button{width:44px;padding:0}.game-chrome-page .game-toolbar .page-toolbar-button:focus-visible{outline-offset:3px;outline:3px solid #d75a43}.game-chrome-page .game-toolbar .page-toolbar-button:hover:not(:disabled){background:#fffaf0}.game-chrome-page .game-toolbar .page-sound-unavailable{opacity:.45;cursor:default}.game-chrome-page .game-toolbar .sound-off,.game-chrome-page .game-toolbar .muted .sound-on{display:none}.game-chrome-page .game-toolbar .muted .sound-off{display:block}.game-key-help{box-sizing:border-box;color:#40584f;width:min(1000px,100% - 24px);margin:14px auto 22px;line-height:1.7}.game-key-help h2{color:#18312d;margin:0 0 4px;font:700 12px/1.5 DM Sans,Noto Sans JP,sans-serif}.game-key-help p{overflow-wrap:anywhere;margin:0;font:500 13px/1.8 DM Sans,Noto Sans JP,sans-serif}.game-chrome-page .guide-dialog{font-family:DM Sans,Noto Sans JP,sans-serif}.game-chrome-page .guide-dialog :is(p,figcaption){overflow-wrap:anywhere;font-size:14px;line-height:1.85}.game-chrome-page .guide-dialog .guide-steps p{font-size:14px;line-height:1.85}.game-chrome-page .guide-dialog .guide-steps h3{font-size:16px;line-height:1.5}.game-chrome-page .page-rule-example{color:#173d35;background:#e5ecdf;border-radius:12px;margin:12px 0 22px;padding:14px}@media (width<=600px){.game-chrome-page .game-toolbar .page-toolbar-button{gap:0;width:44px;min-width:44px;height:44px;padding:0}.game-chrome-page .game-toolbar .page-toolbar-button>span{display:none}.game-chrome-page .page-toolbar-actions{gap:8px}.game-key-help{display:none}.game-chrome-page .guide-dialog .guide-steps li{grid-template-columns:24px minmax(0,1fr);gap:8px}}.game-chrome-page .guide-dialog .dialog-close{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px}.game-chrome-page .mancala-rich-guide{width:min(700px,100% - 24px);max-width:calc(100% - 24px)}.mancala-rich-guide .lesson-section{border-top:1px solid #18312d24;padding:14px 0}.mancala-rich-guide h3{font-size:17px;line-height:1.6}.mancala-rich-guide .lesson-callout{color:#173d35;background:#e5ecdf;border-left:3px solid #236b5c;padding:12px}.lesson-board{color:#233c31;box-sizing:border-box;background:#c7a66e;border:2px solid #89653a;border-radius:18px;margin:12px 0;padding:10px 6px}.lesson-board-contents{grid-template-columns:54px repeat(6,minmax(0,1fr)) 54px;gap:5px;display:grid}.lesson-row-title{color:#26372c;grid-column:2/8;padding:3px 0;font-size:12px;font-weight:800}.lesson-row-title[data-player="1"]{border-top:1px dashed #785b38}.lesson-pit{text-align:center;box-sizing:border-box;background:#efe0b6;border:1px solid #8d6839;border-radius:40%;min-width:0;min-height:67px;padding:14px 2px 5px;position:relative}.lesson-pit small{font-size:9px;position:absolute;top:3px;left:4px}.lesson-pit strong{font-size:23px;line-height:1.2;display:block}.lesson-stones{flex-wrap:wrap;justify-content:center;gap:2px;max-width:32px;margin:4px auto 0;display:flex}.lesson-stones i{background:#245e50;border-radius:50%;width:5px;height:5px}.lesson-empty{background:#c2a675}.lesson-store{text-align:center;box-sizing:border-box;background:#ebd29c;border:1px solid #856136;border-radius:24px;flex-direction:column;grid-row:1/5;justify-content:center;align-items:center;min-width:0;padding:4px 2px;display:flex}.lesson-store[data-player="1"]{grid-column:8}.lesson-store[data-player="2"]{grid-column:1}.lesson-store span{overflow-wrap:anywhere;font-size:10px}.lesson-store b{font-size:12px}.lesson-store strong{font-size:25px}.lesson-focus,.lesson-selected{outline-offset:-3px;background:#fffaf0;outline:3px solid #153c33}.lesson-drop-number{color:#fffaf0;background:#173d35;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:grid;position:absolute;top:-8px;right:-3px}.lesson-hand{color:#173d35;background:#e5ecdf;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:8px;font-size:13px;display:flex}.lesson-hand strong{font-size:24px}.mancala-rich-guide .lesson-caption{color:#173d35;min-height:4em;font-weight:600}.lesson-controls{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.lesson-controls button{color:#173d35;cursor:pointer;background:#fffaf0;border:1px solid #80988c;border-radius:9px;min-width:80px;min-height:44px;padding:8px 12px;font:700 14px DM Sans,Noto Sans JP,sans-serif}.lesson-controls button:disabled{opacity:.4;cursor:default}.lesson-controls span{white-space:nowrap;font-size:12px}.mancala-rich-guide details{border:1px solid #b7c5bb;border-radius:10px;margin:16px 0;padding:10px}.mancala-rich-guide summary{cursor:pointer;min-height:44px;font-weight:700;line-height:1.6}.mancala-rich-guide button:focus-visible{outline-offset:2px;outline:3px solid #d75a43}@media (width<=600px){.lesson-board-contents{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.lesson-row-title{grid-column:1/-1;font-size:11px}.lesson-pit{min-height:62px}.lesson-pit strong{font-size:21px}.lesson-store{border-radius:14px;flex-direction:column;grid-row:5;min-height:54px}.lesson-store[data-player="2"]{grid-column:1/4}.lesson-store[data-player="1"]{grid-column:4/7}.lesson-store span{font-size:11px}.lesson-store b{font-size:12px}.lesson-store strong{font-size:23px}.lesson-controls button{min-width:75px;padding:8px}.mancala-rich-guide .lesson-caption{min-height:6em}}.lesson-direction-vertical{display:none}.lesson-row-title b{font:inherit}@media (width<=600px){.lesson-board-contents{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.lesson-row-title{grid-area:2;justify-content:center;align-items:center;gap:4px;padding:3px 0;font-size:10px;display:flex}.lesson-row-title[data-player="1"]{grid-column:1}.lesson-row-title[data-player="2"]{grid-column:2}.lesson-direction-horizontal{display:none}.lesson-direction-vertical{display:inline}.lesson-pit{grid-row:var(--lesson-portrait-row);border-radius:40%;justify-content:center;align-items:center;min-height:40px;padding:5px 22px;display:flex}.lesson-pit[data-player="1"]{grid-column:1}.lesson-pit[data-player="2"]{grid-column:2}.lesson-pit strong{font-size:20px}.lesson-stones{display:none}.lesson-store{border-radius:18px;flex-direction:row;gap:8px;min-height:44px;display:flex;grid-column:1/-1!important}.lesson-store[data-player="1"]{grid-row:9}.lesson-store[data-player="2"]{grid-row:1}.lesson-store strong{font-size:22px}}.rule-comparison{color:#173d35;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.rule-panel{background:#f7f5e9;border:1px solid #a4b8aa;border-radius:10px;min-width:0;padding:10px}.rule-panel-title{text-align:center;min-height:3em;margin:0 0 10px;font-size:12px;line-height:1.5;display:block}.rule-items{flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;display:flex}.rule-card{box-sizing:border-box;color:#173d35;text-align:left;background:#fffaf0;border:1px solid #7b9589;border-radius:6px;flex-direction:column;justify-content:space-between;min-width:32px;min-height:54px;padding:5px;display:flex;box-shadow:0 2px #18312d22}.rule-card b{font-size:20px}.rule-card span{align-self:flex-end;font-size:18px}.rule-red{color:#bd4b36}.rule-card-selected{outline-offset:1px;outline:2px dashed #bd4b36;transform:translateY(-5px)}.rule-grid{gap:3px;max-width:190px;margin:auto;display:grid}.rule-grid>span{box-sizing:border-box;aspect-ratio:1;color:#173d35;background:#dbe4d5;border:1px solid #9eafa1;place-items:center;min-width:0;font-size:16px;display:grid}.rule-disc-board{background:#347060;border-radius:9px;padding:7px}.rule-disc-board>span{background:0 0;border-color:#a4c4ab55}.rule-disc-board i{background:#1b3931;border-radius:50%;width:84%;height:84%;display:block}.rule-disc-board i[data-player="0"]{background:#173d3544}.rule-disc-board i[data-player="1"]{background:#ed9378;box-shadow:inset 0 -2px #ab553e}.rule-disc-board i[data-player="2"]{background:#f6d786}.rule-disc-board .rule-changed{outline-offset:-1px;outline:2px dashed #fffaf0}.rule-reversi-board i[data-player="1"]{background:#172a27}.rule-reversi-board i[data-player="2"]{background:#fffaf0}.rule-four-board{background:#48739b}.rule-chess-board>span{background:#e7dfc9;font-size:32px}.rule-chess-board>span:nth-child(2n){background:#97ae91}.rule-mine-board>span{background:#f4efe5;font-weight:700}.rule-block-row{gap:1px;max-width:none}.rule-block-row>span{color:#fffaf0;background:#5b9385;font-size:12px}.rule-cleared-row>span{background:#e5ecdf}.rule-card-stack{flex-direction:column;align-items:center;padding-bottom:8px;display:flex}.rule-card-stack .rule-card+.rule-card{margin-top:-16px;transform:translate(7px)}.rule-action-callout{text-align:center;background:#f6d786;border-radius:10px;padding:18px 8px;font-weight:700;line-height:1.6}.rule-scene svg{width:100%;max-height:150px;display:block}.rule-word{flex-direction:column;align-items:center;gap:10px;padding:10px;display:flex}.rule-word>b{color:#fffaf0;letter-spacing:3px;background:#18312d;border-radius:6px;padding:8px;font-size:24px}.rule-word>span{font-size:12px;line-height:1.5}.rule-word-done>b{background:#246b5c;text-decoration:line-through}.rule-part{object-fit:contain;width:64px;height:64px}@media (width<=600px){.rule-comparison{grid-template-columns:1fr}.rule-panel-title{min-height:0;font-size:13px}.rule-grid{max-width:220px}.rule-card{min-width:35px;min-height:58px}.rule-scene svg{max-height:140px}.rule-card-stack .rule-card+.rule-card{margin-top:-12px}}.rule-picture-card{width:64px;height:82px;padding:4px}.rule-picture-card .rule-scene{width:100%}.rule-chess-board svg{width:90%;max-width:42px;height:90%;max-height:42px}
