/* Transfer Intelligence — FC Bayern light theme (FCB Rot & Weiß) */

body.theme-intel {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-soft: #F9F9F9;
  --surface-muted: #F3F3F3;
  --surface-2: #F3F3F3;
  --panel-soft: #FAFAFA;
  --border: #E8E8E8;
  --border-strong: #D4D4D4;
  --text: #1a1a1a;
  --text-dim: #404040;
  --text-mute: #6b7280;
  /* FC Bayern München — FCB Rot #DC052D · Weiß #FFFFFF */
  --fcb-red: #DC052D;
  --fcb-white: #FFFFFF;
  --fcb-red-rgb: 220, 5, 45;
  --accent: var(--fcb-red);
  --accent-2: #E81240;
  --accent-hover: #B00424;
  --accent-soft: rgba(220, 5, 45, 0.08);
  --accent-border: rgba(220, 5, 45, 0.35);
  --accent-on: var(--fcb-white);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.1);
  --intel-green: #059669;
  --intel-green-soft: rgba(5, 150, 105, 0.1);
  --intel-blue: #2563eb;
  --intel-blue-soft: rgba(37, 99, 235, 0.1);
  --intel-purple: #7c3aed;
  --intel-purple-soft: rgba(124, 58, 237, 0.1);
  --trust-high-bg: rgba(5, 150, 105, 0.1);
  --trust-high-text: #047857;
  --trust-mid-bg: rgba(217, 119, 6, 0.1);
  --trust-mid-text: #b45309;
  --trust-low-bg: rgba(220, 38, 38, 0.1);
  --trust-low-text: #b91c1c;
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.1);
  word-break: keep-all;
  overflow-wrap: break-word;
}

body.theme-intel {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(220, 5, 45, 0.05), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(220, 5, 45, 0.03), transparent 30%);
}

body.theme-intel::before,
body.theme-intel::after { opacity: 0; }

body.theme-intel .layout.layout--intel {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1240px;
  padding: 12px 18px 36px;
}

body.theme-intel.layout--has-filter-rail .layout.layout--intel {
  max-width: 1240px;
}

body.theme-intel #app-sidebar { display: none !important; }
body.theme-intel .stats--inline { display: none; }

body.theme-intel .topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.dashboard-intel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.view.dashboard-intel:not(.view--active),
body.page-directory #view-news,
body.page-community #view-news {
  display: none !important;
}

.dashboard-intel .dashboard-layout--intel {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-intel .dashboard-rail--intel { display: none; }

/* ── Slim header ── */

.intel-header--slim {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.intel-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 8px;
  flex-wrap: wrap;
}

.intel-header__copy h2 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.intel-header__sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.intel-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  justify-content: flex-end;
}

.intel-kpi {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.intel-kpi__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
}

.intel-kpi__value {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.intel-kpi--live {
  position: relative;
  padding-left: 12px;
}

.intel-kpi__pulse {
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--fcb-red);
  box-shadow: 0 0 0 0 rgba(var(--fcb-red-rgb), 0.55);
  animation: intel-hot-pulse 1.8s ease-out infinite;
}

@keyframes intel-hot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--fcb-red-rgb), 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(var(--fcb-red-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--fcb-red-rgb), 0); }
}

.intel-kpi--live .intel-kpi__value {
  color: var(--fcb-red);
}

.intel-section-tabs {
  display: flex;
  gap: 4px;
  padding: 0 12px 8px;
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin: 0 4px;
}

/* ── KPI cards (이적설) ── */

.intel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: var(--community-content-max, 960px);
  margin: 0 auto 10px;
  padding: 0 2px;
}

.intel-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  min-height: 56px;
}

.intel-kpi-card--live {
  position: relative;
  padding-left: 22px;
  border-color: rgba(220, 5, 45, 0.35);
  background: linear-gradient(135deg, rgba(220, 5, 45, 0.1), var(--surface));
}

.intel-kpi-card__pulse {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--fcb-red);
  box-shadow: 0 0 0 0 rgba(var(--fcb-red-rgb), 0.55);
  animation: intel-hot-pulse 1.8s ease-out infinite;
}

.intel-kpi-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.intel-kpi-card__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.intel-kpi-card--live .intel-kpi-card__value {
  color: var(--fcb-red);
}

.intel-panel__head--hot {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(220, 5, 45, 0.05), transparent 72%);
}

.intel-panel__head--hot .intel-panel__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.intel-panel__head--hot .intel-panel__head-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}

.intel-panel__head--hot .intel-hot-rank-pager {
  flex-shrink: 0;
  margin-top: 2px;
}

.intel-hot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.intel-hot-meta__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  line-height: 1.2;
}

.intel-hot-meta__chip--live {
  border-color: rgba(220, 5, 45, 0.35);
  background: rgba(220, 5, 45, 0.08);
}

.intel-hot-meta__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  animation: intel-hot-pulse 1.8s ease-out infinite;
}

.intel-hot-meta__text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.intel-hot-meta__chip--live .intel-hot-meta__text {
  color: var(--fcb-red);
  font-weight: 700;
}

.intel-hot-meta__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
}

.intel-hot-meta__value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.intel-hot-meta__chip--live .intel-hot-meta__value {
  color: var(--fcb-red);
  font-weight: 800;
}

.intel-section-tabs__btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.intel-section-tabs__btn:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.intel-section-tabs__btn--active {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 1px 8px rgba(var(--fcb-red-rgb), 0.35);
}

.intel-tab-panel[hidden] {
  display: none !important;
}

.intel-tab-panel {
  min-width: 0;
}

.intel-panel--feed {
  padding: 0;
}

.intel-panel--feed .intel-panel__head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}

.intel-panel--feed .dashboard-panel__secondary-body {
  padding: 12px 16px 16px;
}

.intel-panel--feed.dashboard-panel--favorites {
  padding-bottom: 16px;
}

.intel-panel--feed .favorites-feed {
  padding: 0 16px;
}

/* ── Main board ── */

.intel-panel {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.intel-panel--board {
  border-color: var(--border);
}

.intel-board-divider {
  height: 1px;
  margin: 0 16px;
  background: var(--border);
}

.intel-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
}

.intel-panel__head--compact {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.intel-panel__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.intel-panel__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.intel-panel__sub--inline {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

/* ── HOT board: ranking list + detail panel ── */

.intel-hot-board {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0 16px 12px;
}

.intel-hot-rank {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  touch-action: pan-y;
}

.intel-hot-rank.is-page-enter-right {
  animation: intel-hot-rank-enter-right 0.28s ease;
}

.intel-hot-rank.is-page-enter-left {
  animation: intel-hot-rank-enter-left 0.28s ease;
}

@keyframes intel-hot-rank-enter-right {
  from {
    opacity: 0.45;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes intel-hot-rank-enter-left {
  from {
    opacity: 0.45;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intel-hot-rank.is-page-enter-right,
  .intel-hot-rank.is-page-enter-left {
    animation: none;
  }
}

#hot-players-main-panel {
  touch-action: pan-y;
}

.intel-hot-rank__label {
  margin: 0 0 2px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.intel-hot-rank__row {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-left: 3px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.intel-hot-rank__row:hover {
  border-color: #d1d5db;
  background: #fafafa;
}

.intel-hot-rank__row.is-active {
  border-color: #f3b6c2;
  border-left-color: var(--fcb-red);
  background: #fff5f7;
  box-shadow: inset 0 0 0 1px rgba(220, 5, 45, 0.06);
}

.intel-hot-rank__row--loading {
  min-height: 58px;
  pointer-events: none;
}

.intel-hot-rank__num {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.intel-hot-rank__row.is-active .intel-hot-rank__num,
.intel-hot-rank__row--top.is-active .intel-hot-rank__num {
  color: var(--fcb-red);
}

.intel-hot-rank__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.intel-hot-rank__route {
  display: block;
  margin-top: 2px;
  max-width: 100%;
  min-width: 0;
}

.intel-hot-rank__meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-mute);
}

.intel-hot-detail {
  min-width: 0;
}

.intel-hot-detail__empty {
  padding: 24px 16px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fafafa;
}

.intel-hot-detail__card {
  border: 1px solid #f1d5dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-height: min(78vh, 760px);
  overflow-y: auto;
}

.intel-hot-detail__card--loading {
  min-height: 220px;
  pointer-events: none;
}

.intel-hot-detail__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fcb-red);
  color: var(--fcb-white);
  font-size: 11px;
  font-weight: 800;
}

.intel-hot-detail__head {
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(180deg, rgba(220, 5, 45, 0.04) 0%, #fff 72%);
}

.intel-hot-detail__head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.intel-hot-detail__head-row .intel-hot-detail__name {
  margin: 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.intel-transfer-route {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  column-gap: 4px;
  max-width: 100%;
  line-height: 1.35;
  white-space: nowrap;
}

.intel-transfer-route__from,
.intel-transfer-route__to {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-transfer-route__arrow {
  flex-shrink: 0;
  color: var(--text-mute);
}

.intel-hot-detail__route-main {
  margin: 6px 0 0;
}

.intel-hot-detail__route-main .intel-transfer-route {
  flex-wrap: wrap;
  white-space: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.intel-hot-detail__route-main .intel-transfer-route__from,
.intel-hot-detail__route-main .intel-transfer-route__to {
  overflow: visible;
  text-overflow: clip;
}

.intel-hot-detail__route-main .intel-transfer-route__to {
  flex-basis: 100%;
}

.intel-hot-rank__route .intel-transfer-route {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.intel-hot-detail__flow-route.intel-transfer-route,
.intel-hot-dest-tab__route.intel-transfer-route,
.intel-cluster-card__route-line.intel-transfer-route {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.intel-cluster-card__route-line.intel-transfer-route {
  font-size: 14px;
}

.intel-cluster-card__route-line .intel-transfer-route__to {
  color: var(--intel-blue);
}

.intel-hot-detail__dests .intel-hot-dest-tab__route.intel-transfer-route {
  max-width: 100%;
}

.intel-rumor-card__route .intel-transfer-route,
.player-rumor-card__route .intel-transfer-route,
.player-rumor-group__route .intel-transfer-route {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.intel-hot-detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.intel-hot-detail__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-hot-detail__chip--bayern {
  border: 1px solid rgba(220, 5, 45, 0.28);
  background: rgba(220, 5, 45, 0.08);
  color: var(--fcb-red);
}

.intel-hot-detail__chip--stage {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
}

.intel-hot-detail__chip--trust {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: var(--text-dim);
}

.intel-hot-detail__chip--mute {
  background: #f3f4f6;
  color: var(--text-mute);
}

.intel-hot-detail__card .intel-hot-detail__name {
  font-size: 16px;
}

.intel-hot-detail__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
}

.intel-hot-detail__card .intel-hot-detail__reason {
  margin-top: 0;
  padding: 8px 10px;
}

.intel-hot-detail__card .intel-hot-detail__reason-label {
  margin-bottom: 4px;
  font-size: 10px;
}

.intel-hot-detail__card .intel-hot-detail__reason-text {
  font-size: 12px;
  line-height: 1.45;
}

.intel-hot-detail__section--flows .intel-hot-detail__section-title {
  margin-bottom: 4px;
}

.intel-hot-detail__flow-line {
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #f3b6c2;
  background: #fff5f7;
  line-height: 1.35;
}

.intel-hot-detail__flow-meta {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-mute);
}

.intel-hot-detail__card .intel-hot-dest-tabs--compact {
  gap: 4px;
}

.intel-hot-detail__card .intel-hot-dest-tab {
  padding: 5px 8px;
}

.intel-hot-detail__card .intel-hot-dest-tab__route {
  font-size: 11px;
}

.intel-hot-detail__card .intel-hot-dest-tab__meta {
  font-size: 10px;
}

.intel-hot-detail__card .intel-hot-detail__section-title {
  margin-bottom: 4px;
  font-size: 10px;
}

.intel-hot-detail__card .intel-hot-detail__timeline {
  gap: 4px;
}

.intel-hot-detail__card .intel-hot-detail__timeline-item {
  padding: 5px 8px;
}

.intel-hot-detail__card .intel-hot-detail__timeline-text {
  font-size: 11px;
  margin-top: 2px;
}

.intel-hot-detail__card .intel-hot-detail__footer-actions {
  margin-top: 0;
  gap: 6px;
}

.intel-hot-detail__card .intel-hot-detail__articles {
  padding-top: 4px;
}

.intel-hot-detail__head .player-rumor-link {
  color: var(--text);
}

.intel-hot-detail__head .player-rumor-link:hover {
  color: var(--fcb-red);
}

.intel-hot-detail__section {
  min-width: 0;
}

.intel-hot-detail__section-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.intel-hot-detail__section-empty,
.intel-hot-detail__section-loading,
.intel-hot-detail__flows-empty {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
}

.intel-hot-detail__timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intel-hot-detail__timeline-item {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
  background: #fafafa;
}

.intel-hot-detail__timeline-item.is-latest {
  border-color: #f3b6c2;
  background: #fff8fa;
}

.intel-hot-detail__timeline-date {
  display: inline-block;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.intel-hot-detail__timeline-stage {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--fcb-red);
}

.intel-hot-detail__timeline-text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-dim);
}

.intel-hot-detail__timeline-more {
  margin-top: 0;
}

.intel-hot-detail__footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.intel-hot-detail__footer-actions .intel-hot-detail__cta {
  margin-top: 0;
}

.intel-hot-detail__articles {
  border-top: 1px solid #f3f4f6;
  padding-top: 8px;
}

.intel-hot-detail__articles summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  list-style: none;
}

.intel-hot-detail__articles summary::-webkit-details-marker {
  display: none;
}

.intel-hot-detail__articles-count {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
}

.intel-hot-detail__articles-list {
  margin: 8px 0 0;
  padding: 0 0 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
}

.intel-hot-detail__articles-list li + li {
  margin-top: 5px;
}

.intel-hot-dest-tabs--compact {
  gap: 6px;
}

.intel-hot-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  padding: 12px 14px 14px;
  align-items: start;
}

.intel-hot-detail__identity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.intel-hot-detail__avatar {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--fcb-white);
  background: var(--fcb-red);
  flex-shrink: 0;
}

.intel-hot-detail__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.intel-hot-detail__route,
.intel-hot-detail__clubs {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.intel-hot-detail__status {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.intel-hot-detail__summary {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}

.intel-hot-detail__headlines {
  margin-top: 10px;
}

.intel-hot-detail__headlines-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
}

.intel-hot-detail__headlines-list {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-dim);
}

.intel-hot-detail__headlines-list li + li {
  margin-top: 4px;
}

.intel-hot-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.intel-hot-detail__actions .intel-hot-detail__cta,
.intel-hot-detail__actions .intel-hot-cta--solid {
  margin-top: 0;
}

.intel-hot-detail__actions .intel-hot-cta--outline {
  border: 1px solid rgba(220, 5, 45, 0.4);
  background: #fff;
  color: var(--fcb-red) !important;
}

.intel-hot-detail__kpi {
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  background: #fafafa;
}

.intel-hot-detail__kpi-line {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  line-height: 1.35;
}

.intel-hot-detail__kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.intel-hot-detail__kpi-item {
  text-align: center;
}

.intel-hot-detail__kpi-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--fcb-red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.intel-hot-detail__kpi-item span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-mute);
}

.intel-hot-detail__name .player-rumor-link {
  color: var(--text);
  font-weight: inherit;
}

.intel-hot-detail__name .player-rumor-link:hover {
  color: var(--fcb-red);
}

/* ── Hot players: legacy chip grid (mini / skeleton) ── */

.intel-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 10px;
  overflow: visible;
}

.intel-hot-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.intel-hot-chip:hover {
  border-color: #d1d5db;
  background: #fff;
}

.intel-hot-chip.is-active {
  border-color: #f3b6c2;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--fcb-red);
}

.intel-hot-chip__rank {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-mute);
  flex-shrink: 0;
  padding-top: 2px;
}

.intel-hot-chip__body {
  min-width: 0;
  flex: 1;
}

.intel-hot-chip__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-hot-chip__route {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-hot-chip__meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}

.intel-hot-grid__footer {
  padding: 4px 16px 12px;
}

.intel-hot-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  font-size: 12px;
  color: var(--text-mute);
}

.intel-hot-footer__line--split {
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
}

.intel-hot-footer__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
}

.intel-hot-footer__sep {
  color: #d1d5db;
  user-select: none;
}

.intel-hot-rank-pager {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.intel-hot-rank-pager__arrow {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.intel-hot-rank-pager__arrow:hover:not(:disabled) {
  border-color: rgba(220, 5, 45, 0.35);
  color: var(--fcb-red);
}

.intel-hot-rank-pager__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.intel-hot-rank-pager__pages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.intel-hot-rank-pager__page {
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.intel-hot-rank-pager__page:hover {
  border-color: rgba(220, 5, 45, 0.35);
  color: var(--fcb-red);
}

.intel-hot-rank-pager__page.is-active {
  border-color: rgba(220, 5, 45, 0.5);
  background: rgba(220, 5, 45, 0.08);
  color: var(--fcb-red);
}

/* ── HOT spotlight (#1 hero) ── */

.intel-hot-spotlight {
  padding: 0 16px 12px;
}

.intel-hot-spotlight__card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #f1d5dc;
  border-left: 4px solid var(--fcb-red);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.intel-hot-spotlight__card--live {
  border-color: #f1d5dc;
  border-left-color: var(--fcb-red);
  box-shadow: var(--shadow-sm);
}

.intel-hot-spotlight__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 5, 45, 0.06) 0%, rgba(220, 5, 45, 0) 70%);
  pointer-events: none;
}

.intel-hot-spotlight__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 0;
}

.intel-hot-spotlight__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intel-hot-spotlight__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intel-hot-spotlight__badge--rank {
  color: var(--fcb-white);
  background: var(--fcb-red);
}

