:root[data-theme="dark"]{--font-display: "DM Sans", system-ui, sans-serif;--font-data: "DM Sans", Arial, sans-serif;--radius-lg: 12px;--radius-xl: 14px;--shadow-card: none;--shadow-card-hover: none;--crowd-300: #2b2b2b;--crowd-500: #aeaeae;--chalk-white: #141414;--goal-net: #1b1b1b}
[data-theme="dark"] .header{padding:0 28px;background:#131313}
[data-theme="dark"] .header-inner{min-height:76px;max-width:1440px}
[data-theme="dark"] .header-title{font-size:21px;letter-spacing:-.8px}
[data-theme="dark"] .header-logo{background:transparent;border-radius:0;width:38px;height:44px}
[data-theme="dark"] .header-nav{background:transparent;border:0;gap:8px}
[data-theme="dark"] .nav-link{min-height:44px;padding:0 17px;color:#acacac}
[data-theme="dark"] .nav-link.active{background:#353535;color:#afafaf}
[data-theme="dark"] .header-nav>.btn{margin-left:18px;padding:10px 22px}
[data-theme="dark"] .main{padding-top:28px}
[data-theme="dark"] .page-header{background:transparent;border:0;box-shadow:none;padding:8px 0 24px;margin-bottom:12px}
[data-theme="dark"] .page-title{font-size:30px;letter-spacing:-1px}
[data-theme="dark"] .page-subtitle{font-size:14px}
[data-theme="dark"] .card:hover,[data-theme="dark"] .match-card:hover{transform:none}
[data-theme="dark"] .team-card{padding:20px}
[data-theme="dark"] .team-card .team-emblem-lg{width:48px;height:48px}
[data-theme="dark"] .team-card .team-name{font-size:17px}
[data-theme="dark"] .team-card-actions{border-top:1px solid #333333;padding-top:14px}
[data-theme="dark"] .hero-section{min-height:320px;background:#131313}
[data-theme="dark"] .hero-section .display-1{font-size:clamp(2.5rem,5vw,4rem)}
[data-theme="dark"] .card-pitch::before{display:none}
[data-theme="dark"] .footer{font-size:12px;color:#8b8b8b}
[data-theme="dark"] body{background:#0a0a0a}
[data-theme="dark"] .header{background:#101010;border-bottom-color:#323232}
[data-theme="dark"] .nav-link{position:relative;min-height:76px;border-radius:0;background:transparent}
[data-theme="dark"] .nav-link.active{color:#b6b6b6;background:transparent;box-shadow:inset 0-3px #8a8a8a}
[data-theme="dark"] .nav-link:hover{background:#292929}
[data-theme="dark"] :is(.card,.card-pitch,.match-card,.modal){background:#141414;border-color:#2b2b2b}
[data-theme="dark"] :is(.card-header,.card-footer,.match-header,.modal-header,.modal-footer){background:#1b1b1b;border-color:#2b2b2b}
[data-theme="dark"] .page-header{background:transparent;border:0}
[data-theme="dark"] :is(.btn,.header-logo,.team-emblem,.team-emblem-lg){animation:none}
[data-theme="dark"] :is(.btn:hover:not(:disabled),.team-card:hover .team-emblem-lg,.table tbody tr:hover .team-emblem){transform:none}
[data-theme="dark"] .btn{min-height:40px;border-radius:7px;font-weight:600}
[data-theme="dark"] .btn-sm{min-height:34px}
[data-theme="dark"] .team-card{padding:22px;border-radius:12px}
[data-theme="dark"] .team-card-header{gap:16px}
[data-theme="dark"] .team-card .team-emblem-lg{width:52px;height:52px}
[data-theme="dark"] .team-category{margin-top:4px;color:#adadad;font-size:12px}
[data-theme="dark"] .team-card-actions{margin-top:22px;padding-top:13px;border-color:#2b2b2b}
[data-theme="dark"] .team-card-actions .btn{color:#b5b5b5}
[data-theme="dark"] .teams-grid{gap:18px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
[data-theme="dark"] .tournament-card{border-radius:12px;overflow:hidden}
[data-theme="dark"] .tournament-card-header{background:#2c2c2c!important}
[data-theme="dark"] :is(.tournament-card-body,.tournament-card-footer){padding:20px!important}
[data-theme="dark"] .tournament-card-footer{margin-top:0}
[data-theme="dark"] .table-wrap{border-color:#2b2b2b}
[data-theme="dark"] .table thead{background:#2a2a2a}
[data-theme="dark"] .table th{font-weight:600;letter-spacing:.04em;font-size:11px;color:#bababa}
[data-theme="dark"] .table td{padding-top:13px;padding-bottom:13px;border-color:#2b2b2b}
[data-theme="dark"] .table .team-emblem{width:34px;height:34px}
[data-theme="dark"] .table .team-name{font-size:14px}
[data-theme="dark"] .table tbody tr{background:#141414}
[data-theme="dark"] .table tbody tr:nth-child(even){background:#222222}
[data-theme="dark"] .table tbody tr:hover{background:#292929}
[data-theme="dark"] .table :is(td.stat-cell,.pos-badge){font-variant-numeric:tabular-nums}
[data-theme="dark"] :is(.scorer-row,.card-player-row,.clean-sheet-row,.streak-row){border-color:#2b2b2b}
[data-theme="dark"] :is(.scorer-name,.clean-sheet-name,.player-card-name){font-weight:600;font-size:14px}
[data-theme="dark"] .hero-section{min-height:300px;background:#151515;padding-top:48px;padding-bottom:42px}
[data-theme="dark"] .hero-section .display-1{font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-1.8px}
[data-theme="dark"] .hero-subtitle{font-size:15px;max-width:580px;line-height:1.7}
[data-theme="dark"] .stat-card{display:grid;grid-template-columns:42px 1fr;column-gap:14px;align-items:center;padding:20px}
[data-theme="dark"] .stat-card .stat-icon{grid-row:span 2;margin:0;background:#353535}
[data-theme="dark"] .stat-card .stat-value{font-size:30px;line-height:1.2;color:#f2f2f2;font-weight:700}
[data-theme="dark"] .stat-card .stat-label{font-size:12px;text-align:left;margin-top:4px}
[data-theme="dark"] .header-mobile-nav{background:#101010}
[data-theme="dark"] .nav-item{color:#a9a9a9}
[data-theme="dark"] .nav-item.active{background:#353535;color:#c0c0c0}
.sc-fixtures{min-width:0}
iesjb-score-center{display:block;max-width:1180px;margin:0 auto;color:#ebebeb}
.sc-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px}
.sc-panel{background:#141414;border:1px solid #303030;border-radius:12px;overflow:hidden}
.sc-tools{padding:5px 18px 0}
.sc-filters{display:flex;gap:18px;border-bottom:1px solid #343434;overflow-x:auto;scrollbar-width:thin}
.sc-filters button{display:inline-flex;align-items:center;flex-shrink:0;gap:5px;padding:15px 0 13px;border-bottom:2px solid transparent;color:#b6b6b6;font-size:12px;font-weight:700;border-radius:0}
.sc-filters button.is-active{color:#b3b3b3;border-bottom-color:#858585}
.sc-filters button small{background:#2e2e2e;padding:0 5px;border-radius:4px;font-size:9px;line-height:16px;color:#acacac}
.sc-filters button.is-active small{background:#3b3b3b;color:#c7c7c7}
.sc-filters button svg{width:13px;height:13px}
.sc-league{margin-bottom:15px}
.sc-league>header{display:flex;align-items:center;gap:12px;padding:16px;background:#1c1c1c;border-bottom:1px solid #343434}
.sc-league>header>svg{width:23px;height:23px;color:#a5a5a5}
.sc-league h3{color:#ebebeb;font-size:14px;font-weight:700;line-height:1.4}
.sc-league header div>span{font-size:11px;color:#9a9a9a}
.sc-league header>small{margin-left:auto;color:#9b9b9b;font-size:10px}
.sc-match-row{display:flex;align-items:stretch;border-bottom:1px solid #2d2d2d;position:relative}
.sc-match-row:last-child{border-bottom:0}
.sc-match-row:hover{background:#202020}
.sc-match-row.is-selected{background:#2e2e2e}
.sc-match-row.is-selected::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#858585}
.sc-match-main{flex:1;min-width:0;display:grid;grid-template-columns:56px minmax(0,1fr) 28px;align-items:center;gap:13px;padding:15px 0 15px 13px;color:#e5e5e5;text-align:left}
.sc-match-time{text-align:center;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:5px;padding-right:10px;border-right:1px solid #393939}
.sc-match-time>span{color:#bababa;font-size:11px;font-family:var(--font-data)}
.sc-match-time>small{color:#a5a5a5;font-size:10px;font-weight:400}
.sc-match-teams{display:flex;flex-direction:column;gap:8px;min-width:0}
.sc-match-teams>span{display:flex;align-items:center;gap:10px;min-width:0;min-height:22px}
.sc-match-teams>span>span:last-child{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-crest{display:inline-flex;flex:0 0 auto;width:22px;height:22px;align-items:center;justify-content:center}
.sc-crest img{display:block;width:100%;height:100%;object-fit:contain}
.sc-crest>span{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#c5c5c5;background:#3c3c3c;border-radius:5px;font-size:9px}
.sc-row-scores{display:flex;flex-direction:column;gap:8px;align-items:center;font-family:var(--font-data);font-variant-numeric:lining-nums tabular-nums;letter-spacing:0}
.sc-row-scores>span{font-size:16px;line-height:22px;font-weight:500;color:#a9a9a9}
.sc-row-scores .sc-winner{color:#fff;font-weight:700}
.sc-favorite{color:#868686;padding:0 13px;flex-shrink:0;display:flex;align-items:center}
.sc-favorite>svg{width:17px;height:17px}
.sc-favorite:hover{color:#c0c0c0}
.sc-favorite.is-favorite{color:#a9a9a9}
.sc-favorite.is-favorite>svg{fill:#a9a9a9}
.sc-match-row.is-live .sc-match-time>span,.sc-match-row.is-live .sc-row-scores>span,.sc-live-label{color:#81b5ff!important}
.sc-detail{position:sticky;top:100px}
.sc-detail-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:17px;border-bottom:1px solid #343434}
.sc-detail-heading>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#bcbcbc;font-weight:600}
.sc-detail-heading svg{width:16px;height:16px;flex-shrink:0}
.sc-detail-date{text-align:center;font-size:11px;color:#9a9a9a;margin:22px 10px 20px}
.sc-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);align-items:start;padding:0 18px;gap:4px}
.sc-scoreboard>div{display:flex;flex-direction:column;align-items:center;text-align:center}
.sc-crest.is-large{width:60px;height:60px;margin-bottom:12px}
.sc-crest.is-large>span{font-size:18px}
.sc-scoreboard>div>strong{font-size:13px;font-weight:700;color:#e9e9e9;line-height:1.5;overflow-wrap:anywhere}
.sc-scoreboard .sc-score-center{padding-top:4px}
.sc-scoreboard .sc-score-center>strong{font-size:36px;font-weight:700;font-family:var(--font-data);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.6px;white-space:nowrap}
.sc-score-center strong>span{color:#858585;font-size:28px;font-weight:400}
.sc-score-center>span{font-size:11px;color:#b0b0b0;margin-top:6px}
.sc-detail-phase{text-align:center;color:#898989;font-size:10px;margin:20px 12px}
.sc-detail-tabs{display:flex;justify-content:space-around;border-bottom:1px solid #343434}
.sc-detail-tabs button{font-size:12px;color:#b1b1b1;padding:14px 6px;border-bottom:2px solid transparent;border-radius:0}
.sc-detail-tabs button[aria-selected="true"]{color:#b1b1b1;border-color:#858585}
.sc-detail-content{padding:18px 16px 20px;max-height:calc(100dvh - 455px);min-height:140px;overflow-y:auto;scrollbar-width:thin}
.sc-match-time,.sc-events time,.sc-filters small,.sc-squads section>div>span{font-family:var(--font-data);font-variant-numeric:lining-nums tabular-nums;letter-spacing:0}
.sc-section-label{color:#dbdbdb;font-size:12px;font-weight:600;margin-bottom:10px}
.sc-events{list-style:none;padding:0;margin:0}
.sc-events li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #323232}
.sc-events li:last-child{border:0}
.sc-events time{color:#b0b0b0;font-size:11px;width:24px;flex-shrink:0}
.sc-event-icon{display:flex;width:24px;justify-content:center;flex-shrink:0;color:#c7c7c7}
.sc-event-icon svg{width:17px;height:17px}
.sc-event-icon i{width:10px;height:15px;background:#edc856;border-radius:2px}
.sc-event-icon.is-red i{background:#f67583}
.sc-events li>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.sc-events strong{color:#e0e0e0;font-size:12px;font-weight:500}
.sc-events small{color:#acacac;font-size:11px}
.sc-note{color:#9a9a9a;font-size:10px;margin-bottom:14px}
.sc-squads{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.sc-squads h3{font-size:12px;color:#c7c7c7;margin-bottom:14px}
.sc-squads section>div{display:flex;gap:8px;border-bottom:1px solid #323232;padding:8px 0;font-size:12px;color:#bdbdbd}
.sc-squads section>div>span{color:#888888;width:15px;flex-shrink:0}
.sc-squads p{color:#9a9a9a;font-size:10px}
.sc-empty{padding:45px 22px;text-align:center;color:#aaaaaa;font-size:13px}
.sc-empty>svg{color:#7a7a7a;width:32px;height:32px;margin-bottom:16px}
.sc-empty h3{color:#e4e4e4;font-size:16px;margin-bottom:8px}
.sc-empty p{color:#9f9f9f;font-size:12px}
.sc-small-empty{padding:20px 5px;font-size:12px}
.sc-text-button{color:#aeaeae;font-size:11px;margin-top:14px;padding:8px 0}
.sc-loading{padding:70px;text-align:center;color:#b6b6b6}
iesjb-score-center button:focus-visible,iesjb-score-center a:focus-visible{outline:2px solid #b5b5b5;outline-offset:-2px}
@media (min-width:1600px){.sc-layout{grid-template-columns:minmax(0,1fr) 380px;gap:24px}
}
@media (max-width:1190px){.sc-layout{grid-template-columns:minmax(0,1fr) 340px;gap:14px}
.sc-filters{gap:12px}
.sc-filters button small{display:none}
}
@media (max-width:1020px){.sc-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}
}
@media (max-width:720px){[data-theme="dark"] .header{padding:0 16px}
[data-theme="dark"] .header-inner{min-height:64px}
[data-theme="dark"] .header-title{font-size:18px}
.sc-layout{display:block}
[data-theme="dark"] .stat-card{grid-template-columns:34px 1fr;padding:16px;column-gap:10px}
[data-theme="dark"] .stat-card .stat-value{font-size:26px}
[data-theme="dark"] .team-card{padding:18px}
[data-theme="dark"] .table td{padding-top:0;padding-bottom:0}
.sc-filters{gap:18px}
.sc-filters button{font-size:11px}
.sc-filters button small{display:inline}
.sc-detail{display:none}
.sc-detail-content{max-height:none}
.sc-scoreboard{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);max-width:450px;margin:0 auto}
.sc-favorite{padding:0 14px}
}
@media (prefers-reduced-motion:reduce){iesjb-score-center *{scroll-behavior:auto}
}
.sc-page-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:4px 0 28px}
.sc-page-heading h1{margin:0;color:#f6f6f6;font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-1px}
.sc-page-heading a{display:inline-flex;align-items:center;gap:6px;color:#a9a9a9;font-size:12px;font-weight:400}
.sc-page-heading a svg{width:14px;height:14px}
.sc-selectors{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:14px 0 8px}
.sc-selectors label{display:flex;flex-direction:column;gap:8px;min-width:0}
.sc-selectors label>span{color:#a0a0a0;font-size:11px;font-weight:500}
 .sc-selectors select{height:40px;padding:0 12px;font-size:13px;font-weight:500;border:1px solid #3f3f3f;background:#101010;color:#e8e8e8;border-radius:6px}
.sc-result-count{margin:18px 2px 10px;color:#9a9a9a;font-size:12px;font-weight:400}
.sc-league header h2{color:#e7e7e7;font-size:15px;font-weight:650;line-height:1.4;letter-spacing:-.2px}
.sc-league>header{padding:16px 18px;background:#252525}
.sc-league>header>svg{width:18px;height:18px;color:#a0a0a0}
.sc-match-main{padding-top:16px;padding-bottom:16px}
.sc-match-teams>span>span:last-child{font-size:14px;font-weight:500;color:#e0e0e0}
.sc-match-time>span{font-size:11px;font-weight:400;color:#afafaf}
.sc-match-time>small{font-size:10px;font-weight:400;color:#909090}
.sc-row-scores>span{font-size:17px;font-weight:500}
.sc-row-scores .sc-winner{font-weight:700}
.sc-scoreboard .sc-score-center>strong{font-size:38px;line-height:1.2;font-weight:700}
.sc-scoreboard>div>strong{font-size:13px;font-weight:600}
.sc-detail-content{padding-top:8px}
.sc-detail-tabs button{font-size:12px;font-weight:500}
.sc-events strong{font-size:13px;font-weight:500}
.sc-events small{font-size:11px;font-weight:400}
html[data-theme="dark"],html[data-theme="dark"] *{scrollbar-width:thin;scrollbar-color:#666666 #101010}
@supports selector(::-webkit-scrollbar){html[data-theme="dark"],html[data-theme="dark"] *{scrollbar-width:auto;scrollbar-color:auto}
html[data-theme="dark"]::-webkit-scrollbar,html[data-theme="dark"] *::-webkit-scrollbar{width:10px;height:10px}
html[data-theme="dark"]::-webkit-scrollbar-track,html[data-theme="dark"] *::-webkit-scrollbar-track{background:#101010;border-radius:10px}
html[data-theme="dark"]::-webkit-scrollbar-thumb,html[data-theme="dark"] *::-webkit-scrollbar-thumb{background:#666666;border:3px solid #101010;background-clip:padding-box;border-radius:10px;box-shadow:none}
html[data-theme="dark"]::-webkit-scrollbar-thumb:hover,html[data-theme="dark"] *::-webkit-scrollbar-thumb:hover{background:#919191;background-clip:padding-box}
html[data-theme="dark"]::-webkit-scrollbar-thumb:active,html[data-theme="dark"] *::-webkit-scrollbar-thumb:active{background:#b1b1b1;background-clip:padding-box}
html[data-theme="dark"]::-webkit-scrollbar-corner,html[data-theme="dark"] *::-webkit-scrollbar-corner{background:#101010}
}
@media (max-width:720px){.sc-page-heading{padding-bottom:22px}
.sc-page-heading h1{font-size:28px}
.sc-selectors{gap:12px;grid-template-columns:minmax(0,1fr)}
.sc-filters button{font-size:12px}
}

/* Full-page match navigation, without an overlay or a second scroll area. */
iesjb-score-center .sc-layout { display: block; }
iesjb-score-center .sc-fixtures { max-width: 900px; margin: 0 auto; }
.sc-match-main:hover { color: #e5e5e5; }
.sc-back-link { display: inline-flex; align-items: center; padding: 10px 0; margin-bottom: 16px; font-size: 13px; color: #b6b6b6; }
.sc-match-page { width: 100%; min-height: calc(100dvh - 180px); }
.sc-match-page-title { font-size: 24px; font-weight: 650; color: #eeeeee; letter-spacing: -.5px; margin: 0 0 24px; }
.sc-match-page .sc-detail { display: block; position: static; width: 100%; border-radius: 12px; box-shadow: none; }
.sc-match-page .sc-detail-heading { padding: 20px 24px; }
.sc-match-page .sc-detail-date { margin: 28px 12px; font-size: 12px; }
.sc-match-page .sc-scoreboard { max-width: 660px; margin: 0 auto; padding: 0 24px; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); }
.sc-match-page .sc-crest.is-large { width: 80px; height: 80px; margin-bottom: 16px; }
.sc-match-page .sc-scoreboard > div > strong { font-size: 16px; }
.sc-match-page .sc-scoreboard .sc-score-center > strong { font-size: 56px; }
.sc-match-page .sc-score-center > span { font-size: 13px; }
.sc-match-page .sc-detail-phase { margin: 24px 12px; font-size: 12px; }
.sc-match-page .sc-detail-tabs { justify-content: center; gap: 40px; }
.sc-match-page .sc-detail-tabs button { padding: 16px 10px; font-size: 14px; }
.sc-match-page .sc-detail-content { max-width: 760px; max-height: none; min-height: 180px; overflow: visible; margin: 0 auto; padding: 24px; }
.sc-match-page .sc-events li { padding: 16px 0; }
.sc-match-page .sc-events strong { font-size: 14px; }
.sc-match-page .sc-squads section > div { font-size: 13px; padding: 12px 0; }
@media (max-width: 720px) {
  .sc-match-page-title { font-size: 20px; margin-bottom: 18px; }
  .sc-match-page .sc-scoreboard { grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr); padding: 0 12px; }
  .sc-match-page .sc-crest.is-large { width: 56px; height: 56px; }
  .sc-match-page .sc-scoreboard .sc-score-center > strong { font-size: 38px; }
  .sc-match-page .sc-scoreboard > div > strong { font-size: 13px; }
  .sc-match-page .sc-detail-tabs { gap: 18px; }
  .sc-match-page .sc-detail-content { padding: 18px 16px; }
}

/* Scorers sit below the score, aligned with the team credited with each goal. */
.sc-goal-scorers { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); gap: 12px; max-width: 660px; margin: 24px auto 0; padding: 0 24px; }
.sc-scorers-home { text-align: right; }
.sc-scorers-away { text-align: left; }
.sc-scorer-line { display: block; color: #bebebe; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.sc-scorer-line small { font-size: 11px; color: #9b9b9b; white-space: nowrap; }
.sc-scorer-line abbr { text-decoration: none; color: #b0b0b0; }
.sc-scorers-ball { color: #919191; display: flex; justify-content: center; padding-top: 3px; }
.sc-scorers-ball svg { width: 14px; height: 14px; }

/* Events follow each team's side of a central timeline. */
.sc-match-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.sc-match-timeline::before { content: ''; position: absolute; width: 1px; top: 12px; bottom: 12px; left: 50%; background: #3d3d3d; }
.sc-match-timeline li { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 70px; padding: 12px 0; }
.sc-timeline-player { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 4px; text-align: right; }
.sc-timeline-player strong { font-size: 14px; color: #e4e4e4; font-weight: 500; overflow-wrap: anywhere; }
.sc-timeline-player small { font-size: 11px; color: #9a9a9a; }
.sc-timeline-marker { grid-column: 2; grid-row: 1; z-index: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #454545; background: #2e2e2e; color: #eaeaea; }
.sc-timeline-marker svg { width: 17px; height: 17px; }
.sc-timeline-marker i { display: block; width: 9px; height: 13px; border-radius: 2px; background: #e7c14f; }
.sc-timeline-marker.is-red i { background: #f27886; }
.sc-match-timeline time { grid-column: 3; grid-row: 1; font-size: 12px; font-weight: 400; color: #aaaaaa; font-variant-numeric: tabular-nums; }
.sc-match-timeline .is-away .sc-timeline-player { grid-column: 3; text-align: left; }
.sc-match-timeline .is-away time { grid-column: 1; text-align: right; }
@media (max-width: 720px) {
  .sc-goal-scorers { padding: 0 12px; gap: 8px; }
  .sc-match-timeline li { gap: 9px; }
  .sc-timeline-player strong { font-size: 12px; }
}

.sc-match-timeline .is-own-goal .sc-timeline-player :is(strong, small) { color: #fb8189; }
.sc-match-timeline .is-own-goal .sc-timeline-marker { color: #fb8189; border-color: #914b57; background: #38232c; }


/* Registering a result is a full page in the normal document flow. */
.matches-page.is-registering-result > :not(.result-entry-page):not(.modal-backdrop) { display: none !important; }
.result-entry-page { display: block; position: static; width: 100%; max-width: 1080px; min-height: calc(100dvh - 180px); margin: 0 auto; }
.result-entry-content { width: 100%; background: #111111; border: 1px solid #2c2c2c; border-radius: 12px; }
.result-entry-page .modal-header { padding: 24px 28px; align-items: flex-start !important; text-align: left !important; background: #141414; }
.result-entry-page .modal-header > div:first-child { flex-wrap: wrap; gap: 18px; }
.result-entry-page .modal-title { font-size: 28px; font-weight: 700; color: #eeeeee; }
.result-entry-back { order: -1; width: 100%; padding: 0; text-align: left; color: #bcbcbc; font-size: 13px; font-weight: 400; }
.result-entry-back:hover { color: #ffffff; }
.result-entry-page form { display: block; }
.result-entry-page .modal-body { overflow: visible; max-height: none; padding: 28px; }
.result-entry-page .modal-footer { position: static; padding: 22px 28px; background: #141414; border-radius: 0 0 12px 12px; }
.result-entry-page .score-board { width: 100%; max-width: 850px; margin-left: auto; margin-right: auto; }
.result-entry-page .result-panel { background: #191919; border-color: #353535; }
.result-entry-page .result-section-title { color: #e3e3e3; }
@media (max-width: 640px) {
  .result-entry-content { border-radius: 10px; }
  .result-entry-page .modal-header { padding: 20px 16px; }
  .result-entry-page .modal-title { font-size: 24px; }
  .result-entry-page .modal-body { padding: 20px 14px; overflow: visible; }
  .result-entry-page .modal-footer { padding: 18px 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .result-entry-page .modal-footer .btn { width: 100%; min-height: 44px; }
}

.sc-register-action { align-self: center; flex: 0 0 auto; margin-left: 12px; padding: 8px 10px; border-radius: 6px; color: #dceaff; background: #233b60; font-size: 11px; font-weight: 500; }
.sc-register-action:hover { background: #2e4d7b; color: #fff; }
.sc-register-detail { display: inline-flex; margin: 0 0 24px; }
.sc-register-detail { align-items: center; gap: 8px; }
.sc-register-detail > svg { width: 17px; height: 17px; flex: 0 0 17px; }
.match-form-error { padding: 10px 12px; margin: 0 0 12px; border: 1px solid #704046; border-radius: 6px; background: #27191b; color: #ffacb3; font-size: 12px; line-height: 1.5; }
.sc-save-notice { max-width: 1180px; margin: 0 auto 14px; padding: 11px 14px; border: 1px solid #34577d; border-radius: 7px; background: #142235; color: #b7d6ff; font-size: 13px; }
.match-roundtrip-toggle { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid #363636; background: #161616; border-radius: 7px; cursor: pointer; }
.match-roundtrip-toggle input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; padding: 0; accent-color: #5798ff; }
.match-roundtrip-toggle > span { display: flex; flex-direction: column; gap: 4px; }
.match-roundtrip-toggle strong { font-size: 13px; color: #eee; }
.match-roundtrip-toggle small { font-size: 11px; color: #999; }
.sc-match-time > .sc-leg-label { color: #a6c9ff; font-size: 9px; }

/* Match-specific standings: neutral surface, current teams picked out in blue. */
.sc-standings { min-width: 0; }
.sc-standings > section + section { margin-top: 24px; }
.sc-standings header { padding: 0 0 16px; display: flex; flex-direction: column; gap: 5px; }
.sc-standings h3 { margin: 0; font-size: 15px; font-weight: 700; color: #ededed; }
.sc-standings header > span { color: #999; font-size: 11px; }
.sc-standings-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; font-variant-numeric: tabular-nums; }
.sc-standings-table th, .sc-standings-table td { padding: 10px 6px; border-bottom: 1px solid #292929; text-align: center; }
.sc-standings-table thead th { color: #999; font-weight: 500; font-size: 10px; }
.sc-standings-table abbr { text-decoration: none; }
.sc-standings-table th:first-child { width: 30px; }
.sc-standings-table th:nth-child(2) { width: auto; text-align: left; }
.sc-standings-table th:nth-child(3), .sc-standings-table th:nth-child(4), .sc-standings-table th:nth-child(5) { width: 42px; }
.sc-standings-table .sc-standing-form { width: 128px; }
.sc-standings-table tbody th { font-weight: 500; text-align: left; }
.sc-standings-table a { display: flex; align-items: center; gap: 9px; min-width: 0; color: #ddd; }
.sc-standings-table a > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-standings-table .sc-crest { width: 22px; height: 22px; flex-shrink: 0; }
.sc-standings-table .is-match-team { background: #192333; }
.sc-standings-table .is-match-team td:first-child { box-shadow: inset 2px 0 #619fff; color: #a4c9ff; }
.sc-standings-table .is-match-team a, .sc-standing-points { color: #fff; font-weight: 700; }
.sc-standing-form > div { display: flex; justify-content: center; gap: 3px; }
.sc-standing-form span { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 3px; font-size: 9px; font-weight: 700; }
.sc-standing-form .is-win { background: #204b36; color: #8ce5b2; }
.sc-standing-form .is-draw { background: #3a3a3a; color: #ccc; }
.sc-standing-form .is-loss { background: #52292c; color: #ffafb4; }
.sc-standings-note { color: #888; font-size: 10px; line-height: 1.7; margin: 15px 0 0; }
.sc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 540px) {
  .sc-standings-table .sc-standing-form { display: none; }
  .sc-standings-table th:nth-child(3), .sc-standings-table th:nth-child(4), .sc-standings-table th:nth-child(5) { width: 32px; }
  .sc-standings-table th, .sc-standings-table td { padding: 10px 4px; }
  .sc-standings-table th:first-child { width: 22px; }
  .sc-standings-table a { gap: 6px; }
}
.sc-preview-note { color: #999; font-size: 12px; }
@media (max-width: 520px) {
  .sc-register-action { margin-left: 4px; padding: 8px 6px; font-size: 10px; }
  .sc-match-main { grid-template-columns: 44px minmax(0,1fr) 22px; gap: 7px; padding-left: 8px; }
  .sc-match-teams > span { gap: 6px; }
  .sc-favorite { padding: 0 8px; }
}

/* Result entry: compact score, clear editing groups and reachable actions. */
.result-entry-page { max-width: 960px; }
.result-entry-content { background: transparent; border: 0; }
.result-entry-page .modal-header { padding: 0 0 24px; background: transparent; border-bottom: 1px solid #292929; gap: 10px !important; }
.result-entry-page .modal-header > div:first-child { gap: 16px; }
.result-entry-page .modal-title { font-size: 28px; letter-spacing: -.7px; }
.result-entry-context { color: #aaaaaa; font-size: 14px; margin: 0; }
.result-entry-page .modal-body { padding: 24px 0; }
.result-entry-page .result-section-title { justify-content: flex-start; font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.result-entry-page .result-score-hint { text-align: left; font-size: 12px; color: #999; line-height: 1.65; }
.result-entry-page .score-board { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); max-width: none; align-items: stretch; gap: 16px; }
.result-entry-page .score-card { padding: 20px; gap: 18px; background: #121212; border: 1px solid #303030; border-radius: 10px; }
.result-entry-page .score-card-team { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.result-entry-page .score-card-team > :first-child { width: 36px !important; height: 36px !important; flex: 0 0 36px; font-size: 28px !important; }
.result-entry-page .score-card-name { font-size: 15px; font-weight: 600; color: #e5e5e5; line-height: 1.4; overflow-wrap: anywhere; }
.result-entry-page .score-board-sep { text-align: center; }
.result-entry-page .score-stepper { gap: 16px; }
.result-entry-page .score-stepper-value { min-width: 64px; padding: 0; font-size: 42px; font-weight: 650; color: #f2f2f2; background: transparent; border: 0; }
.result-entry-page .score-stepper .score-stepper-btn { width: 44px; height: 44px; border-radius: 8px; border-width: 1px; font-size: 26px; background: #222; color: #eee; }
.result-entry-page .score-stepper .score-stepper-btn.is-add { background: #2563eb; border-color: #2563eb; color: #fff; }
.result-entry-page .score-card.is-celebrating .score-stepper-value::after { display: none; }
.result-entry-page .result-grid { gap: 18px; }
.result-entry-page .result-grid .result-panel { padding: 16px; background: #111; border: 1px solid #2c2c2c; border-radius: 10px; }
.result-entry-page .result-panel-title { justify-content: flex-start; font-size: 14px; color: #ddd; padding-bottom: 12px; border-bottom: 1px solid #292929; }
.result-entry-page .result-panel-title > :first-child { width: 24px !important; height: 24px !important; font-size: 20px !important; }
.result-entry-page .result-panel-empty { padding: 18px 0; font-size: 12px; color: #888; }
.result-entry-page .event-row { display: grid; grid-template-columns: 20px minmax(0,1fr) 36px 32px; align-items: center; gap: 8px; padding: 10px; background: #191919; border: 1px solid #333; border-radius: 8px; }
.result-entry-page .event-row-picker { min-width: 0; }
.result-entry-page .event-row .player-picker { min-height: 42px; padding: 9px; font-size: 13px; }
.result-entry-page .event-row-note { grid-column: 2 / -1; font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.result-entry-page .event-row .event-remove { width: 32px; height: 40px; min-height: 40px; padding: 0; color: #999; }
.result-entry-page .og-toggle { width: 36px; height: 40px; font-size: 10px; }
.result-entry-page .og-toggle.is-active { color: #ffc5c9; background: #4b2428; border-color: #a55d65; }
.result-entry-page .event-row:has(.card-type-toggle) { grid-template-columns: minmax(0,1fr) 32px; }
.result-entry-page .event-row:has(.card-type-toggle) .event-row-picker { grid-column: 1; grid-row: 1; }
.result-entry-page .event-row:has(.card-type-toggle) .event-remove { grid-column: 2; grid-row: 1; }
.result-entry-page .card-type-toggle { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; }
.result-entry-page .card-type-opt { justify-content: center; min-height: 36px; border-radius: 5px; padding: 8px; font-size: 11px; }
.result-entry-page .result-add-btn { min-height: 42px; margin-top: 12px; border: 1px dashed #444; color: #bbb; }
.result-team-tabs { display: none; }
.result-entry-page .result-walkover { border-top: 1px solid #2c2c2c; padding-top: 18px; }
.result-entry-page .result-walkover summary { cursor: pointer; color: #aaa; font-size: 13px; font-weight: 500; padding: 6px 0; }
.result-entry-page .result-walkover[open] summary { margin-bottom: 16px; }
.result-entry-page .modal-footer { position: sticky; bottom: 0; z-index: 30; display: grid !important; grid-template-columns: auto minmax(180px,1fr) minmax(180px,1fr); gap: 12px !important; padding: 16px 0; border-top: 1px solid #333; background: #080808; border-radius: 0; }
.result-entry-page .modal-footer .btn { min-height: 44px; font-size: 13px; padding: 10px 16px; }
@media (max-width: 720px) {
  .result-entry-page .modal-header { padding: 0 0 20px; }
  .result-entry-page .modal-title { font-size: 24px; }
  .result-entry-context { font-size: 12px; }
  .result-entry-page .modal-body { padding: 20px 0; }
  .result-entry-page .score-board { gap: 8px; grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr); }
  .result-entry-page .score-card { padding: 14px 8px; gap: 12px; }
  .result-entry-page .score-card-team { flex-direction: column; gap: 8px; text-align: center; }
  .result-entry-page .score-card-name { font-size: 13px; }
  .result-entry-page .score-stepper { display: grid; grid-template-columns: 44px 44px; justify-content: center; gap: 8px; }
  .result-entry-page .score-stepper-value { grid-column: 1 / -1; grid-row: 1; min-width: 0; font-size: 40px; line-height: 1.2; }
  .result-entry-page .score-stepper-btn { grid-row: 2; }
  .result-team-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-top: 20px; background: #171717; border: 1px solid #333; border-radius: 8px; }
  .result-team-tabs button { min-height: 44px; border-radius: 5px; padding: 8px; font-size: 12px; font-weight: 500; color: #aaa; overflow-wrap: anywhere; }
  .result-team-tabs button[aria-pressed="true"] { background: #233b60; color: #dceaff; }
  .result-entry-page .result-grid { grid-template-columns: 1fr; }
  .result-entry-page[data-team="home"] .result-panel-away,
  .result-entry-page[data-team="away"] .result-panel-home { display: none; }
  .result-entry-page .result-grid .result-panel { padding: 12px; }
  .result-entry-page .result-panel-title { display: none; }
  .result-entry-page .result-section + .result-section { margin-top: 24px; }
  .result-entry-page .modal-footer { bottom: calc(68px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr; gap: 8px !important; padding: 12px 0; }
  .result-entry-page .modal-footer .btn { width: 100%; min-width: 0; padding: 10px 6px; font-size: 12px; }
  .result-entry-page .modal-footer > .btn-ghost { grid-column: 1 / -1; grid-row: 2; min-height: 34px; padding: 4px; }
}

/* Let the page use its natural height; scrolling is only for real overflow. */
.result-entry-page, .sc-match-page { min-height: 0; }
.result-entry-content, .result-entry-page form { min-width: 0; }
.result-entry-page .modal-body { height: auto; max-height: none; overflow: visible; }
html[data-theme="dark"] :is(.player-picker-menu, .select-list) {
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: auto;
}
html[data-theme="dark"] :is(.player-picker-option, .select-option) { min-width: 0; max-width: 100%; box-sizing: border-box; }
.result-entry-page .player-picker { min-width: 0; max-width: 100%; }
.sc-filters { overflow-x: auto; overflow-y: hidden; scrollbar-gutter: auto; }

.sc-squads .sc-rated-player { align-items: center; gap: 10px; }
.sc-squads .sc-rated-name { flex: 1; width: auto; min-width: 0; color: #d5d5d5; font-size: 13px; overflow-wrap: anywhere; }
.sc-rating-badge { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 24px; width: 24px; min-width: 24px; height: 24px; padding: 0; border-radius: 1px; font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -.35px; font-variant-numeric: lining-nums tabular-nums; }
.sc-rating-badge.is-none { color: #999; background: #292929; }
.sc-rating-badge.is-low { color: #fff; background: #ed7e07; }
.sc-rating-badge.is-average { color: #fff; background: #d9af00; }
.sc-rating-badge.is-good { color: #fff; background: #00c424; }
.sc-rating-badge.is-very-good { color: #fff; background: #00adc4; }
.sc-rating-badge.is-excellent { color: #fff; background: #374df5; }
.sc-rating-rules { border-top: 1px solid #303030; margin-top: 24px; padding-top: 16px; color: #999; font-size: 12px; }
.sc-rating-rules summary { cursor: pointer; }
.sc-rating-rules p { margin-top: 12px; line-height: 1.8; }
@media (max-width: 520px) {
  .sc-match-page .sc-squads { grid-template-columns: 1fr; gap: 26px; }
}

.sc-team-link { display: flex; flex-direction: column; align-items: center; color: #e5e5e5; text-align: center; border-radius: 8px; padding: 4px; }
.sc-team-link strong { font-size: 16px; font-weight: 600; line-height: 1.5; }
.sc-team-link:hover { color: #fff; background: #ffffff08; }
.sc-team-form-page { max-width: 800px; margin: 0 auto; }
.sc-form-team-heading { display: flex; align-items: center; gap: 18px; margin: 8px 0 28px; }
.sc-form-team-heading .sc-crest { margin: 0; }
.sc-form-team-heading h1 { color: #eee; font-size: 28px; letter-spacing: -.6px; }
.sc-form-team-heading p { color: #999; font-size: 12px; margin-top: 5px; }
.sc-form-panel { padding: 24px; background: #111 !important; }
.sc-form-panel h2 { color: #eee; font-size: 18px; font-weight: 650; }
.sc-form-panel > p { color: #999; font-size: 12px; margin-top: 8px; }
.sc-form-chart-scroll { overflow-x: auto; overflow-y: hidden; padding: 24px 0 12px; }
.sc-form-chart { display: grid; gap: 6px; }
.sc-form-column { display: grid; grid-template-rows: 24px 120px 16px; gap: 10px; justify-items: center; padding: 6px 2px; min-width: 36px; color: #aaa; border-radius: 6px; }
.sc-form-column:hover, .sc-form-column[aria-pressed="true"] { background: #ffffff09; }
.sc-form-column .sc-crest { width: 24px; height: 24px; }
.sc-form-bar-space { display: block; position: relative; width: 100%; height: 120px; }
.sc-form-bar-space::before { content: ''; position: absolute; left: -3px; right: -3px; top: 60px; height: 1px; background: #3a3a3a; }
.sc-form-bar { display: block; position: absolute; left: 0; right: 0; bottom: 60px; border-radius: 2px 2px 0 0; background: #36b889; }
.sc-form-column.is-loss .sc-form-bar { top: 60px; bottom: auto; background: #ef655c; border-radius: 0 0 2px 2px; }
.sc-form-column.is-draw .sc-form-bar { top: 56px; bottom: auto; border-radius: 2px; background: #858b94; }
.sc-form-column small { font-size: 10px; }
.sc-form-column.is-win small { color: #62cda4; }
.sc-form-column.is-loss small { color: #f1847c; }
.sc-form-info { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 16px 0; border-top: 1px solid #303030; color: #c9c9c9; font-size: 13px; }
.sc-form-info strong { color: #fff; margin: 0 5px; font-variant-numeric: tabular-nums; }
.sc-form-info small { color: #999; font-size: 11px; }
.sc-form-info a { margin-left: auto; color: #aaa; font-size: 12px; }
.sc-form-outcome { font-size: 11px; font-weight: 600; }
.sc-form-outcome.is-win { color: #62cda4; }
.sc-form-outcome.is-loss { color: #f1847c; }
.sc-form-legend { display: flex; gap: 18px; margin-top: 12px; color: #999; font-size: 11px; }
.sc-form-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 6px; background: #858b94; }
.sc-form-legend .is-win::before { background: #36b889; }
.sc-form-legend .is-loss::before { background: #ef655c; }
@media (max-width: 520px) {
  .sc-team-link strong { font-size: 13px; }
  .sc-form-panel { padding: 18px 14px; }
  .sc-form-team-heading h1 { font-size: 24px; }
  .sc-form-chart { gap: 4px; }
}

/* White star on a blue disc, following Sofascore's POTM marker. */
.sc-rating-badge.is-best { position: relative; margin-left: 26px; }
.sc-potm-star { position: absolute; top: 50%; right: calc(100% + 6px); transform: translateY(-50%); display: grid; place-items: center; width: 16px; height: 16px; border: 2px solid #151515; border-radius: 50%; color: #fff; background: inherit; box-sizing: content-box; pointer-events: none; }
.sc-potm-star svg { display: block; width: 11px; height: 11px; }

.sc-team-rating { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; }
.sc-team-rating small { color: #999; font-size: 10px; font-weight: 400; }
.sc-team-average { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 680px; padding: 16px 18px; margin-bottom: 20px; border: 1px solid #2c2c2c; border-radius: 10px; background: #111; }
.sc-team-average > div { display: flex; flex-direction: column; gap: 6px; }
.sc-team-average > div > span { font-size: 14px; font-weight: 600; color: #eee; }
.sc-team-average small { font-size: 11px; color: #999; line-height: 1.5; }
.sc-form-panel { width: 100%; box-sizing: border-box; }
.sc-form-chart { width: max-content; }
.sc-form-column { grid-template-rows: 24px 120px 16px 24px; }
.sc-form-column > .sc-rating-badge { margin-top: 2px; }
.sc-form-info .sc-team-rating { margin: 0; }
.sc-form-info .sc-team-rating strong { margin: 0; }
@media (max-width: 520px) {
  .sc-scoreboard .sc-team-rating { flex-direction: column; gap: 4px; }
  .sc-team-average { padding: 14px; }
}
.sc-form-column { grid-template-rows: 24px 80px 16px 24px; gap: 8px; }
.sc-form-bar-space { height: 80px; }
.sc-form-bar-space::before { top: 40px; }
.sc-form-bar { bottom: 40px; }
.sc-form-column.is-loss .sc-form-bar { top: 40px; }
.sc-form-column.is-draw .sc-form-bar { top: 36px; }
.sc-form-chart-scroll { padding-top: 16px; }
.sc-squads section > .sc-squad-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; padding: 0 0 12px; border-bottom: 1px solid #303030; }
.sc-squad-heading h3 { margin: 0; }
.sc-squad-heading .sc-team-rating { margin: 0; }
.sc-squads .sc-squad-heading > .sc-team-rating { width: auto; flex-shrink: 0; }
.sc-squad-heading .sc-team-rating small { white-space: nowrap; }

/* Preserve complete player names on one line, fitting their font to available space. */
.sc-scorer-line, .sc-squads .sc-rated-name, .sc-timeline-player strong { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.sc-timeline-player { min-width: 0; }

/* Goal feedback: a brief blue pulse and a compact white-on-blue label. */
.result-entry-page .score-card.is-celebrating { animation: sc-goal-card 950ms ease-out; }
.result-entry-page .score-card.is-celebrating .score-stepper-value { animation: sc-goal-score 750ms cubic-bezier(.2,.8,.2,1); }
.result-entry-page .score-card { position: relative; }
.result-entry-page .score-stepper { position: static; }
.result-entry-page .goal-burst { display: flex; align-items: center; justify-content: center; gap: 5px; top: 10px; right: 10px; left: auto; width: auto; height: auto; padding: 5px 9px; border: 1px solid #72a7ff; border-radius: 5px; background: #2563eb; color: #fff; transform: translateY(0); box-shadow: 0 4px 16px #2563eb40; animation: sc-goal-label 1300ms ease-out both; }
.result-entry-page .goal-burst::before, .result-entry-page .goal-burst::after { display: none; }
.result-entry-page .goal-burst-text { position: static; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-shadow: none; animation: none; }
.result-entry-page .goal-burst-ball { position: static; display: inline-flex; filter: none; animation: none; }
.result-entry-page .goal-burst-ball svg { width: 13px; height: 13px; color: #fff; stroke: currentColor; }
@keyframes sc-goal-score {
  0%, 100% { transform: scale(1); }
  24% { transform: scale(1.14); color: #fff; border-color: #76a7ff; background: #2563eb; box-shadow: 0 0 20px #2563eb60; }
}
@keyframes sc-goal-card {
  0%, 100% { border-color: #303030; box-shadow: none; }
  25% { border-color: #4d8fff; box-shadow: 0 0 22px #2563eb30; }
}
@keyframes sc-goal-label {
  0% { opacity: 0; transform: translateY(5px); }
  15%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .result-entry-page .score-card.is-celebrating, .result-entry-page .score-card.is-celebrating .score-stepper-value, .result-entry-page .goal-burst { animation: none; }
}

.sc-live-demo { margin: 16px; padding: 14px; background: #171717; border: 1px solid #343434; border-radius: 8px; }
.sc-live-demo > strong, .sc-live-demo > span { display: block; }
.sc-live-demo > strong { font-size: 12px; color: #a8cbff; }
.sc-live-demo > span { margin-top: 5px; color: #aaa; font-size: 12px; }
.sc-live-demo > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sc-live-demo .btn { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.sc-scoreboard.is-live-goal { position: relative; animation: sc-goal-card 950ms ease-out; border-radius: 10px; }
.sc-scoreboard.is-live-goal .sc-score-center > strong { animation: sc-goal-score 750ms ease-out; border-radius: 6px; }
.sc-scoreboard > .sc-live-goal-toast { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 95%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; border-radius: 5px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 20px #2563eb55; }
.sc-live-goal-toast svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .sc-scoreboard.is-live-goal, .sc-scoreboard.is-live-goal .sc-score-center > strong { animation: none; }
}
.sc-scoreboard > .sc-live-goal-toast { flex-direction: row; z-index: 2; top: -34px; }

/* Broadcast-style score roll: the previous value leaves upward as the new one enters. */
.sc-scoreboard .sc-score-center > strong { display: inline-flex; align-items: center; justify-content: center; gap: .12em; }
.sc-score-center strong > .sc-score-digit { position: relative; display: inline-block; flex: 0 0 auto; min-width: .7em; height: 1.12em; overflow: hidden; vertical-align: middle; color: inherit; font-size: inherit; font-weight: inherit; line-height: 1.12; }
.sc-score-digit > i { display: block; min-width: .7em; font-style: normal; text-align: center; line-height: 1.12; }
.sc-score-digit > .sc-score-old { position: absolute; inset: 0; }
.sc-score-digit.is-rolling > .sc-score-old { animation: sc-digit-out 720ms cubic-bezier(.65,0,.25,1) both; }
.sc-score-digit.is-rolling > .sc-score-new { animation: sc-digit-in 720ms cubic-bezier(.65,0,.25,1) both; }
.sc-scoreboard.is-live-goal .sc-score-center > strong { animation: none; background: transparent; box-shadow: none; }
.sc-score-digit.is-rolling { color: #fff; }
@keyframes sc-digit-out { from { transform: translateY(0); } to { transform: translateY(-110%); } }
@keyframes sc-digit-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .sc-score-digit.is-rolling > .sc-score-old { display: none; animation: none; }
  .sc-score-digit.is-rolling > .sc-score-new { animation: none; }
}

.sc-scoreboard .sc-score-center > .sc-goal-announcement { display: block; height: 20px; margin-top: 6px; line-height: 20px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #81b5ff; }
.sc-goal-announcement.is-blinking { animation: sc-goal-blink 1s ease-in-out 4; }
@keyframes sc-goal-blink { 0%, 100% { opacity: 1; } 50% { opacity: .22; } }
@media (prefers-reduced-motion: reduce) { .sc-goal-announcement.is-blinking { animation: none; } }

/* Denser result editor: compact score controls and a single row of save actions. */
.result-entry-page .modal-title { font-size: 22px; letter-spacing: -.4px; }
.result-entry-page .modal-header { padding-bottom: 16px; }
.result-entry-page .modal-header > div:first-child { gap: 10px; }
.result-entry-page .modal-body { padding-top: 16px; }
.result-entry-page .result-section-title { font-size: 14px; margin-bottom: 10px; }
.result-entry-page .result-score-hint { display: none; }
.result-entry-page .score-card { padding: 12px; gap: 10px; }
.result-entry-page .score-stepper-value { font-size: 34px; min-width: 44px; }
.result-entry-page .event-row { padding: 7px; gap: 6px; }
.result-entry-page .result-grid { gap: 12px; }
.result-entry-page .modal-footer { padding: 10px 0; }
@media (max-width: 720px) {
  .result-entry-page .modal-title { font-size: 20px; }
  .result-entry-page .modal-header { padding-bottom: 14px; }
  .result-entry-page .modal-body { padding: 14px 0; }
  .result-entry-page .score-board { grid-template-columns: minmax(0,1fr) 10px minmax(0,1fr); gap: 6px; }
  .result-entry-page .score-card { padding: 10px 6px; gap: 10px; }
  .result-entry-page .score-card-team { flex-direction: row; gap: 6px; }
  .result-entry-page .score-card-team > :first-child { width: 24px !important; height: 24px !important; flex-basis: 24px; font-size: 20px !important; }
  .result-entry-page .score-card-name { font-size: 11px; line-height: 1.3; }
  .result-entry-page .score-stepper { display: grid; width: 100%; grid-template-columns: 34px minmax(0,1fr) 34px; align-items: center; gap: 4px; }
  .result-entry-page .score-stepper-value { grid-column: 2; grid-row: 1; font-size: 30px; min-width: 0; line-height: 1.15; }
  .result-entry-page .score-stepper .score-stepper-btn { grid-row: 1; width: 34px; height: 36px; min-height: 36px; font-size: 22px; border-radius: 6px; }
  .result-entry-page .score-stepper .score-stepper-btn:first-child { grid-column: 1; }
  .result-entry-page .score-stepper .score-stepper-btn.is-add { grid-column: 3; }
  .result-team-tabs { margin-top: 14px; padding: 3px; }
  .result-team-tabs button { min-height: 36px; padding: 6px; font-size: 11px; }
  .result-entry-page .result-grid .result-panel { padding: 8px; }
  .result-entry-page .event-row { padding: 6px; grid-template-columns: 15px minmax(0,1fr) 30px 28px; gap: 5px; }
  .result-entry-page .event-row .player-picker { min-height: 36px; padding: 6px; font-size: 12px; }
  .result-entry-page .og-toggle { width: 30px; height: 36px; }
  .result-entry-page .event-row .event-remove { width: 28px; height: 36px; min-height: 36px; }
  .result-entry-page .result-section + .result-section { margin-top: 16px; }
  .result-entry-page .card-type-opt { min-height: 30px; padding: 5px; }
  .result-entry-page .result-add-btn { min-height: 36px; margin-top: 8px; font-size: 12px; }
  .result-entry-page .modal-footer { grid-template-columns: auto minmax(0,1fr) minmax(0,1fr); gap: 6px !important; padding: 8px 0; }
  .result-entry-page .modal-footer .btn { min-height: 40px; font-size: 11px; padding: 7px 6px; }
  .result-entry-page .modal-footer > .btn-ghost { grid-column: 1; grid-row: 1; min-height: 40px; padding: 7px 4px; }
}

.result-event-tabs { display: flex; gap: 18px; margin: 12px 0 10px; border-bottom: 1px solid #303030; }
.result-event-tabs button { min-height: 34px; padding: 5px 0; color: #999; font-size: 12px; border-bottom: 2px solid transparent; }
.result-event-tabs button[aria-pressed="true"] { color: #81b5ff; border-bottom-color: #5798ff; }
.result-entry-page[data-event="goals"] .result-cards-section { display: none; }
.result-entry-page[data-event="cards"] .result-section:has(> .score-board) > .result-grid { display: none; }
.result-entry-page .result-cards-section > .result-section-title { display: none; }
.result-entry-page .result-cards-section { margin-top: 0 !important; }
@media (max-width: 720px) {
  .result-entry-page .modal-header > div:first-child { flex-wrap: nowrap; gap: 8px; }
  .result-entry-page .modal-title { font-size: 18px; white-space: nowrap; }
  .result-entry-page .result-entry-back { order: 0; width: auto; margin-left: auto; font-size: 10px; white-space: nowrap; }
  .result-entry-page .modal-header { padding-bottom: 10px; }
  .result-entry-page .modal-body { padding-top: 10px; }
  .result-entry-page .result-section:has(> .score-board) > .result-section-title { display: none; }
  .result-entry-page .result-team-tabs { margin-top: 10px; }
  .result-entry-page .result-event-list { max-height: min(220px, 32dvh); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 720px) {
  .result-entry-page .event-row:has(.card-type-toggle) { grid-template-columns: minmax(0,1fr) 58px 28px; }
  .result-entry-page .event-row:has(.card-type-toggle) .card-type-toggle { grid-column: 2; grid-row: 1; grid-template-columns: 1fr 1fr; gap: 2px; }
  .result-entry-page .event-row:has(.card-type-toggle) .event-remove { grid-column: 3; grid-row: 1; }
  .result-entry-page .event-row:has(.card-type-toggle) .card-type-opt { padding: 4px; min-height: 32px; font-size: 0; gap: 0; }
}

/* Dedicated full-screen editor: app navigation gives way to the result task. */
.result-entry-page {
  position: fixed; inset: 0; z-index: 100; width: 100%; max-width: none;
  height: 100dvh; margin: 0; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: #080808; overflow: hidden; box-sizing: border-box;
}
.result-entry-page .result-entry-content { display: flex; flex-direction: column; height: 100%; max-width: 960px; margin: auto; min-height: 0; }
.result-entry-page .modal-header { flex: 0 0 auto; padding: 0 0 12px; }
.result-entry-page .modal-header > div:first-child { flex-wrap: nowrap; gap: 12px; }
.result-entry-page .modal-title { font-size: 20px; white-space: nowrap; }
.result-entry-page .result-entry-back { order: 0; width: auto; margin-left: auto; font-size: 12px; white-space: nowrap; }
.result-entry-page .result-entry-context { display: none; }
.result-entry-page form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.result-entry-page .modal-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 12px 0 8px; overflow: hidden; }
.result-entry-page .result-section:has(> .score-board) { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.result-entry-page .result-section:has(> .score-board) > .result-section-title { display: none; }
.result-entry-page .score-board, .result-entry-page .result-team-tabs, .result-entry-page .result-event-tabs { flex: 0 0 auto; }
.result-entry-page .result-grid { flex: 1; min-height: 0; margin: 0; }
.result-entry-page .result-grid .result-panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.result-entry-page .result-event-list { flex: 1; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; margin: 0; }
.result-entry-page .result-cards-section { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.result-entry-page[data-event="goals"] .result-cards-section { display: none; }
.result-entry-page[data-event="cards"] .result-section:has(> .score-board) { flex: 0 0 auto; }
.result-entry-page .result-add-btn { flex: 0 0 auto; }
.result-entry-page .result-walkover { flex: 0 0 auto; margin-top: 8px !important; padding-top: 6px; }
.result-entry-page .result-walkover summary { padding: 4px 0; font-size: 11px; }
.result-entry-page .result-walkover[open] { max-height: 35dvh; overflow-y: auto; }
.result-entry-page .modal-footer { position: static; flex: 0 0 auto; display: grid !important; grid-template-columns: 1fr 1fr; padding: 10px 0 0; gap: 8px !important; }
.result-entry-page .modal-footer > .btn-ghost { display: none; }
.result-entry-page .modal-footer .btn { min-height: 42px; margin: 0; font-size: 13px; }
.result-entry-page .susp-notice { flex: 0 0 auto; max-height: 70px; overflow: auto; margin-bottom: 8px; }
@media (max-width: 720px) {
  .result-entry-page .modal-title { font-size: 18px; }
  .result-entry-page .score-card { padding: 10px 6px; }
  .result-entry-page .result-team-tabs { margin-top: 10px; }
  .result-entry-page .result-event-tabs { margin-top: 8px; margin-bottom: 8px; }
  .result-entry-page .result-event-list { max-height: none; }
}
body:has(.result-entry-page) { overflow: hidden; }
html:has(.result-entry-page) { overflow: hidden; }
/* The fixed editor owns scrolling; the document behind it must not add a bar. */
body:has(.result-entry-page) #root { height: 100dvh; min-height: 0; overflow: hidden; }
body:has(.result-entry-page) #root > footer { display: none; }
body:has(.result-entry-page) .header,
body:has(.result-entry-page) .header-mobile-nav { display: none !important; }
@media (max-width: 720px) {
  .result-entry-page[data-team="home"] .result-grid .result-panel-away,
  .result-entry-page[data-team="away"] .result-grid .result-panel-home { display: none; }
}

.sc-page-heading { flex-wrap: wrap; gap: 12px; }
.sc-create-match { margin-left: auto; min-height: 40px; padding: 9px 13px; font-size: 13px; gap: 7px; }
.sc-create-match > span { font-size: 20px; line-height: 1; }
.matches-page.is-creating-match > :not(iesjb-score-center):not(.modal-backdrop):not(.result-entry-page) { display: none !important; }
.matches-page.is-creating-match > iesjb-score-center { display: block; }
.matches-page.is-embedded-management { display: contents; }
.matches-page.is-creating-match .modal-backdrop { z-index: 300; }
.matches-page.is-creating-match .modal { max-height: calc(100dvh - 24px); }
.sc-create-match > svg { width: 17px; height: 17px; flex: 0 0 17px; stroke-width: 1.8; }

.sc-admin-menu { position: relative; flex: 0 0 30px; align-self: stretch; }
.sc-admin-menu > summary { display: flex; height: 100%; min-height: 44px; align-items: center; justify-content: center; cursor: pointer; list-style: none; color: #aaa; }
.sc-admin-menu > summary::-webkit-details-marker { display: none; }
.sc-admin-menu[open] > summary { color: #fff; }
.sc-admin-menu-items { position: absolute; top: calc(100% - 4px); right: 0; z-index: 40; width: 200px; padding: 5px; border: 1px solid #3a3a3a; border-radius: 8px; background: #191919; box-shadow: 0 8px 24px #0008; }
.sc-admin-menu-items a { display: flex; gap: 9px; align-items: center; min-height: 42px; padding: 8px 10px; color: #ddd; border-radius: 5px; font-size: 12px; }
.sc-admin-menu-items a:hover { background: #2a2a2a; }
.sc-admin-menu-items a.is-danger { color: #fb8189; }
.sc-admin-menu-items svg { width: 16px; height: 16px; flex-shrink: 0; }
.sc-league:has(.sc-admin-menu[open]) { overflow: visible; }
.sc-match-main { grid-template-columns: 76px minmax(0,1fr) 28px; }
.sc-match-time > span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; overflow: visible; }
.sc-score-center > .sc-live-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.sc-scoreboard .sc-score-center > .sc-aggregate-score { display: block; margin: 0 0 3px; color: #939393; font-family: var(--font-data); font-size: 13px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 720px) { .sc-scoreboard .sc-score-center > .sc-aggregate-score { font-size: 11px; } }
.sc-live-line { display: inline-block; flex: 0 0 9px; width: 9px; height: 2px; border-radius: 2px; background: #81b5ff; box-shadow: 0 0 6px #559bff70; animation: sc-live-pulse 1.5s ease-in-out infinite; }
.live-line { color: #81b5ff !important; background: #81b5ff !important; }
.live-line::before,.live-line::after { background: #81b5ff !important; }
.sc-row-goal { color: #81b5ff; font-size: 10px; animation: sc-goal-blink 1s ease-in-out 4; }
.sc-row-scores .sc-score-digit { display: inline-block; position: relative; height: 1.2em; min-width: .75em; overflow: hidden; vertical-align: middle; }
.sc-row-scores .sc-score-digit > i { display: block; font-style: normal; line-height: 1.2; }
.sc-row-scores .sc-score-old { position: absolute; inset: 0; }
@keyframes sc-live-pulse { 50% { opacity: .35; } }
@media (max-width: 720px) {
  .sc-match-main { grid-template-columns: 66px minmax(0,1fr) 24px; gap: 8px; }
  .sc-match-time { padding-right: 6px; }
  .sc-match-time > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .sc-live-line { animation: none; } }

/* Phones keep native touch scrolling without visible scrollbar tracks. */
@media (max-width: 767px) {
  html, body, body * { scrollbar-width: none !important; }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  body *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
}

/* Result entry: keep the score close to the action and leave room for the roster. */
.result-entry-page .result-entry-content { max-width: 920px; }
.result-entry-page .modal-title { font-size: 19px; font-weight: 700; }
.result-entry-page .result-entry-back { min-height: 36px; padding: 6px 10px; border-radius: 6px; color: #b5b5b5; }
.result-entry-page .result-entry-back:hover { background: #202020; color: #fff; }
.result-entry-page .score-card { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: #141414; border-color: #303030; }
.result-entry-page .score-card-team { flex-direction: row; gap: 10px; min-width: 0; text-align: left; }
.result-entry-page .score-card-team > :first-child { width: 30px !important; height: 30px !important; flex: 0 0 30px; font-size: 26px !important; }
.result-entry-page .score-card-name { font-size: 14px; line-height: 1.3; }
.result-entry-page .score-stepper { flex: 0 0 auto; gap: 9px; }
.result-entry-page .score-stepper-value { font-size: 30px; min-width: 30px; font-variant-numeric: tabular-nums; }
.result-entry-page .score-stepper-btn { width: 40px; height: 40px; min-height: 40px; border-radius: 7px; }
.result-entry-page .score-stepper-btn:disabled { opacity: .3; }
.result-entry-page .result-event-tabs { gap: 22px; margin: 14px 0 0; }
.result-entry-page .result-event-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 13px; }
.result-tab-count { min-width: 20px; padding: 2px 5px; border-radius: 5px; background: #252525; color: #b5b5b5; font-size: 11px; line-height: 16px; text-align: center; }
.result-event-tabs [aria-pressed="true"] .result-tab-count { color: #b5d1ff; background: #253653; }
.result-entry-guidance { flex: 0 0 auto; margin: 9px 0 12px; color: #999; font-size: 12px; line-height: 1.4; }
.result-entry-page .result-grid { gap: 16px; }
.result-entry-page .result-grid .result-panel { padding: 12px; background: #101010; border-color: #252525; border-radius: 9px; }
.result-entry-page .result-panel-title { margin-bottom: 8px; padding-bottom: 10px; font-size: 13px; border-bottom-color: #262626; }
.result-entry-page .result-event-list { flex: 0 1 auto; padding: 0; gap: 4px; overflow-y: auto; scrollbar-gutter: auto; }
.result-entry-page .result-event-list > .event-row { flex-shrink: 0; }
.result-entry-page .result-panel-title,
.result-entry-page .result-panel-empty { flex-shrink: 0; }
.result-entry-page .event-row { padding: 7px 0; background: transparent; border: 0; border-bottom: 1px solid #252525; border-radius: 0; gap: 7px; }
.result-entry-page .event-row .player-picker { min-height: 40px; background: #191919; border-color: #363636; font-size: 12px; }
.result-entry-page .event-row .event-remove { width: 32px; min-height: 40px; border-color: transparent; color: #999; }
.result-entry-page .event-remove:hover { background: #302020; color: #ff9292; }
.result-entry-page .og-toggle { width: auto; min-width: 52px; height: 40px; font-size: 10px; border-color: #363636; }
.result-own-short { display: none; }
.result-own-full { display: inline; }
.result-entry-page .result-add-btn { align-self: stretch; min-height: 40px; margin-top: 10px; border: 1px dashed #3e3e3e; background: #171717; color: #a8caff; font-size: 12px; border-radius: 6px; }
.result-entry-page .result-add-btn:hover { border-color: #699be5; background: #1d2737; }
.result-entry-page .result-panel-empty { flex: 0 0 auto; padding: 16px 4px; font-size: 12px; color: #888; }
.result-entry-page .card-type-opt.is-yellow svg { color: #f2c94c; }
.result-entry-page .card-type-opt.is-red svg { color: #f26b70; }
.result-entry-page .result-walkover { border-top: 1px solid #252525; }
.result-entry-page .modal-footer { border-top: 1px solid #303030; }
.result-entry-page .modal-footer .btn { min-height: 44px; border-radius: 7px; }
.result-entry-page button:focus-visible { outline: 2px solid #a8caff; outline-offset: 2px; }
@media (min-width: 721px) {
  .result-entry-page .event-row:not(:has(.card-type-toggle)) { grid-template-columns: 18px minmax(0,1fr) 52px 32px; }
}
@media (max-width: 720px) {
  .result-entry-page .modal-header { padding-bottom: 6px; }
  .result-entry-page .modal-title { font-size: 17px; }
  .result-entry-page .result-entry-back { font-size: 12px; padding-right: 0; }
  .result-entry-page .modal-body { padding-top: 8px; }
  .result-entry-page .score-card { flex-direction: column; gap: 8px; padding: 10px 7px; }
  .result-entry-page .score-card-team { gap: 6px; }
  .result-entry-page .score-card-name { font-size: 12px; }
  .result-entry-page .score-card-team > :first-child { width: 22px !important; height: 22px !important; flex-basis: 22px; font-size: 20px !important; }
  .result-entry-page .score-stepper { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 4px; }
  .result-entry-page .score-stepper .score-stepper-btn { width: 36px; height: 38px; min-height: 38px; }
  .result-entry-page .score-stepper-value { min-width: 0; font-size: 29px; }
  .result-entry-page .result-team-tabs { margin-top: 8px; background: #181818; border: 1px solid #303030; }
  .result-entry-page .result-team-tabs button { font-size: 12px; min-height: 36px; }
  .result-entry-page .result-team-tabs button[aria-pressed="true"] { background: #293b58; color: #dceaff; box-shadow: none; }
  .result-entry-page .result-event-tabs { margin-top: 4px; }
  .result-entry-page .result-event-tabs button { min-height: 36px; }
  .result-entry-guidance { margin: 7px 0 9px; font-size: 11px; }
  .result-entry-page .result-grid .result-panel { padding: 5px 8px 8px; }
  .result-entry-page .event-row { gap: 5px; }
  .result-entry-page .og-toggle { width: 30px; min-width: 30px; }
  .result-own-short { display: inline; }
  .result-own-full { display: none; }
  .result-entry-page .event-row .event-remove { width: 28px; }
  .result-entry-page .event-row:has(.card-type-toggle) { grid-template-columns: minmax(0,1fr) 74px 28px; }
  .result-entry-page .event-row:has(.card-type-toggle) .card-type-opt { min-height: 40px; }
  .result-entry-page .result-add-btn { min-height: 38px; margin-top: 8px; }
  .result-entry-page .result-walkover { margin-top: 6px !important; padding-top: 4px; }
}
@media (max-height: 600px) and (max-width: 720px) {
  .result-entry-page .score-card { padding: 7px 6px; gap: 5px; }
  .result-entry-guidance { margin: 5px 0 6px; }
  .result-entry-page .modal-footer { padding-top: 7px; }
}
