.pc-main { padding-bottom: 8px; }
.pc-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .pc-hero { grid-template-columns: 1fr; } }
.pc-kicker { color: #166534; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 6px 0 4px; }
.pc-title { font-size: 44px; line-height: 1.05; margin: 0 0 12px; color: #232048; }
.pc-title span { color: #166534; }
.pc-rule { font-size: 19px; line-height: 1.45; color: #33305a; margin: 0 0 10px; }
.pc-note { color: #5d5980; line-height: 1.5; margin: 0; }
.pc-console { min-width: 0; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 16px; padding: 16px; }
.pc-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #14532d; font-size: 15px; }
.pc-stats strong { color: #232048; }
.pc-stage { display: flex; flex-direction: column; justify-content: center; align-items: stretch; min-height: 200px; margin: 0 auto 14px; padding: 20px 14px; border-radius: 14px; background: linear-gradient(180deg, #fefce8 0%, #fef9c3 60%, #fde68a 100%); overflow: hidden; }
.pc-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.pc-link { display: inline-block; width: 54px; height: 34px; margin-left: -10px; border-radius: 999px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .45), 0 2px 5px rgba(0, 0, 0, .18); }
.pc-link:first-child { margin-left: 0; }
.pc-link::after { content: ""; display: block; width: 30px; height: 14px; margin: 10px auto 0; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.pc-next-slot { background: transparent; border: 2px dashed #92400e; box-shadow: none; color: #92400e; font-weight: 700; font-size: 20px; line-height: 30px; text-align: center; }
.pc-next-slot::after { display: none; }
.pc-chain.pc-wrong { animation: pc-shake .3s ease; }
@keyframes pc-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pc-question { font-weight: 700; color: #92400e; margin: 14px 0 6px; text-align: center; }
.pc-colours { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 4px; }
.pc-colour { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #166534; background: #ffffff; color: #166534; padding: 10px 18px; display: inline-flex; align-items: center; gap: 8px; }
.pc-colour:disabled { opacity: .45; cursor: default; }
.pc-colour:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.pc-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.pc-key { font-weight: 400; color: #5d5980; font-size: 14px; }
.pc-controls { display: flex; gap: 10px; margin: 14px 0 12px; flex-wrap: wrap; }
.pc-controls button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #166534; background: #ffffff; color: #166534; padding: 10px 18px; }
.pc-controls .pc-primary { background: #166534; border-color: #166534; color: #ffffff; }
.pc-controls button:disabled { opacity: .45; cursor: default; }
.pc-status { color: #5d5980; min-height: 24px; margin: 12px 0 0; }
.pc-hint { color: #5d5980; font-size: 14px; margin: 8px 0 0; }
@media (max-width: 760px) { .pc-console { display: flex; flex-direction: column; } .pc-stats { order: 1; } .pc-controls { order: 2; } .pc-stage { order: 3; } .pc-question { order: 4; } .pc-colours { order: 5; } .pc-status { order: 6; } .pc-hint { order: 7; } }
@media (max-width: 390px) { .pc-title { font-size: 36px; } .pc-console { padding: 12px; } .pc-stage { min-height: 180px; } .pc-link { width: 46px; height: 30px; } .pc-link::after { width: 26px; height: 12px; margin-top: 9px; } .pc-stats { font-size: 14px; gap: 12px; } .pc-controls button, .pc-colour { padding: 8px 14px; font-size: 15px; } }
