@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Light_FaNum.woff2?v=final2") format("woff2");font-weight:300;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_FaNum.woff2?v=final2") format("woff2");font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Medium_FaNum.woff2?v=final2") format("woff2");font-weight:500;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Medium_FaNum.woff2?v=final2") format("woff2");font-weight:600;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Bold_FaNum.woff2?v=final2") format("woff2");font-weight:700;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Bold_FaNum.woff2?v=final2") format("woff2");font-weight:800;font-style:normal;font-display:block}
@font-face{font-family:"IRANSansTablo";src:url("https://cdn.jsdelivr.net/gh/akiarostami/iransans@main/files/IRANSansWeb_Black_FaNum.woff2?v=final2") format("woff2");font-weight:900;font-style:normal;font-display:block}
html,body,body *,button,input,select,textarea,table,th,td{font-family:"IRANSansTablo",Tahoma,"Segoe UI",Arial,sans-serif!important}
:root{--bg1:#071a3e;--bg2:#0d2d66;--card:rgba(255,255,255,.96);--text:#10203b;--muted:#5e6d82;--line:#dce5f1;--green:#0b8d5f;--green-2:#0fb879;--red:#d62f4b;--red-2:#ff5f6d;--amber:#cc8a00;--amber-2:#ffca28}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:IRANSansTablo,IRANSans,Tahoma,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 15% 0,#214a98 0,transparent 35%),linear-gradient(160deg,var(--bg2),var(--bg1));color:#fff}body{padding:22px;overflow:hidden}.display{height:calc(100vh - 44px);display:grid;grid-template-rows:auto 1fr auto;gap:16px}.display-header{display:flex;align-items:center;justify-content:center;gap:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);border-radius:22px;padding:16px 20px;backdrop-filter:blur(8px);text-align:center}.title-wrap{text-align:center;flex:1}.title-wrap h1{margin:0;font-size:clamp(25px,2.8vw,46px);font-weight:900}.title-wrap p{margin:7px 0 0;color:#d9e6ff;font-size:clamp(12px,1vw,17px)}.clock-card{margin-right:auto;text-align:center;min-width:260px}.clock{font-size:clamp(28px,3.3vw,54px);font-weight:900;letter-spacing:1px}.jalali-date{color:#dfe9ff;font-size:clamp(12px,1.1vw,18px);margin-top:4px}.board-chip{display:inline-flex;margin-top:8px;padding:5px 11px;border-radius:999px;background:#fff;color:#1c438e;font-weight:800;font-size:12px}.display-main{min-height:0;display:grid;grid-template-columns:minmax(0,3fr) minmax(290px,1fr);gap:16px}.schedule-panel,.news-panel{background:var(--card);color:var(--text);border-radius:22px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.2);min-height:0}.panel-head{height:58px;display:flex;align-items:center;justify-content:center;padding:0 18px;border-bottom:1px solid var(--line);background:#f8fbff;text-align:center}.panel-head h2{font-size:19px;margin:0}.page-indicator{margin-right:auto;color:var(--muted);font-size:12px}.schedule-page{display:none;height:calc(100% - 58px);padding:0 12px 10px}.schedule-page.active{display:block;animation:fade .35s ease}.schedule-table{width:100%;height:100%;border-collapse:separate;border-spacing:0 7px;table-layout:fixed}.schedule-table thead th{font-size:clamp(11px,.9vw,15px);color:#607188;padding:10px 8px;text-align:center;border-bottom:1px solid var(--line)}.schedule-table tbody td{font-size:clamp(12px,1vw,17px);padding:12px 8px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;background:#fff;text-align:center}.schedule-table tbody tr td:first-child{border-top-right-radius:14px;border-bottom-right-radius:14px}.schedule-table tbody tr td:last-child{border-top-left-radius:14px;border-bottom-left-radius:14px}.schedule-table .course{font-weight:900}.schedule-table tbody tr{filter:drop-shadow(0 8px 14px rgba(7,26,62,.06))}.schedule-table tbody tr:not(.row-cancelled):not(.row-delayed) td{border-top:1px solid #edf2f8;border-bottom:1px solid #edf2f8}.schedule-table .row-cancelled td{background:linear-gradient(180deg,#fff0f2,#ffd9df);border-top:1px solid #ffb9c4;border-bottom:1px solid #ffb9c4;color:#7d1122;font-weight:700}.schedule-table .row-cancelled td:first-child{border-right:6px solid #e11d48}.schedule-table .row-cancelled td:last-child{border-left:6px solid #e11d48}.schedule-table .row-delayed td{background:linear-gradient(180deg,#fff9e8,#ffeab0);border-top:1px solid #ffd86d;border-bottom:1px solid #ffd86d;color:#7a4a00;font-weight:700}.schedule-table .row-delayed td:first-child{border-right:6px solid #f59e0b}.schedule-table .row-delayed td:last-child{border-left:6px solid #f59e0b}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:7px 12px;border-radius:999px;font-size:clamp(10px,.8vw,13px);font-weight:900;white-space:nowrap;box-shadow:0 8px 18px rgba(16,32,59,.12)}.status-pill::before{display:inline-block;margin-left:6px;font-size:1.05em;line-height:1}.status-active{background:linear-gradient(135deg,#dbf8ea,#b7f0d6);color:#086247;border:1px solid #9de6c7}.status-active::before{content:none}.status-cancelled{background:linear-gradient(135deg,var(--red),var(--red-2));color:#fff;border:1px solid rgba(255,255,255,.3);box-shadow:0 10px 22px rgba(214,47,75,.35)}.status-cancelled::before{content:'✖'}.status-delayed{background:linear-gradient(135deg,#ffdb70,#f59e0b);color:#5b3500;border:1px solid rgba(255,255,255,.5);box-shadow:0 10px 22px rgba(245,158,11,.32)}.status-delayed::before{content:'⏰'}.news-panel{display:grid;grid-template-rows:58px 1fr}.news-stage{position:relative;overflow:hidden}.news-item{display:none;position:absolute;inset:0;padding:24px 22px;overflow:hidden;text-align:center}.news-item.active{display:block;animation:fade .45s ease}.news-item h3{font-size:clamp(18px,1.6vw,28px);line-height:1.75;margin:0 0 14px;color:#173b80;text-align:center}.news-item p{font-size:clamp(14px,1.05vw,19px);line-height:2.05;margin:0;color:#263751;white-space:pre-line;text-align:center}.empty-state{height:100%;display:grid;place-items:center;text-align:center;color:#738197;padding:30px}.display-footer{display:flex;align-items:center;justify-content:center;gap:14px;color:#cfddfa;padding:0 8px;font-size:12px;text-align:center}.display-footer .dot{width:7px;height:7px;border-radius:50%;background:#52d69a;box-shadow:0 0 12px #52d69a}.display-footer .last-update{margin-right:auto}@keyframes fade{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(max-width:1200px){
body{overflow:auto}
.display{height:auto;min-height:calc(100vh - 44px)}
.display-main{grid-template-columns:1fr}
.news-panel{min-height:250px}
.schedule-panel{min-height:560px;overflow:hidden}
.clock-card{min-width:0}
.schedule-page{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9fb3cf #eef3f9;padding-bottom:14px}
.schedule-page::-webkit-scrollbar{height:10px}
.schedule-page::-webkit-scrollbar-track{background:#eef3f9;border-radius:999px}
.schedule-page::-webkit-scrollbar-thumb{background:#9fb3cf;border-radius:999px;border:2px solid #eef3f9}
.schedule-table{min-width:1080px;height:auto;min-height:100%;table-layout:fixed}
.schedule-table thead th,.schedule-table tbody td{font-size:12px}
}
@media(max-width:700px){
body{padding:10px}
.display{height:auto;gap:10px}
.display-header{align-items:center;flex-direction:column;padding:14px 12px}
.title-wrap,.clock-card{width:100%;text-align:center}
.clock-card{margin-right:0}
.panel-head{position:relative;padding:0 12px}
.page-indicator{position:absolute;left:12px;margin:0;font-size:10px}
.schedule-panel{min-height:545px;border-radius:16px}
.schedule-page{padding:0 8px 16px}
.schedule-table{min-width:980px;border-spacing:0 6px}
.schedule-table thead th{font-size:11px;padding:9px 6px;white-space:nowrap}
.schedule-table tbody td{font-size:11px;padding:10px 6px;white-space:normal;line-height:1.75}
.status-pill{min-width:82px;padding:6px 9px;font-size:10px}
.news-panel{min-height:280px;border-radius:16px}
.news-item{padding:20px 16px}
.display-footer{justify-content:center;flex-wrap:wrap;text-align:center}
.display-footer .last-update{width:100%;margin-right:0;text-align:center}
}
@media(max-width:430px){
.title-wrap h1{font-size:23px;line-height:1.7}
.clock{font-size:34px}
.jalali-date{font-size:12px}
.schedule-table{min-width:930px}
}
