.japanese-page{--yellow:#ff5364;--cyan:#ff5364;--yellow-soft:#e24454;background:radial-gradient(ellipse at 90% 0,#310d16 0,transparent 42%),#090b0c}.japanese-page .math-command,.japanese-page .math-panel,.japanese-page .math-grade,.japanese-page .math-point{background:#1b1115}.japanese-page .math-grade.is-current{background:#2c1018}.japanese-page .math-stage-card{background:linear-gradient(125deg,#29141c,#151114 75%)}.japanese-page a.math-stage-card{border-color:#b83f51;border-top-color:var(--cyan)}.japanese-page a.math-stage-card:hover{background:#35131c}.japanese-page .math-stage-top span,.japanese-page .math-point .math-key{color:#ff9ca7}.japanese-page .math-command h2{margin:4px 0 8px;font-size:clamp(1.6rem,3vw,2.4rem)}.japanese-page .math-point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.japanese-page .math-poster-frame img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/1;object-fit:contain}.japanese-quiz-page [data-question-text]{white-space:pre-line;line-height:1.85;font-size:clamp(1.2rem,2.4vw,1.85rem);overflow-wrap:anywhere}.japanese-target{color:#fff;background:#642734;border-bottom:3px solid #ff8c9a;padding:0 .12em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.japanese-quiz-page .quiz-question-note{padding:10px 12px;border-left:3px solid var(--cyan);background:#25131b;color:#e4dce0;font-size:.88rem;line-height:1.7}.japanese-quiz-page [data-feedback-explanation],.japanese-quiz-page .quiz-answer-log details p{white-space:pre-line}.japanese-quiz-page .quiz-short-form input{font-size:1.1rem;min-width:0}.japanese-page .math-grades{scroll-margin-top:90px}@media(max-width:600px){.japanese-page .math-point-grid{grid-template-columns:1fr}.japanese-quiz-page .quiz-short-form>div{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.japanese-quiz-page .quiz-short-form button{min-height:50px;width:100%}}
