/* Football inherits R's approved basketball shell; only its content is scoped here. */
.fb-u19{border-top:1px solid var(--line);margin-top:8px}.fb-u19>summary,.fb-u19-match>summary{padding:10px 14px;cursor:pointer;color:var(--ink)}.fb-u19-match{border-top:1px solid var(--line)}.fb-u19 .fb-meta{white-space:normal;line-height:1.6}.fb-u19 .fb-table td{font-size:14px;padding:8px}.fb-u19 .fb-table small{font-size:12px;color:var(--muted)}
.football main{height:100vh;display:flex;flex-direction:column}.football #app{display:flex;flex-direction:column;flex:1;min-height:0}.football .basket-layout{align-items:stretch}.football #fb-detail{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.football .queue{min-height:0}.football .panel{margin-bottom:0}.fb-content{flex:1;min-height:0;display:flex;flex-direction:column}.football #fb-content{overflow:auto;min-height:0;flex:1}.fb-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100%}.fb-team{min-width:0}.fb-team+ .fb-team{border-left:1px solid var(--line)}.fb-team-head{display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--surface-raised);flex-wrap:wrap}.fb-team-head h3{font-size:22px}.fb-team-head a{font-size:14px}.fb-meta{padding:8px 14px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line)}.fb-table{overflow:auto}.fb-table table{width:100%}.fb-table th,.fb-table td{padding:10px 12px;text-align:right;font-size:16px}.fb-table th{font-size:13px}.fb-table td:first-child,.fb-table th:first-child{text-align:left}.fb-table td:first-child{min-width:140px}.fb-table td{white-space:nowrap}.fb-table .appearance{width:auto;min-width:25px;padding:1px 5px;font-size:15px}.fb-player{font-weight:600;border-bottom:1px dotted var(--muted);cursor:help}.fb-profile{display:none;position:fixed;bottom:25px;right:30px;z-index:80;max-width:420px;max-height:45vh;overflow:auto;white-space:pre-wrap;padding:18px;background:var(--surface-raised);border:1px solid var(--accent);border-radius:8px;box-shadow:0 8px 30px #0007;font-size:15px;font-weight:400}.fb-player:hover .fb-profile,.fb-player:focus-within .fb-profile{display:block}.fb-profile a{display:block}.fb-availability{display:inline-block;color:#ffd18a;background:#473921;margin-left:6px;padding:0 4px;border-radius:3px}.fb-context{display:flex;gap:12px 25px;flex-wrap:wrap;padding:16px;border-bottom:1px solid var(--line);color:var(--muted)}.fb-context b{color:var(--ink);font-weight:500}.fb-article{padding:16px;border-bottom:1px solid var(--line)}.fb-article p{white-space:pre-wrap;margin:8px 0}.football #fb-error{color:#ff9c9c;font-size:13px}.football .lineup-added td{background:#203e35}.football .lineup-removed td{background:#463622}.football .lineup-added td:first-child{border-left:4px solid #77d5ae}.football .lineup-removed td:first-child{border-left:4px solid #e9b55d}
@media(min-width:2300px){.fb-table td{font-size:20px;padding:12px 16px}.fb-table th{font-size:16px}.fb-team-head h3{font-size:26px}.fb-meta{font-size:16px}}
@media(max-width:1400px){.fb-table th,.fb-table td{padding:7px 6px;font-size:13px}}
@media(max-width:760px){.football main{height:auto;min-height:100vh}.football #fb-detail{min-height:650px}.fb-profile{left:12px;right:12px;bottom:70px}}

@media(max-width:760px){.fb-teams{grid-template-columns:1fr}.fb-team+.fb-team{border-left:0;border-top:1px solid var(--line)}}

/* Approved flat four-column market strip, football only. */
.football .match-analysis-top{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:8px 18px}
.football .matchbar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 24px;padding:0 0 7px;min-width:0;border-bottom:1px solid var(--line)}
.football .match-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;max-width:none;min-width:0}
.football .match-title h2{margin:0}.football .match-title small{margin:0}
.football .expected-scores{display:flex;align-items:center;flex-wrap:wrap;gap:14px;border-left:1px solid var(--line);padding-left:22px}
.football .expected-heading{display:block;flex-basis:auto}
.football .expected-field{grid-template-columns:max-content max-content;position:relative;row-gap:2px}
.football .expected-field input{padding-top:3px;padding-bottom:3px;min-height:0}
.football .expected-field .source{font-size:11px;line-height:1.2;min-height:0}
.football .markets{flex:0 0 auto;min-width:0;border:0;padding:8px 0 0;container:market-layout / inline-size}
.football .fb-market-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.football .fb-market-grid .market-group{display:flex;flex-direction:column;border:0;border-radius:0;padding:0 18px;gap:5px;background:none;min-width:0}
.football .fb-market-grid .market-group:first-child{padding-left:0}
.football .fb-market-grid .market-group:last-child{padding-right:0}
.football .fb-market-grid .market-group+.market-group{border-left:1px solid var(--line)}
.football .fb-market-grid .market-heading{display:flex;align-items:baseline;flex-wrap:wrap;padding:0;gap:3px 10px;background:none}
.football .fb-market-grid h3{color:var(--ink);font-size:22px;display:flex;align-items:center;gap:8px}
.football .fb-market-grid h3::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}
.football .fb-market-grid .fb-corner-market h3::before{background:#edbf70}
.football .fb-market-grid .market-received{font-size:11px}
.football .fb-market-grid .market-lines{display:grid;grid-template-columns:1fr;flex-basis:100%;gap:3px;padding-top:0;font-size:15px;line-height:1.25}
.football .fb-market-grid .market-quote{display:grid;grid-template-columns:2em minmax(55px,.6fr) minmax(0,1fr);align-items:baseline;gap:8px;width:100%}
.football .fb-market-grid .market-quote>b{font-size:24px;white-space:nowrap}
.football .fb-market-grid .market-quote-water{font-size:14px;white-space:normal;line-height:1.5}
.football .fb-market-grid .market-directions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;border-top:1px solid var(--line);padding-top:5px;margin-top:auto}
.football .fb-market-grid .market-direction{padding:0;min-width:0;background:none;border:0;border-radius:0;box-shadow:none}
.football .fb-market-grid .market-ev{display:flex;flex-direction:row;align-items:baseline;gap:6px;flex-wrap:nowrap}
.football .fb-market-grid .market-ev span{font-size:16px;white-space:nowrap}
.football .fb-market-grid .market-ev strong{font-size:22px;white-space:nowrap}
@media(min-width:2300px){.football .fb-market-grid h3{font-size:28px}.football .fb-market-grid .market-lines{font-size:20px;gap:3px}.football .fb-market-grid .market-quote>b{font-size:30px}.football .fb-market-grid .market-quote-water{font-size:18px}.football .fb-market-grid .market-ev span{font-size:22px}.football .fb-market-grid .market-ev strong{font-size:28px}.football .fb-market-grid .market-received{font-size:14px}}
@media(max-width:1550px){.football .fb-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}.football .fb-market-grid .market-group:nth-child(odd){border-left:0;padding-left:0}.football .fb-market-grid .market-group:nth-child(even){padding-right:0}.football .fb-market-grid .market-group:nth-child(n+3){padding-top:14px;border-top:1px solid var(--line)}}
@media(max-width:760px){.football .fb-market-grid{grid-template-columns:1fr}.football .fb-market-grid .market-group{padding:12px 0!important;border:0!important}.football .fb-market-grid .market-group+.market-group{border-top:1px solid var(--line)!important}.football .expected-scores{border:0;padding:0}}

