/* YoutubeDesk. Two themes from one set of tokens:
   - The Desk (creator workspace): dark, with a red glow, colour-coded cards and playful accents  -> html[data-theme="dark"]
   - The Super Admin site: light content with a dark sidebar                                       -> no data-theme
   Red is the brand. Everything below reads its colours from the variables in :root / the dark override. */
:root {
  --youtube-red: #FF0000; --youtube-red-dark: #CC0000; --youtube-red-light: #FFECEC;
  --bg: #F9F9F9; --panel: #FFFFFF; --card: #FFFFFF; --surface-hover: #F2F2F2; --input-bg: #FFFFFF; --code-bg: #FAFAFA;
  --text: #0F0F0F; --muted: #606060; --muted-2: #909090;
  --border: #E5E5E5; --border-light: #F0F0F0; --border-btn: #DADADA;
  --success: #2BA640; --warning: #F9AB00; --error: #FF0000; --bad: #FF0000;
  --primary: var(--youtube-red); --primary-dark: var(--youtube-red-dark); --primary-soft: var(--youtube-red-light);
  --yt: var(--youtube-red); --yt-soft: var(--youtube-red-light);
  --link: #CC0000;
  --success-soft: #E9F7EC; --success-text: #1E7A32; --warn-soft: #FEF6E0; --warn: #8A5A00;
  --danger: #CC0000; --danger-soft: #FFECEC;
  --alert-warn-b: #F3DDA6; --alert-warn-t: #6B4600; --alert-err-b: #F2B8B8; --alert-err-t: #8A0000; --alert-ok-b: #BFE3C7; --alert-ok-t: #14591F;
  --lead-bg: #FFF9F9; --toast-bg: #0F0F0F; --overlay: rgba(15, 15, 15, .5);
  --shadow: 0 1px 2px rgba(15, 15, 15, .05), 0 1px 3px rgba(15, 15, 15, .06);
  --radius: 12px; --sidebar: 248px;
}
html[data-theme="dark"] {
  --bg: #0A0A0E; --panel: #0F0F14; --card: #14141A; --surface-hover: #1D1D25; --input-bg: #101015; --code-bg: #0E0E13;
  --text: #F5F5F7; --muted: #A9A9B3; --muted-2: #76767F;
  --border: #25252E; --border-light: #1C1C24; --border-btn: #34343F;
  --link: #FF5C5C; --youtube-red-light: rgba(255, 0, 0, .14);
  --success: #2FD165; --success-soft: rgba(47, 209, 101, .14); --success-text: #56E08A;
  --warn-soft: rgba(249, 171, 0, .14); --warn: #FFC94D; --danger: #FF6B6B; --danger-soft: rgba(255, 0, 0, .14);
  --alert-warn-b: rgba(249, 171, 0, .35); --alert-warn-t: #FFD98A; --alert-err-b: rgba(255, 60, 60, .4); --alert-err-t: #FFB0B0; --alert-ok-b: rgba(47, 209, 101, .35); --alert-ok-t: #9BEBB8;
  --lead-bg: rgba(255, 0, 0, .07); --toast-bg: #26262F; --overlay: rgba(0, 0, 0, .65);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font: 14px/1.5 Roboto, Arial, system-ui, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
html[data-theme="dark"] body { background: radial-gradient(900px 380px at 72% -60px, rgba(255, 0, 0, .22), transparent 70%), radial-gradient(700px 320px at 0% 100%, rgba(255, 0, 0, .07), transparent 70%), var(--bg); background-attachment: fixed; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: 28px; font-weight: 700; } h2 { font-size: 20px; font-weight: 600; } h3 { font-size: 16px; font-weight: 600; } h4 { font-size: 14px; font-weight: 600; }
p { margin: 0 0 8px; } a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: var(--muted-2); }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; } .center { text-align: center; } .right { text-align: right; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mb { margin-bottom: 16px; } .hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; }
.row.top { align-items: flex-start; } .grow { flex: 1; min-width: 0; } .gap-s { gap: 6px; } .gap-l { gap: 20px; }
.stack > * + * { margin-top: 12px; } .stack-s > * + * { margin-top: 6px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); } .g-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--youtube-red); outline-offset: 2px; border-radius: 6px; }
svg { flex: none; }

/* ---- shell */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); background: var(--panel); border-right: 1px solid var(--border); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 40; overflow-y: auto; transition: transform .2s; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 10px rgba(255, 0, 0, .35)); }
.brand .wm b { color: var(--youtube-red); font-weight: 700; }
.nav-group { padding: 10px 12px 2px; }
.nav-label { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted-2); padding: 0 10px 8px; text-transform: uppercase; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-weight: 500; margin-bottom: 4px; border: 1px solid transparent; }
.nav a:hover { background: var(--surface-hover); text-decoration: none; }
.nav a.active { color: var(--youtube-red); background: linear-gradient(90deg, rgba(255, 0, 0, .22), rgba(255, 0, 0, .07)); border-color: rgba(255, 0, 0, .45); box-shadow: 0 0 18px rgba(255, 0, 0, .12); }
html:not([data-theme="dark"]) .nav a.active { background: var(--youtube-red-light); border-color: transparent; box-shadow: none; }
.nav svg { width: 20px; height: 20px; flex: none; }
.sidebar .foot { margin-top: auto; padding: 14px; font-size: 12px; }
.main { margin-left: var(--sidebar); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 68px; background: var(--panel); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; padding: 0 24px; position: sticky; top: 0; z-index: 30; }
html[data-theme="dark"] .topbar { background: rgba(11, 11, 15, .82); backdrop-filter: blur(12px); }
.topbar .title { font-weight: 600; font-size: 17px; }
.menu-btn { display: none; }
.content { padding: 24px; max-width: 1280px; width: 100%; margin: 0 auto; flex: 1; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--youtube-red-light); color: var(--youtube-red-dark); font-weight: 700; display: grid; place-items: center; }
html[data-theme="dark"] .avatar { background: #F1F1F4; color: #15151B; }
.scrim { display: none; }
.tagline { text-align: right; color: var(--muted); font-size: 13px; padding: 22px 4px 4px; }
.tagline .heart { color: var(--youtube-red); margin-left: 6px; }

/* topbar: search, bell, user menu */
.search { position: relative; width: min(440px, 36vw); margin-left: auto; }
.search input[type=text] { padding: 11px 14px 11px 44px; border-radius: 12px; background: var(--card); }
.search > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: inline-flex; }
.iconbtn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.iconbtn:hover { background: var(--surface-hover); }
.bell-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--youtube-red); box-shadow: 0 0 0 2px var(--panel); }
.userchip { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); cursor: pointer; color: var(--text); }
.userchip:hover { background: var(--surface-hover); } .userchip .em { font-weight: 500; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-wrap { position: relative; }
.dd { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: 92vw; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); z-index: 60; padding: 8px; }
.dd.left { left: 0; right: auto; }
.dd .dd-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding: 8px 10px 4px; }
.dd a, .dd button.item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; }
.dd a:hover, .dd button.item:hover { background: var(--surface-hover); text-decoration: none; }
.dd .sub { color: var(--muted); font-size: 13px; } .dd .hr { height: 1px; background: var(--border); margin: 6px 0; }
.dd .empty-s { padding: 16px 10px; color: var(--muted); text-align: center; }