.intel-hot-spotlight__badge--live {
  color: var(--fcb-red);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.intel-hot-spotlight__heat {
  height: 4px;
  margin: 8px 14px 0;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.intel-hot-spotlight__heat-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fcb-red), var(--accent-2));
}

.intel-hot-spotlight__layout {
  display: grid;
  grid-template-columns: minmax(172px, 1.05fr) minmax(0, 1.7fr) auto;
  gap: 14px 18px;
  align-items: start;
  padding: 12px 14px 12px;
}

.intel-hot-spotlight__col-left {
  min-width: 0;
  padding-right: 4px;
}

.intel-hot-spotlight__col-center {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.intel-hot-spotlight__col-center:focus-visible {
  outline: 2px solid rgba(220, 5, 45, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

.intel-hot-spotlight__identity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.intel-hot-spotlight__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--fcb-white);
  background: var(--fcb-red);
}

.intel-hot-spotlight__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.intel-hot-spotlight__route {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.intel-hot-spotlight__metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 96px;
  padding: 10px 12px;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  background: #fafafa;
}

.intel-hot-spotlight__metric {
  text-align: right;
  line-height: 1.15;
}

.intel-hot-spotlight__metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.intel-hot-spotlight__metric span {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--text-mute);
}

.intel-hot-spotlight__metric--time {
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid #eceff3;
  width: 100%;
}

.intel-hot-spotlight__metric-time-label {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.intel-hot-spotlight__metric-time-value {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.2;
}

.intel-hot-spotlight__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.intel-hot-spotlight__quote {
  margin: 8px 0 0;
  font-size: 12px;
}

.intel-hot-spotlight__quote summary {
  cursor: pointer;
  color: var(--text-mute);
  font-weight: 600;
  list-style: none;
}

.intel-hot-spotlight__quote summary::-webkit-details-marker {
  display: none;
}

.intel-hot-spotlight__quote[open] summary {
  color: var(--text-dim);
  margin-bottom: 4px;
}

.intel-hot-spotlight__headline {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-mute);
  font-style: italic;
}

.intel-hot-spotlight__status-line {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-mute);
}

.intel-hot-spotlight__actions .intel-hot-spotlight__cta.intel-hot-cta--outline {
  margin-top: 0;
  border: 1px solid rgba(220, 5, 45, 0.4);
  background: #fff;
  color: var(--fcb-red) !important;
}

.intel-hot-spotlight__actions .intel-hot-spotlight__cta.intel-hot-cta--outline:hover {
  background: #fff5f7;
}

.intel-hot-spotlight__col-center .intel-hot-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
}

.intel-hot-spotlight__actions .intel-hot-spotlight__cta,
.intel-hot-spotlight__actions .intel-hot-spotlight__rumor-cta {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.intel-hot-spotlight__clubs,
.intel-hot-spotlight__articles {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-mute);
}

.intel-hot-cta--solid,
.intel-hot-link-cta.intel-hot-cta--solid,
.intel-hot-chip__rumor-cta.intel-hot-cta--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--fcb-red);
  background: var(--fcb-red);
  font-size: 11px;
  font-weight: 700;
  color: var(--fcb-white) !important;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.intel-hot-cta--solid:hover,
.intel-hot-link-cta.intel-hot-cta--solid:hover,
.intel-hot-chip__rumor-cta.intel-hot-cta--solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--fcb-white) !important;
  text-decoration: none;
}

.intel-hot-cta--outline,
.intel-hot-chip__rumor-cta.intel-hot-cta--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--fcb-red);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--fcb-red) !important;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.intel-hot-cta--outline:hover,
.intel-hot-chip__rumor-cta.intel-hot-cta--outline:hover {
  background: #fff5f7;
  border-color: var(--fcb-red);
  color: var(--fcb-red) !important;
  text-decoration: none;
}

.intel-hot-cta--text,
.intel-hot-chip__rumor-cta.intel-hot-cta--text {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--fcb-red) !important;
  text-decoration: none;
}

.intel-hot-cta--text:hover,
.intel-hot-chip__rumor-cta.intel-hot-cta--text:hover {
  color: var(--accent-hover) !important;
  text-decoration: underline;
}

.intel-hot-spotlight__rumor-cta.btn--primary,
.trend-card__rumor-cta {
  margin-top: 0;
}

.trend-card__rumor-cta {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--fcb-red);
  background: var(--fcb-red);
  font-size: 11px;
  font-weight: 700;
  color: var(--fcb-white) !important;
  text-decoration: none;
}

.trend-card__rumor-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--fcb-white) !important;
  text-decoration: none;
}

.intel-hot-spotlight__name .player-rumor-link,
.intel-hot-chip__name .player-rumor-link,
.trend-card__title .player-rumor-link {
  color: inherit;
  text-decoration: none;
}

.intel-hot-spotlight__name .player-rumor-link:hover,
.intel-hot-chip__name .player-rumor-link:hover,
.trend-card__title .player-rumor-link:hover {
  text-decoration: underline;
}

/* 이적설 CTA — 버튼형 링크는 밑줄 없음 (player-rumor-link 전역 스타일보다 우선) */
a.intel-hot-cta--solid.player-rumor-link,
a.intel-hot-link-cta.intel-hot-cta--solid.player-rumor-link,
a.intel-hot-chip__rumor-cta.intel-hot-cta--solid.player-rumor-link,
a.intel-hot-spotlight__rumor-cta.player-rumor-link,
a.trend-card__rumor-cta.player-rumor-link {
  text-decoration: none !important;
}

a.intel-hot-cta--solid.player-rumor-link:hover,
a.intel-hot-link-cta.intel-hot-cta--solid.player-rumor-link:hover,
a.intel-hot-chip__rumor-cta.intel-hot-cta--solid.player-rumor-link:hover,
a.intel-hot-spotlight__rumor-cta.player-rumor-link:hover,
a.trend-card__rumor-cta.player-rumor-link:hover {
  text-decoration: none !important;
  color: var(--fcb-white) !important;
}

a.intel-hot-cta--outline.player-rumor-link:hover,
a.intel-hot-chip__rumor-cta.intel-hot-cta--outline.player-rumor-link:hover {
  text-decoration: none !important;
  color: var(--fcb-red) !important;
}

.intel-hot-chip--warm {
  border-color: #f3b6c2;
  background: #fff;
}

.intel-hot-chip--warm .intel-hot-chip__rank {
  color: #9ca3af;
}

.intel-hot-chip--recent {
  box-shadow: none;
}

.intel-hot-chip__headline {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-hot-chip__heat {
  display: block;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
}

.intel-hot-chip__heat span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(220, 5, 45, 0.55), rgba(220, 5, 45, 0.85));
}

.community-hub__panel--hot .intel-hot-chip.is-active {
  border-color: #f3b6c2;
  background: #fff;
  box-shadow: inset 3px 0 0 #dc052d;
}

/* ── Workspace: stacked ── */

.intel-workspace {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intel-workspace--has-detail .intel-board-section--clusters {
  border-bottom: 1px solid var(--border);
}

.intel-player-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.intel-player-head__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--intel-purple-soft);
  border: 1px solid rgba(109, 40, 217, 0.15);
  color: var(--intel-purple);
}

.intel-player-head__body { min-width: 0; flex: 1; }

.intel-player-head__body .intel-panel__title {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-player-head__body .intel-panel__sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-cluster-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px 10px;
}

.intel-empty-state {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--surface-soft);
  margin: 10px 16px 14px;
}

/* ── Cluster rows ── */

.intel-cluster-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.intel-cluster-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft);
}

.intel-cluster-card.is-active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.intel-cluster-card__main { min-width: 0; }

.intel-cluster-card__route {
  min-width: 0;
  line-height: 1.35;
}

.intel-cluster-card__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  overflow: hidden;
}

.intel-cluster-card__volume,
.intel-cluster-card__time {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}

.intel-cluster-card__time::before {
  content: "·";
  margin-right: 6px;
}

.intel-cluster-card__aside { flex-shrink: 0; }

/* ── Trust badges ── */

.intel-confidence {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}

.intel-confidence__pct {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.intel-confidence--low {
  background: var(--trust-low-bg);
  border-color: rgba(153, 27, 27, 0.2);
  color: var(--trust-low-text);
}

.intel-confidence--medium {
  background: var(--trust-mid-bg);
  border-color: rgba(146, 64, 14, 0.2);
  color: var(--trust-mid-text);
}

.intel-confidence--high,
.intel-confidence--hot {
  background: var(--trust-high-bg);
  border-color: rgba(4, 120, 87, 0.2);
  color: var(--trust-high-text);
}

.intel-stage-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--fcb-red);
  white-space: nowrap;
}

.intel-stage-badge--official {
  background: var(--trust-high-bg);
  border-color: rgba(4, 120, 87, 0.2);
  color: var(--trust-high-text);
}

.intel-stage-badge--compact { font-size: 10px; }

/* ── Detail panel ── */

.intel-board-section--detail {
  background: var(--surface-soft);
  width: 100%;
}

/* ── Cluster detail modal ── */

.intel-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: grid;
  place-items: center;
  padding: 20px 14px;
}

.intel-detail-modal[hidden] {
  display: none !important;
}

.intel-detail-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(2px);
}

.intel-detail-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.intel-detail-modal__dialog .intel-detail-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

body.intel-detail-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .intel-detail-modal__dialog .intel-detail-body {
    grid-template-columns: 1fr;
  }

  .intel-detail-modal__dialog .intel-detail-body .intel-detail-section:first-of-type {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ── Cluster detail modal end ── */

.intel-panel__head--detail {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.intel-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.intel-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.intel-detail-hero {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(220, 5, 45, 0.06), transparent);
}

.intel-detail-hero .intel-hot-detail__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intel-hot-detail__card > .intel-hot-detail__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.intel-hot-detail__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(220, 5, 45, 0.85), rgba(249, 115, 22, 0.75));
  flex-shrink: 0;
}

.intel-hot-detail__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.intel-hot-detail__stats {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.intel-hot-detail__reason {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(220, 5, 45, 0.22);
  background: rgba(220, 5, 45, 0.06);
}

.intel-hot-detail__reason.is-loading .intel-hot-detail__reason-text {
  opacity: 0.7;
}

.intel-hot-detail__reason-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fcb-red);
  margin-bottom: 6px;
}

.intel-hot-detail__reason-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.intel-hot-detail__reason-loading {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-mute);
}

.intel-hot-detail__dests {
  margin-top: 12px;
}

.intel-hot-detail__dests-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.intel-hot-dest-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intel-hot-dest-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.intel-hot-dest-tab:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.intel-hot-dest-tab.is-active {
  border-color: rgba(220, 5, 45, 0.5);
  background: rgba(220, 5, 45, 0.1);
  box-shadow: inset 3px 0 0 #dc052d;
}

.intel-hot-dest-tab__route {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.intel-hot-dest-tab__meta {
  font-size: 11px;
  color: var(--text-mute);
}

.intel-detail-body .intel-detail-section {
  padding: 10px 14px 12px;
  min-width: 0;
}

.intel-detail-body .intel-detail-section:first-of-type {
  border-right: 1px solid var(--border);
}

.intel-detail-section__title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  white-space: nowrap;
}

.intel-detail-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.intel-detail-section__sub {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}

.intel-evidence-stats {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}

.intel-evidence-more,
.intel-timeline-more {
  margin-top: 6px;
  text-align: center;
}

.intel-flow-timeline__item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
  padding-bottom: 10px;
  position: relative;
}

.intel-flow-timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: var(--border-strong);
}

.intel-flow-timeline__dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.intel-flow-timeline__item--latest .intel-flow-timeline__dot {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  margin-left: -1px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.intel-flow-timeline__item--latest .intel-flow-timeline__date {
  color: var(--accent);
  font-weight: 600;
}

.intel-flow-timeline__date {
  font-size: 11px;
  color: var(--text-mute);
}

.intel-flow-timeline__stage {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
}

.intel-flow-timeline__text {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}

.intel-flow-timeline__source {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--intel-green);
}

/* ── Evidence ── */

.intel-evidence-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intel-evidence-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.intel-evidence-item:hover {
  border-color: var(--border-strong);
}

