/* Scoped game styles. The parent adjustments apply only to a page containing this game. */
#gp .gp-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;color:#617c70;font-size:13px;line-height:1.8;text-align:center}#gp .gp-loading-dot{width:24px;height:24px;border:2px solid #d9e2d7;border-top-color:#2b6560;border-radius:50%;animation:gp-loading-turn 1s linear infinite}#gp.gp-3d-ready .gp-loading{display:none}#gp[data-renderer=fallback] .gp-loading-dot{display:none}#gp[data-renderer=loading] .gp-stage-copy,#gp[data-renderer=fallback] .gp-stage-copy{display:none}@keyframes gp-loading-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#gp .gp-loading-dot{animation:none}}
#gp .gp-view-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-top:15px;min-height:44px}#gp #gp-view-modes{display:flex;gap:4px;padding:4px;background:#eeeee5;border-radius:10px}#gp #gp-view-modes label{position:relative;cursor:pointer}#gp #gp-view-modes input{position:absolute;opacity:0;width:1px;height:1px}#gp #gp-view-modes span{display:block;padding:9px 17px;min-height:40px;border-radius:7px;font-size:12px;line-height:22px;color:#66776d}#gp #gp-view-modes input:checked+span{background:#fffefa;color:#235e60;box-shadow:0 2px 5px #374f4510;font-weight:700}#gp #gp-view-modes input:disabled+span{opacity:.45;cursor:default}#gp #gp-view-modes input:focus-visible+span{outline:3px solid #c27336;outline-offset:2px}#gp #gp-view-reset{min-height:44px;white-space:nowrap}#gp[data-view=free] #gp-machine{cursor:grab;touch-action:none}#gp[data-view=free] #gp-machine:active{cursor:grabbing}#gp[data-view=free] .gp-stage-copy{display:none}@media(max-width:520px){#gp #gp-view-modes span{padding:8px 12px;font-size:11px}#gp .gp-view-toolbar{gap:4px 6px}}
#gp .gp-machine{position:relative;aspect-ratio:640/420}#gp .gp-canvas{position:absolute;inset:0;width:100%;height:100%;visibility:hidden;pointer-events:none}#gp.gp-3d-ready .gp-canvas{visibility:visible}#gp.gp-3d-ready .gp-machine>svg{visibility:hidden}#gp .gp-stage-copy{z-index:1;pointer-events:none}
.entry:has(#gp){max-width:none!important;background:transparent!important;border:0!important;padding:0!important}.entry:has(#gp)>.entry__header,.entry:has(#gp)>.entry__eyecatch,.entry:has(#gp) .szkk-toc{display:none!important}
body:has(#gp){background:#f8f6f0!important}.site-content:has(#gp){padding-top:24px!important}
#gp{--gp-ink:#263f45;--gp-muted:#687775;--gp-line:#e3e4d9;--gp-teal:#235e60;--gp-result:#e4b33f;color:var(--gp-ink);font:15px/1.7 system-ui,-apple-system,"Segoe UI","Noto Sans JP",Meiryo,sans-serif;max-width:1120px;margin:0 auto}
#gp *,#gp *:before,#gp *:after{box-sizing:border-box}#gp [hidden]{display:none!important}#gp h1,#gp h2,#gp h3,#gp p,#gp ol,#gp fieldset{margin:0;padding:0;border:0;background:none;box-shadow:none;color:inherit;font-family:inherit}#gp h1:before,#gp h1:after,#gp h2:before,#gp h2:after{display:none}#gp button,#gp input{font:inherit}#gp button{cursor:pointer;letter-spacing:normal;box-shadow:none;text-transform:none}#gp button:disabled{cursor:default;opacity:.6}#gp button:focus-visible,#gp input:focus-visible,#gp summary:focus-visible,#gp a:focus-visible{outline:3px solid #c27336;outline-offset:4px}#gp button,#gp summary,#gp input{ -webkit-tap-highlight-color:transparent}#gp button{touch-action:manipulation}#gp .gp-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 34px;gap:20px}#gp .gp-back{font-size:12px;text-decoration:none;color:var(--gp-muted)}#gp .gp-kicker{font-size:10px;letter-spacing:.17em;font-weight:750;margin:22px 0 8px;color:#6f827e}#gp h1{font-size:clamp(29px,4vw,43px);font-weight:800;letter-spacing:.025em;line-height:1.5}#gp h1 span{color:#397271}#gp .gp-lead{font-size:14px;margin-top:10px;color:var(--gp-muted)}#gp .gp-mobile{display:none}#gp .gp-stamp{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;flex:none;width:124px;height:124px;border:1px solid #b4c1b5;border-radius:50%;outline:1px solid #d3d9cd;outline-offset:-7px;transform:rotate(9deg);font-size:12px;line-height:1.8;color:#587368}#gp .gp-stamp strong{font-size:14px}#gp .gp-stamp>span{font-size:9px;letter-spacing:.15em;margin-top:6px}#gp .gp-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:24px;align-items:start}#gp .gp-play{min-width:0;background:#fffcf5;border:1px solid #e7e2d5;border-radius:22px;padding:22px 26px 24px;overflow:hidden;box-shadow:0 7px 20px #524b3210}#gp .gp-play-top{display:flex;justify-content:space-between;align-items:center;gap:12px}#gp .gp-label{font-size:11px;letter-spacing:.06em;color:#6c7d70}#gp .gp-label i{display:inline-block;width:6px;height:6px;background:#619e7f;border-radius:50%;margin-right:5px}#gp #gp-sound{background:#fffdf8;border:1px solid #dedfd4;color:#66736a;border-radius:100px;min-height:36px;padding:5px 13px;font-size:11px}#gp .gp-stage{position:relative;text-align:center;padding-top:18px;background:radial-gradient(ellipse at 50% 47%,#f1e9d5 0%,#f9f4e7 38%,transparent 68%)}#gp .gp-stage-copy{position:absolute;top:34px;left:26px;font-family:serif;font-size:13px;letter-spacing:.12em;writing-mode:vertical-rl;color:#968871;transform:rotate(-8deg)}#gp .gp-machine{display:block;width:100%;padding:0;border:0;background:transparent;line-height:0;touch-action:pan-y;user-select:none}#gp .gp-machine:disabled{opacity:1}#gp .gp-machine svg{display:block;width:100%;height:auto;overflow:visible}#gp #gp-drum{transform-origin:299px 184px}#gp #gp-crank{transform-origin:180px 190px}#gp.gp-spinning #gp-drum{animation:gp-turn 1.7s cubic-bezier(.35,.05,.3,1) forwards}#gp.gp-spinning #gp-crank{animation:gp-turn 1.7s cubic-bezier(.35,.05,.3,1) forwards}#gp.gp-dropping #gp-ball{animation:gp-drop .65s ease-out both}#gp #gp-hint{font-size:11px;color:#8a8778;margin:-2px 0 15px}#gp .gp-controls{text-align:center;max-width:380px;margin:auto}#gp .gp-primary{display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--gp-teal);color:#fff;border:1px solid #235254;border-bottom:4px solid #153e40;border-radius:12px;padding:14px 24px;min-height:59px;width:100%;font-weight:750;font-size:17px;transition:background .15s,transform .15s}#gp .gp-primary:hover:enabled{background:#307475;transform:translateY(-1px)}#gp .gp-primary>span:last-child{font-size:27px;font-weight:400;line-height:1}#gp .gp-controls>p{font-size:10px;color:#8a8f85;margin-top:8px}#gp .gp-result{display:flex;align-items:center;gap:18px;border-top:1px dashed #dedfce;margin-top:23px;padding:22px 8px 0;min-height:106px}#gp .gp-result-orb{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;flex:none;background:#f0eee3;color:#9b9a89;font:24px Georgia,serif;border:1px solid #dfddcf;box-shadow:inset 2px 3px 6px #ffffffb0,inset -2px -4px 6px #56513c15}#gp .gp-result.has-result .gp-result-orb{background:radial-gradient(circle at 32% 24%,#ffffffd9,transparent 48%),var(--gp-result);border-color:#00000018}#gp .gp-result>div{min-width:0}#gp .gp-result-caption{font-size:9px;letter-spacing:.15em;color:#969581;display:block}#gp #gp-result-name{display:block;font-size:21px;line-height:1.6;overflow-wrap:anywhere}#gp #gp-result-note{display:block;font-size:12px;color:#82877b}#gp .gp-sidebar{display:grid;gap:18px;min-width:0}#gp .gp-card{padding:23px;background:#fffefa;border:1px solid var(--gp-line);border-radius:18px;min-width:0}#gp .gp-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}#gp h2{font-size:16px;font-weight:750;line-height:1.5;letter-spacing:.015em}#gp .gp-tag{font-size:9px;letter-spacing:.1em;color:#869184}#gp #gp-modes{display:flex;gap:4px;background:#efefe8;border-radius:9px;padding:4px}#gp #gp-modes label{position:relative;flex:1;text-align:center;cursor:pointer}#gp #gp-modes input{position:absolute;opacity:0;width:1px;height:1px}#gp #gp-modes span{display:block;padding:9px 5px;font-size:12px;border-radius:6px;line-height:1.5}#gp #gp-modes input:checked+span{background:#fff;color:#2b6560;box-shadow:0 2px 5px #374f4510;font-weight:700}#gp #gp-modes input:focus-visible+span{outline:3px solid #c27336}#gp #gp-modes:disabled{opacity:.6}#gp .gp-muted{font-size:11px;color:var(--gp-muted);line-height:1.8}#gp #gp-mode-note{margin:12px 0 18px;min-height:20px}#gp .gp-prize{display:flex;align-items:center;gap:12px;padding:9px 0;min-height:44px}#gp .gp-dot{display:inline-block;width:20px;height:20px;flex:none;border-radius:50%;border:1px solid #00000014;background:radial-gradient(circle at 30% 25%,#ffffffc0,transparent 55%),var(--ball);box-shadow:inset -2px -2px 3px #00000016}#gp .gp-prize-name{font-size:13px;font-weight:650;flex:1;min-width:0;overflow-wrap:anywhere}#gp .gp-prize-value{font-size:12px;color:#718079;text-align:right;min-width:70px}#gp .gp-prize-value small{font-size:10px;color:#92998b;margin-left:6px}#gp .gp-prize.is-empty{opacity:.4}#gp .gp-totals{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e7e8df;padding-top:14px;margin-top:8px;font-size:11px;color:#6f7b71}#gp .gp-totals b{font-size:17px;font-weight:700;color:#344e48;margin:0 3px}#gp #gp-settings{border-top:1px solid #e7e8df;margin-top:17px;padding-top:15px}#gp summary{font-size:12px;color:#4c6c61;cursor:pointer;list-style:none;display:flex;justify-content:space-between;min-height:28px;align-items:center}#gp summary::-webkit-details-marker{display:none}#gp #gp-form{padding-top:16px}#gp .gp-edit-heading,#gp .gp-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 65px;gap:8px;margin-top:8px}#gp .gp-edit-heading{font-size:10px;color:var(--gp-muted)}#gp input[type=text],#gp input[type=number]{display:block;width:100%;min-width:0;border:1px solid #cbd3c9;border-radius:6px;background:#fff;color:var(--gp-ink);min-height:42px;padding:7px;font-size:14px}#gp .gp-secondary{border:1px solid #bbcfc2;border-radius:8px;background:#edf3eb;color:#345c50;min-height:42px;padding:9px 12px;font-size:12px;width:100%}#gp .gp-text-button{border:0;background:none;color:#627b70;font-size:11px;min-height:32px;padding:4px 0;text-decoration:underline;text-underline-offset:3px}#gp #gp-default{margin-top:8px}#gp #gp-error{font-size:12px;color:#aa3a29;margin:10px 0}#gp #gp-history{list-style:none;display:flex;flex-wrap:wrap;gap:8px}#gp #gp-history li:not(.gp-empty){position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;width:calc(20% - 7px);font-size:9px;color:#6c7b70}#gp #gp-history .gp-dot{width:27px;height:27px}#gp #gp-history .gp-history-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#gp #gp-history .gp-history-number{position:absolute;right:0;top:-4px;background:#fffefa;font-size:8px;line-height:13px;border-radius:5px;padding:0 2px}#gp .gp-empty{width:100%;text-align:center;font-size:12px;color:#7c887d;padding:10px 0}#gp .gp-empty span{display:block;font-size:10px;margin-top:5px;color:#959e90}#gp #gp-reset-confirm{background:#f5f4e9;padding:12px;border-radius:8px;margin-bottom:15px;font-size:12px}#gp #gp-reset-confirm p{margin-bottom:10px}#gp .gp-footer{display:flex;justify-content:space-between;gap:24px;margin:29px 8px 0;padding-top:22px;border-top:1px solid #e2e3d6}#gp .gp-footer b{font-size:13px}#gp .gp-footer p{font-size:11px;color:#7b887d;line-height:1.9;margin-top:5px}#gp .gp-footer>p{text-align:right;align-self:end}#gp .gp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#gp #gp-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}#gp .gp-confetti-piece{position:absolute;top:25%;left:50%;width:7px;height:12px;background:var(--piece);animation:gp-confetti 1.6s ease-out forwards}
@keyframes gp-turn{from{transform:rotate(0)}to{transform:rotate(1080deg)}}@keyframes gp-drop{0%{opacity:0;transform:translate(-145px,-60px) scale(.65)}15%{opacity:1}55%{transform:translate(-35px,-8px) scale(1)}75%{transform:translate(-8px,-20px)}100%{opacity:1;transform:translate(0,0)}}@keyframes gp-confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rotation))}}
@media(max-width:800px){#gp .gp-layout{grid-template-columns:1fr}#gp .gp-sidebar{grid-template-columns:1fr 1fr;align-items:start}#gp .gp-machine{max-width:560px;margin:auto}#gp .gp-play{padding:19px 22px}#gp .gp-stage{padding-top:6px}#gp .gp-heading{padding-bottom:25px}#gp .gp-kicker{margin-top:16px}#gp .gp-stamp{width:105px;height:105px;font-size:10px}#gp .gp-stamp strong{font-size:12px}}
@media(max-width:520px){body:has(#gp) .site-content.l-container{width:calc(100% - 28px)!important}#gp .gp-heading{padding:0 3px 21px}#gp .gp-kicker{font-size:8px;letter-spacing:.12em;margin-top:15px}#gp h1{font-size:28px;letter-spacing:-.025em}#gp .gp-lead{font-size:12px;line-height:1.8;margin-top:6px}#gp .gp-mobile{display:inline}#gp .gp-stamp{width:79px;height:79px;font-size:8px;outline-offset:-5px}#gp .gp-stamp strong{font-size:9px}#gp .gp-stamp>span{font-size:6px;margin-top:2px}#gp .gp-heading{gap:8px}#gp .gp-play{padding:14px 14px 19px;border-radius:17px}#gp .gp-layout{gap:16px}#gp .gp-stage-copy{font-size:10px;top:26px;left:11px}#gp .gp-stage{margin:0 -7px;padding-top:10px}#gp #gp-hint{font-size:10px;margin:4px 0 13px}#gp .gp-primary{min-height:56px;padding:12px 20px;font-size:16px}#gp .gp-controls>p{font-size:9px}#gp .gp-result{margin-top:17px;padding:17px 3px 0;gap:14px;min-height:89px}#gp .gp-result-orb{width:44px;height:44px}#gp #gp-result-name{font-size:19px}#gp #gp-result-note{font-size:11px}#gp .gp-sidebar{grid-template-columns:1fr;gap:16px}#gp .gp-card{padding:20px}#gp .gp-footer{display:block;margin-top:22px}#gp .gp-footer>p{text-align:left;margin-top:14px}#gp .gp-card-head{margin-bottom:15px}#gp #gp-modes span{font-size:13px}}
@media(prefers-reduced-motion:reduce){#gp.gp-spinning #gp-drum,#gp.gp-spinning #gp-crank,#gp.gp-dropping #gp-ball,#gp .gp-confetti-piece{animation:none!important}#gp.gp-dropping #gp-ball{opacity:1}#gp .gp-primary{transition:none}}

@media(max-width:520px){#gp input[type=text],#gp input[type=number]{font-size:16px}#gp #gp-sound{min-height:44px}#gp summary{min-height:44px}#gp .gp-text-button{min-height:44px}}
#gp .gp-manual-option{display:flex;flex-wrap:wrap;align-items:center;gap:3px 12px;margin-top:14px;padding:11px 13px;background:#edf3e9;border-radius:10px;font-size:13px}#gp .gp-manual-option label{font-weight:700;min-height:32px;display:flex;align-items:center;gap:7px}#gp .gp-manual-option span{font-size:10px;color:#72816c}#gp input[type=checkbox],#gp input[type=radio]{accent-color:#235e60}#gp #gp-physics-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin:9px 0 2px}#gp #gp-physics-tools{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px}#gp #gp-physics-tools label,#gp .gp-inside-label{display:flex;align-items:center;gap:5px;min-height:40px;font-size:12px}#gp #gp-physics-error{font-size:12px;color:#a94129;margin-top:6px}#gp .gp-manual-drive{display:flex;align-items:center;justify-content:center;gap:22px;padding:13px 5px;background:#f0f1e7;border-radius:15px}#gp .gp-manual-drive>div{max-width:230px}#gp .gp-manual-drive strong{font-size:14px}#gp .gp-manual-drive p{font-size:11px;color:#6c796c;margin:4px 0 10px}#gp #gp-dial{position:relative;width:110px;height:110px;flex:none;border:9px solid #c9aa70;border-radius:50%;background:#fcfbf3;touch-action:none;box-shadow:inset 0 0 0 2px #987b48;cursor:grab}#gp .gp-dial-arm{position:absolute;inset:0;transform:rotate(var(--crank-angle,0rad));pointer-events:none}#gp .gp-dial-arm:before{content:'';position:absolute;height:8px;left:50%;right:4px;top:calc(50% - 4px);background:#8b9b99;border-radius:5px}#gp .gp-dial-arm i{position:absolute;width:23px;height:23px;background:#a66b35;border:2px solid #f3d39e;border-radius:50%;right:-7px;top:calc(50% - 12px)}#gp .gp-dial-arrow{font-size:31px;color:#a28a5c;position:absolute;top:4px;left:27px;pointer-events:none}#gp #gp-hold{touch-action:none;user-select:none}#gp #gp-hold[aria-pressed=true]{background:#235e60;color:white}#gp .gp-physics-note{font-size:10px;color:#71806f;line-height:1.8;margin:10px 3px 0}#gp[data-physics=true] .gp-stage-copy{display:none}@media(max-width:520px){#gp .gp-manual-drive{gap:14px}#gp #gp-dial{width:88px;height:88px;border-width:7px}#gp .gp-dial-arrow{font-size:24px;left:20px}#gp .gp-manual-drive strong{font-size:12px}#gp #gp-hold{font-size:11px;padding:8px}#gp .gp-manual-option{font-size:12px}}
