/* Original ADSON standalone preview CSS - visual reference preserved. */

:root{color-scheme:light dark;--bg:light-dark(#f7f8fa,#0f0f0f);--panel:light-dark(#fff,#181818);--soft:light-dark(#eceff3,#272727);--text:light-dark(#17191c,#f4f4f4);--muted:light-dark(#68717d,#aaa);--line:light-dark(#e0e3e8,#303030);--accent:#ff3131;--green:#16a34a;--blue:#2563eb}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}.app{min-height:100vh}.topbar{height:64px;position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:18px;padding:0 20px;background:var(--panel);border-bottom:1px solid var(--line)}.hamb{font-size:24px;background:transparent;color:var(--text);padding:6px 9px;border-radius:9px}.brand{display:flex;align-items:center;gap:8px;font-weight:850;letter-spacing:-.7px;font-size:19px;white-space:nowrap}.logo{width:30px;height:22px;background:var(--accent);border-radius:7px;display:grid;place-items:center;color:white;font-size:13px}.search{display:flex;max-width:590px;flex:1;margin:auto}.search input{width:100%;min-width:0;padding:11px 16px;border:1px solid var(--line);border-radius:24px 0 0 24px;background:var(--bg);color:var(--text);outline:none}.search button{padding:0 20px;border:1px solid var(--line);border-left:0;border-radius:0 24px 24px 0;background:var(--soft);color:var(--text)}.top-actions{display:flex;align-items:center;gap:10px}.btn{padding:10px 14px;border-radius:22px;background:var(--soft);color:var(--text);font-weight:650}.btn.primary{background:var(--accent);color:#fff}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:#fff;font-weight:800}.layout{display:flex}.sidebar{width:230px;flex-shrink:0;padding:14px 10px;position:sticky;top:64px;height:calc(100vh - 64px);overflow:auto;background:var(--bg)}.nav{display:flex;align-items:center;gap:16px;padding:12px 14px;border-radius:12px;margin-bottom:3px;font-weight:560;color:var(--text);cursor:pointer}.nav:hover,.nav.active{background:var(--soft)}.nav .ico{width:22px;text-align:center;font-size:18px}.nav-divider{border:0;border-top:1px solid var(--line);margin:14px 10px}.small{font-size:12px;color:var(--muted);padding:12px}.main{flex:1;min-width:0;padding:20px 24px 60px}.chips{display:flex;gap:9px;overflow:auto;padding:0 0 20px;scrollbar-width:none}.chip{white-space:nowrap;border-radius:9px;padding:8px 14px;background:var(--soft);color:var(--text);font-weight:600}.chip.active{background:var(--text);color:var(--bg)}.page-title{font-size:23px;font-weight:800;margin:4px 0 18px}.notice{background:light-dark(#fff6df,#302719);border:1px solid light-dark(#f0d58e,#57431d);padding:11px 14px;border-radius:12px;margin:0 0 18px;color:light-dark(#694c08,#ffdf91);font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 17px}.video-card{min-width:0;cursor:pointer}.thumb{aspect-ratio:16/9;border-radius:13px;overflow:hidden;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#1f3b73,#6dd5ed);color:white}.thumb .art{font-size:clamp(30px,4vw,56px);filter:drop-shadow(0 5px 8px #0005)}.thumb .tag{position:absolute;right:9px;bottom:8px;background:#111d;color:#fff;padding:3px 6px;border-radius:5px;font-size:11px}.thumb .play{position:absolute;inset:0;display:grid;place-items:center;background:#0000;transition:.15s;font-size:36px;opacity:0}.video-card:hover .play{opacity:1;background:#0003}.vrow{display:flex;gap:11px;padding-top:11px}.creator{width:38px;height:38px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-weight:800}.vtitle{font-weight:750;line-height:1.35;margin-bottom:5px}.meta{font-size:12px;color:var(--muted)}.hidden{display:none!important}.section{max-width:980px;margin:0 auto}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat{padding:18px;border:1px solid var(--line);background:var(--panel);border-radius:16px}.stat strong{display:block;font-size:24px;margin:5px 0}.muted{color:var(--muted)}.panel{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);margin-bottom:16px}.panel h3{margin:0 0 10px;font-size:18px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field label{font-weight:650;font-size:13px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:11px 12px;border-radius:10px}.field textarea{min-height:90px;resize:vertical}.wide{width:100%}.progress{height:8px;background:var(--soft);border-radius:9px;overflow:hidden;margin:12px 0}.progress span{display:block;height:100%;width:0;background:var(--green);transition:width .2s}.modal-bg{position:fixed;inset:0;background:#0009;z-index:50;display:none;align-items:center;justify-content:center;padding:18px}.modal-bg.open{display:flex}.modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:var(--panel);border-radius:18px;padding:22px;border:1px solid var(--line)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.modal-head h2{margin:0}.close{background:var(--soft);color:var(--text);border-radius:50%;width:34px;height:34px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--bg);padding:11px 17px;border-radius:12px;z-index:80;display:none;max-width:90vw;text-align:center}.mobile-nav{display:none}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:560px}td,th{text-align:left;padding:12px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:12px}.pill{display:inline-block;border-radius:20px;background:var(--soft);padding:4px 8px;font-size:11px;font-weight:700}.pill.demo{background:#fff0c2;color:#75520b}.thumb.c2{background:linear-gradient(135deg,#d97706,#ef4444)}.thumb.c3{background:linear-gradient(135deg,#064e3b,#34d399)}.thumb.c4{background:linear-gradient(135deg,#581c87,#ec4899)}.thumb.c5{background:linear-gradient(135deg,#0f172a,#64748b)}.thumb.c6{background:linear-gradient(135deg,#7c2d12,#fbbf24)}.thumb.c7{background:linear-gradient(135deg,#0e7490,#a5f3fc)}.thumb.c8{background:linear-gradient(135deg,#4c1d95,#818cf8)}.thumb.c9{background:linear-gradient(135deg,#14532d,#bef264)}@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:205px}.main{padding:18px}}@media(max-width:720px){.topbar{height:58px;padding:0 10px;gap:8px}.brand{font-size:16px}.search{max-width:none}.search input{padding:9px 12px}.search button{padding:0 12px}.top-actions .desktop-only{display:none}.sidebar{display:none}.main{padding:14px 12px 84px}.grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:22px}.thumb{border-radius:11px}.cards{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;background:var(--panel);border-top:1px solid var(--line);z-index:20;justify-content:space-around;padding:7px 2px calc(7px + env(safe-area-inset-bottom))}.mobile-nav button{background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;padding:3px 7px}.mobile-nav button b{font-size:19px}.mobile-nav button.active{color:var(--accent)}.notice{font-size:11px}.page-title{font-size:21px}.top-actions .avatar{width:30px;height:30px}.topbar .hamb{padding:4px}.brand .word{display:none}}

/* ADSON professional visual polish */
:root {
  --accent: #e11d48;
  --accent-strong: #be123c;
  --accent-soft: light-dark(#fff1f2, #3b1822);
  --surface-elevated: light-dark(#ffffff, #1b1b1f);
  --surface-muted: light-dark(#f0f2f6, #24242a);
  --border-strong: light-dark(#d6dbe4, #3b3b44);
  --shadow-soft: 0 8px 28px #0000000b;
}
body {
  letter-spacing: -0.01em;
  background-image: radial-gradient(ellipse at top right, light-dark(#fce7f3aa, #4c1d950e), transparent 42%);
}
.topbar {
  box-shadow: 0 2px 12px #00000005;
  backdrop-filter: blur(16px);
}
.brand { letter-spacing: -0.8px; }
.logo {
  width: 32px;
  height: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px #e11d4833;
  background: linear-gradient(135deg, #fb7185, #e11d48 65%, #be123c);
}
.btn, .chip, .nav, .hamb, .mobile-nav button {
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn.primary { background: linear-gradient(135deg, #f43f5e, #be123c); box-shadow: 0 5px 14px #e11d4824; }
.btn.primary:hover { background: linear-gradient(135deg, #e11d48, #9f1239); }
.search input:focus { border-color: #e11d48; box-shadow: 0 0 0 3px #e11d481a; }
.sidebar { padding-top: 18px; }
.nav { font-size: 13px; padding: 12px 13px; border-radius: 11px; }
.nav.active { background: var(--accent-soft); color: var(--accent); font-weight: 750; }
.nav .ico { font-size: 18px; color: currentColor; }
.nav-divider { border-color: var(--line); margin: 16px 10px; }
.main { padding-top: 23px; }
.notice { border-radius: 13px; box-shadow: 0 3px 12px #00000004; }
.chips { padding-bottom: 23px; }
.chip { border: 1px solid transparent; }
.chip:hover { border-color: var(--border-strong); }
.chip.active { background: #202127; color: white; box-shadow: 0 4px 12px #00000012; }
.video-card { border-radius: 14px; }
.thumb { border-radius: 15px; box-shadow: inset 0 0 0 1px #ffffff16; }
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000000 42%, #00000030);
  pointer-events: none;
}
.thumb .art { position: relative; z-index: 1; font-size: clamp(38px, 4.3vw, 62px); }
.thumb .tag { z-index: 2; font-weight: 700; letter-spacing: .02em; padding: 4px 7px; }
.thumb .play { z-index: 2; }
.vrow { padding-top: 12px; }
.creator { box-shadow: inset 0 0 0 1px var(--line); }
.vtitle { font-size: 14px; letter-spacing: -.015em; }
.video-card:hover .thumb { box-shadow: 0 8px 22px #00000018; }
.panel, .stat { border-color: var(--line); box-shadow: var(--shadow-soft); }
.panel { border-radius: 18px; }
.stat { border-radius: 16px; }
.page-title { letter-spacing: -.035em; }
.modal { box-shadow: 0 24px 80px #0000003b; border-radius: 22px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: #e11d48; box-shadow: 0 0 0 3px #e11d481a; }
.mobile-nav {
  padding-top: 8px;
  box-shadow: 0 -8px 28px #00000008;
  backdrop-filter: blur(18px);
}
.mobile-nav button { min-width: 52px; border-radius: 12px; }
.mobile-nav button span { white-space: nowrap; font-size: 10px; }
@media (max-width: 390px) { .mobile-nav button span { font-size: 9px; } .mobile-nav button { min-width: 45px; padding-left: 3px; padding-right: 3px; } }
.mobile-nav button b {
  width: 30px; height: 27px; display: grid; place-items: center;
  border-radius: 9px; font-size: 20px; font-weight: 600;
}
 .mobile-nav button.active b { background: var(--accent-soft); color: var(--accent); }
.mobile-nav button .create-icon {
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  border-radius: 10px;
  box-shadow: 0 4px 12px #e11d4838;
}
.mobile-nav button.active { color: var(--accent); font-weight: 750; }
@media (min-width: 1200px) {
  .main { padding-left: 30px; padding-right: 30px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 22px; }
}
.ad-earn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.earn-ad { min-width: 0; }
.earn-ad video { display: block; }
@media (max-width: 720px) { .ad-earn-list { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .main { padding-top: 13px; }
  .topbar { gap: 7px; }
  .search input { border-radius: 22px 0 0 22px; }
  .search button { border-radius: 0 22px 22px 0; }
  .brand .word { display: inline; font-size: 0; }
  .brand .word::after { content: "ADSON"; font-size: 16px; }
  .grid { gap: 24px; }
  .thumb { border-radius: 13px; }
  .vtitle { font-size: 15px; }
}


