:root {
    --bg: #0a0b14;
    --bg-2: #0f1120;
    --surface: #151829;
    --surface-2: #1c2036;
    --border: rgba(255, 255, 255, .07);
    --border-strong: rgba(255, 255, 255, .14);
    --text: #eceef8;
    --muted: #8d92ad;
    --accent: #ff3d5a;
    --accent-2: #ff8a2b;
    --cyan: #22d3ee;
    --green: #34d399;
    --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
    --radius: 14px;
    color-scheme: dark;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(255, 61, 90, .12), transparent 60%), radial-gradient(900px 500px at 100% 0%, rgba(139, 92, 246, .10), transparent 60%), var(--bg);
    min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--border); background: rgba(10, 11, 20, .7); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 20px; color: #fff; }
.logo-text { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.logo-text span { color: var(--muted); font-weight: 600; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.who { font-size: 13px; color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { padding: 32px 0 64px; }
h1 { font-family: 'Rajdhani', sans-serif; font-size: 34px; line-height: 1.1; margin: 0 0 8px; }
h2 { font-family: 'Rajdhani', sans-serif; font-size: 24px; margin: 0 0 16px; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.login-card { max-width: 460px; margin: 40px auto; text-align: center; padding: 36px 28px; }
.login-card .g-wrap { display: flex; justify-content: center; margin: 24px 0 8px; min-height: 44px; }
.steps { text-align: left; color: var(--muted); font-size: 14px; margin: 20px 0 0; padding-left: 20px; }
.steps li { margin-bottom: 4px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
input[type=text], textarea, input[type=file] {
    width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border-strong);
    background: var(--bg-2); color: var(--text); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 61, 90, .18); }
input[type=file] { padding: 9px; cursor: pointer; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.thumb-preview { margin-top: 10px; width: 100%; aspect-ratio: 16/10; border-radius: 10px; border: 1px dashed var(--border-strong); background: var(--bg-2) center/cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; color: #fff; }
.btn-primary { background: var(--grad); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-green { background: #059669; }
.btn-red { background: #be123c; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; border: 1px solid; }
.alert-success { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .35); color: #a7f3d0; }
.alert-error { background: rgba(255, 61, 90, .1); border-color: rgba(255, 61, 90, .4); color: #fecdd3; }
.progress { display: none; height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: 14px 0 4px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.progress-text { display: none; font-size: 13px; color: var(--muted); }
.subs { display: flex; flex-direction: column; gap: 12px; }
.sub { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
.sub img { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--surface-2); }
.sub-body { flex: 1; min-width: 0; }
.sub-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-meta { font-size: 12.5px; color: var(--muted); }
.sub-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.badge-pending { background: rgba(255, 138, 43, .15); color: #fdba74; }
.badge-approved { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
.badge-rejected { background: rgba(255, 61, 90, .15); color: #fda4af; }
.empty { color: var(--muted); text-align: center; padding: 20px; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); text-decoration: none; }
.tabs a.active { color: #fff; background: rgba(255, 61, 90, .18); border-color: rgba(255, 61, 90, .45); }
.review-item { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); padding: 16px; margin-bottom: 16px; }
.review-head { display: flex; gap: 16px; }
.review-head img { width: 160px; height: 100px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.review-desc { font-size: 14px; color: var(--muted); white-space: pre-wrap; margin: 6px 0 0; max-height: 120px; overflow: auto; }
.review-frame { width: 100%; height: 480px; border: 1px solid var(--border-strong); border-radius: 10px; background: #000; margin-top: 14px; display: none; }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.review-actions input[type=text] { flex: 1; min-width: 180px; padding: 7px 11px; }
@media (max-width: 680px) {
    .wrap { padding: 0 16px; }
    .grid-2 { grid-template-columns: 1fr; }
    .who { display: none; }
    h1 { font-size: 28px; }
    .sub { flex-wrap: wrap; }
    .sub-actions { width: 100%; justify-content: flex-start; }
    .review-head { flex-direction: column; }
    .review-head img { width: 100%; height: auto; aspect-ratio: 16/10; }
    .review-frame { height: 360px; }
}
.search-row { display: flex; gap: 8px; margin-bottom: 18px; }
.search-row input[type=text] { flex: 1; padding: 8px 12px; }
.name-row { display: flex; gap: 8px; }
.name-row input[type=text] { flex: 1; }
.alert-info { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .35); color: #a5f3fc; }
.coin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coin-balance { font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.coin-balance small { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--muted); font-weight: 500; }
.coin-ico { color: #fbbf24; text-shadow: 0 0 12px rgba(251, 191, 36, .6); }
.coin-history { margin-top: 14px; font-size: 13.5px; }
.coin-history summary { cursor: pointer; color: var(--muted); }
.coin-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.coin-row small { color: var(--muted); margin-left: 6px; }
.coin-row .plus { color: var(--green); }
.coin-row .minus { color: #fda4af; }
