.pc-shell { max-width: 56rem; margin: auto; }
.pc-head { display:flex; align-items:center; gap:1.3rem; min-height:150px; padding:clamp(1rem,4vw,2.5rem); margin:1rem 0; color:#12394a; background:linear-gradient(115deg,#a8ecdf,#fff0af); border-radius:1.25rem; }
.pc-head i { font-size:clamp(2rem,7vw,4rem); color:#06796a; transform:rotate(-12deg); }
.pc-head h1 { font-weight:800; line-height:1.05; }
.pc-head p,.pc-case p { margin:0; }
.pc-stage { position:relative; overflow:hidden; border:2px solid #63b9ac; border-radius:1.2rem; padding:clamp(1rem,3vw,2rem); }
.pc-stage h2,.pc-rules h2 { font-size:1.45rem; font-weight:750; }
.pc-sound { float:right; }
.pc-stage button,.pc-stage .pc-link { min-height:44px; border-radius:.8rem; padding:.45rem .85rem; border:1px solid #378375; background:#effbf7; color:#16483e; font-weight:650; }
.pc-stage .pc-primary { background:#086854; color:white; }
.pc-stage button:active { background:#c1eade; }
.pc-stage progress { width:100%; accent-color:#149f85; }
#pc-count { font-weight:700; padding-right:6rem; }
#pc-stats { font-size:.9rem; }
.pc-pair { display:grid; grid-template-columns:1fr 1fr; gap:clamp(.4rem,2vw,1rem); margin:1rem 0; }
.pc-case { margin:0; color:#153f39; background:#d2f0eb; padding:clamp(.4rem,2vw,1rem); border-radius:1rem; }
.pc-case:nth-child(2) { background:#fff0bc; }
.pc-case figcaption { font-weight:750; margin-bottom:.35rem; }
.pc-shelf { display:grid; grid-template-columns:1fr 1fr; gap:.3rem; padding:.3rem; background:#d8a977; border-bottom:5px solid #946139; border-radius:.5rem; }
.pc-slot { min-width:0; aspect-ratio:1.25; display:grid; place-items:center; background:#fff9e9; border-radius:.4rem; }
.pc-slot img { height:100%; max-width:100%; min-height:0; object-fit:contain; }
.pc-found { outline:3px solid #08775f; outline-offset:-3px; animation:pc-pop .35s ease-out; }
#pc-actions,.pc-options { display:flex; gap:.5rem; flex-wrap:wrap; margin:.65rem 0; align-items:center; }
#pc-feedback { font-weight:650; margin:.7rem 0; }
.pc-sentence { font-size:clamp(1.45rem,4vw,2.1rem); line-height:1.6; }
.pc-rules { margin:2rem 0; }
.pc-spark { position:absolute; left:var(--x); bottom:5%; width:.55rem; height:.85rem; background:var(--color); pointer-events:none; animation:pc-rise .85s ease-out forwards; }
@keyframes pc-rise { to { transform:translateY(-12rem) rotate(180deg); opacity:0; } }
.pc-firework { bottom:32%; border-radius:50%; animation-name:pc-burst; }
@keyframes pc-burst { to { transform:translate(var(--dx),var(--dy)) scale(.4); opacity:0; } }
@keyframes pc-pop { 50% { transform:scale(.93); } }
@media(prefers-reduced-motion:reduce) { .pc-found,.pc-spark { animation:none; } .pc-spark { display:none; } }
