/* Ettan Direkt v1.15.2 – Tre stjärnor i samma visuella språk som Veckans lag */
.ed-match-stars{margin:18px 0;overflow:hidden;background:#fff;color:var(--ed-text);border:1px solid var(--ed-border);border-radius:var(--ed-radius);box-shadow:var(--ed-shadow)}
.ed-match-stars .ed-match-stars-head{display:flex;justify-content:space-between;gap:20px;align-items:end;padding:20px 22px;background:linear-gradient(135deg,var(--ed-navy),#0b3b68);color:#fff;border:0}
.ed-match-stars .ed-match-stars-head span{display:block;color:#86c7ff;font-size:9px;font-weight:950;letter-spacing:.9px}
.ed-match-stars .ed-match-stars-head h2{margin:3px 0 0;color:#fff;font-family:var(--ed-logo-font);font-size:34px;font-style:italic;font-weight:900;line-height:1;text-transform:uppercase}
.ed-match-stars .ed-match-stars-head>div:last-child{display:grid;gap:2px;text-align:right}.ed-match-stars .ed-match-stars-head>div:last-child strong{font-size:11px}.ed-match-stars .ed-match-stars-head>div:last-child small{color:#bcd1e2;font-size:9px}
.ed-match-stars-rink{position:relative;display:block!important;padding:34px 26px 38px!important;background:linear-gradient(90deg,rgba(11,114,217,.035) 0 49.7%,rgba(227,38,54,.035) 50.3% 100%)}
.ed-match-stars-rink:before{content:"";position:absolute;inset:14px;border:2px solid #dfe8ef;border-radius:48%;pointer-events:none}.ed-match-stars-rink:after{content:"";position:absolute;top:14px;bottom:14px;left:50%;width:1px;background:#d9e4ec;pointer-events:none}
.ed-match-stars-line{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-start;gap:28px}
.ed-match-star-player{position:relative;display:grid;justify-items:center;width:min(240px,30%);text-align:center}
.ed-match-star-avatar-wrap{position:relative;margin:4px 0 9px}.ed-match-star-avatar{width:66px!important;height:66px!important;margin:0!important;font-size:17px!important}.ed-match-star-medal{position:absolute;right:-10px;bottom:-7px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 3px 10px rgba(3,24,45,.18);font-size:17px}
.ed-match-star-role{font-size:8px!important}.ed-match-star-player>strong{color:var(--ed-navy);font-size:15px;line-height:1.1}.ed-match-star-player>small{margin-top:3px;color:var(--ed-muted);font-size:10px}.ed-match-star-player>p{max-width:210px;margin:8px 0 0;color:#53616d;font-size:10px;line-height:1.4}
.ed-match-star-points{display:inline-flex;margin-top:9px;padding:4px 8px;border-radius:999px;background:var(--ed-blue);color:#fff;font-size:10px;line-height:1;font-weight:900}
.ed-match-stars--compact .ed-match-stars-head{padding:15px 17px}.ed-match-stars--compact .ed-match-stars-head h2{font-size:27px}.ed-match-stars--compact .ed-match-stars-rink{padding:25px 14px 28px!important}.ed-match-stars--compact .ed-match-stars-line{gap:12px}.ed-match-stars--compact .ed-match-star-avatar{width:48px!important;height:48px!important;font-size:12px!important}.ed-match-stars--compact .ed-match-star-medal{width:22px;height:22px;font-size:13px;right:-8px}.ed-match-stars--compact .ed-match-star-player>strong{font-size:12px}.ed-match-stars--compact .ed-match-star-player>p{display:none}
@media(max-width:640px){.ed-match-stars .ed-match-stars-head{align-items:start;flex-direction:column}.ed-match-stars .ed-match-stars-head>div:last-child{text-align:left}.ed-match-stars-rink{padding:27px 10px 30px!important}.ed-match-stars-line{gap:7px}.ed-match-star-player{width:33%}.ed-match-star-avatar{width:48px!important;height:48px!important;border-width:3px!important;font-size:12px!important}.ed-match-star-player>strong{font-size:11px}.ed-match-star-player>small{font-size:8px}.ed-match-star-player>p{display:none}.ed-match-star-role{font-size:7px!important}.ed-match-star-points{font-size:9px}}

.ed-star-league{display:grid;gap:18px}.ed-star-league-mode,.ed-star-league-series{display:flex;gap:8px;flex-wrap:wrap}.ed-star-league-mode a,.ed-star-league-series a{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #dce3ea;border-radius:999px;background:#fff;color:#03182d;font-weight:800;text-decoration:none}.ed-star-league-mode a.is-active,.ed-star-league-series a.is-active{background:#0b72d9;border-color:#0b72d9;color:#fff}.ed-star-league-series{margin-top:-8px}
.ed-star-league-explainer{padding:13px 15px;border-left:4px solid #0b72d9;background:#eef6ff;color:#23384c;border-radius:4px}.ed-star-league-table-wrap{overflow:auto;border:1px solid #dce3ea;border-radius:8px;background:#fff}.ed-star-league-table{width:100%;border-collapse:collapse;min-width:680px}.ed-star-league-table th,.ed-star-league-table td{padding:12px 14px;border-bottom:1px solid #e6ebf0;text-align:left}.ed-star-league-table th{background:#03182d;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.ed-star-league-table tbody tr:nth-child(-n+3){background:#f5faff}.ed-star-league-table td:nth-last-child(-n+4),.ed-star-league-table th:nth-last-child(-n+4){text-align:center}.ed-star-league-table td:last-child b{display:inline-flex;min-width:34px;justify-content:center;background:#0b72d9;color:#fff;border-radius:999px;padding:5px 8px}.ed-star-league-empty{padding:22px}
@media(max-width:620px){.ed-match-star-row{grid-template-columns:34px 1fr auto;padding:10px 12px}.ed-match-star-player small{grid-column:1/-1}.ed-star-league-mode a,.ed-star-league-series a{padding:8px 12px;font-size:13px}}

/* v1.15.4 – Stjärnligan follows the same Matchcenter UI as Statistik/Veckans lag */
.ed-star-league{display:block}
.ed-star-league .ed-star-explainer{margin-bottom:14px}
.ed-star-league .ed-star-series-toolbar{margin-bottom:14px}
.ed-star-league .ed-star-league-card{overflow:hidden}
.ed-star-league .ed-star-league-table{min-width:690px;background:#fff}
.ed-star-league .ed-star-league-table th{padding:8px 9px;background:#f2f5f7;color:#677483;font-size:9px;font-weight:950;text-align:right;text-transform:uppercase;letter-spacing:.35px}
.ed-star-league .ed-star-league-table th:nth-child(1),.ed-star-league .ed-star-league-table th:nth-child(2){text-align:left}
.ed-star-league .ed-star-league-table td{padding:9px;border-top:1px solid #e8edf1;color:#34424f;text-align:right;font-variant-numeric:tabular-nums}
.ed-star-league .ed-star-league-table tbody tr:first-child td{border-top:0}
.ed-star-league .ed-star-league-table tbody tr:nth-child(-n+3){background:#fbfdff}
.ed-star-league .ed-star-total{display:inline-flex;min-width:30px;justify-content:center;padding:4px 7px;border-radius:999px;background:var(--ed-blue);color:#fff;font-size:11px}
.ed-star-league .ed-star-league-empty{padding:28px;text-align:center}
.ed-star-league .ed-star-league-empty p{margin:5px 0 0;color:var(--ed-muted);font-size:12px}
