/* Vertical market feed with the original 4D panel geometry. */
body[data-layout="vertical"]{background:#070101;color:#fff6e4;overflow-x:hidden}
body[data-layout="vertical"] .app{max-width:1180px;margin:0 auto;padding:8px}
body[data-layout="vertical"] #today{display:none!important}
.allMarketsFeed{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0 24px;min-width:0}
.feed-market{scroll-margin-top:8px;min-width:0;background:#fff;color:#171717}
.feed-market-head{display:flex;justify-content:center;align-items:center;min-height:32px;border-bottom:1px solid #dedede;padding:1px 0 7px;margin-bottom:6px}
.feed-market-name{font-family:Inter,system-ui,sans-serif;font-size:clamp(14px,1.8vw,19px);font-weight:950;line-height:1.2;text-align:center;color:#8b1119;margin:0}
.feed-market .feed-four-heading{justify-content:space-between;align-items:center;gap:6px;min-height:27px;margin-bottom:7px}
.feed-market .feed-four-heading b{font-size:14px!important}
.feed-market .feed-four-date{font-size:clamp(10px,1.1vw,12px)!important;color:#8b1119;font-weight:700;margin-left:auto;font-variant-numeric:tabular-nums}
.feed-market .feed-four-meta,.feed-market .feed-four-stat{display:none!important}
.feed-market .feed-full-four{min-width:0}
.feed-market .feed-full-four .set{min-width:0}
.feed-market .feed-lotto,.feed-market .feed-rb{display:grid;gap:8px;margin-top:8px}
.feed-market .feed-lotto:empty,.feed-market .feed-rb:empty{display:none}
.feed-market .feed-toto-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:14px!important;color:#8b1119;font-weight:950}
.feed-market .feed-toto-heading .resultCategoryDate{margin-left:auto!important;font-family:Inter,system-ui,sans-serif;font-size:clamp(10px,1.1vw,12px)!important;font-weight:700;color:#8b1119;white-space:nowrap}
/* OZ LOTTO: TOTO must stay on one row. Both TOTO and Macau RB use one
   responsive box size; TOTO spreads left/right, RB stays centered. */
.feed-market{
 --toto-box-width:min(54px,calc(9.09vw - 6.73px));
 --toto-box-height:clamp(34px,6vw,52px);
 --toto-box-gap:2px;
 --toto-box-font-size:min(clamp(28px,3vw,36px),calc(var(--toto-box-width) * .68));
}
.feed-market .feed-toto-grid{
 display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;
 gap:var(--toto-box-gap);min-width:0;margin-top:6px;
}
.feed-market .feed-toto-grid .sevenBox{
 box-sizing:border-box;flex:0 0 var(--toto-box-width);
 width:var(--toto-box-width);height:var(--toto-box-height);
 min-width:0;min-height:0;font-family:inherit;font-size:var(--toto-box-font-size);font-weight:950;line-height:1;
 font-variant-numeric:tabular-nums;letter-spacing:.035em;white-space:nowrap;
}
.feed-market .feed-toto-grid .totoPlus{
 box-sizing:border-box;flex:0 0 var(--toto-box-width);
 width:var(--toto-box-width);height:var(--toto-box-height);
 font-size:var(--toto-box-font-size);line-height:1;
}
/* Macau RB A/B/C: same box size, distributed evenly left-to-right; no history strip. */
.feed-market[data-market="MACAU"] .rbPremiumBoard{display:grid;grid-template-rows:auto;gap:0;padding:8px 0 4px}
.feed-market[data-market="MACAU"] .rbMainRow{
 display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-around;
 gap:var(--toto-box-gap);
}
.feed-market[data-market="MACAU"] .rbSession{
 display:grid;place-items:center;gap:5px;min-width:0;
 flex:0 0 var(--toto-box-width);
}
.feed-market[data-market="MACAU"] .rbMainBall{
 display:grid;place-items:center;box-sizing:border-box;
 border:1px solid;border-radius:5px;
 width:var(--toto-box-width);height:var(--toto-box-height);
 font-family:inherit;font-size:var(--toto-box-font-size);font-weight:950;font-variant-numeric:tabular-nums;line-height:1;
 letter-spacing:.035em;white-space:nowrap;
}
.feed-market[data-market="MACAU"] .rbSessionTime{
 color:#8b1119;font-size:11px;font-weight:950;line-height:1;
}
@media(max-width:767px){
 .feed-market{--toto-box-font-size:min(clamp(18px,6vw,28px),calc(var(--toto-box-width) * .68))}
 body[data-layout="vertical"] .app{padding:5px}
 .allMarketsFeed{gap:6px;margin:6px 0 20px}
 .feed-market-head{min-height:27px;padding:2px 0 4px;margin-bottom:4px}
 .feed-market-name{font-size:clamp(13px,3.7vw,17px)}
 .feed-market .feed-four-heading{min-height:22px;margin-bottom:4px}
 .feed-market .feed-four-heading b{font-size:12px!important}
 .feed-market .feed-toto-heading{font-size:12px!important}
 .feed-market .feed-toto-heading .resultCategoryDate{font-size:10px!important}
 /* Headings and outer margins may adapt; RB/TOTO tile size stays synchronized. */
 .feed-market .feed-toto-grid{margin-top:4px}
}