.intel-evidence-item--featured {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.intel-evidence-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.intel-evidence-item__meta {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-evidence-item__head .favorite-toggle {
  flex-shrink: 0;
  margin: -2px -2px 0 0;
  font-size: 14px;
  line-height: 1;
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.intel-evidence-item__head .favorite-toggle:hover {
  opacity: 1;
}

.intel-evidence-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.intel-ev-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.intel-ev-badge--direct {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.intel-ev-badge--supporting {
  color: var(--text-dim);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.intel-ev-badge--official {
  color: var(--trust-high-text);
  background: var(--trust-high-bg);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.intel-ev-badge--tier {
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.intel-ev-badge--feed {
  color: var(--text-mute);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.intel-evidence-item__title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.intel-evidence-item__reason {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--accent);
  font-weight: 500;
}

.intel-evidence-item__summary {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.intel-evidence-item__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
}

.intel-evidence-item__foot .btn--tiny {
  padding: 2px 8px;
  font-size: 10px;
  min-height: 0;
  line-height: 1.4;
}

.article-search-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 12px;
  color: var(--text-dim);
}

.article-search-banner__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-search-banner__clear {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--accent, #c9a227);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.article-search-banner__clear:hover {
  text-decoration: underline;
}

.news-infinite-sentinel {
  width: 100%;
  height: 1px;
}

.news-infinite-status {
  padding: 10px 0 4px;
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

.seo-page-head {
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 20px 8px;
}

.seo-page-head__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.seo-page-head__intro {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
}

.seo-article-archive {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 20px 24px;
}

.seo-article-archive__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.seo-article-archive__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.seo-article-archive__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.seo-article-archive__link {
  flex: 1 1 220px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.seo-article-archive__link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.seo-article-archive__date {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

.seo-article-archive__empty {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
}

.community-news-pager {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.community-news-pager__summary {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

.community-news-pager__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.community-news-pager__btn--active {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.community-news-pager__ellipsis {
  padding: 0 4px;
  color: var(--text-mute);
  font-size: 13px;
  user-select: none;
}

#news-panel.dashboard-panel--news {
  border-color: var(--border);
  border-style: solid;
  background: var(--panel-soft);
  margin: 0;
}

#news-panel .dashboard-panel__secondary-body {
  padding: 0 14px 14px;
}

.news-list--feed {
  gap: 6px;
}

.feed-article-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feed-article-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft);
}

.feed-article-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.feed-article-card__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-article-card__head .favorite-toggle {
  flex-shrink: 0;
  margin: -2px -2px 0 0;
  min-width: 24px;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.55;
  border-radius: 6px;
}

.feed-article-card__head .favorite-toggle:hover {
  opacity: 1;
}

.feed-article-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.feed-article-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-article-card__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip--feed {
  padding: 1px 6px;
  font-size: 9px;
  border-radius: 4px;
}

.feed-article-card__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.feed-article-card__read {
  padding: 2px 8px;
  font-size: 10px;
  min-height: 0;
  line-height: 1.4;
}

#news-panel .news-more {
  margin-top: 8px;
  text-align: center;
}

#news-panel .news-more .btn {
  font-size: 12px;
}

/* ── Drawer (article + transfer case) ── */

.intel-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.intel-drawer:not([hidden]) {
  pointer-events: auto;
}

.intel-drawer[hidden] { display: none !important; }

.intel-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1201;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transform: none;
}

.intel-drawer__backdrop:hover,
.intel-drawer__backdrop:active {
  background: rgba(0, 0, 0, 0.44);
  transform: none;
}

.intel-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1202;
  display: flex;
  flex-direction: column;
  width: min(640px, 92vw);
  max-width: 100%;
  height: 100%;
  background: var(--surface);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.55);
  animation: intel-drawer-slide-in 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.intel-drawer--article .intel-drawer__panel {
  width: min(640px, 50vw);
  max-width: 640px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.intel-drawer--article.intel-drawer--article-split .intel-drawer__panel {
  width: min(1180px, 82vw);
  max-width: 1180px;
}

.intel-drawer--article .intel-drawer__split {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.intel-drawer--article .intel-drawer__body--article {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}

.intel-drawer--article.intel-drawer--article-split .intel-drawer__split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.intel-drawer--article.intel-drawer--article-split .intel-drawer__body--article,
.intel-drawer--article.intel-drawer--article-split .intel-drawer__body--comments {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.intel-drawer--article-discuss-inline .intel-drawer__split {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.article-drawer-discuss-inline {
  margin-top: 18px;
  padding-top: 0;
  border-top: 1px solid var(--border);
}

.article-drawer-discuss-inline__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.article-drawer-discuss-inline__summary::-webkit-details-marker {
  display: none;
}

.article-drawer-discuss-inline__summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.article-drawer-discuss-inline[open] .article-drawer-discuss-inline__summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.article-drawer-discuss-inline__hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mute);
}

.article-drawer-discuss-inline[open] .article-drawer-discuss-inline__hint {
  display: none;
}

.article-drawer-discuss-inline__body {
  padding: 0 0 16px;
}

.article-drawer-discuss-inline__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 14px 14px;
  border-radius: 12px;
  background: var(--surface-2, #f7f7f8);
}

.article-drawer-comments {
  background: var(--surface-2, #f7f7f8);
  border-left: 1px solid var(--border);
}

.article-drawer-comments__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px 14px 18px;
}

.article-drawer-comments__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.article-drawer-comments__lead {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-mute);
}

.article-drawer-comments__loading {
  margin: 0;
  font-size: 13px;
  color: var(--text-mute);
}

.article-drawer-comments .community-comment-list {
  flex: 1;
  margin-bottom: 12px;
}

.article-drawer-comments .community-comment-compose {
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(247, 247, 248, 0) 0%, var(--surface-2, #f7f7f8) 28%);
  padding-top: 8px;
}

/* 기사 의견 — YouTube 스타일 */
.article-comment-yt {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}

.article-comment-yt__empty {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-mute);
}

.article-drawer-comments .yt-comment,
.article-drawer-discuss-inline .yt-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.article-drawer-comments .yt-comment__avatar-wrap,
.article-drawer-discuss-inline .yt-comment__avatar-wrap {
  flex-shrink: 0;
  width: 36px;
}

.yt-comment__avatar {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.yt-comment__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mute);
  background: var(--surface);
  border: 1px solid var(--border);
}

.yt-comment__main {
  flex: 1;
  min-width: 0;
}

.yt-comment__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.yt-comment__author-line {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.yt-comment__author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.yt-comment__title {
  font-size: 12px;
  font-weight: 700;
}

.yt-comment__time {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

.yt-comment__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  word-break: break-word;
}

.yt-comment__body--deleted {
  color: var(--text-mute);
  font-style: italic;
}

.yt-comment__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 4px;
}

.yt-comment__actions .yt-comment__action {
  min-height: 28px;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
}

.yt-comment__replies {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.yt-comment--reply {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

.article-comment-compose {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.article-comment-compose__avatar {
  flex-shrink: 0;
  width: 36px;
  padding-top: 2px;
}

.article-comment-compose__field {
  flex: 1;
  min-width: 0;
}

.article-comment-compose .community-comment-compose__input {
  width: 100%;
  min-height: 36px;
  max-height: 120px;
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  resize: none;
}

.article-comment-compose__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.article-comment-compose--reply {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.article-comment-compose--reply .community-comment-reply-form__label {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text-mute);
}

.article-comment-edit-form {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.article-comment-edit-form .community-comment-compose__input {
  width: 100%;
}

.article-comment-edit-form .article-comment-compose__foot,
.article-comment-edit-form .community-comment-compose__cancel {
  align-self: flex-end;
}

.article-drawer-comments .article-comment-edit-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-drawer-comments .article-comment-edit-form .community-comment-compose__input {
  flex: none;
  width: 100%;
}

.article-drawer-comments .article-comment-edit-form .community-comment-compose__cancel,
.article-drawer-comments .article-comment-edit-form .community-comment-compose__submit {
  align-self: flex-end;
}

.article-drawer-comments .article-comment-compose.community-comment-compose--fm-inline,
.article-drawer-discuss-inline .article-comment-compose.community-comment-compose--fm-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.article-drawer-comments .article-comment-compose--reply.community-comment-compose--fm-inline,
.article-drawer-discuss-inline .article-comment-compose--reply.community-comment-compose--fm-inline {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.article-drawer-comments .article-comment-compose .community-comment-compose__input,
.article-drawer-discuss-inline .article-comment-compose .community-comment-compose__input {
  flex: none;
  width: 100%;
  min-width: 0;
}

.intel-drawer--article.intel-drawer--article-full .intel-drawer__panel {
  width: min(960px, 94vw);
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  animation: intel-drawer-full-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.intel-drawer--article.intel-drawer--article-full .intel-drawer__backdrop {
  background: rgba(0, 0, 0, 0.74);
}

@keyframes intel-drawer-full-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 720px) {
  .intel-drawer--article .intel-drawer__panel,
  .intel-drawer--article.intel-drawer--article-split .intel-drawer__panel,
  .intel-drawer--article.intel-drawer--article-full .intel-drawer__panel {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: 0;
    transform: none;
    animation: intel-drawer-slide-in 0.16s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: none;
  }

  .intel-drawer--article.intel-drawer--article-split .intel-drawer__split {
    display: block;
  }

  .article-drawer-comments {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .intel-drawer--article.intel-drawer--article-mobile .intel-drawer__backdrop {
    display: none;
  }

  .intel-drawer--article.intel-drawer--article-mobile .intel-drawer__header {
    padding-top: max(10px, env(safe-area-inset-top));
  }
}

@keyframes intel-drawer-slide-in {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .intel-drawer__panel {
    animation: none;
    will-change: auto;
  }
}

.intel-drawer__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 3;
}

.intel-drawer__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intel-drawer__discuss-toggle {
  flex-shrink: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2, #f7f7f8);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.intel-drawer__discuss-toggle:hover {
  border-color: var(--text-mute);
  background: var(--surface);
}

.intel-drawer__discuss-toggle--open {
  border-color: var(--accent, #c8102e);
  background: rgba(200, 16, 46, 0.08);
  color: var(--accent, #c8102e);
}

.intel-drawer__close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.intel-drawer__close:hover,
.intel-drawer__close:active {
  transform: none;
}

.intel-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

#intel-case-drawer.intel-drawer--transfer-case .intel-drawer__panel {
  width: min(620px, 42vw);
  max-width: 620px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  border-left: 1px solid var(--border);
}

#intel-case-drawer.intel-drawer--transfer-case .intel-drawer__header {
  padding: 10px 14px;
  min-height: 48px;
}

#intel-case-drawer.intel-drawer--transfer-case .intel-drawer__title {
  font-size: 0.92rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  #intel-case-drawer.intel-drawer--transfer-case:not([hidden]) .intel-drawer__backdrop {
    background: rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 1023px) {
  #intel-case-drawer.intel-drawer--transfer-case .intel-drawer__panel {
    width: 100%;
    max-width: 100%;
  }

  #intel-case-drawer.intel-drawer--transfer-case:not([hidden]) .intel-drawer__backdrop {
    background: rgba(0, 0, 0, 0.44);
  }
}

body.article-drawer-open {
  overflow: hidden;
}

/* ── Article drawer compact ── */

.article-drawer-detail {
  background: var(--surface);
}

.article-shell--drawer {
  padding: 14px 18px 20px;
}

.article-shell--drawer-full {
  padding: 18px 24px 28px;
  max-width: 820px;
  margin: 0 auto;
}

.article-hero--drawer {
  margin-bottom: 10px;
}

.article-hero--drawer .article-hero__meta-top {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}

.article-hero--drawer .article-hero__chips--compact {
  gap: 6px;
  margin-bottom: 6px;
}

.article-hero--drawer .article-hero__title,
.article-hero--drawer .article-detail-title {
  font-size: 17px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  overflow: visible;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-hero--drawer .article-hero__lead,
.article-hero--drawer .article-detail-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  font-weight: 500;
}

.article-hero--drawer .article-hero__lead--muted {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 400;
}

.article-shell--drawer-full .article-hero--drawer .article-hero__title {
  font-size: 24px;
  line-height: 1.32;
}

.article-hero--drawer .article-hero__source-line {
  font-size: 11px;
  margin: 4px 0 0;
}

.article-hero--drawer .article-hero__original {
  font-size: 12px;
  margin: 4px 0 0;
  color: var(--text-dim);
}

.article-shell__actions--drawer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.article-shell__actions--drawer .reaction-bar--inline {
  margin-top: 0;
  margin-left: 0;
}

.drawer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 0;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.drawer-action-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft);
  color: var(--text);
  transform: none;
}

.drawer-action-btn:active {
  transform: none;
}

.drawer-action-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.drawer-action-btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

.drawer-action-btn--ghost {
  background: var(--surface);
}

.drawer-action-btn--copied {
  border-color: var(--brand);
  color: var(--brand);
}

.drawer-action-btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.article-drawer-loading {
  padding: 16px 14px;
}

.article-drawer-loading__pulse {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-soft) 0%, var(--surface-muted) 50%, var(--surface-soft) 100%);
  background-size: 200% 100%;
  animation: article-drawer-shimmer 1.1s ease-in-out infinite;
}

.article-drawer-loading__bar {
  height: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--surface-soft) 0%, var(--surface-muted) 50%, var(--surface-soft) 100%);
  background-size: 200% 100%;
  animation: article-drawer-shimmer 1.1s ease-in-out infinite;
}

.article-drawer-loading__bar--short { width: 62%; animation-delay: 0.08s; }
.article-drawer-loading__bar--medium { width: 84%; animation-delay: 0.16s; }

@keyframes article-drawer-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.takeaways-card--drawer,
.article-quality-card--drawer,
.ai-summary-box.takeaways-card--drawer {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.takeaways-card--drawer .takeaways-card__eyebrow,
.article-quality-card--drawer .article-section__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
}

.takeaways-card--drawer .takeaways-card__list,
.ai-summary-box .takeaways-card__list {
  margin: 6px 0 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.takeaways-card--drawer .takeaways-card__list li + li,
.ai-summary-box .takeaways-card__list li + li {
  margin-top: 4px;
}

.takeaways-card--drawer .takeaways-card__list li::marker,
.ai-summary-box .takeaways-card__list li::marker {
  color: rgba(220, 5, 45, 0.55);
}

.article-body-card--original {
  background: var(--surface-soft);
}

.article-body-card--original .article-prose--original {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.article-drawer__core-line {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  font-weight: 400;
}

.article-drawer__core-line--muted {
  color: var(--text-mute);
  font-size: 12px;
}

.article-hero-image--drawer {
  margin: 12px 0 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2, var(--surface));
}

.article-hero-image__img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.article-hero-image--drawer .article-hero-image__img,
.article-detail-image {
  max-height: 260px;
  object-fit: cover;
}

.article-hero-image--drawer .article-hero-image__credit {
  padding: 6px 10px;
  font-size: 10px;
  color: var(--text-mute);
  opacity: 0.9;
}

.article-hero-image__credit {
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
}

.article-body-card--drawer,
.article-body-card--drawer.article-body-card--translation {
  margin: 0 0 12px;
  padding: 14px 16px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.article-body-card--drawer .article-detail-body,
.article-body-card--drawer .article-detail-body.article-prose {
  font-size: 15px;
  line-height: 1.7;
}

.article-body-card--drawer .article-body-card__eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.article-body-card--drawer .article-body-card__content:not(.article-detail-body),
.article-prose:not(.article-detail-body) {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-prose p,
.article-body-card--drawer .article-body-card__content p {
  margin: 0 0 0.95em;
}

.article-prose p + p {
  margin-top: 0.55em;
}

.article-body-card__pending {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-mute);
}

.article-quality-card--drawer .article-quality-card__reason {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-dim);
}

.article-drawer-accordions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.article-drawer-accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.article-drawer-accordion__summary {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.article-drawer-accordion__summary::-webkit-details-marker { display: none; }

.article-drawer-accordion__summary::before {
  content: "▸ ";
  color: var(--text-mute);
}

.article-drawer-accordion[open] .article-drawer-accordion__summary::before {
  content: "▾ ";
}

.article-drawer-accordion[open] .article-drawer-accordion__summary {
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.article-drawer-accordion__body {
  padding: 8px 12px 10px;
  font-size: 13px;
}

.article-section__body--drawer {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}

.drawer-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-related-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.drawer-related-row:last-child {
  border-bottom: 0;
}

.drawer-related-row:hover {
  background: var(--surface-soft);
  transform: none;
}

.drawer-related-row__meta {
  font-size: 10px;
  color: var(--text-mute);
  line-height: 1.3;
}

.drawer-related-more-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px 10px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.drawer-related-more-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
  transform: none;
}

.drawer-related-list--more[hidden] {
  display: none;
}

.drawer-related-row__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  font-size: 12px;
}

.drawer-meta-grid__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.drawer-meta-grid__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.chip-list--drawer .chip {
  font-size: 11px;
  padding: 2px 7px;
}

/* ── Legacy ── */

/* ── Responsive ── */

@media (max-width: 900px) {
  .intel-header__row { flex-direction: column; align-items: flex-start; }
  .intel-header__copy h2,
  .intel-header__sub { white-space: normal; }
  .intel-kpi-strip { justify-content: flex-start; }
  .intel-hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intel-detail-body { grid-template-columns: 1fr; }
  .intel-detail-body .intel-detail-section:first-of-type {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .intel-player-head__body .intel-panel__title,
  .intel-player-head__body .intel-panel__sub { white-space: normal; }
  .intel-panel__sub--inline { white-space: normal; }
}

@media (max-width: 560px) {
  .intel-hot-grid { grid-template-columns: 1fr; }
  .intel-cluster-card { grid-template-columns: 1fr; }
  .intel-cluster-card__aside { justify-self: start; }
}

/* ── Bayern Munich hub focus ── */

body.theme-intel .brand__mark {
  /* 아이콘 알파 에지에서 경계선처럼 보여서 shadow 제거 */
  filter: none;
}

body.theme-intel .brand__mark img {
  image-rendering: auto;
}

body.theme-intel:not(.theme-intel--global) {
  --accent: var(--fcb-red);
  --accent-2: #E81240;
  --accent-hover: #B00424;
  --accent-soft: rgba(var(--fcb-red-rgb), 0.16);
  --accent-border: rgba(var(--fcb-red-rgb), 0.45);
}

/* ── Google Identity Services: credential picker overlay ──
   dialog/backdrop가 위에 올라가면 계정 선택 클릭이 막힐 수 있어 최상단 고정 */
#credential_picker_container,
#credential_picker_iframe,
iframe[name="credential_picker_iframe"] {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

.intel-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check--inline.intel-focus-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.intel-header__sub {
  white-space: normal;
  max-width: 42rem;
  line-height: 1.45;
}

.community-focus-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--fcb-red);
  font-size: 13px;
  font-weight: 700;
}

.directory-focus-badge {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--fcb-red);
  font-size: 13px;
  font-weight: 700;
}

.standings-row--focus {
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 700;
}

.standings-row--focus .standings-row__team {
  color: var(--fcb-red);
}

body.page-community #view-news,
body.page-directory #view-news,
body.theme-intel #view-news {
  display: none !important;
}

body.page-community #view-community,
body.theme-intel.page-community #view-community {
  display: block !important;
}

body.page-directory #view-community {
  display: none !important;
}

body.page-directory #view-directory {
  display: block !important;
}

/* ── Directory compact layout ── */

body.page-directory .content {
  max-width: 1120px;
}

.directory-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.directory-shell__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.directory-shell__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.directory-shell__title {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.directory-shell__sub {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.45;
}

.directory-shell__tools-btn--active {
  border-color: var(--accent-border);
  color: var(--accent-2);
  background: var(--accent-soft);
}

.directory-tier-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-tier-compact .badge {
  font-size: 11px;
  padding: 3px 8px;
}

.directory-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border);
}

.directory-league-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.directory-league-tab:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.directory-league-tab--active {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
  background: var(--accent-soft);
}

.directory-league-tab__count {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-muted);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
}

.directory-league-tab--active .directory-league-tab__count {
  background: rgba(220, 5, 45, 0.18);
  color: var(--accent-2);
}

.directory-club-nav {
  display: block;
  max-height: none;
  overflow: visible;
  padding-top: 8px;
}

.directory-club-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-club-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.directory-club-chip:hover {
  border-color: var(--accent-border);
}

.directory-club-chip--active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.directory-club-chip__count {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.directory-club-chip--active .directory-club-chip__count {
  background: rgba(220, 5, 45, 0.18);
  color: var(--accent-2);
}

.directory--compact {
  gap: 0;
}

.directory-club-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.directory-club-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.directory-club-panel__eyebrow {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
}

.directory-club-panel__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.directory-club-panel__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.directory-club-panel__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.directory-table-wrap {
  overflow: auto;
}

.directory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.directory-table th,
.directory-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.directory-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--surface-soft);
}

.directory-table tbody tr:last-child td {
  border-bottom: none;
}

.directory-table__name {
  font-weight: 700;
  white-space: nowrap;
}

.directory-table__org {
  color: var(--text-dim);
  max-width: 280px;
}

.directory-table__note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-mute);
}

.directory-table__tier .badge {
  font-size: 11px;
  white-space: nowrap;
}

.directory-table__handle {
  white-space: nowrap;
}

