/* Purpose: Portable original-style schedule, isolated from host theme. Created: 2026-11-10. Modified: 2026-11-10. */
.ms-schedule.ms-schedule{color:var(--ms-text,#fff);font:14px/1.4 Arial,sans-serif;width:100%;max-width:1140px;margin:0 auto;padding:16px 0;background:#03080c;isolation:isolate;container-type:inline-size}
.ms-schedule.ms-schedule *{box-sizing:border-box;letter-spacing:normal}.ms-schedule.ms-schedule :is(button,select){appearance:none;-webkit-appearance:none;font:700 14px/1.2 Arial,sans-serif;text-transform:none;letter-spacing:normal;color:var(--ms-text,#fff);margin:0;min-height:0;box-shadow:none;text-decoration:none;cursor:pointer}.ms-schedule.ms-schedule button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;padding:8px 12px;background:transparent;white-space:nowrap;min-width:0}.ms-schedule.ms-schedule button::before,.ms-schedule.ms-schedule button::after{display:none}.ms-schedule.ms-schedule button:focus-visible,.ms-schedule.ms-schedule select:focus-visible,.ms-schedule.ms-schedule a:focus-visible{outline:2px solid var(--ms-accent);outline-offset:3px}.ms-schedule .ms-toolbar{display:flex;align-items:center;gap:14px;padding:8px;background:var(--ms-bg,#162832);border-radius:8px;margin:0 0 16px}.ms-schedule .ms-sports{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;min-height:51px}.ms-schedule .ms-sports button{flex:0 0 auto;text-transform:uppercase;height:35px}.ms-schedule .ms-sports button[aria-pressed=true]{background:linear-gradient(#1f3644,#00411d);border-color:var(--ms-accent)}.ms-schedule .ms-icon{display:inline-block;flex-shrink:0;width:17px;height:20px;background:center/contain no-repeat}.ms-schedule .ms-sports .ms-icon-all{background-image:url(images/type-sport-all.webp)}.ms-schedule .ms-icon-football{background-image:url(images/type-sport-bongda.webp)}.ms-schedule .ms-icon-basketball{background-image:url(images/type-sport-bongro.webp)}.ms-schedule .ms-icon-vothuat{background-image:url(images/type-sport-vothuat.webp)}.ms-schedule .ms-icon-bongchuyen{background-image:url(images/type-sport-bongchuyen.webp)}.ms-schedule .ms-icon-bongchay{background-image:url(images/type-sport-bongchay.webp)}.ms-schedule .ms-icon-other{background-image:url(images/type-sport-monkhac.webp)}.ms-schedule .ms-icon-live{width:22px;background-image:url(images/live-icon.svg)}.ms-schedule .ms-icon-hot{background-image:url(images/hot.svg)}.ms-schedule .ms-icon-today{background-image:url(images/date-icon.svg)}.ms-schedule .ms-icon-tomorrow{background-image:url(images/date-icon-to.svg)}.ms-schedule .ms-filters{gap:14px;min-height:54px;flex-wrap:wrap}.ms-schedule .ms-filters button{background:#243f42;height:35px}.ms-schedule .ms-filters button[aria-pressed=true]{background:#173246;border-color:#006b9c}.ms-schedule .ms-filters button>span:last-child:not(.ms-button-label){display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:#142837;font-size:11px}.ms-schedule .ms-filters label{position:relative;display:block;margin:0 0 0 auto;padding:0;min-width:180px;max-width:100%;color:var(--ms-text)}.ms-schedule .ms-filters label::before{content:'';width:18px;height:18px;position:absolute;left:10px;top:11px;background:url(images/map.svg) center/contain no-repeat;pointer-events:none}.ms-schedule .ms-filters label::after{content:'⌄';position:absolute;right:10px;top:6px;color:var(--ms-accent);font-size:20px;pointer-events:none}.ms-schedule.ms-schedule select{display:block;width:100%;height:39px;padding:8px 28px 8px 36px;border:0;border-radius:6px;background:#0d2029}.ms-schedule .ms-grid{display:grid;grid-template-columns:repeat(var(--ms-columns,2),minmax(0,1fr));gap:20px}.ms-schedule .ms-card{position:relative;display:block;margin:0;padding:8px 8px 0;min-width:0;height:155px;border:0;border-radius:10px;overflow:hidden;color:var(--ms-text,#fff);background:var(--ms-bg,#162832) url(images/bg-match.png) center bottom/cover no-repeat}.ms-schedule .ms-card .ms-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;height:26px;margin:0;padding:0;background:transparent;font-size:12px;font-weight:400}.ms-schedule .ms-card .ms-card-top>span{display:flex;align-items:center;gap:8px;max-width:34%;min-width:0;text-transform:uppercase}.ms-schedule .ms-card .ms-card-top>span>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-schedule .ms-card .ms-card-top img{display:block;width:20px;height:20px;object-fit:contain;flex-shrink:0;border:0;margin:0}.ms-schedule .ms-card time{white-space:nowrap;color:#8cd5ff;background:linear-gradient(#1b2e3c,#243f50);font:11px/20px Arial,sans-serif;padding:3px 8px;border-radius:14px}.ms-schedule .ms-status{position:absolute;top:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;background:url(images/time-bg.svg) center/100% 100% no-repeat;width:110px;height:30px;color:#fff;font:700 11px/1.2 Arial,sans-serif}.ms-schedule .ms-teams{display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);align-items:center;gap:12px;height:75px;margin:0;padding:4px 12px 0;text-align:center}.ms-schedule .ms-teams>div{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0}.ms-schedule .ms-teams>.ms-home{justify-content:flex-end}.ms-schedule .ms-teams>.ms-home strong{order:-1;text-align:right}.ms-schedule .ms-teams>.ms-away strong{text-align:left}.ms-schedule .ms-teams img{display:block;flex:0 0 40px;width:40px;height:40px;object-fit:contain;margin:0;border:0;border-radius:0;box-shadow:none}.ms-schedule .ms-teams strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ms-text);font:400 14px/1.3 Arial,sans-serif}.ms-schedule .ms-teams>b{display:flex;align-items:center;justify-content:center;border:1px solid #1456ff;border-radius:36px;background:linear-gradient(113deg,#1553ef,#0c3089 57%,#0b2a79 66%,#000 132%);color:#fff;font:700 18px/27px Arial,sans-serif;min-width:50px;margin:0;padding:0 5px}.ms-schedule .ms-card .ms-card-bottom{position:relative;height:46px;display:flex;align-items:center;justify-content:space-between;margin:0;padding:10px;color:var(--ms-text);background:transparent;font:11px/1 Arial,sans-serif;border:0}.ms-schedule .ms-card .ms-card-bottom::before{content:'';position:absolute;left:0;right:0;top:0;height:21px;border:1px solid #2a495e;border-bottom:0;border-radius:7px 7px 0 0;mask-image:linear-gradient(#000,transparent);pointer-events:none}.ms-schedule .ms-halftime{background:#0f2027;border-radius:24px;padding:6px 10px;white-space:nowrap}.ms-schedule .ms-halftime em{color:var(--ms-accent);font-style:normal}.ms-schedule .ms-detail-link{font:11px/1 Arial,sans-serif;color:#8cd5ff;text-decoration:none;opacity:0}.ms-schedule .ms-card:hover .ms-detail-link,.ms-schedule .ms-card:focus-within .ms-detail-link{opacity:1}.ms-schedule .ms-notice{margin:0 0 12px;color:#b6c8d1;font:12px/1.5 Arial,sans-serif}.ms-schedule [hidden]{display:none!important}.ms-schedule .ms-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ms-schedule.ms-schedule>[data-more]{display:flex;margin:20px auto 0;color:#fff;background:#163247;border:1px solid #2a495e}
@container(max-width:850px){.ms-schedule .ms-filters{gap:8px}.ms-schedule .ms-filters button{padding:8px}.ms-schedule .ms-filters label{width:100%;margin-left:0}.ms-schedule .ms-teams{gap:8px;padding-inline:0}.ms-schedule .ms-card .ms-card-top>span{max-width:30%}.ms-schedule .ms-teams strong{font-size:12px}}
@container(max-width:600px){.ms-schedule .ms-grid{grid-template-columns:1fr;gap:14px}.ms-schedule .ms-toolbar{gap:6px}.ms-schedule .ms-filters button{font-size:12px;gap:5px;flex:1 0 auto}.ms-schedule .ms-filters .ms-icon{width:13px}.ms-schedule .ms-filters .ms-icon-live{width:18px}.ms-schedule .ms-card{height:155px}.ms-schedule .ms-teams strong{font-size:13px}.ms-schedule .ms-card .ms-card-top>span{max-width:30%}.ms-schedule .ms-status{width:96px;font-size:10px}.ms-schedule .ms-detail-link{opacity:1}}

.ms-schedule.ms-schedule .ms-heading{font:700 24px/1.35 Arial,sans-serif;color:#00d000;text-align:center;margin:0 0 20px;padding:0;border:0;text-transform:none;letter-spacing:normal}@container(max-width:600px){.ms-schedule.ms-schedule .ms-heading{font-size:20px}}

/* Compact league selector; constrain long option text without widening the filter bar. */
.ms-schedule .ms-filters label{flex:0 0 190px;width:190px;min-width:0;max-width:190px}.ms-schedule.ms-schedule .ms-filters select{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container(min-width:851px){.ms-schedule .ms-filters{flex-wrap:nowrap;gap:12px}.ms-schedule.ms-schedule .ms-filters button{flex:0 0 auto}}
@container(max-width:850px){.ms-schedule .ms-filters label{flex:0 0 180px;width:180px;max-width:180px;margin-left:auto}}
@container(max-width:600px){.ms-schedule .ms-filters label{flex:1 0 100%;width:100%;max-width:100%;margin-left:0}}

/* Center a CSS chevron independently of font metrics. */
.ms-schedule .ms-filters label::after{content:"";display:block;position:absolute;right:13px;top:50%;width:7px;height:7px;margin:0;border:solid var(--ms-accent);border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg);line-height:0;pointer-events:none}

/* Appearance settings, scoped to the schedule widget. */
.ms-schedule.ms-schedule{background:var(--ms-canvas,#03080c);max-width:var(--ms-width,1140px)}.ms-schedule .ms-toolbar{background:var(--ms-toolbar,#172d37)}.ms-schedule .ms-grid{gap:var(--ms-gap,20px)}.ms-schedule .ms-card{border-radius:var(--ms-radius,10px)}.ms-schedule.ms-schedule .ms-heading{color:var(--ms-title-color,#00d000);font-size:var(--ms-title-size,24px)}@container(max-width:600px){.ms-schedule.ms-schedule .ms-heading{font-size:min(var(--ms-title-size,24px),22px)}}

.ms-schedule .ms-card-watch{position:absolute;inset:0;z-index:1;border-radius:inherit}.ms-schedule .ms-detail-link{position:relative;z-index:2}.ms-schedule .ms-card-watch:focus-visible{outline:2px solid var(--ms-accent);outline-offset:-3px}
