:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{color:#1f2933;background:#f7faf2;margin:0;font-family:system-ui,-apple-system,Hiragino Kaku Gothic ProN,sans-serif;line-height:1.6}main{max-width:48rem;margin:0 auto;padding:2rem 1rem}a{color:#4d7c0f}[data-testid=controls] button:disabled{cursor:not-allowed}[data-testid=controls] button:disabled img{opacity:.4;filter:grayscale()}.petapyon-play-main{max-width:none;padding:0}.petapyon-play{--petapyon-stone-land-duration:1s;--petapyon-stone-impact-delay:calc(var(--petapyon-stone-land-duration) * .3);--petapyon-play-height:100vh;--petapyon-board-size:min(90vw, 880px, calc(var(--petapyon-play-height) - 390px), calc((var(--petapyon-play-height) - 240px) / 1.31));--petapyon-column-min:376px;--petapyon-surface:max(var(--petapyon-column-min), var(--petapyon-board-size));height:var(--petapyon-play-height);padding:max(8px, env(safe-area-inset-top)) 0 max(8px, env(safe-area-inset-bottom));flex-direction:column;justify-content:center;align-items:center;display:flex}@supports (height:1dvh){.petapyon-play{--petapyon-play-height:100dvh}}@media (max-width:600px){.petapyon-play{--petapyon-column-min:0px;--petapyon-board-size:min(94vw, calc(var(--petapyon-play-height) - 340px))}}@media (max-height:519.98px){.petapyon-play{--petapyon-board-size:min(90vw, calc(var(--petapyon-play-height) - 16px));height:auto}}.petapyon-play-surface-width{width:var(--petapyon-surface,min(90vw, 520px))}.petapyon-controls-wrapper{flex-shrink:0;justify-content:center;width:100%;display:flex}[data-testid=controls]{justify-content:space-between;align-items:center;gap:.5rem;display:flex}[data-testid=controls] a{color:inherit;text-decoration:none}.petapyon-rules-modal-backdrop{z-index:100;background:#1f29338c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.petapyon-rules-modal{background:#fffdf8;border-radius:12px;flex-direction:column;width:min(90vw,520px);max-height:min(85vh,720px);display:flex;overflow:hidden;box-shadow:0 12px 32px #1f293340}.petapyon-rules-modal-header{border-bottom:1px solid #4d7c0f33;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1rem .75rem;display:flex}.petapyon-rules-modal-title{color:#3f6212;margin:0;font-size:1.25rem}.petapyon-rules-modal-close{color:#3f6212;min-width:44px;min-height:44px;font:inherit;cursor:pointer;background:#f7faf2;border:1px solid #4d7c0f59;border-radius:8px;flex-shrink:0;padding:.5rem .75rem}.petapyon-rules-modal-body{padding:.5rem 1rem 1rem;overflow:auto}.petapyon-rules-section-title{color:#3f6212;margin:.75rem 0 .5rem;font-size:1.05rem}.petapyon-rules-section-title--qa{border-top:1px solid #4d7c0f33;margin-top:1.5rem;padding-top:1rem}.petapyon-rules-kids-cards{gap:.6rem;margin:0;padding:0 0 0 1.75rem;display:grid}.petapyon-rules-kids-cards>li::marker{color:#3f6212;font-weight:700}.petapyon-rules-kids-card{color:#1f2933;word-break:keep-all;overflow-wrap:anywhere;background:#f7faf2;border-radius:10px;padding:.6rem .75rem;line-height:1.7}.petapyon-rules-kids-card p{margin:0}.petapyon-rules-kids-card .petapyon-rules-kids-card-title{color:#3f6212;font-weight:700}.petapyon-rules-kids-card--hint{background:#fff7e6;border:1px dashed #b4781473;margin-top:.75rem}.petapyon-rules-kids-card--hint .petapyon-rules-kids-card-title{color:#7c4a03}.petapyon-rules-accordion{margin:0;padding:0;list-style:none}.petapyon-rules-accordion-item+.petapyon-rules-accordion-item{border-top:1px solid #4d7c0f26}.petapyon-rules-accordion-trigger{color:#1f2933;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:.9rem .25rem;font-weight:700;display:block}.petapyon-rules-accordion-panel{color:#334155;padding:0 .25rem 1rem;line-height:1.7}.petapyon-rules-accordion-panel p{margin:0 0 .75rem}.petapyon-rules-accordion-panel p:last-child{margin-bottom:0}.petapyon-board-wrapper{flex:1 1 var(--petapyon-board-size,min(90vw, 520px));justify-content:center;align-items:center;width:100%;min-height:0;display:flex;position:relative;overflow-x:clip;container-type:size}.petapyon-board{--petapyon-board-width:var(--petapyon-board-size,min(90vw, 520px));--petapyon-board-wrapper-half-width:50vw;--petapyon-stone-edge-offset:max(0px, calc(var(--petapyon-board-width) * .575 - var(--petapyon-board-wrapper-half-width) + 1px));width:var(--petapyon-board-width);flex-shrink:0}@supports (width:1cqh){.petapyon-board{--petapyon-board-width:min(var(--petapyon-surface,min(90vw, 520px)), 100cqw, 100cqh);--petapyon-board-wrapper-half-width:50cqw}}.petapyon-board [role=gridcell]:first-child{--petapyon-stone-start-x:var(--petapyon-stone-edge-offset)}.petapyon-board [role=gridcell]:last-child{--petapyon-stone-start-x:calc(0px - var(--petapyon-stone-edge-offset))}.petapyon-stone{pointer-events:none;position:absolute;inset:2.5%}.petapyon-stone img{object-fit:contain;width:100%;height:100%;display:block;position:relative}.petapyon-captured-stones{pointer-events:none;display:none;position:absolute;inset:0}.petapyon-last-move-marker{--petapyon-last-move-width:2px;--petapyon-last-move-color:#f4e1a1;border:var(--petapyon-last-move-width) solid var(--petapyon-last-move-color);pointer-events:none;border-radius:50%;position:absolute;inset:3px}.petapyon-thinking-overlay{z-index:2}@media (prefers-reduced-motion:no-preference){.petapyon-stone[data-landing]{z-index:1}.petapyon-stone[data-landing] img{animation:petapyon-stone-land var(--petapyon-stone-land-duration) ease-out both}.petapyon-stone[data-landing]:before{content:"";animation:petapyon-stone-shadow var(--petapyon-stone-land-duration) ease-out both;background:radial-gradient(#2a1c114d,#0000 70%);position:absolute;inset:68% 2% -4%}.petapyon-stone[data-landing=waiting] img,.petapyon-stone[data-landing=waiting]:before{animation-play-state:paused}.petapyon-captured-stones{--petapyon-capture-duration:.9s;--petapyon-capture-delay:var(--petapyon-stone-impact-delay);animation:petapyon-captured-stones-fade var(--petapyon-capture-duration) ease-in-out var(--petapyon-capture-delay) both;display:block}.petapyon-captured-stones[data-capture=immediate]{--petapyon-capture-delay:0s}.petapyon-captured-stone{animation:petapyon-captured-stone-shrink var(--petapyon-capture-duration) ease-in-out var(--petapyon-capture-delay) both;justify-content:center;align-items:center;display:flex}.petapyon-captured-stones[data-capture=waiting],.petapyon-captured-stones[data-capture=waiting] .petapyon-captured-stone{animation-play-state:paused}@supports (background:conic-gradient(#000, #fff)) and ((-webkit-mask-image:radial-gradient(transparent, #000)) or (mask-image:radial-gradient(transparent, #000))){.petapyon-last-move-marker:before{--petapyon-last-move-mask:radial-gradient(closest-side, transparent calc(100% - var(--petapyon-last-move-width)), #000 0);content:"";inset:calc(0px - var(--petapyon-last-move-width));border-radius:inherit;background:conic-gradient(var(--petapyon-last-move-color), #f7e7b5, var(--petapyon-last-move-color));-webkit-mask-image:var(--petapyon-last-move-mask);-webkit-mask-image:var(--petapyon-last-move-mask);mask-image:var(--petapyon-last-move-mask);animation:24s linear infinite petapyon-last-move-rotate;position:absolute}.petapyon-stone[data-landing]+.petapyon-last-move-marker:before{animation-play-state:paused}}}@keyframes petapyon-stone-land{0%{transform:translate(var(--petapyon-stone-start-x,0px), -52%) scale(2);animation-timing-function:cubic-bezier(.42,0,.8,.75)}30%{transform:translate(0)scale(1.05)}to{transform:translate(0)scale(1)}}@keyframes petapyon-stone-shadow{0%{opacity:.55;transform:scale(1.35)}30%{opacity:.9;transform:scale(.88)}to{opacity:0;transform:scale(.72)}}@keyframes petapyon-last-move-rotate{to{transform:rotate(1turn)}}@keyframes petapyon-captured-stones-fade{0%{opacity:1}to{opacity:0}}@keyframes petapyon-captured-stone-shrink{0%{transform:scale(1)}to{transform:scale(.92)}}.petapyon-player-panels{isolation:isolate;width:var(--petapyon-surface,100%);background:url(/assets/petapyon-go/backgrounds/BottomScoreBg.png) 50%/100% 100% no-repeat;border-radius:10px;flex-shrink:0;align-items:flex-start;gap:16px;min-height:150px;margin:.5rem 0 0;padding:8px;transition:all .3s,width,min-height;display:flex;position:relative}@media (max-aspect-ratio:3/4){.petapyon-player-panels{flex-shrink:0;min-height:clamp(130px,17dvh,180px)}}.petapyon-player-panel{flex:1;gap:10px;min-width:0;display:flex}.petapyon-player-panel-usagi{flex-direction:row-reverse}.petapyon-player-image-block{flex-direction:column;flex-shrink:0;align-items:center;width:60px;transition:width .3s;display:flex}.petapyon-score-text{color:#592200;text-shadow:1px 1px 2px #ffffffb3;margin:0;font-size:2.5rem;font-weight:700;line-height:1;transition:font-size .3s}.petapyon-player-image-container{width:100%;margin-top:auto;transition:all .3s}.petapyon-player-image{width:100%;display:block}.petapyon-player-panel[data-current=true] .petapyon-player-image-container{filter:drop-shadow(0 0 10px #ffff64e6);animation:1.5s ease-in-out infinite petapyon-turn-pulse;transform:scale(1.1)}@keyframes petapyon-turn-pulse{0%,to{filter:drop-shadow(0 0 10px #ffff64e6)}50%{filter:drop-shadow(0 0 18px #ffff64)}}@media (prefers-reduced-motion:reduce){.petapyon-player-panel[data-current=true] .petapyon-player-image-container{animation:none}}.petapyon-snack-grid-container{flex-grow:1;align-items:center;min-width:0;display:flex;position:relative}.petapyon-snack-grid{--petapyon-snack-grid-gap:3px;--petapyon-snack-grid-padding:5px;grid-template-columns:repeat(var(--petapyon-snack-columns,7), 1fr);gap:var(--petapyon-snack-grid-gap);width:100%;padding:var(--petapyon-snack-grid-padding);background:#0000001a;border-radius:8px;display:grid;position:relative}.petapyon-snack-item{aspect-ratio:1;object-fit:contain;border-radius:3px;width:100%}.petapyon-snack-item[src]{background-color:#fff}.petapyon-snack-item:not([src]){background-color:#bcdd6b;border:1px dashed #ffffffb3}.petapyon-snack-grid-usagi .petapyon-snack-item:not([src]){background-color:#eabeda}.petapyon-snack-burst{display:none}@media (prefers-reduced-motion:no-preference){.petapyon-snack-item[data-snack-arrival]{--petapyon-snack-arrival-y:calc(-100% * (var(--petapyon-snack-row) + 1.5) - var(--petapyon-snack-grid-gap) * (var(--petapyon-snack-row) + 1) - var(--petapyon-snack-grid-padding));--petapyon-snack-arrival-delay:var(--petapyon-stone-impact-delay);z-index:1;pointer-events:none;animation:petapyon-snack-arrive .85s ease-out var(--petapyon-snack-arrival-delay) both;position:relative}.petapyon-snack-item[data-snack-arrival=waiting]{animation-play-state:paused}.petapyon-snack-item[data-snack-arrival=immediate]{--petapyon-snack-arrival-delay:0s}@supports (clip-path:polygon(0 0, 100% 0, 0 100%)){.petapyon-snack-grid-usagi{isolation:isolate}.petapyon-snack-grid-usagi>.petapyon-snack-item[src]{z-index:1}.petapyon-snack-burst{--petapyon-snack-burst-duration:.65s;--petapyon-snack-burst-delay:var(--petapyon-stone-impact-delay);z-index:0;pointer-events:none;animation:petapyon-snack-burst-fade var(--petapyon-snack-burst-duration) linear var(--petapyon-snack-burst-delay) both;display:block;position:absolute;inset:0}.petapyon-snack-burst:before,.petapyon-snack-burst-fragment{background:var(--petapyon-snack-burst-image) center / contain no-repeat;position:absolute;inset:0}.petapyon-snack-burst:before{content:"";animation:petapyon-snack-burst-intact var(--petapyon-snack-burst-duration) ease-out var(--petapyon-snack-burst-delay) both;background-color:#fff;border-radius:3px}.petapyon-snack-burst-fragment{animation:petapyon-snack-burst-fragment var(--petapyon-snack-burst-duration) ease-out var(--petapyon-snack-burst-delay) both}.petapyon-snack-burst[data-snack-burst=waiting],.petapyon-snack-burst[data-snack-burst=waiting]:before,.petapyon-snack-burst[data-snack-burst=waiting] .petapyon-snack-burst-fragment{animation-play-state:paused}.petapyon-snack-burst[data-snack-burst=immediate]{--petapyon-snack-burst-delay:0s}}}@keyframes petapyon-snack-arrive{0%,52.941%{transform:translateY(var(--petapyon-snack-arrival-y)) scale(2);background-color:#0000}0%{opacity:0}17.647%,to{opacity:1}to{background-color:#fff;transform:translateY(0)scale(1)}}@keyframes petapyon-snack-burst-fade{0%,38.462%{opacity:1}to{opacity:0}}@keyframes petapyon-snack-burst-intact{0%{opacity:1;transform:scale(1)}15.384%{opacity:1;transform:scale(1.08)}15.385%,to{opacity:0;transform:scale(1.08)}}@keyframes petapyon-snack-burst-fragment{0%,15.384%{opacity:0;transform:scale(1.08)}15.385%{opacity:1;animation-timing-function:cubic-bezier(.16,1,.3,1);transform:scale(1.08)}38.462%{transform:translate(var(--petapyon-snack-fragment-x), var(--petapyon-snack-fragment-y)) rotate(var(--petapyon-snack-fragment-turn)) scale(.72)}to{opacity:1;transform:translate(var(--petapyon-snack-fragment-x), calc(var(--petapyon-snack-fragment-y) + 18%)) rotate(calc(var(--petapyon-snack-fragment-turn) * 1.5)) scale(.08)}}@media (max-width:600px){.petapyon-player-image-block{width:48px}.petapyon-score-text{font-size:2rem}}.petapyon-winner-overlay{z-index:10;pointer-events:none;background:#00000080;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.petapyon-winner-image{width:60%;max-width:300px;height:auto;display:block}.petapyon-message-overlay{pointer-events:none;z-index:30;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.petapyon-message-image{width:min(45%,180px);height:auto;display:block}@media (max-width:720px){.petapyon-message-image{width:min(40vw,156px)}}.petapyon-thinking-spinner{border:2px solid #7cb34259;border-top-color:#4d7c0f;border-radius:50%;width:.75rem;height:.75rem;animation:.8s linear infinite petapyon-thinking-spin}@keyframes petapyon-thinking-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.petapyon-thinking-spinner{animation:none}}.petapyon-footer{text-align:center;color:#52606d;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.5rem;font-size:.8rem;display:flex}.petapyon-footer-logo{width:auto;height:36px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.petapyon-ai-level{width:var(--petapyon-surface,100%);box-sizing:border-box;background:#fffdf8;border:1px solid #4d7c0f59;border-radius:12px;flex-shrink:0;min-width:0;margin:0 0 .5rem;padding:.5rem .75rem .75rem}.petapyon-ai-level-legend{color:#3f6212;padding:0 .4rem;font-size:1rem;font-weight:700}.petapyon-ai-level-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:.375rem;display:grid}.petapyon-ai-level-option{color:#3f6212;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#fff;border:2px solid #4d7c0f59;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:.25rem .125rem;font-size:.875rem;font-weight:600;line-height:1.2;display:inline-flex;position:relative}.petapyon-ai-level-image{aspect-ratio:1;object-fit:contain;border-radius:.375rem;width:min(100%,3.25rem);height:auto;display:block}.petapyon-ai-level-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.petapyon-ai-level-option:has(.petapyon-ai-level-input:checked){border-color:#3f6212;box-shadow:inset 0 0 0 1px #3f6212}.petapyon-ai-level-option:has(.petapyon-ai-level-input:focus-visible){outline-offset:2px;outline:3px solid #3f6212}.petapyon-ai-level[disabled] .petapyon-ai-level-option{opacity:.55;cursor:not-allowed}@media (hover:hover){.petapyon-ai-level:not([disabled]) .petapyon-ai-level-option:hover{border-color:#3f6212}}@media (max-width:600px){.petapyon-ai-level{padding:.25rem .5rem .5rem}.petapyon-ai-level-legend{font-size:.875rem}.petapyon-ai-level-options{gap:.25rem}}.petapyon-control-button{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;min-width:88px;min-height:88px;padding:8px 16px;display:inline-flex}.petapyon-control-image{width:auto;height:4.5rem;display:block}@media (max-width:600px){[data-testid=controls]{gap:.375rem}.petapyon-control-button{flex:0 auto;min-width:0;min-height:44px;padding:8px 4px}.petapyon-control-image{width:auto;max-width:100%;height:auto;max-height:min(4.5rem,13vw);margin-inline:auto}}
.petapyon-migration-footer{display:contents}#main-content:focus{outline:none}.petapyon-game-breadcrumb{color:#6e5d4e;max-width:48rem;margin:0 auto;font-size:.875rem;line-height:1.8}.petapyon-game-breadcrumb ol{flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.petapyon-game-breadcrumb li+li:before{content:"/";margin-inline-end:.5rem}.petapyon-game-breadcrumb a{color:inherit;text-underline-offset:.25em;text-decoration:underline}.petapyon-game-breadcrumb [aria-current=page]{color:#4b3323}