/* ---- components */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
html[data-theme="dark"] .card { background: linear-gradient(180deg, #17171E, #121217); }
.card.flat { box-shadow: none; } .card.tight { padding: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { display: flex; align-items: center; gap: 10px; }
.card-head h2 .ico { color: var(--muted); display: inline-flex; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--border-btn); background: var(--input-bg); color: var(--text); font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; }
html[data-theme="dark"] .btn:not(.primary):not(.yt):not(.outline-red) { background: #1B1B23; }
.btn:hover { background: var(--surface-hover); text-decoration: none; } .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary, .btn.yt { background: linear-gradient(180deg, #FF2B2B, #E30000); border-color: #FF3B3B; color: #fff; box-shadow: 0 6px 18px rgba(255, 0, 0, .28); }
.btn.primary:hover, .btn.yt:hover { background: linear-gradient(180deg, #FF4040, #CC0000); }
.btn.outline-red { background: transparent; border-color: rgba(255, 0, 0, .7); color: var(--youtube-red); } .btn.outline-red:hover { background: rgba(255, 0, 0, .12); }
html:not([data-theme="dark"]) .btn.primary, html:not([data-theme="dark"]) .btn.yt { background: var(--youtube-red); border-color: var(--youtube-red); box-shadow: none; }
.btn.danger { color: var(--danger); border-color: var(--alert-err-b); } .btn.danger:hover { background: var(--danger-soft); }
.btn.ghost { border-color: transparent; background: transparent !important; } .btn.ghost:hover { background: var(--surface-hover) !important; }
.btn.sm { padding: 5px 11px; font-size: 13px; border-radius: 8px; } .btn.lg { padding: 12px 22px; font-size: 15px; }
.btn.block { width: 100%; }
label.field { display: block; font-weight: 500; font-size: 14px; }
label.field > span { display: block; margin-bottom: 5px; } label.field .help { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
.req::after { content: " *"; color: var(--danger); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=datetime-local], input[type=date], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-btn); border-radius: 10px; background: var(--input-bg); }
textarea { min-height: 84px; resize: vertical; } input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255, 0, 0, .25); border-color: var(--youtube-red); }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; accent-color: var(--youtube-red); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--surface-hover); color: var(--muted); }
.badge.blue { background: var(--surface-hover); color: var(--text); }
.badge.green { background: var(--success-soft); color: var(--success-text); }
.badge.red { background: var(--youtube-red-light); color: var(--link); }
.badge.red-solid { background: var(--youtube-red); color: #fff; }
.badge.amber { background: var(--warn-soft); color: var(--warn); }
.badge.gray { background: var(--surface-hover); color: var(--muted); }
.badge.dark { background: var(--text); color: var(--bg); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted-2); } .dot.green { background: var(--success); box-shadow: 0 0 8px rgba(47, 209, 101, .6); } .dot.red { background: var(--bad); } .dot.amber { background: var(--warning); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 14px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--youtube-red); border-bottom-color: var(--youtube-red); }
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 500; padding: 8px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--border-light); vertical-align: middle; } tr:last-child td { border-bottom: 0; }
.stat { display: flex; flex-direction: column; gap: 2px; } .stat .l { order: -1; color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.stat .n { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--text); } .stat .s { color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 36px 20px; color: var(--muted); }
.empty .ico { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; background: var(--surface-hover); display: grid; place-items: center; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: 4px; }
.empty .art { margin: 0 auto 6px; color: var(--muted-2); display: block; }
.alert { padding: 11px 14px; border-radius: 12px; border: 1px solid; font-size: 14px; }
.alert.info { background: var(--surface-hover); border-color: var(--border); color: var(--text); } .alert.warn { background: var(--warn-soft); border-color: var(--alert-warn-b); color: var(--alert-warn-t); }
.alert.error { background: var(--danger-soft); border-color: var(--alert-err-b); color: var(--alert-err-t); } .alert.ok { background: var(--success-soft); border-color: var(--alert-ok-b); color: var(--alert-ok-t); }
.alert.yt { background: var(--youtube-red-light); border-color: var(--alert-err-b); color: var(--alert-err-t); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border-btn); border-top-color: var(--youtube-red); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-hover), var(--border), var(--surface-hover)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; height: 16px; } @keyframes sk { to { background-position: -200% 0; } }
.progress { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; } .progress > div { height: 100%; background: linear-gradient(90deg, #FF5A3C, #FF0000); transition: width .2s; }
.pill-yt { display: inline-flex; align-items: center; gap: 6px; background: var(--youtube-red-light); color: var(--link); font-weight: 500; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.pill-yt::before { content: ""; border: 4px solid transparent; border-left: 7px solid var(--youtube-red); margin-left: 2px; }
.conn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 500; color: var(--text); }
.conn-pill:hover { text-decoration: none; background: var(--surface-hover); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
pre.copy { white-space: pre-wrap; word-wrap: break-word; background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; color: var(--text); }
.cutoff { border: 0; border-top: 2px dashed var(--youtube-red); margin: 6px 0; } .cutoff-l { font-size: 12px; color: var(--link); font-weight: 500; }
.issue { display: flex; gap: 8px; font-size: 13px; padding: 4px 0; } .issue.error { color: var(--danger); } .issue.warn { color: var(--warn); }
.stepper { display: flex; gap: 0; overflow-x: auto; } .step { flex: 1; min-width: 96px; text-align: center; font-size: 13px; color: var(--muted); position: relative; padding-top: 22px; }
.step::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--border); } .step::after { content: ""; position: absolute; top: 0; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--border-btn); }
.step.done { color: var(--success-text); } .step.done::before { background: var(--success); } .step.done::after { background: var(--success); border-color: var(--success); }
.step.now { color: var(--youtube-red); font-weight: 500; } .step.now::after { border-color: var(--youtube-red); box-shadow: 0 0 10px rgba(255, 0, 0, .5); }
.modal-back { position: fixed; inset: 0; background: var(--overlay); display: grid; place-items: center; z-index: 100; padding: 16px; backdrop-filter: blur(3px); }
.modal { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.modal.wide { max-width: 760px; }
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--toast-bg); color: #fff; padding: 11px 15px; border-radius: 10px; box-shadow: var(--shadow); max-width: 360px; font-size: 14px; border: 1px solid var(--border); }
.toast.error { background: var(--youtube-red-dark); border-color: var(--youtube-red); } .toast.ok { background: #1E7A32; border-color: #2BA640; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding-top: 4px; border-bottom: 1px solid var(--border);
  background: repeating-linear-gradient(to top, var(--border) 0, var(--border) 1px, transparent 1px, transparent 25%); }
