/* Home: Master live statistics (brand.md colours) */
.ms-live{position:relative;padding:56px 20px;scroll-margin-top:100px}
.ms-live .ms-wrap{max-width:1200px;margin:0 auto}
.ms-live .ms-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px}
.ms-live .ms-tag{margin:0 0 6px;color:#A0E0D8;font-size:13px;font-weight:600}
.ms-live h2{margin:0;color:#F8FAFA;font-size:clamp(28px,4vw,48px)}
.ms-live .ms-sub{margin:6px 0 0;color:#B7CDD0}
.ms-live .ms-range{display:inline-flex;gap:6px;padding:5px;border-radius:999px;border:1px solid rgba(160,224,216,.3);background:#06252C}
html body.bt .ms-live .ms-range button{min-height:44px;padding:0 20px;border:0!important;border-radius:999px;background:transparent!important;background-image:none!important;color:#F8FAFA!important;box-shadow:none!important;cursor:pointer;font-weight:600}
html body.bt .ms-live .ms-range button.on{background:#A0E0D8!important;color:#001319!important}
.ms-live .ms-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.ms-live .ms-tile{padding:18px 20px;border-radius:16px;background:#06252C;border:1px solid rgba(160,224,216,.18)}
.ms-live .ms-tile span{display:block;color:#B7CDD0;font-size:14px}
.ms-live .ms-tile b{display:block;margin-top:4px;color:#F8FAFA;font-size:clamp(26px,3vw,38px);line-height:1.35}
.ms-live .up{color:#7FD8A4!important}.ms-live .down{color:#FF9A8F!important}
.ms-live .ms-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,300px));justify-content:center;gap:14px}
.ms-live .ms-card{display:flex;flex-direction:column;padding:0 18px 20px;border-radius:24px;background:#06252C;border:1px solid rgba(160,224,216,.18);box-shadow:0 16px 48px rgba(0,19,25,.35);overflow:hidden}
.ms-live .ms-photo{position:relative;margin:0 -18px 14px;height:220px;background:#001319}
.ms-live .ms-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.ms-live .ms-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,19,25,0) 55%,#06252C 100%)}
.ms-live .ms-rank{position:absolute;z-index:1;top:12px;right:12px;padding:4px 14px;border-radius:999px;background:#A0E0D8;color:#001319;font-size:13px;font-weight:600}
.ms-live .ms-card h3{margin:0;color:#F8FAFA;font-size:21px}
.ms-live .ms-market{margin:2px 0 14px;color:#8FAAAE;font-size:14px}
.ms-live .ms-ratebox{display:flex;align-items:center;gap:14px}
.ms-live .ms-ring{flex:none;width:62px;height:62px;border-radius:50%;background:conic-gradient(#A0E0D8 calc(var(--p)*1%),rgba(248,250,250,.14) 0);-webkit-mask:radial-gradient(circle,transparent 23px,#001319 24px);mask:radial-gradient(circle,transparent 23px,#001319 24px)}
.ms-live .ms-ratebox strong{display:block;color:#E8D19B;font-size:36px;line-height:1.25}
.ms-live .ms-ratebox small{color:#B7CDD0;font-size:13px}
.ms-live .ms-bar{display:flex;gap:3px;height:6px;margin:16px 0 10px;border-radius:99px;overflow:hidden;background:rgba(248,250,250,.12)}
.ms-live .ms-bar .w{background:#7FD8A4}.ms-live .ms-bar .b{background:#8FAAAE}.ms-live .ms-bar .l{background:#FF9A8F}
.ms-live .ms-wl{display:grid;grid-template-columns:repeat(3,1fr);margin:0}
.ms-live .ms-wl dt{color:#F8FAFA;font-size:19px;font-weight:700}
.ms-live .ms-wl dd{margin:0;color:#8FAAAE;font-size:13px}
.ms-live .ms-spark{width:100%;height:52px;margin-top:12px}
.ms-live .ms-spark .line{fill:none;stroke:#7FD8A4;stroke-width:2;vector-effect:non-scaling-stroke}
.ms-live .ms-spark .fill{fill:rgba(127,216,164,.14);stroke:none}
.ms-live .ms-spark.down .line{stroke:#FF9A8F}.ms-live .ms-spark.down .fill{fill:rgba(255,154,143,.14)}
.ms-live .ms-cum{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:10px 0 0;color:#B7CDD0;font-size:14px}
.ms-live .ms-cum b{font-size:22px}
.ms-live .ms-empty{margin-top:auto;padding:18px;border-radius:16px;border:1px dashed rgba(160,224,216,.45);text-align:center}
.ms-live .ms-empty b{display:block;color:#A0E0D8;font-size:19px}
.ms-live .ms-empty span{display:block;margin-top:4px;color:#8FAAAE;font-size:14px}
.ms-live .ms-soon{align-items:center;justify-content:center;gap:8px;min-height:320px;padding:24px;text-align:center;border-style:dashed}
.ms-live .ms-soon p{margin:0;color:#8FAAAE}
.ms-live .ms-cta{margin:22px 0 10px;text-align:center}
html body .ms-live .ms-cta a{display:inline-flex;align-items:center;min-height:48px;padding:0 26px;border-radius:16px;background:#12565C;border:1px solid #A0E0D8;color:#F8FAFA;font-weight:600;text-decoration:none}
.ms-live .ms-note{margin:0;text-align:center;color:#8FAAAE;font-size:13px;line-height:1.7}
@media (max-width:760px){.ms-live{padding:40px 16px}.ms-live .ms-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-live .ms-cards{grid-template-columns:minmax(0,1fr)}.ms-live .ms-photo{height:280px}.ms-live .ms-soon{min-height:200px}}
/* beat page-level pill styles on text inside the cards */
html body.bt .hm .ms-live :is(.ms-empty span,.ms-cum span,.ms-ratebox small,.ms-ratebox strong,.ms-tile span,.ms-wl dt,.ms-wl dd){position:static!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.bt .hm .ms-live .ms-ratebox strong{color:#E8D19B!important;-webkit-text-fill-color:#E8D19B}
html body.bt .hm .ms-live :is(.ms-ratebox small,.ms-cum span){color:#B7CDD0!important;-webkit-text-fill-color:#B7CDD0}
html body.bt .hm .ms-live .ms-empty span{color:#8FAAAE!important}
/* market chips: separate pills, rows move right, left, right; hover to pause */
.pt-sec{padding:28px 0 0}
.pt-box{display:grid;gap:14px;min-height:154px}
.pt-row{width:100%;min-height:42px;overflow:hidden;direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.pt-track{display:flex;width:max-content;animation:pt-move 60s linear infinite;will-change:transform}
.pt-half{display:flex;align-items:center;gap:16px;padding-right:16px}
.pt-half tv-ticker-tag{display:inline-flex;flex:none;min-height:42px}
.pt-track.pt-right{animation-direction:reverse}
.pt-row:hover .pt-track,.pt-row:focus-within .pt-track{animation-play-state:paused}
@keyframes pt-move{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.pt-row{overflow-x:auto}.pt-track{animation:none}}
.pt-credit{margin:10px 0 0;text-align:center;font-size:11px}
html body .pt-credit a{color:#8FAAAE;text-decoration:none}
/* many Masters: initial avatar, swipe row on phones */
.ms-live .ms-initial{display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#12565C,#001319 75%)}
.ms-live .ms-initial b{position:relative;z-index:1;display:grid;place-items:center;width:104px;height:104px;border-radius:50%;border:1px solid rgba(160,224,216,.45);background:#06252C;color:#A0E0D8;font-size:44px;line-height:1}
.ms-live .ms-swipe{display:none;margin:10px 0 0;text-align:center;color:#8FAAAE;font-size:13px}
html body.bt .hm .ms-live .ms-initial b{margin:0!important;color:#A0E0D8!important;-webkit-text-fill-color:#A0E0D8!important;background:#06252C!important;opacity:1!important}
@media (min-width:761px){.ms-live .ms-photo{height:180px}}
/* coach row: four cards at a time on desktop, the rest by sliding */
.ms-live .ms-slider{position:relative}
.ms-live .ms-cards{--per:4;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--per) - 1)*14px)/var(--per));justify-content:start;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.ms-live .ms-cards::-webkit-scrollbar{display:none}
.ms-live .ms-card{scroll-snap-align:start;min-width:0}
html body.bt .ms-live .ms-slider button.ms-arrow{position:absolute;z-index:3;top:50%;translate:0 -50%;width:52px;height:52px;min-height:0;padding:0 0 6px;display:grid;place-items:center;border-radius:50%;border:1px solid #A0E0D8!important;background:#12565C!important;background-image:none!important;color:#F8FAFA!important;font-size:34px;line-height:1;box-shadow:0 10px 30px rgba(0,19,25,.6)!important;cursor:pointer}
html body.bt .ms-live .ms-slider button.ms-arrow.prev{left:-20px}
html body.bt .ms-live .ms-slider button.ms-arrow.next{right:-20px}
html body.bt .ms-live .ms-slider button.ms-arrow[disabled]{opacity:.3;cursor:default}
html body.bt .ms-live .ms-slider button.ms-arrow[hidden]{display:none}
.ms-live .ms-swipe{display:block;margin:10px 0 0;text-align:center;color:#8FAAAE;font-size:13px}
@media (max-width:1100px){.ms-live .ms-cards{--per:3}}
@media (max-width:900px){.ms-live .ms-cards{--per:2}}
@media (max-width:760px){.ms-live .ms-cards{grid-auto-columns:84%}html body.bt .ms-live .ms-slider button.ms-arrow{width:44px;height:44px;font-size:28px}html body.bt .ms-live .ms-slider button.ms-arrow.prev{left:-8px}html body.bt .ms-live .ms-slider button.ms-arrow.next{right:-8px}}
