/* The original stylesheet remains intact. Every redesign rule is opt-in. */
.appearance-switcher{max-width:1200px;margin:0 auto 18px;padding:0 24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.appearance-switcher label{display:block;color:inherit;font-size:12px}.appearance-switcher select{width:auto;min-height:40px;padding:8px 12px}.appearance-status{color:#62748a;font-size:12px}.sport-only{display:none}
html[data-appearance=sport]{--blue:#77e3b7;--gold:#c5f66f;--muted:#a3b1c9;--sport-panel:#13223a;--sport-border:#2b3d58;color-scheme:dark;scroll-padding-top:24px}
html[data-appearance=sport] body{background:#091323;color:#edf3ff}
html[data-appearance=sport] header{padding-top:24px;padding-bottom:16px}
html[data-appearance=sport] .brand,html[data-appearance=sport] header nav a{color:#edf3ff}
html[data-appearance=sport] .brand img{background:#fff;border-radius:12px;padding:3px}
html[data-appearance=sport] .brand-domain,html[data-appearance=sport] .brand>span>small:first-child{color:#a3b1c9}
html[data-appearance=sport] .appearance-status{color:#a3b1c9}
html[data-appearance=sport] button,html[data-appearance=sport] input,html[data-appearance=sport] select,html[data-appearance=sport] textarea{background:#15243b;color:#edf3ff;border-color:#3c506c}
html[data-appearance=sport] button:hover{border-color:#77e3b7;filter:brightness(1.08)}
html[data-appearance=sport] button:focus-visible,html[data-appearance=sport] a:focus-visible,html[data-appearance=sport] select:focus-visible,html[data-appearance=sport] input:focus-visible,html[data-appearance=sport] summary:focus-visible{outline:3px solid #c5f66f;outline-offset:3px}
html[data-appearance=sport] .primary{background:#c5f66f;color:#102039;border-color:#c5f66f}
html[data-appearance=sport] .sport-hub{display:flex;justify-content:space-between;gap:28px;align-items:end;padding:30px 0 26px;border-top:1px solid #2b3d58;margin-bottom:8px}
html[data-appearance=sport] .sport-hub h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1px;line-height:1.25;margin:10px 0}
html[data-appearance=sport] .sport-hub p{margin:0;font-size:14px;color:#a3b1c9;line-height:1.8}
html[data-appearance=sport] .eyebrow{color:#77e3b7}
html[data-appearance=sport] .sport-group-picker{max-width:480px;min-width:0}.sport-group-picker>label{display:block;font-size:12px;color:#a3b1c9;margin-bottom:10px}
#sportGroupSelect{width:100%;min-width:min(180px,100%);min-height:44px;padding:8px 12px;font-size:16px;border-radius:8px}
html[data-appearance=sport] .hero,html[data-appearance=sport] .stats{display:none}
html[data-appearance=sport] .next-match{background:linear-gradient(125deg,#182d48,#112135);border:1px solid #3c5e76;border-left:4px solid #c5f66f;border-radius:16px;padding:24px;margin:0 0 20px}
html[data-appearance=sport] .next-match-heading h2{font-size:22px}html[data-appearance=sport] .next-match-heading a{color:#a8eecf}
html[data-appearance=sport] .next-match-card{border-color:#344965;padding:18px 0}html[data-appearance=sport] .next-match-date{color:#edf3ff;font-size:16px;font-variant-numeric:tabular-nums}
html[data-appearance=sport] .next-match-teams{font-size:24px;margin:14px 0;line-height:1.5}html[data-appearance=sport] .next-match-teams>span{color:#77e3b7}
html[data-appearance=sport] .next-match-pitch,html[data-appearance=sport] .next-match-venue{color:#b8c9dd;font-size:14px}
html[data-appearance=sport] .tag,html[data-appearance=sport] .match-detail{background:#20354c;color:#b9f4da;border:1px solid #3a5b60;box-shadow:none}
html[data-appearance=sport] .group-badge,html[data-appearance=sport] .tag.gold{background:#c5f66f;color:#102039;border-color:#c5f66f;box-shadow:none}
html[data-appearance=sport] .event-roster-link{background:#173e3f;color:#b8f7d9;border-color:#3a7771;box-shadow:none}
html[data-appearance=sport] .next-match-empty,html[data-appearance=sport] label,html[data-appearance=sport] .detail-label{color:#b4c4d9}
html[data-appearance=sport] .filters{background:#101e32;border-color:#2b3d58;margin-bottom:24px;padding:18px}
html[data-appearance=sport] .section-title h2{font-size:26px}
html[data-appearance=sport] .view{background:#101e32}html[data-appearance=sport] .view button.active{background:#c5f66f;color:#102039;box-shadow:none}
html[data-appearance=sport] .match{background:#13223a;border-color:#2b3d58;border-radius:12px;box-shadow:none;align-items:start;padding:22px;gap:22px}
html[data-appearance=sport] .match:hover{border-color:#55728f;box-shadow:none}
html[data-appearance=sport] .time{color:#c5f66f;font-size:26px;font-variant-numeric:tabular-nums}html[data-appearance=sport] .time small{color:#a3b1c9}
html[data-appearance=sport] .time .time-match-number,html[data-appearance=sport] .time .time-match-number strong{background:#223955;color:#d7eaff;border-color:#405c7a}
html[data-appearance=sport] .teams{line-height:1.65;flex-wrap:wrap}html[data-appearance=sport] .teams .ours{color:#b3f3d3}html[data-appearance=sport] .teams em{color:#a3b1c9}
html[data-appearance=sport] .location .venue-detail,html[data-appearance=sport] .match-note,html[data-appearance=sport] .visitor-like-names{color:#b8c9dd}
html[data-appearance=sport] .date-title{background:#102039;color:#edf3ff;border-left-color:#77e3b7;font-size:22px;margin:26px 0 14px}html[data-appearance=sport] .date-title small{color:#b6efcf}
html[data-appearance=sport] .match-reminder,html[data-appearance=sport] .schedule-change,html[data-appearance=sport] .updates-disclosure{background:#2a2a20;color:#f3dfad;border-color:#6c6440}
html[data-appearance=sport] .schedule-change del{color:#c8bca6}
html[data-appearance=sport] .updates-content>article{background:#17253a;color:#edf3ff;border-color:#3c506c}
html[data-appearance=sport] .ongoing-matches{border-left-color:#77e3b7;background:#102d2e}html[data-appearance=sport] .ongoing-timer{color:#8aefbd}html[data-appearance=sport] .ongoing-event,html[data-appearance=sport] .ongoing-score-note{color:#bed5cb}
html[data-appearance=sport] .ongoing-badge{background:#77e3b7;color:#102039}html[data-appearance=sport] .hidden-badge{background:#4c3521;color:#ffdd9e;border-color:#7c6140}
html[data-appearance=sport] #activities,html[data-appearance=sport] #lessons{padding:24px 0;border-bottom:1px solid #2b3d58}
html[data-appearance=sport] .activity-heading,html[data-appearance=sport] .lesson-heading,html[data-appearance=sport] .activity-toggle::before,html[data-appearance=sport] .lesson-toggle::before{color:#edf3ff}
html[data-appearance=sport] .activity-card,html[data-appearance=sport] .lesson-card,html[data-appearance=sport] .past-matches,html[data-appearance=sport] .past-activities,html[data-appearance=sport] .past-lessons,html[data-appearance=sport] .archive-month,html[data-appearance=sport] .record-league,html[data-appearance=sport] .record-group{background:#13223a;color:#edf3ff;border-color:#2b3d58}
html[data-appearance=sport] .activity-copy h3,html[data-appearance=sport] .lesson-copy h3,html[data-appearance=sport] .past-matches>summary,html[data-appearance=sport] .archive-intro,html[data-appearance=sport] .archive-team,html[data-appearance=sport] .archive-score,html[data-appearance=sport] .record-team{color:#edf3ff}
html[data-appearance=sport] .archive-month>summary,html[data-appearance=sport] .ended-matches>summary,html[data-appearance=sport] .record-league>summary,html[data-appearance=sport] .record-group>summary{background:#1c304b;color:#edf3ff}
html[data-appearance=sport] .archive-event,html[data-appearance=sport] .archive-meta,html[data-appearance=sport] .archive-count,html[data-appearance=sport] .archive-expand,html[data-appearance=sport] .archive-month-count,html[data-appearance=sport] .archive-intro span,html[data-appearance=sport] .record-note,html[data-appearance=sport] .record-league summary small{color:#b0c0d6}
html[data-appearance=sport] .archive-ours{color:#a8efcf}html[data-appearance=sport] .archive-match{border-color:#2b3d58}
html[data-appearance=sport] .record-table th{background:#1c304b;color:#b4c4d9}html[data-appearance=sport] .record-table td{color:#edf3ff}html[data-appearance=sport] .record-table th,html[data-appearance=sport] .record-table td{border-color:#2b3d58}
html[data-appearance=sport] .record-table .record-cell-win,html[data-appearance=sport] .record-table .record-cell-draw,html[data-appearance=sport] .record-table .record-cell-loss,html[data-appearance=sport] .record-table .record-cell-points{background:#20364a;color:#b4f4d2}
html[data-appearance=sport] .join-us{background:#102039}html[data-appearance=sport] .join-us>p{color:#a3b1c9}html[data-appearance=sport] .join-cards a{background:#15243b;border-color:#2b3d58;color:#edf3ff}
html[data-appearance=sport] dialog{background:#13223a;color:#edf3ff;border:1px solid #3c506c}html[data-appearance=sport] dialog p,html[data-appearance=sport] #adminStatus,html[data-appearance=sport] #rosterEvent{color:#b4c4d9}
html[data-appearance=sport] .likes-name-list p,html[data-appearance=sport] .match-groups{background:#1c304b;border-color:#3c506c;color:#edf3ff}
html[data-appearance=sport] #matchGroupOptions label:has(input:checked){background:#274e43;color:#c5f6d8;border-color:#77e3b7}
html[data-appearance=sport] .day,html[data-appearance=sport] .weekday,html[data-appearance=sport] .day.blank{background:#13223a;color:#edf3ff}html[data-appearance=sport] .day .calendar-match{background:#233b55;color:#edf3ff}html[data-appearance=sport] #grid{background:#2b3d58;border-color:#2b3d58}
html[data-appearance=sport] .back-to-top{background:#223b55;color:#edf3ff}html[data-appearance=sport] .sport-bottom-nav{display:none}
@media(max-width:760px){.appearance-switcher{padding:0 14px;gap:8px;margin-bottom:8px}.appearance-status{flex:1 1 100%;font-size:11px}html[data-appearance=sport] header{padding-top:18px}html[data-appearance=sport] main{padding:0 14px}html[data-appearance=sport] .sport-hub{display:block;padding:24px 0 20px}html[data-appearance=sport] .sport-hub h1{font-size:29px}html[data-appearance=sport] .sport-hub p{font-size:13px}html[data-appearance=sport] .sport-group-picker{margin-top:20px}html[data-appearance=sport] .next-match{padding:18px 16px}html[data-appearance=sport] .next-match-teams{font-size:20px}html[data-appearance=sport] .next-match-heading h2{font-size:21px}html[data-appearance=sport] .next-match-heading a{font-size:12px}html[data-appearance=sport] .match{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:16px 12px}html[data-appearance=sport] .time{font-size:23px}html[data-appearance=sport] .teams{font-size:15px}html[data-appearance=sport] .date-title{font-size:20px}html[data-appearance=sport] body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}html[data-appearance=sport] .sport-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:8;justify-content:space-around;gap:4px;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));background:#101e32f5;border-top:1px solid #3c506c;backdrop-filter:blur(10px)}html[data-appearance=sport] .sport-bottom-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:4px;color:#dce9f8;font-size:13px;text-decoration:none}html[data-appearance=sport] .sport-bottom-nav a:first-child{color:#c5f66f}html[data-appearance=sport] .back-to-top{bottom:calc(88px + env(safe-area-inset-bottom,0px));min-width:44px;min-height:44px}html[data-appearance=sport] #toast{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

/* One compact control directly below the sign-in row, in both appearances. */
header .header-auth .appearance-switcher{display:flex;flex:0 0 100%;justify-content:flex-end;align-items:center;gap:0;max-width:none;margin:0;padding:0}
header .header-auth .appearance-switcher button{min-height:36px;padding:6px 10px;font-size:12px;white-space:nowrap;background:#edf2f7;color:#244766;border:1px solid #cbd5e1;border-radius:8px}
header .header-auth .appearance-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[data-appearance=sport] header .header-auth .appearance-switcher button{background:#15243b;color:#c5f66f;border-color:#3c506c}

/* Both appearances share the matchday interface; only the palette changes. */
.filter-disclosure{margin:0 0 20px;border:1px solid #d5dee8;border-radius:12px;background:#fff}
.filter-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 16px;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:#244766}
.filter-disclosure>summary::-webkit-details-marker{display:none}
.filter-disclosure>summary::after{content:'＋ 展開';font-size:12px;font-weight:400}
.filter-disclosure[open]>summary::after{content:'－ 收合'}
.filter-disclosure>.filters,html[data-appearance=sport] .filter-disclosure>.filters{margin:0;border:0;border-top:1px solid #d5dee8;border-radius:0 0 12px 12px}
html[data-appearance=sport] .filter-disclosure{background:#101e32;border-color:#2b3d58}
html[data-appearance=sport] .filter-disclosure>summary{color:#edf3ff}
html[data-appearance=sport] .filter-disclosure>.filters{border-top-color:#2b3d58}
.filter-disclosure>summary:focus-visible{outline:3px solid #1768a2;outline-offset:3px;border-radius:10px}
.hero,.stats{display:none}
.sport-hub{display:flex;position:relative;isolation:isolate;overflow:hidden;justify-content:space-between;gap:28px;align-items:end;padding:30px 0 26px;border-top:1px solid #d5dee8;margin-bottom:8px;min-height:230px}
.sport-hub::before{content:'';position:absolute;inset:0;z-index:-1;background:url('/assets/crest.png') no-repeat right 28px center;background-size:auto 260px;opacity:.14;pointer-events:none}
html[data-appearance=sport] .sport-hub::before{opacity:.18}
.sport-hub-copy,.sport-group-picker{position:relative;min-width:0}
.sport-hub h1,html[data-appearance=sport] .sport-hub h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1px;line-height:1.3;margin:10px 0}
.sport-hub h1 span{color:#176847}html[data-appearance=sport] .sport-hub h1 span{color:#c5f66f}
.sport-hub p{margin:0;font-size:14px;color:#52677d;line-height:1.8}
.sport-group-picker{max-width:480px;min-width:0}.sport-group-picker>label{color:#52677d}
.next-match{background:linear-gradient(125deg,#edf6f3,#fff);border:1px solid #b3cebf;border-left:4px solid #176847;border-radius:16px;padding:24px;margin:0 0 20px}
.next-match-heading h2{font-size:22px}.next-match-card{border-color:#cbded3;padding:18px 0}.next-match-date{font-size:16px;font-variant-numeric:tabular-nums}
.next-match-teams{font-size:24px;margin:14px 0;line-height:1.5}.next-match-pitch,.next-match-venue{font-size:14px}
.filters{margin-bottom:24px;padding:18px}.section-title h2{font-size:26px}.match{border-radius:12px;align-items:start;padding:22px;gap:22px}.time{font-size:26px;font-variant-numeric:tabular-nums}.teams{line-height:1.65;flex-wrap:wrap}
#activities,#lessons{padding:24px 0;border-bottom:1px solid #d5dee8}.sport-bottom-nav{display:none}
@media(max-width:760px){
 .sport-hub,html[data-appearance=sport] .sport-hub{display:block;padding:24px 0 20px;min-height:0}
 .sport-hub::before{background-position:right -30px top 4px;background-size:auto 220px}
 .sport-hub h1,html[data-appearance=sport] .sport-hub h1{font-size:29px}.sport-hub p{font-size:13px}.sport-group-picker{margin-top:20px}
 .next-match{padding:18px 16px}.next-match-teams{font-size:20px}.next-match-heading h2{font-size:21px}.next-match-heading a{font-size:12px}
 .match{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:16px 12px}.time{font-size:23px}.teams{font-size:15px}.date-title{font-size:20px}
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .sport-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:8;justify-content:space-around;gap:4px;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));background:#fffffff5;border-top:1px solid #cbd5e1;backdrop-filter:blur(10px)}
 .sport-bottom-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:4px;color:#244766;font-size:13px;text-decoration:none}.sport-bottom-nav a:first-child{color:#176847}
 .back-to-top{bottom:calc(88px + env(safe-area-inset-bottom,0px));min-width:44px;min-height:44px}#toast{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
}