body.page-directory .directory-tools {
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

body.page-directory:not(.directory-tools-open) .directory-tools {
  display: none !important;
}

body.page-directory .directory-tools .contrib-panel__block {
  padding: 16px;
}

body.page-directory .directory-tools .directory-admin-panel[hidden],
body.page-directory .directory-tools .admin-manage-panel[hidden] {
  display: none !important;
}

body.page-directory .directory-tools .directory-admin-panel:not([hidden]),
body.page-directory .directory-tools .admin-manage-panel:not([hidden]) {
  display: block !important;
}

body.page-directory .contrib-panel__header--compact {
  margin-bottom: 10px;
}

body.page-directory .contrib-panel__header--compact h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

body.page-directory .contrib-panel__header--compact p {
  font-size: 12px;
}

body.page-directory .admin-directory-toolbar--inline {
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

body.page-directory .form-actions--inline {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 2px;
}

body.page-directory .admin-bigclub-league-tabs {
  margin-bottom: 8px;
}

body.page-directory .admin-bigclub-list {
  max-height: 320px;
  overflow: auto;
}

body.page-directory .admin-bigclub-table .directory-table__actions {
  text-align: right;
  white-space: nowrap;
}

body.page-directory .admin-journalist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-directory .admin-journalist-table-wrap {
  overflow: auto;
  max-height: min(48vh, 460px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}

body.page-directory .admin-journalist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.page-directory .admin-journalist-table th,
body.page-directory .admin-journalist-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

body.page-directory .admin-journalist-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-directory .admin-journalist-table tbody tr:last-child td {
  border-bottom: none;
}

body.page-directory .admin-journalist-row {
  cursor: pointer;
  transition: background 0.12s ease;
}

body.page-directory .admin-journalist-row:hover {
  background: var(--surface-soft);
}

body.page-directory .admin-journalist-row--active {
  background: rgba(220, 5, 45, 0.08);
}

body.page-directory .admin-journalist-row__name strong {
  display: block;
  color: var(--text);
}

body.page-directory .admin-journalist-row__sub,
body.page-directory .admin-journalist-row__handle {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-mute);
}

body.page-directory .admin-journalist-row__clubs {
  max-width: 180px;
  color: var(--text-dim);
}

body.page-directory .admin-journalist-row__tiers .badge {
  margin-right: 4px;
}

body.page-directory .admin-journalist-row__actions {
  text-align: right;
  white-space: nowrap;
}

body.page-directory .admin-journalist-table__hint {
  margin: 0;
  font-size: 11px;
  color: var(--text-mute);
}

body.page-directory .admin-directory-toolbar--compact {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) repeat(2, minmax(110px, 0.8fr)) auto auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
}

body.page-directory .field--compact span {
  font-size: 11px;
}

body.page-directory .field--compact input,
body.page-directory .field--compact select {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 13px;
}

body.page-directory .check--compact {
  min-height: 36px;
  padding-top: 18px;
  font-size: 12px;
}

body.page-directory .chip--ok {
  background: var(--intel-green-soft);
  color: var(--trust-high-text);
  border-color: rgba(52, 211, 153, 0.25);
}

body.page-directory .directory-admin-tabs,
body.page-directory .admin-manage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

body.page-directory .directory-admin-tab,
body.page-directory .admin-manage-tab {
  appearance: none;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

body.page-directory .directory-admin-tab:hover,
body.page-directory .admin-manage-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

body.page-directory .directory-admin-tab--active,
body.page-directory .admin-manage-tab--active {
  background: rgba(220, 5, 45, 0.18);
  border-color: rgba(220, 5, 45, 0.55);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(220, 5, 45, 0.22);
}

body.page-directory .contrib-panel__header {
  margin-bottom: 10px;
}

body.page-directory .contrib-panel__header h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

body.page-directory .contrib-panel__header p {
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .directory-shell__title-row {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-directory .admin-directory-toolbar--compact {
    grid-template-columns: 1fr 1fr;
  }

  .directory-club-nav {
    max-height: 140px;
  }

  .directory-table__org {
    max-width: 160px;
  }
}

.community-hub__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.community-hub__header-card {
  margin-bottom: 12px;
}

.community-section-tabs {
  margin: 0 4px;
}

.community-hub__panel[hidden] {
  display: none !important;
}

.community-hub__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-hub__panel--hot {
  gap: 12px;
}


.community-hot-board.intel-panel--board {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px;
}

.community-hub__layout {
  display: block;
}

.community-hub__news {
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
  padding: 14px;
}

body.page-community {
  --community-content-max: min(1480px, calc(100vw - 64px));
}

@media (max-width: 720px) {
  body.page-community .community-match-banner-slot {
    padding-left: 10px;
    padding-right: 10px;
  }
}

body.page-community .community-hub__header-card,
body.page-community .community-hub__panel--hot,
body.page-community .community-hub__panel--board,
body.page-community .community-hub__panel--news,
body.page-community .community-hub__panel--score,
body.page-community .community-hub__panel--data {
  width: 100%;
  max-width: var(--community-content-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.page-community .community-hub__panel--news .community-news-stage,
body.page-community .community-hub__panel--hot .community-hot-board,
body.page-community .community-hub__panel--board .community-board,
body.page-community .community-hub__panel--score .community-schedule,
body.page-community .community-hub__panel--data .data-center-hub {
  width: 100%;
  max-width: 100%;
}

body.theme-intel.page-community .community-news-stage {
  display: block;
  width: 100%;
}

body.theme-intel.page-community .community-news-stage__main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

body.theme-intel.page-community .community-sports-dock {
  display: none !important;
}

body.page-community .source-filter-rail--gutter {
  display: none !important;
}

body.page-community.layout--has-filter-rail .source-filter-fallback--active {
  display: block;
}

body.theme-intel .community-post-card {
  background: var(--surface-soft);
  border-color: var(--border);
}

body.theme-intel .community-post-card:hover,
body.theme-intel .community-post-card:focus-visible {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

body.theme-intel .community-post-card--active {
  border-color: rgba(220, 5, 45, 0.5);
  background: rgba(220, 5, 45, 0.1);
  box-shadow: inset 0 0 0 1px rgba(220, 5, 45, 0.18);
}

body.theme-intel .community-post-card__head h4 {
  color: var(--text);
}

body.theme-intel .community-post-card p {
  color: var(--text-dim);
}

body.theme-intel .community-post-card__meta {
  color: var(--text-mute);
}

body.theme-intel .community-tab,
body.theme-intel .community-subtab {
  background: var(--surface-muted);
  color: var(--text-dim);
  border-color: var(--border-strong);
}

body.theme-intel .community-tab--active {
  border-color: rgba(220, 5, 45, 0.55);
  background: rgba(220, 5, 45, 0.18);
  color: #fff;
}

body.theme-intel .community-subtab--active {
  border-color: rgba(220, 5, 45, 0.4);
  background: rgba(220, 5, 45, 0.1);
  color: var(--text);
}

body.theme-intel .community-compose__panel {
  background: var(--surface-soft);
  border-color: var(--border);
}

body.theme-intel .community-thread__body blockquote {
  background: var(--surface-muted);
  color: var(--text-dim);
  border-left-color: rgba(220, 5, 45, 0.55);
}

body.theme-intel .community-thread__body code {
  background: var(--surface-muted);
  color: var(--text);
}

body.theme-intel .community-comment {
  background: var(--surface-soft);
  border-color: var(--border);
}

body.theme-intel .card-like {
  background: var(--surface);
  border-color: var(--border);
}

body.theme-intel .community-browser__head h3,
body.theme-intel .community-feed h3 {
  color: var(--text);
}

body.theme-intel .comment-card {
  background: var(--surface-soft);
  border-color: var(--border);
}

body.theme-intel .comment-card__body {
  color: var(--text-dim);
}

/* ── Community dark theme fixes end ── */

/* ── Community board (FM Korea compact) ── */

.community-board {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.community-board-toolbar,
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 0 6px;
  border-bottom: 1px solid var(--border);
}

.community-board-toolbar__actions {
  flex-shrink: 0;
}

.community-board-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 8px;
  margin-bottom: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.community-board-notice__badge {
  flex-shrink: 0;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(220, 5, 45, 0.12);
  color: var(--fcb-red);
  font-size: 10px;
  font-weight: 800;
}

.community-board-notice__text,
.community-board-notice__link {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-board-notice__link {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.community-board-notice__link:hover,
.community-board-notice__link:focus-visible {
  color: var(--text);
  outline: none;
}

.community-board-popular {
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
}

.community-board-popular__head {
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-mute);
}

.community-board-popular__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.community-board-popular__item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.community-board-popular__item:hover,
.community-board-popular__item:focus-visible {
  color: var(--accent);
  outline: none;
}

.community-board-popular__title-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.community-board-popular__title-line .community-board-popular__title,
.community-board-popular__title-line .community-notice-title {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-board-popular__title-line .community-board-comment-count {
  flex: 0 0 auto;
  margin-left: 0;
}

.community-board-popular__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-board-popular__votes {
  flex-shrink: 0;
  color: var(--fcb-red, #dc052d);
  font-size: 12px;
  font-weight: 700;
}

.community-board-tag--compact {
  min-width: 44px;
  font-size: 10px;
}

.community-board-lang-banner-wrap:not([hidden]) {
  margin: 0 0 8px;
}

.community-board-lang-banner {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}

.community-lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  margin-right: 4px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  vertical-align: middle;
  color: var(--text-mute);
  background: color-mix(in srgb, var(--text-mute) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-mute) 22%, var(--border));
}

.community-lang-badge--ja {
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.community-board-title-line .community-lang-badge,
.community-board-popular__title-line .community-lang-badge,
.community-article__title-row .community-lang-badge,
.today-home__board-title-wrap .community-lang-badge {
  flex: 0 0 auto;
}

.community-board-title-line,
.community-board-popular__title-line,
.community-article__title-row,
.today-home__board-title-wrap {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
}

.community-board-controls__group--lang {
  flex: 0 0 auto;
}

.community-board-controls__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.community-board-lang-select,
.admin-lang-select {
  min-height: 26px;
  padding: 0 24px 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
}

.community-compose-fm__field--lang {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.community-compose-fm__lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.community-compose-fm__lang-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
}

.community-compose-fm__lang-option input {
  margin: 0;
}

.community-board-controls,
.board-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 10px;
  margin-bottom: 4px;
}

.community-board-controls__group--sort,
.board-sort {
  margin-left: auto;
}

.community-board-controls__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.community-board-controls__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  white-space: nowrap;
}

.community-board-tabs--inline,
.community-board-subtabs--inline {
  margin: 0;
}

.community-board-tabs:empty,
.community-board-subtabs:empty {
  display: none;
}

.community-board-toolbar__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.community-board-toolbar__sub {
  display: block;
  margin-top: 2px;
  color: var(--text-mute);
  font-size: 12px;
}

.community-board-tabs,
.community-board-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-board-tab,
.community-board-subtab {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.community-board-tab--active,
.community-board-subtab--active {
  border-color: rgba(220, 5, 45, 0.45);
  background: rgba(220, 5, 45, 0.12);
  color: var(--text);
}

.community-board-table-wrap {
  overflow-x: auto;
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.community-board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.community-board-table thead th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.community-board-table {
  table-layout: fixed;
  width: 100%;
}

.community-board-table .col-tag { width: 68px; }
.community-board-table .col-author { width: 240px; min-width: 240px; max-width: 240px; }
.community-board-table .col-date { width: 64px; }
.community-board-table .col-views,
.community-board-table .col-votes { width: 48px; }
.community-board-table .col-comments { width: 48px; }

.community-board-row {
  cursor: pointer;
  transition: background 0.12s ease;
}

.community-board-row:hover,
.community-board-row:focus-visible {
  background: #f9fafb;
  outline: none;
}

body.theme-intel .community-board-row:hover,
body.theme-intel .community-board-row:focus-visible {
  background: var(--surface-soft);
}

.community-board-row--active {
  background: rgba(220, 5, 45, 0.05);
}

.community-board-row td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.community-board-row:last-child td {
  border-bottom: 0;
}

.community-board-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 700;
}

.community-board-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.community-board-comment-count {
  margin-left: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.community-board-title-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.community-board-title-line .community-board-title,
.community-board-title-line .community-notice-title {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-board-title-line .community-board-comment-count {
  flex: 0 0 auto;
  margin-left: 2px;
}

.community-board-row .col-title {
  text-align: left;
  overflow: hidden;
  max-width: 0;
  width: 100%;
}

.community-board-row .col-date,
.community-board-row .col-views,
.community-board-row .col-votes,
.community-board-row .col-comments {
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.community-board-row .col-author {
  overflow: hidden;
  text-align: left;
  line-height: 1.35;
  padding-left: 8px;
  padding-right: 8px;
  vertical-align: middle;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: normal;
}

.community-board-author {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.community-board-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-top: 2px;
}

.community-board-row-author {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 600;
}

.community-board-row-meta-extra {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.community-board-row .community-board-row-meta {
  display: none;
}

@media (max-width: 720px) {
  .community-board-row .col-author,
  .community-board-row .col-date,
  .community-board-row .col-views,
  .community-board-row .col-votes {
    display: none;
  }

  .community-board-row .community-board-row-meta {
    display: flex;
    margin-top: 2px;
  }

  .intel-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.community-board-empty {
  padding: 16px 12px !important;
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.5;
}

.community-board-empty--inline {
  padding: 14px 10px !important;
}

.community-hub__panel--board {
  padding-top: 0;
  padding-bottom: 8px;
}

.community-board-detail,
.board-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.board-detail-shell,
.board-detail-page {
  width: 100%;
  max-width: var(--community-content-max, min(1480px, calc(100vw - 64px)));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.board-detail-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.community-detail__inner.board-detail-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-board-detail[hidden],
.board-detail[hidden] {
  display: none !important;
  margin-top: 0;
}

.community-hub__panel--board.is-detail-view .community-board-list {
  display: none !important;
}

.community-board-footer {
  display: flex;
  justify-content: center;
  padding: 4px 0 0;
}

.community-board-pager {
  width: 100%;
}

.community-board-detail__topbar {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 2px;
}

.community-board-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.community-board-detail__back:hover,
.community-board-detail__back:focus-visible {
  color: var(--text);
  outline: none;
}

.community-detail__inner {
  width: 100%;
  min-width: 0;
}

.community-detail__inner .empty {
  padding: 24px 12px;
  text-align: center;
}

.community-article {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}

.community-article--detail .community-article__head,
.community-article--detail .article-detail-header {
  padding: 16px 22px 12px;
  border-bottom: 1px solid var(--border);
}

.community-article__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.community-article__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.community-article__action-link,
.community-article__report {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
}

.community-article__action-link:hover,
.community-article__action-link:focus-visible,
.community-article__report:hover,
.community-article__report:focus-visible {
  color: var(--text);
  text-decoration: underline;
  outline: none;
}

.community-article__head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}

.community-article__tag {
  margin: 0;
  color: var(--fcb-red);
  font-size: 11px;
  font-weight: 700;
}

.community-article--detail .community-article__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.community-article__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.community-article__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 2px;
}

.community-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--text-mute);
  font-size: 12px;
}

.community-article__author {
  color: var(--text);
  font-weight: 600;
}

.community-article__body-wrap:not(.community-article__body-wrap--protected) .community-article__body {
  user-select: text;
  -webkit-user-select: text;
}

.community-article__body,
.community-article--detail .article-body,
.community-article--detail .board-post-body {
  padding: 18px 22px;
  min-height: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.community-article__reactions-bar {
  display: flex;
  justify-content: flex-start;
  padding: 10px 22px 14px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.community-article__reactions-bar .reaction-bar {
  margin: 0;
}

.community-comments-card,
.comment-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 14px 18px 16px;
}

.community-comments-card__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.community-comment-empty {
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
  color: var(--text-mute);
}

.community-article__comments {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.community-article__comments-title {
  margin: 0 0 10px;
  font-size: 14px;
}

.community-comment-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.community-comment-item {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.community-comment-item__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
}

.community-comment-item__head strong {
  color: var(--text);
}

.community-comment-item__head span {
  color: var(--text-mute);
}

.community-comment-item__body {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

.community-comment-item--reply {
  margin-left: calc(12px + (var(--reply-depth, 1) * 14px));
  padding-left: 12px;
  border-left: 2px solid rgba(220, 5, 45, 0.18);
}

.community-comment-item__actions {
  margin-top: 6px;
}

.community-comment-action-btn,
.community-comment-reply-btn {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
}

.community-comment-item__actions .community-comment-action-btn + .community-comment-action-btn {
  margin-left: 10px;
}

.community-comment-action-btn:hover,
.community-comment-action-btn:focus-visible,
.community-comment-reply-btn:hover,
.community-comment-reply-btn:focus-visible {
  color: var(--brand, #dc052d);
}

.community-comment-action-btn--danger:hover,
.community-comment-action-btn--danger:focus-visible {
  color: var(--danger, #b93b2f);
}

.community-comment-item__body--deleted {
  color: var(--text-mute);
  font-style: italic;
}

.community-comment-item--deleted .community-comment-item__head {
  opacity: 0.72;
}

.community-comment-reply-form__label {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text-mute);
}

.community-comment-replies {
  margin-top: 8px;
}

.community-x-embed {
  margin: 14px 0;
  max-width: min(100%, 400px);
  overflow: hidden;
}

.community-x-embed-block--board {
  display: flex;
  justify-content: center;
  margin: 18px 0;
  width: 100%;
}

.community-x-embed--board,
.board-post-body .community-x-embed--board,
.community-article__body .community-x-embed--board {
  margin-left: auto;
  margin-right: auto;
  max-width: min(100%, 550px);
  width: 100%;
}

.article-x-embed-card--drawer {
  margin: 0 0 12px;
  width: 100%;
  max-width: 100%;
}

.article-x-embed-card--drawer .community-x-embed,
.article-x-embed-card--drawer .community-x-embed--drawer {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.article-x-embed-card__fallback {
  font-size: 0.92rem;
  font-weight: 600;
}

.community-x-embed blockquote.twitter-tweet {
  margin: 0 !important;
  max-width: 100% !important;
}

.community-x-embed iframe {
  max-width: 100% !important;
}

.article-x-embed-card--drawer .community-x-embed iframe,
.article-x-embed-card--drawer .community-x-embed .twitter-tweet-rendered {
  width: 100% !important;
  max-width: 100% !important;
}

.community-x-embed--board iframe,
.community-x-embed-block--board .community-x-embed iframe,
.community-x-embed--board .twitter-tweet-rendered {
  margin-left: auto;
  margin-right: auto;
}

.community-x-embed--failed {
  padding: 8px 10px;
  border: 1px dashed var(--border, #e5e7eb);
  border-radius: 10px;
}

.community-x-embed--pending {
  padding: 8px 10px;
  border: 1px dashed var(--border, #e5e7eb);
  border-radius: 10px;
  background: var(--surface-soft, #fafafa);
}

.community-x-embed__skeleton {
  min-height: 72px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 25%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.04) 75%);
  background-size: 200% 100%;
  color: var(--muted, #6b7280);
  font-size: 0.85rem;
  animation: community-x-embed-skeleton 1.4s ease-in-out infinite;
}

@keyframes community-x-embed-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.community-comments-card .community-comment-compose {
  margin-top: 2px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.community-comment-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-comment-compose textarea,
.community-comment-compose__input,
.comment-textarea {
  width: 100%;
  min-height: 64px;
  max-height: 140px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

.community-comments-card .community-comment-compose textarea,
.community-comments-card .community-comment-compose__input {
  border-color: var(--border);
  background: var(--surface);
}

.community-comment-compose__foot {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 0;
}

/* 댓글 — FM 인라인 (PC·모바일 공통): 한 줄 기본, 줄바꿈 시 세로 확장 */
.community-comments-card--fm .community-comments-card__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.community-comments-card--fm .community-comment-item {
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid var(--border, #eee);
}

.community-comments-card--fm .community-comment-item:last-child {
  border-bottom: 0;
}

.community-comments-card--fm .community-comment-item--reply {
  margin-left: 0;
  padding-left: 8px;
  border-left: 2px solid rgba(220, 5, 45, 0.12);
}

.community-comments-card--fm .community-comment-item__head {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.3;
}

.community-comments-card--fm .community-comment-item__body {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text, #222);
}

.community-comments-card--fm .community-comment-item__actions {
  margin-top: 1px;
}

.community-comments-card--fm .community-comment-replies {
  margin-top: 2px;
}

.community-comments-card--fm .community-comment-action-btn,
.community-comments-card--fm .community-comment-reply-btn {
  margin-top: 0;
  font-size: 12px;
}

.community-comment-compose--fm-inline,
.community-comment-reply-form.community-comment-compose--fm-inline,
.community-comment-edit-form.community-comment-compose--fm-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* 칭호 장착 시 작성자 미리보기가 입력창과 한 줄이면 textarea가 세로 한 칸처럼 깨짐 */
.community-comment-compose--fm-inline .community-comment-compose__author {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin-bottom: 2px;
}

.community-comment-compose--fm-inline .community-comment-compose__author .community-author {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.community-comment-compose--fm-inline .community-comment-compose__author .community-author__title,
.community-comment-compose--fm-inline .community-comment-compose__author .community-author__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.community-comments-card .community-comment-compose--fm-inline,
.community-comments-card .community-comment-reply-form.community-comment-compose--fm-inline {
  margin-top: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.community-comments-card--fm .community-comment-compose--guest {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}

.community-comment-compose--fm-inline textarea,
.community-comment-compose--fm-inline .community-comment-compose__input,
.community-comment-reply-form.community-comment-compose--fm-inline textarea {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  max-height: 120px;
  margin: 0;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 4px;
  border: 1px solid var(--border, #d7dbe0);
  background: var(--surface, #fff);
  color: var(--text);
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  box-sizing: border-box;
}

.community-comment-compose--fm-inline .community-comment-compose__submit,
.community-comment-compose--fm-inline .community-comment-compose__cancel {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.community-comment-compose--fm-inline .community-comment-compose__cancel {
  min-width: 36px;
  padding: 0 8px;
  font-weight: 600;
  color: var(--text-mute, #8b95a1);
}

.community-comment-compose--guest-inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}

.community-comment-compose--guest-inline .community-comment-compose__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.community-compose-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: start center;
  padding: 72px 16px 24px;
  overflow-y: auto;
}

.community-compose-overlay[hidden] {
  display: none !important;
}

.community-compose-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.community-compose-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: 16px 18px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-lg, 0 24px 48px rgba(0, 0, 0, 0.35));
}

.community-compose-overlay__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.community-compose-overlay__head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.community-compose-overlay__head p {
  margin: 0;
  color: var(--text-mute);
  font-size: 12px;
}


body.theme-intel .community-form--editor {
  display: grid;
  gap: 10px;
}

body.theme-intel .community-editor-topbar {
  display: grid;
  grid-template-columns: 140px 160px minmax(0, 1fr);
  gap: 8px;
}

body.theme-intel .community-editor-topbar__select,
body.theme-intel .community-editor-topbar__title,
body.theme-intel .community-editor-body textarea,
body.theme-intel .community-editor-author-row input {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 13px;
}

body.theme-intel .community-editor-body textarea {
  min-height: 320px;
  padding: 12px;
  line-height: 1.7;
  resize: vertical;
}

body.theme-intel .community-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
}

body.theme-intel .community-editor-tool {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

body.theme-intel .community-editor-notice {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(220, 5, 45, 0.25);
  background: rgba(220, 5, 45, 0.08);
  color: var(--text-dim);
  font-size: 12px;
}

body.theme-intel .community-editor-notice strong {
  color: #ff6b81;
  margin-right: 6px;
}

body.theme-intel .community-editor-author-row .field--inline {
  display: grid;
  grid-template-columns: 72px minmax(0, 220px);
  gap: 8px;
  align-items: center;
}

body.theme-intel .community-editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

body.theme-intel .community-editor-footer__hint {
  color: var(--text-mute);
  font-size: 11px;
}

body.theme-intel .community-editor-footer__actions {
  display: flex;
  gap: 8px;
}

/* ── Rich editor (FM Korea style) ── */

.community-rich-editor {
  display: grid;
  gap: 6px;
}

.community-rich-editor--compact {
  gap: 4px;
}

.community-rich-editor__toolbar {
  display: grid;
  gap: 4px;
  padding: 5px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
}

.community-rich-editor--compact .community-rich-editor__toolbar {
  padding: 4px 5px;
}

.community-rich-editor__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
}

.community-rich-editor__row--main {
  gap: 2px 3px;
}

.community-rich-editor__btn {
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.community-rich-editor__btn:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.community-rich-editor__select {
  height: 26px;
  max-width: 72px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 11px;
}

.community-rich-editor__sep {
  width: 1px;
  height: 18px;
  margin: 0 1px;
  background: var(--border);
}

.community-rich-editor__color {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  cursor: pointer;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}

.community-rich-editor__color input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.community-rich-editor__surface {
  min-height: 280px;
  max-height: 48vh;
  padding: 10px 12px;
  overflow-y: auto;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.community-rich-editor__surface:empty::before {
  content: attr(data-placeholder);
  color: var(--text-mute);
  pointer-events: none;
}

.community-rich-editor__surface:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.community-rich-editor__surface blockquote {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid rgba(220, 5, 45, 0.45);
  color: var(--text-dim);
}

.community-article__body .community-inline-spoiler,
.community-rich-editor__surface .community-inline-spoiler {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--border);
  cursor: pointer;
}

/* ── Rich editor end ── */

/* ── Compose full page (FM Korea style) ── */

.community-compose-page {
  padding: 0 0 28px;
  width: 100%;
  max-width: var(--community-content-max, 960px);
  margin: 0 auto;
}

.community-compose-page__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.community-compose-page__strip-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.community-compose-page__strip-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
}

.community-compose-page[hidden] {
  display: none !important;
}

.community-compose-fm {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  overflow-x: hidden;
  overflow-y: visible;
  box-shadow: var(--shadow-sm);
}

.community-compose-fm__meta {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--border-strong);
}

.community-compose-fm__meta-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(200px, 280px);
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.community-compose-fm__field {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 42px;
}

.community-compose-fm__field--board {
  border-right: 1px solid var(--border);
}

.community-compose-fm__field--prefix {
  min-width: 0;
}

.community-compose-fm__field--title-row {
  grid-template-columns: 52px minmax(0, 1fr);
  border-right: 0;
}

.community-compose-fm__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  white-space: nowrap;
}

.community-compose-fm__board-name {
  font-size: 13px;
  font-weight: 700;
  color: #ff6b81;
}

.community-compose-fm__prefix,
.community-compose-fm__title {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 13px;
}

.community-compose-fm__prefix {
  min-width: 160px;
}

.community-compose-fm__title {
  font-weight: 600;
}

.community-compose-fm__prefix:focus {
  outline: none;
  border-color: var(--border-strong);
}

.community-compose-fm__title:focus {
  outline: none;
  border-color: rgba(220, 5, 45, 0.35);
  box-shadow: 0 0 0 2px rgba(220, 5, 45, 0.1);
}

.community-compose-fm__title.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 5, 45, 0.22);
}

.community-compose-fm__mode-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.community-compose-fm__mode-tab {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.community-compose-fm__mode-tab--active {
  color: var(--text);
  border-bottom-color: #dc2626;
  background: var(--surface);
}

.community-compose-fm__editor {
  display: grid;
  gap: 0;
  padding-bottom: 8px;
}

.community-compose-fm__editor--preview .community-rich-editor--simple,
.community-compose-fm__editor--preview .community-compose-fm__attach {
  display: none;
}

.community-rich-editor--simple {
  gap: 0;
}

.community-editor-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.community-editor-tools__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.community-editor-tools__group {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  padding-right: 6px;
  margin-right: 2px;
  border-right: 1px solid var(--border);
}

.community-editor-tools__group:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.community-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  line-height: 0;
  cursor: pointer;
}

.community-tool:hover,
.community-tool:focus-visible {
  border-color: rgba(220, 5, 45, 0.45);
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
}

.community-tool__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.community-tool--glyph {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.community-tool--glyph-italic span {
  font-style: italic;
  font-family: Georgia, serif;
}

.community-tool--glyph-underline span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-tool--glyph-strike span {
  text-decoration: line-through;
}

.community-tool--tag {
  width: auto;
  min-width: 32px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.community-tool--color {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  gap: 1px;
}

.community-tool__color-a {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.community-tool__color-bar {
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 1px;
  pointer-events: none;
}

.community-tool__color-bar--fore {
  background: #e8e8ea;
}

.community-tool--color input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.community-compose-fm__rules-fold {
  margin: 0;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
}

.community-compose-fm__rules-fold summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dim);
  list-style: none;
}

.community-compose-fm__rules-fold summary::-webkit-details-marker {
  display: none;
}

.community-compose-fm__rules-fold p {
  margin: 6px 0 0;
  line-height: 1.45;
}

.community-compose-fm__rules-link {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-compose-fm__rules-link:hover,
.community-compose-fm__rules-link:focus-visible {
  color: var(--fcb-red);
  outline: none;
}

.community-rich-editor__surface--fm {
  min-height: 320px;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: visible;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: pre-wrap;
}

.community-rich-editor__surface--fm * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.community-rich-editor__surface--fm:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(220, 5, 45, 0.35);
}

.community-compose-fm__attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 72px;
  padding: 10px 12px;
  border-top: 1px dashed var(--border);
  background: var(--surface-soft);
}

.community-compose-fm__attach.is-dragover {
  outline: 2px dashed rgba(220, 5, 45, 0.5);
  outline-offset: -3px;
  background: rgba(220, 5, 45, 0.06);
}

.community-compose-fm__attach-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.community-compose-fm__attach-btn:hover {
  border-color: rgba(220, 5, 45, 0.45);
  color: #ff6b81;
}

.community-compose-fm__attach-meta {
  color: var(--text-mute);
  font-size: 11px;
}

.community-compose-fm__sticky {
  position: static;
  margin-top: 0;
}

.community-compose-fm__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
}

.community-compose-fm__bar-left {
  display: flex;
  align-items: center;
}

.community-compose-fm__bar-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}

.community-compose-fm__bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
}

.community-compose-fm__draft-status {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}

.community-compose-fm__bar .btn--ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface-muted);
  color: var(--text-dim);
}

.community-compose-fm__bar .btn--ghost:hover,
.community-compose-fm__bar .btn--ghost:focus-visible {
  border-color: rgba(220, 5, 45, 0.35);
  background: rgba(220, 5, 45, 0.08);
  color: var(--fcb-red);
}

.community-compose-fm__author-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.community-compose-fm__author-prefix {
  color: var(--text-mute);
  font-weight: 600;
}

.community-compose-fm__author-name {
  font-weight: 700;
  color: var(--text);
}

.community-compose-fm__author-input {
  min-height: 30px;
  width: 100px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 12px;
}

.community-compose-fm__author-line--logged-in .community-compose-fm__author-input {
  display: none;
}

.community-compose-fm__submit {
  min-height: 38px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--fcb-red) 0%, var(--accent-hover) 100%);
  color: var(--fcb-white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.community-compose-fm__submit:hover,
.community-compose-fm__submit:focus-visible,
.community-compose-fm__submit:active {
  background: linear-gradient(180deg, var(--fcb-red) 0%, var(--accent-hover) 100%);
  color: var(--fcb-white);
  border-color: transparent;
  filter: brightness(1.08);
}

.community-compose-fm__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: none;
}

.community-compose-page__edit {
  display: block;
}

.community-compose-page__preview {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  min-height: 360px;
}

.community-compose-page__preview-tag {
  margin-bottom: 8px;
  color: #ff6b81;
  font-size: 12px;
  font-weight: 700;
}

.community-compose-page__preview-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
}

.community-compose-page__preview-body {
  font-size: 15px;
  line-height: 1.75;
}

body.community-compose-open {
  overflow: hidden;
  background: var(--surface);
  padding-bottom: 0 !important;
}

body.community-compose-open .community-compose-fm__editor,
body.community-compose-open .community-compose-page__edit,
body.community-compose-open .community-rich-editor--simple {
  overflow-x: hidden;
}

body.community-compose-open .topbar,
body.community-compose-open .community-match-banner-slot,
body.community-compose-open .mobile-bottom-nav {
  display: none !important;
}

body.community-compose-open .community-hub__header-card,
body.community-compose-open .community-board-list,
body.community-compose-open .community-board-detail {
  display: none !important;
}

/* 글쓰기: 전체 페이지(오버레이) 스크롤 — 카드 내부 스크롤 없음 */
body.community-compose-open .community-compose-page:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: max(10px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  box-sizing: border-box;
}

body.community-compose-open .community-compose-fm {
  display: block;
  overflow: visible;
  border-radius: 6px;
}

body.community-compose-open .community-compose-fm__editor {
  overflow: visible;
  padding-bottom: 0;
}

body.community-compose-open .community-rich-editor__surface--fm {
  min-height: 320px;
  max-height: none;
  overflow: visible;
}

body.community-compose-open .community-compose-fm__sticky {
  position: static;
  margin-top: 0;
}

body.community-compose-open .community-compose-fm__bar {
  margin-top: 0;
}

@media (min-width: 900px) {
  body.community-compose-open .community-compose-page:not([hidden]) {
    padding-left: max(16px, calc((100vw - 980px) / 2));
    padding-right: max(16px, calc((100vw - 980px) / 2));
  }
}

@media (max-width: 720px) {
  .community-compose-fm__meta-row {
    grid-template-columns: 1fr;
  }

  .community-compose-fm__field--board {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .community-editor-tools__row {
    gap: 3px;
  }

  .community-editor-tools__group {
    padding-right: 4px;
    margin-right: 0;
  }

  .community-tool--tag {
    padding: 0 5px;
    font-size: 9px;
  }

  .community-compose-fm__bar {
    grid-template-columns: 1fr;
  }

  .community-compose-fm__bar-mid {
    justify-content: flex-start;
  }

  .community-compose-fm__bar-right {
    width: 100%;
    justify-content: space-between;
  }

  .community-compose-fm__author-input {
    width: min(100px, 32vw);
  }

  .community-compose-fm__submit {
    margin-left: auto;
  }
}

.community-post-image,
.community-article__body img,
.community-compose-page__preview-body .community-x-embed {
  margin: 14px 0;
  max-width: 100%;
  overflow: hidden;
}

.community-compose-page__preview-body .community-x-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.community-compose-page__preview-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ── Compose full page end ── */

body.page-community .community-hub__header-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 8px;
}

body.page-community .community-hub__header-card .intel-header__row {
  grid-column: 1;
  padding: 8px 12px 6px;
  gap: 10px;
}

body.page-community .community-hub__header-card .intel-header__copy h2 {
  margin: 0 0 1px;
  font-size: 17px;
}

body.page-community .community-hub__header-card .intel-header__sub {
  font-size: 11px;
}

body.page-community .community-hub__header-card .community-section-tabs {
  grid-column: 2;
  grid-row: 1;
  border-top: 0;
  padding: 6px 10px 6px 0;
  margin: 0;
  align-self: center;
}

body.page-community .intel-header--slim {
  padding: 0;
  margin-bottom: 0;
}

body.page-community .intel-section-tabs__btn {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
}

@media (max-width: 720px) {
  body.page-community .community-hub__header-card {
    grid-template-columns: 1fr;
  }

  body.page-community .community-hub__header-card .community-section-tabs {
    grid-column: 1;
    border-top: 1px solid var(--border);
    padding: 6px 8px 8px;
  }
}


body.page-community .community-hub__news {
  padding: 10px 12px;
}

@media (max-width: 720px) {
  .community-board-table .col-author,
  .community-board-table .col-comments {
    display: none;
  }

  .community-board-table .col-tag { width: 58px; }
  .community-board-table .col-date { width: 52px; }

  body.theme-intel .community-editor-topbar {
    grid-template-columns: 1fr;
  }

  .community-compose-overlay {
    padding-top: 56px;
  }
}

/* ── Community board end ── */

.community-hub__board {
  width: 100%;
}

.community-hub__news-head {
  margin-bottom: 6px;
}

.community-hub__news-head h3 {
  margin: 0 0 2px;
  font-size: 16px;
}

.community-hub__news-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
}

.community-topic-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.community-topic-nav {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.community-topic-nav::-webkit-scrollbar {
  display: none;
}

.community-topic-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px 8px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.community-topic-tab:hover,
.community-topic-tab:focus-visible {
  color: var(--text);
}

.community-topic-tab--active {
  background: transparent;
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 800;
}

.news-filter-trigger-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-bottom: 1px;
  position: relative;
}

.news-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  margin: 4px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.news-filter-trigger:hover,
.news-filter-trigger:focus-visible {
  border-color: var(--accent-border);
  background: var(--surface);
}

.news-filter-trigger--active {
  border-color: var(--accent-border);
  color: var(--accent);
}

.news-filter-trigger:not(.news-filter-trigger--active) .news-filter-trigger__count {
  display: none !important;
}

.news-filter-trigger__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.news-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0 10px;
}

.news-active-filters[hidden] {
  display: none !important;
}

.news-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.news-active-filter-chip:hover,
.news-active-filter-chip:focus-visible {
  border-color: var(--accent-border);
  color: var(--text);
}

.news-active-filter-chip__remove {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1;
}

.news-active-filter-reset {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}

.news-filter-overlay {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 80;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  width: auto;
  height: auto;
  pointer-events: none;
}

.news-filter-overlay[hidden] {
  display: none !important;
}

.news-filter-overlay:not([hidden]) {
  pointer-events: auto;
}

.news-filter-overlay__backdrop {
  display: none;
}

.news-filter-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 96px));
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.news-filter-overlay--sheet {
  position: fixed;
  inset: 0;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.news-filter-overlay--sheet .news-filter-overlay__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.news-filter-overlay--sheet .news-filter-panel {
  width: 100%;
  max-width: none;
  max-height: min(78vh, 640px);
  border-radius: 16px 16px 0 0;
  animation: news-filter-sheet-in 0.2s ease;
}

@keyframes news-filter-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.news-filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.news-filter-panel__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.news-filter-panel__close {
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.news-filter-panel__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-filter-panel__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
}

.news-filter-section {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
  min-height: auto;
}

.news-filter-section + .news-filter-section {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.news-filter-section__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

.news-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.news-filter-chip--active {
  border-color: var(--accent-border);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 700;
}

.news-filter-section--feeds {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-filter-feed-tabs {
  display: flex;
  gap: 6px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}

.news-filter-feed-tab {
  flex: 1 1 0;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.news-filter-feed-tab:hover,
.news-filter-feed-tab:focus-visible {
  color: var(--text);
}

.news-filter-feed-tab--active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.news-filter-item-list-wrap {
  min-height: 0;
}

.news-filter-feed-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-filter-feed-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-filter-feed-group__title {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.news-filter-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-filter-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
  min-height: 44px;
  height: auto;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.news-filter-list-item:hover,
.news-filter-list-item:focus-visible {
  border-color: var(--accent-border);
  background: var(--surface);
}

.news-filter-list-item--active {
  border-color: var(--accent-border);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.news-filter-list-item__check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.news-filter-list-item--active .news-filter-list-item__check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.news-filter-list-item__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.news-filter-list-item__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.news-filter-list-item__sub {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.35;
}

.news-filter-item-list-wrap .empty--small {
  padding: 8px 0;
  font-size: 12px;
}

body.news-filter-open {
  overflow: hidden;
}

.news-list--community {
  display: grid;
  gap: 5px;
  margin-top: 4px;
}

.community-news-card,
.news-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 900px) {
  .news-list--community {
    gap: 3px;
  }

  body.page-community .community-hub__news {
    padding: 10px 12px;
  }

  .news-list--community .community-news-card {
    padding: 11px 16px;
    gap: 2px;
  }

  .news-list--community .community-news-card__title {
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .news-list--community .community-news-card__summary {
    font-size: 13px;
    line-height: 1.45;
    max-height: 38px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.community-news-card:hover,
.community-news-card:focus-visible,
.news-card:hover,
.news-card:focus-visible {
  border-color: var(--border-strong);
  background: #f9fafb;
  outline: none;
}

body.theme-intel .community-news-card:hover,
body.theme-intel .community-news-card:focus-visible {
  background: var(--surface-soft);
}

.community-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mute);
}

.community-news-card__meta--line {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.community-news-card__meta-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-news-card__meta-end {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.community-news-card--accent,
.community-news-card--featured {
  border-left: 3px solid rgba(220, 5, 45, 0.45);
  background: var(--surface);
}

.community-news-card__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-news-card__body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.community-news-card__main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.community-news-card__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted, #f3f4f6);
}

.community-news-card__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-news-card__actions,
.community-news-card__reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 0;
}

.community-news-card__reactions .reaction-bar--inline {
  margin-top: 0;
  gap: 5px;
}

.community-news-card__menu {
  opacity: 0;
  border: 0;
  background: transparent;
  padding: 0 4px;
  font-size: 16px;
  line-height: 1;
  color: var(--text-mute);
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.community-news-card:hover .community-news-card__menu,
.community-news-card:focus-within .community-news-card__menu,
.community-news-card__menu:focus-visible {
  opacity: 1;
}

.community-news-card__toggle-raw {
  align-self: flex-start;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
}

.community-news-card__toggle-raw:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.community-news-card__raw {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-muted, #f6f3ee);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.article-drawer-raw-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
}

.article-drawer-raw-text {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-muted, #f6f3ee);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.community-sports-dock__card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  box-shadow: none;
}

.community-sports-dock__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.community-sports-dock__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  overflow: visible;
}

.community-sports-dock__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.community-sports-dock__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.community-sports-dock__more {
  width: 100%;
  margin-top: 10px;
}

.community-sports-dock__empty {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.45;
}

.community-sports-dock .sports-card--dock-mini {
  padding: 8px 10px;
  gap: 6px;
  border-radius: 10px;
  border-color: var(--border);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
}

.community-sports-dock .sports-card--dock-mini:hover,
.community-sports-dock .sports-card--dock-mini:focus-visible {
  border-color: var(--border-strong);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: none;
}

.sports-dock-mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sports-dock-mini__teams {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  min-width: 0;
}

.sports-dock-mini__score {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-2);
  flex-shrink: 0;
}

.sports-dock-mini__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  color: var(--text-mute);
}

.chip--tiny {
  padding: 1px 6px;
  font-size: 10px;
}

/* ── 경기 미니 바 (HOT 아래) ── */

.community-sports-mini {
  margin: 0 0 10px;
}

.community-sports-mini__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.community-sports-mini__item {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.community-sports-mini__item:hover,
.community-sports-mini__item:focus-visible {
  border-color: var(--border-strong);
  background: rgba(0, 0, 0, 0.32);
  outline: none;
}

.community-sports-mini__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.community-sports-mini__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.community-sports-mini__match {
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-sports-mini__score {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-2);
  flex-shrink: 0;
}

.community-sports-mini__meta {
  font-size: 10px;
  color: var(--text-mute);
}

.community-sports-mini__more {
  flex: 0 0 auto;
  align-self: center;
}

body.theme-intel--focus-locked .intel-focus-toggle,
body.theme-intel--focus-locked .intel-header__actions {
  display: none !important;
}

.feed-article-card__meta,
.news-card__meta {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-news-card__badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
}

.community-news-card__badge--muted {
  background: var(--surface-muted);
  color: var(--text-mute);
}

.community-news-card__badge--done {
  background: rgba(220, 5, 45, 0.1);
  color: var(--fcb-red);
}

.community-news-card__badge--summary {
  background: var(--surface-muted);
  color: var(--text-dim);
}

.community-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  flex-shrink: 0;
}

.community-compose-fm__watermark {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
}

.community-compose-fm__watermark-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.community-compose-fm__watermark-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent, #dc052d);
}

.community-compose-fm__watermark-hint {
  margin: 8px 0 0 26px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-mute);
}

.nickname-modal .auth-modal__shell {
  max-width: 400px;
}

.auth-nickname-status {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  min-height: 1.45em;
}

.auth-nickname-status--ok {
  color: #047857;
}

.auth-nickname-status--info {
  color: #1d4ed8;
}

.auth-nickname-status--taken {
  color: #dc2626;
}

.auth-nickname-status--invalid {
  color: #dc2626;
}

.auth-nickname-status--checking {
  color: var(--text-dim, #6b7280);
  font-weight: 500;
}

.skeleton-card--news,
.skeleton-chip,
.skeleton-row td {
  pointer-events: none;
}

.skeleton-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-muted) 0%, var(--surface-soft) 50%, var(--surface-muted) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-line--meta {
  width: 42%;
  margin-bottom: 10px;
}

.skeleton-line--title {
  width: 88%;
  height: 18px;
  margin-bottom: 8px;
}

.skeleton-line--body {
  width: 72%;
}

.skeleton-line--board {
  width: 100%;
  height: 14px;
}

.skeleton-card--news {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.skeleton-chip {
  display: inline-block;
  width: 88px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--surface-muted) 0%, var(--surface-soft) 50%, var(--surface-muted) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.intel-hot-grid--skeleton {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.community-news-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.34;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-hub__board .community-shell {
  gap: 14px;
}

@media (max-width: 1080px) {
  .community-hub__news {
    position: static;
    max-height: none;
  }
}

/* ── Dark theme: shared component overrides ── */

body.theme-intel .language-toggle {
  background: var(--surface-soft);
  border-color: var(--border);
}

body.theme-intel .language-toggle__btn.is-active {
  background: var(--accent-soft);
  color: var(--accent-2);
}

body.theme-intel .tab--active {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: none;
}

body.theme-intel .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

body.theme-intel .btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-on);
}

body.theme-intel .btn--ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-dim);
}

body.theme-intel .btn--ghost:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--fcb-red);
}

body.theme-intel .btn--danger:hover {
  background: var(--danger-soft);
}

body.theme-intel input:focus,
body.theme-intel select:focus,
body.theme-intel textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

body.theme-intel input::placeholder,
body.theme-intel textarea::placeholder {
  color: var(--text-mute);
}

/* ── Hub source filter rail (left viewport gutter) ── */

.source-filter-fallback {
  display: none;
  margin-bottom: 12px;
}

body.theme-intel.layout--has-filter-rail .source-filter-fallback--active {
  display: block;
}

.source-filter-rail {
  width: 220px;
}

.source-filter-rail[hidden] {
  display: none !important;
}

body.theme-intel.layout--has-filter-rail .source-filter-rail--gutter {
  position: fixed;
  top: 84px;
  left: max(16px, calc((100vw - 1240px) / 2 - 236px));
  z-index: 20;
}

.source-filter-rail--inline {
  position: static;
  width: 100%;
}

.source-filter-rail--inline .source-filter-rail__inner {
  position: static;
  max-height: min(420px, calc(100vh - 120px));
}

.source-filter-rail__inner {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 96px);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.source-filter-rail__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.source-filter-rail__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.source-filter-rail__title {
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.source-filter-rail__collapse {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.source-filter-rail__collapse:hover,
.source-filter-rail__collapse:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.source-filter-rail__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.source-filter-search {
  display: block;
  flex-shrink: 0;
}

.source-filter-search__input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
}

.source-filter-search__input:focus-visible {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.source-filter-rail--collapsed .source-filter-rail__body {
  display: none;
}

.source-filter-rail--collapsed .source-filter-rail__head-row {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.source-filter-rail__toggle {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.source-filter-rail__toggle:hover,
.source-filter-rail__toggle:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.source-filter-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 4px;
  -webkit-overflow-scrolling: touch;
}

.source-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.source-filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 30px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.source-filter-group__head:hover,
.source-filter-group__head:focus-visible {
  color: var(--accent-2);
}

.source-filter-group__meta {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.source-filter-group__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-filter-group--collapsed .source-filter-group__items {
  display: none;
}

.source-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
  min-height: 48px;
  height: auto;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.source-filter-item:hover,
.source-filter-item:focus-visible {
  border-color: var(--accent-border);
}

.source-filter-item--active {
  border-color: var(--accent-border);
  background: rgba(220, 5, 45, 0.08);
}

.source-filter-item__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.source-filter-item--active .source-filter-item__check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.source-filter-item__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.source-filter-item__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.source-filter-item__sub {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-mute);
}

.news-filter-list-item,
.source-filter-item,
.news-filter-chip,
.source-filter-group__head {
  border-radius: 10px;
}

@media (max-width: 1340px) {
  body.theme-intel.layout--has-filter-rail .source-filter-rail--gutter {
    display: none !important;
  }

  .source-filter-rail--inline .source-filter-rail__inner {
    max-height: min(360px, calc(100vh - 140px));
  }
}

/* ── Mobile compact (HOT + intel board) ── */

@media (max-width: 720px) {
  body.theme-intel .layout.layout--intel {
    padding: 8px 10px 20px;
  }

  .dashboard-intel {
    gap: 8px;
  }

  .intel-header--slim {
    border-radius: 12px;
  }

  .intel-header__row {
    padding: 8px 12px;
    gap: 10px;
  }

  .intel-header__copy h2 {
    font-size: 17px;
  }

  .intel-header__sub {
    font-size: 11px;
    line-height: 1.35;
  }

  .intel-kpi-strip {
    gap: 4px 10px;
    padding: 0 12px 8px;
  }

  .intel-kpi__label {
    font-size: 11px;
  }

  .intel-kpi__value {
    font-size: 13px;
  }

  .intel-section-tabs {
    padding: 6px 10px 8px;
  }

  .intel-section-tabs__btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .intel-hot-board {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px 10px;
  }

  .intel-hot-detail__footer-actions {
    flex-direction: row;
    align-items: center;
  }

  .intel-hot-detail__footer-actions .btn,
  .intel-hot-detail__footer-actions .intel-hot-cta--solid {
    width: 100%;
    justify-content: center;
  }

  .intel-hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 10px 8px;
  }

  .intel-hot-chip {
    padding: 7px 9px;
    gap: 6px;
    border-radius: 8px;
  }

  .intel-hot-chip__rank {
    font-size: 10px;
    padding-top: 1px;
  }

  .intel-hot-chip__name {
    font-size: 12px;
  }

  .intel-hot-chip__route,
  .intel-hot-chip__meta {
    font-size: 10px;
    margin-top: 1px;
  }

  .intel-hot-grid__footer {
    padding: 0 10px 8px;
    font-size: 11px;
  }

  .intel-player-head {
    gap: 8px;
    padding: 8px 12px;
  }

  .intel-player-head__avatar {
    width: 36px;
    height: 36px;
    font-size: 12px;
    border-radius: 10px;
  }

  .intel-player-head__body .intel-panel__title {
    font-size: 14px;
  }

  .intel-player-head__body .intel-panel__sub {
    font-size: 11px;
  }

  .intel-cluster-list {
    gap: 3px;
    padding: 6px 10px 8px;
  }

  .intel-cluster-card {
    padding: 8px 10px;
    gap: 6px 8px;
    border-radius: 8px;
  }

  .intel-cluster-card__route {
    font-size: 12px;
  }

  .intel-cluster-card__volume,
  .intel-cluster-card__time {
    font-size: 10px;
  }

  .intel-confidence {
    padding: 2px 7px;
    font-size: 10px;
  }

  .intel-confidence__pct {
    font-size: 11px;
  }

  .intel-empty-state {
    padding: 16px 12px;
    margin: 8px 10px 10px;
    font-size: 12px;
  }

  .intel-panel--feed .intel-panel__head {
    padding: 10px 12px 8px;
  }

  .intel-panel--feed .dashboard-panel__secondary-body {
    padding: 8px 10px 12px;
  }

  .intel-evidence-item {
    padding: 8px 10px;
  }

  .intel-evidence-item__title {
    font-size: 13px;
  }

  .intel-timeline-item {
    padding: 8px 0;
  }

  .intel-timeline-item__date {
    font-size: 10px;
  }

  .intel-timeline-item__text {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .intel-hot-grid {
    grid-template-columns: 1fr;
  }
}

.player-rumor-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.player-rumor-link:hover {
  color: var(--fcb-red);
}

.player-rumors-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.player-rumors-shell__head {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.player-rumors-shell__title {
  margin: 0;
  font-size: 1.6rem;
  word-break: break-word;
  line-height: 1.25;
}

.player-rumors-shell__sub {
  margin: 6px 0 0;
  color: var(--text-muted, #9aa3af);
  font-size: 0.92rem;
}

.player-rumors-list {
  display: grid;
  gap: 12px;
}

.player-rumor-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.player-rumor-card__main {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.player-rumor-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.player-rumor-card__meta,
.player-rumor-card__route,
.player-rumor-card__evidence {
  margin: 0 0 8px;
  color: var(--text-muted, #9aa3af);
  font-size: 0.88rem;
}

.player-rumor-card__evidence {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.player-rumor-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.player-rumors-empty {
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  background: var(--surface-soft);
}

.player-rumors-empty--error {
  border-color: rgba(255, 120, 120, 0.25);
}

.player-rumors-empty__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.player-rumors-empty__text,
.player-rumors-empty__hint {
  margin: 0 0 8px;
  color: var(--text-muted, #9aa3af);
  font-size: 0.9rem;
  line-height: 1.5;
}

.player-rumors-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

#player-rumors-more:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.player-rumors-footer {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .player-rumors-shell {
    padding: 16px 12px 40px;
  }

  .player-rumors-shell__title {
    font-size: 1.35rem;
  }

  .player-rumor-card__main {
    padding: 14px 12px;
  }
}

#view-player-rumors.view--active {
  display: block;
}

.page-player-rumors #view-community,
.page-player-rumors #view-directory {
  display: none;
}

.player-rumor-group {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  overflow: hidden;
}

.player-rumor-group__head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}

.player-rumor-group__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.35;
  word-break: break-word;
}

.player-rumor-group__route,
.player-rumor-group__meta,
.player-rumor-group__sources,
.player-rumor-group__more-hint {
  margin: 0 0 6px;
  color: var(--text-muted, #9aa3af);
  font-size: 0.86rem;
  line-height: 1.45;
}

.player-rumor-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 4px;
}

.player-rumor-group__articles {
  display: grid;
}

.player-rumor-group__article {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  color: inherit;
  cursor: pointer;
}

.player-rumor-group__article:first-child {
  border-top: 0;
}

.player-rumor-group__article:hover {
  background: var(--surface-soft);
}

.player-rumor-group__article-title {
  font-size: 0.92rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.player-rumor-group__article-meta {
  font-size: 0.8rem;
  color: var(--text-muted, #9aa3af);
}

.player-rumor-group__more-hint {
  padding: 0 16px 12px;
  font-size: 0.8rem;
}

.player-rumor-group__footer {
  padding: 0 16px 14px;
  display: flex;
  justify-content: center;
}

.player-rumor-group__error {
  margin: 0;
  padding: 0 16px 10px;
  color: #f0a0a0;
  font-size: 0.84rem;
}

.player-rumor-group__load-more:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .player-rumor-group__head {
    padding: 12px;
  }

  .player-rumor-group__article {
    padding: 10px 12px;
  }
}

/* ── Player search autocomplete ── */

body.theme-intel .player-search {
  position: relative;
  flex: 0 1 148px;
  min-width: 120px;
}

body.theme-intel .player-search input[type="search"] {
  width: 100%;
  padding: 9px 11px;
  font-size: 13px;
}

body.theme-intel .player-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 120;
  min-width: min(320px, calc(100vw - 24px));
  max-height: min(360px, calc(100vh - 96px));
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.theme-intel .player-search-dropdown__status {
  padding: 12px 14px;
  color: var(--text-muted, #9aa3af);
  font-size: 0.84rem;
}

body.theme-intel .player-search-dropdown__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text, #f3f4f6);
  text-align: left;
  cursor: pointer;
}

body.theme-intel .player-search-dropdown__item:last-child {
  border-bottom: 0;
}

body.theme-intel .player-search-dropdown__item:hover,
body.theme-intel .player-search-dropdown__item.is-active {
  background: var(--surface-muted);
}

body.theme-intel .player-search-dropdown__name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

body.theme-intel .player-search-dropdown__meta {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted, #9aa3af);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 900px) {
  body.theme-intel .player-search {
    flex: 1 1 140px;
  }
}

@media (max-width: 640px) {
  body.theme-intel .player-search {
    flex: 1 1 100%;
    min-width: 0;
  }

  body.theme-intel .player-search-dropdown {
    left: 0;
    right: auto;
    width: min(100vw - 24px, 360px);
  }
}

/* ── Topbar simplification (GPT UI review) ── */

body.theme-intel .topbar-stats {
  display: none;
}

body.theme-intel .topbar__inner {
  max-width: 1120px;
  min-height: 58px;
  padding: 0 18px;
}

body.theme-intel .brand-wrap {
  flex: 0 0 auto;
  gap: 12px;
}

body.theme-intel .topbar__actions {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
  gap: 8px;
}

body.theme-intel .unified-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(420px, 48vw);
}

body.theme-intel .unified-search input[type="search"],
body.theme-intel #search {
  width: 100%;
  min-width: 0;
}

body.theme-intel .auth-box {
  min-width: auto;
  flex: 0 0 auto;
}

body.theme-intel .google-login-slot {
  min-height: 34px;
}

.auth-modal {
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow:
    0 0 0 1px var(--border) inset,
    0 28px 56px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.auth-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.auth-modal__shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  max-height: calc(100vh - 28px);
}

.auth-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.auth-modal__accent {
  height: 3px;
  background: linear-gradient(90deg, #dc052d 0%, #fb923c 55%, rgba(220, 5, 45, 0.2) 100%);
}

.auth-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
}

.auth-modal__head-text {
  min-width: 0;
}

.auth-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.auth-modal__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.45;
}

.auth-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text-mute);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.auth-modal__close:hover,
.auth-modal__close:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.auth-modal__tabs {
  display: flex;
  gap: 0;
  margin: 0 20px;
  border-bottom: 1px solid var(--border);
}

.auth-modal__tab {
  position: relative;
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.auth-modal__tab:hover {
  color: var(--text);
}

.auth-modal__tab--active {
  color: var(--text);
}

.auth-modal__tab--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--fcb-red), #E81240);
}

.auth-modal__body {
  padding: 18px 20px 4px;
}

.auth-modal__footer {
  flex: 0 0 auto;
  padding: 0 20px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.auth-modal__footer--actions {
  padding-top: 12px;
}

.auth-modal__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 4px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  cursor: pointer;
}

.auth-modal__agree input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.auth-modal__rules-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-modal__rules-link:hover,
.auth-modal__rules-link:focus-visible {
  color: #f87171;
  outline: none;
}

.auth-modal__panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth-modal__panel:not([hidden]) {
  display: flex;
}

.auth-modal__panel[hidden],
.auth-modal__social[hidden] {
  display: none !important;
}

.auth-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-modal__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}

.auth-modal__label-note {
  font-weight: 500;
  color: var(--text-mute);
  opacity: 0.85;
}

.auth-modal__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-modal__input::placeholder {
  color: var(--text-mute);
}

.auth-modal__input:hover {
  border-color: var(--border-strong);
}

.auth-modal__input:focus {
  outline: none;
  border-color: var(--accent-border);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-modal__submit {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #dc052d 0%, #b80426 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.auth-modal__submit:hover,
.auth-modal__submit:focus-visible {
  background: linear-gradient(135deg, #e80633 0%, #c9052b 100%);
  color: #fff;
  border-color: transparent;
  filter: brightness(1.06);
}

.auth-modal__submit:active {
  transform: translateY(1px);
}

.auth-modal__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-modal__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.auth-modal__submit:disabled:hover {
  background: linear-gradient(135deg, #dc052d 0%, #b80426 100%);
  color: #fff;
}

.auth-modal__input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.auth-modal__input-row .auth-modal__input {
  flex: 1 1 auto;
  min-width: 0;
}

.auth-modal__check-btn {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.auth-modal__check-btn:hover,
.auth-modal__check-btn:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--fcb-red, #dc052d);
}

.auth-modal__social {
  padding: 8px 20px 0;
}

.auth-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 14px;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 500;
}

.auth-modal__divider::before,
.auth-modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.auth-modal__google {
  position: relative;
  width: 100%;
  margin-bottom: 4px;
}

.auth-modal__google-visible {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 46px;
}

.auth-modal__google-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.auth-modal__google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-modal__google-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft, var(--surface));
}

.auth-modal__google-btn svg {
  flex-shrink: 0;
}

.auth-modal__hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.55;
  text-align: center;
}

.community-rules-modal {
  width: min(480px, calc(100vw - 28px));
}

.community-rules-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  padding: 8px 20px 12px;
}

