/* Keep small information legible, including unavailable actions. */
:root{--ink:#3f3023;--muted:#68513b}
body{color:var(--ink)}
.game-nav button{font-size:14px;color:#493423}
.game-logo small,.calendar-chip{font-size:13px;color:#70502f}
.goal-banner{flex-wrap:wrap}
.calendar-chip{line-height:1.7}
.energy-row>strong small{font-size:14px;color:#68513b}
.mood-chip{font-size:13px;color:#77501f}
.ability>b{font-size:15px;white-space:normal;line-height:1.5;background:#256b9b;text-shadow:none}
.ability-1>b{background:#2c6499}.ability-2>b{background:#3f6099}.ability-3>b{background:#625990}
.ability-board .ability>div>span{font-size:16px;color:#634b34;font-weight:600}
.favorite-opening>b,.game-main .ability-board .favorite-opening>b{font-size:14px;white-space:normal;background:#ac4f43;color:#fff;line-height:1.5;text-shadow:none}
.favorite-opening>small,.game-main .ability-board .favorite-opening>small{font-size:13px;color:#6f4534;line-height:1.7}
.route-steps>span{font-size:13px;color:#645039;background:#e7dcc7}
.route-steps .done{background:#806127;color:#fff}.route-steps .current{background:#a15c20;color:#fff}
.route-title{font-size:14px;color:#70502f}
.chapter-route button{font-size:13px;color:#72502b;line-height:1.5}
.dojo-stage.activity-scene>.activity-heading>span{font-size:14px;color:#72502b}
.activity-heading h2{font-size:23px;color:#674526;line-height:1.6}
.dojo-stage.activity-scene>.speech-bubble>span{font-size:13px;color:#72502b}
.dojo-stage.activity-scene>.speech-bubble p{font-size:18px;line-height:1.85;color:#33291f}
.dojo-stage.activity-scene>.week-result>small{font-size:13px;color:#70502f}
.dojo-stage.activity-scene>.week-result>div{font-size:14px;line-height:1.8;color:#674526}
.week-result b{color:#855016}
.dojo-stage.activity-scene .promise-note{font-size:14px;line-height:1.8;color:#674526}
.orb-face strong{font-size:clamp(18px,2vw,24px);color:#603b15}
.orb-effect,.orb-effects,.dojo-stage.activity-scene .orb-effect{font-size:13px;line-height:1.8;letter-spacing:0;color:#60431f;white-space:normal}
.orb-cost,.dojo-stage.activity-scene .orb-cost{font-size:13px;line-height:1.8;color:#60431f}
.training-orb:disabled{filter:none;opacity:1;cursor:not-allowed}
.training-orb:disabled .orb-face{filter:none;background:linear-gradient(#f1efe8,#dcd7ca);border-color:#b8b0a0;box-shadow:inset 0 2px 2px #fff,0 4px 0 #bdb4a1}
.training-orb:disabled .orb-face strong,.training-orb:disabled .orb-face .ico,.training-orb:disabled .orb-effect,.training-orb:disabled .orb-cost{color:#625b4c}
.training-orb:disabled .orb-effect span{background:#eeeadf}
.game-footer{font-size:13px;line-height:1.8;flex-wrap:wrap;color:#705336}
.game-footer button{font-size:13px;color:#705336}
.stage-event p,.stage-event>span,.story-scene .stage-event p{font-size:16px;line-height:1.9;color:#493423}
.event-choice small,.random-event-label{font-size:13px;color:#70502f}
.lesson-heading span{font-size:14px;color:#72502b;line-height:1.8}
.lesson-controls>p,.lesson-moves,.board-note,.match-help{font-size:14px;line-height:1.9;color:#674d34}
.lesson-feedback{font-size:18px;line-height:1.8;color:#674217}
.lesson-feedback.success{color:#674217}
.lesson-controls .lesson-note{font-size:13px!important;color:#705336}
.lesson-replay button,.lesson-replay b,.board-coords{font-size:13px;color:#674d34}
.hand>span,.hand>small,.hand button small{font-size:13px;color:#5f452b}
.hand button:disabled{opacity:1;color:#5f452b}
.reading-archive article>p,.reading-line p,.journey-grid p,.ability-explanations p{font-size:15px;line-height:1.9;color:#58402c}
.reading-line small,.journey-grid small{font-size:13px;color:#70502f}
dialog p,dialog label{font-size:15px;line-height:1.8}
.onboarding p{font-size:16px}.study-level-card small{font-size:13px;color:#68513b}
#toast{font-size:15px;line-height:1.8;color:#65431e}
@media(max-width:760px){
 .ability>b{font-size:13px;min-height:3.8em;display:grid;place-items:center;padding:5px 3px}
 .ability>div{flex-wrap:wrap;gap:4px}.ability-board .ability>div>span{font-size:14px}
 .activity-heading h2{font-size:21px}
 .game-nav button{font-size:13px}
}
@media(max-width:480px){
 .game-header{height:auto;flex-wrap:wrap;gap:16px;padding:16px 3px}
 .game-nav{width:100%;justify-content:space-between;gap:8px}
 .game-nav button{flex:1;font-size:13px;padding:8px 5px}
 .goal-banner>strong{font-size:17px;flex:1;min-width:0}
 .calendar-chip{width:100%;text-align:right;padding:3px 8px}
 .route-steps{gap:4px}.route-steps>span{width:22px;height:22px;font-size:12px}
 .chapter-route button{font-size:13px}
 .game-main .ability-board .favorite-opening{grid-template-columns:1fr 1fr;gap:0}
 .game-main .ability-board .favorite-opening>b{font-size:13px;grid-row:1/3;align-self:stretch;display:grid;place-items:center}
 .game-main .ability-board .favorite-opening>strong{font-size:18px}
 .dojo-stage.activity-scene>.speech-bubble p{font-size:17px}
 .dojo-stage.activity-scene .orb-effect,.dojo-stage.activity-scene .orb-cost{font-size:13px}
 .orb-face strong{font-size:19px}
 .game-footer,.game-footer button{font-size:13px}
}

.mood-chip{white-space:normal;line-height:1.7;flex-shrink:0}.week-result .mood-change.loss,.week-result .mood-change.loss b{color:#953d30}.dojo-stage.activity-scene .orb-cost{overflow-wrap:anywhere}

.dojo-stage.story-scene .stage-event button{font-size:16px;line-height:1.8}.dojo-stage.story-scene .stage-event button small{font-size:14px;line-height:1.8;color:#674d34}
.study-onboarding>p{font-size:16px;line-height:1.9}.study-level-grid small{font-size:13px;color:#68513b;line-height:1.8}.lesson-toolbar>button{font-size:14px}.study-settings legend{font-size:16px;color:#674d34}
