/* Blackout for Voidy: loaded after every other stylesheet; the tokens are in base.css.
   Pure black ground, shallow surface steps, one orange accent, Barlow Condensed
   uppercase headings, Inter body, JetBrains Mono numbers, 4px radius.
   Fonts: Barlow Condensed 500/600/700, Inter 400/500/600, JetBrains Mono 400/500/700. */

/* Radius: the other stylesheets already use 4px corners, 999px pills and 50% circles. */

/* Hard-coded raised surfaces become deck; depth from hairlines, not fill. */
.card, .detail, .member-card, .upload-card, .dm-banner, .tile, .screen-bar, .screen-box.mine,
.notify-banner, dm-details select.field, .attachment, .pop {
  background: var(--raised);
  border-color: var(--line);
}
.composer-box { background: var(--input); border-color: var(--line); }
.composer-box:focus-within { border-color: var(--line-3); }
.members { --members-bg: #000; }
.msg:hover { background: #0e0e10; }
.tile.speaking .tile-avatar .avatar { box-shadow: 0 0 0 3px var(--raised), 0 0 0 6px var(--voice); }

/* Live / call colours. */
.call-btn.join, .btn-join, .hold-btn.active, .round-btn.sharing, .mc-mute {
  background: var(--live-bg); border-color: var(--live-line); color: var(--live-ink);
}
.mc-title { color: var(--live-ink); }
.flag[aria-pressed=true], .badge-bot, .screen-q { background: var(--live-bg); color: var(--voice); }
.call-record .call-join { color: #000; }

/* Badges: gold for admin, flare outline for owner. */
.badge { font: 600 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.badge-admin { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px #4a3f1f; }
.badge-owner { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px #5a2f14; }
.avatar .dot-idle, .status-pick.pick-idle { background: var(--gold); }

/* Display type: condensed uppercase for headings, titles and brand. */
h1, h2, .main-header h1, .home-head h1, .voice-head h2, .vs-top h2, .settings-panel h2,
.card h2, .home-empty h2, .room-intro h2, .call-title, .share-opt-name, .detail h2, .admin-head h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.main-header h1 { font-size: 20px; }
.home-head h1 { font-size: 44px; line-height: .95; letter-spacing: .02em; }
.voice-head h2 { font-size: 34px; }
.card h2, .settings-panel h2, .vs-top h2 { font-size: 18px; letter-spacing: .06em; }
/* Labels and group headers stay Inter: lists are navigation, not headings. */
.section-title, .vs-section h3, .pop-title {
  font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}
.lab { color: var(--muted); font-weight: 500; }
.logo { font-family: var(--display); font-weight: 700; font-size: 18px; }

/* Sidebar rooms: active gets a 2px flare bar on the left. */
.room { font-weight: 500; font-size: 14px; }
.room[aria-current=page] { background: var(--hover); box-shadow: inset 2px 0 0 var(--accent); }
.room-count, .home-date, .msg-time, .msg-time-hover { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Messages. */
.msg-author { font-weight: 600; font-size: 14px; }
.msg-time { font-size: 11px; }
.msg-body { font-size: 14.5px; }
.msg-body .mention, .msg-body .room-ref { background: rgba(255, 122, 41, .12); }
.msg-body .mention-me { color: #000; background: var(--accent); }
.msg-body .room-ref-locked { background: rgba(229, 72, 77, .12); }

/* Buttons: flat, 600 weight. */
.btn-primary { font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); }
.field { border-color: var(--line); }
.field:hover { border-color: var(--line-3); }
.ib:hover { background: var(--hover); }

.error { background: #1a0809; border-color: #3a1517; }

/* Attachments, reactions and stat tiles. */
.att-file { background: var(--raised); border-color: var(--line); }
.att-file:hover { border-color: var(--line-3); }
.att-image { border-color: var(--line); background: var(--input); }
.att-video-player { border-color: var(--line); }
.reaction { background: transparent; border-color: var(--line); }
.reaction.mine { background: rgba(255, 122, 41, .12); }
.stat-label { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.stat-value { font-weight: 500; letter-spacing: -.01em; }
