/* iGamingWin / Layout 5 — vitrines do segundo modelo (PC e celular).
   O tema do cassino NÃO colore cards, campeonatos ou provedores.
   ÚNICA exceção intencional: .iw-floating-ticket. */
body.l5.iw-igaming-enabled{
 --iw-black:#111315;--iw-card:#22272d;--iw-card2:#2e3948;
 --iw-bar:#303c4c;--iw-outline:#384350;--iw-muted:#a1adbd;
 --iw-text:#f5f7fa;--iw-hover:#414d5b;
}
body.l5.iw-igaming-enabled .iw-sports,
body.l5.iw-igaming-enabled .iw-home{color:var(--iw-text);font-family:Inter,system-ui,-apple-system,sans-serif;min-width:0}
body.l5.iw-igaming-enabled :is(.iw-sports,.iw-home) *,body.l5.iw-igaming-enabled .iw-betslip *{box-sizing:border-box}
body.l5.iw-igaming-enabled :is(.iw-sports,.iw-home,.iw-betslip) :is(a,button){text-decoration:none;font-family:inherit;cursor:pointer}
body.l5.iw-igaming-enabled :is(.iw-sports,.iw-home,.iw-betslip) a{color:inherit}
body.l5.iw-igaming-enabled :is(.iw-sports,.iw-home,.iw-betslip) :is(button,a):focus-visible{outline:2px solid #e3e8f1;outline-offset:3px}
body.l5.iw-igaming-enabled .iw-disclaimer{font-size:11px;color:#b4bfcc;background:#1d242b;border:1px solid #35404d;padding:10px 12px;border-radius:7px;line-height:1.5;margin:15px 0 12px}
/* Próximos jogos: mesmos cards na home, sempre cinza/preto. */
body.l5.iw-igaming-enabled .iw-home-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 12px}
body.l5.iw-igaming-enabled .iw-home-heading strong{font-size:17px;color:#fff}
body.l5.iw-igaming-enabled .iw-home-heading>span{font-size:11px;color:var(--iw-muted)}
body.l5.iw-igaming-enabled .iw-home-heading>a{margin-left:auto;font-size:11px;font-weight:800;color:#bbc7d6}
body.l5.iw-igaming-enabled .iw-home-cards{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 1px 12px;scrollbar-color:#445061 transparent;scrollbar-width:thin}
body.l5.iw-igaming-enabled .iw-home-cards>.iw-match{flex:0 0 clamp(245px,25vw,320px);scroll-snap-align:start}
body.l5.iw-igaming-enabled .iw-champ-heading{margin-top:19px}
body.l5.iw-igaming-enabled .iw-champ-track{display:flex;gap:9px;overflow:auto;padding:1px 1px 10px;scrollbar-color:#445061 transparent;scrollbar-width:thin}
body.l5.iw-igaming-enabled .iw-champ{display:flex;flex:0 0 150px;min-height:102px;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:#22272d!important;border:1px solid #3a4551!important;border-radius:12px;padding:12px 8px;text-align:center;transition:background .15s}
body.l5.iw-igaming-enabled .iw-champ:hover{background:#303942!important;border-color:#5d6a77!important}
body.l5.iw-igaming-enabled .iw-champ>span{font-size:28px;line-height:1.2}
body.l5.iw-igaming-enabled .iw-champ>b{color:#f3f5fa;font-size:12px;line-height:1.2}
body.l5.iw-igaming-enabled .iw-champ>small{color:#aebac8;font-size:10px}
/* Cards de cassino que continuam fora de .iw-home; não herdam o tema */
body.l5.iw-igaming-enabled .l5-providers-section .l5-provider-card,
body.l5.iw-igaming-enabled .l5-provider-line .l5-provider-card,
body.l5.iw-igaming-enabled .l5-league-track .l5-league,
body.l5.iw-igaming-enabled .l5-sport-competition,
body.l5.iw-igaming-enabled .gh-league-card,
body.l5.iw-igaming-enabled .gh-fixture,
body.l5.iw-igaming-enabled .l5-sports-provider-card{
 background:#22272d!important;
 border-color:#3a4551!important;
 color:#f3f5fa!important;
 box-shadow:none!important;
}
body.l5.iw-igaming-enabled .l5-providers-section .l5-provider-card:hover,
body.l5.iw-igaming-enabled .l5-league-track .l5-league:hover,
body.l5.iw-igaming-enabled .gh-league-card:hover,
body.l5.iw-igaming-enabled .gh-fixture:hover{background:#303942!important;border-color:#5d6a77!important}
body.l5.iw-igaming-enabled .l5-providers-section .l5-provider-card>small,
body.l5.iw-igaming-enabled .l5-providers-section .l5-provider-card>b,
body.l5.iw-igaming-enabled .l5-league-track .l5-league :is(b,small){color:#c3cbd7!important}
body.l5.iw-igaming-enabled .gh-fixture :is(.gh-fixture-head,.gh-fixture-status,.gh-fixture-link,.gh-fixture-league){background:#2e3948!important;border-color:#465363!important;color:#e2e7ef!important}
body.l5.iw-igaming-enabled .gh-fixture .gh-odd{background:#344151!important;border-color:#465363!important;color:#fff!important}
/* Página Esportes/Ao Vivo. Cabeçalho global e depósitos continuam intocados. */
body.l5.iw-igaming-sports .l5-frame{grid-template-columns:var(--l5-side) minmax(0,1fr) 286px}
body.l5.iw-igaming-sports .l5-sports-content{padding:0 13px 34px!important;background:#111315;min-width:0}
body.l5.iw-igaming-sports .iw-sports{width:100%;padding:0 0 24px}
body.l5.iw-igaming-enabled .iw-navbar{height:56px;display:flex;align-items:center;gap:10px;padding:3px 7px;background:#303c4c;border-bottom:1px solid #3f4b59;margin:0 -13px 0;min-width:0}
body.l5.iw-igaming-enabled .iw-navbar :is(a,button){background:transparent;border:0;color:#aab5c3;font-weight:800;flex-shrink:0}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-home{font-size:25px;padding:2px 6px}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-live{border:1px solid #778898;border-radius:3px;font-size:8px;padding:2px 5px;white-space:nowrap}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-live.is-on{background:#b93c54;border-color:#b93c54;color:#fff}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-fave{font-size:29px;font-weight:400;line-height:1}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-ticket{font-size:26px;line-height:1}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-divider{height:28px;border-left:1px solid #65717e}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-sports{flex:1;min-width:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
body.l5.iw-igaming-enabled .iw-navbar .iw-navbar-sports::-webkit-scrollbar{display:none}
body.l5.iw-igaming-enabled .iw-navbar .iw-sport-icon{display:grid;place-items:center;min-width:39px;width:39px;height:42px;padding:0;border-radius:22px;font-size:21px;opacity:.73;filter:grayscale(.75)}
body.l5.iw-igaming-enabled .iw-navbar .iw-sport-icon.active,
body.l5.iw-igaming-enabled .iw-navbar .iw-sport-icon:hover{opacity:1;filter:none;background:#263441;color:#fff}
body.l5.iw-igaming-enabled .iw-navbar .iw-search-toggle{font-size:27px;height:40px;min-width:30px}
body.l5.iw-igaming-enabled .iw-search-row{display:flex;align-items:center;gap:9px;background:#26313d;padding:9px 12px;margin:0 -13px}
body.l5.iw-igaming-enabled .iw-search-row[hidden]{display:none}
body.l5.iw-igaming-enabled .iw-search-row label{font-size:11px;color:#c6d0dc}
body.l5.iw-igaming-enabled .iw-search-row input{flex:1;min-width:0;background:#19212a;color:#f8fafc;border:1px solid #4a5968;padding:9px;border-radius:7px}
body.l5.iw-igaming-enabled .iw-search-row button{border:0;border-radius:6px;background:#445161;color:white;padding:9px}
body.l5.iw-igaming-enabled .iw-menu-pills{display:flex;gap:8px;overflow-x:auto;padding:11px 2px 10px;scrollbar-width:none}
body.l5.iw-igaming-enabled .iw-menu-pills>a{flex:none;font-size:11px;font-weight:800;border-radius:30px;padding:8px 12px;background:#28313d;color:#d0d9e3}
body.l5.iw-igaming-enabled .iw-menu-pills>a.active{background:#394b57;color:#fff}
body.l5.iw-igaming-enabled .iw-hero{height:175px;border-radius:9px;position:relative;overflow:hidden;background:#1e2931;margin:4px 0 12px}
body.l5.iw-igaming-enabled .iw-hero-slide{display:none;align-items:center;width:100%;height:100%;background-position:center;background-size:cover;padding:15px 26px}
body.l5.iw-igaming-enabled .iw-hero-slide.is-active{display:flex}
body.l5.iw-igaming-enabled .iw-hero-slide span{font-size:9px;font-weight:900;letter-spacing:1px;color:#b9cbd2}
body.l5.iw-igaming-enabled .iw-hero-slide h2{font-size:23px;color:#fff;margin:5px 0 5px}
body.l5.iw-igaming-enabled .iw-hero-slide p{font-size:11px;color:#e0e6ed;margin:0;line-height:1.5}
body.l5.iw-igaming-enabled .iw-hero-next{position:absolute;right:12px;top:40%;font-size:30px;border-radius:50%;width:35px;height:35px;color:#fff;background:#344352b5;border:1px solid #607081}
body.l5.iw-igaming-enabled .iw-highlights{display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#465566 transparent;margin:0 0 15px;padding-bottom:6px}
body.l5.iw-igaming-enabled .iw-highlight{display:flex;flex:1 0 170px;min-height:98px;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#22272d;border-radius:10px;border:1px solid #36404e;padding:10px;text-align:center}
body.l5.iw-igaming-enabled .iw-highlight:hover{background:#303942}
body.l5.iw-igaming-enabled .iw-highlight span{font-size:26px}
body.l5.iw-igaming-enabled .iw-highlight b{font-size:12px;color:#fff}
body.l5.iw-igaming-enabled .iw-highlight small{font-size:10px;color:#b0bdca}
body.l5.iw-igaming-enabled .iw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
body.l5.iw-igaming-enabled .iw-category-pills{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;flex:1;padding:0 0 8px}
body.l5.iw-igaming-enabled .iw-category-pills::-webkit-scrollbar{display:none}
body.l5.iw-igaming-enabled .iw-category-pills button{flex:none;white-space:nowrap;background:#28313d;border:1px solid #394451;color:#d2dae4;border-radius:28px;font-size:11px;padding:9px 12px;font-weight:800}
body.l5.iw-igaming-enabled .iw-category-pills button.active{background:#394b57;color:#fff;border-color:#66717c}
body.l5.iw-igaming-enabled .iw-toolbar-open{font-size:10px;white-space:nowrap;color:#cbd6e0;font-weight:900;margin-bottom:8px}
body.l5.iw-igaming-enabled .iw-list-heading{display:flex;justify-content:space-between;align-items:end;gap:7px;margin:13px 0 12px}
body.l5.iw-igaming-enabled .iw-list-heading small{display:block;font-size:10px;color:#aebac8;font-weight:900;margin-bottom:5px;letter-spacing:.06em}
body.l5.iw-igaming-enabled .iw-list-heading h2{font-size:19px;color:#fff;line-height:1.2;margin:0;font-weight:900}
body.l5.iw-igaming-enabled .iw-list-heading h2 span{font-size:11px;vertical-align:middle;border-radius:15px;background:#2b3440;padding:5px 8px;color:#c3d0dc}
body.l5.iw-igaming-enabled .iw-list-heading>a{font-size:11px;white-space:nowrap;color:#cbd7e2}
body.l5.iw-igaming-enabled .iw-match-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body.l5.iw-igaming-enabled .iw-match[hidden],body.l5.iw-igaming-enabled .iw-empty[hidden]{display:none!important}
body.l5.iw-igaming-enabled .iw-empty{padding:25px;border:1px solid #364251;background:#22272d;color:#bfcbd7;border-radius:8px;font-size:12px}
body.l5.iw-igaming-enabled .iw-empty a{color:#fff;text-decoration:underline}
/* EXACT visual identity from model 2: match cards, regardless of chosen casino theme */
body.l5.iw-igaming-enabled .iw-match{background:#22272d!important;border:1px solid #35404d!important;border-radius:12px;overflow:hidden;min-width:0;display:flex;flex-direction:column;min-height:228px;color:#f8fbff;box-shadow:0 3px 8px #0001}
body.l5.iw-igaming-enabled .iw-match:hover{border-color:#556273!important;background:#252c34!important}
body.l5.iw-igaming-enabled .iw-match-league{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px 12px 2px;background:transparent!important;font-size:11px;color:#acb5c2!important;line-height:1.2;min-width:0}
body.l5.iw-igaming-enabled .iw-match-league>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.l5.iw-igaming-enabled .iw-match-league .iw-star{font-size:25px;line-height:18px;color:#8793a1;flex:none}
body.l5.iw-igaming-enabled .iw-match-topline{display:flex;align-items:center;gap:7px;padding:14px 12px 10px;font-size:11px;color:#9eabba}
body.l5.iw-igaming-enabled .iw-pennant{color:#34b5fb;font-size:13px}
body.l5.iw-igaming-enabled .iw-match-demo-live .iw-match-topline{color:#ff929e}
body.l5.iw-igaming-enabled .iw-match-teams{display:flex;flex-direction:column;gap:8px;padding:0 12px;min-height:62px;flex:1}
body.l5.iw-igaming-enabled .iw-team{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}
body.l5.iw-igaming-enabled .iw-team b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;font-size:12px;color:#f7f8fa;font-weight:850}
body.l5.iw-igaming-enabled .iw-team em{background:#374454;border-radius:7px;min-width:22px;text-align:center;font-size:11px;font-style:normal;padding:3px 4px}
body.l5.iw-igaming-enabled .iw-crest{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;border:2px solid #9da8b988;background:var(--iw-crest,#536175);color:#fff;font-size:8px;font-weight:900;text-shadow:0 1px 2px #000a}
body.l5.iw-igaming-enabled .iw-match-market{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 11px 6px;font-size:10px;color:#9daaba}
body.l5.iw-igaming-enabled .iw-match-market>a{color:#b7c4cf;font-weight:750;white-space:nowrap}
body.l5.iw-igaming-enabled .iw-odds{display:flex;align-items:stretch;gap:6px;padding:0 10px 11px;min-width:0}
body.l5.iw-igaming-enabled .iw-odd{min-width:0;flex:1;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:2px;padding:7px 8px;border-radius:8px;border:1px solid #3d495a!important;background:#344151!important;color:#f4f7fa!important;white-space:nowrap;font-variant-numeric:tabular-nums}
body.l5.iw-igaming-enabled .iw-odd:hover,body.l5.iw-igaming-enabled .iw-odd:focus-visible{background:#46566a!important;border-color:#7b8a9d!important;color:#fff!important}
body.l5.iw-igaming-enabled .iw-odd span{font-size:9px;color:#aeb9ca}
body.l5.iw-igaming-enabled .iw-odd strong{font-size:13px;color:#fff!important;font-weight:900}
body.l5.iw-igaming-enabled .iw-odd-more{border-radius:8px;flex:0 0 23px;display:grid;place-items:center;background:#344151!important;color:#cbd2de!important;font-size:17px}
body.l5.iw-igaming-enabled .iw-odd-more:hover{background:#46566a!important}
body.l5.iw-igaming-enabled .iw-official{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #354252;background:#22272d;border-radius:11px;padding:16px;margin:20px 0}
body.l5.iw-igaming-enabled .iw-official>div{display:grid;gap:4px}
body.l5.iw-igaming-enabled .iw-official b{font-size:15px;color:#fff}
body.l5.iw-igaming-enabled .iw-official small{font-size:11px;color:#aebac8}
body.l5.iw-igaming-enabled .iw-official>a{border-radius:8px;background:#344457;color:#fff;padding:11px 13px;font-size:11px;font-weight:850;white-space:nowrap}
/* Sidebar demonstrativo apenas informativo; apostar somente no original. */
body.l5.iw-igaming-sports .iw-betslip{align-self:start;position:sticky;top:74px;min-width:0;height:calc(100vh - 74px);background:#222d3b;border-left:1px solid #3b4855;display:flex;flex-direction:column;overflow:auto;color:#eef4fb}
body.l5.iw-igaming-sports .iw-betslip-header{background:#303c4c;display:flex;align-items:center;padding:13px 10px;gap:8px;min-height:51px}
body.l5.iw-igaming-sports .iw-betslip-header>span{display:grid;place-items:center;background:#45576a;border-radius:5px;font-size:22px;width:31px;height:30px}
body.l5.iw-igaming-sports .iw-betslip-header strong{font-size:14px;color:#fff}
body.l5.iw-igaming-sports .iw-betslip-header small{margin-left:auto;color:#d0d8e5;font-size:9px;font-weight:850}
body.l5.iw-igaming-sports .iw-betslip-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#303c4c;color:#afbfcb;text-align:center;border-bottom:1px solid #405060}
body.l5.iw-igaming-sports .iw-betslip-tabs>*{padding:11px 2px;font-size:11px;font-weight:600}
body.l5.iw-igaming-sports .iw-betslip-tabs>b{border-bottom:2px solid #a4bcd0;color:#fff;font-weight:850}
body.l5.iw-igaming-sports .iw-betslip-empty{display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px;padding:55px 17px 25px}
body.l5.iw-igaming-sports .iw-betslip-icon{font-size:52px;color:#abb9ca}
body.l5.iw-igaming-sports .iw-betslip-empty b{font-size:14px;line-height:1.3}
body.l5.iw-igaming-sports .iw-betslip-empty p{font-size:12px;color:#b6c0ce;line-height:1.6;margin:0}
body.l5.iw-igaming-sports .iw-betslip-open{display:block;margin:0 12px;padding:13px 10px;border-radius:9px;background:#3a4b5d!important;color:#fff!important;text-align:center;font-size:11px;font-weight:900}
body.l5.iw-igaming-sports .iw-betslip-note{display:block;font-size:10px;color:#99aabb;margin:15px;padding-top:12px;border-top:1px solid #3c4a59;line-height:1.5}
/* Tema dinâmico APENAS nesta prancheta flutuante */
body.l5.iw-igaming-sports .iw-floating-ticket{display:none}
@media(max-width:1500px){body.l5.iw-igaming-enabled .iw-match-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1120px){body.l5.iw-igaming-enabled .iw-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.l5.iw-igaming-sports .l5-frame{grid-template-columns:var(--l5-side) minmax(0,1fr) 250px}}
@media(max-width:950px){
 body.l5.iw-igaming-sports .l5-frame{grid-template-columns:minmax(0,1fr)!important}
 body.l5.iw-igaming-sports .iw-betslip{display:none!important}
 body.l5.iw-igaming-sports .l5-sports-content{padding:0 11px 90px!important}
 body.l5.iw-igaming-enabled .iw-navbar{margin:0 -11px}
 body.l5.iw-igaming-enabled .iw-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.l5.iw-igaming-sports .iw-floating-ticket{
  display:grid!important;place-items:center;position:fixed;z-index:10000;
  bottom:calc(75px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);
  width:62px;height:62px;border-radius:50%;border:2px solid var(--l5-accent-soft)!important;
  background:var(--l5-accent)!important;color:var(--l5-accent-on,#fff)!important;
  box-shadow:0 6px 20px #0009,0 0 0 3px #0003;
 }
 body.l5.iw-igaming-sports .iw-floating-ticket svg{display:block;width:30px;height:30px;stroke:currentColor}
 body.l5.iw-igaming-sports .iw-floating-dot{position:absolute;right:-5px;top:-4px;min-width:23px;height:23px;display:grid;place-items:center;border-radius:50%;border:2px solid #22272d;background:#fff;color:#26313a;font-size:13px;font-weight:900}
}
@media(max-width:700px){
 body.l5.iw-igaming-enabled .iw-navbar{height:57px;gap:7px;padding:2px 7px}
 body.l5.iw-igaming-enabled .iw-navbar .iw-sport-icon{min-width:35px;width:35px}
 body.l5.iw-igaming-enabled .iw-hero{height:150px;margin-top:6px}
 body.l5.iw-igaming-enabled .iw-hero-slide{padding:15px}
 body.l5.iw-igaming-enabled .iw-hero-slide h2{font-size:19px}
 body.l5.iw-igaming-enabled .iw-highlight{min-height:85px;flex-basis:135px}
 body.l5.iw-igaming-enabled .iw-match-grid{grid-template-columns:minmax(0,1fr);gap:11px}
 body.l5.iw-igaming-enabled .iw-match{min-height:261px;border-radius:13px}
 body.l5.iw-igaming-enabled .iw-match-league{font-size:13px;padding:14px 12px 2px}
 body.l5.iw-igaming-enabled .iw-match-topline{font-size:12px;padding:15px 12px 11px}
 body.l5.iw-igaming-enabled .iw-team{gap:9px}
 body.l5.iw-igaming-enabled .iw-team b{font-size:15px}
 body.l5.iw-igaming-enabled .iw-crest{flex-basis:29px;width:29px;height:29px;font-size:9px}
 body.l5.iw-igaming-enabled .iw-match-teams{gap:9px;min-height:78px}
 body.l5.iw-igaming-enabled .iw-match-market{font-size:12px;padding:14px 11px 9px}
 body.l5.iw-igaming-enabled .iw-odd{min-height:49px;padding:8px 11px}
 body.l5.iw-igaming-enabled .iw-odd span{font-size:12px}
 body.l5.iw-igaming-enabled .iw-odd strong{font-size:16px}
 body.l5.iw-igaming-enabled .iw-odd-more{flex-basis:36px}
 body.l5.iw-igaming-enabled .iw-home-cards>.iw-match{flex-basis:min(310px,90vw);min-height:250px}
 body.l5.iw-igaming-enabled .iw-list-heading h2{font-size:18px}
 body.l5.iw-igaming-enabled .iw-official{flex-wrap:wrap}
 body.l5.iw-igaming-enabled .iw-official>a{width:100%;text-align:center}
 body.l5.iw-igaming-sports .iw-floating-ticket{bottom:calc(73px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){body.l5.iw-igaming-enabled .iw-home-cards{scroll-behavior:auto}}

/* V3: blocos de odds proporcionais em telas pequenas, sem largura variável ou corte. */
@media(max-width:700px){
 body.l5.iw-igaming-enabled .iw-match .iw-odds{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr)) 24px!important;
  gap:5px!important;padding:0 10px 12px!important;width:100%;
 }
 body.l5.iw-igaming-enabled .iw-match .iw-odd{
  display:flex!important;min-width:0!important;width:100%;
  flex-direction:column;justify-content:center;align-items:center;
  gap:2px;min-height:47px!important;padding:5px 2px!important;
  border-radius:7px!important;
 }
 body.l5.iw-igaming-enabled .iw-match .iw-odd span{font-size:10px!important;line-height:1.1}
 body.l5.iw-igaming-enabled .iw-match .iw-odd strong{font-size:clamp(12px,3.7vw,15px)!important;line-height:1.1;letter-spacing:0}
 body.l5.iw-igaming-enabled .iw-match .iw-odd-more{min-width:0;flex-basis:auto!important;width:24px;border-radius:7px}
 body.l5.iw-igaming-enabled .iw-home-cards .iw-match .iw-odd strong{font-size:13px!important}
}

@media(max-width:700px){
 body.l5.iw-igaming-enabled .iw-match .iw-odds[data-iw-odd-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr)) 24px!important}
}

/* V4: futebol compacto na HOME (largura dos cards mantida). */
body.l5.iw-igaming-enabled .iw-home .iw-home-cards>.iw-match{
 min-height:0!important;height:166px!important;
 border-radius:10px!important;justify-content:flex-start;
}
body.l5.iw-igaming-enabled .iw-home .iw-match-league{
 padding:7px 9px 0!important;font-size:9px!important;line-height:1.1!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-match-league .iw-star{font-size:17px!important;line-height:13px!important}
body.l5.iw-igaming-enabled .iw-home .iw-match-topline{
 padding:5px 9px 6px!important;font-size:9px!important;min-height:0!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-match-teams{
 padding:0 9px!important;min-height:40px!important;flex:0 0 auto!important;
 gap:4px!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-team{font-size:10px!important;gap:6px!important;min-height:18px!important}
body.l5.iw-igaming-enabled .iw-home .iw-team b{font-size:10px!important;line-height:1.14!important}
body.l5.iw-igaming-enabled .iw-home .iw-crest{flex:0 0 18px!important;width:18px!important;height:18px!important;border-width:1px!important;font-size:7px!important}
body.l5.iw-igaming-enabled .iw-home .iw-match-market{
 padding:6px 9px 5px!important;font-size:9px!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-odds,
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odds{
 display:flex!important;gap:4px!important;padding:0 8px 7px!important;
 margin-top:auto;min-width:0!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd{
 display:flex!important;flex:1 1 0!important;flex-direction:row!important;
 align-items:center!important;justify-content:space-between!important;gap:2px!important;
 min-width:0!important;min-height:30px!important;height:30px!important;
 padding:4px 5px!important;border-radius:6px!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd span{font-size:8px!important;line-height:1!important}
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd strong{font-size:11px!important;line-height:1.1!important}
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd-more{
 flex:0 0 19px!important;width:19px!important;font-size:14px!important;border-radius:6px!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-home-quote-note{
 display:block;color:#97a2ad;font-size:10px;line-height:1.3;margin:1px 1px 6px;
}
@media(max-width:700px){
 body.l5.iw-igaming-enabled .iw-home .iw-home-cards>.iw-match{
  height:161px!important;min-height:0!important; /* sem alterar flex-basis/largura */
 }
 body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odds{
  display:flex!important;grid-template-columns:none!important;
 }
 body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd{height:29px!important;min-height:29px!important}
 body.l5.iw-igaming-enabled .iw-home .iw-match .iw-odd strong{font-size:10.5px!important}
}

/* V5: escudos/bandeiras reais dos clubes na vitrine, com bandeirola reserva. */
body.l5.iw-igaming-enabled .iw-match .iw-club-crest{
 position:relative;display:inline-grid;place-items:center;overflow:visible;
 flex-shrink:0;background:transparent!important;border:0!important;
 border-radius:0!important;text-shadow:none!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-crest-flag{
 position:absolute;inset:1px 2px;
 display:block;border:1px solid #b9c4d0;border-radius:4px 4px 7px 7px;
 clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%);
 background:repeating-linear-gradient(90deg,var(--iw-crest) 0 32%,#e9edf1 32% 45%,var(--iw-crest) 45% 71%,#202831 71% 83%,var(--iw-crest) 83% 100%);
 box-shadow:0 1px 3px #0009;
}
body.l5.iw-igaming-enabled .iw-match .iw-crest-img{
 position:relative;z-index:1;display:block;min-width:0;max-width:100%;width:100%;height:100%;
 object-fit:contain;object-position:center;filter:drop-shadow(0 1px 2px #0006);
}
body.l5.iw-igaming-enabled .iw-official-simple{
 justify-content:center;padding:12px;min-height:65px;
}
body.l5.iw-igaming-enabled .iw-official-simple>a{
 display:inline-flex;justify-content:center;align-items:center;min-height:42px;
 padding:11px 22px;min-width:min(100%,230px);
}

/* V7 — CORREÇÃO DEFINITIVA DOS ESCUDOS (PC E CELULAR)
   O SVG nao pode definir a largura do grid nem ficar sobre o nome.
   Nao exibir o antigo fundo circular, bordas ou siglas atras do escudo. */
body.l5.iw-igaming-enabled .iw-match .iw-match-teams{
  min-width:0!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-team{
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:9px!important;
  width:100%!important;
  min-width:0!important;
  min-height:26px!important;
  overflow:hidden;
}
body.l5.iw-igaming-enabled .iw-match .iw-team>b{
  display:block!important;
  grid-column:2!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
  line-height:1.25!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-team>em{
  grid-column:3!important;
  justify-self:end!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-team>.iw-club-crest{
  display:block!important;
  grid-column:1!important;
  justify-self:start!important;
  position:relative!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  flex:0 0 24px!important;
  box-sizing:border-box!important;
  aspect-ratio:1!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  line-height:0!important;
  font-size:0!important;
  contain:layout paint!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-club-crest>.iw-crest-img{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  object-position:center!important;
  box-sizing:border-box!important;
  transform:none!important;
  filter:none!important;
}
/* Reserva visivel apenas quando imagem ausente ou erro de carregamento. */
body.l5.iw-igaming-enabled .iw-match .iw-club-crest>.iw-crest-flag{
  display:none!important;
}
body.l5.iw-igaming-enabled .iw-match .iw-club-crest.iw-logo-fallback>.iw-crest-flag{
  display:block!important;
}
/* Home: cards baixos e textos pequenos, sem perder a reserva do escudo. */
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-team{
  grid-template-columns:18px minmax(0,1fr) auto!important;
  column-gap:7px!important;
  min-height:19px!important;
  overflow:hidden!important;
}
body.l5.iw-igaming-enabled .iw-home .iw-match .iw-team>.iw-club-crest{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  flex-basis:18px!important;
}
/* Esportes e Ao Vivo no celular: nomes avancam para a direita apos o escudo. */
@media (max-width:700px){
  body.l5.iw-igaming-enabled .iw-sports .iw-match .iw-team{
    grid-template-columns:25px minmax(0,1fr) auto!important;
    column-gap:11px!important;
    min-height:28px!important;
  }
  body.l5.iw-igaming-enabled .iw-sports .iw-match .iw-team>.iw-club-crest{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
    max-width:25px!important;
    max-height:25px!important;
    flex-basis:25px!important;
  }
  body.l5.iw-igaming-enabled .iw-sports .iw-match .iw-team>b{
    font-size:14px!important;
  }
}
