.psc-game{max-width:660px;margin:0 auto;color:#202020;background:#fffefc;font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.7;overflow-wrap:anywhere;box-sizing:border-box}
.psc-game *,.psc-results *{box-sizing:border-box}.psc-game>h2{font-size:1.4rem;margin:0 0 20px;font-weight:750}.psc-question-card{padding:20px;border:1px solid #e5e5e5;border-radius:20px;background:#fff}.psc-question-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:.95rem}.psc-badge{display:inline-block;background:#e9f8f1;color:#247d53;font-weight:700;padding:3px 10px;border-radius:30px}.psc-question-count{color:#777;flex-shrink:0}.psc-photo{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:#f8f8f6;border-radius:15px}
.psc-game label{display:block;margin:22px 0 14px;font-weight:700;font-size:1.12rem}.psc-game textarea{display:block;width:100%;min-height:150px;resize:vertical;border:1px solid #d9d9d9;border-radius:12px;padding:16px;background:#fff;font:inherit;font-size:1.1rem;line-height:1.65;color:#202020;margin:0 0 14px}.psc-game textarea::placeholder{color:#888}.psc-game [hidden],.psc-results [hidden]{display:none!important}
.psc-button{min-height:46px;padding:10px 20px;border:1px solid #d6d6d6;border-radius:28px;background:#fff;color:#303030;font:inherit;font-weight:600;cursor:pointer;line-height:1.5}.psc-button:disabled{opacity:.5;cursor:default}.psc-primary{background:#111;color:#fff;border-color:#111;display:block;width:100%;min-height:52px}.psc-submit{margin-top:18px}.psc-outline{background:#fff;color:#303030}.psc-hint-toggle{padding:8px 18px;font-size:1rem;min-height:44px;font-weight:500}.psc-button:focus-visible,.psc-game textarea:focus-visible,.psc-model summary:focus-visible{outline:3px solid #17a39b;outline-offset:3px}
.psc-hint-panel{margin-top:14px;padding:16px 18px;background:#e9f8f1;border:1px solid #e0eee7;border-radius:16px}.psc-hint-count{font-size:.9rem;color:#66726a;margin:0 0 8px}.psc-hint-text{font-size:1.1rem;margin:0 0 14px;min-height:1.7em}.psc-hint-navigation{display:flex;justify-content:space-between;gap:12px}.psc-hint-navigation .psc-button{font-size:.95rem;min-height:44px;padding:8px 22px}
.psc-results{color:#202020;line-height:1.75;overflow-wrap:anywhere;margin-top:28px;border-top:1px solid #ececec;padding-top:24px}.psc-results h2{font-size:1.2rem;margin:24px 0 14px;font-weight:750}.psc-results h3{font-size:1.08rem;margin:0 0 12px}.psc-results h4{font-size:.95rem;margin:14px 0 4px;font-weight:700}.psc-results p{margin:6px 0 14px}.psc-meter{background:#f5f5f3;border-radius:17px;padding:20px}.psc-meter h2{margin:0 0 10px;font-size:1.05rem;color:#555;font-weight:600}.psc-score-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}.psc-score{font-size:2.7rem;line-height:1.2;color:#202020}.psc-score-message{color:#666;font-size:.98rem}
.psc-results progress{display:block;width:100%;height:16px;appearance:none;-webkit-appearance:none;accent-color:#17a39b;border:0;border-radius:10px;background:#eaeae8;overflow:hidden}.psc-results progress::-webkit-progress-bar{background:#eaeae8;border-radius:10px}.psc-results progress::-webkit-progress-value{background:#17a39b;border-radius:10px;transition:width .35s ease}.psc-results progress::-moz-progress-bar{background:#17a39b;border-radius:10px}
.psc-corrected,.psc-explanation{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:18px}.psc-corrected{font-size:1.2rem;white-space:pre-wrap;color:#202020}.psc-edit{color:#d92f36;font-weight:700}.psc-corrected ins{text-decoration:none}.psc-corrected del{margin-right:.12em;text-decoration-thickness:1px}.psc-key{font-size:.88rem;color:#777}.psc-explanation{margin-bottom:16px}.psc-explanation-heading{display:flex;align-items:flex-start;gap:10px}.psc-error-number{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:28px;background:#fff0f0;color:#c8323b;border-radius:50%;font-size:.92rem}.psc-advice{background:#e9f8f1;border-radius:17px;padding:18px;margin-top:20px}.psc-advice h2{margin:0 0 8px}.psc-advice p{margin-bottom:0}.psc-model{margin-top:20px}.psc-model summary{display:block;cursor:pointer;min-height:48px;padding:10px 16px;border:1px solid #d7d7d7;border-radius:28px;text-align:center;font-weight:600;list-style:none}.psc-model summary::-webkit-details-marker{display:none}.psc-model[open]{border:1px solid #e5e5e5;border-radius:16px;padding:16px}.psc-model[open] summary{margin-bottom:18px}.psc-model-english{font-size:1.15rem}.psc-result-controls{display:flex;flex-direction:column;gap:12px;margin-top:22px}.psc-improvement{font-weight:700;color:#247d53}.psc-notice{max-width:660px;margin:12px auto;line-height:1.7;color:#555}.psc-notice:empty{display:none}
@media(max-width:480px){.psc-question-card{padding:15px;border-radius:18px}.psc-question-header{gap:8px;font-size:.8rem;margin-bottom:14px}.psc-badge{padding:3px 8px}.psc-photo{max-height:380px;border-radius:13px}.psc-game label{font-size:1.05rem;margin-top:20px}.psc-game textarea{font-size:1.05rem;min-height:140px;padding:13px}.psc-results h2{font-size:1.1rem}.psc-meter{padding:16px}.psc-explanation,.psc-corrected{padding:15px}.psc-corrected{font-size:1.1rem}.psc-score{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){.psc-results progress::-webkit-progress-value{transition:none}}
.psc-explanation .psc-explanation-why{margin:8px 0 12px}.psc-explanation .psc-correct-form{margin:8px 0}.psc-explanation .psc-explanation-tip{margin:10px 0 0;color:#666}.psc-old-form{color:#bb3440}.psc-advice-heading{display:flex;align-items:center;gap:10px}.psc-bulb{width:24px;height:24px;flex-shrink:0;fill:none;stroke:#247d53;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
