:root { --bg:#0b0d12; --card:#141821; --line:#252b38; --text:#f3f5f9; --muted:#9aa3b2; --accent:#7cf6ff; --err:#ff6b6b; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 Inter, system-ui, sans-serif; }
.top { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid var(--line); }
.brand { font-weight:800; font-size:22px; color:var(--text); text-decoration:none; } .brand span { color:var(--accent); }
nav { display:flex; gap:8px; align-items:center; }
main { max-width:760px; margin:24px auto; padding:0 16px; display:grid; gap:20px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:20px; }
.narrow { max-width:440px; margin:40px auto; }
h1 { font-size:28px; line-height:1.2; margin:0 0 8px; } h2 { margin:0 0 12px; }
label { display:grid; gap:6px; margin:10px 0; font-weight:600; font-size:14px; }
input, select, textarea { width:100%; background:#0f1218; color:var(--text); border:1px solid var(--line); border-radius:10px; padding:10px 12px; font:inherit; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:560px) { .row { grid-template-columns:1fr; } }
button, .primary { cursor:pointer; border-radius:10px; padding:10px 16px; font:600 15px Inter, sans-serif; border:1px solid var(--line); text-decoration:none; display:inline-block; }
.primary { background:var(--accent); color:#071014; border-color:var(--accent); }
.secondary { background:#1d2330; color:var(--text); } .ghost { background:none; color:var(--muted); }
button:disabled { opacity:.5; cursor:not-allowed; }
.wide { width:100%; } .or { text-align:center; color:var(--muted); margin:10px 0; }
.muted { color:var(--muted); } .small { font-size:13px; } .error { color:var(--err); min-height:1em; }
.pill { background:#1d2330; border-radius:999px; padding:6px 12px; font-weight:600; }
.drop { border:2px dashed var(--line); border-radius:14px; padding:22px; text-align:center; cursor:pointer; }
.drop input { display:none; }
.uploads, .orders { list-style:none; padding:0; margin:10px 0; display:grid; gap:8px; }
.order { display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:12px; }
@media (max-width:560px) { .order { grid-template-columns:1fr; } }
progress { width:120px; vertical-align:middle; }
.checkout { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-top:12px; }
.check { display:flex; gap:8px; align-items:center; font-weight:400; } .check input { width:auto; }
.price { font-weight:800; font-size:18px; }
dialog { background:var(--card); color:var(--text); border:1px solid var(--line); border-radius:16px; padding:16px; width:min(420px, 94vw); }
dialog video { width:100%; border-radius:12px; background:#000; max-height:70vh; }
.close { text-align:right; } .close button { background:none; border:0; color:var(--muted); font-size:18px; }
.review-actions { display:grid; gap:10px; margin-top:10px; }
.foot { text-align:center; padding:24px 16px; } .foot a { color:var(--muted); }

.edit-form { display: grid; gap: 10px; margin-top: 10px; }
.edit-form label { display: grid; gap: 4px; font-size: 14px; }
.edit-row { display: grid; grid-template-columns: 1fr 72px; gap: 8px; margin-bottom: 6px; }

/* format option groups */
fieldset.plain { border:0; padding:0; margin:0; min-width:0; }
fieldset.plain[hidden] { display:none; }
