.next-three-board{padding:20px!important;min-width:0}.next-game{max-width:490px;margin:auto}.next-board{display:grid;gap:9px;direction:ltr}.next-slide .next-board{grid-template-columns:repeat(3,minmax(0,1fr));background:#d9e8df;padding:12px;border-radius:19px}.next-peg .next-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px;background:#f0e6d4;border-radius:20px}.next-reversi .next-board{grid-template-columns:repeat(4,minmax(0,1fr));background:#2a7763;padding:10px;border-radius:14px;gap:5px}.next-cell{aspect-ratio:1;min-width:0;min-height:44px;border:1px solid #a0bfae;border-radius:12px;font:700 clamp(22px,4vw,42px) system-ui;cursor:pointer;background:#fffdf6;color:#174b40;box-shadow:0 3px 0 #b5ccbc}.next-cell:disabled{cursor:default;opacity:1}.next-cell:focus-visible{outline:3px solid #cf8f27;outline-offset:2px;position:relative;z-index:1}.next-slide .next-cell.is-gap{box-shadow:none;border-style:dashed;background:#d4e2d8;color:#739384}.next-slide .next-cell:not(:disabled){background:#faffef}.next-peg .next-cell{border-radius:50%;background:#d9c9ac;color:#7b6850;box-shadow:inset 0 2px 5px #6a563844}.next-peg .has-peg{background:radial-gradient(circle at 35% 30%,#62a385,#1c614d 70%);color:#174f3f;border:2px solid #3b6a53;box-shadow:0 4px 5px #6a563844;text-shadow:0 1px 1px #87b99c;font-size:clamp(24px,5vw,48px)}.next-peg .is-star{position:relative;outline:2px solid #bb831d;outline-offset:3px}.next-peg .is-star::after{content:"★";position:absolute;top:-6px;right:-4px;background:#fff4cb;border-radius:50%;padding:0 3px;color:#8c5b0d;font:700 13px system-ui}.next-peg .is-source{box-shadow:0 0 0 5px #e9b547,0 4px 5px #6a563844}.next-reversi .next-cell{border:1px solid #2b6656;border-radius:6px;background:#388772;box-shadow:none;font-size:clamp(32px,6vw,64px);line-height:1}.next-reversi .is-dark{color:#122b35;text-shadow:1px 2px 0 #09201e}.next-reversi .is-light{color:#fffdf5;text-shadow:0 0 2px #fff;font-weight:900}.next-reversi .is-empty{color:#bfd5bd}.next-reversi .is-legal{background:#6ba18a;color:#e4f0cf;outline:1px solid #bbd0a8}.next-score{text-align:center;font-size:14px;line-height:1.6;font-weight:650;margin:0 0 15px;color:#315f51}.next-game-note{font-size:13px;line-height:1.65;color:#526e65;margin:18px 0 0}.next-three-steps{padding:10px 16px;border:1px solid #cfdfd4;border-radius:10px;background:#f0f7ed;display:flex;gap:9px 20px;flex-wrap:wrap;list-style-position:inside}.next-three-steps li{font-size:14px}.lesson .next-game{max-width:360px}.lesson .next-cell{font-size:27px}.lesson .next-reversi .next-cell{font-size:40px}@media(max-width:520px){.next-three-board{padding:12px!important}.next-game{max-width:390px}.next-board{gap:6px}.next-slide .next-board{padding:8px}.next-peg .next-board{gap:5px;padding:6px}.next-reversi .next-board{padding:7px;gap:4px}.next-cell{border-radius:9px;font-size:26px}.next-reversi .next-cell{font-size:44px}.next-peg .next-cell{font-size:29px}.next-score{font-size:12px}}

@media(max-width:360px){.next-three-board{padding:0!important}.next-peg .next-board{gap:3px;padding:4px}}

.next-peg.has-english33{max-width:340px}.next-peg .next-board.peg-english33{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:6px}.next-peg .peg-english33 .next-cell{min-height:28px;font-size:22px}.next-peg .peg-english33 .is-source{box-shadow:0 0 0 3px #e9b547}.next-peg .peg-english33 .is-star::after{font-size:10px;top:-3px;right:-2px}@media(max-width:640px){.next-peg.has-english33{max-width:252px}.next-peg .next-board.peg-english33{gap:3px;padding:6px}.next-peg .peg-english33 .next-cell{font-size:19px}}
