/* Approved illustrated Dinamo theme. Artwork is replaceable independently. */
:root{--red:#c90024;--ink:#27313e;--paper:#fffaf2;--line:#f0e5d8}
body{background:#fffaf2;color:var(--ink)}
.container{max-width:1440px;margin:30px auto;padding:0 32px}
.top{padding:16px 3%;border-bottom:1px solid #f0e1d3;background:#fffcf7;box-shadow:0 4px 15px #a3511006}
.top .brand{font-family:'Comic Sans MS','Trebuchet MS',sans-serif;letter-spacing:-1px;font-size:29px}
.top nav>a:hover{background:#ffe8e5}.top nav>a[aria-current]{color:var(--red)}
.municipal-heading,.season-heading{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;position:relative;min-height:300px;margin:18px 0 0;padding:32px 36px;border:0;border-radius:24px 24px 0 0;background:#fff9ef url('dinamo-hero-v0.9.0.png') right center/auto 100% no-repeat;gap:15px;isolation:isolate}
.municipal-heading:before,.municipal-heading:after,.season-heading:before,.season-heading:after{display:none}
.municipal-heading>div,.season-heading>div{max-width:51%;position:relative;z-index:1}
.municipal-heading h1,.season-heading h1{font-family:'Comic Sans MS','Trebuchet MS',sans-serif;font-weight:900;font-size:clamp(29px,3.2vw,48px);letter-spacing:-1.6px;color:#b90020;margin:12px 0;line-height:1.17}
.municipal-heading .eyebrow,.season-heading .eyebrow{background:#fff9efdf;color:#64463b;padding:6px 0;font-size:11px;letter-spacing:1.7px}
.municipal-heading .sub,.season-heading .sub{background:#fff9efc9;display:inline;color:#705c51;font-size:14px}
.dinamo-button{background:#c90024;color:white;border:0;border-radius:13px;padding:14px 24px;box-shadow:0 4px 0 #99001c;font-size:14px}
.dinamo-button:hover{background:#ac001e;color:white}
.season-heading .season-picker{max-width:420px;min-width:260px;padding:12px;background:#fffaf2e8;border:1px solid #f2dfcc}
.season-picker label{margin:0 0 7px}.season-picker .season-controls{gap:8px}
.match-metrics{gap:10px;margin:0 0 18px;padding:0 12px 14px;background:#fff9ef;border-radius:0 0 24px 24px}
.match-metrics>div,.match-metrics>div:nth-child(n){background:#fffdf9;border:1px solid #f5e7db;border-radius:17px;min-height:98px;padding:18px 18px 18px 77px;position:relative;box-shadow:0 7px 20px #ac652009}
.match-metrics>div:before{content:'';position:absolute;left:17px;top:24px;width:44px;height:44px;background:#ffe5e8 url('basketball.svg') center/27px no-repeat;border-radius:50%}
.match-metrics>div:nth-child(2):before{content:'✓';display:grid;place-items:center;background:#fff0ce;color:#bc7d10;font-size:29px}
.match-metrics>div:nth-child(3):before{content:'';background:#e1f3e9 url('team-v0.9.0.svg') center/27px no-repeat}
.match-metrics>div:nth-child(4):before{content:'▦';display:grid;place-items:center;background:#ffe5e8;color:#c90024;font-size:29px}
.match-metrics>div:after{display:none}.match-metrics>div:nth-child(n) strong{color:#c00023;font-size:35px;line-height:1.1;font-family:'Comic Sans MS','Trebuchet MS',sans-serif}.match-metrics span{color:#555862;font-size:12px;margin-top:6px}
.match-tabs{width:100%;background:transparent;border-radius:0;border-bottom:1px solid #e9d8c9;gap:25px;padding:0 12px;margin-bottom:15px}
.match-tabs a{border-radius:0;padding:15px 18px;font-size:17px;font-weight:bold;color:#303946}.match-tabs a[aria-current]{border-bottom:3px solid #c90024;background:transparent;box-shadow:none;color:#c90024}
.match-filters{border-radius:19px;padding:19px 23px;gap:12px 20px;background:#fffdf9}.match-filters select{background:white}
.phase-program{margin-top:18px}.phase-panel{border:1px solid #f0e1d0;border-radius:21px;padding:10px;background:#fffdf9;box-shadow:0 6px 20px #ad6e1004}
.phase-panel>summary{padding:13px 18px;border-radius:14px;background:linear-gradient(110deg,#ffe5e9,#fff0ed)}
.phase-panel.phase-2>summary{background:linear-gradient(110deg,#fff0c9,#fff6df)}.phase-panel.phase-playoff>summary{background:linear-gradient(110deg,#dff2e8,#edf9f2)}
.phase-panel>summary:before{content:'›';background:#c90024;color:#fff;border:0;border-radius:50%;font-size:27px;width:31px;height:31px;flex-basis:31px;transform:rotate(0)}.phase-panel[open]>summary:before{content:'⌄'}
.phase-panel.phase-2>summary:before{background:#c18b18}.phase-panel.phase-playoff>summary:before{background:#328e78}
.phase-summary-text strong{font-family:'Comic Sans MS','Trebuchet MS',sans-serif;font-size:25px;color:#b60021}.phase-2 .phase-summary-text strong{color:#986113}.phase-playoff .phase-summary-text strong{color:#235c51}
.phase-count{background:transparent;color:#5b616a}.phase-panel[open]>summary{border-bottom:0}.phase-panel .matches th{background:#fffaf4}.phase-panel .matches td{padding-top:15px;padding-bottom:15px}.phase-panel .score-box{border:0;border-radius:22px;background:#f3f2f1;padding:10px 15px}.phase-panel .dinamo-row{background:#fff4f3}
.card,.competition-card{border-color:#f0e1d3;box-shadow:0 5px 20px #994a1005}.competition-card h2{font-family:'Comic Sans MS','Trebuchet MS',sans-serif;color:#ae0020}.competition-card:hover{border-color:#c90024}
.story{background:#bd0022}.story:after{content:'';position:absolute;inset:0;background:url('dinamo-hero-v0.9.0.png') 73% bottom/auto 56% no-repeat;opacity:.18;pointer-events:none}.story-copy,.story-footer{z-index:1}.story h1{font-family:'Comic Sans MS','Trebuchet MS',sans-serif;letter-spacing:-3px}.story h1 span{color:#ffd7bd}
@media(min-width:701px) and (max-width:1050px){.match-metrics>div:nth-child(n){padding:18px 13px 18px 58px}.match-metrics>div:before{left:10px;width:36px;height:36px}.municipal-heading,.season-heading{min-height:275px;background-position:60% center}.municipal-heading h1,.season-heading h1{font-size:32px}}
@media(max-width:700px){.container{padding:0 14px;margin-top:22px}.top{padding:16px}.top .brand{font-size:25px}.municipal-heading,.season-heading{min-height:370px;padding:22px 20px 170px;background-size:auto 250px;background-position:72% bottom;background-color:#fff9ef;gap:10px}.municipal-heading>div,.season-heading>div{max-width:100%}.municipal-heading h1,.season-heading h1{font-size:29px;letter-spacing:-1px;margin:10px 0}.municipal-heading .sub,.season-heading .sub{font-size:12px;background:#fff9efe8}.dinamo-button{font-size:12px;padding:12px 19px;z-index:1}.season-heading{padding-bottom:180px;min-height:450px}.season-heading .season-picker{max-width:100%;min-width:0;width:100%}.match-metrics{gap:8px;padding:8px;margin-bottom:12px}.match-metrics>div:nth-child(n){padding:15px 10px 15px 56px;min-height:91px}.match-metrics>div:before{left:10px;top:23px;width:35px;height:35px;background-size:24px}.match-metrics>div:nth-child(n) strong{font-size:28px}.match-metrics span{font-size:10px;line-height:1.5}.match-tabs{gap:0;padding:0;justify-content:space-around}.match-tabs a{padding:13px 10px;font-size:14px}.match-filters{padding:17px;gap:14px}.phase-panel{padding:7px}.phase-panel>summary{padding:13px 10px;gap:10px}.phase-summary-text strong{font-size:21px}.phase-summary-text small{font-size:10px}.phase-count{padding:5px;font-size:10px}.phase-panel .matches td{padding:0!important}.phase-panel .matches .score-box{padding:11px 5px}.story:after{opacity:.12}}
