/*
 * Featured Matches (port-only, sport-book specs/009 A) -- not in the reference
 * stylesheet. Colours go through the admin theme's role variables
 * (`var(--tc-<hex>, <default>)`, see src/lib/theme/) so a re-themed site
 * re-colours this section too: brand #016a34, panels #ffffff, text #333333,
 * background #e6e6e6. Card geometry is fixed (no layout shift while loading);
 * FeaturedMatches.tsx's CARD_STEP must equal card width + gap.
 */
.fm-section{position:relative;margin-bottom:10px}
.fm-scroller{position:relative}
.fm-list{display:flex;gap:12px;margin:0;padding:6px 2px 10px;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:2px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.fm-card{flex:0 0 300px;height:168px;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box;padding:10px 12px;border-radius:6px;background:var(--tc-ffffff,#fff);color:var(--tc-333333,#333);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.fm-card-body{cursor:pointer;min-width:0;outline:none}
.fm-card-body:focus-visible{box-shadow:0 0 0 2px var(--tc-016a34,#016a34);border-radius:4px}
.fm-league{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:13px;font-weight:bold;color:var(--tc-016a34,#016a34);white-space:nowrap;overflow:hidden}
.fm-league span{overflow:hidden;text-overflow:ellipsis}
.fm-sport-icon{flex:0 0 auto;font-size:14px;line-height:1}
.fm-team{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:14px;white-space:nowrap;overflow:hidden}
.fm-team span{overflow:hidden;text-overflow:ellipsis}
.fm-team-logo{width:20px;height:20px;flex:0 0 20px;object-fit:contain}
.fm-team-initials{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px;font-weight:bold;background:var(--tc-e6e6e6,#e6e6e6);color:var(--tc-333333,#333)}
.fm-start{margin:6px 0 0;font-size:12px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-odds{display:flex;gap:4px}
.fm-odd,.fm-more{flex:1 1 0;min-width:0;height:34px;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 8px;border:0;border-radius:4px;font:inherit;font-size:13px;cursor:pointer;background:var(--tc-e6e6e6,#e6e6e6);color:var(--tc-333333,#333)}
.fm-odd-value{font-weight:bold}
.fm-odd:hover:not(:disabled),.fm-more:hover{filter:brightness(.95)}
.fm-odd.active{background:var(--tc-016a34,#016a34);color:var(--tc-ffffff,#fff)}
.fm-odd:disabled{cursor:not-allowed;opacity:.5}
.fm-odd:focus-visible,.fm-more:focus-visible,.fm-arrow:focus-visible{outline:2px solid var(--tc-016a34,#016a34);outline-offset:1px}
.fm-more{flex:0 0 auto;justify-content:center;text-decoration:underline}
.fm-arrow{position:absolute;top:50%;z-index:2;width:28px;height:28px;margin-top:-14px;border:0;border-radius:50%;font-size:20px;line-height:26px;cursor:pointer;background:var(--tc-ffffff,#fff);color:var(--tc-333333,#333);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.fm-arrow:disabled{display:none}
.fm-prev{left:-6px}
.fm-next{right:-6px}
@media (max-width:1139px){
  .fm-card{flex-basis:78vw;max-width:300px}
  .fm-arrow{display:none}
}
