:root{
  --hdr:#232831; --text:#e7e9ee; --accent:#f0b429;
  --line:#1f2530; --pill:#2a303a;
}
/* Header */
.header{position:sticky;top:0;z-index:30;background:var(--hdr);color:#fff;border-bottom:1px solid #0008}
.appbar{padding:10px 14px;display:flex;align-items:center;gap:12px}
.logo{display:flex;align-items:center;gap:6px;color:#fff;text-decoration:none;font-weight:900}
.logo img{height:36px}
.grow{flex:1}

/* Hamburger */
.hamburger{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:none;background:transparent;cursor:pointer}
.hamburger .bars{width:28px;height:24px;position:relative}
.hamburger .bars span{position:absolute;left:0;height:4px;border-radius:3px;background:#fff}
.hamburger .bars span:nth-child(1){top:0;width:26px}
.hamburger .bars span:nth-child(2){top:10px;width:20px}
.hamburger .bars span:nth-child(3){bottom:0;width:14px}

/* Bildirim */
.notif{width:44px;height:44px;border-radius:12px;border:none;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}
.notif .dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:999px;background:#fff;border:1px solid #0005}

/* Bildirim paneli */
.npanel{position:absolute;right:14px;top:58px;width:min(92vw,720px);background:#0f1319;color:#e7e9ee;border:1px solid #1f2530;border-radius:14px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.45);display:none;z-index:35}
.npanel.open{display:block}
.npanel .nhead{padding:14px 16px;border-bottom:1px solid #202633;font-weight:900;letter-spacing:.06em;color:#cfd3da}
.nlist{max-height:min(70vh,560px);overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.nlist::-webkit-scrollbar{display:none}
.nitem{display:grid;grid-template-columns:92px 1fr 72px;align-items:center;gap:14px;padding:12px 14px;border-bottom:1px solid #1a212d;text-decoration:none}
.nthumb{width:92px;height:52px;border-radius:10px;object-fit:cover;background:#131821}
.ntitle{font-size:18px;font-weight:900;color:#fff}
.ntag{justify-self:end;background:#0d2745;border:1px solid #244769;color:#cfe6ff;padding:7px 12px;border-radius:999px;font-weight:900;font-size:13px}
.nfoot{padding:12px 14px;background:#0d1117;border-top:1px solid #1a212d;text-align:center}
.nclose{appearance:none;background:#1c2330;border:1px solid #2a3343;color:#e7e9ee;border-radius:10px;padding:9px 12px;font-weight:900;cursor:pointer}

/* Drawer */
.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);backdrop-filter:saturate(140%) blur(2px);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:25}
.drawer-overlay.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;left:0;height:100dvh;width:min(86vw,420px);max-width:92vw;background:#11141a;color:#fff;transform:translateX(-100%);transition:transform .25s ease;z-index:26;display:flex;flex-direction:column}
.drawer.open{transform:none}
.drawer .mhead{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #1f2430}
.drawer .mclose{appearance:none;background:transparent;border:none;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.drawer .mwrap{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}
.drawer a{color:#e7e9ee;text-decoration:none}

.menu-section{padding:14px 18px;border-bottom:1px solid #1d222d}
.menu-title{font-size:28px;font-weight:900;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;user-select:none}
.menu-title .caret{transform:rotate(-90deg);transition:transform .2s ease;opacity:.8}
.menu-section.open .menu-title .caret{transform:rotate(0)}
.menu-body{margin-top:10px;display:none}
.menu-section.open .menu-body{display:block}
.menu-link{display:block;font-size:22px;font-weight:800;padding:10px 0}
.menu-hr{height:1px;background:#222733;margin:12px 0 0}

/* Kanallar listesi */
.chan-list{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-direction:column;gap:8px}
.chan-item{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;padding:8px 0;border-bottom:1px dashed #1e2430}
.chan-item a{color:#fff;text-decoration:none}
.chan-item img{height:18px;background:transparent!important}
.chan-more{display:flex;align-items:center;justify-content:center;margin:10px 0 0}
.chan-more button{background:#1d2330;color:#e7e9ee;border:1px solid #2a3140;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}

/* Drawer Arama */
.searchBox{position:relative;margin:10px 0 6px}
#globalSearch{width:100%;border-radius:12px;border:1px solid #2a3140;background:#0f141b;color:#fff;font-size:18px;font-weight:800;padding:14px 14px;outline:none}
.searchResults{position:relative;margin-top:8px}
.searchPanel{position:absolute;left:0;right:0;top:0;background:#0d1117;border:1px solid #1f2533;border-radius:12px;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.45);display:none;z-index:3;max-height:60vh;overflow:auto}
.searchPanel.open{display:block}
.sItem{display:grid;grid-template-columns:64px 1fr 86px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #16202a;text-decoration:none;color:#e7e9ee}
.sItem:hover{background:#101722}
.sThumb{width:64px;height:36px;border-radius:8px;object-fit:cover;background:#0f141b}
.sTitle{font-weight:900}
.sTag{text-align:right;font-size:12px;background:#243041;border:1px solid #35465f;color:#cfe6ff;border-radius:999px;padding:6px 10px;font-weight:900}
.sEmpty{padding:12px;color:#9aa3b2}