/* =====================================================
   THE MOTHERSHIP — forum styles
   Builds on styles.css tokens (--portal-green, --hot-pink, --cyan, --ink...)
   ===================================================== */

.forum-body { background: var(--bg-deep); }
.forum-main { position: relative; z-index: 2; min-height: 70vh; padding-bottom: 60px; }
.forum-main section { padding: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--portal-green); color: #050010; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.muted { color: var(--ink-dim); }
.small { font-size: 13px; }
.narrow { width: min(100% - 32px, 820px); margin: 0 auto; padding-top: 28px; }
.forum-main a { color: var(--cyan); }
.forum-main a:hover { color: #fff; }

/* nav additions */
.forum-topnav .topnav-links a.is-active { color: var(--portal-glow); text-shadow: 0 0 12px rgba(93,255,126,.6); }
.nav-bell { position: relative; font-size: 18px; text-decoration: none; }
.nav-bell-count {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--hot-pink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 10px rgba(255,43,213,.8);
}
.nav-me { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; font-weight: 700; }
.nav-me .sigil { border-radius: 50%; }

/* layout */
.forum-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 28px; }
.forum-side { display: flex; flex-direction: column; gap: 18px; }
.forum-h2 {
  font-family: "Creepster", Impact, sans-serif; font-weight: 400; letter-spacing: .05em; font-size: 30px;
  color: #b6ff3d; text-shadow: 2px 2px 0 #ff2bd5, 3px 3px 0 #050010; margin: 34px 0 14px;
}
.crumbs { font-size: 13px; color: var(--ink-mute); margin-bottom: 14px; }
.crumbs a { color: var(--ink-dim) !important; text-decoration: none; }
.empty-note {
  padding: 22px; border-radius: var(--radius); border: 1px dashed rgba(110,240,255,.35);
  background: rgba(10,4,30,.55); color: var(--ink-dim); text-align: center;
}

/* hero */
.mothership-hero {
  padding: 46px 0 10px !important; text-align: center; position: relative;
  background: radial-gradient(700px 240px at 50% 0%, rgba(93,255,126,.16), transparent 70%);
}
.mothership-sub { max-width: 680px; margin: 0 auto 22px; color: var(--ink-dim); font-size: 18px; }
.mothership-stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 0; margin: 0 0 22px; }
.mothership-stats li {
  min-width: 120px; padding: 12px 18px; border-radius: 14px; background: rgba(13,6,40,.7);
  border: 1px solid rgba(93,255,126,.25); box-shadow: inset 0 0 22px rgba(93,255,126,.08);
}
.mothership-stats strong { display: block; font-size: 28px; color: var(--portal-green); font-family: "Courier New", monospace; text-shadow: 0 0 12px rgba(93,255,126,.6); }
.mothership-stats span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); }
.mothership-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* glass panels */
.side-card, .prompt-card, .checkin-card, .board-card a, .thread-row, .post, .compose, .auth-card, .profile-header, .board-header, .reply-cta, .notif-list li, .report-list li, .activity-feed li {
  background: linear-gradient(160deg, rgba(26,10,54,.82), rgba(8,3,24,.86));
  border: 1px solid rgba(182,255,198,.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
}
.side-card { padding: 18px; }
.side-title { margin: 0 0 12px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--portal-glow); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }

/* check-in + prompt */
.checkin-card { display: flex; gap: 18px; align-items: center; padding: 20px; margin-bottom: 16px; position: relative; overflow: hidden; }
.checkin-card h3 { margin: 4px 0 6px; font-size: 20px; }
.checkin-orb {
  flex: 0 0 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--portal-green) 30%, var(--portal-green-deep) 60%, #021609);
  box-shadow: 0 0 34px rgba(93,255,126,.65); animation: orbPulse 3s ease-in-out infinite;
}
.checkin-card.is-beamed .checkin-orb { animation: orbBeam 1.4s var(--easing) 1, orbPulse 3s ease-in-out 1.4s infinite; }
@keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); box-shadow: 0 0 54px rgba(93,255,126,.9); } }
@keyframes orbBeam { 0% { transform: scale(1); } 40% { transform: scale(.4) translateY(-30px); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.prompt-kicker { margin: 0; font-family: "Courier New", monospace; letter-spacing: .22em; font-size: 12px; color: var(--hot-pink-soft); }
.prompt-card { padding: 22px; position: relative; overflow: hidden; border-color: rgba(255,43,213,.35); }
.prompt-card::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,43,213,.28), transparent 70%); pointer-events: none;
}
.prompt-card h2 { margin: 8px 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.prompt-card h2 a { color: #fff !important; text-decoration: none; }
.xp-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.xp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--portal-green), var(--cyan), var(--hot-pink)); box-shadow: 0 0 12px rgba(93,255,126,.6); }

