@font-face { font-family:'YAYOMS Arabic'; src:url('../assets/fonts/ibm-plex-sans-arabic-regular.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:'YAYOMS Arabic'; src:url('../assets/fonts/ibm-plex-sans-arabic-semibold.ttf') format('truetype'); font-style:normal; font-weight:600; font-display:swap; }
:root {
  --canvas:#050708; --nav:#0A0D0F; --surface:#121719; --elevated:#1B2226;
  --accent:#00E6D8; --accent-light:#19F0E2; --accent-dark:#00B8AE;
  --text:#F4F7F7; --secondary:#B7BDC1; --muted:#7F878D;
  --screen-width:1920px; --screen-height:1080px; --sidebar-width:380px;
  --safe:64px; --radius:12px; --nav-height:76px;
  --font-title:52px; --font-section:30px; --font-nav:28px; --font-body:27px; --font-meta:22px;
}
* { box-sizing:border-box; }
html,body { width:var(--screen-width); height:var(--screen-height); margin:0; overflow:hidden; background:var(--canvas); color:var(--text); font-family:Arial,'YAYOMS Arabic',Tahoma,sans-serif; }
html[lang=ar] { font-family:'YAYOMS Arabic',Arial,Tahoma,sans-serif; }
body { font-family:inherit; }
.language-button { font-family:'YAYOMS Arabic',Arial,sans-serif; }
button { font:inherit; color:inherit; cursor:default; }
.tv-shell { display:flex; width:var(--screen-width); height:var(--screen-height); }
.sidebar { flex:0 0 var(--sidebar-width); height:100%; padding:60px 28px 40px; background:var(--nav); }
.brand-lockup { display:block; width:246px; height:92px; object-fit:contain; margin:0 auto; }
.brand-tagline { color:var(--muted); text-align:center; font-size:var(--font-meta); line-height:1.6; margin:16px 0 48px; }
.navigation { display:flex; flex-direction:column; }
.nav-item { display:flex; align-items:center; flex:0 0 var(--nav-height); width:100%; height:var(--nav-height); margin-bottom:8px; padding:0 22px; border:2px solid transparent; border-radius:var(--radius); background:transparent; text-align:inherit; color:var(--secondary); }
.nav-item .icon { flex:0 0 28px; width:28px; height:28px; }
[dir=ltr] .nav-item .icon { margin-right:18px; } [dir=rtl] .nav-item .icon { margin-left:18px; }
.nav-label { white-space:nowrap; font-size:var(--font-nav); line-height:1.6; }
.icon { fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.nav-item.selected { background:var(--surface); color:var(--accent); }
.nav-item:focus { color:var(--text); border-color:var(--accent); background:var(--elevated); }
:focus { outline:3px solid var(--accent); outline-offset:4px; }
.nav-item:focus { outline:none; box-shadow:inset 4px 0 var(--accent); }
[dir=rtl] .nav-item:focus { box-shadow:inset -4px 0 var(--accent); }
.content { position:relative; flex:1 1 auto; min-width:0; height:100%; padding:58px var(--safe) 100px; }
.page-header { display:flex; justify-content:space-between; align-items:center; height:116px; margin-bottom:32px; }
.eyebrow { color:var(--accent); font-size:20px; line-height:1.5; margin:0 0 10px; letter-spacing:2px; }
[dir=rtl] .eyebrow { letter-spacing:0; }
.page-title { margin:0; font-size:var(--font-title); font-weight:600; line-height:1.4; }
.welcome { padding:34px 40px; margin-bottom:32px; background:var(--surface); border:1px solid var(--elevated); border-radius:var(--radius); }
[dir=ltr] .welcome { border-left:3px solid var(--accent-dark); } [dir=rtl] .welcome { border-right:3px solid var(--accent-dark); }
.welcome-title { margin:0 0 10px; font-size:44px; line-height:1.4; font-weight:600; }
.welcome-description { color:var(--secondary); font-size:var(--font-body); line-height:1.6; margin:0; }
.pending { color:var(--muted); font-size:var(--font-meta); line-height:1.6; margin:18px 0 0; }
.content-section { margin-bottom:28px; }
.section-title { margin:0 0 18px; font-size:var(--font-section); line-height:1.4; font-weight:500; }
.card-row { display:flex; margin:0 -10px; }
.placeholder-card { display:flex; flex-direction:column; flex:1 1 0; min-width:0; height:148px; margin:0 10px; padding:0; border:2px solid var(--elevated); border-radius:var(--radius); background:var(--nav); overflow:hidden; }
.placeholder-card:focus { border-color:var(--accent); background:var(--surface); }
.skeleton-picture { display:block; width:100%; height:82px; background:var(--surface); border-bottom:1px solid var(--elevated); }
.skeleton-lines { display:block; padding:16px 18px; width:100%; }
.skeleton-line { display:block; width:62%; height:6px; background:var(--elevated); margin-bottom:10px; border-radius:3px; }
.skeleton-line.short { width:34%; height:4px; }
.destination-empty { position:absolute; top:304px; width:calc(100% - var(--safe) * 2); height:492px; border:1px solid var(--elevated); border-radius:var(--radius); background:var(--nav); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px; }
[dir=ltr] .destination-empty { left:var(--safe); } [dir=rtl] .destination-empty { right:var(--safe); }
.destination-empty>.icon { width:58px; height:58px; color:var(--accent-dark); margin-bottom:24px; }
.empty-title { font-size:38px; line-height:1.5; margin:0 0 12px; font-weight:500; }
.empty-description { font-size:var(--font-body); color:var(--secondary); margin:0; line-height:1.6; }
.empty-status { color:var(--muted); font-size:var(--font-meta); margin-top:32px; }
.shell-footer { position:absolute; bottom:40px; left:var(--safe); right:var(--safe); display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:var(--font-meta); height:38px; }
.remote-hints { display:flex; align-items:center; }
[dir=ltr] .remote-hints>span { margin-left:16px; } [dir=rtl] .remote-hints>span { margin-right:16px; }
.enter-key { font-size:16px; border:1px solid var(--muted); border-radius:5px; padding:5px; }
.back-key { font-size:32px; direction:ltr; unicode-bidi:isolate; }
.dev-tools { display:flex; align-items:center; }
.dev-badge { color:var(--muted); font-size:17px; margin:0 20px; }
.language-button { border:1px solid var(--elevated); border-radius:8px; padding:12px 20px; background:var(--surface); font-size:24px; }
.modal-overlay { position:absolute; z-index:10; left:0; top:0; width:100%; height:100%; background:rgba(5,7,8,.94); display:flex; align-items:center; justify-content:center; }
.exit-box { width:800px; background:var(--surface); border:1px solid var(--elevated); border-radius:var(--radius); padding:56px; }
.exit-title { font-size:42px; margin:0 0 20px; line-height:1.5; }
.exit-description { font-size:var(--font-body); color:var(--secondary); margin:0 0 44px; }
.exit-actions { display:flex; }
.dialog-button { background:var(--elevated); border:2px solid transparent; border-radius:8px; min-width:220px; padding:18px 30px; margin:0 12px; font-size:28px; }
.dialog-button:focus { background:var(--accent); color:var(--canvas); }
/* No flex gap, logical inset, :focus-visible, resize observers or modern color APIs. */
