:root{
  --bg:#f6f7fb;
  --card:#fff;
  --text:#111;
  --muted:#666;
  --accent:#006;
  --btn-bg:#111;
  --btn-color:#fff;
  --radius:12px;
  --shadow:0 6px 18px rgba(0,0,0,0.06);
  --max-width:960px;
  --pad:24px;
  --font:system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:var(--font);background:var(--bg);color:var(--text)}
.container{min-height:100%;display:flex;align-items:flex-start;justify-content:center;padding:32px}
.card{width:100%;max-width:var(--max-width);background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
.header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.title{font-size:16px;font-weight:600}
.meta{color:var(--muted);font-size:13px}
.preview{margin-top:18px;display:flex;align-items:center;justify-content:center}
.preview img{max-width:100%;height:auto;border-radius:8px}
.preview video{max-width:100%;height:auto;border-radius:8px;background:#000}
.controls{margin-top:14px;display:flex;gap:10px}
.btn{background:var(--btn-bg);color:var(--btn-color);border:0;padding:10px 14px;border-radius:8px;text-decoration:none;display:inline-block}
a{color:var(--accent)}
.info{margin-top:10px;color:var(--muted);font-size:13px}

.form-card{width:100%;max-width:720px;padding:28px;border-radius:var(--radius);box-shadow:var(--shadow);background:var(--card)}
h1{margin:0 0 12px;font-weight:600}
p{color:var(--muted);margin:0 0 18px}
input[type=file]{display:block;width:100%;padding:8px;border-radius:8px;border:1px solid #e6e6e6}
button,input[type=submit]{margin-top:12px;background:var(--btn-bg);color:var(--btn-color);border:0;padding:10px 14px;border-radius:8px;cursor:pointer}
small{color:#999}