.community-rules-modal__section {
  margin: 0 0 14px;
}

.community-rules-modal__section h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.community-rules-modal__section p,
.community-rules-modal__section li {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.community-rules-modal__section ul {
  margin: 0;
  padding-left: 18px;
}

.community-rules-modal__section li + li {
  margin-top: 4px;
}

.community-rules-modal__updated {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--text-mute);
  text-align: right;
}

.community-mod-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.community-mod-toolbar .field--grow {
  flex: 1 1 200px;
  min-width: 0;
}

.community-mod-divider {
  height: 1px;
  margin: 16px 0;
  background: var(--border);
}

.community-mod-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-mod-card {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
}

.community-mod-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.community-mod-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.community-mod-card__meta {
  font-size: 11px;
  color: var(--text-mute);
}

.community-mod-card__reason {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.community-mod-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-mod-card__actions .btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.community-mod-user-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-soft);
  color: var(--text-mute);
}

.community-mod-user-status--suspended {
  color: #fbbf24;
}

.community-mod-user-status--banned {
  color: #f87171;
}

.community-mod-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.community-mod-role select {
  min-width: 120px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
}

.community-mod-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.community-mod-section-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.community-mod-section-head p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--text-mute);
}

.community-mod-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.community-mod-stat {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
}

.community-mod-stat__label {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
}

