/* Baschet: a bright match-day palette, with readable data tables. */
body{background:#fffaf4;--muted:#71656b;--line:#eedfd9}
.top{border-bottom:3px solid #f8d6cc;background:#fff;box-shadow:0 3px 18px #9e362007}
.top .brand{font-weight:900;letter-spacing:-1.3px}
.top .ball{width:42px;height:42px;flex-basis:42px;transform:rotate(-12deg)}
.top nav>a{border-radius:20px;padding:8px 12px}
.top nav>a:hover{background:#fff0e7;color:var(--red)}
.municipal-heading,.season-heading{position:relative;isolation:isolate;overflow:hidden;border:1px solid #f3d2bd;border-radius:26px;background:linear-gradient(115deg,#fff0d6 0%,#fff5e9 56%,#ffe5e5 100%);padding:32px 34px;margin-bottom:25px;min-height:210px;gap:24px}
.municipal-heading:before,.season-heading:before{content:'';position:absolute;z-index:-1;right:70px;top:-35px;width:265px;height:265px;background:url('basketball.svg') center/contain no-repeat;opacity:.10;transform:rotate(-20deg);pointer-events:none}
.municipal-heading:after,.season-heading:after{content:'';position:absolute;z-index:-1;right:280px;bottom:-80px;width:170px;height:170px;border:16px solid #f8c85b55;border-radius:50%;pointer-events:none}
.municipal-heading .eyebrow,.season-heading .eyebrow{display:inline-block;padding:8px 12px;border-radius:20px;background:#fff9ee;color:#a73127;letter-spacing:2px;font-size:10px}
.municipal-heading h1,.season-heading h1{font-size:36px;letter-spacing:-1.5px;line-height:1.15;margin-top:19px}
.municipal-heading .sub,.season-heading .sub{color:#75594f;max-width:520px;font-size:14px;line-height:1.8}
.dinamo-button{background:#d71934;border:2px solid white;color:white;border-radius:22px;box-shadow:0 5px 0 #ac1028;padding:13px 19px;position:relative}
.dinamo-button:hover{background:#bf1230}
.dinamo-button:active{transform:translateY(3px);box-shadow:0 2px 0 #ac1028}
.match-metrics{gap:18px;margin-bottom:28px}
.match-metrics>div{position:relative;overflow:hidden;border:0;border-radius:20px;padding:25px;min-height:120px;background:#ffe4e9}
.match-metrics>div:nth-child(2){background:#e0f2e6}
.match-metrics>div:nth-child(3){background:#fff0bf}
.match-metrics>div:nth-child(4){background:#e7e9fc}
.match-metrics>div:after{content:'';width:65px;height:65px;border:10px solid #ffffff70;position:absolute;right:-16px;top:-16px;border-radius:50%;pointer-events:none}
.match-metrics strong{font-size:34px;letter-spacing:-1px;color:#a5142c}
.match-metrics>div:nth-child(2) strong{color:#216846}
.match-metrics>div:nth-child(3) strong{color:#8d5a09}
.match-metrics>div:nth-child(4) strong{color:#51518d}
.match-metrics span{color:#65525a;font-size:12px}
.match-tabs{border:0;gap:9px;padding:7px;background:#f5ece6;border-radius:18px;width:max-content;max-width:100%}
.match-tabs a{padding:12px 22px;border-radius:13px;font-size:13px;color:#6e5c60}
.match-tabs a[aria-current]{border:0;background:white;color:var(--red);box-shadow:0 3px 8px #7f26300b}
.match-filters{border-radius:22px;border-color:#f0dfd3;box-shadow:0 6px 24px #864b1c05}
.match-filters label{color:#755a50}
.match-filters select{background:#fffcf8;border-color:#efdfd3;border-radius:11px}
.primary{border-radius:13px}
.match-list{border-radius:22px;border-color:#f0dfd3}
.match-list-head{background:#fff6e7;border-bottom:1px solid #f3e5d3}
.match-list-head h2:before{content:'';display:inline-block;width:23px;height:23px;background:url('basketball.svg') center/contain no-repeat;vertical-align:middle;margin-right:10px}
.matches th{background:#fffcf7;color:#7a6259}
.matches tbody tr:hover{background:#fff9ec}
.matches tbody .dinamo-row{background:#fff0f2}
.matches tbody .dinamo-row:hover{background:#ffe7ec}
.dinamo-row td:first-child{box-shadow:inset 4px 0 var(--red)}
.score-box{border-radius:11px;background:#fffaf5;border-color:#f0e1d6;color:#50372d;font-weight:800}
.match-status{border-radius:20px;padding:7px 10px}
.match-status.scheduled{background:#fff0c6;color:#80541b}
.edit-match{display:inline-block;background:#fff0e9;border:1px solid #f6dcd1;border-radius:20px;padding:8px 11px;text-decoration:none}
.match-pagination a{background:#fff2e5;border-radius:20px;padding:9px 15px;text-decoration:none}
.competition-card{border-radius:24px;border-color:#f0dfd3;box-shadow:0 5px 20px #864b1c05;border-top:5px solid #f6bc62}
.competition-card:nth-child(2){border-top-color:#e33b56}
.competition-card:nth-child(3){border-top-color:#87a5e3}
.competition-card .competition-top img{width:44px;height:44px;transform:rotate(-12deg)}
.competition-card .pill{background:#fff0d5;color:#85521b;border-radius:20px;padding:8px 11px}
.competition-card:nth-child(2) .pill{background:#ffe5eb;color:#a5142c}
.competition-card:nth-child(3) .pill{background:#eaf0ff;color:#3c5686}
.team-groups .card,.match-editor{border-radius:22px}
.team-row:hover{color:var(--red);background:#fff8ee}
.competition-empty{border-radius:24px;background:linear-gradient(140deg,#fff,#fff7e9)}
.season-picker{position:relative;min-width:255px;padding:17px;background:#ffffffb8;border-radius:18px;border:1px solid #ffffff}
.season-picker .primary{padding:15px}
.back-link{color:#9e2538;text-decoration:none}
.back-link:hover{text-decoration:underline}
@media(max-width:950px){.season-heading{padding:25px;min-height:0}.season-heading .season-picker{max-width:360px}.municipal-heading h1,.season-heading h1{font-size:31px}}
@media(max-width:700px){.municipal-heading{padding:24px;min-height:0}.municipal-heading:before{right:-70px;top:-20px;width:230px;height:230px}.municipal-heading:after{right:95px}.municipal-heading h1{font-size:29px}.match-metrics{gap:12px}.match-metrics>div{padding:19px;min-height:110px}.match-tabs{width:100%;justify-content:space-between;gap:2px}.match-tabs a{padding:12px 15px}.top nav{gap:4px}.top nav>a{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.competition-card{transition:none}.competition-card:hover{transform:none}}
