/* siir-tv.tv style match schedule */

/* Day tabs container */
.AY-Dtab{display:flex;gap:8px}

/* Timezone indicator */
.tmz-name{display:flex;position:relative;height:20px;overflow:hidden;padding:2px 5px 0;justify-content:flex-end}
.tmz-name span{font-size:10px;padding:2px 8px;background:var(--bk-hd-bg,#fff);border-radius:6px 6px 0 0}

/* Match flex container */
.albaflex{width:100%;display:flex;flex-direction:column;box-sizing:border-box}
.albaflex .not-started{order:3}
.albaflex .live{order:1}
.albaflex .comming-soon{order:2}
.albaflex .gools{order:3}
.albaflex .finished{order:4}
.albaflex .postponed{order:5}
.albaflex .canceled{order:6}

/* Match card base */
.AY_Match{position:relative;overflow:hidden;text-align:center;background:var(--match-bg,#fff);border:1px solid rgba(118,0,209,.12);margin-bottom:8px;padding:12px 15px;border-radius:8px;box-shadow:0 1px 4px rgba(118,0,209,.06);background:linear-gradient(180deg,#fff 0%,#fafaff 100%);transition:transform .15s ease,box-shadow .15s ease}
.AY_Match::before{content:"";position:absolute;top:8px;bottom:8px;left:0;width:3px;background:var(--main_color,#7600d1);opacity:.85}
.AY_Match:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(118,0,209,.10)}

/* Inner flex layout */
.AY_Inner{display:flex!important;align-items:center!important}

/* Teams */
.MT_Team{display:flex;align-items:center;flex:1;flex-direction:column!important;width:calc((100% - 150px)/2)}
.TM_Logo{width:100%;margin-bottom:6px}
.TM_Logo img{margin:0 auto;width:55px!important;height:55px!important;max-width:55px;max-height:55px;object-fit:contain;display:block}
.TM_Name{margin:0 auto;font-weight:500;font-size:14px}

/* Center data */
.MT_Data{margin:0 auto;width:130px;display:flex;flex-direction:column;align-items:center}
.MT_Time{font-size:16px;overflow:hidden;max-width:90px;white-space:nowrap;background:rgba(118,0,209,.08);border-radius:6px;padding:0 8px;margin:0 auto;height:24px;line-height:24px}
.MT_Result{font-size:21px;display:inline-flex;gap:5px;justify-content:center;align-items:center;margin:0 auto;height:24px;line-height:24px;font-weight:700}
.MT_Stat{position:relative;background:var(--stat-bg,#15181F);padding:4px 10px 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;font-size:14px;text-align:center;margin:6px auto 0;height:25px;min-width:60px;font-weight:700;letter-spacing:.2px}
.TourName{font-size:12px;text-align:center;line-height:1.4;margin-top:6px;color:#666}
.winner-score{color:var(--main_color,#7600d1);font-weight:700}

/* Status-specific */
.AY_Match.not-started .MT_Stat{--stat-bg:#3b1f6b}
.AY_Match.live .MT_Stat{--stat-bg:#d00000;animation:blinker 500ms ease-in-out infinite}
.AY_Match.finished .MT_Stat{--stat-bg:#474747}
.AY_Match.comming-soon .MT_Stat{--stat-bg:#0f6f37}
.AY_Match.postponed .MT_Stat{--stat-bg:#0028c1}
.AY_Match.canceled .MT_Stat{--stat-bg:#9f00b1}
@keyframes blinker{50%{background:#263545}}

/* Hide time for live/finished, hide result for upcoming */
.AY_Match.live .MT_Time,.AY_Match.finished .MT_Time{display:none}
.AY_Match.not-started .MT_Result,.AY_Match.comming-soon .MT_Result{display:none}

/* Hover overlay */
.MT_Mask{position:absolute;top:0;bottom:0;left:0;right:0;height:100%;width:100%;opacity:0;cursor:pointer;background:rgb(0 0 0 / 60%);z-index:9;transition:opacity .2s}
.AY_Match:hover .MT_Mask{opacity:1}
.MT_MaskText{position:absolute;bottom:0;right:0;height:45px;margin:auto;left:0;top:0;width:45px;background:no-repeat center url("data:image/svg+xml;charset=utf8,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M256,0C114.617,0,0,114.615,0,256s114.617,256,256,256s256-114.615,256-256S397.383,0,256,0z M344.48,269.57l-128,80c-2.59,1.617-5.535,2.43-8.48,2.43c-2.668,0-5.34-.664-7.758-2.008C195.156,347.172,192,341.82,192,336V176c0-5.82,3.156-11.172,8.242-13.992c5.086-2.836,11.305-2.664,16.238,.422l128,80c4.676,2.93,7.52,8.055,7.52,13.57S349.156,266.641,344.48,269.57z'/%3E%3C/svg%3E")}

/* No matches message */
.no-data__msg{min-height:250px;display:flex;align-items:center;justify-content:center;width:100%;color:#666;font-size:18px}

/* ── Night mode ── */
.Night .AY_Match{background:#1b1f27;border-color:rgba(255,255,255,.06);box-shadow:0 1px 4px rgba(0,0,0,.35)}
.Night .AY_Match::before{background:#7c3aed}
.Night .AY_Match:hover{box-shadow:0 4px 10px rgba(0,0,0,.45)}
.Night .AY_Match a,.Night .AY_Match .TM_Name,.Night .AY_Match .MT_Time{color:#f1f3f6}
.Night .MT_Time{background:rgba(255,255,255,.06)}
.Night .AY_Match.not-started .MT_Stat{--stat-bg:#5b32a4}
.Night .TourName{color:rgba(255,255,255,.5)}
.Night .tmz-name span{background:rgba(255,255,255,.08);color:#d8c8ff}

/* ── Mobile ── */
@media screen and (max-width:500px){
  .TM_Logo img{width:42px!important;height:42px!important;max-width:42px;max-height:42px;margin-bottom:0}
  .MT_Team{flex-direction:column!important}
  .TM_Logo{width:100%}
  .MT_Data{margin:8px auto;width:110px}
  .TM_Name{font-size:12px}
  .MT_Result{font-size:18px}
  .MT_Time{font-size:14px}
}
