/* Safank Platform desktop skin (v22): YouTube-style Home on PC only (min-width:1001px).
   Dark mode = black (#0f0f0f), light mode = white (#fff), like real YouTube. */
@media (min-width:1001px){
 body.dyt{--bg:#0f0f0f;--card:#0f0f0f;--card2:#272727;--ink:#f1f1f1;--mute:#aaaaaa;--line:#303030;background:#0f0f0f!important;color:#f1f1f1!important;font-family:Roboto,"Segoe UI",Arial,sans-serif!important}
 html[data-theme=light] body.dyt{--bg:#ffffff;--card:#ffffff;--card2:#f2f2f2;--ink:#0f0f0f;--mute:#606060;--line:#e5e5e5;background:#ffffff!important;color:#0f0f0f!important}
 body.dyt{padding-bottom:0!important}
 body.dyt .sk-nav,body.dyt #messengerFab,body.dyt .messenger-fab{display:none!important}

 /* ---------- Top bar (YouTube masthead) ---------- */
 body.dyt .top{position:sticky;top:0;z-index:60;height:56px;display:flex;align-items:center;gap:10px;padding:0 16px;background:var(--bg)!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
 body.dyt .top .hlinks,body.dyt .top .sp,body.dyt .top .ib,body.dyt .top .sk-icon{display:none!important}
 .dyt-burger{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:50%;background:none;color:var(--ink);display:grid;place-items:center;cursor:pointer}
 .dyt-burger:hover{background:var(--card2)}
 .dyt-burger svg{width:24px;height:24px}
 body.dyt .top .brand,body.dyt .top .brand span,body.dyt .top .brand b{display:flex;align-items:center;text-decoration:none;padding:4px 8px;color:var(--ink)!important}
 .dyt-logo{display:flex;align-items:center;gap:6px}
 .dyt-logo>svg{width:30px;height:30px;flex:0 0 30px}
 .dyt-name{font-size:20px;font-weight:700;letter-spacing:-.5px;color:var(--ink);font-family:Roboto,"Segoe UI",Arial,sans-serif}
 .dyt-name sup{font-size:11px;font-weight:500;color:var(--mute);margin-left:3px;letter-spacing:0}
 .dyt-center{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:0 20px}
 .dyt-search{display:flex;width:min(600px,100%);height:40px}
 .dyt-swrap{flex:1;display:flex;align-items:center;border:1px solid var(--line);border-radius:20px 0 0 20px;padding:0 16px;background:var(--bg);min-width:0}
 .dyt-swrap:focus-within{border-color:#1c62b9}
 .dyt-swrap input{flex:1;min-width:0;height:38px;border:0;outline:none;background:none;color:var(--ink);font-size:16px;font-family:inherit}
 .dyt-swrap input::placeholder{color:var(--mute)}
 .dyt-sgo{width:64px;flex:0 0 64px;border:1px solid var(--line);border-left:0;border-radius:0 20px 20px 0;background:var(--card2);color:var(--ink);display:grid;place-items:center;cursor:pointer}
 .dyt-sgo svg{width:22px;height:22px}
 .dyt-mic{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:50%;background:var(--card2);color:var(--ink);display:grid;place-items:center;cursor:pointer}
 .dyt-mic svg{width:22px;height:22px}
 .dyt-right{display:flex;align-items:center;gap:10px;flex:0 0 auto}
 .dyt-create{display:flex;align-items:center;gap:7px;height:36px;padding:0 15px;border-radius:18px;background:var(--card2);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;font-family:inherit}
 .dyt-create:hover{filter:brightness(1.15)}
 html[data-theme=light] .dyt-create:hover{filter:brightness(.95)}
 .dyt-create svg{width:20px;height:20px}
 .dyt-ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--ink);text-decoration:none}
 .dyt-ic:hover{background:var(--card2)}
 .dyt-ic svg{width:24px;height:24px}
 .dyt-account{display:flex;align-items:center;justify-content:center;min-height:40px;margin-left:6px;flex:0 0 auto;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
 .dyt-account.is-member{width:32px}
 .dyt-account img,.dyt-account #dytInitial{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--card2)}
 .dyt-account #dytInitial{display:flex;align-items:center;justify-content:center}
 .dyt-account [hidden]{display:none!important}
 .dyt-account:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

 /* ---------- Mini sidebar (Home / Shorts / Subscriptions / You) ---------- */
 .dyt-side{position:fixed;left:0;top:56px;bottom:0;width:74px;z-index:55;display:flex;flex-direction:column;gap:2px;padding:6px 3px;background:var(--bg);overflow-y:auto;scrollbar-width:none}
 .dyt-side::-webkit-scrollbar{display:none}
 .dyt-side a{display:flex;flex-direction:column;align-items:center;gap:7px;padding:16px 0 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:10px;font-weight:500;font-family:Roboto,"Segoe UI",Arial,sans-serif}
 .dyt-side a:hover{background:var(--card2)}
 .dyt-side a svg{width:24px;height:24px}
 .dyt-side a.on{font-weight:700}
 body.dyt main.wrap{margin-left:74px;max-width:none;padding:0 28px 60px}

 /* ---------- Chips (category filters) ---------- */
 body.dyt .tabs{position:sticky;top:56px;z-index:50;background:var(--bg)!important;padding:12px 0;gap:8px}
 body.dyt .tab{background:var(--card2)!important;color:var(--ink)!important;border:0!important;border-radius:8px!important;padding:8px 13px!important;font-size:14px!important;font-weight:500!important}
 body.dyt .tab:hover{filter:brightness(1.2)}
 html[data-theme=light] body.dyt .tab:hover{filter:brightness(.93)}
 body.dyt .tab.on{background:var(--ink)!important;color:var(--bg)!important}
 html[data-theme=light] body.dyt .tab.on{background:#0f0f0f!important;color:#fff!important}
 body.dyt .tab .sk-tic{display:none}

 /* ---------- Video grid & cards ---------- */
 body.dyt .grid{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:26px 16px}
 body.dyt .thumb{border-radius:12px}
 body.dyt .yt:hover .thumb img,body.dyt .yt:hover .thumb video{transform:none}
 body.dyt .meta b{font-size:16px;font-weight:500;color:var(--ink)}
 body.dyt .meta small{color:var(--mute);font-size:13px}
 body.dyt .sec h2{font-size:20px;font-weight:700;color:var(--ink)}
 body.dyt .sec small{color:var(--mute)}
 body.dyt .feat{border-radius:16px}
 body.dyt .poster{border-radius:12px}
 body.dyt .sh{border-radius:12px}
 body.dyt .post{background:var(--card);border:1px solid var(--line);border-radius:14px}
 body.dyt .stories{padding-top:16px}

 /* ---------- Dark/light hard overrides (beat theme.js !important rules) ---------- */
 html[data-theme=light] body.dyt,html[data-theme=light] body.dyt .top{background:#ffffff!important;color:#0f0f0f!important}
 html[data-theme=light] body.dyt .tab{background:#f2f2f2!important;color:#0f0f0f!important;border:0!important}
 html[data-theme=light] body.dyt .post{background:#ffffff!important;border-color:#e5e5e5!important}
 html[data-theme=light] body.dyt input{background:#ffffff!important;color:#0f0f0f!important;border-color:#e5e5e5!important}
 html[data-theme=light] body.dyt p,html[data-theme=light] body.dyt .small,html[data-theme=light] body.dyt .muted{color:#606060!important}
 html[data-theme=dark] body.dyt,html[data-theme=dark] body.dyt .top{background:#0f0f0f!important;color:#f1f1f1!important}
}