.chart .bar { flex: 1; background: #8B8B95; border-radius: 3px 3px 0 0; min-height: 2px; opacity: .9; }
.chart .bar:hover { opacity: 1; background: #B5B5BF; } .chart.red .bar { background: linear-gradient(180deg, #FF4A3A, #FF0000); } .chart.red .bar:hover { background: #FF5A5A; }
.skill-card { display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; color: var(--text); }
.skill-card:hover { border-color: rgba(255, 0, 0, .6); box-shadow: 0 8px 30px rgba(255, 0, 0, .14); text-decoration: none; transform: translateY(-2px); }
.skill-card .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.skill-card.card { padding: 14px; } .skill-card h3 { font-size: 15px; } .skill-card .tg { font-size: 13px; color: var(--text); opacity: .85; }
.skill-card .what { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skills-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.skill-card .open { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--link); font-weight: 500; }
.variant { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; } .variant.lead { border-color: var(--youtube-red); background: var(--lead-bg); }
.editable { width: 100%; } .kbd { font: 12px ui-monospace, monospace; background: var(--surface-hover); border-radius: 4px; padding: 1px 5px; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
html:not([data-theme="dark"]) .auth-wrap { background: linear-gradient(180deg, #fff 0%, var(--bg) 60%); }
.auth-card { width: 100%; max-width: 420px; } .auth-card .brand { justify-content: center; padding-bottom: 6px; }
.auth-card .brand img { width: 56px; height: 56px; }
.hero-note { background: var(--youtube-red-light); border: 1px solid var(--alert-err-b); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.thumb { width: 112px; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--surface-hover); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted-2); position: relative; }
.thumb.lg { width: 168px; } .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .dur { position: absolute; right: 4px; bottom: 4px; background: #0F0F0F; color: #fff; font-size: 12px; font-weight: 500; padding: 1px 5px; border-radius: 4px; line-height: 1.4; }
.vitem { display: flex; gap: 12px; align-items: center; }
.vitem .t { font-weight: 500; color: var(--text); } .vitem .t:hover { color: var(--link); }
.link-btn { background: none; border: 0; color: var(--link); cursor: pointer; padding: 0; font-weight: 500; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }

/* ---- dashboard hero + colour-coded stat cards */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding: 6px 0 4px; }
.hero h1 { font-size: 28px; letter-spacing: -.02em; }
.hero .sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.hero-art { position: absolute; right: 340px; top: 4px; width: 92px; height: 92px; pointer-events: none; filter: drop-shadow(0 14px 22px rgba(255, 0, 0, .45)); opacity: .95; animation: floaty 5s ease-in-out infinite; z-index: 0; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.hero-left { position: relative; z-index: 1; }
.hero-card { position: relative; z-index: 1; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: rgba(20, 20, 26, .75); backdrop-filter: blur(8px); }
html:not([data-theme="dark"]) .hero-card { background: var(--card); }
.hero-card .stt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.hero-card .btn { margin-top: 12px; float: right; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; } .quick .btn { padding: 7px 11px; font-size: 13px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.sc { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(var(--tone), .38); overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--tone), .20), rgba(var(--tone), .05) 70%); }
html:not([data-theme="dark"]) .sc { background: var(--card); border-color: var(--border); }
.sc .tile { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: rgb(var(--tone)); box-shadow: 0 6px 16px rgba(var(--tone), .45); flex: none; }
.sc .body { min-width: 0; padding-right: 58px; } .sc .lbl { font-weight: 500; font-size: 14px; } .sc .num { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.sc .sub { color: var(--muted); font-size: 12px; margin-top: 1px; }
.sc .spark { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: flex-end; gap: 3px; height: 32px; }
.sc .spark i { width: 5px; border-radius: 3px 3px 0 0; background: rgb(var(--tone)); opacity: .55; min-height: 3px; display: block; }
.sc .spark i:last-child { opacity: 1; }
.tone-red { --tone: 255, 45, 45; } .tone-blue { --tone: 46, 125, 255; } .tone-purple { --tone: 139, 92, 246; } .tone-green { --tone: 34, 197, 94; }
.tone-amber { --tone: 245, 158, 11; } .tone-teal { --tone: 20, 184, 166; } .tone-pink { --tone: 236, 72, 153; }
.rec { display: flex; gap: 14px; align-items: center; padding: 10px 0; } .rec + .rec { border-top: 1px solid var(--border-light); }
.rec .ic { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, #FF3B3B, #E10000); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px rgba(255, 0, 0, .3); }
.rec .tt { font-weight: 600; } .rec .dd2 { color: var(--muted); font-size: 13px; }
.plan-card { margin: 0 4px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 0, 0, .3); background: linear-gradient(135deg, rgba(255, 0, 0, .14), rgba(255, 0, 0, .03)); }
html:not([data-theme="dark"]) .plan-card { background: var(--youtube-red-light); }
.plan-card .hd { display: flex; align-items: center; gap: 10px; font-weight: 600; } .plan-card .hd .tile { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 0, 0, .2); color: var(--youtube-red); display: grid; place-items: center; }
.plan-card .progress { margin: 10px 0 6px; }
/* channel page */
.ch-banner { height: 170px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, #3a0a0a, #1a1a22) center / cover no-repeat; }
.ch-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 0 8px; }
.ch-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--surface-hover); border: 4px solid var(--card); object-fit: cover; margin-top: -42px; display: grid; place-items: center; color: var(--muted-2); overflow: hidden; }
.ch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ch-name { font-size: 24px; font-weight: 700; }
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pgrid .vcard .thumb { width: 100%; }
/* onboarding: Set Up Your Desk */
.ob-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.ob-inner { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.ob-inner h1 { font-size: 30px; }
.ob-steps { display: flex; align-items: center; justify-content: center; margin: 6px 0 2px; }
.ob-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; }
.ob-circle { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; border: 2px solid var(--border-btn); color: var(--muted); background: var(--card); }
.ob-label { font-size: 12px; color: var(--muted); }
.ob-step.active .ob-circle { border-color: var(--youtube-red); color: #fff; background: var(--youtube-red); box-shadow: 0 0 14px rgba(255, 0, 0, .45); }
.ob-step.active .ob-label { color: var(--text); font-weight: 500; }
.ob-step.done .ob-circle { background: var(--success); border-color: var(--success); color: #062b12; }
.ob-line { width: 46px; height: 2px; background: var(--border); margin: 0 4px 18px; } .ob-line.done { background: var(--success); }
.ob-card { padding: 22px; }
.ob-head { display: flex; gap: 14px; align-items: flex-start; } .ob-head h2 { font-size: 20px; margin-bottom: 2px; } .ob-head p { margin: 0; font-size: 14px; }
.ob-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--youtube-red-light); color: var(--youtube-red); flex: none; }
.ob-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-type { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--border-btn); background: var(--input-bg); color: var(--text); cursor: pointer; }
.ob-type:hover { border-color: rgba(255, 0, 0, .6); } .ob-type.selected { border-color: var(--youtube-red); background: var(--youtube-red-light); box-shadow: 0 0 0 1px var(--youtube-red) inset, 0 8px 22px rgba(255, 0, 0, .14); }
.ob-type-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-hover); color: var(--youtube-red); }
.ob-type-title { font-weight: 600; font-size: 15px; } .ob-type-desc { font-size: 13px; color: var(--muted); }
.ob-actions { display: flex; gap: 10px; justify-content: space-between; }
.ob-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.ob-feat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 10px 6px; }
.ob-feat-ico { color: var(--youtube-red); } .ob-feat-t { font-weight: 600; font-size: 14px; }
@media (max-width: 520px) { .ob-types, .ob-feats { grid-template-columns: 1fr; } .ob-line { width: 18px; } .ob-step { min-width: 52px; } }
/* landing */
.landing { min-height: 100vh; }
html:not([data-theme="dark"]) .landing { background: linear-gradient(180deg, #fff 0%, var(--bg) 480px); }
.land-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 16px 24px; }
.land-hero { max-width: 860px; margin: 0 auto; padding: 40px 24px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.land-hero .logo-big { width: 170px; height: 170px; filter: drop-shadow(0 26px 44px rgba(255, 0, 0, .5)); animation: floaty 5s ease-in-out infinite; }
.land-hero h1 { font-size: 42px; letter-spacing: -.03em; line-height: 1.12; } .land-hero .lead { font-size: 17px; max-width: 640px; }
.tag3 { letter-spacing: .32em; font-size: 13px; color: var(--muted); font-weight: 500; } .tag3 i { color: var(--youtube-red); font-style: normal; margin: 0 8px; }
.land-grid { max-width: 1120px; margin: 0 auto; padding: 24px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.land-cta { max-width: 820px; margin: 24px auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.land-foot { text-align: center; padding: 24px 24px 40px; }
.split-7-5 { display: grid; gap: 16px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split-5-7 { display: grid; gap: 16px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
/* ---- admin site: the LinkedIn Desk admin's black palette (near-black navy, violet accent) */
html[data-site="admin"] {
  --bg: #0b0e14; --panel: #12151d; --card: #12151d; --surface-hover: #171b26; --input-bg: #0f1219; --code-bg: #0e1118;
  --text: #e7e9ef; --muted: #a3aabb; --muted-2: #6b7285; --border: #232838; --border-light: #1b2030; --border-btn: #2c3247;
  --youtube-red: #7c6cf6; --youtube-red-dark: #6a5ae0; --youtube-red-light: rgba(124, 108, 246, .14); --link: #a599ff;
  --success: #34d399; --success-soft: rgba(52, 211, 153, .12); --success-text: #5ee2b1; --warn: #f5b13d; --warn-soft: rgba(245, 158, 11, .12);
  --danger: #ff7b7b; --danger-soft: rgba(240, 75, 75, .12); --bad: #f04b4b; --lead-bg: rgba(124, 108, 246, .08); --toast-bg: #171b26;
  --alert-warn-t: #ffd08a; --alert-err-t: #ffb3b3; --alert-err-b: rgba(240, 75, 75, .4); --shadow: none;
}
html[data-site="admin"] body { background: var(--bg); }
html[data-site="admin"] .card { background: var(--panel); border-radius: 12px; }
html[data-site="admin"] .topbar { background: var(--panel); backdrop-filter: none; }
html[data-site="admin"] .brand { font-size: 17px; } html[data-site="admin"] .brand img { width: 30px; height: 30px; filter: none; } html[data-site="admin"] .brand .wm b { color: #a599ff; }
html[data-site="admin"] .nav a.active { background: rgba(124, 108, 246, .14); color: #a599ff; border-color: transparent; box-shadow: none; }
html[data-site="admin"] .btn.primary { background: linear-gradient(180deg, #8b7cff, #6c5ce7); border-color: #8b7cff; box-shadow: 0 6px 18px rgba(124, 108, 246, .25); color: #fff; }
html[data-site="admin"] .btn.primary:hover { background: linear-gradient(180deg, #9a8dff, #5f4fdb); }
html[data-site="admin"] .progress > div, html[data-site="admin"] .chart.red .bar { background: linear-gradient(180deg, #9a8dff, #7c6cf6); }
html[data-site="admin"] input:focus, html[data-site="admin"] select:focus, html[data-site="admin"] textarea:focus { outline-color: rgba(124, 108, 246, .3); }
html[data-site="admin"] .dot.green { box-shadow: none; }
html[data-site="admin"] .avatar { background: rgba(124, 108, 246, .2); color: #c3baff; width: 32px; height: 32px; }
html[data-site="admin"] .admin .topbar .tag, .admin .topbar .tag { background: rgba(124, 108, 246, .18); color: #a599ff; font-size: 12px; padding: 3px 8px; border-radius: 6px; font-weight: 600; letter-spacing: .05em; }
/* ---- responsive */
@media (max-width: 1240px) { .hero-art { display: none; } }
@media (max-width: 1080px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); } .hero { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); } .shell.open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .5); }
  .shell.open .scrim { display: block; position: fixed; inset: 0; background: var(--overlay); z-index: 35; }
  .main { margin-left: 0; } .menu-btn { display: inline-flex; } .content { padding: 16px; } .topbar { padding: 0 14px; gap: 8px; }
  .g2, .g3, .split-7-5, .split-5-7 { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; gap: 0; } .kv dt { margin-top: 8px; }
  .hidden-sm { display: none; } .topbar .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .search { width: auto; flex: 1; } .userchip .em { display: none; } .userchip { padding: 3px; }
  .btn.sm { padding: 6px 10px; } .modal { padding: 16px; }
  .land-hero h1 { font-size: 28px; } .land-hero .logo-big { width: 120px; height: 120px; } .land-grid { grid-template-columns: 1fr; } .land-cta { margin: 16px; }
  .ch-banner { height: 110px; } h1 { font-size: 24px; } .hero h1 { font-size: 26px; }
}
@media (max-width: 700px) { .skills-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .g4 { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr; } .card { padding: 16px; } .row.stack-m { flex-direction: column; align-items: stretch; } .stat .n { font-size: 26px; } .search { display: none; } .dd { position: fixed; left: 8px; right: 8px; top: 72px; width: auto; max-width: none; } }

/* AI results in Content Studio: full width under the editor */
.ai-results:not(:empty) { margin-top: 18px; }

/* ---- landing page (public) */
.lp { position: relative; overflow-x: hidden; }
.lp::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); background: radial-gradient(900px 420px at 78% 8%, rgba(255, 0, 0, .16), transparent 70%), radial-gradient(700px 380px at 8% 0%, rgba(255, 0, 0, .08), transparent 70%); pointer-events: none; }
.lp > * { position: relative; }
.lp-nav { position: sticky; top: 0; z-index: 20; max-width: none; padding: 12px max(24px, calc((100% - 1160px) / 2)); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light); }
.lp-links { display: flex; gap: 4px; }
.lp-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.lp-link:hover { color: var(--text); background: var(--surface-hover); }
.lp-hero { max-width: 1160px; margin: 0 auto; padding: 64px 24px 56px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-hero-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.lp-hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.035em; }
.lp-red { color: var(--youtube-red); }
.lp-hero .lead { font-size: 18px; max-width: 540px; line-height: 1.55; }
.lp-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.lp-ticks li, .lp-list li { display: flex; align-items: center; gap: 8px; } .lp-ticks svg { color: var(--success); }
.lp-window { position: relative; border: 1px solid var(--border); border-radius: 16px; background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset; transform: rotate(-1.2deg); }
html:not([data-theme="dark"]) .lp-window { box-shadow: 0 24px 60px rgba(15, 15, 15, .14); }
.lp-wbar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.lp-wbar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-btn); } .lp-wbar i:first-child { background: #ff5f57; } .lp-wbar i:nth-child(2) { background: #febc2e; } .lp-wbar i:nth-child(3) { background: #28c840; }
.lp-wbar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.lp-wbody { padding: 16px; display: grid; gap: 12px; }
.lp-psteps { display: flex; justify-content: space-between; gap: 6px; }
.lp-pstep { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--muted-2); flex: 1; }
.lp-pstep i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-btn); }
.lp-pstep.done { color: var(--success-text); } .lp-pstep.done i { background: var(--success); border-color: var(--success); }
.lp-pstep.now { color: var(--youtube-red); } .lp-pstep.now i { border-color: var(--youtube-red); box-shadow: 0 0 0 4px var(--youtube-red-light); }
.lp-pcard { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; background: var(--input-bg); }
.lp-ptitle { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.lp-pmeta { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-hover); color: var(--muted); border: 1px solid var(--border); }
.lp-chip.red { background: var(--youtube-red-light); color: var(--link); border-color: transparent; } .lp-chip.amber { background: var(--warn-soft); color: var(--warn); border-color: transparent; } .lp-chip.green { background: var(--success-soft); color: var(--success-text); border-color: transparent; }
.lp-pbtn { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; background: var(--youtube-red); color: #fff; } .lp-pbtn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-btn); }
.lp-float { position: absolute; left: -22px; bottom: -18px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); color: var(--text); } .lp-float svg { color: var(--youtube-red); }
.lp-sec { max-width: 1160px; margin: 0 auto; padding: 72px 24px; scroll-margin-top: 64px; }
.lp-narrow { max-width: 820px; }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 36px; display: grid; gap: 10px; }
.lp-head h2 { font-size: 34px; letter-spacing: -.025em; line-height: 1.15; } .lp-head p { font-size: 16px; line-height: 1.55; }
.lp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--youtube-red); }
.lp-grid3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-grid4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: var(--card); display: grid; gap: 10px; align-content: start; transition: transform .18s, border-color .18s, box-shadow .18s; }
.lp-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--youtube-red) 45%, var(--border)); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.lp-card h3 { font-size: 17px; } .lp-card p { line-height: 1.5; }
.lp-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-hover); color: var(--text); } .lp-ico.red { background: var(--youtube-red-light); color: var(--youtube-red); }
.lp-skill { grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; } .lp-skill h3 { font-size: 15px; margin-bottom: 3px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.lp-step { border: 1px solid var(--border); border-radius: 16px; padding: 20px 18px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.lp-step h3 { font-size: 16px; }
.lp-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--youtube-red); color: #fff; box-shadow: 0 6px 16px rgba(255, 0, 0, .35); }
.lp-not { margin-top: 16px; border-style: dashed; } .lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.lp-list li { align-items: flex-start; } .lp-list li svg { flex: none; margin-top: 3px; } .lp-not .lp-list svg { color: var(--muted-2); } .lp-list.ok svg { color: var(--success); }
.lp-plans { align-items: stretch; } .lp-plan { gap: 14px; } .lp-plan.featured { border-color: color-mix(in srgb, var(--youtube-red) 55%, var(--border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--youtube-red) 30%, transparent), 0 20px 50px rgba(255, 0, 0, .1); }
.lp-plan .lp-chip { justify-self: start; } .lp-price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; } .lp-price.soon { font-size: 24px; color: var(--muted); padding: 7px 0; }
.lp-plan .btn { justify-content: center; margin-top: auto; } .disabled-look { opacity: .5; cursor: default; pointer-events: none; }
.lp-faq { display: grid; gap: 10px; } .lp-q { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 0 18px; } .lp-q[open] { border-color: color-mix(in srgb, var(--youtube-red) 40%, var(--border)); }
.lp-q summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: "+"; color: var(--youtube-red); font-size: 20px; line-height: 1; } .lp-q[open] summary::after { content: "\2212"; }
.lp-q p { padding: 0 0 16px; line-height: 1.6; margin: 0; }
.lp-final { max-width: 900px; margin: 24px auto 56px; padding: 48px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(500px 220px at 50% 0%, rgba(255, 0, 0, .18), transparent 70%), var(--card); width: calc(100% - 48px); }
.lp-final img { filter: drop-shadow(0 14px 26px rgba(255, 0, 0, .5)); animation: floaty 5s ease-in-out infinite; } .lp-final h2 { font-size: 32px; letter-spacing: -.025em; } .lp-final p { max-width: 520px; }
.lp-foot { border-top: 1px solid var(--border-light); padding: 32px 24px 40px; } .lp-foot-in { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-foot-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .lp-foot-links a, .lp-foot-links .lp-link { color: var(--muted); font-size: 14px; padding: 8px 12px; border-radius: 8px; } .lp-foot-links a:hover { color: var(--text); background: var(--surface-hover); text-decoration: none; }
@media (max-width: 1000px) { .lp-hero { grid-template-columns: 1fr; padding-top: 40px; } .lp-hero h1 { font-size: 44px; } .lp-window { transform: none; } .lp-float { left: 12px; }
  .lp-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-links { display: none; } }
@media (max-width: 620px) { .lp-hero h1 { font-size: 36px; } .lp-head h2 { font-size: 26px; } .lp-sec { padding: 48px 16px; } .lp-hero { padding: 32px 16px; }
  .lp-grid3, .lp-grid4, .lp-steps { grid-template-columns: 1fr; } .lp-nav { padding: 10px 16px; } .lp-final { width: calc(100% - 32px); } .lp-final h2 { font-size: 26px; } }
@media (max-width: 620px) { .lp-nav .btn { padding: 7px 11px; font-size: 13px; } .lp-nav .brand { font-size: 17px; } .lp-nav .brand img { width: 30px; height: 30px; } .lp-nav .row { gap: 4px; } }

/* ---- profile menu (top right) and settings anchors */
.user-dd { width: 330px; padding: 0; overflow: hidden; }
.user-dd .hr { margin: 0; }
.dd-user { display: flex; gap: 14px; align-items: center; padding: 18px 18px 16px; }
.dd-user .nm { font-weight: 700; font-size: 16px; } .dd-user .sub { word-break: break-all; }
.dd-user .vp { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; padding: 0; width: auto; color: var(--link); } .dd-user .vp:hover { background: none; text-decoration: underline; }
.avatar.lg { width: 52px; height: 52px; font-size: 20px; flex: none; }
.user-dd > a, .user-dd > button.item { border-radius: 0; padding: 12px 18px; gap: 14px; font-weight: 500; }
.user-dd > a svg, .user-dd > button.item svg { color: var(--muted); flex: none; }
.user-dd button.item.danger-item, .user-dd button.item.danger-item svg { color: var(--danger); }
.user-dd .soon { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-hover); color: var(--muted); border: 1px solid var(--border); }
.card[id] { scroll-margin-top: 84px; }