/* boards */
.board-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.board-card a { display: grid; gap: 6px; padding: 18px; text-decoration: none; height: 100%; color: var(--ink) !important; transition: border-color .2s, transform .2s; }
.board-card a:hover { border-color: rgba(93,255,126,.55); }
.board-card.is-sponsored a { border-color: rgba(110,240,255,.4); background: linear-gradient(160deg, rgba(8,40,60,.85), rgba(8,3,24,.9)); }
.board-icon { font-size: 30px; filter: drop-shadow(0 0 10px rgba(93,255,126,.5)); }
.board-icon--lg { font-size: 54px; }
.board-name { font-weight: 800; font-size: 18px; }
.board-blurb { color: var(--ink-dim); font-size: 14px; }
.board-meta { color: var(--ink-mute); font-size: 12px; letter-spacing: .04em; }
.board-sponsor-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.board-header { display: flex; gap: 18px; align-items: center; padding: 22px; }
.board-header.is-sponsored { border-color: rgba(110,240,255,.45); }
.board-title { margin: 0; font-size: clamp(28px, 4vw, 42px); font-family: "Creepster", Impact, sans-serif; font-weight: 400; letter-spacing: .05em; color: #b6ff3d; text-shadow: 2px 2px 0 #ff2bd5, 3px 3px 0 #050010; }
.board-sponsor-line { margin: 8px 0 0; font-size: 14px; color: var(--cyan); }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 12px; gap: 12px; flex-wrap: wrap; }
.sort-tabs { display: flex; gap: 6px; }
.sort-tab { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: var(--ink-dim) !important; text-decoration: none; font-size: 13px; font-weight: 700; }
.sort-tab.is-active { background: rgba(93,255,126,.16); border-color: rgba(93,255,126,.6); color: var(--portal-glow) !important; }

