/* Shared layout for the account and moderation pages (on top of ui.css). */
main { width: 100%; max-width: 760px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
main.wide { max-width: 980px; }
.bar nav { display: flex; gap: 12px; align-items: center; margin: 0; }
section { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 0 0 10px; }
form, .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
p { margin: 8px 0 0; }
#msg { min-height: 1.4em; } #msg.ok { color: var(--ok); } #msg.err { color: var(--danger); }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: normal; font-size: 12px; } td input[type=text], td input:not([type]) { width: 150px; }
code { background: #0f1114; padding: 2px 6px; border-radius: 4px; user-select: all; word-break: break-all; }
.muted { color: var(--dim); } .hidden { display: none !important; } .stack { display: flex; flex-direction: column; gap: 14px; }
button.ok { background: #25512f; border-color: #4a8; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
/* moderation cards */
.card { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.card canvas { width: 280px; height: 210px; flex: none; background: #000; border: 1px solid var(--line); border-radius: 6px; }
.card .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 15px; }
.chip.illegal, .chip.sexual { background: #5a2323; } .chip.abuse { background: #5a4223; }
.notes { margin: 0; padding-left: 16px; color: #bbb; } .actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto; }
.empty { color: var(--dim); padding: 24px; text-align: center; }
@media (max-width: 640px) { .card { flex-direction: column; } .card canvas { width: 100%; height: auto; aspect-ratio: 4 / 3; } td input[type=text], td input:not([type]) { width: 100%; } }
.card .banner { display: inline-block; padding: 2px 8px; background: #5a2323; border-radius: 4px; font-size: 12px; }
.w110 { width: 110px; } .w80 { width: 80px; }