/* ---- admin sidebar: same structure as the LinkedIn Desk admin (grouped, dot bullets, user block + Log Out) */
html[data-site="admin"] .adm-brand { gap: 12px; padding: 18px 20px 12px; }
html[data-site="admin"] .adm-brand img { width: 40px; height: 40px; border-radius: 11px; }
.adm-brand .wm2 { display: grid; line-height: 1.15; } .adm-brand .wm2 b { font-size: 15px; font-weight: 800; letter-spacing: .03em; color: var(--text); }
.adm-brand .wm2 small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #a599ff; }
html[data-site="admin"] .nav-group { padding: 6px 14px 0; }
html[data-site="admin"] .nav-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; padding: 16px 8px 8px; color: var(--muted-2); }
html[data-site="admin"] .nav.dots a { gap: 14px; padding: 11px 14px; margin-bottom: 3px; border-radius: 12px; font-weight: 500; color: var(--muted); }
html[data-site="admin"] .nav.dots a:hover { color: var(--text); }
html[data-site="admin"] .nav.dots a.active { color: #c3baff; background: rgba(124, 108, 246, .16); border: 1px solid rgba(165, 153, 255, .55); }
.nav.dots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); flex: none; } .nav.dots a.active .dot { background: #a599ff; }
.adm-foot { border-top: 1px solid var(--border); margin: 10px 14px 0; padding: 16px 0 16px !important; display: grid; gap: 14px; }
.adm-user { display: flex; align-items: center; gap: 12px; padding: 0 6px; } .adm-user .nm { font-weight: 600; font-size: 14px; color: var(--text); }
.adm-foot .btn.full { width: 100%; justify-content: center; }
.admin-chip { font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); }

