.weekly-board{margin-block:18px 24px;min-width:0}
.weekly-board-heading,.weekly-board-weeks{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.weekly-board-heading{justify-content:space-between;margin-bottom:14px}
.weekly-board-heading h2{font-size:22px}
.weekly-board-weeks{gap:6px}
.weekly-board-modes{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.weekly-board :is(.weekly-board-weeks,.weekly-board-modes) [aria-pressed="true"]{background:var(--surface2);color:var(--purple);border-color:var(--purple)}
.weekly-board-period,.weekly-board-personal{margin-block:0 8px}
.weekly-board-empty{padding-block:8px}
.weekly-board-table{overflow:auto;max-height:23rem}
.weekly-board-table table{min-width:0;width:100%;table-layout:fixed}
.weekly-board-table th:nth-child(1){width:4rem}
.weekly-board-table th:nth-child(3){width:7rem}
.weekly-board-table th,.weekly-board-table td{overflow-wrap:anywhere}
.weekly-board-table :is(th,td):last-child{text-align:right;font-variant-numeric:tabular-nums}
.weekly-board-table tbody th{text-align:left;font-weight:600;background:transparent;color:var(--text)}
.weekly-play-note{margin-block:0 10px}
.weekly-score-button[hidden]{display:none}
.suika-player:is(:fullscreen,.is-full-window) .play-toolbar{
  position:absolute;z-index:1;inset:max(8px,env(safe-area-inset-top)) auto auto max(8px,env(safe-area-inset-left));
  gap:6px;padding:0;background:transparent;border:0;
}
.suika-player:is(:fullscreen,.is-full-window) .play-toolbar > :not(button){display:none}
.weekly-results{width:min(610px,calc(100% - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border-radius:24px;background:#fffcff;border-color:#dacbe8;box-shadow:0 24px 85px #23133f70;overscroll-behavior:contain}
.weekly-results::backdrop{background:#1b0d34a1;backdrop-filter:blur(4px)}
.weekly-result-head{position:relative;padding:23px 48px 25px;text-align:center;background:radial-gradient(ellipse at top,#fffaff 0,transparent 68%),linear-gradient(135deg,#eee5ff,#fbe8f6);border-bottom:1px solid #e6d8f0;color:#30234a}
.weekly-result-head h2{margin:0 0 9px;font-size:clamp(20px,4.8vw,28px)}
.weekly-played-mode{margin:0 0 5px;font-weight:650;color:#654a85}
.weekly-result-close{position:absolute;top:12px;right:12px;background:#ffffffa8}
.weekly-result-score{display:flex;align-items:baseline;justify-content:center;gap:.4rem;font-size:clamp(38px,8vw,61px);line-height:1.08;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#55338c;overflow-wrap:anywhere}
.weekly-result-unit{font-size:clamp(15px,3vw,20px);font-weight:700;letter-spacing:0}
.weekly-result-body{padding:23px 26px 26px}
.weekly-result-body .field{margin-bottom:13px}
.weekly-result-body .field label{font-weight:700}
.weekly-result-actions{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap;margin-top:14px}
.weekly-result-actions .btn{min-height:42px}
.weekly-results .weekly-result-actions .btn[type="submit"]{flex:1;width:auto;margin-top:0}
.weekly-result-outcome{padding:10px 13px;border-radius:10px;background:#f2edf8;color:#584468;font-weight:650}
.weekly-result-outcome.is-saved{background:#e8f5ea;color:#2a6744}
.weekly-board--result{margin-block:18px 0}
.weekly-board--result .weekly-board-table{max-height:none}
@media(max-width:460px){
  .weekly-board-table :is(th,td){padding-inline:7px}
  .weekly-board-table th:nth-child(1){width:3.5rem}
  .weekly-board-table th:nth-child(3){width:5.5rem}
  .weekly-result-body{padding:18px 17px 20px}
  .weekly-result-actions .btn{font-size:13px;padding-inline:11px}
}
