
:root {
  --bg: #0b0d17; --panel: #141829; --panel-2: #1b2036; --stroke: rgba(255,255,255,.09);
  --text: #eef0fa; --dim: #a9afc9; --faint: #767d9c; --accent: #7c5cff; --accent-2: #4ea8ff;
  --ok: #3ddc97; --warn: #fbbf24; --bad: #ff5c7a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.top { display: flex; align-items: center; gap: 18px; padding: 14px 28px; border-bottom: 1px solid var(--stroke); position: sticky; top: 0; background: rgba(11,13,23,.92); backdrop-filter: blur(14px); z-index: 5; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.search { flex: 1; max-width: 460px; }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: rgba(0,0,0,.3); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input[type=file] { padding: 8px; }
nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-weight: 600; color: var(--dim); }
nav a:hover { color: var(--text); }
.who { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.who img, .avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--stroke); background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover, button:hover { border-color: rgba(255,255,255,.25); }
.btn.primary, button.primary { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
button.danger { color: var(--bad); }
button.link { padding: 0; border: 0; background: none; color: var(--dim); font-weight: 600; }
main { max-width: 1180px; margin: 0 auto; padding: 28px; min-height: 70vh; }
footer { padding: 26px 28px; border-top: 1px solid var(--stroke); color: var(--faint); font-size: 13px; text-align: center; }
footer a { color: var(--dim); margin-left: 10px; text-decoration: underline; }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 28px 0 12px; }
.sub { color: var(--dim); margin: 0 0 22px; }
.notice { padding: 11px 14px; margin-bottom: 20px; border-radius: 10px; background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.35); }
.notice.bad { background: rgba(255,92,122,.12); border-color: rgba(255,92,122,.4); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 6px 13px; border-radius: 20px; border: 1px solid var(--stroke); color: var(--dim); font-size: 13px; font-weight: 600; }
.chip.on { color: #fff; background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.5); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { display: block; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--stroke); transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.55); }
.card .shot { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; background: #000; }
.card .meta { padding: 12px 14px 14px; }
.card .name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .by { color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.empty { padding: 60px 20px; text-align: center; color: var(--faint); border: 1px dashed var(--stroke); border-radius: 14px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; }
.detail .shot { width: 100%; border-radius: 14px; border: 1px solid var(--stroke); background: #000; }
.box { padding: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--stroke); }
.box + .box { margin-top: 16px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.facts dt { color: var(--faint); }
.facts dd { margin: 0; }
.desc { white-space: pre-wrap; color: var(--dim); }
.status { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.status.pending { color: var(--warn); background: rgba(251,191,36,.14); }
.status.approved { color: var(--ok); background: rgba(61,220,151,.14); }
.status.rejected { color: var(--bad); background: rgba(255,92,122,.14); }
form.stack { display: grid; gap: 14px; max-width: 560px; align-content: start; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dim); }
.hint { color: var(--faint); font-size: 13px; font-weight: 400; }
.providers { display: grid; gap: 10px; max-width: 360px; margin-bottom: 26px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.split > .box { margin-top: 0; }
.rows { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--stroke); }
.row .thumb { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000; flex-shrink: 0; }
.row .grow { flex: 1; min-width: 0; }
.row form { display: flex; gap: 8px; align-items: center; }
.row form input { width: 220px; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.1; letter-spacing: -.02em; max-width: 820px; margin: 0 auto 16px; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--dim); font-size: 18px; max-width: 640px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn { padding: 13px 24px; font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 30px 0 10px; }
.features .box { margin: 0; }
.features b { display: block; margin-bottom: 6px; }
.features span { color: var(--dim); font-size: 14px; }
.steps { counter-reset: step; display: grid; gap: 10px; padding: 0; list-style: none; max-width: 640px; }
.steps li { counter-increment: step; padding: 12px 14px 12px 50px; position: relative; border-radius: 12px; background: var(--panel); border: 1px solid var(--stroke); }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.price { display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(124,92,255,.35); }
.price.free { color: var(--ok); background: rgba(61,220,151,.14); }
.code { font: 700 28px/1 ui-monospace, Consolas, monospace; letter-spacing: .18em; }
table.money { width: 100%; border-collapse: collapse; font-size: 14px; }
table.money td, table.money th { padding: 8px 10px; border-bottom: 1px solid var(--stroke); text-align: left; }
table.money td.n, table.money th.n { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } .top { flex-wrap: wrap; padding: 12px 16px; } main { padding: 18px 16px; } .row { flex-wrap: wrap; } }
