@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#101d35;--navy2:#172945;--ink:#172238;--muted:#7c8798;--line:#e7ebf1;--bg:#f5f7fb;--blue:#4268e8;--cyan:#73d8d0}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:#fff;padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 36px}.brand b{display:block;font:800 13px Manrope;letter-spacing:1px}.brand small{display:block;color:#8fa2bf;font-size:10px;letter-spacing:2px;margin-top:4px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#7de0d2,#5277f1);display:grid;place-items:center;color:#10213d;font:800 23px Manrope;flex:none}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:13px 14px;border-radius:10px;color:#aab8cc;font-weight:600}.sidebar nav a i{font-style:normal;display:inline-block;width:27px;color:#8ca5d2;font-size:17px}.sidebar nav a.active,.sidebar nav a:hover{background:#263957;color:#fff}.side-bottom{margin-top:auto;color:#8fa2bf;font-size:12px;padding:12px}.side-bottom a{display:block;color:#fff;margin-top:22px}.online{display:inline-block;width:7px;height:7px;border-radius:50%;background:#65d6b0;margin-right:8px}.main{margin-left:248px;padding:30px 42px;max-width:1700px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#8c98aa}.topbar h2{font:800 25px Manrope;margin:5px 0}.user-chip{display:flex;align-items:center;gap:9px;font-weight:600}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e0e8ff;color:#3658be}.hero{background:linear-gradient(115deg,#12223d,#1b3557 65%,#28506b);border-radius:18px;padding:34px 40px;color:#fff;display:flex;justify-content:space-between;min-height:250px;overflow:hidden;position:relative}.hero .pill{font-size:10px;letter-spacing:1.3px;color:#91e2d7;font-weight:700}.hero h1{font:800 34px/1.15 Manrope;margin:18px 0 10px}.hero h1 em{font-style:normal;color:#79ddd1}.hero p{color:#b6c4d7;max-width:470px;line-height:1.7;margin-bottom:20px}.hero-art{width:260px;position:relative;display:grid;place-items:center}.orb{position:absolute;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,#6cdbd0aa,#416ce844 60%,transparent 70%)}.paper{position:relative;width:142px;height:176px;background:#f7fbff;border-radius:9px;padding:20px;color:#233858;box-shadow:0 20px 50px #0005;transform:rotate(7deg)}.paper b{font:800 20px Manrope;color:#365fe1}.paper div{height:6px;background:#dce4f0;border-radius:8px;margin-top:13px}.paper div:nth-child(3){width:75%}.paper div:nth-child(4){width:90%}.paper small{display:block;color:#5975b7;font-size:9px;letter-spacing:2px;margin-top:25px}.btn{border:1px solid #dce2eb;background:#fff;border-radius:8px;padding:10px 15px;font:700 12px 'DM Sans';cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#34425b}.btn:hover{filter:brightness(.97)}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.dark{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.full{width:100%;margin-top:12px}.btn.small{padding:8px 11px;font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 34px}.stat,.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px}.stat span,.stat small{display:block;color:var(--muted);font-size:12px}.stat b{display:block;font:800 27px Manrope;margin:8px 0 2px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-head h3,.panel h3{font:800 17px Manrope;margin:6px 0}.text-link{color:#4268e8;font-weight:700;font-size:12px}.article-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.article-row{padding:17px 19px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.article-row:last-child{border:0}.article-icon{width:38px;height:38px;border-radius:10px;background:#edf2ff;color:#5575db;display:grid;place-items:center;font-size:18px;flex:none}.article-info{flex:1;min-width:0}.article-info h4{font:700 13px Manrope;margin:5px 0;line-height:1.5}.article-info p{font-size:11px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{font-size:10px;color:#8c98aa}.status{font-size:10px;padding:6px 9px;border-radius:20px;background:#f0f2f6;color:#687487;white-space:nowrap}.status.new{background:#fff4df;color:#a46a10}.status.draft{background:#edf1ff;color:#4665c8}.status.ready{background:#e6f7f1;color:#218467}.status.published{background:#e7f5eb;color:#34814b}.empty{text-align:center;padding:45px;color:#8792a3;background:#fff;border:1px solid var(--line);border-radius:13px}.empty div{font-size:32px}.empty h3{color:#34425b}.notice{padding:12px 15px;background:#eaf5ff;border:1px solid #d4e8ff;color:#285b92;border-radius:9px;margin-bottom:17px;font-size:12px;line-height:1.6}.notice.error{background:#fff0f0;color:#a33}.filter,.inline-form{display:flex;gap:10px;margin:15px 0}.filter input{flex:1}input,textarea,select{width:100%;border:1px solid #dfe4ec;border-radius:8px;padding:11px 12px;background:#fff;color:#26344a;font:13px 'DM Sans';outline:none}input:focus,textarea:focus,select:focus{border-color:#7890ed;box-shadow:0 0 0 3px #4268e814}label{display:block;font-size:11px;color:#59677c;font-weight:700;margin:14px 0}label input,label textarea,label select{display:block;margin-top:7px}textarea{resize:vertical;line-height:1.6}.editor-grid,.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.panel{line-height:1.7}.panel p{font-size:12px;color:#69778b}.panel .meta{font-size:10px}.top-gap{margin-top:18px}.source-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.source-row:last-child{border:0}.source-row div{flex:1;min-width:0}.source-row small{display:block;color:#8994a5;font-size:10px;overflow-wrap:anywhere}.inline-form input{min-width:0}.steps{padding-left:19px;color:#5e6d82;font-size:12px}.steps li{padding:7px 0}.muted{color:#8490a2!important}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#101d35,#263f65)}.login-card{background:#fff;border-radius:18px;padding:35px;width:min(420px,92vw);box-shadow:0 25px 70px #0004}.login-card .brand-mark{margin-bottom:17px}.login-card h1{font:800 23px Manrope;margin:0}.login-card p{color:#8390a3;font-size:12px;margin:7px 0 25px}.login-card label{margin:15px 0}hr{border:0;border-top:1px solid var(--line);margin:22px 0}
@media(max-width:950px){.sidebar{width:205px}.main{margin-left:205px;padding:25px}.stats{grid-template-columns:repeat(2,1fr)}.editor-grid,.settings-grid{grid-template-columns:1fr}}@media(max-width:650px){.sidebar{position:static;width:auto;padding:12px 14px}.brand{padding:0 4px 12px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap;padding:9px 11px;font-size:11px}.sidebar nav a i{display:none}.side-bottom{display:none}.main{margin:0;padding:18px 14px}.topbar{margin-bottom:18px}.hero{padding:25px 22px;min-height:0}.hero h1{font-size:27px}.hero-art{display:none}.stats{gap:9px}.stat{padding:14px}.stat b{font-size:23px}.article-row{gap:9px;flex-wrap:wrap}.article-info{flex-basis:calc(100% - 55px)}.article-row .status{margin-left:47px}.filter,.inline-form{flex-wrap:wrap}.filter input,.inline-form input{flex:1 1 100%}.user-chip{font-size:11px}}

