.hero{min-height:168px;padding:35px 0 30px}
.hero h1{margin:0;font-size:clamp(30px,3.6vw,45px);line-height:1.2;letter-spacing:-.06em}
.hero-date{min-height:112px;padding:18px 24px}
.hero-date strong{font-size:27px}
.section-heading h2{margin-bottom:0}
.score-mode-bar{display:inline-flex;gap:4px;padding:4px;margin:-2px 0 22px;border:1px solid #dfe7df;border-radius:11px;background:#edf2eb}
.mode-button{min-height:38px;padding:0 18px;border:0;border-radius:8px;background:transparent;color:#667c70;font-size:13px;font-weight:800}
.mode-button.is-selected{background:#fff;color:#1c806c;box-shadow:0 2px 7px rgba(31,68,53,.09)}
.team-card{min-height:228px}
.team-bottom{display:block;margin-top:18px}
.score-actions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;width:100%}
.score-button{min-width:0;height:37px;padding:0;border-radius:8px;font-size:12px}
.score-button.minus{margin-left:2px}
.more-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}
.more-actions button{min-height:29px;padding:2px 10px;border:1px solid #e0e8e0;border-radius:8px;background:#fff;color:#538271;font-size:11px;font-weight:700}
.more-actions button:last-child{color:#c77960;border-color:#f2e3dd}
.more-actions button:hover{background:#f3f8f4}
.more-actions button:last-child:hover{background:#fff5f0}
.student-roster{margin-top:18px;border-top:1px solid #edf0ea;padding-top:10px}
.student-roster-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 0 8px;color:#73867b;font-size:12px;font-weight:700}
.student-roster-head button{padding:5px 8px;border:0;border-radius:7px;background:#eef5ef;color:#27836f;font-size:11px;font-weight:800;white-space:nowrap}
.student-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto 78px;align-items:center;gap:6px;min-height:49px;border-top:1px solid #f0f2ee}
.student-slot-number{color:#a4b1a7;font-size:11px;font-weight:800;text-align:center}
.student-name-input{box-sizing:border-box;min-width:0;width:100%;height:34px;padding:0 9px;border:1px solid #dfe8df;border-radius:7px;background:#fbfcfa;color:#243d31;font:inherit;font-size:13px;font-weight:700}
.student-name-input:focus-visible{outline:2px solid #72beb4;outline-offset:1px}
.student-name-input::placeholder{color:#a2afa4;font-weight:500}
.student-contribution{color:#8a9a8e;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.student-score-actions{display:flex;gap:4px}
.student-score-actions button{width:37px;height:30px;border:0;border-radius:7px;background:#dff3e9;color:#188260;font-size:12px;font-weight:900}
.student-score-actions button:hover{background:#c9e9d9}
.student-score-actions .student-minus{background:#fff0eb;color:#bd654b}
.student-score-actions .student-minus:hover{background:#ffe1d8}
.student-empty{padding:14px 0 6px;color:#98a49a;font-size:12px}
.student-overflow{padding-top:9px;color:#9c765c;font-size:11px}
.student-overflow button{border:0;background:transparent;color:#2c8b74;font:inherit;font-weight:800;text-decoration:underline}
.student-name-list{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 2px}
.student-name-list span{max-width:100%;padding:5px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:7px;background:#f4f7f3;color:#53675b;font-size:12px;font-weight:700}
#roster-input{display:block;width:100%;min-height:190px;padding:10px 12px;resize:vertical;border:1px solid #dbe4dc;border-radius:9px;background:#fbfcfa;color:#213c32;font:inherit;line-height:1.6}
#roster-input:focus-visible{outline:3px solid #72beb4;outline-offset:3px}
.full-ranking-card{background:#fff;border:1px solid #e5e9e2;border-radius:17px;overflow:hidden}
.full-ranking-head,.full-ranking-row{display:grid;grid-template-columns:95px minmax(0,1fr) 105px 105px;align-items:center;gap:12px;padding:0 27px}
.full-ranking-head{min-height:48px;background:#f1f6ef;color:#789084;font-size:12px;font-weight:700}
.full-ranking-row{min-height:74px;border-top:1px solid #edf0eb}
.full-rank-number{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e6f1e9;color:#267968;font-size:16px;font-weight:900}
.full-rank-team{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:800}
.full-rank-team small{display:inline-block;margin-left:9px;padding:3px 6px;border-radius:6px;background:#edf4e8;color:#6a9573;font-size:10px;vertical-align:2px}
.full-rank-today,.full-rank-total{text-align:right;font-variant-numeric:tabular-nums}
.full-rank-today{color:#55796a;font-size:14px}
.full-rank-total{font-size:21px}
@media(max-width:720px){.hero{min-height:120px;padding:30px 0 26px}.hero h1{font-size:31px}.team-card{min-height:220px}.score-actions{gap:4px}.score-button{height:36px;font-size:11px}.full-ranking-head,.full-ranking-row{grid-template-columns:45px minmax(0,1fr) 45px 48px;gap:5px;padding:0 12px}.full-ranking-head{font-size:11px}.full-ranking-row{min-height:62px}.full-rank-number{width:30px;height:30px;font-size:14px}.full-rank-team{font-size:13px}.full-rank-team small{margin-left:4px;font-size:9px}.full-rank-today{font-size:12px}.full-rank-total{font-size:17px}}