.community-mod-stat__value {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.2;
}

.community-mod-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.community-mod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.community-mod-table th,
.community-mod-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.community-mod-table th {
  font-size: 11px;
  color: var(--text-mute);
  background: var(--surface-soft);
}

.community-mod-table__empty {
  text-align: center;
  color: var(--text-mute);
  padding: 18px 10px !important;
}

.community-mod-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.community-mod-pagination__label {
  font-size: 12px;
  color: var(--text-mute);
}

.community-mod-detail {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-muted);
}

.community-mod-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.community-mod-detail__head h4 {
  margin: 0;
  font-size: 15px;
}

.community-mod-detail__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.community-mod-detail-stat {
  font-size: 12px;
  color: var(--text-dim);
}

.community-mod-detail-stat strong {
  color: var(--text);
}

.community-mod-detail__actions {
  margin-bottom: 10px;
}

.community-mod-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.community-mod-detail-tab {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
}

.community-mod-detail-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.community-mod-detail-panel {
  min-height: 80px;
}

.community-mod-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-mod-mini-item {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
}

.community-mod-mini-item p {
  margin: 0 0 4px;
  line-height: 1.45;
}

.community-mod-mini-item span {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
}

.community-mod-point-adjust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.community-mod-point-adjust input[type="number"] {
  width: 88px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.community-mod-point-adjust input[type="text"] {
  flex: 1 1 140px;
  min-width: 120px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.community-mod-user-status--warned {
  color: #fbbf24;
}

.auth-box__login-btn {
  white-space: nowrap;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .auth-modal__head {
    padding: 16px 16px 10px;
  }

  .auth-modal__tabs {
    margin: 0 16px;
  }

  .auth-modal__body {
    padding: 14px 16px 2px;
  }

  .auth-modal__footer {
    padding: 0 16px 16px;
  }

  .auth-modal__social {
    padding: 6px 16px 0;
  }

  .community-rules-modal__body {
    padding: 6px 16px 10px;
  }
}

.community-article__body-wrap--protected {
  position: relative;
  overflow: hidden;
}

.community-article__watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.1;
  background-repeat: repeat;
  background-size: 280px 140px;
}

.community-article__body-wrap--protected .community-article__body {
  position: relative;
  z-index: 1;
  user-select: text;
  -webkit-user-select: text;
}

.community-article__body-wrap--protected .community-article__body a {
  pointer-events: auto;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-article__body-wrap--protected img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.community-article__body a,
.board-post-body a {
  color: var(--brand, #dc052d);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.community-article__protect-note {
  margin: 0;
  padding: 8px 22px 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-mute);
  border-top: 0;
  background: var(--surface-soft);
}

body.theme-intel .user-chip {
  padding: 4px 8px;
  gap: 6px;
}

body.theme-intel .user-chip__name {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

body.theme-intel .topbar__account {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

body.theme-intel .topbar-more {
  position: relative;
  flex: 0 0 auto;
}

body.theme-intel .topbar-more__trigger {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-intel .topbar-more__icon {
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

body.theme-intel .topbar-more__trigger:hover {
  color: var(--text);
  border-color: var(--text-mute);
}

body.theme-intel .topbar-more__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(0, 0, 0, 0.45));
}

body.theme-intel .topbar-more__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  cursor: pointer;
}

body.theme-intel .topbar-more__item:hover {
  background: var(--surface-2, var(--surface-muted));
}

body.theme-intel .topbar-more__auth {
  display: block;
}

body.theme-intel .topbar-more__auth[hidden] {
  display: none !important;
}

body.theme-intel .topbar-more__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
}

body.theme-intel .topbar-more__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

body.theme-intel .topbar-more__user-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.theme-intel .topbar-more__user-copy strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-intel .topbar-more__user-copy span {
  font-size: 11px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-intel .topbar-more__item--danger {
  color: var(--fcb-red);
}

body.theme-intel .topbar-more__item--danger:hover {
  background: rgba(220, 5, 45, 0.08);
}

body.theme-intel .topbar-more__divider {
  height: 1px;
  margin: 6px 0;
  background: var(--border);
}

body.theme-intel .topbar__language {
  flex: 0 0 auto;
}

body.theme-intel .notification-bell {
  position: relative;
  flex: 0 0 auto;
}

body.theme-intel .notification-bell[hidden] {
  display: none !important;
}

body.theme-intel .notification-bell__trigger {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-intel .notification-bell__trigger:hover {
  border-color: var(--text-mute);
}

body.theme-intel .notification-bell__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

body.theme-intel .notification-panel {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 56px);
  right: 12px;
  z-index: 120;
  width: min(360px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - 96px));
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(0, 0, 0, 0.45));
  overflow: hidden;
}

body.theme-intel .notification-panel[hidden] {
  display: none !important;
}

body.theme-intel .notification-panel.is-open {
  display: flex;
}

body.theme-intel .notification-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

body.theme-intel .notification-panel__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.theme-intel .notification-panel__close {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-mute);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.theme-intel .notification-panel__close:hover {
  background: var(--surface-2, var(--surface-muted));
  color: var(--text);
}

body.theme-intel .notification-panel__title {
  font-size: 14px;
  font-weight: 700;
}

body.theme-intel .notification-panel__read-all {
  border: 0;
  background: transparent;
  color: var(--accent, #60a5fa);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

body.theme-intel .notification-panel__list {
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.theme-intel .notification-panel__empty {
  margin: 0;
  padding: 20px 14px;
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
}

body.theme-intel .notification-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
}

body.theme-intel .notification-item:last-child {
  border-bottom: 0;
}

body.theme-intel .notification-item:hover {
  background: var(--surface-2, var(--surface-muted));
}

body.theme-intel .notification-item--unread {
  background: color-mix(in srgb, var(--accent, #60a5fa) 8%, transparent);
}

body.theme-intel .notification-item__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.theme-intel .notification-item__message {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-intel .notification-item__time {
  font-size: 11px;
  color: var(--text-mute);
}

body.theme-intel .community-comment-item--highlight {
  animation: community-comment-highlight 2.2s ease-out;
}

@keyframes community-comment-highlight {
  0% { background: color-mix(in srgb, var(--accent, #60a5fa) 24%, transparent); }
  100% { background: transparent; }
}

body.theme-intel .notification-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.45);
}

body.theme-intel .notification-backdrop[hidden] {
  display: none !important;
}

body.notification-sheet-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  body.theme-intel .topbar__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: auto;
    padding: 8px 10px;
    gap: 8px;
  }

  body.theme-intel .brand__sub {
    display: none;
  }

  body.theme-intel .topbar__actions {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    align-items: center;
  }

  body.theme-intel .unified-search {
    max-width: none;
    grid-column: 1 / -1;
  }

  body.theme-intel .topbar__account {
    grid-column: 2 / -1;
    justify-content: flex-end;
  }

  body.theme-intel .auth-box,
  body.theme-intel .topbar-more {
    width: auto;
    min-width: 0;
  }
}

/* ── 오늘의 바이에른 (홈 뉴스 탭 상단) ── */

.today-home {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.today-home__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.today-home__top,
.home-top-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .today-home__top,
  .home-top-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.today-home__board {
  grid-column: 1 / -1;
}

.today-home__board-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.today-home__board-tab {
  flex: 1 1 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.today-home__board-tab--active {
  border-color: rgba(220, 5, 45, 0.35);
  background: rgba(220, 5, 45, 0.08);
  color: var(--fcb-red, #dc052d);
}

.today-home__board-cols {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .today-home__board-tabs {
    display: none;
  }

  .today-home__board-cols:not(.today-home__board-cols--single) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
}

.today-home__board-col-title {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-mute);
}

.today-home__board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.today-home__board-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  padding: 8px 0;
  cursor: pointer;
  color: inherit;
  border-bottom: 1px solid var(--border);
}

.today-home__board-item:last-child .today-home__board-link {
  border-bottom: 0;
  padding-bottom: 0;
}

.today-home__board-title-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.today-home__board-title-wrap--plain .today-home__board-title {
  padding-left: 0;
}

.today-home__board-title-wrap .community-lang-badge {
  flex-shrink: 0;
  font-size: 9px;
  min-width: 1.45em;
  padding: 0 3px;
  line-height: 1.45;
  margin-right: 0;
}

.today-home__board-title {
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-home__board-meta {
  justify-self: end;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-mute);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.today-home__board-footer-link {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 899px) {
  .today-home__board-col {
    display: none;
  }

  .today-home__board-col--active {
    display: block;
  }

  .today-home__board-cols--single .today-home__board-col {
    display: block;
  }

  .today-home__board-col-title {
    display: none;
  }

  .today-home__board-link {
    grid-template-columns: 1fr;
    row-gap: 3px;
    align-items: start;
  }

  .today-home__board-title-wrap {
    width: 100%;
  }

  .today-home__board-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .today-home__board-meta {
    justify-self: start;
    font-size: 0.76rem;
  }
}

@media (min-width: 900px) {
  .today-home__board-footer-link {
    display: none;
  }

  .today-home__board-col {
    display: block;
  }
}

.today-home__loading,
.today-home__empty {
  margin: 0;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border);
  color: var(--text-mute);
  font-size: 0.86rem;
  text-align: center;
}

.today-home__card {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 12px;
  min-width: 0;
}

.today-home__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.today-home__card-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
}

.today-home__card-link {
  border: 0;
  background: transparent;
  color: var(--fcb-red, #dc052d);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.today-home__match-btn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.today-home__match-teams {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

.today-home__match-team {
  width: 100%;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-align: center;
}

.today-home__match-vs {
  margin: 4px 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.today-home__match-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  text-align: center;
}

.today-home__match-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fcb-red, #dc052d);
  cursor: pointer;
}

.today-home__match-cta:hover {
  border-color: rgba(220, 5, 45, 0.35);
  background: rgba(220, 5, 45, 0.06);
}

.today-home__card-footnote {
  margin: 8px 0 0;
  font-size: 0.68rem;
  color: var(--text-mute);
  text-align: right;
}

.today-home__card--match .today-home__match-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.today-home__card--match .today-home__match-cta {
  align-self: stretch;
  justify-content: center;
}

.today-home__match-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(220, 5, 45, 0.12);
  color: var(--fcb-red, #dc052d);
  font-size: 0.76rem;
  font-weight: 700;
}

.today-home__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.today-home__list-item a,
.today-home__list-item button {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  padding: 6px 0;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.today-home__list-item:last-child a,
.today-home__list-item:last-child button {
  border-bottom: 0;
  padding-bottom: 0;
}

.today-home__list-main {
  min-width: 0;
  flex: 1 1 auto;
}

.today-home__list-rank {
  flex: 0 0 auto;
  width: 1.2rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--fcb-red, #dc052d);
}

.today-home__list-name,
.today-home__list-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-home__list-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--text-mute);
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.today-home__list-stat {
  flex: 0 0 auto;
  min-width: 2.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.today-home__list-stat--hot-count {
  font-size: 0.88rem;
  font-weight: 800;
  color: #d61f35;
}

/* ── HOT mini strip on 소식 tab ── */

.community-hot-mini {
  position: relative;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  min-height: 0;
}

.community-hot-mini::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 48px;
  height: 40px;
  pointer-events: none;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, transparent, var(--surface) 70%);
}

.community-hot-mini__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.community-hot-mini__title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--fcb-red);
  white-space: nowrap;
}

.community-hot-mini__all {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.community-hot-mini__all:hover {
  color: var(--text);
  text-decoration: underline;
}

.community-hot-mini__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  padding-right: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.community-hot-mini__chips::-webkit-scrollbar {
  display: none;
}

.community-hot-mini__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .community-hot-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .community-hot-mini__head {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .community-hot-mini__chips {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.community-hot-mini__chip--loading {
  min-width: 108px;
  pointer-events: none;
}

.community-hot-mini__chip--loading .skeleton-line--hot-name {
  display: inline-block;
  width: 64px;
  height: 10px;
  border-radius: 999px;
}

.community-hot-mini__chip--loading .skeleton-line--hot-count {
  display: inline-block;
  width: 24px;
  height: 10px;
  border-radius: 999px;
}

.community-hot-mini__chip:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.community-hot-mini__count {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.community-hot-mini__count--pending {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82em;
}

.community-hot-mini__chip--pending {
  opacity: 0.92;
}

.community-hot-mini__chip--pending .community-hot-mini__count--pending {
  letter-spacing: -0.01em;
}

/* ── Community board mobile cards ── */

.community-board-row-meta {
  display: none;
}

@media (max-width: 720px) {
  .community-board-table thead {
    display: none;
  }

  .community-board-table,
  .community-board-table tbody,
  .community-board-table tr,
  .community-board-table td {
    display: block;
    width: 100%;
  }

  .community-board-row {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
  }

  .community-board-row--active {
    background: var(--surface-2, var(--surface-muted));
  }

  .community-board-table .col-tag {
    width: auto;
    margin-bottom: 4px;
  }

  .community-board-table .col-title {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }

  .community-board-title {
    display: inline;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }

  .community-board-row-meta {
    display: flex;
    margin-top: 4px;
  }

  .community-board-title-line .community-board-title,
  .community-board-title-line .community-notice-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
  }

  .community-board-table .col-author,
  .community-board-table .col-date,
  .community-board-table .col-comments {
    display: none !important;
  }
}

/* ── Compose toolbar: core + more ── */

body.theme-intel .community-rich-editor__toolbar:not(.is-expanded) .community-rich-editor__btn--extra,
body.theme-intel .community-rich-editor__toolbar:not(.is-expanded) .community-rich-editor__sep--extra,
body.theme-intel .community-rich-editor__toolbar:not(.is-expanded) .community-rich-editor__row--extra {
  display: none;
}

body.theme-intel .community-rich-editor__btn--more {
  margin-left: auto;
  min-width: 26px;
  font-size: 14px;
  font-weight: 700;
  padding: 0 6px;
  color: var(--text-dim);
}

body.theme-intel .community-rich-editor__toolbar.is-expanded .community-rich-editor__btn--more {
  background: var(--accent-soft, rgba(220, 38, 38, 0.12));
  color: var(--accent);
}

/* ── Reactions (따봉 / 역따봉) ── */

body.theme-intel .reaction-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

body.theme-intel .reaction-bar--compact {
  margin-top: 8px;
  gap: 6px;
}

body.theme-intel .reaction-bar--inline {
  margin-top: 0;
  gap: 6px;
}

body.theme-intel .reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2, var(--surface-muted));
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

body.theme-intel .reaction-bar--compact .reaction-btn {
  padding: 5px 12px;
  font-size: 13px;
}

body.theme-intel .reaction-btn__icon {
  font-size: 15px;
  line-height: 1;
}

body.theme-intel .reaction-btn__label {
  display: none;
}

body.theme-intel .reaction-bar--text-labels .reaction-btn__label {
  display: inline;
  font-size: 13px;
  font-weight: 600;
}

body.theme-intel .reaction-bar--text-labels .reaction-btn__icon {
  display: none;
}

body.theme-intel .reaction-btn__count {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 1.15em;
  text-align: center;
  color: var(--text, #111827);
  line-height: 1.2;
}

body.theme-intel .reaction-btn:hover:not(:disabled) {
  border-color: var(--accent, #dc2626);
  background: var(--accent-soft, rgba(220, 38, 38, 0.1));
}

body.theme-intel .reaction-btn--active.reaction-btn--up {
  border-color: #16a34a;
  background: #ecfdf3;
  color: var(--text, #111827);
}

body.theme-intel .reaction-btn--active.reaction-btn--up .reaction-btn__count {
  color: #15803d;
}

body.theme-intel .reaction-btn--active.reaction-btn--down {
  border-color: #ea580c;
  background: #fff7ed;
  color: var(--text, #111827);
}

body.theme-intel .reaction-btn--active.reaction-btn--down .reaction-btn__count {
  color: #c2410c;
}

body.theme-intel .community-news-card__reactions .reaction-btn {
  padding: 3px 8px;
  gap: 4px;
  background: #fff;
  border-color: #d1d5db;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.theme-intel .community-news-card__reactions .reaction-btn__icon {
  font-size: 12px;
}

body.theme-intel .community-news-card__reactions .reaction-btn__count {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  min-width: 1em;
}

body.theme-intel .community-news-card__reactions .reaction-btn--active.reaction-btn--up .reaction-btn__count {
  color: #166534;
}

body.theme-intel .community-news-card__reactions .reaction-btn--active.reaction-btn--down .reaction-btn__count {
  color: #9a3412;
}

body.theme-intel .reaction-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

body.theme-intel .community-article__reactions-bar .reaction-bar--compact {
  gap: 6px;
}

body.theme-intel .community-board-row--notice {
  background: rgba(220, 38, 38, 0.06);
}

body.theme-intel .community-board-tag--notice {
  color: var(--accent, #dc2626);
  font-weight: 700;
}

body.theme-intel .community-board-tag--feedback {
  color: #0ea5e9;
  font-weight: 700;
}

body.theme-intel .community-feedback-panel {
  /* 팬게시판 톤에 맞게 '독립 카드' 느낌을 줄임 */
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-intel .community-feedback-compose-fold {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  overflow: hidden;
  box-sizing: border-box;
}

body.theme-intel .community-feedback-compose-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

body.theme-intel .community-feedback-compose-fold__summary::-webkit-details-marker {
  display: none;
}

body.theme-intel .community-feedback-compose-fold__summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 4px;
  transition: transform 0.15s ease;
}

body.theme-intel .community-feedback-compose-fold[open] .community-feedback-compose-fold__summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

body.theme-intel .community-feedback-compose-fold__hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-compose-fold__body {
  padding: 0 10px 10px;
  border-top: 1px solid var(--border);
}

body.theme-intel .community-feedback-compose-fold__body .community-feedback-panel__sub {
  margin: 8px 0 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-compose-fold .community-feedback-compose {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.theme-intel .community-feedback-compose-fold__body .community-feedback-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

body.theme-intel .community-feedback-panel__intro {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

body.theme-intel .community-feedback-panel__title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
}

body.theme-intel .community-feedback-panel__sub {
  margin: 0;
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.4;
}

body.theme-intel .community-feedback-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-intel .community-feedback-compose__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-compose__input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  resize: vertical;
  box-sizing: border-box;
}

body.theme-intel .community-feedback-compose__input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

body.theme-intel .community-feedback-compose__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  body.theme-intel .community-feedback-compose__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.theme-intel .community-feedback-compose__hint {
    width: 100%;
    min-width: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  body.theme-intel .community-feedback-compose__foot .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

body.theme-intel .community-feedback-compose__hint {
  font-size: 12px;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.theme-intel .community-feedback-card {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.theme-intel .community-feedback-card:hover,
body.theme-intel .community-feedback-card:focus-visible {
  border-color: rgba(14, 165, 233, 0.45);
  background: var(--surface-muted);
}

body.theme-intel .community-feedback-card--active {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25) inset;
}

body.theme-intel .community-feedback-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

body.theme-intel .community-feedback-card__author {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 13px;
}

body.theme-intel .community-feedback-card__date {
  font-size: 12px;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

body.theme-intel .community-feedback-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-card__comments--muted {
  opacity: 0.75;
}

body.theme-intel .community-feedback-card__more {
  color: #0ea5e9;
  font-weight: 600;
}

body.theme-intel .community-feedback-card__comments-fold {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  overflow: hidden;
}

body.theme-intel .community-feedback-card__comments-summary {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0ea5e9;
  cursor: pointer;
  list-style: none;
}

body.theme-intel .community-feedback-card__comments-summary::-webkit-details-marker {
  display: none;
}

body.theme-intel .community-feedback-card__comments-body {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border);
}

body.theme-intel .community-feedback-card__thread .community-comment-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

body.theme-intel .community-feedback-card__thread .community-comment-item:last-child {
  border-bottom: 0;
}

body.theme-intel .community-feedback-card__comments-loading,
body.theme-intel .community-feedback-card__comments-empty,
body.theme-intel .community-feedback-card__comments-error {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
}

body.theme-intel .community-feedback-card__comments-error {
  color: #dc2626;
}

body.theme-intel .community-feedback-empty {
  margin: 0;
  padding: 18px 12px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
}

body.theme-intel .community-article__title--feedback {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
}

body.theme-intel .community-board-notice__link {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

body.theme-intel .community-board-notice__link:hover .community-board-notice__text {
  text-decoration: underline;
}

body.theme-intel .community-compose-fm__notice {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

body.theme-intel .community-compose-fm__notice-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

body.theme-intel .community-compose-fm__notice-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

body.theme-intel .community-compose-fm__notice-colors {
  margin-top: 10px;
}

body.theme-intel .community-compose-fm__notice-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.theme-intel .community-compose-fm__notice-color-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-dim);
}

body.theme-intel .community-compose-fm__notice-color-option:has(input:checked) {
  border-color: var(--accent, #dc2626);
  background: var(--accent-soft, rgba(220, 38, 38, 0.1));
  color: var(--text);
}

body.theme-intel .community-compose-fm__notice-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.theme-intel .community-compose-fm__notice-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

body.theme-intel .community-compose-fm__notice-color-swatch--accent { background: var(--fcb-red); }
body.theme-intel .community-compose-fm__notice-color-swatch--gold { background: #fbbf24; }
body.theme-intel .community-compose-fm__notice-color-swatch--cyan { background: #22d3ee; }
body.theme-intel .community-compose-fm__notice-color-swatch--green { background: #4ade80; }
body.theme-intel .community-compose-fm__notice-color-swatch--orange { background: #fb923c; }
body.theme-intel .community-compose-fm__notice-color-swatch--violet { background: #a78bfa; }
body.theme-intel .community-compose-fm__notice-color-swatch--white { background: #f8fafc; }

/* 공지 제목 강조 (운영자 지정 색) */

body.theme-intel .community-notice-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-intel .community-notice-title--accent { color: var(--fcb-red); }
body.theme-intel .community-notice-title--gold { color: #fbbf24; }
body.theme-intel .community-notice-title--cyan { color: #22d3ee; }
body.theme-intel .community-notice-title--green { color: #4ade80; }
body.theme-intel .community-notice-title--orange { color: #fb923c; }
body.theme-intel .community-notice-title--violet { color: #c4b5fd; }
body.theme-intel .community-notice-title--white { color: var(--text); }

body.theme-intel .community-board-row--notice .community-board-title.community-notice-title {
  font-size: 14px;
}

body.theme-intel .community-board-notice__text.community-notice-title {
  font-size: 13px;
}

body.theme-intel .community-article__title.community-notice-title {
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  line-height: 1.3;
}

body.theme-intel .community-board-popular__title.community-notice-title {
  font-weight: 800;
}

/* 라이트 테마 — 모바일 스포츠 시트 */
body.theme-intel .mobile-sports-panel__sheet {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

body.theme-intel .mobile-sports-panel__head {
  border-bottom-color: var(--border);
}

body.theme-intel .mobile-sports-panel__close {
  border-color: var(--border-strong);
  color: var(--text);
}

/* FCB Rot & Weiß — 모바일 하단 네비 */
@media (max-width: 900px) {
  body.theme-intel .mobile-bottom-nav:not([hidden]) {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  }

  body.theme-intel .mobile-bottom-nav__item {
    border-color: var(--border);
    background: var(--surface-soft);
    color: var(--text-dim);
  }

  body.theme-intel .mobile-bottom-nav__item--active {
    border-color: var(--accent-border);
    color: var(--fcb-red);
    background: var(--accent-soft);
  }
}

/* ── Admin console (/admin) ── */

body.page-admin {
  background: #f4f5f7;
}

body.page-admin .community-match-banner-slot,
body.page-admin #app-sidebar,
body.page-admin .mobile-bottom-nav {
  display: none !important;
}

body.page-admin .layout--intel {
  display: block;
  max-width: none;
  padding: 0;
}

body.page-admin .layout--intel > .content,
body.page-admin #view-admin {
  max-width: none;
  width: 100%;
}

body.page-admin .topbar-stats {
  display: none;
}

.admin-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.admin-page__header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-page__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-page__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.admin-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-page__nav-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.admin-page__nav-btn:hover:not(:disabled) {
  border-color: #d1d5db;
  color: #111827;
}

.admin-page__nav-btn.is-active {
  border-color: #111827;
  color: #111827;
  background: #fff;
  box-shadow: inset 0 0 0 1px #111827;
}

.admin-page__nav-btn--soon {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-page__section-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-kpi {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-kpi__label {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

.admin-kpi__value {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #111827;
}

.admin-kpi--warn .admin-kpi__value {
  color: #d97706;
}

.admin-kpi--danger .admin-kpi__value {
  color: #dc2626;
}

.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-filter-bar__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
}

.admin-filter-bar__field--grow {
  flex: 1 1 220px;
  min-width: 0;
}

.admin-filter-bar__field input,
.admin-filter-bar__field select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 13px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f1f3;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #fafafa;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #fafbfc;
}

.admin-table tbody tr.is-selected {
  background: #eff6ff;
}

.admin-table__empty {
  text-align: center;
  color: #9ca3af;
  padding: 28px 12px !important;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.admin-pagination__label {
  font-size: 12px;
  color: #6b7280;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-badge--ok {
  color: #166534;
  background: #ecfdf3;
}

.admin-badge--warn {
  color: #92400e;
  background: #fffbeb;
}

.admin-badge--danger {
  color: #991b1b;
  background: #fef2f2;
}

.admin-badge--staff {
  color: #1e40af;
  background: #eff6ff;
}

.admin-badge--muted {
  color: #4b5563;
  background: #f3f4f6;
}

.admin-users-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-users-layout.is-drawer-open {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.admin-users-main {
  min-width: 0;
}

.admin-member-pane {
  min-width: 0;
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  position: sticky;
  top: 12px;
}

.admin-member-pane__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f1f3;
}

.admin-member-pane__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.admin-member-pane__meta {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
  word-break: break-all;
}

.admin-member-pane__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.admin-member-pane__stat {
  padding: 8px 10px;
  border: 1px solid #f0f1f3;
  border-radius: 6px;
  font-size: 11px;
  color: #6b7280;
}

.admin-member-pane__stat strong {
  display: block;
  margin-top: 2px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  word-break: break-all;
}

.admin-member-pane__section {
  margin-bottom: 12px;
}

.admin-member-pane__section-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.admin-member-pane__actions .community-mod-card__actions {
  gap: 4px;
}

.admin-member-pane__actions .btn {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.admin-member-pane__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.admin-member-pane__tab {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #6b7280;
  font-size: 11px;
  cursor: pointer;
}

.admin-member-pane__tab.is-active {
  border-color: #111827;
  color: #111827;
}

.admin-member-pane__body {
  min-height: 100px;
}

.admin-member-pane__backdrop {
  display: none;
}

.admin-member-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-member-card {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-member-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-member-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  font-size: 12px;
  color: #6b7280;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-dashboard-block {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.admin-dashboard-block--wide {
  grid-column: 1 / -1;
}

.admin-dashboard-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-dashboard-block__head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.admin-dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}

.admin-dashboard-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.admin-dashboard-item:last-child {
  border-bottom: 0;
}

.admin-console-redirect {
  padding: 20px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  background: #fafafa;
  text-align: center;
}

.admin-console-redirect p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7280;
}

.admin-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-mini-item {
  padding: 8px 10px;
  border: 1px solid #f0f1f3;
  border-radius: 6px;
  font-size: 12px;
}

.admin-mini-item strong {
  display: block;
  margin-bottom: 4px;
}

.admin-mini-item span {
  color: #6b7280;
  font-size: 11px;
}

.admin-point-adjust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}

.admin-point-adjust input[type="number"] {
  width: 88px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.admin-point-adjust input[type="text"] {
  flex: 1 1 140px;
  min-width: 120px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-users-layout.is-drawer-open {
    grid-template-columns: 1fr;
  }

  .admin-users-layout.is-drawer-open .admin-users-main {
    display: none;
  }

  .admin-member-pane {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1201;
    width: min(100vw, 420px);
    max-height: none;
    height: 100%;
    border-radius: 0;
    border-left: 1px solid #e5e7eb;
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.12);
  }

  body.admin-drawer-open .admin-member-pane__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    border: 0;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
  }

  .admin-table-wrap {
    display: none;
  }

  .admin-member-cards,
  .admin-report-cards,
  .admin-log-cards {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }
}

@media (min-width: 901px) {
  .admin-member-cards,
  .admin-report-cards,
  .admin-log-cards {
    display: none !important;
  }
}