/* News Scraper AI 2.0 */
.title-options{background:#f7f9ff;border:1px solid #e2e9ff;border-radius:10px;padding:12px;margin:10px 0 16px}
.title-options>b{display:block;font-size:12px;margin-bottom:8px;color:#314a86}
.title-option{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e5eaf5;padding:8px 0;margin:0;font-size:11px;color:#43516a}
.title-option span{flex:1}
.notice.warning{background:#fff8e8;border-color:#f4e3b9;color:#79571a}
.notice ul{margin:7px 0 0;padding-left:20px}
.trend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.trend-card .trend-number{font:800 28px Manrope;color:#4268e8}
.trend-card h3{margin:2px 0 0}
.trend-samples{display:grid;gap:8px;margin-top:14px}
.trend-samples a{font-size:11px;color:#50617c;border-top:1px solid #edf0f5;padding-top:8px;line-height:1.5}
@media(max-width:900px){.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.trend-grid{grid-template-columns:1fr}.title-option{align-items:flex-start;flex-direction:column}}

.status.blogger_draft{background:#e9f0ff;color:#3159a8}

/* News Scraper AI 2.1 — editorial workflow and generated visual */
.workflow-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:8px 0 20px}.workflow-intro h3{font:800 20px Manrope;margin:7px 0}.workflow-intro p{color:#7c8798;font-size:12px;margin:0}.kanban-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.kanban-col{background:#eef1f6;border:1px solid #e2e7ef;border-radius:13px;padding:12px;min-height:280px}.kanban-col>header{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 13px}.kanban-col>header b{display:block;font:800 13px Manrope;color:#25334a}.kanban-col>header small{display:block;color:#8994a5;font-size:10px;margin-top:4px}.kanban-card{background:#fff;border:1px solid #e4e9f0;border-radius:10px;padding:12px;margin-bottom:10px;display:flex;flex-direction:column;gap:9px;box-shadow:0 3px 10px #20314b08}.kanban-card>b{font:700 12px/1.5 Manrope;color:#24324a}.kanban-card>img{width:100%;height:110px;object-fit:cover;border-radius:7px}.kanban-card .btn{align-self:flex-start}.kanban-empty{padding:30px 8px;text-align:center;color:#9aa4b2;font-size:11px;background:#ffffff80;border:1px dashed #d6dde8;border-radius:9px}.generated-preview{margin-top:15px;background:#f2f5fa;padding:9px;border-radius:10px}.generated-preview img{display:block;width:100%;height:auto;border-radius:7px}.generated-preview small{display:block;color:#68778d;font-size:10px;padding:7px 2px 1px}.editor-panel{background:#171d29;color:#eef3fb;border-color:#252f40}.editor-panel .eyebrow{color:#8ea3c7}.editor-panel label{color:#b8c4d8}.editor-panel input,.editor-panel textarea,.editor-panel select{background:#101722;border-color:#344157;color:#eef3fb}.editor-panel .title-options{background:#202b3b;border:1px solid #344157;border-radius:9px;padding:12px;margin-bottom:15px}.editor-panel .title-option{border-color:#344157}.editor-panel .title-option span{color:#e5edf9}.editor-panel .muted,.editor-panel p{color:#aebbd0}
@media(max-width:950px){.kanban-board{grid-template-columns:1fr}.workflow-intro{align-items:flex-start;flex-direction:column}}

/* NEWS SCRAPER AI 2.2 — FULL MODERN UI REFRESH */
:root{--bg:#f3f6fb;--ink:#17243b;--muted:#77849a;--line:#e5eaf2;--navy:#101a2d;--navy2:#172640;--blue:#4969ef;--cyan:#6bd8d0;--surface:#fff;--shadow:0 10px 30px rgba(24,42,74,.06)}
*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:Inter,"DM Sans",system-ui,sans-serif;letter-spacing:-.01em}
.shell{min-height:100vh}.sidebar{width:258px;padding:26px 17px 20px;background:linear-gradient(180deg,#101a2d,#14233d);box-shadow:8px 0 28px rgba(16,26,45,.08);z-index:5}
.brand{padding:2px 10px 38px;gap:13px}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#78e2d6,#6385ff);box-shadow:0 8px 22px rgba(100,133,255,.25)}
.brand b{font-size:12px;letter-spacing:1.3px}.brand small{font-size:9px;letter-spacing:2.1px}.sidebar nav{gap:7px}
.sidebar nav a{position:relative;padding:13px 14px;border-radius:11px;font-size:12px;color:#a8b6cb;transition:.18s}
.sidebar nav a i{width:29px;font-size:16px}.sidebar nav a.active{background:linear-gradient(100deg,rgba(93,124,225,.28),rgba(75,103,170,.13));color:#fff;box-shadow:inset 3px 0 #79dcd3}
.sidebar nav a:hover{background:#203451;color:#fff;transform:translateX(2px)}.side-bottom{font-size:11px;color:#91a3bd}.side-bottom a{color:#e8effb}
.main{margin-left:258px;padding:32px 42px 48px;max-width:1800px}.topbar{margin-bottom:30px}
.topbar .eyebrow,.eyebrow{letter-spacing:2px;font-size:9px;font-weight:800;color:#8290a7}
.topbar h2{font-size:27px;letter-spacing:-.8px;color:#15233b;margin-top:7px}
.user-chip{background:#fff;border:1px solid #e8edf4;border-radius:30px;padding:6px 12px 6px 7px;box-shadow:0 3px 12px #1c2b4608;font-size:12px}
.avatar{background:#e8edff;color:#4969df;font-weight:800}
.hero{min-height:265px;border-radius:20px;padding:38px 42px;background:radial-gradient(circle at 82% 35%,rgba(92,131,207,.30),transparent 28%),linear-gradient(115deg,#101d35,#1b3556 60%,#244a64);box-shadow:0 18px 36px rgba(17,36,65,.12);overflow:hidden}
.hero .pill{display:inline-flex;padding:7px 11px;border:1px solid rgba(111,224,211,.24);border-radius:30px;background:rgba(89,210,195,.08);font-size:9px}
.hero h1{font-size:39px;line-height:1.1;letter-spacing:-1.5px;margin:20px 0 12px}.hero p{font-size:12px;line-height:1.8;color:#bdcadd;max-width:490px}
.hero-art{width:290px}.paper{width:155px;height:190px;border-radius:13px;padding:22px;box-shadow:0 22px 60px #0005;transform:rotate(6deg)}.paper b{font-size:22px}
.btn{border:1px solid #e1e7f0;border-radius:9px;padding:11px 15px;font-size:11px;font-weight:700;transition:all .18s;box-shadow:0 2px 4px rgba(20,35,60,.025)}
.btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(30,50,90,.10)}.btn.primary{background:linear-gradient(135deg,#5275f4,#405fe0);border-color:#4969e9;box-shadow:0 6px 15px rgba(73,105,239,.22)}.btn.dark{background:linear-gradient(135deg,#192a46,#101a2d)}.btn.small{padding:8px 12px}
.stats{gap:16px;margin:22px 0 38px}.stat{padding:21px 22px;border:1px solid #e8edf4;border-radius:15px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.stat:after{content:"";position:absolute;right:-23px;top:-30px;width:90px;height:90px;border-radius:50%;background:#eef2ff;opacity:.8}
.stat span,.stat small{font-size:11px;color:#77849a}.stat span{font-weight:600}.stat b{font-size:30px;letter-spacing:-1px;color:#182943;margin:10px 0 3px;position:relative;z-index:1}
.section-head{margin:32px 0 15px}.section-head h3,.panel h3{font-size:18px;letter-spacing:-.35px;color:#1a2942}.text-link{font-size:11px}
.article-list{border:1px solid #e7ecf3;border-radius:15px;box-shadow:var(--shadow)}.article-row{padding:17px 20px;gap:15px;transition:background .15s}.article-row:hover{background:#fbfcff}
.article-icon{width:41px;height:41px;border-radius:12px;background:linear-gradient(145deg,#edf2ff,#e7edff);color:#5271e7}
.article-info h4{font-size:12px;letter-spacing:-.1px;color:#1e2d46}.article-info p{font-size:10px;line-height:1.6}.meta{font-size:9px;letter-spacing:.1px}
.status{font-weight:700;letter-spacing:.1px;padding:6px 10px}.empty{border:1px dashed #d8e0ec;border-radius:15px;background:#fff;box-shadow:var(--shadow)}
.panel{border:1px solid #e6ebf2;border-radius:15px;box-shadow:var(--shadow);padding:23px}
input,textarea,select{border:1px solid #e0e6ef;border-radius:9px;padding:12px 13px;font-size:12px;background:#fbfcfe}
input:focus,textarea:focus,select:focus{border-color:#8095f5;box-shadow:0 0 0 4px #4969ef13}
label{font-size:11px;color:#52617a;margin:15px 0}.notice{border-radius:10px;padding:13px 16px;font-size:11px}.filter{gap:12px;margin:18px 0}
.source-row{padding:15px 2px}.source-row b{font-size:12px}.login{background:radial-gradient(circle at 20% 20%,#2d4b75,#101a2d 65%)}
.login-card{border:1px solid #e9edf5;border-radius:20px;padding:40px;box-shadow:0 30px 90px #0004}.login-card h1{letter-spacing:-.7px}
.workflow-intro{margin:10px 0 22px}.kanban-board{gap:18px}.kanban-col{padding:15px;border-radius:15px;background:#edf1f7;border:1px solid #e3e9f2;min-height:390px}
.kanban-col>header{padding:5px 4px 15px}.kanban-col>header b{font-size:14px}.kanban-card{padding:14px;border-radius:12px;box-shadow:0 5px 16px rgba(28,44,72,.055);border-color:#e8edf4}
.kanban-card>b{font-size:12px;line-height:1.55}.kanban-card .btn{font-size:10px}
.editor-grid{gap:20px;align-items:start}.editor-grid>.panel{min-width:0}
.editor-panel{background:linear-gradient(160deg,#171f2e,#111925);border:1px solid #29364a;border-radius:16px;box-shadow:0 18px 40px rgba(15,24,39,.18);padding:24px}
.editor-panel h3{color:#f2f6ff}.editor-panel .eyebrow{color:#91a6c8}.editor-panel label{color:#b8c6db}
.editor-panel input,.editor-panel textarea,.editor-panel select{background:#0e1622;color:#eef3fb;border:1px solid #344258;border-radius:9px}
.editor-panel input:focus,.editor-panel textarea:focus{border-color:#728ef1;box-shadow:0 0 0 4px #728ef11b}
.editor-panel .title-options{background:#202b3b;border:1px solid #34445c;border-radius:11px}.editor-panel .title-option{border-color:#34445c}.editor-panel .title-option span{color:#e5edf9}
.editor-panel .muted,.editor-panel p{color:#aebbd0}.generated-preview{background:#202b3b;border:1px solid #34445c;border-radius:12px;padding:11px}
.generated-preview small{color:#b9c6d8}.trend-grid{gap:17px}.trend-card{border-radius:15px;box-shadow:var(--shadow);border:1px solid #e7ecf3}
.trend-card .trend-number{font-size:30px}.settings-grid{gap:20px}.steps li{line-height:1.65}
@media(max-width:1100px){.main{padding:26px 25px}.sidebar{width:230px}.main{margin-left:230px}.hero{padding:32px}.hero-art{width:220px}}
@media(max-width:760px){.sidebar{width:auto;padding:13px 14px}.main{margin:0;padding:18px 14px 35px}.brand{padding:0 4px 12px}
.sidebar nav a.active{box-shadow:inset 0 -2px #79dcd3}.topbar h2{font-size:23px}.hero{padding:25px 22px;border-radius:15px}.hero h1{font-size:31px}
.stats{gap:10px;margin:15px 0 28px}.stat{padding:15px;border-radius:12px}.stat b{font-size:25px}.article-row{padding:14px}.panel{padding:17px}
.editor-grid{grid-template-columns:1fr}.editor-panel{padding:18px}}

/* YouTube Shorts Scraper module */
.yt-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;border-radius:18px;background:linear-gradient(115deg,#101d35,#1c3555 68%,#4b2736);color:#fff;margin-bottom:18px;box-shadow:0 16px 35px #17243b18}
.yt-hero h3{font-size:27px;margin:8px 0}.yt-hero p{font-size:12px;color:#c6d2e4;max-width:620px;line-height:1.7}.yt-mark{width:74px;height:74px;border-radius:22px;background:#ff1738;color:#fff;display:grid;place-items:center;font-size:31px;box-shadow:0 12px 30px #ff17384a}
.yt-stats{margin-top:16px}.yt-controls{margin:18px 0;padding:22px}.yt-controls h3{margin:7px 0;font-size:17px}.yt-search-form{display:flex;gap:10px;margin:16px 0}.yt-search-form input{flex:1;min-width:0}.yt-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#78869c}.yt-meta a{color:#4969ef;font-weight:700}
.yt-note{margin:15px 0;line-height:1.7}.yt-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.yt-video-card{overflow:hidden;border:1px solid #e6ebf2;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(24,42,74,.05)}.yt-thumb{position:relative;display:block;aspect-ratio:16/9;background:#101a2d;overflow:hidden}.yt-thumb img{width:100%;height:100%;object-fit:cover;display:block}.yt-thumb>b{position:absolute;right:9px;bottom:9px;background:#111c;color:#fff;border-radius:5px;padding:4px 6px;font-size:10px}.yt-thumb>span{display:grid;place-items:center;height:100%;color:white;font-size:30px}
.yt-video-body{padding:14px}.yt-video-body h4{font-size:13px;line-height:1.5;margin:7px 0 12px;color:#1b2941}.yt-metrics{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#77849a}.yt-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:14px}.yt-actions form{margin:0}.yt-actions .btn{white-space:nowrap}
@media(max-width:1000px){.yt-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.yt-hero{padding:22px}.yt-hero h3{font-size:23px}.yt-mark{width:55px;height:55px}.yt-video-grid{grid-template-columns:1fr}.yt-search-form{flex-direction:column}.yt-meta{flex-direction:column}.yt-actions{flex-wrap:wrap}}

/* YouTube Shorts Scraper module */
.yt-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;border-radius:18px;background:linear-gradient(115deg,#101d35,#1c3555 68%,#4b2736);color:#fff;margin-bottom:18px;box-shadow:0 16px 35px #17243b18}
.yt-hero h3{font-size:27px;margin:8px 0}.yt-hero p{font-size:12px;color:#c6d2e4;max-width:620px;line-height:1.7}.yt-mark{width:74px;height:74px;border-radius:22px;background:#ff1738;color:#fff;display:grid;place-items:center;font-size:31px;box-shadow:0 12px 30px #ff17384a}
.yt-stats{margin-top:16px}.yt-controls{margin:18px 0;padding:22px}.yt-controls h3{margin:7px 0;font-size:17px}.yt-search-form{display:flex;gap:10px;margin:16px 0}.yt-search-form input{flex:1;min-width:0}.yt-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#78869c}.yt-meta a{color:#4969ef;font-weight:700}
.yt-note{margin:15px 0;line-height:1.7}.yt-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.yt-video-card{overflow:hidden;border:1px solid #e6ebf2;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(24,42,74,.05)}.yt-thumb{position:relative;display:block;aspect-ratio:16/9;background:#101a2d;overflow:hidden}.yt-thumb img{width:100%;height:100%;object-fit:cover;display:block}.yt-thumb>b{position:absolute;right:9px;bottom:9px;background:#111c;color:#fff;border-radius:5px;padding:4px 6px;font-size:10px}.yt-thumb>span{display:grid;place-items:center;height:100%;color:white;font-size:30px}
.yt-video-body{padding:14px}.yt-video-body h4{font-size:13px;line-height:1.5;margin:7px 0 12px;color:#1b2941}.yt-metrics{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#77849a}.yt-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:14px}.yt-actions form{margin:0}.yt-actions .btn{white-space:nowrap}
@media(max-width:1000px){.yt-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.yt-hero{padding:22px}.yt-hero h3{font-size:23px}.yt-mark{width:55px;height:55px}.yt-video-grid{grid-template-columns:1fr}.yt-search-form{flex-direction:column}.yt-meta{flex-direction:column}.yt-actions{flex-wrap:wrap}}


/* Safe reset controls */
.reset-panel{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:28px 0 12px;padding:22px 24px;background:#fff;border:1px solid #f0c9cc;border-left:4px solid #d94855;border-radius:15px;box-shadow:0 8px 25px rgba(24,42,74,.045)}
.reset-copy h3{margin:6px 0 7px;color:#17243b;font-size:17px}.reset-copy p{max-width:720px;margin:0;color:#6f7c90;font-size:12px;line-height:1.7}
.reset-btn{background:#c93645!important;color:#fff!important;border:0}.reset-btn:hover{background:#a92332!important}
.reset-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(8,18,35,.68);padding:18px;align-items:center;justify-content:center}
.reset-modal.open{display:flex}.reset-dialog{position:relative;width:min(100%,480px);padding:27px;background:#fff;border-radius:18px;box-shadow:0 25px 80px #07132655}
.reset-dialog h3{font-size:21px;margin:10px 0;color:#17243b}.reset-dialog p{font-size:13px;line-height:1.7;color:#66758b}
.reset-dialog label{display:block;font-size:12px;margin:18px 0 7px;color:#34445c}.reset-dialog input{width:100%;padding:12px;border:1px solid #cbd4e1;border-radius:9px;font:inherit}
.reset-warning{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#c93645}.reset-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:27px;color:#64748b;cursor:pointer}
.reset-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.reset-actions .btn{cursor:pointer}
@media(max-width:650px){.reset-panel{align-items:stretch;flex-direction:column}.reset-panel .btn{width:100%}.reset-dialog{padding:23px 18px}}
