.school-calendar-screen{gap:6px}.school-week-strip{display:grid;grid-template-columns:repeat(7,1fr);flex:0 0 38px;gap:4px}.school-week-strip>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:9px;background:#eee4f5;color:#af98bd}.school-week-strip small{font-size:7px}.school-week-strip b{font-size:11px;line-height:12px}.school-week-strip .outing-day{background:#e9eddb;color:#95a37c}.school-week-strip .match-day{background:#f9ecd5;color:#bc9b63}.school-week-strip .today{background:#8855df;color:white;box-shadow:0 2px 0 #60418c}.school-calendar-screen .school-daily-stage{min-height:145px;flex:1 1 auto}.school-next-goal{position:absolute;top:9px;right:8px;max-width:63%;font-size:8px;padding:5px 6px;background:#fff8e6e8;border:1px solid #dccbe1;border-radius:7px;color:#9472a5}.school-daily-actions{flex:0 0 auto}.school-action-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.school-action-heading>b{font-size:12px}.school-action-heading>span,.school-action-heading>button{font-size:9px;color:#a58bb8;background:none;border:0;padding:0}.attribute-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.attribute-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:113px;border:1.5px solid #bfa1d9;border-radius:12px;background:#fff8e9;color:#8d6aa8;padding:9px 2px 7px;box-shadow:0 3px 0 #d2bbdf}.attribute-choice>b{font-size:12px}.attribute-choice>strong{font-size:20px;line-height:21px;color:#77518f;letter-spacing:-.8px}.attribute-choice>small{display:flex;align-items:center;gap:2px;font-size:9px;color:#be8c9c}.attribute-choice>i{position:absolute;top:-6px;left:50%;transform:translateX(-50%);font-size:7px;white-space:nowrap;padding:2px 4px;border-radius:4px;background:#e9dcf9;font-style:normal}.attribute-choice.inspired{background:#fff0ca;border-color:#dcb364;color:#b9873f}.attribute-choice.inspired i{background:#ffd385;color:#946329}.attribute-choice>em{font-size:7px;color:#b16d80;font-style:normal}.attribute-choice:disabled,.outing-actions>button:disabled{opacity:.45}.school-rest{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:9px 0 0;background:#e8ebd9;border:1.5px solid #c7cfad;border-radius:10px;padding:8px;color:#92a16e;min-height:35px}.school-rest b{font-size:11px}.school-rest span{font-size:10px}.outing-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.outing-actions>button{display:flex;align-items:center;gap:7px;min-height:70px;padding:9px 7px;background:#fff8e8;border:1.5px solid #c4aed5;box-shadow:0 3px 0 #d5c4df;border-radius:12px;color:#9474ad;text-align:left}.outing-actions b{display:block;font-size:12px;white-space:nowrap}.outing-actions small{display:block;font-size:8px;margin-top:5px}.outing-actions em{font-size:8px;font-style:normal;align-self:flex-end;margin-left:auto;white-space:nowrap;color:#ac9271}.outing-actions svg{flex-shrink:0;width:25px}.school-duel-card{padding:12px 16px;background:#fff7e6;border:1.5px solid #d7ba8d;border-radius:13px;text-align:center}.school-duel-card h2{font-size:19px;margin:5px 0 9px}.school-duel-focus{font-size:12px;color:#9c7eae;display:flex;align-items:center;justify-content:center}.school-duel-card p{font-size:9px;margin:9px 0}.school-duel-card .button{min-height:40px;font-size:13px;padding:9px}.weekly-score{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px 0;color:#8e56cf}.weekly-score strong{font-size:46px}.weekly-score span{font-size:28px}.weekly-rounds>div{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px dashed #d8c5df;font-size:13px}.weekly-rounds small{display:block;font-size:10px;line-height:1.6;color:#a78bb7}.weekly-rewards{text-align:center;font-size:12px}.classroom-screen .school-week-strip+section{margin-top:2px}.school-calendar-screen .compact-learning{flex-shrink:0}.progress-guide{padding:12px;background:#fff0ca;border:1px solid #debf81;border-radius:12px;font-size:12px;line-height:1.6;margin-bottom:12px}.progress-guide b{display:block}.simple-team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.simple-member{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #cbb4dc;border-radius:12px;background:#f8f0ff;min-height:110px;padding:5px 2px}.simple-member .adventurer{width:52px;height:70px}.simple-member b{font-size:9px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.simple-member span{font-size:9px;color:#a78ab7}.simple-member.locked{opacity:.45;background:#ece7f1}.unlock-notice{padding:10px;border:1px solid #d8bd7e;border-radius:12px;background:#fff0ca;font-size:12px;line-height:1.7;margin:10px 0}.progress-setup .setup-progress{--setup-columns:1}.progress-setup .setup-heading p{font-size:11px}.school-calendar-screen .pending-loot{min-height:65px}
@media(max-height:730px){.school-calendar-screen{gap:4px}.school-week-strip{flex-basis:33px}.school-week-strip small{font-size:7px}.school-week-strip b{font-size:10px}.school-calendar-screen .school-daily-stage{min-height:125px}.school-action-heading{margin-bottom:7px}.attribute-choice{min-height:99px;gap:3px;padding-top:7px}.attribute-choice svg{height:21px;width:21px}.attribute-choice>strong{font-size:18px}.attribute-choice>b{font-size:11px}.school-rest{margin-top:7px;padding:6px;min-height:32px}.outing-actions>button{min-height:61px}.school-duel-card{padding:9px 12px}.school-duel-card h2{font-size:17px}.school-duel-card p{margin:6px 0}.school-duel-card .button{min-height:36px;padding:7px}}
/* Keep the next meaningful action visible while the detailed report scrolls. */
.sketch-dialog.wide-dialog{display:flex;flex-direction:column;height:calc(100dvh - 34px);max-height:calc(100dvh - 34px);overflow:hidden;padding-bottom:14px}.report-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}.wide-dialog .report-actions{display:grid;grid-template-columns:1fr 1fr;flex:0 0 auto;gap:7px;margin:9px 0 0;padding-top:10px;border-top:1px solid #dfcce6;background:#fff8e9}.wide-dialog .report-actions .button{min-width:0;min-height:37px;width:100%;padding:8px 5px;font-size:11px;box-sizing:border-box;margin:0}
.yanli-profile,.yanli-team{font-size:13px;color:#9370ae;margin:10px 0;padding:9px;background:#f1e7fb;border-radius:9px}.yanli-profile b{font-size:21px;margin-left:9px}.yanli-versus{display:flex;align-items:center;justify-content:space-around;gap:10px;padding:5px 0 10px;color:#9575ad}.yanli-versus>span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;flex:1}.yanli-versus strong{font-size:26px;line-height:1.1;color:#80529d;font-variant-numeric:tabular-nums}.yanli-versus>b{font-size:12px;color:#baa3c6}.yanli-versus small{font-size:9px;line-height:1.6}.result-comparison{padding:20px 0}.result-comparison strong{font-size:33px}.tactic-preference{font-size:10px;margin:3px 0 8px;color:#ac8a59}.tactic-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}.tactic-choices button{padding:7px 3px;border:1.5px solid #d2bce2;background:#f7effd;border-radius:9px;color:#9875b0}.tactic-choices button.selected{background:#e0c8fb;border-color:#9365c8;box-shadow:0 2px 0 #b197c9}.tactic-choices b{display:block;font-size:12px}.tactic-choices small{display:block;font-size:9px;margin-top:4px}.tactic-result{text-align:center;font-size:13px;color:#9969ba}.school-duel-card .button{font-size:12px}.school-calendar-screen .classroom-nameplate>span{font-size:9px;font-weight:700;color:#9669b0}
@media(max-height:730px){.yanli-versus{padding-bottom:6px}.yanli-versus strong{font-size:23px}.tactic-choices{margin-bottom:7px}.tactic-choices button{padding:5px 2px}.tactic-preference{margin-bottom:6px}}

.yanli-profile .power-explanation{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#947ba6}