/* ---- admin typography: the LinkedIn Desk admin's compact scale and system font stack (admin site only) */
html[data-site="admin"] body, html[data-site="admin"] button, html[data-site="admin"] input, html[data-site="admin"] select, html[data-site="admin"] textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; }
html[data-site="admin"] body { font-size: 14px; line-height: 1.5; }
html[data-site="admin"] h1 { font-size: 20px; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; }
html[data-site="admin"] h2 { font-size: 14.5px; font-weight: 700; letter-spacing: 0; }
html[data-site="admin"] h3 { font-size: 14px; font-weight: 700; letter-spacing: 0; } html[data-site="admin"] h4 { font-size: 13px; letter-spacing: 0; }
html[data-site="admin"] .modal h2 { font-size: 15.5px; }
html[data-site="admin"] .page-sub { font-size: 13.5px; margin: 0; }
html[data-site="admin"] .small { font-size: 12.5px; } html[data-site="admin"] .tiny { font-size: 11.5px; }
html[data-site="admin"] .stat .l { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); margin-bottom: 8px; }
html[data-site="admin"] .stat .n { font-size: 24px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
html[data-site="admin"] .stat .s { font-size: 12px; }
html[data-site="admin"] th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
html[data-site="admin"] table { font-size: 13px; } html[data-site="admin"] td { padding: 10px 12px; }
html[data-site="admin"] .btn { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
html[data-site="admin"] .btn.sm { font-size: 12px; padding: 5px 10px; } html[data-site="admin"] .btn.lg { font-size: 14px; padding: 10px 18px; }
html[data-site="admin"] .badge { font-size: 11.5px; font-weight: 600; padding: 2px 9px; }
html[data-site="admin"] input[type=text], html[data-site="admin"] input[type=email], html[data-site="admin"] input[type=password], html[data-site="admin"] input[type=url], html[data-site="admin"] input[type=number], html[data-site="admin"] input[type=datetime-local], html[data-site="admin"] input[type=date], html[data-site="admin"] select, html[data-site="admin"] textarea { font-size: 13px; }
html[data-site="admin"] label.field { font-size: 12.5px; font-weight: 600; } html[data-site="admin"] label.field .help { font-size: 11.5px; }
html[data-site="admin"] .alert { font-size: 13px; } html[data-site="admin"] .kv { font-size: 13px; }
html[data-site="admin"] .nav.dots a { font-size: 13.5px; }
html[data-site="admin"] .nav-label { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; }
html[data-site="admin"] .adm-brand .wm2 b { font-size: 12.5px; letter-spacing: .04em; } html[data-site="admin"] .adm-brand .wm2 small { font-size: 10px; letter-spacing: .08em; }
html[data-site="admin"] .adm-user .nm { font-size: 13px; } html[data-site="admin"] .adm-foot .btn { font-size: 12.5px; }
html[data-site="admin"] .admin-chip { font-size: 13px; padding: 8px 12px; border-radius: 8px; }
html[data-site="admin"] .card-head h2 { font-size: 14.5px; }
html[data-site="admin"] .auth-card h1, html[data-site="admin"] .auth-card h2 { font-size: 22px; letter-spacing: 0; }

/* ---- admin: the whole sidebar fits the window height (spacing scales with the viewport), content never overflows sideways */
html[data-site="admin"] .sidebar { overflow-y: auto; scrollbar-width: none; } html[data-site="admin"] .sidebar::-webkit-scrollbar { display: none; }
html[data-site="admin"] .adm-brand { padding: clamp(10px, 2vh, 18px) 20px clamp(4px, 1vh, 12px); }
html[data-site="admin"] .nav-group { padding: 0 14px; }
html[data-site="admin"] .nav-label { padding: clamp(6px, 1.5vh, 16px) 8px clamp(3px, .8vh, 8px); }
html[data-site="admin"] .nav.dots a { padding: clamp(4px, 1.05vh, 11px) 14px; margin-bottom: 2px; gap: 12px; }
html[data-site="admin"] .adm-foot { margin-top: auto; padding: clamp(8px, 1.5vh, 16px) 0 clamp(8px, 1.5vh, 16px) !important; gap: clamp(6px, 1.2vh, 14px); }
html[data-site="admin"] .adm-foot .btn { padding: clamp(5px, .9vh, 8px) 14px; }
html[data-site="admin"] .main, html[data-site="admin"] .content { min-width: 0; }
html[data-site="admin"] .content > * { max-width: 100%; }
html[data-site="admin"] .table-wrap { overflow-x: auto; max-width: 100%; }
html[data-site="admin"] .card { min-width: 0; }
@media (max-height: 700px) { html[data-site="admin"] .adm-brand img { width: 32px; height: 32px; } html[data-site="admin"] .adm-user .avatar { width: 28px; height: 28px; } }
@media (max-height: 700px) { html[data-site="admin"] .nav.dots a { padding: 3px 12px; margin-bottom: 1px; } html[data-site="admin"] .nav-label { padding: 6px 8px 2px; } html[data-site="admin"] .adm-brand { padding: 8px 20px 4px; } html[data-site="admin"] .adm-foot { padding: 8px 0 !important; gap: 6px; } html[data-site="admin"] .adm-foot .btn { padding: 4px 14px; } }
@media (max-height: 580px) { html[data-site="admin"] .nav.dots a { padding: 1px 12px; font-size: 13px; } html[data-site="admin"] .nav-label { padding: 4px 8px 1px; } html[data-site="admin"] .adm-user { display: none; } html[data-site="admin"] .adm-foot { margin-top: 4px; } }

/* ---- images & video in the Studio */
.media-sec textarea { min-height: 96px; }
.media-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; gap: 12px; background: var(--input-bg); }
.media-card select { width: auto; min-width: 140px; }
.media-actions { align-items: center; }
.media-quote { white-space: pre-wrap; border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: var(--card); max-height: 200px; overflow: auto; color: var(--text); }
.media-preview { border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--border); max-width: 640px; }
.media-preview.a9x16 { max-width: 260px; } .media-preview.a1x1 { max-width: 380px; }
.media-preview img, .media-preview video { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; }