.football .corner-expected input{color:#edbf70}.football .corner-expected .source{color:#edbf70}
/* Approved compact density: retain initial/current prices and both waters. */
@media(max-width:1750px){
 .football .match-analysis-top{padding:8px 12px;gap:7px}
 .football .fb-market-grid{gap:8px}
 .football .fb-market-grid .market-group{padding-top:6px;padding-bottom:6px}
 .football .fb-market-grid .market-heading{gap:4px;margin-bottom:3px}
 .football .fb-market-grid h3{font-size:20px}
 .football .fb-market-grid .market-lines{gap:2px;font-size:14px}
 .football .fb-market-grid .market-quote-water{font-size:13px;line-height:1.25}
 .football .fb-market-grid .market-directions{padding-top:4px;margin-top:2px}
 .football .fb-market-grid .market-ev{font-size:16px}
 .football .matchbar{gap:8px}.football .expected-field .source{font-size:11px}
}

@media(min-width:761px) and (max-width:1550px){.football .fb-market-grid .market-group:nth-child(n+3){padding-top:6px}.football .fb-market-grid .market-ev strong{font-size:20px}}

.football .fb-u19-information h3{font-size:15px;margin:12px 10px 6px}.football .fb-u19-background th{min-width:150px;text-align:left}.football .fb-u19-information .fb-u19{margin:8px}.football .fb-u19-information td{white-space:normal}.football .fb-u19-information small{color:var(--muted)}

.football .fb-u19-background td{text-align:left;white-space:normal;line-height:1.6}.football .fb-u19-background th{white-space:normal}
