
:root { --accent: #C8102E; --text: #1f2328; --muted: #6b7280; --line: #e5e7eb; --bg: #f7f7f8; --card: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); }
main { max-width: 920px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; }
main.narrow { max-width: 520px; padding-top: 12vh; }
h1 { font-size: 1.5rem; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
a { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.center { text-align: center; }
.brand { color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: .9rem; }
.btn { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.small { padding: 6px 14px; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.topbar form { margin: 0; }
.who, .posting-as { display: flex; align-items: center; gap: 10px; }
.posting-as { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { display: flex; flex-direction: column; }
.stat { font-size: 1.5rem; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
.video-cell { display: flex; align-items: center; gap: 10px; white-space: normal; min-width: 220px; }
.cover { width: 44px; height: 78px; object-fit: cover; border-radius: 6px; background: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; }
.field .muted { font-weight: 400; }
input[type=file], textarea, select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
legend { font-weight: 600; padding: 0 4px; }
.check { display: block; margin: 6px 0; }
.check .muted { display: block; margin-left: 24px; }
.check.disabled { color: var(--muted); }
.switch { font-weight: 600; display: flex; align-items: center; gap: 8px; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
#preview { width: 100%; max-height: 420px; background: #000; border-radius: 10px; margin-bottom: 14px; }
.notice { background: #fff4f4; border: 1px solid #f3c2c9; color: #7a1020; border-radius: 8px; padding: 10px 12px; margin: 0; }
.error { color: var(--accent); font-size: .9rem; margin: 4px 0 10px; }
.hint { background: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: .92rem; }
.consent { font-size: .9rem; color: var(--muted); }
.result { margin-top: 14px; padding: 12px; border-radius: 8px; background: var(--bg); }
.result p { margin: 0 0 4px; }
[hidden] { display: none !important; }
.site-footer { max-width: 920px; margin: 0 auto; padding: 24px 16px; display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .stat { font-size: 1.2rem; } .card { padding: 16px; } }