/* ---- long video: storyboard editor, progress, versions (extends the images & video cards) */
.lv-scene { border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: grid; gap: 10px; background: var(--card); }
.lv-scene textarea { min-height: 84px; } .lv-scene select { width: auto; min-width: 110px; } .lv-scene .row input[type="text"] { min-width: 180px; }
.lv-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.lv-style summary, .lv-final summary { cursor: pointer; color: var(--muted); }
.lv-progress .lv-rows { display: grid; gap: 4px; max-height: 320px; overflow: auto; }
.lv-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.lv-row.failed { border-color: var(--alert-err-b); }
.lv-mark { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-btn); display: inline-grid; place-items: center; flex: none; }
.lv-mark.ok { border-color: transparent; background: var(--success-soft); color: var(--success-text); } .lv-mark.bad { border-color: transparent; background: var(--danger-soft); color: var(--alert-err-t); }
.lv-approve { border-top: 1px solid var(--border); padding-top: 12px; }
@media (max-width: 620px) { .lv-scene .row.wrap > label { width: 100%; } .lv-scene .row input[type="text"], .lv-scene select { width: 100%; } }

/* ---- library */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lib-card .media-preview { max-width: none; } .lib-card .media-preview img, .lib-card .media-preview video { max-height: 260px; }
.lib-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---- skill page: the input form is a grid so it fits the screen; results open underneath at full width */
.runner-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 14px; align-items: start; }
.runner-form > .alert, .runner-form > .row { grid-column: 1 / -1; } .runner-form > .field.wide { grid-column: span 2; }
.runner-form textarea { min-height: 64px; height: 64px; } .runner-form .field.wide textarea { min-height: 72px; height: 72px; }
@media (max-width: 820px) { .runner-form > .field.wide { grid-column: 1 / -1; } }
.runner-form label.field .help { font-size: 12px; margin-top: 3px; }

