/* AzadTube – free minds, free voices */
:root {
  --brand: #0a8f96; --brand-2: #08737a; --brand-soft: #e0f5f3; --ink: #0b1220;
  --accent: #00c2a8;
  --bg: #ffffff; --bg-2: #f4f5f4; --bg-3: #e9ebea; --card: #fff;
  --text: #111614; --muted: #5f6b67; --line: #e1e5e3;
  --danger: #d33a2c; --ok: #16865a; --warn: #b7791f;
  --radius: 12px; --top: 60px; --side: 236px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', var(--font);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1110; --bg-2: #181c1b; --bg-3: #232927; --card: #151918; --text: #edf1ef; --muted: #9aa6a1; --line: #262d2a; --brand-soft: #12302a; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--font); }
a { color: inherit; text-decoration: none; }
p a, .prose a, .muted a, .check a, .rules-box a { color: var(--brand); }
img, video { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; } .center { text-align: center; } .d-block { display: block; }
.clamp2, .clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp2 { -webkit-line-clamp: 2; } .clamp3 { -webkit-line-clamp: 3; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.icon-btn { background: none; border: 0; color: var(--text); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--bg-2); }
.logo { display: flex; align-items: center; gap: 8px; }
.az-mark { width: 36px; height: 30px; flex: none; stroke: none; }
.hero-mark .az-mark { width: 96px; height: 80px; margin: 0 auto 18px; display: block; }
.logo-word { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.logo-word b { color: #00c2a8; font-weight: 700; }
@media (prefers-color-scheme: dark) { .logo-word { color: #fff; } }
.search { flex: 1; min-width: 0; max-width: 600px; margin: 0 auto; display: flex; }
.search input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-right: 0; border-radius: 20px 0 0 20px; padding: 0 18px; background: var(--bg); color: var(--text); font: inherit; }
.search input:focus { outline: none; border-color: var(--brand); }
.search button { width: 60px; border: 1px solid var(--line); border-radius: 0 20px 20px 0; background: var(--bg-2); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.top-actions { display: flex; align-items: center; gap: 10px; }

.usermenu { position: relative; } .usermenu summary { list-style: none; cursor: pointer; } .usermenu summary::-webkit-details-marker { display: none; }
.usermenu .menu { position: absolute; right: 0; top: 46px; width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.15); padding: 6px; }
.usermenu .menu a, .usermenu .menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 8px; background: none; border: 0; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--bg-2); }
.menu-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; }
.menu-head span { color: var(--muted); font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 18px; border-radius: 20px; border: 1px solid transparent; font: 600 14px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-2); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-light { background: #fff; color: #111; }
.btn-ghost { background: var(--bg-2); color: var(--text); border-color: var(--line); } .btn-ghost:hover { background: var(--bg-3); }
.btn-sm { height: 34px; padding: 0 14px; } .btn-xs { height: 28px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 46px; font-size: 15px; width: 100%; }
.btn-approve { background: var(--ok); color: #fff; } .btn-reject { background: var(--danger); color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; } .linkbtn:hover { color: var(--text); text-decoration: underline; }
.linkbtn.danger { color: var(--danger); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 600; margin-left: auto; }

/* ---------- layout ---------- */
.shell { display: flex; }
.sidebar { position: sticky; top: var(--top); height: calc(100vh - var(--top)); width: var(--side); flex: none; overflow-y: auto; padding: 12px; border-right: 1px solid transparent; scrollbar-width: thin; }
.sidebar a { display: flex; align-items: center; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.sidebar a:hover { background: var(--bg-2); }
.sidebar a.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.sidebar .cat-link { padding-left: 12px; color: var(--muted); }
.side-label { margin: 18px 12px 6px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 12px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-foot { margin: 18px 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.side-foot a { display: inline; padding: 0; } .side-foot a:hover { background: none; text-decoration: underline; }
.main { flex: 1; min-width: 0; padding: 18px 24px 60px; }
.scrim { display: none; }
body.collapsed .sidebar { display: none; }
@media (max-width: 1100px) {
  .sidebar { position: fixed; left: 0; top: var(--top); z-index: 60; background: var(--bg); transform: translateX(-100%); transition: transform .2s; border-right-color: var(--line); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: var(--top) 0 0 0; background: rgba(0,0,0,.4); z-index: 55; }
}
@media (max-width: 640px) {
  .topbar { gap: 6px; padding: 0 8px; }
  .logo-word { display: none; }
  .search button { width: 46px; }
  .top-actions .btn span { display: none; }
  .top-actions .btn-ghost { display: none; }
  .main { padding: 12px 12px 60px; }
}

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.flash-ok { background: var(--brand-soft); color: var(--brand); }
.flash-err { background: #fde8e6; color: var(--danger); }
.flash-warn { background: #fdf3e1; color: #8a5a00; }
.page-title { font-size: 26px; margin: 6px 0 18px; }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 7px 14px; border-radius: 9px; background: var(--bg-2); font-size: 14px; font-weight: 500; white-space: nowrap; text-transform: capitalize; }
.chip:hover { background: var(--bg-3); }
.chip.on { background: var(--text); color: var(--bg); }

/* ---------- video grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px 18px; margin-bottom: 30px; }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.vcard:hover .thumb img { transform: scale(1.03); }
.dur { position: absolute; right: 7px; bottom: 7px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 5px; }
.vmeta { display: flex; gap: 12px; margin-top: 12px; }
.vmeta h3 { font: 600 15px/1.35 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.vmeta p { margin: 0; font-size: 13.5px; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar-letter { display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--display); }

/* shorts shelf */
.shelf { margin: 10px 0 36px; }
.shelf-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.shorts-icon { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #00c2a8, #0891b2); color: #fff; display: grid; place-items: center; }
.shorts-icon svg { width: 20px; height: 20px; }
.shorts-row { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.scard { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.scard img { width: 100%; height: 100%; object-fit: cover; }
.scard-info { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.scard-info h3 { font: 600 14px/1.3 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard-info p { margin: 4px 0 0; font-size: 12.5px; opacity: .85; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h1, .empty h2 { color: var(--text); margin-bottom: 8px; }
.hero-empty { padding: 90px 20px; }
.hero-empty h1 { font-size: 36px; }
.hero-empty p { max-width: 460px; margin: 10px auto 24px; font-size: 16px; }

/* ads */
.ad-slot { margin: 10px 0 30px; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.watch-side .ad-slot { margin: 0 0 16px; min-height: 250px; }

/* ---------- search list ---------- */
.list { display: flex; flex-direction: column; gap: 18px; max-width: 1100px; }
.lrow { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: 16px; }
.lrow h3 { font: 500 18px/1.3 var(--font); margin-bottom: 6px; }
.lrow p { margin: 0 0 6px; font-size: 13px; }
.thumb-short { aspect-ratio: 16/9; } .thumb-short img { object-fit: contain; background: #000; }
.chan-line { display: flex; align-items: center; gap: 8px; }
.channel-results { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.chan-pill { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 40px; background: var(--bg-2); }
.chan-pill span { display: flex; flex-direction: column; } .chan-pill small { color: var(--muted); }
@media (max-width: 640px) { .lrow { grid-template-columns: 1fr; } }

/* ---------- watch ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; max-width: 1700px; }
@media (max-width: 1000px) { .watch { grid-template-columns: 1fr; } }
.player { background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.player video { width: 100%; height: 100%; }
.watch-title { font-size: 21px; margin: 14px 0 10px; line-height: 1.3; }
.watch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.chan { display: flex; align-items: center; gap: 10px; }
.chan span { display: flex; flex-direction: column; } .chan small { color: var(--muted); font-size: 12.5px; }
.bar-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.pillbtn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; border: 0; background: var(--bg-2); color: var(--text); font: 600 14px var(--font); cursor: pointer; }
.pillbtn:hover { background: var(--bg-3); }
.pillbtn svg { width: 19px; height: 19px; }
.pillbtn.on { background: var(--brand-soft); color: var(--brand); } .pillbtn.on svg { fill: currentColor; fill-opacity: .2; }
.desc { background: var(--bg-2); border-radius: var(--radius); padding: 12px 14px; margin: 14px 0 20px; font-size: 14px; }
.desc strong a { color: var(--brand); }
.desc p { white-space: pre-wrap; margin: 6px 0 0; }
.comments h2 { font-size: 18px; margin-bottom: 16px; }
.comment-form { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.comment-form textarea { flex: 1; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; padding: 8px 0; resize: vertical; min-height: 38px; }
.comment-form textarea:focus { outline: none; border-color: var(--brand); }
.comment { display: flex; gap: 12px; margin-bottom: 18px; }
.c-head { margin: 0 0 3px; font-size: 13px; font-weight: 600; }
.c-body { margin: 0 0 4px; white-space: pre-wrap; word-break: break-word; }
.side-card { display: grid; grid-template-columns: 168px 1fr; gap: 10px; margin-bottom: 12px; }
.side-card .thumb { border-radius: 8px; }
.side-card h3 { font: 600 14px/1.3 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.side-card p { margin: 0; font-size: 12.5px; }

/* ---------- shorts feed ---------- */
body.shorts-page .main { padding: 0; }
.shorts-feed { height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.shorts-feed::-webkit-scrollbar { display: none; }
.short { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 0; }
.short-frame { position: relative; height: 100%; aspect-ratio: 9/16; max-width: calc(100vw - 100px); background: #000; border-radius: 16px; overflow: hidden; }
.short-frame video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.short-sound { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.short-sound .wave { display: none; } .short.unmuted .short-sound .wave { display: block; } .short.unmuted .short-sound .mute { display: none; }
.short-info { position: absolute; inset: auto 0 0 0; padding: 60px 16px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.short-info .chan { display: inline-flex; margin-right: 8px; } .short-info p { margin: 10px 0 0; font-size: 14.5px; }
.short-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.short-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.short-actions { display: flex; flex-direction: column; gap: 16px; align-self: flex-end; padding-bottom: 10px; }
.round { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: var(--text); font: 600 12px var(--font); cursor: pointer; }
.round svg { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: var(--bg-2); }
.round:hover svg { background: var(--bg-3); }
.round.on svg { background: var(--brand); color: #fff; }
.shorts-nav { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.short-ad { flex-direction: column; } .short-ad .ad-slot { width: min(400px, 90vw); }
@media (max-width: 640px) {
  .short { padding: 0; gap: 0; position: relative; }
  .short-frame { max-width: 100vw; width: 100%; border-radius: 0; aspect-ratio: auto; }
  .short-actions { position: absolute; right: 8px; bottom: 90px; }
  .short-actions .round { color: #fff; } .short-actions .round svg { background: rgba(0,0,0,.4); }
  .shorts-nav { display: none; }
  .short-info { padding-right: 70px; }
}

/* ---------- channel ---------- */
.channel-banner { height: 150px; border-radius: 16px; background: radial-gradient(circle at 85% 30%, rgba(255,255,255,.18), transparent 40%), linear-gradient(120deg, #00c2a8, #0891b2); }
.channel-head { display: flex; align-items: center; gap: 20px; padding: 20px 4px; flex-wrap: wrap; }
.channel-meta { flex: 1; min-width: 220px; }
.channel-meta h1 { font-size: 30px; }
.channel-meta p { margin: 4px 0; }
.bio { max-width: 700px; white-space: pre-wrap; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.tabs a.on { color: var(--text); border-color: var(--text); }

/* ---------- forms ---------- */
.narrow { max-width: 720px; margin: 0 auto; }
.auth { max-width: 430px; margin: 30px auto; }
.auth h1 { font-size: 26px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form textarea, .form select, .reject-form select {
  border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 10px; padding: 11px 12px; font: 400 15px var(--font); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.form label.check, label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.check input { margin-top: 3px; accent-color: var(--brand); }
.form-error { background: #fde8e6; color: var(--danger); padding: 10px 12px; border-radius: 8px; margin: 0; font-weight: 500; }
.drop { position: relative; border: 2px dashed var(--line); border-radius: 14px; padding: 36px 20px; text-align: center; cursor: pointer; align-items: center; background: var(--bg-2); transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--brand); background: var(--brand-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 44px; height: 44px; color: var(--brand); }
.drop .muted { font-weight: 400; }
.kind-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind-pick label { cursor: pointer; }
.kind-pick input { position: absolute; opacity: 0; }
.kind-pick span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 2px solid var(--line); border-radius: 12px; }
.kind-pick small { font-weight: 400; color: var(--muted); }
.kind-pick input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.rules-box { background: #fdf3e1; color: #5c3f00; border-radius: 12px; padding: 14px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
@media (prefers-color-scheme: dark) { .rules-box { background: #2e2512; color: #f3d9a4; } .flash-warn { background: #2e2512; color: #f3d9a4; } .form-error, .flash-err { background: #3a1a17; } }
.progress { position: relative; height: 28px; border-radius: 14px; background: var(--bg-3); overflow: hidden; }
.progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand); transition: width .2s; }
.progress em { position: relative; display: block; text-align: center; line-height: 28px; font-style: normal; font-weight: 600; font-size: 13px; mix-blend-mode: difference; color: #fff; }
.avatar-row { display: flex; align-items: center; gap: 18px; }
hr { border: 0; border-top: 1px solid var(--line); width: 100%; }

/* ---------- studio / tables ---------- */
.studio-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.studio-head .page-title { margin: 0; }
.stats { display: flex; gap: 12px; flex: 1; flex-wrap: wrap; }
.stats div { background: var(--bg-2); border-radius: 12px; padding: 10px 18px; display: flex; flex-direction: column; min-width: 110px; }
.stats strong { font: 700 22px var(--display); } .stats span { color: var(--muted); font-size: 13px; }
.admin-stats { margin-bottom: 20px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t-video { display: flex; gap: 12px; min-width: 300px; }
.t-video img, .thumb-ph { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: var(--bg-3); flex: none; }
.t-video div { display: flex; flex-direction: column; gap: 4px; }
.t-actions { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.inline-edit[open] { position: relative; } .inline-edit form { position: absolute; right: 0; z-index: 5; width: 320px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.inline-edit summary { list-style: none; } .inline-edit summary::-webkit-details-marker { display: none; }
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }
.s-approved { background: #dff3e8; color: var(--ok); } .s-pending, .s-processing { background: #fdf3e1; color: var(--warn); }
.s-rejected, .s-failed { background: #fde8e6; color: var(--danger); }
tr.banned td { opacity: .55; }

/* ---------- admin review ---------- */
.review-list { display: flex; flex-direction: column; gap: 18px; }
.review { display: grid; grid-template-columns: 420px 1fr; gap: 20px; padding: 16px; }
.review video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; }
.review video.is-short { aspect-ratio: 9/16; max-height: 460px; width: auto; margin: 0 auto; }
.review-info h3 { font-size: 18px; margin-bottom: 6px; }
.review-info p { margin: 0 0 10px; }
.review-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.reject-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reject-form select { padding: 8px 10px; }
@media (max-width: 900px) { .review { grid-template-columns: 1fr; } }

/* ---------- dialog / prose ---------- */
.dialog { border: 0; border-radius: 16px; padding: 24px; width: min(440px, 92vw); background: var(--card); color: var(--text); }
.dialog::backdrop { background: rgba(0,0,0,.5); }
.dialog h2 { font-size: 20px; margin-bottom: 6px; }
.dialog form { display: flex; flex-direction: column; gap: 8px; }
.dialog textarea { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; background: var(--bg); color: var(--text); }
.radio { display: flex; gap: 10px; padding: 6px 0; cursor: pointer; } .radio input { accent-color: var(--brand); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.prose { font-size: 16px; line-height: 1.65; }
.prose h1 { font-size: 32px; margin-bottom: 12px; } .prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose li { margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 10px; font-weight: 500; z-index: 100; box-shadow: 0 8px 30px rgba(0,0,0,.25); }

/* ---------- share dialog ---------- */
.share-dialog { width: min(520px, 94vw); }
.share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.share-apps { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.share-apps a, .share-apps button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text); background: none; border: 0; cursor: pointer; font-family: var(--font); min-width: 62px; }
.share-apps span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.share-apps svg { width: 26px; height: 26px; }
.copy-row { display: flex; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.copy-row input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: 14px var(--font); }
.copy-row input:focus { outline: none; }
.share-start { margin-top: 12px; font-size: 14px; }
.embed-box { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.embed-box summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.embed-box textarea { width: 100%; margin: 10px 0; font: 12.5px ui-monospace, monospace; resize: none; }
