:root {
  color-scheme: dark;
  --bg: #080912;
  --surface: #101322;
  --surface-2: #151a2d;
  --surface-3: #1c2135;
  --border: rgba(174, 155, 255, .15);
  --text: #f5f4ff;
  --muted: #a2a3b9;
  --purple: #9b4dff;
  --purple-2: #c04dff;
  --blue: #20c9ff;
  --pink: #ed4cff;
  --green: #40db9a;
  --shadow: 0 22px 70px rgba(0,0,0,.38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 72% -12%, rgba(95,44,166,.16), transparent 34%), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.topbar { position: sticky; z-index: 30; top: 0; height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 28px; background: rgba(8,9,18,.92); border-bottom: 1px solid rgba(174,155,255,.13); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 244px; font-weight: 850; font-size: 23px; letter-spacing: -.9px; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(203,113,255,.7); border-radius: 12px; color: white; background: linear-gradient(135deg,#a329ff,#5524ca 65%,#168dff); box-shadow: 0 0 24px rgba(160,57,255,.45); font-size: 16px; }
.brand-accent { color: #c35cff; }
.search { display: flex; align-items: center; flex: 1; max-width: 690px; height: 44px; margin: 0 auto; border: 1px solid rgba(164,134,255,.38); border-radius: 999px; overflow: hidden; background: #0e1020; box-shadow: inset 0 0 18px rgba(120,58,220,.06); }
.search:focus-within { border-color: #a75cff; box-shadow: 0 0 0 3px rgba(153,72,255,.12); }
.search input { width: 100%; min-width: 0; padding: 0 20px; color: var(--text); outline: 0; border: 0; background: transparent; font-size: 14px; }
.search input::placeholder { color: #84859d; }
.search button { width: 56px; height: 44px; color: #fff; background: linear-gradient(135deg,#6123b9,#283b8e); border: 0; font-size: 24px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--border); background: #111427; color: #ddd6ff; display: grid; place-items: center; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 17px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; font-size: 13px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(105deg,#a329f2,#6c39e9 58%,#236ee8); box-shadow: 0 7px 24px rgba(130,50,230,.27); }
.button-primary:hover { box-shadow: 0 10px 30px rgba(130,50,230,.4); }
.button-quiet { color: #e7e2ff; background: #14172a; border-color: var(--border); }
.button-outline { color: #f4ebff; background: rgba(13,15,29,.64); border-color: rgba(201,177,255,.6); }
.button-large { min-height: 48px; padding: 0 21px; }
.button-small { min-height: 34px; padding: 0 13px; font-size: 12px; }
.button-full { width: 100%; min-height: 48px; }
.avatar, .mini-avatar { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(202,104,255,.8); border-radius: 50%; color: #fff; background: linear-gradient(135deg,#5122a4,#1b75b7); font-weight: 800; }
.app-layout { display: grid; grid-template-columns: 248px minmax(0,1fr); min-height: calc(100vh - 72px); }
.sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); min-height: 540px; display: flex; flex-direction: column; padding: 22px 15px 16px; border-right: 1px solid rgba(174,155,255,.12); background: rgba(10,12,23,.8); }
.side-nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 15px; border: 1px solid transparent; border-radius: 12px; color: #d2d2e5; font-size: 14px; font-weight: 650; text-align: left; background: transparent; }
.nav-item:hover { background: rgba(138,91,230,.1); color: white; }
.nav-item.active { background: linear-gradient(105deg,rgba(139,37,235,.32),rgba(53,57,139,.15)); border-color: rgba(175,93,255,.36); color: white; box-shadow: inset 3px 0 #b84dff; }
.nav-item:first-letter { font-size: 18px; }
.nav-button { cursor: pointer; }
.logout-form { margin: 0; }
.side-divider { height: 1px; background: rgba(174,155,255,.15); margin: 19px 8px; }
.side-heading { margin: 0 14px 8px; color: #bd63ff; font-size: 11px; font-weight: 850; letter-spacing: 1.7px; }
.sidebar-note { padding: 17px; margin-top: 12px; border: 1px solid rgba(168,85,247,.3); border-radius: 15px; background: linear-gradient(145deg,rgba(87,30,145,.25),rgba(20,20,43,.75)); }
.sidebar-note strong { font-size: 14px; }
.sidebar-note p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.sidebar-note a { color: #d98cff; font-size: 12px; font-weight: 800; }
.sidebar-bottom { margin-top: auto; padding: 16px 11px 3px; color: #777990; font-size: 11px; }
.status-dot, .eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(64,219,154,.75); }
.main-content { min-width: 0; max-width: 1750px; width: 100%; margin: 0 auto; padding: 25px 30px 0; }
.hero { position: relative; display: grid; grid-template-columns: 1fr .85fr; min-height: 300px; overflow: hidden; border: 1px solid rgba(168,111,255,.34); border-radius: 21px; background: radial-gradient(ellipse at 76% 50%,rgba(47,53,170,.62),transparent 37%), radial-gradient(ellipse at 84% 110%,rgba(190,35,220,.33),transparent 45%), linear-gradient(115deg,#17152b,#100e23 55%,#121832); box-shadow: var(--shadow); }
.hero:before { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg,rgba(11,10,25,.28),transparent 80%); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 35px 0 35px 38px; max-width: 610px; }
.eyebrow { color: #c66cff; font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.hero h1 { margin: 17px 0 13px; font-size: clamp(30px,3.8vw,51px); line-height: 1.02; letter-spacing: -2px; }
.hero h1 span { color: #d16aff; text-shadow: 0 0 27px rgba(188,66,255,.5); }
.hero-copy p { max-width: 500px; margin: 0; color: #c3c0d6; font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.hero-footnote { margin-top: 20px; color: #9c98b7; font-size: 11px; }
.hero-footnote span { color: #dd74ff; }
.hero-art { position: relative; min-height: 300px; overflow: hidden; }
.hero-grid { position: absolute; inset: 15% -10% -30% 3%; transform: perspective(350px) rotateX(63deg) rotateZ(-11deg); background-image: linear-gradient(rgba(116,76,255,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(116,76,255,.17) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg,transparent,#000 30%,#000); }
.hero-glow { position: absolute; width: 300px; height: 190px; top: 55px; left: 25%; border-radius: 50%; background: rgba(110,42,255,.32); filter: blur(55px); }
.hero-play { position: absolute; top: 50%; left: 48%; z-index: 2; width: 130px; height: 130px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 2px solid #ca6cff; border-radius: 35px; color: #fff; background: linear-gradient(135deg,rgba(142,51,249,.72),rgba(27,114,255,.5)); box-shadow: 0 0 20px #a536ff,0 0 65px rgba(54,115,255,.58),inset 0 0 30px rgba(255,255,255,.13); font-size: 50px; text-shadow: 0 0 18px white; }
.hero-orbit { position: absolute; top: 50%; left: 48%; width: 250px; height: 250px; border: 1px solid rgba(130,131,255,.42); border-radius: 50%; transform: translate(-50%,-50%) rotate(-24deg) scaleY(.48); }
.orbit-two { width: 340px; height: 340px; border-color: rgba(211,77,255,.25); transform: translate(-50%,-50%) rotate(28deg) scaleY(.45); }
.hero-caption { position: absolute; right: 30px; bottom: 21px; color: rgba(223,193,255,.8); font-size: 10px; font-weight: 900; letter-spacing: 4px; }
.hero-spark { position: absolute; color: #fff; text-shadow: 0 0 13px #d45cff; }
.spark-a { top: 21%; right: 18%; font-size: 26px; }.spark-b { bottom: 22%; left: 13%; font-size: 20px; }
.category-row { display: flex; gap: 9px; overflow-x: auto; padding: 22px 0 25px; scrollbar-width: thin; }
.chip { flex: 0 0 auto; padding: 10px 16px; border: 1px solid rgba(160,151,205,.14); border-radius: 999px; color: #d2d1e3; background: #141729; font-size: 12px; font-weight: 700; transition: .18s ease; }
.chip:hover { border-color: rgba(184,91,255,.5); color: #fff; }.chip.selected { border-color: #b05aff; color: white; background: linear-gradient(105deg,#8d23e7,#4a3ad2); box-shadow: 0 4px 22px rgba(140,55,245,.28); }
.section-block { margin: 0 0 34px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 2px 0 17px; }
.section-heading h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.5px; }
.video-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 23px 17px; }
.video-card { min-width: 0; }
.thumb-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; border: 1px solid rgba(158,130,222,.2); border-radius: 13px; background: linear-gradient(135deg,#22133f,#101e46 55%,#3d1752); }
.thumb-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.video-card:hover .thumb-wrap img { transform: scale(1.04); }
.duration { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 6px; color: white; background: rgba(5,6,13,.82); font-size: 9px; font-weight: 850; letter-spacing: .5px; }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #e9ccff; background: radial-gradient(circle at 60% 35%,rgba(149,53,246,.45),transparent 40%),linear-gradient(135deg,#1c1640,#102341); font-size: 37px; }
.video-meta { display: flex; align-items: flex-start; gap: 10px; padding: 10px 2px 0; }
.mini-avatar { width: 34px; height: 34px; font-size: 12px; }
.video-text { display: grid; gap: 4px; min-width: 0; }
.video-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #f1efff; font-size: 13px; font-weight: 760; line-height: 1.35; }
.video-title:hover, .channel-link:hover { color: #d187ff; }
.channel-link { color: #b7b3cf; font-size: 11px; }
.muted { color: var(--muted); }.small { font-size: 11px; }.tiny { font-size: 10px; }
.empty-state { display: grid; justify-items: center; padding: 55px 20px; border: 1px dashed rgba(174,140,230,.25); border-radius: 18px; background: rgba(17,18,34,.65); text-align: center; }
.empty-state.compact { padding: 43px 20px; }.empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(195,95,255,.45); border-radius: 18px; color: #fff; background: linear-gradient(135deg,#9227df,#3449bd); box-shadow: 0 0 30px rgba(141,46,236,.25); font-size: 22px; }
.empty-state h3 { margin: 17px 0 6px; font-size: 19px; }.empty-state p { max-width: 480px; margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer { display: flex; flex-wrap: wrap; gap: 10px; padding: 25px 0 28px; border-top: 1px solid rgba(174,155,255,.1); color: #777991; font-size: 11px; }
.auth-layout { display: grid; place-items: center; min-height: calc(100vh - 190px); padding: 35px 12px; }
.auth-card { width: min(100%,470px); padding: 35px; border: 1px solid rgba(173,108,255,.27); border-radius: 22px; background: linear-gradient(145deg,rgba(25,21,48,.97),rgba(13,16,32,.97)); box-shadow: var(--shadow); }
.auth-symbol { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 23px; border: 1px solid rgba(207,110,255,.6); border-radius: 17px; background: linear-gradient(135deg,#a12bef,#3d4ede); box-shadow: 0 0 30px rgba(168,62,255,.35); font-size: 23px; }
.auth-card h1 { margin: 9px 0; font-size: 29px; letter-spacing: -.8px; }.auth-card > p { margin: 0 0 24px; font-size: 13px; line-height: 1.55; }
.form-stack { display: grid; gap: 17px; }.form-stack label { display: grid; gap: 8px; color: #e2def4; font-size: 12px; font-weight: 750; }
.form-stack input:not([type=file]), .form-stack textarea, .form-stack select, .comment-form textarea { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid rgba(166,151,215,.2); border-radius: 10px; outline: 0; color: var(--text); background: #0b0e1d; font-size: 13px; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .comment-form textarea:focus { border-color: #9b56f1; box-shadow: 0 0 0 3px rgba(154,80,243,.11); }
.form-stack textarea { resize: vertical; }.form-stack select { color-scheme: dark; }
.auth-switch { margin: 21px 0 0 !important; color: var(--muted); font-size: 12px !important; text-align: center; }.auth-switch a { color: #d180ff; font-weight: 800; }
.alert, .notice, .success-message { padding: 14px 16px; border: 1px solid rgba(244,111,146,.35); border-radius: 11px; color: #ffdce6; background: rgba(116,33,66,.2); font-size: 12px; line-height: 1.55; }
.notice { border-color: rgba(151,126,235,.23); color: #d8d1f2; background: rgba(55,45,105,.16); }.notice p { margin: 6px 0 0; color: var(--muted); }
.success-message { margin: 0 0 20px; border-color: rgba(64,219,154,.3); color: #c9ffe7; background: rgba(27,102,75,.16); }
.page-intro { margin: 12px 0 22px; }.page-intro h1 { margin: 7px 0 5px; font-size: 30px; letter-spacing: -.8px; }.page-intro p { margin: 0; font-size: 13px; }
.form-panel { max-width: 760px; padding: 25px; border: 1px solid var(--border); border-radius: 17px; background: rgba(17,20,37,.82); box-shadow: var(--shadow); }.upload-panel { margin-bottom: 32px; }
.file-drop { position: relative; display: grid !important; justify-items: center; gap: 8px !important; padding: 28px 16px; border: 1px dashed rgba(187,109,255,.55); border-radius: 14px; background: radial-gradient(circle at 50% 0,rgba(117,46,205,.17),transparent 58%),#0e1020; text-align: center; cursor: pointer; }
.file-drop.dragover { border-color: #d06aff; background: rgba(127,53,211,.16); }.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg,#9a34e8,#3656c8); font-size: 24px; }.file-drop strong { font-size: 14px; }.file-name { color: #d5abff; font-size: 11px; }
.channel-hero { display: flex; align-items: center; gap: 20px; padding: 25px; margin: 12px 0 25px; border: 1px solid var(--border); border-radius: 18px; background: radial-gradient(ellipse at 20% 20%,rgba(127,49,214,.2),transparent 60%),#121528; }
.channel-avatar { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #c369ff; border-radius: 50%; background: linear-gradient(135deg,#7132bd,#1c7abb); font-size: 28px; font-weight: 900; box-shadow: 0 0 25px rgba(161,67,246,.28); }
.channel-info { min-width: 0; }.channel-info h1 { margin: 5px 0; font-size: 25px; }.channel-info p { margin: 0; font-size: 12px; }.channel-actions { margin-left: auto; }
.watch-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; padding-top: 7px; }.watch-main { min-width: 0; }
.player-shell { overflow: hidden; border: 1px solid rgba(175,123,255,.25); border-radius: 15px; background: #000; box-shadow: 0 16px 55px rgba(0,0,0,.3); }.video-player { display: block; width: 100%; max-height: 72vh; aspect-ratio: 16/9; background: #000; }
.watch-title { margin: 17px 0 10px; font-size: 22px; line-height: 1.25; }.watch-stats { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }.watch-stats form { margin-left: auto; }.like-button { padding: 7px 13px; border: 1px solid var(--border); border-radius: 99px; color: #e8ddff; background: #17192b; }.like-button.liked { color: white; border-color: #c55cff; background: rgba(156,56,223,.25); }
.creator-row { display: flex; align-items: center; gap: 12px; margin: 19px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }.mini-avatar.large { width: 43px; height: 43px; }.creator-details { display: grid; gap: 4px; margin-right: auto; font-size: 13px; font-weight: 800; }.creator-details .tiny { font-weight: 500; }
.description-box { padding: 15px; margin: 17px 0; border-radius: 12px; color: #dedbed; background: #141729; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.comments-section { margin-top: 26px; }.comments-section h2 { font-size: 17px; }.comments-section h2 span { font-size: 12px; font-weight: 500; }.comment-form { display: flex; align-items: end; gap: 10px; margin: 15px 0 20px; }.comment-form textarea { min-height: 54px; resize: vertical; }.comment { display: flex; gap: 11px; padding: 14px 0; border-top: 1px solid rgba(174,155,255,.09); }.comment strong { font-size: 12px; }.comment p { margin: 5px 0; color: #dedbed; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.related-panel { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(17,20,37,.7); align-self: start; }.related-panel h3 { margin: 0 0 13px; font-size: 14px; }.related-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 10px; padding: 9px 0; border-top: 1px solid rgba(174,155,255,.09); }.related-card img { width: 112px; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; background: #1b1c36; }.related-card span { display: grid; align-content: start; gap: 6px; }.related-card strong { font-size: 11px; line-height: 1.35; }.related-card small { color: var(--muted); font-size: 9px; }
.processing-state { display: grid; justify-items: center; gap: 13px; min-height: 55vh; align-content: center; text-align: center; }.processing-state h1 { margin: 0; font-size: 26px; }.processing-state h2 { margin: 0; font-size: 16px; color: #d3b2ff; }.processing-state p { max-width: 500px; line-height: 1.6; font-size: 13px; }.processing-ring { width: 46px; height: 46px; margin-bottom: 7px; border: 3px solid rgba(171,99,255,.2); border-top-color: #cb66ff; border-radius: 50%; animation: spin 1s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.stats-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 17px 0; }.stat-card { display: grid; gap: 8px; padding: 17px; border: 1px solid var(--border); border-radius: 13px; background: #121528; }.stat-card span { color: var(--muted); font-size: 11px; }.stat-card strong { font-size: 27px; }
.admin-storage { max-width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; margin: 20px 0; }.admin-storage h2 { margin: 6px 0; font-size: 18px; }.admin-storage p { font-size: 11px; }.admin-storage code { color: #d5b1ff; overflow-wrap: anywhere; }.disk-numbers { display: grid; text-align: right; }.disk-numbers strong { font-size: 27px; }.disk-numbers span { font-size: 10px; }.storage-bar { height: 9px; margin: 15px 0 8px; border-radius: 99px; background: #252842; overflow: hidden; }.storage-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#963bdf,#25a8ea); }.storage-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.sidebar-backdrop { display: none; }
@media (max-width: 1200px) { .app-layout { grid-template-columns: 220px minmax(0,1fr); }.brand { min-width: 205px; }.video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.main-content { padding-left: 22px; padding-right: 22px; }.watch-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 16px; } }
@media (max-width: 900px) { .topbar { gap: 12px; padding: 0 16px; }.brand { min-width: auto; font-size: 20px; }.app-layout { grid-template-columns: 1fr; }.sidebar { position: fixed; z-index: 40; top: 72px; bottom: 0; left: 0; width: 260px; height: calc(100dvh - 72px); transform: translateX(-105%); transition: transform .22s ease; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.sidebar-backdrop.open { display: block; position: fixed; z-index: 35; inset: 72px 0 0; background: rgba(0,0,0,.55); }.menu-toggle { display: grid; }.main-content { padding-top: 18px; }.hero { min-height: 275px; }.hero-copy { padding-left: 25px; }.hero-art { min-height: 275px; }.watch-layout { grid-template-columns: minmax(0,1fr); }.related-panel { display: none; }.stats-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) { .topbar { height: 64px; gap: 9px; padding: 0 10px; }.brand { gap: 7px; font-size: 17px; letter-spacing: -.6px; }.brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }.menu-toggle { width: 35px; height: 35px; }.search { position: absolute; top: 72px; left: 12px; right: 12px; width: auto; max-width: none; height: 40px; }.search button { height: 40px; width: 44px; }.topbar { margin-bottom: 50px; }.top-actions { margin-left: auto; gap: 6px; }.top-actions .button { min-height: 34px; padding: 0 10px; font-size: 11px; }.top-actions .upload-top span { display: none; }.avatar { width: 32px; height: 32px; }.app-layout { min-height: calc(100vh - 114px); }.sidebar { top: 114px; height: calc(100dvh - 114px); }.sidebar-backdrop.open { top: 114px; }.main-content { padding: 14px 13px 0; }.hero { grid-template-columns: 1fr; min-height: 355px; }.hero-copy { padding: 25px 22px 18px; }.hero h1 { font-size: 35px; }.hero-copy p { font-size: 12px; }.hero-actions { margin-top: 18px; }.button-large { min-height: 42px; padding: 0 13px; font-size: 11px; }.hero-art { position: absolute; right: 0; bottom: 0; width: 48%; min-height: 170px; opacity: .78; }.hero-play { width: 78px; height: 78px; border-radius: 24px; font-size: 30px; }.hero-orbit { width: 160px; height: 160px; }.orbit-two { width: 210px; height: 210px; }.hero-caption { right: 9px; bottom: 10px; font-size: 7px; letter-spacing: 2px; }.hero-footnote { font-size: 9px; }.category-row { padding: 16px 0 19px; gap: 7px; }.chip { padding: 9px 13px; font-size: 11px; }.section-heading h2 { font-size: 19px; }.video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 11px; }.video-meta { gap: 7px; padding-top: 8px; }.mini-avatar { width: 29px; height: 29px; font-size: 10px; }.video-title { font-size: 11px; }.channel-link, .tiny { font-size: 9px; }.thumb-wrap { border-radius: 10px; }.auth-card { padding: 25px 20px; }.channel-hero { flex-wrap: wrap; padding: 18px; gap: 13px; }.channel-avatar { width: 62px; height: 62px; font-size: 22px; }.channel-info h1 { font-size: 20px; }.channel-actions { width: 100%; margin-left: 0; }.channel-actions .button { width: 100%; }.form-panel { padding: 17px; }.page-intro h1 { font-size: 25px; }.watch-title { font-size: 18px; }.watch-layout { gap: 12px; }.comment-form { flex-direction: column; align-items: stretch; }.stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.admin-storage { grid-template-columns: 1fr; }.disk-numbers { text-align: left; }.footer { font-size: 9px; } }
.moderation-panel { max-width: 100%; margin: 20px 0; }.moderation-panel .section-heading { margin-top: 0; }.moderation-row { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid rgba(174,155,255,.1); }.moderation-info { display: grid; flex: 1; min-width: 0; gap: 4px; }.moderation-info strong { overflow: hidden; color: #f0eaff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.moderation-info .tiny { font-size: 10px; }.status-label { padding: 5px 8px; border-radius: 99px; background: rgba(151,126,235,.16); color: #d8c1ff; font-size: 9px; font-weight: 800; white-space: nowrap; }.status-published { color: #9bf2c8; background: rgba(40,167,111,.16); }.status-failed { color: #ffb1bf; background: rgba(199,56,88,.17); }.delete-button { padding: 7px 10px; border: 1px solid rgba(237,89,126,.3); border-radius: 8px; color: #ffb5c5; background: rgba(139,36,66,.18); font-size: 10px; font-weight: 800; }.delete-button:hover { background: rgba(180,40,80,.28); }
@media (max-width:620px) { .moderation-row { gap: 7px; }.status-label { font-size: 8px; padding: 4px 6px; }.delete-button { padding: 6px 7px; } }

/* Language selector */
.language-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:rgba(255,255,255,.035)}
.language-switch form{margin:0;padding:0}
.language-button{border:0;border-radius:999px;padding:6px 9px;background:transparent;color:var(--muted,#a5a5b8);font:inherit;font-size:.72rem;font-weight:800;letter-spacing:.04em;cursor:pointer;transition:background .18s ease,color .18s ease}
.language-button:hover{color:#fff;background:rgba(255,255,255,.08)}
.language-button.active{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);box-shadow:0 3px 12px rgba(124,58,237,.25)}
@media(max-width:720px){.language-switch{margin-right:2px}.language-button{padding:6px 7px}.top-actions{gap:7px}}

/* PlayNova Video player: custom controls with a native-control fallback. */
.player-shell { position: relative; overflow: hidden; border: 1px solid rgba(175,123,255,.32); border-radius: 17px; background: #02030a; box-shadow: 0 18px 60px rgba(0,0,0,.38), 0 0 28px rgba(116,52,225,.08); }
.player-stage { position: relative; display: grid; place-items: center; background: #000; outline: none; }
.player-stage:focus-visible { box-shadow: inset 0 0 0 2px #b45cff; }
.video-player { display: block; width: 100%; max-height: 76vh; aspect-ratio: 16/9; background: #000; object-fit: contain; }
.player-center-button { position: absolute; z-index: 3; top: 50%; left: 50%; width: 76px; height: 76px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(231,204,255,.8); border-radius: 24px; color: #fff; background: linear-gradient(135deg,rgba(157,52,246,.94),rgba(43,94,224,.94)); box-shadow: 0 0 28px rgba(173,77,255,.52), inset 0 0 18px rgba(255,255,255,.13); font-size: 28px; transition: transform .18s ease, opacity .18s ease; }
.player-center-button:hover { transform: translate(-50%,-50%) scale(1.07); }
.player-center-button[hidden], .player-loading[hidden], .player-error[hidden], .player-controls[hidden] { display: none !important; }
.player-loading { position: absolute; z-index: 4; top: 18px; left: 18px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: #eee7ff; background: rgba(8,8,20,.78); font-size: 11px; backdrop-filter: blur(10px); }
.player-loading span { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.24); border-top-color: #d37aff; border-radius: 50%; animation: player-spin .8s linear infinite; }
@keyframes player-spin { to { transform: rotate(360deg); } }
.player-error { position: absolute; z-index: 5; left: 5%; right: 5%; bottom: 20px; padding: 12px 15px; border: 1px solid rgba(255,105,139,.3); border-radius: 11px; color: #ffdce5; background: rgba(90,13,40,.86); text-align: center; font-size: 12px; }
.player-controls { padding: 8px 14px 12px; background: linear-gradient(180deg,#111322,#090b14); }
.player-seek-row { padding: 0 1px 7px; }
.player-control-row { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.player-control-button { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid transparent; border-radius: 9px; color: #eee9ff; background: transparent; font-size: 17px; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.player-control-button:hover { border-color: rgba(181,112,255,.32); color: #fff; background: rgba(146,72,232,.18); }
.player-control-button:focus-visible, .player-speed-label select:focus-visible, .player-seek:focus-visible, .player-volume:focus-visible { outline: 2px solid #c16aff; outline-offset: 2px; }
.player-toggle { color: #d78cff; font-size: 18px; }
.player-time { min-width: 95px; color: #c9c4dc; font-variant-numeric: tabular-nums; font-size: 11px; }
.player-control-spacer { flex: 1 1 auto; }
.player-seek, .player-volume { appearance: none; height: 5px; border: 0; border-radius: 99px; background: linear-gradient(to right,#b44dff 0%,#436dff var(--seek-progress,0%),rgba(255,255,255,.2) var(--seek-progress,0%),rgba(255,255,255,.2) 100%); cursor: pointer; }
.player-seek { display: block; width: 100%; margin: 0; }
.player-volume { width: 76px; background: linear-gradient(to right,#b44dff,#436dff); }
.player-seek::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #a64cff; box-shadow: 0 0 9px rgba(174,76,255,.7); }
.player-seek::-moz-range-thumb, .player-volume::-moz-range-thumb { width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #a64cff; box-shadow: 0 0 9px rgba(174,76,255,.7); }
.player-speed-label select { min-width: 63px; height: 31px; padding: 0 7px; border: 1px solid rgba(174,155,255,.18); border-radius: 8px; color: #e9e2ff; background: #17182a; font-size: 10px; }
.player-speed-label select option { color: #fff; background: #17182a; }
.player-shell:fullscreen { width: 100%; height: 100%; display: flex; flex-direction: column; border: 0; border-radius: 0; background: #000; }
.player-shell:fullscreen .player-stage { flex: 1 1 auto; min-height: 0; }
.player-shell:fullscreen .video-player { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
.player-shell:fullscreen .player-controls { flex: 0 0 auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 620px) { .player-shell { border-radius: 12px; }.player-controls { padding: 7px 9px 9px; }.player-control-row { gap: 5px; }.player-time { min-width: 76px; font-size: 10px; }.player-control-button { width: 30px; height: 32px; }.player-volume { width: 48px; }.player-speed-label select { min-width: 54px; padding: 0 4px; }.player-center-button { width: 60px; height: 60px; border-radius: 19px; } }

.upload-error { padding: 12px 14px; margin-bottom: 15px; border: 1px solid rgba(255,105,139,.34); border-radius: 11px; color: #ffdce5; background: rgba(119,24,53,.2); font-size: 12px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   PlayNova Video 1.3 — visual refinement layer
   Premium midnight UI, calmer glow, stronger hierarchy and responsive polish.
   -------------------------------------------------------------------------- */
:root {
  --bg: #070914;
  --surface: #101426;
  --surface-2: #151b31;
  --surface-3: #1d2440;
  --border: rgba(171, 157, 224, .16);
  --text: #f7f6ff;
  --muted: #a5a9c1;
  --purple: #a65cff;
  --purple-2: #d16cff;
  --blue: #4b83ff;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}
body {
  background:
    radial-gradient(ellipse at 76% -14%, rgba(111,65,214,.20), transparent 34%),
    radial-gradient(ellipse at 6% 40%, rgba(35,82,160,.08), transparent 32%),
    #070914;
  letter-spacing: .005em;
}
.topbar {
  height: 76px;
  gap: clamp(14px, 2vw, 27px);
  padding-inline: clamp(16px, 2.1vw, 34px);
  background: rgba(7,9,20,.88);
  border-bottom-color: rgba(175,151,255,.15);
  box-shadow: 0 8px 35px rgba(0,0,0,.18);
}
.brand { min-width: 225px; gap: 12px; font-size: 22px; letter-spacing: -1px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  border-color: rgba(225,185,255,.58);
  background: linear-gradient(145deg,#bc55ff 0%,#7139e7 52%,#297de9 100%);
  box-shadow: 0 8px 26px rgba(132,65,241,.30), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand-accent { color: #d17aff; }
.search {
  max-width: 760px; height: 46px;
  border-color: rgba(164,143,228,.28);
  background: rgba(17,20,39,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 20px rgba(0,0,0,.12);
}
.search button { height: 46px; width: 58px; background: linear-gradient(135deg,#8c43e8,#3c56c8); }
.search input { font-size: 13px; }
.top-actions { gap: 11px; }
.button { min-height: 42px; border-radius: 13px; font-size: 12px; letter-spacing: .005em; }
.button-primary {
  background: linear-gradient(112deg,#a33cf0 0%,#7651e9 55%,#3979ed 100%);
  box-shadow: 0 8px 24px rgba(126,66,224,.22), inset 0 1px 0 rgba(255,255,255,.19);
}
.button-primary:hover { box-shadow: 0 11px 30px rgba(126,66,224,.34), inset 0 1px 0 rgba(255,255,255,.22); }
.button-quiet { background: rgba(22,26,47,.88); border-color: rgba(169,157,220,.23); }
.button-outline { background: rgba(11,14,29,.52); border-color: rgba(194,166,255,.48); }
.button:focus-visible, .nav-item:focus-visible, .chip:focus-visible, .icon-button:focus-visible {
  outline: 2px solid #d17aff; outline-offset: 3px;
}
.app-layout { grid-template-columns: 232px minmax(0,1fr); }
.sidebar {
  top: 76px; height: calc(100vh - 76px);
  padding: 24px 14px 17px;
  background: linear-gradient(180deg,rgba(11,14,28,.94),rgba(8,10,21,.94));
  border-right-color: rgba(169,157,220,.12);
}
.side-nav { gap: 7px; }
.nav-item {
  min-height: 44px; gap: 13px; padding: 11px 14px;
  border-radius: 13px; color: #c8cadd; font-size: 13px;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.nav-item:hover { transform: translateX(2px); background: rgba(135,94,222,.11); }
.nav-item.active {
  border-color: rgba(180,119,255,.33);
  background: linear-gradient(105deg,rgba(130,60,216,.23),rgba(49,68,155,.13));
  box-shadow: inset 3px 0 #c16cff, 0 6px 18px rgba(73,43,136,.10);
}
.side-divider { background: rgba(169,157,220,.13); margin-block: 21px; }
.sidebar-note {
  padding: 18px; border-radius: 17px;
  background: linear-gradient(145deg,rgba(87,49,153,.23),rgba(17,21,41,.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.sidebar-bottom { padding-inline: 12px; color: #858aa5; }
.main-content {
  max-width: 1680px;
  padding: clamp(20px,2.1vw,32px) clamp(20px,2.4vw,38px) 0;
}
.hero {
  min-height: 326px;
  grid-template-columns: minmax(0,1.03fr) minmax(330px,.97fr);
  border-radius: 25px;
  border-color: rgba(174,131,255,.31);
  background:
    radial-gradient(ellipse at 77% 52%,rgba(78,78,207,.36),transparent 35%),
    radial-gradient(ellipse at 88% 104%,rgba(183,56,217,.24),transparent 42%),
    linear-gradient(118deg,#17172e 0%,#111329 56%,#111b37 100%);
  box-shadow: 0 25px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055);
}
.hero:before {
  background: linear-gradient(90deg,rgba(10,11,26,.16),rgba(10,11,26,0) 62%),
              linear-gradient(0deg,rgba(8,9,21,.22),transparent 48%);
}
.hero:after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .26;
  background-image: radial-gradient(rgba(224,209,255,.30) .65px,transparent .65px);
  background-size: 19px 19px;
  mask-image: linear-gradient(90deg,transparent 5%,transparent 38%,#000 100%);
}
.hero-copy { padding: 42px 0 40px clamp(28px,3.2vw,48px); max-width: 650px; }
.eyebrow { font-size: 9px; letter-spacing: 2.2px; }
.hero h1 { margin-top: 18px; font-size: clamp(36px,4vw,56px); line-height: 1.01; letter-spacing: -2.7px; }
.hero h1 span { color: #d57bff; text-shadow: 0 6px 28px rgba(183,84,255,.28); }
.hero-copy p { max-width: 485px; color: #c6c8dc; font-size: 14px; line-height: 1.75; }
.hero-actions { gap: 12px; margin-top: 25px; }
.hero-footnote { margin-top: 21px; color: #a3a2bd; font-size: 11px; }
.hero-art { min-height: 326px; isolation: isolate; }
.hero-art:before {
  content: ""; position: absolute; z-index: -1; width: 390px; height: 240px;
  top: 50%; left: 51%; transform: translate(-50%,-50%);
  border-radius: 50%; background: rgba(101,74,255,.27); filter: blur(58px);
}
.hero-grid { opacity: .85; background-size: 35px 35px; }
.hero-glow { width: 330px; height: 220px; top: 52px; left: 27%; background: rgba(145,65,255,.26); filter: blur(64px); }
.hero-play {
  width: 136px; height: 136px; border-radius: 39px;
  border: 1px solid rgba(235,207,255,.88);
  background: linear-gradient(145deg,rgba(169,90,255,.90),rgba(76,82,220,.79) 58%,rgba(42,126,235,.72));
  box-shadow: 0 0 0 10px rgba(167,103,255,.055), 0 18px 48px rgba(113,59,224,.28), 0 0 70px rgba(93,97,255,.34), inset 0 1px 0 rgba(255,255,255,.36);
  font-size: 48px;
}
.hero-orbit { border-color: rgba(164,157,255,.34); }
.orbit-two { border-color: rgba(221,105,255,.22); }
.hero-caption { right: clamp(20px,3vw,42px); bottom: 25px; color: rgba(224,205,255,.72); font-size: 9px; letter-spacing: 4.5px; }
.hero-spark { opacity: .86; }
.category-row { padding: 24px 0 28px; gap: 10px; }
.chip {
  padding: 10px 17px; border-color: rgba(165,155,213,.15);
  background: linear-gradient(180deg,rgba(24,29,51,.95),rgba(16,20,37,.95));
  color: #d1d2e4; font-size: 12px;
}
.chip.selected {
  border-color: rgba(207,145,255,.54);
  background: linear-gradient(110deg,#9846dd,#644bd9);
  box-shadow: 0 7px 20px rgba(118,61,207,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.section-block { margin-bottom: 42px; }
.section-heading { margin-bottom: 19px; }
.section-heading h2 { font-size: 24px; letter-spacing: -.7px; }
.video-grid { gap: 27px 20px; }
.video-card { border-radius: 15px; transition: transform .22s ease; }
.video-card:hover { transform: translateY(-3px); }
.thumb-wrap {
  border-color: rgba(173,157,224,.19); border-radius: 16px;
  background: linear-gradient(135deg,#241b48,#15234a 58%,#42204f);
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
}
.thumb-wrap:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,transparent 55%,rgba(5,7,18,.18));
  opacity: .55; transition: opacity .25s ease;
}
.video-card:hover .thumb-wrap { border-color: rgba(197,135,255,.48); box-shadow: 0 15px 32px rgba(0,0,0,.28),0 0 0 1px rgba(168,98,255,.08); }
.video-card:hover .thumb-wrap:after { opacity: .2; }
.duration { z-index: 2; padding: 5px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; font-size: 10px; backdrop-filter: blur(8px); }
.video-meta { gap: 11px; padding: 12px 3px 0; }
.mini-avatar { border-color: rgba(203,158,255,.56); background: linear-gradient(145deg,#6738b9,#285f9a); box-shadow: 0 4px 14px rgba(77,54,143,.16); }
.video-title { color: #f3f1ff; font-size: 13px; line-height: 1.42; }
.channel-link { color: #b3b5cd; font-size: 11px; }
.empty-state {
  position: relative; overflow: hidden; min-height: 235px; padding: 42px 20px;
  border: 1px solid rgba(165,141,218,.19); border-radius: 21px;
  background: radial-gradient(ellipse at 50% 0,rgba(106,66,184,.13),transparent 52%),linear-gradient(145deg,rgba(17,21,39,.96),rgba(11,14,27,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.empty-state:before, .empty-state:after {
  content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(176,127,255,.10); border-radius: 50%;
}
.empty-state:before { width: 300px; height: 120px; top: -70px; left: calc(50% - 150px); }
.empty-state:after { width: 420px; height: 180px; top: -105px; left: calc(50% - 210px); }
.empty-icon { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(145deg,#aa48ed,#6350d7 66%,#3979e6); box-shadow: 0 10px 30px rgba(117,62,212,.3),inset 0 1px 0 rgba(255,255,255,.24); }
.empty-state h3 { margin-top: 18px; font-size: 20px; letter-spacing: -.45px; }
.empty-state p { color: #aeb1c8; font-size: 13px; }
.footer { margin-top: 28px; border-top-color: rgba(165,155,213,.11); color: #8288a3; }
.auth-card, .form-panel, .related-panel {
  border-color: rgba(169,150,222,.19);
  background: linear-gradient(145deg,rgba(22,25,46,.96),rgba(12,16,31,.96));
  box-shadow: 0 22px 65px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035);
}
.auth-card { border-radius: 24px; }
.auth-symbol { box-shadow: 0 9px 28px rgba(138,61,226,.25),inset 0 1px 0 rgba(255,255,255,.24); }
.form-stack { gap: 19px; }
.form-stack label { font-size: 12px; letter-spacing: .01em; }
.form-stack input:not([type=file]), .form-stack textarea, .form-stack select, .comment-form textarea {
  border-color: rgba(165,155,213,.20); border-radius: 12px; background: rgba(8,11,24,.86);
}
.file-drop {
  min-height: 190px; border-color: rgba(186,132,255,.48); border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0,rgba(131,74,219,.20),transparent 58%),rgba(12,16,31,.9);
}
.upload-icon { width: 50px; height: 50px; border-radius: 16px; box-shadow: 0 8px 25px rgba(126,67,213,.25); }
.channel-hero {
  border-color: rgba(172,148,224,.20); border-radius: 22px;
  background: radial-gradient(ellipse at 15% 15%,rgba(126,72,213,.22),transparent 58%),linear-gradient(120deg,#171a32,#11172d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.channel-avatar { border-color: rgba(215,161,255,.75); box-shadow: 0 0 0 7px rgba(171,108,255,.07),0 12px 30px rgba(0,0,0,.2); }
.watch-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 28px; }
.player-shell { border-radius: 20px; border-color: rgba(183,145,255,.27); box-shadow: 0 22px 70px rgba(0,0,0,.42),0 0 35px rgba(122,72,213,.08); }
.player-stage { background: radial-gradient(ellipse at 50% 50%,#11162c,#02030a 75%); }
.player-controls { padding: 10px 17px 14px; background: linear-gradient(180deg,#15192b,#090c17); }
.player-control-button { border-radius: 11px; }
.player-control-button:hover { background: rgba(146,92,232,.22); }
.watch-title { margin-top: 21px; font-size: clamp(20px,2vw,27px); letter-spacing: -.65px; }
.creator-row { margin-block: 22px; border-color: rgba(171,157,224,.14); }
.creator-watch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.creator-watch-actions form{margin:0}
.creator-watch-actions .button{white-space:nowrap}
@media(max-width:640px){.creator-watch-actions{gap:6px}.creator-watch-actions .button{min-height:36px;padding-inline:10px;font-size:11px}}

.description-box { border: 1px solid rgba(165,155,213,.12); border-radius: 15px; background: linear-gradient(145deg,#151a30,#101426); }
.related-panel { border-radius: 18px; }
.related-card { grid-template-columns: 118px minmax(0,1fr); padding-block: 11px; }
.related-card img { width: 118px; border-radius: 10px; }
.related-card strong { font-size: 12px; }
.stats-grid { gap: 14px; }
.stat-card { border-color: rgba(169,150,222,.18); border-radius: 16px; background: linear-gradient(145deg,#171b32,#101426); }
.admin-storage { border-radius: 18px; }
.moderation-panel { border-radius: 18px; }
@media (max-width: 1200px) {
  .app-layout { grid-template-columns: 216px minmax(0,1fr); }
  .brand { min-width: 195px; }
  .main-content { padding-inline: 22px; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.88fr); }
  .video-grid { gap: 23px 16px; }
  .watch-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 18px; }
}
@media (max-width: 900px) {
  .topbar { height: 72px; }
  .sidebar { top: 72px; height: calc(100dvh - 72px); }
  .sidebar-backdrop.open { inset-block-start: 72px; }
  .main-content { padding-top: 22px; }
  .hero { min-height: 300px; }
  .hero-art { min-height: 300px; }
  .watch-layout { grid-template-columns: minmax(0,1fr); }
  .related-panel { display: none; }
}
@media (max-width: 620px) {
  .topbar { height: 64px; padding-inline: 10px; }
  .brand { font-size: 16px; min-width: 0; gap: 7px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 11px; }
  .search { top: 72px; left: 11px; right: 11px; }
  .sidebar { top: 114px; height: calc(100dvh - 114px); }
  .sidebar-backdrop.open { inset-block-start: 114px; }
  .main-content { padding: 14px 13px 0; }
  .hero { min-height: 350px; border-radius: 20px; }
  .hero-copy { padding: 25px 20px 17px; }
  .hero h1 { font-size: clamp(32px,8vw,38px); letter-spacing: -1.8px; }
  .hero-copy p { max-width: 92%; font-size: 12px; }
  .hero-art { width: 49%; min-height: 175px; }
  .hero-play { width: 80px; height: 80px; border-radius: 25px; font-size: 29px; }
  .hero-caption { right: 8px; bottom: 10px; font-size: 6px; letter-spacing: 2px; }
  .category-row { padding-block: 16px 20px; }
  .section-heading h2 { font-size: 20px; }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 11px; }
  .empty-state { min-height: 220px; padding: 34px 16px; }
  .empty-state h3 { font-size: 17px; }
  .watch-layout { gap: 14px; }
  .player-shell { border-radius: 13px; }
  .player-controls { padding: 7px 9px 9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-play { animation: nova-float 7s ease-in-out infinite; }
  .hero-glow { animation: nova-breathe 8s ease-in-out infinite alternate; }
  @keyframes nova-float { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-53%) translateY(-4px); } }
  @keyframes nova-breathe { from { opacity: .55; } to { opacity: .95; } }
}


/* PlayNova Video v1.5 — premium player refinements */
.player-shell { isolation: isolate; border-radius: 20px; border-color: rgba(183,145,255,.34); background: #050611; box-shadow: 0 24px 75px rgba(0,0,0,.44), 0 0 34px rgba(124,58,237,.12); }
.player-stage { min-height: 180px; overflow: hidden; background: radial-gradient(ellipse at 50% 48%,#17152f 0%,#050611 70%); }
.video-player { width: 100%; height: auto; max-height: min(76vh,780px); object-fit: contain; }
.player-center-button { width: 78px; height: 78px; border-radius: 25px; background: linear-gradient(145deg,#8f35eb 0%,#5b37dd 58%,#2b63d7 100%); box-shadow: 0 0 0 8px rgba(153,91,255,.09),0 0 34px rgba(164,83,255,.55),inset 0 1px 0 rgba(255,255,255,.32); }
.player-center-button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.player-resolution { position:absolute; z-index:2; top:14px; right:14px; padding:6px 9px; border:1px solid rgba(255,255,255,.17); border-radius:8px; color:#fff; background:rgba(8,9,22,.66); font-size:10px; font-weight:850; letter-spacing:.08em; backdrop-filter:blur(9px); }
.player-resolution[hidden],.player-seek-feedback[hidden] { display:none!important; }
.player-seek-feedback { position:absolute; z-index:3; top:50%; left:50%; display:grid; place-items:center; width:78px; height:54px; transform:translate(-50%,-50%); border:1px solid rgba(224,190,255,.38); border-radius:16px; color:#fff; background:rgba(14,10,34,.82); font-size:18px; font-weight:900; opacity:0; pointer-events:none; backdrop-filter:blur(10px); }
.player-seek-feedback.visible { animation: player-seek-pop .65s ease both; }
@keyframes player-seek-pop { 0% { opacity:0; transform:translate(-50%,-42%) scale(.9); } 18%,72% { opacity:1; transform:translate(-50%,-50%) scale(1); } 100% { opacity:0; transform:translate(-50%,-58%) scale(.96); } }
.player-controls { padding:9px 16px 11px; border-top:1px solid rgba(185,153,255,.12); background:linear-gradient(180deg,#15172a 0%,#0b0d19 100%); }
.player-seek-row { padding:0 2px 7px; }
.player-seek-wrap { position:relative; display:flex; align-items:center; min-height:14px; }
.player-buffer-track { position:absolute; left:0; right:0; top:50%; height:5px; transform:translateY(-50%); border-radius:99px; overflow:hidden; background:rgba(255,255,255,.16); pointer-events:none; }
.player-buffer-track span { display:block; height:100%; width:0; border-radius:inherit; background:rgba(194,174,255,.42); }
.player-seek { position:relative; z-index:1; width:100%; height:14px; margin:0; background:transparent; }
.player-seek::-webkit-slider-runnable-track { height:5px; border-radius:99px; background:linear-gradient(to right,#b44dff 0%,#4868f4 var(--seek-progress,0%),transparent var(--seek-progress,0%),transparent 100%); }
.player-seek::-moz-range-track { height:5px; border-radius:99px; background:rgba(255,255,255,.15); }
.player-seek::-moz-range-progress { height:5px; border-radius:99px; background:linear-gradient(90deg,#b44dff,#4868f4); }
.player-seek::-webkit-slider-thumb { margin-top:-3.5px; width:12px; height:12px; }
.player-seek::-moz-range-thumb { width:10px; height:10px; }
.player-control-row { gap:8px; min-height:38px; }
.player-control-button { position:relative; width:36px; height:36px; border-radius:11px; color:#e9e5fb; }
.player-control-button:active { transform:scale(.94); }
.player-toggle { color:#d98bff; }
.player-skip { font-size:18px; font-weight:800; }
.player-skip small { position:absolute; top:17px; left:0; right:0; font-size:8px; font-weight:900; line-height:1; text-align:center; }
.player-time { min-width:100px; color:#e5dff8; font-size:11px; letter-spacing:.02em; }
.player-volume { background:linear-gradient(to right,#b44dff 0%,#4868f4 var(--volume-progress,85%),rgba(255,255,255,.18) var(--volume-progress,85%),rgba(255,255,255,.18) 100%); }
.player-speed-label select { min-width:62px; height:34px; border-color:rgba(184,156,255,.23); border-radius:10px; font-weight:750; }
.player-hint { margin:6px 2px 0; color:#777d9e; font-size:9px; line-height:1.4; text-align:right; }
.player-control-button[aria-pressed="true"] { color:#fff; border-color:rgba(186,108,255,.35); background:rgba(148,73,237,.2); }
.watch-layout.theater-mode { grid-template-columns:minmax(0,1fr); }
.watch-layout.theater-mode .related-panel { display:none; }
.watch-layout.theater-mode .player-shell { border-radius:14px; }
.watch-layout.theater-mode .video-player { max-height:84vh; }
.related-card { transition:background .16s ease, transform .16s ease; border-radius:10px; }
.related-card:hover { background:rgba(139,92,246,.08); transform:translateX(2px); }
@media(max-width:900px) {
  .related-panel { display:block; padding:14px; }
  .related-panel h3 { margin-bottom:8px; }
  .related-panel:has(.related-card) { display:block; }
  .related-card { grid-template-columns:120px minmax(0,1fr); }
}
@media(max-width:620px) {
  .player-shell { border-radius:14px; }
  .player-stage { min-height:120px; }
  .video-player { max-height:58vh; }
  .player-center-button { width:62px; height:62px; border-radius:20px; font-size:25px; }
  .player-controls { padding:7px 9px 9px; }
  .player-control-row { gap:3px; min-height:34px; }
  .player-control-button { width:30px; height:32px; border-radius:9px; }
  .player-time { min-width:70px; font-size:9px; }
  .player-volume { width:44px; }
  .player-speed-label select { min-width:48px; width:52px; height:30px; padding-inline:3px; font-size:9px; }
  .player-hint { display:none; }
  .player-resolution { top:8px; right:8px; padding:4px 6px; }
  .related-panel { margin-top:3px; }
  .related-card { grid-template-columns:104px minmax(0,1fr); }
  .related-card img { width:104px; }
}
@media(prefers-reduced-motion:reduce) { .player-seek-feedback.visible { animation:none; opacity:1; } .player-control-button:active { transform:none; } }

/* PlayNova Video v1.6 — floating cinema controls matching the supplied reference */
.player-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #02030a;
}
.player-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 13, .72));
}
.player-stage .video-player {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}
.player-center-button { z-index: 4; }
.player-resolution { z-index: 4; }
.player-loading { z-index: 5; }
.player-error { z-index: 6; bottom: 100px; }
.player-controls {
  position: absolute;
  z-index: 8;
  left: 2.2%;
  right: 2.2%;
  bottom: 14px;
  padding: 10px 17px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 17px;
  background: linear-gradient(105deg, rgba(151, 11, 226, .96), rgba(105, 47, 222, .95) 54%, rgba(50, 89, 225, .95));
  box-shadow: 0 10px 35px rgba(18, 5, 49, .45), inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter: blur(16px) saturate(135%);
}
.player-overlay-panel { display: grid; gap: 4px; }
.player-seek-row { padding: 0 1px 3px; }
.player-seek-wrap { min-height: 12px; }
.player-buffer-track { height: 5px; background: rgba(255,255,255,.35); }
.player-buffer-track span { background: rgba(255,255,255,.48); }
.player-seek { height: 12px; background: transparent; }
.player-seek::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(to right, #fff 0%, #fff var(--seek-progress,0%), rgba(255,255,255,.34) var(--seek-progress,0%), rgba(255,255,255,.34) 100%);
}
.player-seek::-moz-range-track { height: 5px; background: rgba(255,255,255,.34); }
.player-seek::-moz-range-progress { height: 5px; background: #fff; }
.player-seek::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -3.5px; background: #fff; border-color: rgba(113,56,210,.8); box-shadow: 0 0 0 3px rgba(255,255,255,.16); }
.player-seek::-moz-range-thumb { width: 10px; height: 10px; background: #fff; border-color: rgba(113,56,210,.8); }
.player-control-row { min-height: 32px; gap: 8px; }
.player-control-button {
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: 9px;
  background: transparent;
  font-size: 17px;
}
.player-control-button:hover,
.player-control-button[aria-expanded="true"] { color: #fff; border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.17); }
.player-toggle { color: #fff; font-size: 19px; }
.player-time { min-width: 86px; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }
.player-volume {
  width: 76px;
  height: 4px;
  background: linear-gradient(to right,#fff 0%,#fff var(--volume-progress,85%),rgba(255,255,255,.38) var(--volume-progress,85%),rgba(255,255,255,.38) 100%);
}
.player-volume::-webkit-slider-thumb { width: 11px; height: 11px; background:#fff; border:1px solid rgba(106,48,195,.7); }
.player-volume::-moz-range-thumb { width: 9px; height: 9px; background:#fff; border:1px solid rgba(106,48,195,.7); }
.player-settings-wrap { position: relative; display: flex; align-items: center; }
.player-settings-toggle { font-size: 19px; }
.player-settings-menu {
  position: absolute;
  right: -4px;
  bottom: calc(100% + 13px);
  z-index: 20;
  width: min(270px, calc(100vw - 44px));
  padding: 13px;
  border: 1px solid rgba(196,163,255,.3);
  border-radius: 15px;
  color: #f7f3ff;
  background: rgba(9, 10, 23, .97);
  box-shadow: 0 18px 55px rgba(0,0,0,.55), 0 0 30px rgba(132,69,231,.18);
  backdrop-filter: blur(18px);
}
.player-settings-menu[hidden] { display:none !important; }
.player-settings-heading { padding: 2px 4px 10px; margin-bottom: 5px; border-bottom:1px solid rgba(255,255,255,.1); font-size:12px; font-weight:850; letter-spacing:.04em; }
.player-setting-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:39px; padding:5px 4px; border-bottom:1px solid rgba(255,255,255,.07); color:#d9d4e9; font-size:11px; }
.player-setting-row strong { color:#fff; font-size:11px; font-weight:750; }
.player-setting-row select {
  max-width:145px;
  min-width:88px;
  height:29px;
  padding:0 8px;
  border:1px solid rgba(183,145,255,.26);
  border-radius:8px;
  color:#fff;
  background:#17162c;
  font-size:10px;
}
.player-setting-row select option { color:#fff; background:#17162c; }
.player-settings-note { margin:9px 4px 1px; color:#9993b1; font-size:9px; line-height:1.45; }
.player-hint { display:none; }
.player-shell:fullscreen { position:fixed; inset:0; display:block; width:100%; height:100%; border:0; border-radius:0; background:#000; }
.player-shell:fullscreen .player-stage { width:100%; height:100%; min-height:0; aspect-ratio:auto; }
.player-shell:fullscreen .video-player { width:100%; height:100%; max-height:none; }
.player-shell:fullscreen .player-controls { left:2%; right:2%; bottom:22px; }
.watch-layout.theater-mode .player-shell { border-radius:16px; }
@media (max-width: 620px) {
  .player-controls { left:2%; right:2%; bottom:8px; padding:7px 9px 6px; border-radius:13px; }
  .player-control-row { min-height:29px; gap:3px; }
  .player-control-button { width:28px; height:29px; border-radius:8px; font-size:15px; }
  .player-toggle { font-size:17px; }
  .player-time { min-width:65px; font-size:9px; }
  .player-volume { width:42px; }
  .player-settings-menu { right:-44px; bottom:calc(100% + 9px); }
  .player-resolution { top:7px; right:7px; }
  .player-error { bottom:75px; }
}


/* PlayNova Video v1.7 — compact reference-matched floating controls */
.player-shell { border-radius: 20px; }
.player-stage { aspect-ratio: 16 / 9; }
.player-controls {
  left: 3.6%; right: 3.6%; bottom: 14px;
  padding: 7px 13px 8px;
  border: 1px solid rgba(176, 150, 255, .20);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(21, 23, 39, .88), rgba(10, 12, 25, .91));
  box-shadow: 0 8px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(120%);
}
.player-overlay-panel { gap: 3px; }
.player-seek-row { padding: 0 2px 2px; }
.player-seek-wrap { min-height: 11px; }
.player-buffer-track { height: 4px; background: rgba(219, 218, 235, .22); }
.player-buffer-track span { background: rgba(222, 213, 255, .43); }
.player-seek { height: 11px; }
.player-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 99px;
  background: linear-gradient(to right, #b85cff 0%, #7658ee var(--seek-progress,0%), rgba(255,255,255,.23) var(--seek-progress,0%), rgba(255,255,255,.23) 100%);
}
.player-seek::-moz-range-track { height: 4px; border-radius: 99px; background: rgba(255,255,255,.23); }
.player-seek::-moz-range-progress { height: 4px; border-radius: 99px; background: linear-gradient(90deg,#b85cff,#7658ee); }
.player-seek::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -3px; background: #f8f5ff; border: 1px solid #a86aff; box-shadow: 0 0 0 2px rgba(177,105,255,.18); }
.player-seek::-moz-range-thumb { width: 9px; height: 9px; background: #f8f5ff; border: 1px solid #a86aff; }
.player-control-row { min-height: 29px; gap: 9px; }
.player-control-button {
  width: 27px; height: 28px; border: 1px solid transparent; border-radius: 8px;
  color: #eeeaf9; background: transparent; font-size: 16px;
}
.player-control-button:hover,
.player-control-button[aria-expanded="true"] { color: #fff; border-color: rgba(184,147,255,.2); background: rgba(145,112,225,.15); }
.player-toggle { color: #dca2ff; font-size: 16px; }
.player-time { min-width: 78px; color: #f1eefb; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.player-volume {
  width: 66px; height: 4px; border-radius: 99px;
  background: linear-gradient(to right,#a967f4 0%,#a967f4 var(--volume-progress,85%),rgba(255,255,255,.22) var(--volume-progress,85%),rgba(255,255,255,.22) 100%);
}
.player-volume::-webkit-slider-thumb { width: 10px; height: 10px; background: #f5efff; border: 1px solid #a86aff; box-shadow: 0 0 0 2px rgba(177,105,255,.15); }
.player-volume::-moz-range-thumb { width: 9px; height: 9px; background: #f5efff; border: 1px solid #a86aff; }
.player-speed-inline {
  min-width: 54px; height: 28px; padding: 0 7px; border: 1px solid rgba(182,161,233,.23);
  border-radius: 8px; color: #f7f3ff; background: rgba(16,17,32,.82); font-size: 10px; font-weight: 700;
}
.player-speed-inline:focus-visible { outline: 2px solid #c16aff; outline-offset: 2px; }
.player-settings-wrap { margin-left: 1px; }
.player-settings-toggle { font-size: 16px; }
.player-settings-menu { bottom: calc(100% + 10px); right: -2px; }
/* Secondary actions remain available through keyboard shortcuts, but the primary bar stays clean. */
.player-skip, .player-share, .player-control-button[data-player-theater] { display: none !important; }
.player-error { bottom: 88px; }
.player-shell:fullscreen .player-controls { left: 3.6%; right: 3.6%; bottom: 18px; }
@media (max-width: 620px) {
  .player-controls { left: 2.5%; right: 2.5%; bottom: 8px; padding: 6px 8px 6px; border-radius: 12px; }
  .player-seek-wrap { min-height: 10px; }
  .player-control-row { min-height: 27px; gap: 4px; }
  .player-control-button { width: 25px; height: 26px; font-size: 14px; }
  .player-time { min-width: 66px; font-size: 9px; }
  .player-volume { width: 44px; }
  .player-speed-inline { min-width: 48px; height: 26px; padding-inline: 4px; font-size: 9px; }
  .player-settings-menu { right: -34px; bottom: calc(100% + 8px); }
  .player-error { bottom: 70px; }
}
.player-secondary-actions { display:none !important; }

/* PlayNova Video v1.8 — premium creator channel experience */
.creator-cover {
  position: relative; min-height: 205px; margin: 8px 0 0; overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px 30px;
  border: 1px solid rgba(190,142,255,.32); border-radius: 23px 23px 0 0;
  background: radial-gradient(ellipse at 77% 44%,rgba(44,106,239,.35),transparent 32%),
              radial-gradient(ellipse at 67% 100%,rgba(183,56,255,.32),transparent 46%),
              linear-gradient(115deg,#17152e 0%,#11152b 48%,#15102c 100%);
  isolation: isolate;
}
.creator-cover:before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(8,9,20,.22),transparent 65%); }
.creator-cover-grid { position:absolute; inset:22% -5% -55% 36%; opacity:.55; transform:perspective(420px) rotateX(62deg) rotateZ(-12deg); transform-origin:center top; background-image:linear-gradient(rgba(143,105,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(143,105,255,.22) 1px,transparent 1px); background-size:34px 34px; mask-image:linear-gradient(90deg,transparent,#000 24%,#000 80%,transparent); }
.creator-cover-orbit { position:absolute; width:340px; height:160px; right:9%; top:14%; border:1px solid rgba(155,148,255,.36); border-radius:50%; transform:rotate(-22deg); }
.creator-cover-orbit-two { width:430px; height:205px; right:4%; top:3%; transform:rotate(17deg); border-color:rgba(194,108,255,.23); }
.creator-cover-glow { position:absolute; width:260px; height:170px; right:18%; top:5%; background:rgba(106,64,255,.28); filter:blur(65px); pointer-events:none; }
.creator-cover-copy { position:relative; z-index:2; display:grid; gap:9px; max-width:540px; }
.creator-cover-kicker { display:flex; align-items:center; color:#e3c6ff; font-size:9px; font-weight:900; letter-spacing:2.3px; }
.creator-cover-kicker .status-dot { width:6px; height:6px; }
.creator-cover-copy strong { color:#fff; font-size:clamp(26px,3.2vw,42px); line-height:1; letter-spacing:-1.8px; text-shadow:0 5px 25px rgba(0,0,0,.25); }
.creator-cover-copy > span:last-child { color:#c6c4df; font-size:12px; }
.creator-cover-mark { position:absolute; right:30px; top:25px; display:flex; align-items:center; gap:9px; color:rgba(255,255,255,.78); font-size:10px; font-weight:900; letter-spacing:1px; }
.creator-cover-mark .brand-mark { width:28px; height:28px; border-radius:9px; font-size:12px; }
.creator-cover-mark b { color:#d68cff; }
.creator-cover-foot { position:absolute; right:28px; bottom:22px; color:rgba(221,204,255,.64); font-size:9px; font-weight:900; letter-spacing:3px; }
.creator-cover-foot i { color:#d477ff; font-style:normal; padding:0 3px; }
.creator-profile-card { position:relative; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px 28px 21px; border:1px solid var(--border); border-top:0; border-radius:0 0 20px 20px; background:linear-gradient(105deg,rgba(23,25,47,.98),rgba(14,17,33,.98)); box-shadow:0 18px 45px rgba(0,0,0,.18); }
.creator-identity { min-width:0; display:flex; align-items:center; gap:19px; }
.creator-avatar-wrap { position:relative; flex:0 0 auto; padding:5px; border:1px solid rgba(192,128,255,.47); border-radius:50%; background:linear-gradient(145deg,rgba(169,78,255,.27),rgba(41,116,222,.12)); box-shadow:0 0 0 6px rgba(155,86,255,.06),0 10px 27px rgba(0,0,0,.24); }
.creator-avatar { width:76px; height:76px; display:grid; place-items:center; border-radius:50%; color:white; background:linear-gradient(145deg,#8842d9,#2874bc 76%); font-size:30px; font-weight:900; text-shadow:0 2px 12px rgba(0,0,0,.2); }
.creator-avatar-status { position:absolute; right:7px; bottom:7px; width:13px; height:13px; border:3px solid #17182d; border-radius:50%; background:#42dda3; box-shadow:0 0 12px rgba(66,221,163,.55); }
.creator-profile-copy { min-width:0; }
.creator-profile-copy .eyebrow { display:flex; align-items:center; gap:9px; font-size:9px; }
.creator-handle { color:#8c8da9; font-size:10px; font-weight:650; letter-spacing:0; }
.creator-profile-copy h1 { margin:5px 0 3px; color:#fff; font-size:clamp(23px,2.5vw,30px); line-height:1.1; letter-spacing:-.9px; overflow-wrap:anywhere; }
.creator-tagline { margin:0 0 9px; color:#b8b8d0; font-size:11px; }
.creator-stats-inline { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:#a9abc5; font-size:10px; }
.creator-stats-inline strong { color:#f5f1ff; font-size:11px; font-weight:850; }
.creator-stat-dot { color:#8e5ce3; }
.creator-profile-actions { flex:0 0 auto; }
.creator-profile-actions form { margin:0; }
.creator-subscribe-button,.creator-upload-button { min-width:132px; min-height:42px; border-radius:12px; }
.creator-tabs { display:flex; align-items:center; gap:7px; margin:19px 0 21px; border-bottom:1px solid rgba(174,155,255,.15); }
.creator-tab { display:inline-flex; align-items:center; gap:8px; padding:11px 14px 12px; margin-bottom:-1px; border-bottom:2px solid transparent; color:#aeb0c8; font-size:12px; font-weight:750; transition:color .18s ease,border-color .18s ease; }
.creator-tab span { color:#c17aff; }
.creator-tab:hover,.creator-tab.active { color:white; border-bottom-color:#b65cff; }
.creator-tabs-spacer { flex:1; }
.creator-tab-count,.creator-library-count { color:#888aa5; font-size:10px; }
.creator-channel-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; align-items:start; gap:22px; }
.creator-channel-main { min-width:0; }
.creator-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 0 14px; }
.creator-section-heading h2 { margin:5px 0 0; font-size:20px; letter-spacing:-.55px; }
.creator-featured-spark { color:#d883ff; font-size:23px; text-shadow:0 0 18px rgba(195,93,255,.5); }
.creator-feature-card { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(220px,.85fr); min-height:220px; overflow:hidden; border:1px solid rgba(176,143,255,.19); border-radius:17px; background:linear-gradient(115deg,rgba(28,27,53,.95),rgba(16,19,36,.98)); box-shadow:0 12px 32px rgba(0,0,0,.17); }
.creator-feature-thumb { position:relative; display:block; min-height:220px; overflow:hidden; background:#090a14; }
.creator-feature-thumb:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 60%,rgba(14,16,31,.45)); pointer-events:none; }
.creator-feature-thumb img { width:100%; height:100%; min-height:220px; display:block; object-fit:cover; transition:transform .45s ease; }
.creator-feature-thumb:hover img { transform:scale(1.045); }
.creator-feature-play { position:absolute; z-index:2; left:50%; top:50%; width:58px; height:58px; display:grid; place-items:center; padding-left:3px; transform:translate(-50%,-50%); border:1px solid rgba(255,255,255,.45); border-radius:19px; color:white; background:linear-gradient(135deg,rgba(164,57,255,.92),rgba(48,95,226,.92)); box-shadow:0 8px 28px rgba(64,42,155,.45); opacity:.96; }
.creator-feature-label { position:absolute; z-index:2; left:13px; top:13px; padding:6px 9px; border:1px solid rgba(255,255,255,.19); border-radius:7px; color:#fff; background:rgba(10,10,24,.74); font-size:8px; font-weight:900; letter-spacing:1.1px; backdrop-filter:blur(10px); }
.creator-feature-details { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:21px 22px; }
.creator-feature-kicker { margin-bottom:8px; color:#d083ff; font-size:9px; font-weight:900; letter-spacing:1.5px; text-transform:uppercase; }
.creator-feature-details h3 { margin:0 0 9px; font-size:19px; line-height:1.25; letter-spacing:-.45px; }
.creator-feature-details h3 a:hover { color:#d58aff; }
.creator-feature-details p { display:-webkit-box; margin:0 0 13px; overflow:hidden; color:#aeb0c8; font-size:11px; line-height:1.6; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.creator-feature-meta { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:15px; color:#8f91ad; font-size:9px; }
.creator-video-library { margin-top:27px; }
.creator-video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px 15px; }
.creator-video-card .thumb-wrap { border-radius:13px; }
.creator-card-play { position:absolute; right:11px; bottom:11px; width:34px; height:34px; display:grid; place-items:center; padding-left:2px; border:1px solid rgba(255,255,255,.32); border-radius:11px; color:#fff; background:rgba(121,48,221,.83); opacity:0; transform:translateY(4px); transition:opacity .2s ease,transform .2s ease; }
.creator-video-card:hover .creator-card-play { opacity:1; transform:translateY(0); }
.creator-empty-state { display:grid; justify-items:center; gap:10px; padding:45px 20px; border:1px dashed rgba(177,143,255,.24); border-radius:16px; background:radial-gradient(ellipse at 50% 0,rgba(125,57,203,.13),transparent 58%),rgba(16,18,34,.55); text-align:center; }
.creator-empty-icon { width:49px; height:49px; display:grid; place-items:center; border:1px solid rgba(198,127,255,.42); border-radius:16px; color:#fff; background:linear-gradient(140deg,#a332ea,#355fd9); box-shadow:0 8px 26px rgba(121,60,208,.25); font-size:19px; }
.creator-empty-state h3 { margin:3px 0 0; font-size:17px; }
.creator-empty-state p,.creator-one-video-note { max-width:450px; margin:0; color:#a7a8c1; font-size:11px; line-height:1.6; }
.creator-one-video-note { margin-top:10px; }
.creator-channel-aside { display:grid; gap:14px; }
.creator-about-card,.creator-community-card { padding:18px; border:1px solid rgba(175,151,255,.17); border-radius:16px; background:linear-gradient(145deg,rgba(21,24,44,.97),rgba(14,17,32,.97)); }
.creator-aside-heading { display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.creator-aside-heading h2 { margin:0; font-size:14px; }
.creator-aside-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:9px; color:#e0b4ff; background:rgba(154,83,231,.17); }
.creator-about-card > p,.creator-community-card p { margin:0; color:#aeb0c8; font-size:11px; line-height:1.65; }
.creator-about-divider { height:1px; margin:15px 0 10px; background:rgba(174,155,255,.12); }
.creator-about-stat { display:flex; justify-content:space-between; gap:12px; padding:7px 0; color:#8f91ad; font-size:10px; }
.creator-about-stat strong { color:#e8e3fa; font-size:10px; font-weight:800; text-align:right; }
.creator-community-card { background:radial-gradient(ellipse at 100% 0,rgba(120,52,211,.18),transparent 55%),linear-gradient(145deg,#18172f,#101323); }
.creator-community-icon { width:35px; height:35px; display:grid; place-items:center; margin-bottom:10px; border:1px solid rgba(201,144,255,.25); border-radius:11px; color:#e2b4ff; background:rgba(157,74,233,.17); font-size:18px; }
.creator-community-card h3 { margin:0 0 7px; font-size:14px; }
.creator-community-card .button { margin-top:14px; }
@media (max-width:1100px) { .creator-channel-layout { grid-template-columns:minmax(0,1fr) 245px; gap:16px; }.creator-feature-card { grid-template-columns:minmax(0,1.1fr) minmax(200px,.9fr); }.creator-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .creator-cover { min-height:185px; }.creator-channel-layout { grid-template-columns:minmax(0,1fr); }.creator-channel-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }.creator-feature-card { grid-template-columns:minmax(0,1.15fr) minmax(210px,.85fr); } }
@media (max-width:620px) { .creator-cover { min-height:155px; padding:18px; border-radius:17px 17px 0 0; }.creator-cover-copy strong { max-width:230px; font-size:25px; letter-spacing:-1px; }.creator-cover-copy > span:last-child { max-width:220px; font-size:10px; }.creator-cover-mark { top:14px; right:14px; font-size:8px; }.creator-cover-mark .brand-mark { width:23px; height:23px; }.creator-cover-foot { right:13px; bottom:12px; font-size:7px; letter-spacing:1.8px; }.creator-cover-orbit { right:-22%; width:250px; height:115px; }.creator-cover-orbit-two { right:-35%; width:320px; height:155px; }.creator-profile-card { align-items:flex-start; flex-direction:column; gap:14px; padding:18px 16px; border-radius:0 0 16px 16px; }.creator-identity { align-items:flex-start; gap:13px; }.creator-avatar { width:59px; height:59px; font-size:23px; }.creator-avatar-wrap { padding:4px; }.creator-profile-copy h1 { font-size:23px; }.creator-tagline { font-size:10px; }.creator-stats-inline { gap:6px; font-size:9px; }.creator-stats-inline strong { font-size:10px; }.creator-profile-actions,.creator-profile-actions form,.creator-profile-actions .button { width:100%; }.creator-tabs { margin:15px 0 18px; }.creator-tab { padding:10px 9px; font-size:10px; }.creator-tab-count { font-size:9px; }.creator-channel-aside { grid-template-columns:1fr; }.creator-feature-card { grid-template-columns:1fr; }.creator-feature-thumb,.creator-feature-thumb img { min-height:190px; max-height:220px; }.creator-feature-details { padding:17px; }.creator-feature-details h3 { font-size:17px; }.creator-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 10px; }.creator-section-heading h2 { font-size:18px; }.creator-featured .creator-section-heading { margin-top:0; } }
@media (prefers-reduced-motion:reduce) { .creator-feature-thumb img,.creator-card-play { transition:none; } }

/* --------------------------------------------------------------------------
   PlayNova Video v1.9 — transparent cinema player, creator channel polish,
   and a dedicated Creator Studio workspace.
   -------------------------------------------------------------------------- */

/* A lighter glass overlay: the video remains the visual focus. */
.player-shell { border-color: rgba(190,174,255,.20); border-radius: 20px; background:#03040a; box-shadow:0 22px 64px rgba(0,0,0,.38),0 0 34px rgba(112,71,215,.08); }
.player-stage::after { height:30%; background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.04) 28%,rgba(0,0,0,.58) 100%); }
.player-controls {
  position:absolute; left:14px; right:14px; bottom:12px; z-index:8;
  padding:6px 13px 7px; border:1px solid rgba(255,255,255,.14); border-radius:14px;
  color:#fff; background:rgba(9,11,18,.43);
  box-shadow:0 6px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter:blur(10px) saturate(118%); backdrop-filter:blur(10px) saturate(118%);
}
.player-overlay-panel { gap:2px; }
.player-seek-row { padding:0 1px 2px; }
.player-seek-wrap { min-height:10px; }
.player-buffer-track { height:3px; border-radius:99px; background:rgba(255,255,255,.25); }
.player-buffer-track span { background:rgba(255,255,255,.4); }
.player-seek { height:10px; }
.player-seek::-webkit-slider-runnable-track { height:3px; border-radius:99px; background:linear-gradient(to right,#f5f0ff 0%,#c5a7ff var(--seek-progress,0%),rgba(255,255,255,.28) var(--seek-progress,0%),rgba(255,255,255,.28) 100%); }
.player-seek::-moz-range-track { height:3px; border-radius:99px; background:rgba(255,255,255,.28); }
.player-seek::-moz-range-progress { height:3px; border-radius:99px; background:#d7c2ff; }
.player-seek::-webkit-slider-thumb { width:10px; height:10px; margin-top:-3.5px; border:1px solid rgba(255,255,255,.9); background:#fff; box-shadow:0 0 0 2px rgba(176,123,255,.28); }
.player-seek::-moz-range-thumb { width:9px; height:9px; border:1px solid rgba(255,255,255,.9); background:#fff; }
.player-control-row { min-height:30px; gap:7px; }
.player-control-button { width:30px; height:30px; border:1px solid transparent; border-radius:9px; color:rgba(255,255,255,.94); background:transparent; font-size:16px; }
.player-control-button:hover,.player-control-button[aria-expanded="true"] { border-color:rgba(255,255,255,.17); background:rgba(255,255,255,.10); color:#fff; }
.player-toggle { color:#fff; font-size:17px; }
.player-time { min-width:78px; color:rgba(255,255,255,.92); font-size:10px; }
.player-mute-button { margin-left:2px; }
.player-volume { width:62px; height:3px; border-radius:99px; background:linear-gradient(to right,rgba(255,255,255,.92) 0%,rgba(255,255,255,.92) var(--volume-progress,85%),rgba(255,255,255,.28) var(--volume-progress,85%),rgba(255,255,255,.28) 100%); }
.player-volume::-webkit-slider-thumb { width:10px; height:10px; border:1px solid #fff; background:#fff; box-shadow:0 0 0 2px rgba(255,255,255,.12); }
.player-volume::-moz-range-thumb { width:9px; height:9px; border:1px solid #fff; background:#fff; }
.player-share { font-size:16px; }
.player-settings-menu { right:-40px; bottom:calc(100% + 10px); width:min(260px,calc(100vw - 36px)); padding:12px; border-color:rgba(255,255,255,.15); border-radius:13px; background:rgba(13,15,24,.88); box-shadow:0 18px 42px rgba(0,0,0,.42); -webkit-backdrop-filter:blur(22px); backdrop-filter:blur(22px); }
.player-settings-heading { color:#fff; }
.player-setting-row { min-height:36px; }
.player-setting-row select { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.14); }
.player-settings-note { color:rgba(235,231,248,.60); }
.player-center-button { width:70px; height:70px; border-radius:22px; background:linear-gradient(145deg,rgba(153,63,255,.86),rgba(48,94,222,.82)); border-color:rgba(255,255,255,.62); box-shadow:0 10px 32px rgba(0,0,0,.26),0 0 26px rgba(145,76,255,.28),inset 0 1px 0 rgba(255,255,255,.24); }
.player-resolution { padding:5px 8px; border:1px solid rgba(255,255,255,.18); border-radius:7px; background:rgba(7,9,16,.48); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.player-shell:fullscreen .player-controls { left:22px; right:22px; bottom:18px; }
@media (max-width:700px) {
  .player-controls { left:7px; right:7px; bottom:7px; padding:4px 7px 5px; border-radius:11px; }
  .player-control-row { gap:2px; min-height:27px; }
  .player-control-button { width:26px; height:27px; font-size:14px; }
  .player-time { min-width:61px; font-size:9px; }
  .player-volume { width:42px; }
  .player-center-button { width:56px; height:56px; border-radius:18px; }
  .player-settings-menu { right:-35px; bottom:calc(100% + 8px); }
}

/* Creator channel: balanced hero/profile and a featured card with no dead space. */
.creator-page-shell { overflow:hidden; border:1px solid rgba(183,151,255,.17); border-radius:22px; background:rgba(12,14,28,.46); box-shadow:0 22px 55px rgba(0,0,0,.18); }
.creator-cover { min-height:185px; margin:0; padding:25px 30px; border:0; border-radius:0; }
.creator-cover--aurora { background:radial-gradient(ellipse at 78% 30%,rgba(58,93,230,.38),transparent 33%),radial-gradient(ellipse at 66% 100%,rgba(174,56,255,.34),transparent 47%),linear-gradient(110deg,#15172f,#11172c 52%,#1b1234); }
.creator-cover--midnight { background:radial-gradient(ellipse at 75% 40%,rgba(59,91,165,.22),transparent 38%),linear-gradient(110deg,#101321,#0a0d19 60%,#17172b); }
.creator-cover--sunset { background:radial-gradient(ellipse at 80% 35%,rgba(255,102,151,.34),transparent 33%),radial-gradient(ellipse at 60% 110%,rgba(189,72,224,.36),transparent 48%),linear-gradient(110deg,#25152c,#29192e 55%,#17132c); }
.creator-cover--neon { background:radial-gradient(ellipse at 78% 35%,rgba(27,218,255,.30),transparent 29%),radial-gradient(ellipse at 65% 100%,rgba(175,44,255,.42),transparent 50%),linear-gradient(110deg,#15132f,#111a32 55%,#231239); }
.creator-profile-card { padding:19px 27px; border:0; border-top:1px solid rgba(198,174,255,.15); border-radius:0; box-shadow:none; background:linear-gradient(105deg,rgba(23,25,47,.96),rgba(13,16,31,.98)); }
.creator-profile-actions { display:flex; align-items:center; gap:9px; }
.creator-profile-actions .button { min-height:40px; }
.creator-tabs { margin:17px 0 20px; }
.creator-channel-layout { grid-template-columns:minmax(0,1fr) 286px; gap:20px; }
.creator-feature-card { grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr); min-height:300px; border-radius:19px; background:linear-gradient(135deg,#171a32,#121629 65%,#17132e); }
.creator-feature-thumb { min-height:300px; aspect-ratio:16/9; }
.creator-feature-thumb img { min-height:300px; object-fit:cover; }
.creator-feature-details { position:relative; isolation:isolate; justify-content:center; min-width:0; padding:clamp(22px,3vw,36px); background:radial-gradient(ellipse at 100% 0,rgba(129,72,225,.18),transparent 54%),linear-gradient(135deg,rgba(20,23,43,.97),rgba(15,17,34,.98)); }
.creator-feature-details:after { content:"▶"; position:absolute; z-index:-1; right:12px; bottom:-38px; color:rgba(167,119,255,.055); font-size:180px; font-weight:900; line-height:1; }
.creator-feature-details h3 { max-width:520px; font-size:clamp(19px,2vw,25px); }
.creator-feature-details p { max-width:520px; font-size:12px; line-height:1.7; }
.creator-feature-metrics { display:flex; flex-wrap:wrap; gap:10px; width:100%; margin:3px 0 18px; }
.creator-feature-metrics span { min-width:74px; display:grid; gap:3px; padding:9px 11px; border:1px solid rgba(188,165,255,.13); border-radius:10px; background:rgba(255,255,255,.035); }
.creator-feature-metrics strong { color:#f7f2ff; font-size:12px; }
.creator-feature-metrics small { color:#9698b5; font-size:9px; }
.creator-watch-feature { min-height:38px; }
.creator-channel-aside { gap:12px; }
.creator-about-card,.creator-community-card { padding:17px; }
.creator-video-library { margin-top:29px; }
.creator-more-soon { display:flex; align-items:center; gap:13px; padding:15px 17px; margin-top:14px; border:1px solid rgba(179,151,255,.14); border-radius:14px; background:linear-gradient(110deg,rgba(29,25,52,.72),rgba(14,18,34,.75)); }
.creator-more-soon-icon { width:36px; height:36px; flex:0 0 auto; display:grid; place-items:center; border-radius:11px; color:#e6c7ff; background:rgba(169,89,255,.14); }
.creator-more-soon strong { color:#f2edff; font-size:11px; }
.creator-more-soon p { margin:4px 0 0; color:#9698b4; font-size:10px; }
.creator-more-soon > a { margin-left:auto; color:#d6a1ff; font-size:10px; font-weight:800; white-space:nowrap; }
.creator-section-heading { margin-bottom:13px; }
.creator-section-heading h2 { font-size:21px; }
@media (max-width:1080px) {
  .creator-channel-layout { grid-template-columns:minmax(0,1fr) 250px; gap:15px; }
  .creator-feature-card { grid-template-columns:minmax(0,1fr) minmax(250px,.9fr); }
  .creator-feature-metrics { gap:6px; }
}
@media (max-width:850px) {
  .creator-channel-layout { grid-template-columns:minmax(0,1fr); }
  .creator-channel-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .creator-feature-card { grid-template-columns:minmax(0,1.05fr) minmax(230px,.95fr); }
}
@media (max-width:620px) {
  .creator-page-shell { border-radius:16px; }
  .creator-cover { min-height:148px; padding:17px; }
  .creator-profile-card { padding:15px; }
  .creator-channel-aside { grid-template-columns:1fr; }
  .creator-feature-card { grid-template-columns:1fr; }
  .creator-feature-thumb,.creator-feature-thumb img { min-height:0; aspect-ratio:16/9; }
  .creator-feature-details { padding:18px; }
  .creator-feature-metrics span { flex:1 1 75px; }
  .creator-more-soon { align-items:flex-start; flex-wrap:wrap; }
  .creator-more-soon > a { margin-left:49px; }
}

/* Creator Studio — a separate workspace, connected to the same PlayNova account. */
.studio-body .app-layout { grid-template-columns:minmax(0,1fr); }
.studio-body .sidebar { display:none; }
.studio-body .main-content { max-width:1540px; padding:30px clamp(18px,3.5vw,54px) 0; }
.studio-body .topbar { gap:16px; }
.studio-body .brand { min-width:205px; }
.studio-body .studio-top-link { display:none; }
.studio-wrap { min-height:calc(100vh - 175px); }
.studio-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:3px 0 22px; }
.studio-header h1 { margin:8px 0 5px; font-size:clamp(27px,3vw,36px); letter-spacing:-1.2px; }
.studio-header p { margin:0; color:#a8aac3; font-size:12px; }
.studio-header-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.studio-tabs { display:flex; align-items:center; gap:7px; overflow-x:auto; padding:0 0 1px; border-bottom:1px solid rgba(174,155,255,.15); scrollbar-width:thin; }
.studio-tab { display:inline-flex; align-items:center; gap:8px; padding:13px 14px 12px; border-bottom:2px solid transparent; color:#aeb0c8; font-size:12px; font-weight:750; white-space:nowrap; }
.studio-tab span { color:#c47eff; }
.studio-tab:hover,.studio-tab.active { color:#fff; border-bottom-color:#b65cff; }
.studio-welcome { position:relative; display:flex; align-items:center; justify-content:space-between; min-height:155px; overflow:hidden; padding:24px 30px; margin:20px 0 16px; border:1px solid rgba(179,148,255,.2); border-radius:18px; background:radial-gradient(ellipse at 80% 30%,rgba(83,89,226,.29),transparent 35%),radial-gradient(ellipse at 70% 120%,rgba(170,54,238,.24),transparent 48%),linear-gradient(110deg,#17172e,#10152b 60%,#1a1230); }
.studio-welcome h2 { margin:8px 0 4px; font-size:27px; letter-spacing:-.8px; }
.studio-welcome p { margin:0; color:#a9abc3; font-size:11px; }
.studio-welcome-art { position:relative; width:190px; height:110px; display:grid; place-items:center; color:#fff; }
.studio-welcome-art span { z-index:2; width:68px; height:68px; display:grid; place-items:center; padding-left:4px; border:1px solid rgba(255,255,255,.5); border-radius:22px; background:linear-gradient(135deg,rgba(164,65,255,.88),rgba(50,98,230,.82)); box-shadow:0 0 42px rgba(157,75,255,.34); font-size:26px; }
.studio-welcome-art i,.studio-welcome-art b { position:absolute; width:170px; height:68px; border:1px solid rgba(167,139,255,.35); border-radius:50%; transform:rotate(-17deg); }
.studio-welcome-art b { width:205px; height:89px; border-color:rgba(91,177,255,.25); transform:rotate(19deg); }
.studio-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin:15px 0 18px; }
.studio-stat-card { min-width:0; display:grid; gap:9px; padding:17px 18px; border:1px solid rgba(174,155,255,.15); border-radius:14px; background:linear-gradient(145deg,rgba(20,24,44,.95),rgba(13,16,31,.98)); }
.studio-stat-card span { color:#b4b2cf; font-size:10px; font-weight:750; }
.studio-stat-card strong { color:#fff; font-size:28px; letter-spacing:-.8px; }
.studio-stat-card small { color:#777d9d; font-size:9px; line-height:1.4; }
.studio-overview-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr); gap:15px; }
.studio-panel { min-width:0; padding:18px; border:1px solid rgba(174,155,255,.15); border-radius:15px; background:linear-gradient(145deg,rgba(19,23,42,.95),rgba(12,15,29,.98)); }
.studio-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
.studio-panel-heading h2 { margin:5px 0 0; font-size:17px; }
.studio-panel-heading > a { color:#cf9aff; font-size:10px; font-weight:800; }
.studio-recent-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-top:1px solid rgba(174,155,255,.09); }
.studio-recent-row img,.studio-placeholder-thumb { width:88px; height:50px; flex:0 0 auto; object-fit:cover; border-radius:8px; background:#22233b; }
.studio-placeholder-thumb { display:grid; place-items:center; color:#d7adff; }
.studio-recent-row > span:nth-child(2) { min-width:0; display:grid; gap:5px; margin-right:auto; }
.studio-recent-row strong { overflow:hidden; color:#f4f0ff; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.studio-recent-row small { color:#8e93ad; font-size:9px; }
.studio-status { display:inline-flex; align-items:center; justify-content:center; padding:5px 8px; border:1px solid rgba(255,255,255,.10); border-radius:99px; color:#c5c8d8; background:rgba(255,255,255,.045); font-size:9px; font-style:normal; font-weight:800; white-space:nowrap; }
.studio-status-published { color:#82e4b4; border-color:rgba(83,214,155,.2); background:rgba(48,177,119,.09); }
.studio-status-processing,.studio-status-queued { color:#d3b1ff; border-color:rgba(183,117,255,.2); background:rgba(147,77,230,.10); }
.studio-status-failed { color:#ff9bb3; border-color:rgba(255,95,132,.22); background:rgba(193,44,82,.10); }
.studio-quick-panel { display:grid; align-content:start; gap:8px; }
.studio-quick-action { display:flex; align-items:center; gap:11px; padding:11px 10px; border:1px solid rgba(174,155,255,.1); border-radius:12px; background:rgba(255,255,255,.025); transition:background .16s ease,border-color .16s ease; }
.studio-quick-action:hover { border-color:rgba(187,127,255,.28); background:rgba(153,91,231,.08); }
.studio-quick-action > span { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; color:#ddb2ff; background:rgba(157,84,235,.15); font-size:17px; }
.studio-quick-action > div { min-width:0; display:grid; gap:4px; }
.studio-quick-action strong { font-size:10px; }
.studio-quick-action small { overflow:hidden; color:#8e92ae; font-size:9px; line-height:1.4; text-overflow:ellipsis; }
.studio-quick-action b { margin-left:auto; color:#bd83f2; }
.studio-section-heading { display:flex; align-items:end; justify-content:space-between; gap:15px; padding:22px 0 15px; }
.studio-section-heading h2 { margin:5px 0 5px; font-size:22px; }
.studio-section-heading p { margin:0; color:#969ab5; font-size:11px; }
.studio-content-panel { padding:0 17px; }
.studio-content-header,.studio-content-row { display:grid; grid-template-columns:minmax(300px,1fr) 115px 72px 180px; align-items:center; gap:12px; }
.studio-content-header { padding:13px 0; color:#888da9; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.studio-content-row { min-height:91px; padding:12px 0; border-top:1px solid rgba(174,155,255,.10); }
.studio-content-video { min-width:0; display:flex; align-items:center; gap:12px; }
.studio-content-thumb { position:relative; width:116px; height:65px; flex:0 0 auto; overflow:hidden; border-radius:8px; background:#20233d; }
.studio-content-thumb img { width:100%; height:100%; object-fit:cover; }
.studio-content-thumb > span { position:absolute; inset:0; display:grid; place-items:center; color:#fff; opacity:0; background:rgba(4,5,13,.28); transition:opacity .16s; }
.studio-content-thumb:hover > span { opacity:1; }
.studio-content-video > div { min-width:0; display:grid; gap:5px; }
.studio-content-video strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.studio-content-video small { color:#898da8; font-size:9px; }
.studio-views-number { color:#e9e5f7; font-size:12px; }
.studio-row-actions { display:flex; align-items:center; gap:9px; }
.studio-edit-details { position:relative; }
.studio-edit-details summary { padding:7px 9px; border:1px solid rgba(174,155,255,.15); border-radius:8px; color:#e5d4ff; background:rgba(255,255,255,.04); cursor:pointer; font-size:9px; font-weight:800; list-style:none; }
.studio-edit-details summary::-webkit-details-marker { display:none; }
.studio-edit-form { position:absolute; z-index:10; top:calc(100% + 8px); right:-35px; width:min(330px,calc(100vw - 40px)); display:grid; gap:10px; padding:15px; border:1px solid rgba(182,148,255,.24); border-radius:13px; background:rgba(12,14,27,.98); box-shadow:0 20px 55px rgba(0,0,0,.5); }
.studio-edit-form label,.studio-customize-form label { display:grid; gap:6px; color:#c8c3dd; font-size:10px; font-weight:750; }
.studio-edit-form input,.studio-edit-form textarea,.studio-edit-form select,.studio-customize-form textarea,.studio-customize-form select { width:100%; padding:9px 10px; border:1px solid rgba(174,155,255,.18); border-radius:8px; color:#f5f1ff; background:#101426; font-size:11px; }
.studio-edit-form textarea,.studio-customize-form textarea { resize:vertical; }
.studio-delete-button { padding:7px 9px; border:1px solid rgba(255,105,139,.22); border-radius:8px; color:#ff9bb3; background:rgba(181,38,75,.08); cursor:pointer; font-size:9px; font-weight:800; }
.studio-empty { display:grid; justify-items:center; gap:12px; padding:35px 15px; color:#9da1bb; text-align:center; font-size:12px; }
.studio-analytics-row { display:grid; grid-template-columns:minmax(180px,35%) minmax(0,1fr); align-items:center; gap:16px; padding:12px 0; border-top:1px solid rgba(174,155,255,.08); }
.studio-analytics-row > div:first-child { display:grid; gap:5px; }
.studio-analytics-row strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.studio-analytics-row small { color:#9296b0; font-size:9px; }
.studio-analytics-track { height:9px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }
.studio-analytics-track span { display:block; height:100%; min-width:2px; border-radius:99px; background:linear-gradient(90deg,#aa52f6,#4c7df1); box-shadow:0 0 14px rgba(157,83,237,.22); }
.studio-comments-panel { padding:4px 18px; }
.studio-comment-row { display:flex; align-items:flex-start; gap:12px; padding:15px 0; border-bottom:1px solid rgba(174,155,255,.08); }
.studio-comment-body { min-width:0; flex:1; }
.studio-comment-body strong { font-size:11px; }
.studio-comment-body p { margin:5px 0; color:#d8d5e8; font-size:11px; line-height:1.55; overflow-wrap:anywhere; }
.studio-comment-body small { color:#858ba6; font-size:9px; }
.studio-comment-body small a { color:#c9a0ff; }
.studio-customize-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.9fr); gap:15px; }
.studio-customize-form { display:grid; gap:17px; }
.studio-preview-panel > p { color:#a9acc5; font-size:11px; line-height:1.6; }
.studio-preview-cover { min-height:142px; display:grid; align-content:end; gap:8px; overflow:hidden; padding:18px; margin-top:13px; border:1px solid rgba(186,153,255,.2); border-radius:12px; background:radial-gradient(ellipse at 80% 35%,rgba(65,106,234,.35),transparent 36%),linear-gradient(115deg,#17152e,#12172e 60%,#22133b); }
.studio-preview-cover span { color:#d3b4ff; font-size:8px; font-weight:900; letter-spacing:2px; }
.studio-preview-cover strong { font-size:22px; }
.studio-preview-midnight { background:linear-gradient(115deg,#101321,#0b0e18 65%,#202038); }
.studio-preview-sunset { background:radial-gradient(ellipse at 75% 40%,rgba(255,102,151,.34),transparent 40%),linear-gradient(115deg,#25152c,#29192e 60%,#17132c); }
.studio-preview-neon { background:radial-gradient(ellipse at 78% 35%,rgba(27,218,255,.3),transparent 30%),linear-gradient(115deg,#15132f,#111a32 55%,#231239); }
@media (max-width:900px) {
  .studio-overview-grid { grid-template-columns:1fr; }
  .studio-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .studio-content-header { display:none; }
  .studio-content-row { grid-template-columns:minmax(0,1fr) auto; }
  .studio-content-row > .studio-status { grid-column:2; grid-row:1; }
  .studio-views-number { display:none; }
  .studio-row-actions { grid-column:1 / -1; justify-content:flex-end; }
}
@media (max-width:650px) {
  .studio-body .main-content { padding:18px 13px 0; }
  .studio-body .topbar { gap:8px; padding:0 10px; }
  .studio-body .brand { min-width:0; font-size:17px; }
  .studio-body .brand-mark { width:32px; height:32px; }
  .studio-body .search { min-width:70px; height:36px; }
  .studio-body .search input { padding-inline:10px; font-size:11px; }
  .studio-body .top-actions { gap:5px; }
  .studio-body .language-switch { display:none; }
  .studio-body .upload-top span { display:none; }
  .studio-header { align-items:flex-start; flex-direction:column; }
  .studio-header-actions { width:100%; }
  .studio-header-actions .button { flex:1; }
  .studio-welcome { min-height:125px; padding:18px; }
  .studio-welcome-art { width:100px; transform:scale(.78); transform-origin:right center; }
  .studio-stats-grid { gap:8px; }
  .studio-stat-card { padding:13px; }
  .studio-stat-card strong { font-size:23px; }
  .studio-section-heading { align-items:flex-start; flex-direction:column; }
  .studio-content-row { gap:8px; }
  .studio-content-thumb { width:86px; height:50px; }
  .studio-customize-grid { grid-template-columns:1fr; }
  .studio-comment-row { flex-wrap:wrap; }
  .studio-comment-row form { margin-left:49px; }
  .studio-analytics-row { grid-template-columns:1fr; gap:9px; }
}

.player-settings-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:6px 0 9px; border-bottom:1px solid rgba(255,255,255,.08); }
.player-settings-actions button { min-height:30px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#eee9fb; background:rgba(255,255,255,.06); font-size:10px; cursor:pointer; }
.player-settings-actions button:hover { background:rgba(255,255,255,.12); }


/* PlayNova Video v2.0 — Shorts, personal library and creator tools */
.upload-type-fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:13px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.025)}
.upload-type-fieldset legend{padding:0 6px;color:var(--muted);font-size:11px;font-weight:800}
.upload-type-option{display:flex!important;align-items:flex-start;gap:10px;padding:13px;border:1px solid rgba(174,155,255,.16);border-radius:11px;background:rgba(255,255,255,.025);cursor:pointer}
.upload-type-option:has(input:checked){border-color:rgba(181,99,255,.6);background:rgba(142,72,232,.12);box-shadow:0 0 0 1px rgba(181,99,255,.12)}
.upload-type-option input{margin-top:3px;accent-color:#aa58f4}
.upload-type-option span{display:grid;gap:5px}.upload-type-option strong{font-size:11px}.upload-type-option small{color:var(--muted);font-size:9px;line-height:1.5}
.shorts-shelf{margin:4px 0 27px}.shorts-card-row{display:grid;grid-auto-columns:minmax(135px,175px);grid-auto-flow:column;gap:13px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory}.shorts-thumb-card{min-width:0;display:grid;gap:6px;scroll-snap-align:start}.shorts-thumb-image{position:relative;display:block;aspect-ratio:9/14;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#15152a}.shorts-thumb-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.shorts-thumb-card:hover img{transform:scale(1.04)}.shorts-thumb-image b{position:absolute;left:10px;bottom:10px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:white;background:rgba(12,10,25,.72);backdrop-filter:blur(9px)}.shorts-thumb-card strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.shorts-thumb-card small{color:var(--muted);font-size:9px}
.shorts-page-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:20px 0 18px}.shorts-page-head h1{margin:5px 0;font-size:30px;letter-spacing:-1px}.shorts-page-head p{margin:0;color:var(--muted);font-size:12px}
.shorts-feed{display:grid;justify-items:center;gap:22px;padding:8px 0 28px}.short-feed-item{position:relative;display:grid;grid-template-columns:minmax(0,430px) 56px;align-items:end;gap:10px;scroll-margin-top:90px}.short-video-stage{position:relative;width:min(100%,430px);height:min(76vh,765px);min-height:470px;overflow:hidden;border:1px solid rgba(187,145,255,.24);border-radius:19px;background:radial-gradient(ellipse at 50% 20%,#28204a,#090b16 70%);box-shadow:0 20px 65px rgba(0,0,0,.4)}.short-video{display:block;width:100%;height:100%;object-fit:contain;background:#05050b}.short-center-play{position:absolute;top:50%;left:50%;width:62px;height:62px;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.35);border-radius:20px;color:#fff;background:linear-gradient(135deg,rgba(155,53,244,.92),rgba(50,94,227,.92));box-shadow:0 0 30px rgba(168,82,255,.35);font-size:23px;cursor:pointer}.short-audio-toggle{position:absolute;top:14px;right:14px;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:#fff;background:rgba(5,7,16,.46);backdrop-filter:blur(14px);cursor:pointer}.short-video-meta{position:absolute;left:15px;right:15px;bottom:14px;display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:linear-gradient(90deg,rgba(5,7,15,.68),rgba(5,7,15,.34));backdrop-filter:blur(14px);color:white}.short-owner-avatar{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;border:1px solid rgba(211,166,255,.7);background:linear-gradient(135deg,#7a36d8,#2468c7);font-weight:900}.short-video-meta div{min-width:0;display:grid;gap:4px}.short-video-meta a{color:#fff;text-decoration:none;font-size:11px}.short-video-meta span{overflow:hidden;color:#e1dced;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.short-action-rail{display:grid;justify-items:center;gap:11px;padding-bottom:14px}.short-action-rail form{margin:0}.short-rail-button{width:52px;min-height:57px;display:grid;justify-items:center;align-content:center;gap:4px;border:1px solid rgba(174,155,255,.15);border-radius:15px;color:#f8f5ff;background:rgba(20,22,40,.85);cursor:pointer;text-decoration:none}.short-rail-button span{font-size:20px}.short-rail-button small{max-width:48px;color:#c7c2d9;font-size:8px;line-height:1.2;text-align:center}.short-rail-button.is-liked{color:#ff78b1;border-color:rgba(255,120,177,.35);background:rgba(170,50,112,.15)}.short-feed-foot{grid-column:1/-1;display:flex;justify-content:space-between;width:100%;max-width:496px;color:var(--muted);font-size:10px}.short-feed-foot a{color:#cf9aff;text-decoration:none}.shorts-empty{max-width:680px;margin:28px auto}
.channel-shorts-section{margin-top:28px}.channel-shorts-section>.creator-section-heading>a{color:#cda0ff;font-size:10px;text-decoration:none}.channel-shorts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}.channel-short-card{position:relative;display:grid;gap:6px;min-width:0;color:var(--text);text-decoration:none}.channel-short-card img{width:100%;aspect-ratio:9/14;object-fit:cover;border:1px solid var(--border);border-radius:12px;background:#111426}.channel-short-card>span{position:absolute;top:9px;left:9px;padding:5px 7px;border-radius:6px;color:white;background:rgba(8,8,16,.68);font-size:8px;font-weight:900}.channel-short-card strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.channel-short-card small{color:var(--muted);font-size:9px}
.library-grid .thumb-wrap{aspect-ratio:16/9}
@media(max-width:700px){.upload-type-fieldset{grid-template-columns:1fr}.shorts-page-head{align-items:flex-start;flex-direction:column}.shorts-page-head h1{font-size:25px}.short-feed-item{grid-template-columns:minmax(0,1fr) 46px;gap:7px;width:100%;max-width:520px}.short-video-stage{height:min(72vh,680px);min-height:420px;border-radius:15px}.short-rail-button{width:44px;min-height:50px;border-radius:13px}.short-feed-foot{max-width:none}.shorts-card-row{grid-auto-columns:135px}}

/* v2.1 mobile-first corrections: prevent fixed grid tracks from crushing the hero. */
@media (max-width: 700px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  .app-layout { display:block; width:100%; min-width:0; }
  .main-content { display:block; width:100%; min-width:0; max-width:none; padding:14px 14px 0; margin:0; }
  .topbar { width:100%; min-width:0; gap:8px; padding-inline:10px; }
  .brand { flex:0 1 auto; min-width:0; font-size:clamp(14px,4vw,17px); }
  .top-actions { flex:0 0 auto; min-width:0; }
  .top-actions .button { white-space:nowrap; }
  .search { min-width:0; }
  .hero {
    display:block !important;
    position:relative;
    width:100% !important;
    min-width:0 !important;
    min-height:0;
    padding:0;
    overflow:hidden;
  }
  .hero-copy {
    display:block;
    width:100%;
    max-width:none;
    min-width:0;
    padding:25px 21px 155px;
  }
  .hero .eyebrow { max-width:100%; overflow-wrap:anywhere; }
  .hero h1 {
    max-width:100%;
    margin:15px 0 12px;
    font-size:clamp(31px,9vw,39px);
    line-height:1.04;
    letter-spacing:-1.5px;
    overflow-wrap:normal;
    word-break:normal;
  }
  .hero-copy p {
    display:block;
    width:100%;
    max-width:100%;
    font-size:13px;
    line-height:1.65;
    overflow-wrap:break-word;
  }
  .hero-actions { display:flex; width:100%; flex-wrap:wrap; gap:9px; margin-top:18px; }
  .hero-actions .button { flex:0 1 auto; max-width:100%; white-space:normal; }
  .hero-footnote { max-width:100%; font-size:10px; }
  .hero-art {
    position:absolute !important;
    display:block;
    right:0;
    bottom:0;
    width:100% !important;
    height:145px;
    min-height:0 !important;
    opacity:.68;
    pointer-events:none;
  }
  .hero-play { width:62px; height:62px; border-radius:19px; font-size:25px; }
  .hero-orbit { width:145px; height:145px; }
  .orbit-two { width:190px; height:190px; }
  .hero-caption { right:12px; bottom:10px; font-size:6px; letter-spacing:1.7px; }
  .category-row { max-width:100%; overflow-x:auto; flex-wrap:nowrap; }
  .category-row .chip { flex:0 0 auto; }
  .video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .creator-page-shell, .creator-channel-layout, .creator-feature-card,
  .creator-profile-card, .creator-cover { width:100%; min-width:0; }
  .creator-feature-card { display:grid; grid-template-columns:minmax(0,1fr) !important; }
  .creator-feature-thumb { width:100%; min-width:0; }
  .creator-profile-copy, .creator-feature-details { min-width:0; overflow-wrap:anywhere; }
  .creator-tabs { max-width:100%; overflow-x:auto; }
  .creator-tab { flex:0 0 auto; }
  .studio-body .main-content { width:100%; max-width:none; padding:15px 13px 0; }
  .studio-header { align-items:flex-start; flex-direction:column; }
  .studio-header-actions { width:100%; }
  .studio-header-actions .button { flex:1 1 auto; }
  .studio-welcome { align-items:flex-start; flex-direction:column; padding:19px; }
  .studio-tabs { max-width:100%; }
  .form-grid, .upload-grid { grid-template-columns:minmax(0,1fr) !important; }
  input, select, textarea { max-width:100%; }
}
@media (max-width: 380px) {
  .main-content { padding-inline:10px; }
  .topbar { gap:6px; padding-inline:8px; }
  .brand { font-size:14px; gap:5px; }
  .brand-mark { width:29px; height:29px; }
  .top-actions .button { padding-inline:7px; font-size:10px; }
  .hero-copy { padding-inline:17px; }
  .hero h1 { font-size:31px; }
  .video-grid { grid-template-columns:minmax(0,1fr); }
}

/* v2.2 reliability + mobile header correction */
.studio-retry-button {
  min-height: 30px; padding: 6px 10px; border: 1px solid rgba(83,218,163,.28);
  border-radius: 9px; color: #a7f3d0; background: rgba(28,150,105,.12);
  font-size: 10px; font-weight: 800; cursor: pointer;
}
.studio-retry-button:hover { background: rgba(28,150,105,.2); }
.studio-processing-error {
  grid-column: 1 / -1; display: block; min-width: 0; margin: 2px 0 8px;
  padding: 9px 11px; border: 1px solid rgba(255,112,145,.22); border-radius: 9px;
  color: #ffb6c5; background: rgba(145,35,69,.12); font-size: 10px;
  line-height: 1.5; overflow-wrap: anywhere;
}
.studio-processing-error strong { color: #ffd1da; }
.studio-content-row { min-width: 0; }
.studio-content-video, .studio-content-video > div { min-width: 0; }

@media (max-width: 700px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .topbar {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand actions" "search search search";
    grid-template-rows: 42px 40px;
    align-items: center;
    gap: 8px 9px;
    width: 100%; height: auto !important; min-height: 106px;
    margin: 0 !important; padding: 8px 10px;
  }
  .topbar > .menu-toggle { grid-area: menu; display: grid; width: 38px; height: 38px; }
  .topbar > .brand {
    grid-area: brand; display: inline-flex; min-width: 0; width: 100%;
    gap: 7px; font-size: clamp(14px, 3.8vw, 17px); letter-spacing: -.55px;
    overflow: hidden;
  }
  .topbar > .brand .brand-mark { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; }
  .topbar > .brand > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; }
  .topbar > .search {
    grid-area: search; position: static !important; inset: auto !important;
    display: flex; width: 100%; min-width: 0; max-width: none; height: 40px;
    margin: 0; transform: none;
  }
  .topbar > .search input { min-width: 0; padding-inline: 13px; font-size: 12px; }
  .topbar > .search button { flex: 0 0 44px; width: 44px; height: 40px; }
  .topbar > .top-actions {
    grid-area: actions; display: flex; align-items: center; justify-content: flex-end;
    min-width: 0; margin: 0; gap: 5px;
  }
  .top-actions .studio-top-link { display: none !important; }
  .top-actions .upload-top {
    display: inline-grid; place-items: center; flex: 0 0 36px;
    width: 36px; min-width: 36px; height: 36px; min-height: 36px;
    padding: 0; overflow: hidden; font-size: 0; border-radius: 12px;
  }
  .top-actions .upload-top::before { content: "+"; font-size: 22px; line-height: 1; }
  .top-actions .upload-top span { display: none !important; }
  .top-actions .language-switch { flex: 0 0 auto; display: flex; margin: 0; padding: 2px; }
  .top-actions .language-button { padding: 5px 6px; font-size: 9px; }
  .top-actions .avatar { flex: 0 0 34px; width: 34px; height: 34px; }
  .top-actions > .button:not(.upload-top) { min-height: 33px; padding-inline: 8px; font-size: 10px; white-space: nowrap; }
  .app-layout { display: block; width: 100%; min-width: 0; min-height: calc(100dvh - 106px); }
  .sidebar { top: 106px; height: calc(100dvh - 106px); max-height: none; }
  .sidebar-backdrop.open { inset: 106px 0 0; }
  .main-content { display: block; width: 100%; min-width: 0; max-width: none; padding: 14px 13px 0; margin: 0; }
  .hero, .creator-page-shell, .creator-channel-layout, .studio-wrap, .watch-layout,
  .form-panel, .studio-panel, .studio-welcome { width: 100%; min-width: 0; max-width: 100%; }
  .hero { display: block; position: relative; min-height: 0; overflow: hidden; }
  .hero-copy { display: block; width: 100%; min-width: 0; max-width: none; padding: 23px 18px 145px; }
  .hero h1 { max-width: 100%; font-size: clamp(30px, 8.5vw, 38px); line-height: 1.04; letter-spacing: -1.5px; word-break: normal; overflow-wrap: normal; }
  .hero-copy p { display: block; width: 100%; max-width: 100%; font-size: 13px; line-height: 1.65; overflow-wrap: break-word; }
  .hero-art { position: absolute; right: 0; bottom: 0; width: 52%; height: 145px; min-height: 0; opacity: .7; pointer-events: none; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
  .hero-actions .button { min-width: 0; max-width: 100%; }
  .category-row, .creator-tabs, .studio-tabs { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .category-row .chip, .creator-tab, .studio-tab { flex: 0 0 auto; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 10px; }
  .creator-channel-layout { grid-template-columns: minmax(0, 1fr); }
  .creator-channel-aside { grid-template-columns: minmax(0, 1fr); }
  .creator-feature-card { grid-template-columns: minmax(0, 1fr) !important; }
  .creator-feature-thumb, .creator-feature-thumb img { width: 100%; min-width: 0; max-height: 230px; }
  .studio-header { align-items: flex-start; flex-direction: column; }
  .studio-header-actions { display: flex; width: 100%; flex-wrap: wrap; }
  .studio-header-actions .button { flex: 1 1 130px; }
  .studio-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-content-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .studio-content-row > .studio-status { grid-column: 2; grid-row: 1; }
  .studio-views-number { display: none; }
  .studio-row-actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .studio-content-video strong, .studio-content-video small { overflow-wrap: anywhere; }
  .studio-processing-error { grid-column: 1 / -1; }
  .short-feed-item { width: 100%; max-width: 520px; }
  .short-video-stage { width: 100%; min-width: 0; }
  .comment-form { flex-direction: column; align-items: stretch; }
  img, video, iframe { max-width: 100%; }
}
@media (max-width: 390px) {
  .topbar { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 7px; padding-inline: 8px; }
  .topbar > .menu-toggle { width: 34px; height: 34px; }
  .topbar > .brand { font-size: 13px; gap: 5px; }
  .topbar > .brand .brand-mark { flex-basis: 29px; width: 29px; height: 29px; }
  .top-actions { gap: 4px !important; }
  .top-actions .language-button { padding: 4px 5px; font-size: 8px; }
  .top-actions .upload-top { flex-basis: 32px; width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
  .top-actions .avatar { flex-basis: 30px; width: 30px; height: 30px; }
  .main-content { padding-inline: 10px; }
  .hero-copy { padding-inline: 16px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}

/* PlayNova Partner and video visibility controls */
.partner-badge { display:inline-flex; align-items:center; gap:4px; vertical-align:middle; margin-left:4px; padding:3px 7px; border:1px solid rgba(86,190,255,.45); border-radius:999px; color:#b9e7ff; background:rgba(42,123,190,.17); font-size:9px; font-weight:800; line-height:1.2; white-space:nowrap; }
.visibility-label { display:inline-flex; vertical-align:middle; margin-left:8px; padding:4px 8px; border:1px solid var(--border); border-radius:999px; color:var(--muted); font-size:10px; font-weight:700; }
.field-help { display:block; margin-top:6px; color:var(--muted); font-size:11px; line-height:1.55; }
.partner-admin-panel { margin:22px 0; }
.partner-search-form { display:flex; gap:9px; margin:14px 0 18px; }
.partner-search-form input { flex:1; min-width:0; }
.partner-admin-list { display:grid; gap:0; }
.partner-admin-row { display:grid; grid-template-columns:minmax(150px,1fr) 110px minmax(220px,1fr); gap:14px; align-items:center; padding:13px 0; border-top:1px solid var(--border); }
.partner-admin-identity { display:grid; gap:4px; min-width:0; }
.partner-admin-identity strong { overflow-wrap:anywhere; }
.partner-admin-identity small { color:var(--muted); font-size:10px; overflow-wrap:anywhere; }
.partner-state { color:var(--muted); font-size:11px; font-weight:700; }
.partner-state.is-partner { color:#aee5ff; }
.partner-admin-action { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.partner-admin-action input { flex:1; min-width:130px; }
@media (max-width:700px) {
  .partner-admin-row { grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; }
  .partner-admin-identity { grid-column:1 / -1; }
  .partner-admin-action { grid-column:1 / -1; }
  .partner-search-form { align-items:stretch; }
}


/* YouTube-style share and external embed controls */
.watch-share-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 18px}
.watch-share-row .muted{max-width:620px;line-height:1.5}
.watch-share-button{min-height:38px;white-space:nowrap}
.share-dialog{width:min(620px,calc(100vw - 28px));max-width:none;padding:0;border:1px solid rgba(177,139,255,.35);border-radius:20px;background:#101122;color:#f4f0ff;box-shadow:0 28px 100px rgba(0,0,0,.65)}
.share-dialog::backdrop{background:rgba(2,3,12,.78);backdrop-filter:blur(5px)}
.share-dialog-card{padding:22px;display:grid;gap:16px}
.share-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.share-dialog-heading h2{margin:5px 0 0;font-size:21px}
.share-field{display:grid;gap:8px;color:#dcd5ef;font-size:12px;font-weight:750}
.share-input-row{display:flex;gap:8px;align-items:stretch}
.share-input-row input,.share-field textarea{width:100%;min-width:0;border:1px solid var(--border);border-radius:10px;background:#090b18;color:#eee9ff;padding:11px 12px;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.share-field textarea{resize:vertical;min-height:94px}
.share-hint{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.share-dialog-actions{display:flex;flex-wrap:wrap;gap:9px}
.share-copy-status{min-height:16px;color:#a8e9c8;font-size:11px}
@media(max-width:560px){.share-dialog-card{padding:16px}.share-input-row{flex-direction:column}.share-input-row .button{width:100%}.watch-share-row{align-items:flex-start;flex-direction:column}}


/* PlayNova Video v2.8 — reliable auto-hide, including mouse-focused controls. */
.player-controls {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
}
.player-shell.controls-hidden .player-controls {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(14px) !important;
  pointer-events: none !important;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.player-cast svg{display:block;width:19px;height:19px;fill:currentColor}
.player-cast[aria-pressed="true"]{color:#c7a7ff;border-color:rgba(190,150,255,.35);background:rgba(145,86,255,.18)}
@media(prefers-reduced-motion:reduce){.player-controls,.player-shell.controls-hidden .player-controls{transition:none}}

/* v2.9 — real creator banner and avatar uploads */
.creator-cover.has-custom-banner {
  position: relative;
  min-height: clamp(150px, 21vw, 250px);
  padding: 0;
  border-radius: 20px 20px 0 0;
  background: #090b17;
  isolation: isolate;
}
.creator-cover-image { position:absolute; inset:0; z-index:0; width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.creator-cover-image-shade { position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg,rgba(3,5,15,.02),rgba(3,5,15,.18)); }
.creator-avatar-image { display:block; object-fit:cover; object-position:center; }
.creator-avatar-wrap:has(.creator-avatar-image) { padding:4px; }
.creator-avatar-status { z-index:2; }
.studio-branding-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:15px; align-items:start; }
.studio-branding-settings { display:grid; gap:18px; }
.studio-branding-assets { display:grid; gap:15px; min-width:0; }
.studio-image-card { display:grid; gap:11px; min-width:0; }
.studio-image-card > p { margin:0; }
.studio-image-upload-form { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.studio-image-upload-form input[type=file] { display:block; width:100%; max-width:100%; color:#b9b6ce; font-size:10px; }
.studio-image-upload-form input[type=file]::file-selector-button { margin-right:9px; padding:8px 11px; border:1px solid rgba(173,144,255,.3); border-radius:8px; color:#eee8ff; background:#201a37; cursor:pointer; }
.image-file-label { flex:1 1 180px; display:grid; gap:7px; color:#d5cdec; font-size:10px; font-weight:800; }
.studio-avatar-preview-wrap { display:flex; justify-content:center; padding:10px; }
.studio-avatar-preview { width:112px; height:112px; border:3px solid rgba(187,143,255,.65); border-radius:50%; object-fit:cover; background:#12172b; box-shadow:0 0 0 7px rgba(152,99,255,.08),0 12px 32px rgba(0,0,0,.24); }
.studio-banner-preview { position:relative; aspect-ratio:16/5; overflow:hidden; border:1px solid rgba(186,153,255,.2); border-radius:12px; background:linear-gradient(120deg,#191632,#12192f 55%,#2a1743); }
.studio-banner-preview img { display:block; width:100%; height:100%; object-fit:cover; }
.studio-banner-preview img.is-placeholder { object-fit:contain; opacity:.25; padding:24px; }
.studio-preview-cover { position:relative; aspect-ratio:16/5; min-height:0; }
.studio-preview-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.partner-count-card { min-width:95px; display:grid; justify-items:center; gap:3px; padding:10px 13px; border:1px solid rgba(174,155,255,.17); border-radius:12px; background:rgba(142,94,235,.09); }
.partner-count-card strong { color:#fff; font-size:22px; }
.partner-count-card span { color:#aaa5c7; font-size:9px; }
.error-message { margin:12px 0; padding:11px 13px; border:1px solid rgba(255,103,132,.27); border-radius:10px; color:#ffb9c7; background:rgba(144,38,70,.13); font-size:11px; }
@media (max-width:900px) { .studio-branding-layout { grid-template-columns:1fr; } }
@media (max-width:620px) {
  .creator-cover.has-custom-banner { min-height:145px; border-radius:16px 16px 0 0; }
  .studio-image-upload-form { align-items:stretch; }
  .studio-image-upload-form .button { width:100%; }
  .partner-count-card { min-width:75px; padding:8px; }
}
.topbar-avatar { position:relative; overflow:hidden; display:inline-grid; place-items:center; }
.topbar-avatar img { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.topbar-avatar span { position:relative; z-index:0; }
.creator-watch-avatar { overflow:hidden; display:grid; place-items:center; }
.creator-watch-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }


/* PlayNova Video v3.0 — creator identity, reliable idle controls and admin access. */
.mini-avatar { position:relative; overflow:hidden; flex:0 0 auto; }
.mini-avatar > img { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.mini-avatar > span { position:relative; z-index:0; }
.short-owner-avatar { position:relative; overflow:hidden; display:grid; place-items:center; }
.short-owner-avatar > img { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.short-owner-avatar > span { position:relative; z-index:0; }
.admin-top-link { white-space:nowrap; }
.admin-page-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.partner-admin-userline { display:flex; align-items:center; gap:9px; min-width:0; }
.partner-admin-userline .mini-avatar { width:36px; height:36px; }
.visibility-label.compact { display:inline-flex; align-items:center; padding:2px 6px; font-size:9px; white-space:nowrap; }
/* Do not allow native hidden controls to be forced visible by player styles. */
.player-controls[hidden] { display:none !important; }
.player-shell.controls-hidden .player-controls { visibility:hidden !important; opacity:0 !important; pointer-events:none !important; }
@media(max-width:620px) { .admin-top-link { padding-inline:9px; font-size:11px; } .admin-top-link span { display:none; } }


/* v3.2 website polish */
.pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:28px 0 12px; padding:14px 16px; border:1px solid var(--border); border-radius:15px; background:rgba(16,19,34,.72); }
.pagination-current { color:var(--muted); font-size:12px; font-weight:750; font-variant-numeric:tabular-nums; }
.upload-progress { margin-top:2px; padding:16px; border:1px solid rgba(159,105,255,.28); border-radius:14px; background:rgba(16,19,34,.8); }
.upload-progress[hidden] { display:none; }
.upload-progress-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; font-size:12px; }
.upload-progress-heading span { color:#d3a8ff; font-variant-numeric:tabular-nums; }
.upload-progress progress { display:block; width:100%; height:10px; overflow:hidden; border:0; border-radius:99px; background:#252942; accent-color:#a34dff; }
.upload-progress progress::-webkit-progress-bar { border-radius:99px; background:#252942; }
.upload-progress progress::-webkit-progress-value { border-radius:99px; background:linear-gradient(90deg,#a329f2,#236ee8); }
.upload-progress progress::-moz-progress-bar { border-radius:99px; background:linear-gradient(90deg,#a329f2,#236ee8); }
.upload-progress p { margin:9px 0 0; }
.file-name.invalid { color:#ff8585; }
@media(max-width:620px) { .pagination { padding:11px; gap:7px; }.pagination .button { padding-inline:10px; font-size:10px; }.pagination-current { font-size:10px; white-space:nowrap; } }


/* v3.3 Creator Studio Plus */
.studio-setup-panel { margin-top:15px; }
.studio-setup-percent { color:#d7a9ff; font-size:22px; font-weight:900; }
.studio-setup-track { height:9px; margin:5px 0 16px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.07); }
.studio-setup-track span { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#a34ff0,#487cf5); box-shadow:0 0 16px rgba(164,79,240,.25); }
.studio-setup-items { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.studio-setup-item { display:grid; gap:7px; min-width:0; padding:12px; border:1px solid rgba(177,151,255,.14); border-radius:12px; background:rgba(255,255,255,.025); }
.studio-setup-item > span { display:grid; width:25px; height:25px; place-items:center; border-radius:8px; color:#d6b3ff; background:rgba(159,86,232,.16); font-weight:900; }
.studio-setup-item strong { font-size:10px; line-height:1.45; }
.studio-setup-item small { color:#8f94ae; font-size:9px; }
.studio-setup-item.is-done { border-color:rgba(80,211,160,.22); }
.studio-setup-item.is-done > span { color:#9cf0cb; background:rgba(50,190,135,.15); }
.studio-filter-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:10px; padding:14px 0; border-bottom:1px solid rgba(174,155,255,.10); }
.studio-filter-toolbar label { display:grid; flex:0 1 160px; gap:5px; color:#9c9fba; font-size:9px; font-weight:800; }
.studio-filter-toolbar .studio-filter-search { flex:1 1 220px; }
.studio-filter-toolbar input,.studio-filter-toolbar select,.studio-comment-search input { width:100%; min-width:0; padding:10px 11px; border:1px solid rgba(174,155,255,.18); border-radius:9px; color:#f4efff; background:#101426; font-size:11px; }
.studio-filter-count { margin-left:auto; padding:9px 10px; color:#c5a5f1; font-size:10px; font-weight:800; }
.studio-content-row[hidden],.studio-comment-row[hidden],.studio-audience-row[hidden] { display:none !important; }
.studio-preview-link { padding:7px 9px; border:1px solid rgba(120,157,255,.2); border-radius:8px; color:#b8c9ff; background:rgba(72,112,235,.08); font-size:9px; font-weight:800; text-decoration:none; }
.studio-pagination { display:flex; align-items:center; justify-content:center; gap:18px; padding:18px 10px; color:#a9acc6; font-size:11px; }
.studio-pagination a { padding:9px 13px; border:1px solid rgba(173,144,255,.22); border-radius:9px; color:#dfc8ff; background:rgba(129,76,203,.10); text-decoration:none; font-weight:800; }
.studio-analytics-secondary { margin-top:9px; }
.studio-analytics-visibility { margin-top:13px; }
.studio-visibility-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.studio-visibility-metrics span { display:grid; gap:5px; padding:12px; border:1px solid rgba(174,155,255,.12); border-radius:10px; color:#a6a9c0; font-size:10px; }
.studio-visibility-metrics b { color:#f2edff; font-size:20px; }
.studio-analytics-table { width:100%; overflow-x:auto; }
.studio-analytics-table-head,.studio-analytics-table-row { display:grid; grid-template-columns:minmax(180px,1fr) repeat(3,minmax(75px,100px)); gap:12px; align-items:center; min-width:510px; padding:12px 4px; border-bottom:1px solid rgba(174,155,255,.08); font-size:10px; }
.studio-analytics-table-head { color:#9296b0; font-weight:800; }
.studio-analytics-table-row a { overflow:hidden; color:#e4dcf7; text-overflow:ellipsis; white-space:nowrap; }
.studio-analytics-table-row span { color:#c4bed8; }
.studio-comment-search { display:grid; gap:6px; max-width:460px; margin:10px 0 12px; color:#9b9eb9; font-size:9px; font-weight:800; }
.studio-audience-total { padding:9px 13px; border:1px solid rgba(177,151,255,.2); border-radius:99px; color:#dab9ff; background:rgba(151,88,220,.1); font-size:11px; }
.studio-audience-list { display:grid; }
.studio-audience-row { display:flex; align-items:center; gap:12px; padding:13px 4px; border-bottom:1px solid rgba(174,155,255,.09); color:inherit; text-decoration:none; }
.studio-audience-row > span:nth-child(2) { display:grid; flex:1; gap:4px; min-width:0; }
.studio-audience-row strong { font-size:11px; overflow-wrap:anywhere; }
.studio-audience-row small { color:#8f94ae; font-size:9px; }
.studio-audience-row > b { color:#c69aff; }
@media (max-width:760px) {
  .studio-setup-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .studio-filter-toolbar { align-items:stretch; }
  .studio-filter-toolbar label,.studio-filter-toolbar .studio-filter-search { flex:1 1 calc(50% - 8px); }
  .studio-filter-count { flex:1 1 100%; margin-left:0; }
  .studio-section-heading { align-items:flex-start; }
  .studio-visibility-metrics { gap:7px; }
  .studio-visibility-metrics span { padding:9px; font-size:9px; }
  .studio-visibility-metrics b { font-size:18px; }
}
@media (max-width:420px) {
  .studio-setup-items { grid-template-columns:1fr 1fr; }
  .studio-filter-toolbar label,.studio-filter-toolbar .studio-filter-search { flex-basis:100%; }
  .studio-analytics-kpis .studio-stat-card small { overflow-wrap:anywhere; }
}


/* PlayNova Video v3.4 — premium mobile watch page refinement */
.watch-page .main-content { min-width:0; }
.watch-page .watch-layout { width:100%; max-width:1580px; margin-inline:auto; grid-template-columns:minmax(0,1fr) 318px; gap:26px; padding-top:4px; }
.watch-page .watch-main { min-width:0; }
.watch-page .player-shell { border-radius:22px; border:1px solid rgba(179,145,255,.30); background:#02030a; box-shadow:0 24px 72px rgba(0,0,0,.42),0 0 34px rgba(122,72,213,.10); }
.watch-page .player-stage { min-height:0; aspect-ratio:16/9; }
.watch-page .video-player { display:block; width:100%; height:100%; max-height:min(76vh,820px); aspect-ratio:16/9; object-fit:contain; }
.watch-title-block { display:flex; align-items:flex-start; flex-direction:column; gap:8px; margin:20px 0 12px; }
.watch-page .watch-title { margin:0; max-width:100%; font-size:clamp(21px,2.2vw,30px); line-height:1.2; letter-spacing:-.8px; text-wrap:pretty; overflow-wrap:anywhere; }
.watch-visibility-pill { display:inline-flex; align-items:center; width:max-content; max-width:100%; padding:6px 10px; border:1px solid rgba(175,157,255,.23); border-radius:999px; color:#c8c1e2; background:rgba(133,117,191,.10); font-size:10px; line-height:1.25; white-space:normal; }
.watch-stats-modern { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 18px; margin:0 0 18px; padding:12px 14px; border:1px solid rgba(173,153,232,.16); border-radius:16px; background:linear-gradient(145deg,rgba(20,23,42,.92),rgba(12,15,29,.92)); box-shadow:inset 0 1px 0 rgba(255,255,255,.025); }
.watch-stat-details { display:flex; align-items:center; gap:9px; min-width:0; color:#aeb0c7; font-size:12px; font-variant-numeric:tabular-nums; }
.watch-view-count { color:#f1edff; font-weight:750; }
.watch-meta-separator { color:#716d8a; }
.watch-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.watch-page .watch-stats-modern .watch-action-form { display:flex; margin:0; }
.watch-action-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:0 13px; border:1px solid rgba(176,155,237,.20); border-radius:999px; color:#e8e2fb; background:rgba(255,255,255,.045); font-size:11px; font-weight:750; white-space:nowrap; transition:background .16s ease,border-color .16s ease,transform .16s ease; }
.watch-action-button:hover { border-color:rgba(190,129,255,.52); background:rgba(145,83,231,.15); }
.watch-action-button:active { transform:scale(.97); }
.watch-action-icon { color:#d5a1ff; font-size:15px; line-height:1; }
.watch-action-button.liked { border-color:rgba(194,91,255,.55); color:#fff; background:linear-gradient(120deg,rgba(153,58,234,.27),rgba(67,94,218,.20)); }
.watch-action-button.liked .watch-action-icon { color:#ff9fe9; }
.watch-page .creator-row { display:flex; align-items:center; gap:13px; margin:18px 0; padding:15px 16px; border:1px solid rgba(173,153,232,.16); border-radius:17px; background:linear-gradient(135deg,rgba(22,25,47,.92),rgba(12,15,29,.92)); }
.watch-page .mini-avatar.large { width:52px; height:52px; border:1px solid rgba(191,155,255,.55); box-shadow:0 0 0 4px rgba(153,104,239,.09); }
.creator-details { gap:3px; min-width:0; }
.creator-eyebrow { color:#be83ff; font-size:9px; font-weight:900; letter-spacing:.16em; }
.creator-name { display:block; overflow-wrap:anywhere; color:#fff; font-size:14px; font-weight:850; }
.creator-channel-button { min-height:39px; flex:0 0 auto; padding-inline:14px; }
.watch-page .description-box { margin:14px 0 22px; padding:0; overflow:hidden; border:1px solid rgba(173,153,232,.16); border-radius:16px; background:linear-gradient(145deg,rgba(20,23,43,.96),rgba(12,15,29,.96)); }
.watch-page .description-box summary { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:50px; padding:0 16px; color:#eeeaff; font-size:12px; font-weight:850; cursor:pointer; list-style:none; }
.watch-page .description-box summary::-webkit-details-marker { display:none; }
.watch-page .description-summary-title { display:flex; align-items:center; gap:8px; }
.watch-page .description-summary-title::before { content:"▤"; color:#c27cff; }
.watch-page .description-summary-hint::before { content:"⌄"; display:inline-block; color:#bba8ee; font-size:17px; transition:transform .18s ease; }
.watch-page .description-box[open] .description-summary-hint::before { transform:rotate(180deg); }
.watch-page .description-content { padding:0 16px 16px; color:#c7c4d8; font-size:12px; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.watch-page .comments-section { margin-top:26px; padding-top:4px; }
.watch-page .comments-section h2 { display:flex; align-items:center; gap:8px; font-size:18px; letter-spacing:-.3px; }
.watch-page .comments-section h2 span { padding:3px 8px; border:1px solid var(--border); border-radius:99px; }
.watch-page .comment-form { align-items:stretch; padding:12px; border:1px solid rgba(173,153,232,.15); border-radius:15px; background:rgba(17,20,37,.72); }
.watch-page .comment-form textarea { min-height:54px; border-radius:11px; }
.watch-page .comment-form .button { min-height:40px; }
.watch-page .comment { gap:12px; padding:15px 4px; }
.watch-page .comment p { font-size:13px; line-height:1.65; }
.watch-page .related-panel { position:relative; top:0; }
@media(max-width:900px) {
  .watch-page .watch-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .watch-page .related-panel { display:block; margin-top:0; }
}
@media(max-width:620px) {
  .watch-page .main-content { padding:12px 12px 0; }
  .watch-page .topbar { margin-bottom:50px; }
  .watch-page .watch-layout { gap:16px; padding-top:0; }
  .watch-page .player-shell { border-radius:17px; }
  .watch-page .player-stage { aspect-ratio:16/9; min-height:0; }
  .watch-page .video-player { width:100%; height:100%; max-height:58vh; aspect-ratio:16/9; object-fit:contain; }
  .watch-page .player-center-button { width:60px; height:60px; border-radius:19px; }
  .watch-page .player-resolution { top:9px; right:9px; }
  .watch-title-block { gap:8px; margin:17px 2px 11px; }
  .watch-page .watch-title { font-size:clamp(20px,5.8vw,25px); line-height:1.22; letter-spacing:-.55px; }
  .watch-visibility-pill { font-size:10px; padding:5px 9px; }
  .watch-stats-modern { display:flex; align-items:stretch; flex-direction:column; gap:11px; margin-bottom:14px; padding:11px; border-radius:14px; }
  .watch-stat-details { padding:0 2px; font-size:11px; }
  .watch-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  .watch-action-form { min-width:0; }
  .watch-action-button { width:100%; min-width:0; min-height:40px; padding:0 7px; gap:5px; font-size:10px; }
  .watch-action-icon { font-size:14px; }
  .watch-page .creator-row { gap:11px; margin:14px 0; padding:12px; border-radius:15px; }
  .watch-page .mini-avatar.large { width:46px; height:46px; }
  .creator-eyebrow { font-size:8px; }
  .creator-name { font-size:13px; }
  .creator-details .tiny { font-size:10px; }
  .creator-channel-button { min-height:38px; padding-inline:12px; font-size:10px; }
  .watch-page .description-box { margin:12px 0 18px; border-radius:14px; }
  .watch-page .description-box summary { min-height:46px; padding-inline:13px; }
  .watch-page .description-content { padding:0 13px 13px; font-size:12px; }
  .watch-page .comments-section { margin-top:20px; }
  .watch-page .comments-section h2 { font-size:17px; }
  .watch-page .comment-form { flex-direction:column; gap:8px; margin:12px 0 17px; padding:10px; }
  .watch-page .comment-form .button { width:100%; }
  .watch-page .related-panel { padding:13px; border-radius:15px; }
  .watch-page .related-panel h3 { margin-bottom:8px; font-size:14px; }
  .watch-page .related-panel:has(.related-card) { overflow:hidden; }
  .watch-page .related-panel:has(.related-card) .related-card { display:grid; grid-template-columns:116px minmax(0,1fr); gap:10px; min-width:0; padding:10px 0; }
  .watch-page .related-card img { width:116px; }
  .watch-page .related-card strong { font-size:11px; }
  .watch-page .related-card small { font-size:9px; }
}
@media(max-width:390px) {
  .watch-action-label { font-size:9px; }
  .watch-action-button { padding-inline:4px; }
  .watch-page .creator-channel-button { padding-inline:9px; font-size:9px; }
}
@media(prefers-reduced-motion:reduce) {
  .watch-action-button,.watch-page .description-summary-hint::before { transition:none; }
}

/* PlayNova Video v3.5 — mobile cinema layout and interaction polish */
.watch-page .watch-layout {
  align-items:start;
}
.watch-page .watch-main {
  min-width:0;
}
.watch-page .player-shell {
  border-color:rgba(183,153,255,.27);
  box-shadow:0 20px 58px rgba(0,0,0,.36),0 0 26px rgba(123,72,226,.08);
}
.watch-page .watch-title-block {
  margin-top:18px;
}
.watch-page .watch-title {
  max-width:30ch;
  text-wrap:balance;
}
.watch-page .watch-stat-details time {
  white-space:nowrap;
}
.watch-page .creator-row {
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.watch-page .creator-details {
  flex:1 1 auto;
}
.watch-page .description-box summary {
  transition:background .16s ease;
}
.watch-page .description-box summary:hover {
  background:rgba(150,103,236,.07);
}
.watch-page .comments-section {
  scroll-margin-top:88px;
}
.watch-page .comments-section h2 {
  margin-bottom:14px;
}
.watch-page .comment {
  align-items:flex-start;
  border-bottom:1px solid rgba(173,153,232,.10);
}
.watch-page .comment > div {
  min-width:0;
  overflow-wrap:anywhere;
}
.watch-page .comment .mini-avatar {
  overflow:hidden;
  position:relative;
}
.watch-page .comment .mini-avatar img {
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.watch-page .related-panel {
  min-width:0;
  border-color:rgba(173,153,232,.16);
  background:linear-gradient(145deg,rgba(18,21,39,.96),rgba(10,12,24,.96));
}
.watch-page .related-panel h3 {
  display:flex;
  align-items:center;
  gap:8px;
}
.watch-page .related-panel h3::before {
  content:"✦";
  color:#c47cff;
}
.watch-page .related-card {
  min-width:0;
  padding:10px 6px;
}
.watch-page .related-card img {
  display:block;
  object-fit:cover;
}
.watch-page .related-card span {
  min-width:0;
}
.watch-page .related-card strong {
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.watch-page .related-card small {
  line-height:1.45;
}
.watch-page .watch-action-button:focus-visible,
.watch-page .creator-channel-button:focus-visible,
.watch-page .related-card:focus-visible {
  outline:2px solid #d2a2ff;
  outline-offset:3px;
}
@media(max-width:620px) {
  .watch-page .topbar {
    height:60px;
    gap:7px;
    padding:0 9px;
    margin-bottom:49px;
  }
  .watch-page .topbar .menu-toggle {
    flex:0 0 35px;
    width:35px;
    height:35px;
    border-radius:12px;
  }
  .watch-page .topbar .brand {
    min-width:0;
    gap:6px;
    font-size:15px;
    letter-spacing:-.55px;
  }
  .watch-page .topbar .brand-mark {
    width:30px;
    height:30px;
    border-radius:9px;
    font-size:12px;
  }
  .watch-page .top-actions {
    flex:0 0 auto;
    gap:4px;
  }
  .watch-page .top-actions .language-switch {
    gap:1px;
    padding:2px;
  }
  .watch-page .top-actions .language-button {
    min-width:27px;
    padding:5px 6px;
    font-size:9px;
  }
  .watch-page .top-actions .upload-top {
    width:35px;
    min-width:35px;
    height:35px;
    min-height:35px;
    padding:0;
    border-radius:11px;
    font-size:18px;
  }
  .watch-page .topbar-avatar {
    width:32px;
    height:32px;
  }
  .watch-page .search {
    top:66px;
    left:10px;
    right:10px;
    height:42px;
    border-radius:15px;
  }
  .watch-page .search input {
    padding-inline:14px;
    font-size:12px;
  }
  .watch-page .search button {
    width:45px;
    height:42px;
    font-size:21px;
  }
  .watch-page .main-content {
    padding:10px 10px 0;
  }
  .watch-page .watch-layout {
    gap:15px;
  }
  .watch-page .player-shell {
    border-radius:16px;
    box-shadow:0 14px 38px rgba(0,0,0,.30),0 0 20px rgba(123,72,226,.08);
  }
  .watch-page .player-center-button {
    width:56px;
    height:56px;
    border-radius:17px;
    font-size:23px;
  }
  .watch-page .player-resolution {
    padding:5px 8px;
    border-radius:8px;
    font-size:10px;
  }
  .watch-page .watch-title-block {
    gap:9px;
    margin:15px 2px 10px;
  }
  .watch-page .watch-title {
    max-width:none;
    font-size:clamp(20px,5.4vw,24px);
    line-height:1.2;
    letter-spacing:-.6px;
  }
  .watch-page .watch-visibility-pill {
    padding:6px 10px;
    font-size:10px;
  }
  .watch-page .watch-stats-modern {
    gap:12px;
    margin-bottom:13px;
    padding:12px;
    border-radius:16px;
  }
  .watch-page .watch-stat-details {
    font-size:12px;
  }
  .watch-page .watch-actions {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }
  .watch-page .watch-action-button {
    min-height:43px;
    padding-inline:5px;
    border-radius:13px;
    gap:5px;
    font-size:10px;
  }
  .watch-page .watch-action-icon {
    font-size:15px;
  }
  .watch-page .creator-row {
    gap:10px;
    margin:13px 0;
    padding:12px;
    border-radius:16px;
  }
  .watch-page .mini-avatar.large {
    width:45px;
    height:45px;
  }
  .watch-page .creator-name {
    font-size:13px;
  }
  .watch-page .creator-channel-button {
    min-height:40px;
    padding-inline:11px;
    border-radius:12px;
    font-size:10px;
  }
  .watch-page .description-box {
    margin:12px 0 16px;
    border-radius:15px;
  }
  .watch-page .description-box summary {
    min-height:49px;
    padding-inline:14px;
    font-size:12px;
  }
  .watch-page .description-content {
    padding:0 14px 14px;
    font-size:12px;
    line-height:1.7;
  }
  .watch-page .comments-section {
    margin-top:19px;
    padding:2px 2px 0;
  }
  .watch-page .comments-section h2 {
    font-size:17px;
  }
  .watch-page .comment-form {
    gap:9px;
    padding:11px;
    border-radius:15px;
  }
  .watch-page .comment-form textarea {
    min-height:58px;
    padding:12px;
    font-size:13px;
  }
  .watch-page .comment {
    gap:10px;
    padding:13px 2px;
  }
  .watch-page .comment p {
    margin:5px 0;
    font-size:12px;
    line-height:1.6;
  }
  .watch-page .related-panel {
    margin:5px 0 14px;
    padding:13px 12px 11px;
    border-radius:16px;
  }
  .watch-page .related-panel h3 {
    margin:0 2px 10px;
    font-size:14px;
  }
  .watch-page .related-panel:has(.related-card) {
    overflow:hidden;
  }
  .watch-page .related-panel:has(.related-card) > .related-card:first-of-type {
    margin-left:0;
  }
  .watch-page .related-panel .related-card {
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:10px;
    width:100%;
    padding:10px 2px;
    border-top:1px solid rgba(174,155,255,.10);
    border-radius:10px;
  }
  .watch-page .related-panel .related-card img {
    width:112px;
    aspect-ratio:16/9;
    border-radius:9px;
  }
  .watch-page .related-panel .related-card strong {
    font-size:11px;
    line-height:1.35;
  }
  .watch-page .related-panel .related-card small {
    font-size:9px;
  }
}
@media(max-width:370px) {
  .watch-page .topbar .brand > span:last-child {
    font-size:14px;
  }
  .watch-page .top-actions .language-switch {
    display:none;
  }
  .watch-page .watch-actions {
    gap:5px;
  }
  .watch-page .watch-action-button {
    font-size:9px;
  }
  .watch-page .creator-channel-button {
    padding-inline:8px;
    font-size:9px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .watch-page .description-box summary,
  .watch-page .related-card {
    transition:none;
  }
}


/* v3.6 creator processing queue and upload controls */
.upload-progress-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:8px; }
.upload-progress-meta p { flex:1 1 180px; min-width:0; }
.upload-progress-meta .button { flex:0 0 auto; }
.studio-processing-board { margin:0 0 18px; }
.queue-board-summary { margin:0 0 12px; color:var(--muted,#aab0c9); font-size:13px; }
.queue-board-items { display:grid; gap:10px; }
.queue-job { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 14px; align-items:center; padding:12px 14px; border:1px solid rgba(145,130,210,.18); border-radius:13px; background:rgba(14,17,31,.52); }
.queue-job-main { min-width:0; }
.queue-job-title { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:750; }
.queue-job-meta { display:flex; flex-wrap:wrap; gap:7px 12px; margin-top:4px; color:var(--muted,#aab0c9); font-size:11px; }
.queue-job-state { color:#d7b7ff; font-size:12px; font-weight:750; text-align:right; }
.queue-job progress { grid-column:1/-1; display:block; width:100%; height:8px; border:0; border-radius:99px; overflow:hidden; accent-color:#a34dff; }
.queue-job-error { grid-column:1/-1; color:#ffb6c0; font-size:12px; overflow-wrap:anywhere; }
.queue-job-empty { padding:12px 0; color:var(--muted,#aab0c9); font-size:13px; }
.queue-board-updated { margin:10px 0 0; }
@media(max-width:640px) {
  .queue-job { grid-template-columns:minmax(0,1fr); }
  .queue-job-state { text-align:left; }
  .queue-job progress,.queue-job-error { grid-column:1; }
  .upload-progress-meta { align-items:stretch; }
  .upload-progress-meta .button { width:100%; }
}


/* v3.7 creator tools */
.upload-publish-options{display:grid;gap:12px;padding:16px;border:1px solid var(--border,#292d43);border-radius:16px;background:rgba(122,92,255,.055)}
.upload-publish-options label,.studio-media-tools label{display:grid;gap:7px;font-weight:650}
.upload-publish-options [hidden]{display:none!important}
.studio-media-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border,#292d43)}
.studio-media-tools .studio-edit-form{padding:12px;border:1px solid var(--border,#292d43);border-radius:12px;background:rgba(255,255,255,.02)}
.studio-media-tools input[type=file],.studio-media-tools input[type=number]{max-width:100%;font-size:13px}
.watch-chapters{margin:16px 0;padding:14px 16px;border:1px solid var(--border,#292d43);border-radius:14px;background:rgba(255,255,255,.025)}
.watch-chapters>strong{display:block;margin-bottom:10px}
.watch-chapter-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.watch-chapter-list button{flex:0 0 auto;border:1px solid var(--border,#343952);border-radius:999px;background:rgba(122,92,255,.10);color:inherit;padding:8px 12px;font-size:13px;cursor:pointer}
.watch-chapter-list button:hover{border-color:#8b72ff;background:rgba(122,92,255,.2)}
.notification-list{display:grid;gap:10px;max-width:900px}
.notification-row{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--border,#292d43);border-radius:14px;background:rgba(255,255,255,.025)}
.notification-row.is-unread{border-color:rgba(145,112,255,.55);background:rgba(122,92,255,.08)}
.notification-dot{width:9px;height:9px;flex:0 0 9px;margin-top:6px;border-radius:50%;background:#9478ff}
.notification-row small{display:block;color:var(--muted,#999fb4);margin-top:4px}
@media(max-width:640px){.studio-media-tools{grid-template-columns:1fr}.upload-publish-options{padding:12px}.watch-chapters{margin:12px 0;padding:12px}}


/* v3.8: subscriber perks and easier Shorts clip composer */
.creator-subscribe-note{display:block;margin-top:8px;color:var(--muted,#9698b3);font-size:.78rem;line-height:1.45}
.partner-subscriber-perks{margin:16px 0;padding:16px;border:1px solid rgba(168,93,255,.30);border-radius:16px;background:linear-gradient(145deg,rgba(119,65,208,.13),rgba(39,93,190,.10))}
.partner-subscriber-perks h4{margin:6px 0 8px;font-size:1.05rem}
.partner-subscriber-perks p{margin:0 0 10px;line-height:1.55;color:var(--text-secondary,#c2c5dc)}
.partner-subscriber-perks ul{margin:0;padding-left:19px;display:grid;gap:7px;color:var(--text-secondary,#c2c5dc);font-size:.86rem}
.shorts-creator-panel{margin:18px 0 28px;overflow:hidden}
.short-creator-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#a43cf0,#4269ed);color:white;font-size:1.3rem}
.short-creator-form{display:grid;gap:14px;max-width:760px}
.short-source-preview{display:block;width:100%;max-height:420px;aspect-ratio:9/16;object-fit:contain;background:#050611;border:1px solid var(--border,#292a43);border-radius:16px}
.short-clip-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.short-clip-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted,#9698b3);font-size:.86rem}
.short-clip-summary [data-short-length]{color:var(--accent,#c77aff);font-weight:800}
@media(max-width:640px){.short-clip-fields{grid-template-columns:1fr}.short-source-preview{max-height:360px}.partner-subscriber-perks{padding:13px}}