/* ---- backdrop: deep black, red glow, 3D play-button shapes (landing hero, sign-in/up, Set Up Your Desk) */
.bgfx { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(62% 52% at 4% 96%, rgba(255, 0, 0, .34), transparent 62%), radial-gradient(48% 40% at 98% 2%, rgba(255, 20, 20, .22), transparent 62%),
    radial-gradient(38% 30% at 56% 42%, rgba(140, 0, 0, .16), transparent 70%), #07070a; }
.bgfx::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }
.bgfx.hero { position: absolute; inset: 0 0 auto 0; height: 1000px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.lp::before { display: none; }
.lp > .bgfx { position: absolute; }
.pb { position: absolute; border-radius: 22%; }
.pb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34%; height: 38%; background: rgba(255, 255, 255, .9); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateX(9%); }
.pb.glass { width: 300px; height: 300px; left: -130px; top: 19%; opacity: .85; transform: perspective(900px) rotateY(26deg) rotateZ(-13deg);
  background: linear-gradient(145deg, rgba(255, 70, 70, .38), rgba(130, 0, 0, .2) 55%, rgba(30, 0, 0, .45)); border: 1px solid rgba(255, 120, 120, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 80px rgba(0, 0, 0, .55), 0 0 70px rgba(255, 0, 0, .18); }
.pb.glass::after { background: rgba(255, 255, 255, .28); }
.pb.glossy { width: 210px; height: 210px; left: -46px; bottom: 9%; transform: perspective(900px) rotateY(20deg) rotateZ(-9deg);
  background: linear-gradient(145deg, #ff5a5a 0%, #e20000 46%, #720000 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .38), inset 0 -22px 34px rgba(0, 0, 0, .4), 0 44px 70px rgba(0, 0, 0, .65), 0 0 100px rgba(255, 0, 0, .4); }
.pb.glossy::after { background: rgba(235, 235, 240, .92); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.pb.dark { width: 340px; height: 340px; right: -150px; top: 26%; transform: perspective(900px) rotateY(-30deg) rotateZ(10deg);
  background: linear-gradient(145deg, #2c2c33, #0b0b0f 72%); border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 90px rgba(0, 0, 0, .7); }
.pb.dark::after { background: rgba(255, 255, 255, .1); }
.bgfx-steps { position: absolute; left: 30px; top: 232px; display: grid; gap: 12px; font-size: 12px; letter-spacing: .3em; color: rgba(255, 255, 255, .3); }
.bgfx-steps i { font-style: normal; color: var(--youtube-red); letter-spacing: 0; opacity: .8; }
.bgfx-script { position: absolute; right: 46px; top: 74px; font: 700 34px/1.08 Caveat, "Segoe Script", cursive; color: #ff2d2d; transform: rotate(-10deg); text-shadow: 0 0 22px rgba(255, 0, 0, .55); }
.bgfx-tag { position: absolute; right: 28px; top: 430px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .34); line-height: 1.6; }
@media (max-width: 1500px) { .bgfx-steps, .bgfx-script, .bgfx-tag { display: none; } }
@media (max-width: 700px) { .pb.glass { width: 200px; height: 200px; left: -110px; } .pb.glossy { width: 140px; height: 140px; left: -50px; } .pb.dark { width: 220px; height: 220px; right: -120px; } }

/* ---- sign-in / sign-up pages */
.auth-page .ob-inner { position: relative; z-index: 1; max-width: 580px; }
.auth-brand { justify-content: center; padding: 0 0 8px; font-size: 24px; } .auth-brand img { width: 44px; height: 44px; }
.auth-page h1 { font-size: 34px; letter-spacing: -.02em; }
.ob-shell > .ob-inner { position: relative; z-index: 1; }
.ob-card .field > span:first-child { font-weight: 600; }
.otp-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
input.otp-box { height: 58px; padding: 0; text-align: center; font-size: 24px; font-weight: 600; border-radius: 12px; }
input.otp-box:focus { border-color: var(--youtube-red); box-shadow: 0 0 0 3px rgba(255, 0, 0, .2); }
.otp-shown { font-family: ui-monospace, Consolas, monospace; font-size: 19px; letter-spacing: 4px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; } .link-btn:hover { text-decoration: underline; } .link-btn:disabled { color: var(--muted-2); cursor: default; text-decoration: none; }

/* ---- landing hero, closer to the reference: bigger headline, richer preview, "why" strip */
.lp-hero { padding-top: 78px; }
.lp-hero h1 { font-size: 72px; line-height: 1.02; letter-spacing: -.04em; }
.lp-hero .lead { max-width: 520px; }
.lp-ticks { gap: 14px 26px; flex-wrap: nowrap; margin-top: 10px; }
.lp-ticks li { align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.25; max-width: 130px; }
.lp-ticks .lp-tk { color: var(--youtube-red); flex: none; }
.lp-window { transform: perspective(1500px) rotateY(-9deg) rotateX(3deg); border-radius: 18px; overflow: visible; background: rgba(14, 14, 19, .92); box-shadow: 0 40px 110px rgba(0, 0, 0, .7), 0 0 90px rgba(255, 0, 0, .14); }
.lp-wgrid { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.lp-side { padding: 14px 10px; border-right: 1px solid var(--border); display: grid; gap: 3px; align-content: start; background: rgba(0, 0, 0, .28); border-bottom-left-radius: 18px; }
.lp-side-brand { display: flex; gap: 8px; align-items: center; padding: 4px 6px 12px; font-size: 13px; } .lp-side-brand img { width: 22px; height: 22px; } .lp-side-brand u { text-decoration: none; color: var(--youtube-red); }
.lp-nav-i { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); padding: 7px 8px; border-radius: 8px; border: 1px solid transparent; }
.lp-nav-i.on { background: rgba(255, 0, 0, .14); color: #ff5a5a; border-color: rgba(255, 0, 0, .35); }
.lp-main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.lp-greet strong { display: block; font-size: 14px; } .lp-greet span { font-size: 11px; color: var(--muted); }
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-stat { --c: 255, 40, 40; position: relative; display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(var(--c), .35); background: linear-gradient(160deg, rgba(var(--c), .24), rgba(var(--c), .04)); }
.lp-stat.blue { --c: 60, 130, 255; } .lp-stat.green { --c: 40, 200, 110; } .lp-stat.purple { --c: 160, 90, 255; }
.lp-stat-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgb(var(--c)); color: #fff; flex: none; }
.lp-stat strong { display: block; font-size: 17px; line-height: 1; } .lp-stat div span { font-size: 10px; color: var(--muted); }
.lp-bars { position: absolute; right: 7px; bottom: 7px; display: flex; gap: 2px; align-items: flex-end; height: 18px; } .lp-bars b { width: 4px; background: rgb(var(--c)); border-radius: 1px; }
.lp-bars b:nth-child(1) { height: 6px; } .lp-bars b:nth-child(2) { height: 10px; } .lp-bars b:nth-child(3) { height: 8px; } .lp-bars b:nth-child(4) { height: 16px; }
.lp-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.lp-panel { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 9px; background: var(--input-bg); align-content: start; min-width: 0; } .lp-panel > strong { font-size: 12px; }
.lp-draft { display: flex; gap: 8px; align-items: center; min-width: 0; } .lp-draft div { display: grid; min-width: 0; }
.lp-draft strong { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lp-draft div span { font-size: 10px; color: var(--muted); }
.lp-thumb { width: 36px; height: 25px; border-radius: 5px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #ff5a5a, #5a0000); } .lp-thumb.b { background: linear-gradient(135deg, #4c9aff, #12285a); }
.lp-draft em { margin-left: auto; font-style: normal; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; background: var(--success-soft); color: var(--success-text); white-space: nowrap; }
.lp-qa { display: flex; gap: 7px; align-items: center; font-size: 11px; } .lp-qa svg { color: var(--youtube-red); }
.lp-why { max-width: 1160px; margin: 0 auto; padding: 4px 24px 30px; text-align: center; }
.lp-why-k { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.lp-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.lp-why-i { display: flex; gap: 14px; align-items: center; text-align: left; justify-content: center; } .lp-why-i svg { color: var(--youtube-red); } .lp-why-i strong { display: block; font-size: 16px; } .lp-why-i span { color: var(--muted); font-size: 13px; }
@media (max-width: 1240px) { .lp-hero h1 { font-size: 60px; } .lp-ticks { flex-wrap: wrap; } }
@media (max-width: 1000px) { .lp-hero h1 { font-size: 48px; } .lp-window { transform: none; } .lp-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lp-hero h1 { font-size: 38px; } .lp-wgrid { grid-template-columns: 1fr; } .lp-side { display: none; } .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-cols { grid-template-columns: 1fr; }
  .lp-why-grid { grid-template-columns: 1fr; } .otp-row { gap: 6px; } input.otp-box { height: 50px; font-size: 20px; } .auth-page h1 { font-size: 28px; } }

/* ---- landing preview polish */
.lp-ticks .lp-tk svg { color: var(--youtube-red); }
.lp-stat { flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px; min-width: 0; }
.lp-stat div { min-width: 0; } .lp-stat div span { display: block; white-space: nowrap; }
.lp-bars { top: 9px; bottom: auto; }
.lp-side { padding-bottom: 46px; }

/* ---- generation workflow: review prompt, loading/progress, versions (same card style as before) */
.media-h3 { font-size: 14px; font-weight: 600; }
.media-review textarea { min-height: 92px; }
.media-vchips { display: inline-flex; gap: 4px; }
.media-vchips button { border: 1px solid var(--border-btn); background: var(--input-bg); color: var(--muted); border-radius: 999px; padding: 2px 10px; font-size: 12px; cursor: pointer; }
.media-vchips button.on { border-color: var(--youtube-red); color: var(--text); background: var(--youtube-red-light); }
.media-loading { display: grid; gap: 10px; }
.media-skeleton { height: 210px; max-width: 640px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(100deg, var(--input-bg) 30%, var(--surface-hover) 50%, var(--input-bg) 70%); background-size: 300% 100%; animation: mshimmer 1.4s linear infinite; }
@keyframes mshimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.media-stages { display: flex; gap: 6px; flex-wrap: wrap; }
.media-stages span { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted-2); }
.media-stages span.done { color: var(--success-text); border-color: transparent; background: var(--success-soft); }
.media-stages span.now { color: var(--text); border-color: var(--youtube-red); background: var(--youtube-red-light); }
.media-history { border-top: 1px solid var(--border); padding-top: 10px; } .media-history summary { cursor: pointer; color: var(--muted); }
.media-ver { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.media-ver.on { border-color: var(--youtube-red); }
.media-mini { width: 56px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; background: #000; } .media-mini.none { display: grid; place-items: center; color: var(--muted); border: 1px solid var(--border); background: var(--input-bg); }
.media-snip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }

/* Upload a file into a long input box (YouTube Skills) */
.upl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.upl .upl-note { margin: 0; flex: 1 1 260px; }
label.field .upl-note.warn-text { color: var(--warn); }
label.field .upl-note.error-text { color: var(--danger); }