/* thread list */
.thread-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.thread-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 14px 16px; transition: border-color .2s, transform .2s; }
.thread-row:hover { border-color: rgba(93,255,126,.45); transform: translateX(3px); }
.thread-row.is-pinned { border-color: rgba(255,225,86,.45); background: linear-gradient(160deg, rgba(48,36,8,.75), rgba(8,3,24,.9)); }
.thread-row-title { font-weight: 800; font-size: 17px; color: #fff !important; text-decoration: none; line-height: 1.3; }
.thread-row-title:hover { color: var(--portal-glow) !important; }
.pin, .lock { margin-right: 6px; }
.thread-row-meta { margin: 4px 0 0; font-size: 13px; color: var(--ink-mute); }
.thread-row-meta a { color: var(--ink-dim) !important; }
.thread-row-excerpt { margin: 6px 0 0; color: var(--ink-dim); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-row-stats { display: grid; gap: 2px; font-size: 12px; color: var(--ink-mute); text-align: right; }
.thread-row-stats strong { color: var(--portal-green); font-size: 16px; }
.sigil { border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(93,255,126,.35), 0 0 14px rgba(93,255,126,.25); background: #050214; }

/* activity feed */
.activity-feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.activity-feed li { display: flex; gap: 12px; padding: 12px 14px; align-items: flex-start; }
.activity-feed p { margin: 0; font-size: 14px; }

/* leaderboard / ranks */
.leaderboard { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.leaderboard li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lb-rank { width: 20px; color: var(--ink-mute); font-family: "Courier New", monospace; }
.lb-xp { margin-left: auto; color: var(--portal-green); font-family: "Courier New", monospace; font-size: 13px; }
.rank-ladder { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.rank-ladder li { display: flex; justify-content: space-between; }
.rank-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(93,255,126,.12); border: 1px solid rgba(93,255,126,.35); color: var(--portal-glow); white-space: nowrap; }
.rank-chip.is-mod { background: rgba(255,43,213,.14); border-color: rgba(255,43,213,.5); color: var(--hot-pink-soft); }
.handle { font-weight: 800; text-decoration: none; }
.handle.is-mod { color: var(--hot-pink-soft) !important; }
.handle.is-system { color: var(--cyan) !important; }

/* radar */
.radar { display: grid; place-items: center; margin: 4px auto 8px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(10,60,25,.65), rgba(3,14,8,.9)); box-shadow: inset 0 0 30px rgba(93,255,126,.25), 0 0 24px rgba(93,255,126,.18); }
.radar-canvas { width: 220px; height: 220px; }
.radar-count { text-align: center; margin: 0; font-size: 14px; }
.radar-count strong { color: var(--portal-green); font-size: 20px; }
.radar-handles { text-align: center; font-size: 12px; color: var(--ink-mute); margin: 6px 0 0; }

/* thread page */
.thread-header { margin-bottom: 16px; }
.thread-title { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; color: #fff; text-shadow: 0 0 22px rgba(255,43,213,.35); }
.thread-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mod-tools { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.post-list { display: grid; gap: 14px; }
.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px; scroll-margin-top: 110px; }
.post.is-op { border-color: rgba(93,255,126,.35); }
.post.is-system { border-color: rgba(110,240,255,.35); }
.post.is-target { animation: postTarget 2.4s var(--easing); }
@keyframes postTarget { 0%, 40% { box-shadow: 0 0 0 2px var(--portal-green), 0 0 40px rgba(93,255,126,.6); } 100% { box-shadow: 0 10px 30px rgba(0,0,0,.35); } }
.post.is-vanishing { animation: vanish .6s ease-in forwards; }
@keyframes vanish { to { opacity: 0; transform: translateY(-40px) scale(.9); filter: blur(6px); } }
.post-author { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 14px; border-right: 1px solid rgba(255,255,255,.06); padding-right: 14px; }
.post-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.badge-icon { font-size: 16px; cursor: help; }
.post-streak { font-size: 12px; color: #ffb36b; }
.post-meta { font-size: 13px; color: var(--ink-mute); margin-bottom: 8px; }
.post-num { color: var(--ink-mute) !important; text-decoration: none; font-family: "Courier New", monospace; }
.post-body { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 12px; }
.post-body blockquote { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--hot-pink); background: rgba(255,43,213,.07); border-radius: 0 10px 10px 0; color: var(--ink-dim); }
.post-body code { font-family: "Courier New", monospace; background: rgba(110,240,255,.1); padding: 1px 6px; border-radius: 6px; }
.post-body .mention { font-weight: 700; color: var(--portal-glow) !important; text-decoration: none; }
.redacted { background: #000; color: transparent; border-radius: 3px; padding: 0 4px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: color .3s, background .3s; user-select: none; }
.redacted::before { content: "CLASSIFIED "; color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .15em; font-family: "Courier New", monospace; }
.redacted.is-revealed { background: rgba(255,43,213,.14); color: var(--ink); user-select: text; }
.redacted.is-revealed::before { content: ""; }
.post-media { margin: 0 0 12px; }
.post-media img { max-width: min(100%, 420px); max-height: 360px; border-radius: 12px; display: block; }
.yt-lite { position: relative; max-width: 560px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: 0 0 12px; cursor: pointer; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 30px rgba(255,0,51,.25); }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.05); }
.yt-lite iframe { width: 100%; height: 100%; border: 0; }
.yt-lite-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; border: 0; background: var(--yt-red); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 8px 26px rgba(255,0,51,.6); }
.post-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.reactions { display: flex; flex-wrap: wrap; gap: 6px; }
.react-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--ink); font-size: 15px; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.react-btn:hover { transform: translateY(-2px) scale(1.06); border-color: rgba(93,255,126,.5); }
.react-btn.is-mine { background: rgba(93,255,126,.18); border-color: rgba(93,255,126,.7); box-shadow: 0 0 12px rgba(93,255,126,.35); }
.react-count { font-size: 12px; font-weight: 800; color: var(--portal-glow); min-width: 0; }
.post-tools { display: flex; gap: 4px; flex-wrap: wrap; }
.post-tools button { background: none; border: 0; color: var(--ink-mute); font-size: 13px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.post-tools button:hover { color: #fff; background: rgba(255,255,255,.07); }
.inline-sponsor { margin: 0; }
.edit-box { display: grid; gap: 8px; }
.edit-box textarea { width: 100%; }

/* compose + forms */
.compose { padding: 18px; margin-top: 18px; display: grid; gap: 10px; }
.compose-label { font-weight: 700; color: var(--ink-dim); }
.compose textarea, .compose input, .compose select, .auth-form input, .search-form input, .edit-box textarea {
  width: 100%; background: rgba(5,2,20,.75); color: var(--ink); border: 1px solid rgba(182,255,198,.22);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical;
}
.compose textarea:focus, .compose input:focus, .compose select:focus, .auth-form input:focus, .search-form input:focus {
  outline: none; border-color: var(--portal-green); box-shadow: 0 0 0 3px rgba(93,255,126,.2);
}
.compose .field, .auth-form .field { display: grid; gap: 6px; }
.compose .field > span, .auth-form .field > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.compose-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.compose-tools button { min-width: 34px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer; }
.compose-tools button:hover { border-color: rgba(93,255,126,.6); }
.compose-emoji { display: inline-flex; gap: 4px; margin-left: 6px; flex-wrap: wrap; }
.compose-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-status { margin: 0; min-height: 1.2em; font-size: 14px; }
.form-status.err { color: #ff8fb8; }
.form-status.ok { color: var(--portal-glow); }
.btn[disabled] { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reply-cta { padding: 26px; text-align: center; margin-top: 18px; }
.reply-cta h3 { margin: 0 0 6px; }
.search-form { display: flex; gap: 10px; margin-bottom: 16px; }

/* auth */
.auth-wrap { padding-top: 40px; }
.auth-card { padding: 34px; position: relative; overflow: hidden; text-align: center; }
.auth-form { display: grid; gap: 14px; text-align: left; margin: 18px 0; }
.auth-beam { position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; display: flex; justify-content: center; }
.auth-beam span { width: 50%; height: 100%; background: linear-gradient(180deg, rgba(125,249,255,.18), rgba(93,255,126,.05) 60%, transparent); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); animation: beamFlicker 2.4s ease-in-out infinite; }

/* profile */
.profile-header { display: flex; gap: 24px; align-items: center; padding: 24px; }
.profile-sigil .sigil { width: 132px; height: 132px; animation: sigilSpin 40s linear infinite; }
@keyframes sigilSpin { to { transform: rotate(360deg); } }
.profile-handle { margin: 0 0 6px; font-size: 36px; }
.banned-tag { font-size: 13px; background: #400; color: #ffb1b1; padding: 3px 8px; border-radius: 8px; vertical-align: middle; }
.profile-bio { margin: 10px 0; }
.profile-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 10px 0; font-size: 14px; color: var(--ink-dim); }
.profile-stats strong { color: var(--portal-green); }
.compose--bio { margin-top: 14px; }
.mod-tools--profile { margin-top: 14px; }
.badge-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.badge-wall li { display: grid; gap: 2px; padding: 14px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.14); opacity: .4; filter: grayscale(1); }
.badge-wall li.is-earned { opacity: 1; filter: none; border-style: solid; border-color: rgba(255,225,86,.5); background: rgba(48,36,8,.45); box-shadow: 0 0 18px rgba(255,225,86,.15); }
.badge-wall span { font-size: 28px; }
.badge-wall small { color: var(--ink-mute); font-size: 12px; }

/* notifications / reports / mod */
.notif-list, .report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notif-list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.notif-list li.is-unread { border-color: rgba(93,255,126,.55); box-shadow: 0 0 18px rgba(93,255,126,.15); }
.notif-list time { margin-left: auto; color: var(--ink-mute); font-size: 12px; white-space: nowrap; }
.report-list li { padding: 16px; }
.report-list blockquote { margin: 8px 0; padding: 10px 14px; border-left: 3px solid var(--hot-pink); background: rgba(255,43,213,.07); }
.funnel-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.funnel-table th, .funnel-table td { text-align: left; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.funnel-table th { color: var(--ink-dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* pager */
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.pager-link { padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); text-decoration: none; font-size: 14px; }
.pager-link.is-current { background: rgba(93,255,126,.2); border-color: rgba(93,255,126,.6); color: var(--portal-glow); }

/* 404 */
.lost-in-space { text-align: center; padding-top: 60px; }
.lost-ufo { font-size: 90px; animation: lostDrift 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(110,240,255,.7)); }
@keyframes lostDrift { 0%,100% { transform: translate(-30px, 0) rotate(-8deg); } 50% { transform: translate(30px, -16px) rotate(8deg); } }

.forum-footer { margin-top: 40px; }

@media (max-width: 980px) {
  .forum-grid { grid-template-columns: 1fr; }
  .forum-side { order: 2; }
}
@media (max-width: 900px) {
  .forum-topnav .topnav-links a.nav-forum, .forum-topnav .topnav-links .nav-bell, .forum-topnav .topnav-links .nav-me, .forum-topnav .topnav-links .btn { display: inline-flex !important; }
  .nav-me span { display: none; }
}
@media (max-width: 640px) {
  .thread-row { grid-template-columns: 34px minmax(0, 1fr); }
  .thread-row .sigil { width: 34px; height: 34px; }
  .thread-row-stats { grid-column: 2; text-align: left; grid-auto-flow: column; justify-content: start; gap: 10px; }
  .post { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .post-author { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 0 0 10px; text-align: left; }
  .post-author .sigil { width: 36px; height: 36px; }
  .profile-header, .board-header { flex-direction: column; text-align: center; }
  .checkin-card { flex-direction: column; text-align: center; }
  .mothership-stats li { min-width: 42%; }
  .compose-emoji { margin-left: 0; }
  .search-form { flex-direction: column; }
}

/* link color overrides must not repaint buttons */
.forum-main a.btn-primary, .topnav-links a.btn-primary, .forum-main a.btn-primary:hover { color: #050010 !important; }
.forum-main a.btn-ghost, .topnav-links a.btn-ghost { color: var(--ink) !important; }
.forum-main a.btn-ghost:hover { color: #fff !important; }
@media (max-width: 560px) {
  .forum-topnav .topnav-links { gap: 10px; }
  .forum-topnav .btn-sm { padding: 7px 10px; }
}

/* ---------- hotline card (forum sidebar) ---------- */
.hotline-card { border-color: rgba(93,255,126,.45); background: linear-gradient(160deg, rgba(10,40,24,.9), rgba(8,3,24,.9)); }
.hotline-card-number { margin: 0 0 6px; }
.hotline-card-number a { font-family: "Creepster", Impact, sans-serif; font-size: 32px; color: #b6ff3d !important; text-decoration: none; text-shadow: 2px 2px 0 #ff2bd5; }
.hotline-card-ctas { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- admin console ---------- */
.admin-wrap { padding-top: 26px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.admin-tab { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--ink-dim); font-weight: 800; cursor: pointer; }
.admin-tab.is-active { background: rgba(93,255,126,.16); border-color: rgba(93,255,126,.6); color: var(--portal-glow); }
.admin-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.onair-bar { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); background: rgba(10,4,30,.85); border: 1px solid rgba(255,61,110,.4); flex-wrap: wrap; }
.onair-bar > div { flex: 1; min-width: 220px; }
.onair-bar p { margin: 4px 0 0; }
.switch { position: relative; width: 58px; height: 32px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.15); cursor: pointer; transition: background .2s; }
.switch span::before { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: #ff3d6e; box-shadow: 0 0 16px rgba(255,61,110,.6); }
.switch input:checked + span::before { transform: translateX(26px); }
.switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hotline-status p { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.status-ok { background: rgba(93,255,126,.12); border: 1px solid rgba(93,255,126,.4); color: var(--portal-glow); }
.status-warn { background: rgba(255,200,80,.1); border: 1px solid rgba(255,200,80,.4); color: #ffe0a0; }
.hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hl-item { padding: 14px; border-radius: 14px; background: rgba(13,6,40,.85); border: 1px solid rgba(255,255,255,.1); }
.hl-item.is-approved { border-color: rgba(255,61,110,.55); box-shadow: 0 0 18px rgba(255,61,110,.15); }
.hl-item.is-hidden { opacity: .5; }
.hl-item.is-pinned { border-color: rgba(255,225,86,.6); }
.hl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.hl-kind { color: var(--cyan); font-weight: 800; }
.hl-from { color: #fff; }
.hl-time { color: var(--ink-mute); }
.hl-tags { margin-left: auto; display: flex; gap: 6px; }
.hl-tag { font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.08); }
.hl-tag.is-on { background: #ff3d6e; color: #fff; }
.hl-tag.is-off { background: rgba(255,255,255,.15); }
.hl-text { margin: 8px 0; font-size: 15px; overflow-wrap: anywhere; white-space: pre-wrap; }
.hl-listen { font-size: 13px; }
.hl-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.hl-call.is-ringing { border-color: #5dff7e; animation: orbPulse 1.6s ease-in-out infinite; }
.hl-call.is-answered { border-color: rgba(93,255,126,.6); }
.admin-settings .field input, .admin-settings .field textarea { margin-top: 4px; }
.field-inline { display: flex !important; align-items: center; gap: 10px; }
.field-inline input { width: auto !important; }
.secret-state { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.secret-state.is-set { color: var(--portal-glow); }
.admin-actions { display: flex; gap: 8px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
