:root {
  --paper: #fff;
  --surface: #fff;
  --fill: #f7f8fa;
  --ink: #191f28;
  --ink-2: #4e5968;
  --mute: #6b7684;
  --line: #e5e8eb;
  --line-2: #f2f4f6;
  --accent: #2563d9;
  --accent-soft: #edf4ff;
  --pro: #2563d9;
  --pro-soft: #edf4ff;
  --con: #c44352;
  --con-soft: #fff0f1;
  --und: #c5cbd3;
  --focus: #2563d9;
  --sans:
    -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: -0.2px;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a,
button {
  touch-action: manipulation;
}
svg.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
p {
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  margin: 36px 0 12px;
  font-weight: 700;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 32px 0 16px;
  font-weight: 700;
}
h3 {
  font-size: 15px;
  margin: 22px 0 10px;
  font-weight: 600;
}
.mute {
  color: var(--mute);
}
.small {
  font-size: 13px;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wrap {
  margin: auto;
  padding: 0 32px 80px;
  min-height: calc(100vh - 220px);
  max-width: 1120px;
}
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.header-inner {
  margin: auto;
  display: flex;
  align-items: center;
  max-width: 1120px;
  height: 72px;
  padding: 0 32px;
  gap: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.3px;
  color: #333d4b;
}
nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  white-space: nowrap;
  font-size: 15px;
  gap: 28px;
}
nav a {
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink-2);
  gap: 7px;
  border-bottom: 0;
  padding: 0 2px;
}
nav a.on {
  border-bottom-color: var(--accent);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 0;
}
.me {
  margin-left: auto;
  font-size: 13px;
  flex-shrink: 0;
}
.auth {
  display: flex;
  gap: 9px;
  align-items: center;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pro-soft);
  color: var(--pro);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--accent);
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 18px;
  transition: background 0.15s;
}
.btn:hover:not(:disabled) {
  background: #1d50b4;
  border-color: #1d50b4;
  transform: none;
}
.btn.ghost {
  background: var(--line-2);
  color: var(--ink-2);
  border-color: transparent;
}
.btn.ghost:hover {
  background: #e5e8eb;
  border-color: transparent;
}
.btn.sm {
  min-height: 38px;
  font-size: 13px;
  padding: 8px 14px;
}
.btn.pro {
  background: var(--pro);
  border-color: var(--pro);
  color: #fff;
}
.btn.con {
  background: var(--con);
  border-color: var(--con);
  color: #fff;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
}
.text-button:hover {
  color: var(--accent);
}
.hero {
  position: relative;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 24px;
  display: block;
  padding: 58px 0 44px;
  border-bottom: 0;
}
.hero h1 {
  font-family: var(--sans);
  font-size: 34px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -1.1px;
  margin: 0 0 13px;
}
.hero p {
  margin-bottom: 23px;
  word-break: keep-all;
  font-size: 16px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 48px;
  padding-top: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 21px;
  gap: 8px;
}
.section-heading p {
  font-size: 12px;
  color: var(--mute);
  margin: 4px 0 0;
}
.count-badge {
  border-radius: 5px;
  font-family: var(--sans);
  letter-spacing: 0;
  background: transparent;
  padding: 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--mute);
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 240px;
}
.search svg {
  position: absolute;
  color: var(--mute);
  left: 14px;
  width: 18px;
}
.search input {
  background: var(--fill);
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  min-height: 44px;
  padding: 11px 14px 11px 40px;
}
.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  margin-bottom: 16px;
  gap: 12px;
}
.filter-tabs {
  display: flex;
  gap: 6px;
}
.filter-tab {
  position: relative;
  color: var(--mute);
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 14px;
  min-height: 38px;
  border-radius: 9px;
}
.filter-tab.on {
  background: var(--line-2);
  color: var(--ink);
  font-weight: 600;
}
.filter-tab.on:after {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  content: none;
}
.filter-tab span {
  color: var(--mute);
  font-weight: 400;
  font-size: 12px;
  margin-left: 5px;
}
.sort-select {
  border: 0 !important;
  background: transparent !important;
  width: auto !important;
  color: var(--ink-2) !important;
  padding: 8px 2px !important;
  font-size: 13px !important;
  min-height: 38px !important;
}
.topic-list {
  display: grid;
  gap: 14px;
}
.card {
  background: var(--surface);
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.card.link {
  display: block;
  text-decoration: none;
}
.topic-card {
  margin: 0;
  overflow: hidden;
  background: var(--fill);
  border: 0;
  padding: 27px 28px;
  border-radius: 16px;
  transition: background 0.15s;
}
.topic-card:hover {
  background: #f0f2f5;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.topic-date {
  color: var(--mute);
  font-size: 12px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 12px;
  border-radius: 6px;
  padding: 3px 8px;
  background: var(--line-2);
}
.status.live {
  background: var(--pro-soft);
  color: var(--pro);
}
.status.live:before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pro);
  content: none;
}
.status.scheduled {
  color: #596579;
  background: #e9edf2;
}
.status.closed {
  color: var(--ink-2);
  background: #e9edf2;
}
.ttl {
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
  margin: 13px 0 9px;
  letter-spacing: -0.6px;
}
.topic-excerpt {
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mute);
  font-size: 12px;
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}
.card-footer > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-footer svg {
  width: 14px;
  height: 14px;
}
.card-footer .card-cta {
  margin-left: auto;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.card-cta svg {
  margin-left: 2px;
}
.balance-label {
  display: flex;
  justify-content: space-between;
  color: var(--mute);
  font-size: 12px;
}
.balance-label .pro-text {
  color: var(--pro);
}
.balance-label .con-text {
  color: var(--con);
}
.bar {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  height: 5px;
  gap: 2px;
  margin: 9px 0 0;
  background: var(--line);
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.bar .p {
  background: #7daaf5;
}
.bar .c {
  background: #e8a1aa;
}
.bar .u {
  background: var(--und);
}
.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-2);
  margin-top: 12px;
  font-size: 13px;
}
.legend b {
  font-weight: 600;
  color: var(--ink);
}
.legend .dp:before,
.legend .dc:before,
.legend .du:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}
.legend .dp:before {
  background: var(--pro);
}
.legend .dc:before {
  background: var(--con);
}
.legend .du:before {
  background: var(--und);
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.guide-card {
  position: relative;
  padding: 22px;
  border: 0;
  border-radius: 14px;
  background: var(--fill);
}
.guide-card h2 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--ink);
}
.guide-card > p {
  margin-bottom: 23px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
  margin: 0 0 18px;
  word-break: keep-all;
}
.guide-card .text-button {
  padding-top: 16px;
  width: 100%;
  padding: 0;
  border-top: 0;
  justify-content: flex-start;
  font-size: 14px;
  color: var(--accent);
}
.sidebar-section {
  padding: 4px 0 0;
}
.sidebar-section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px;
}
.sidebar-section h3 svg {
  width: 16px;
  color: var(--mute);
}
.upcoming-item {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line-2);
  padding: 18px 0;
}
.upcoming-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.upcoming-item .small {
  font-size: 12px;
  color: var(--mute);
}
.upcoming-item b {
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  margin: 7px 0;
}
.upcoming-item:hover b {
  color: var(--accent);
}
.sidebar-empty {
  line-height: 1.9;
  color: var(--mute);
  margin: 0;
  padding-bottom: 6px;
  font-size: 14px;
}
.archive-callout {
  text-decoration: none;
  display: flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.archive-callout > svg {
  color: var(--mute);
  width: 18px;
  margin-top: 0;
}
.archive-callout b {
  font-size: 15px;
  font-weight: 600;
}
.archive-callout p {
  color: var(--mute);
  line-height: 1.8;
  font-size: 13px;
  margin: 6px 0 0;
}
.archive-callout span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
}
.archive-callout span svg {
  width: 14px;
}
.community-note {
  display: flex;
  gap: 8px;
  line-height: 1.8;
  font-size: 12px;
  color: var(--mute);
  margin: 0;
  padding: 0;
}
.community-note svg {
  width: 15px;
  margin-top: 2px;
}
.empty {
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  background: var(--fill);
  border: 0;
  border-radius: 16px;
  padding: 64px 24px;
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 17px;
  background: var(--line-2);
  color: var(--mute);
}
.empty h3 {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 18px;
}
.empty p {
  max-width: 330px;
  margin: 0 auto;
  word-break: keep-all;
  font-size: 14px;
}
.empty .btn {
  margin-top: 20px;
}
.empty .text-button {
  margin-top: 16px;
  color: var(--accent);
}
.page-heading {
  padding: 48px 0 32px;
  border-bottom: 0;
  margin-bottom: 8px;
}
.page-heading h1 {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}
.page-heading p {
  color: var(--mute);
  margin-bottom: 0;
  font-size: 16px;
}
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  font-size: 12px;
  text-decoration: none;
  margin: 27px 0 0;
}
.back-link:hover {
  color: var(--accent);
}
.detail-grid {
  display: grid;
  margin-top: 22px;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
}
.detail-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.detail-header h1 {
  font-family: var(--sans);
  margin: 17px 0 16px;
  letter-spacing: -1px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
.detail-background {
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.85;
}
.topic-scope {
  margin-top: 23px;
  background: var(--fill);
  border: 0;
  border-radius: 12px;
  padding: 17px 20px;
}
.topic-scope summary {
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}
.def {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 16px 0 4px;
  font-size: 13px;
}
.def dt {
  color: var(--mute);
}
.def dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stance-card {
  background: var(--fill);
  border: 0;
  border-radius: 16px;
  padding: 24px;
}
.stance-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.stance-card > p {
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 18px;
}
.stance-card .bar {
  margin-top: 14px;
}
.stance-card .legend {
  font-size: 12px;
  gap: 14px;
}
.stance-divider {
  border-top: 1px solid var(--line-2);
  margin: 22px 0 17px;
}
.seg {
  display: inline-flex;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #e9edf2;
  padding: 4px;
  gap: 4px;
}
.seg button {
  font-size: 13px;
  border-right: 1px solid var(--line);
  flex: 1;
  border: 0;
  border-radius: 7px;
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 500;
}
.seg button:last-child {
  border-right: 0;
}
.seg button.on.p {
  background: var(--surface);
  color: var(--pro);
}
.seg button.on.c {
  background: var(--surface);
  color: var(--con);
}
.seg button.on.u {
  background: var(--surface);
  color: var(--ink);
}
.stance-card .seg {
  display: flex;
  margin-bottom: 12px;
}
.stance-card .small {
  line-height: 1.8;
  font-size: 12px;
}
.claim-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.claim-toolbar .small {
  margin-left: auto;
  font-size: 11px;
}
.claim {
  position: relative;
  border-left: 3px solid var(--line);
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 0;
  margin: 0;
}
.claim.rebut {
  border-left-color: var(--line);
}
.claim.review {
  border-left-style: dashed;
}
.claim.withdrawn .text {
  text-decoration: line-through;
  color: var(--mute);
}
.claim .rel {
  display: inline-block;
  font-weight: 500;
  background: var(--pro-soft);
  color: var(--pro);
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 5px;
}
.claim.rebut .rel {
  color: var(--con);
  background: var(--con-soft);
}
.claim .text {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  margin: 14px 0;
}
.ev {
  color: var(--ink-2);
  margin: 8px 0;
  line-height: 1.85;
  white-space: pre-wrap;
  background: var(--fill);
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}
.ev .type {
  font-weight: 600;
  color: var(--ink);
  margin-right: 9px;
  font-size: 12px;
}
.ev a {
  word-break: break-all;
  color: var(--pro);
  text-underline-offset: 3px;
}
.meta {
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 15px;
  font-size: 12px;
  gap: 10px;
}
.meta a {
  color: var(--ink-2);
  text-decoration: none;
}
.acts {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 17px;
}
.tiny {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--surface);
  font-size: 12px;
  border-radius: 7px;
  padding: 6px 10px;
  min-height: 32px;
}
.tiny:hover {
  background: var(--paper);
}
.tiny.on {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.tiny.p {
  color: var(--pro);
}
.tiny.c {
  color: var(--con);
}
.children {
  margin-top: 20px;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.children .claim {
  margin: 10px 0;
  background: var(--fill);
  border: 0;
  border-radius: 12px;
  padding: 18px;
}
.children .children {
  padding-left: 8px;
}
.rate {
  display: inline-flex;
  gap: 3px;
}
.rate button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  color: var(--mute);
}
.rate button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sumbox {
  padding: 25px;
  background: var(--fill);
  border: 0;
  border-radius: 16px;
}
.sumbox ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.sumbox li {
  margin: 8px 0;
  font-size: 13px;
}
.stat {
  font-family: var(--sans);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
}
input,
textarea,
select {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 11px 13px;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
}
input::placeholder,
textarea::placeholder {
  color: #6b7684;
  font-size: 14px;
}
textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.8;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 19px 0 7px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  background: var(--surface);
  min-height: 36px;
}
.chip.on {
  background: var(--pro-soft);
  color: var(--pro);
  border-color: var(--pro);
}
.note {
  color: var(--ink-2);
  margin: 14px 0;
  background: var(--fill);
  border-left: 0;
  border-radius: 10px;
  font-size: 14px;
  padding: 14px 16px;
}
.note.warn {
  border-color: var(--con);
  background: var(--con-soft);
}
.note.ok {
  border-color: var(--pro);
  background: var(--pro-soft);
}
dialog {
  background: var(--surface);
  color: var(--ink);
  width: min(570px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 64px #191f2826;
}
dialog::backdrop {
  background: #191f2866;
  backdrop-filter: none;
}
dialog h2 {
  font-size: 23px;
  margin: 4px 34px 12px 0;
}
dialog > p {
  line-height: 1.9;
}
.dialog-close {
  position: absolute;
  right: 19px;
  top: 19px;
  padding: 7px;
  color: var(--mute);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}
.dialog-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.dialog-footnote {
  color: var(--mute);
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line-2);
  margin-bottom: 0;
  font-size: 12px;
}
.queue-filters { margin-bottom: 24px; }
.moderation-card-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; }
.moderation-status { white-space: nowrap; border-radius: 6px; padding: 5px 9px; font-size: 12px; background: var(--fill); }
.moderation-status.review { background: #fff4d6; color: #775500; }
.moderation-status.rejected { background: var(--con-soft); color: var(--con); }
.moderation-status.live { background: var(--pro-soft); color: var(--pro); }
.moderation-decision p { margin: 8px 0; white-space: pre-wrap; }
.redaction-note { background: var(--fill); border-radius: 8px; padding: 12px 14px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.redaction-note ul { margin: 6px 0 0; padding-left: 18px; }
.moderation-form label { display: block; margin: 18px 0 8px; }
.moderation-form textarea[readonly] { cursor: text; user-select: text; }
.moderation-form > .btn { margin-top: 18px; width: 100%; }
.redaction-controls { margin: 24px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.redaction-controls legend { padding: 0 6px; font-weight: 600; }
.redaction-controls .btn { margin-top: 8px; }
.mod-url { overflow-wrap: anywhere; }
.btn.kakao-login {
  width: 100%;
  margin-top: 18px;
  background: #fee500;
  color: #191919;
  border-color: #fee500;
}
.btn.kakao-login:hover {
  background: #f5dc00;
}
.guide-dialog ol {
  padding-left: 24px;
}
.guide-dialog li {
  padding: 9px 0 9px 5px;
  font-size: 13px;
  color: var(--ink-2);
}
.guide-dialog li b {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.ad {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
}
.ad img {
  display: block;
  width: 100%;
  height: auto;
}
.ad-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 13px 21px;
  border-radius: 9px;
  font-size: 13px;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: max-content;
  box-shadow: 0 5px 25px #18241b20;
}
.toast.show {
  opacity: 1;
}
.site-footer {
  background: var(--fill);
  border-top: 0;
  padding: 32px 0;
}
.footer-inner {
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
}
.site-footer .brand {
  font-size: 18px;
}
.site-footer p {
  font-size: 11px;
  color: var(--mute);
  margin: 0;
}
.site-footer .text-button {
  margin-left: auto;
  font-size: 13px;
}
.copyright {
  font-size: 12px;
  color: var(--mute);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.loading-state {
  text-align: center;
  padding: 110px 20px;
}
.loading-state h1 {
  font-size: 20px;
  margin-top: 22px;
}
.loading-state p {
  font-size: 13px;
  color: var(--mute);
}
.loader {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.error-state {
  max-width: 540px;
  margin: 75px auto;
}
.inline-error {
  background: var(--con-soft);
  border: 1px solid #ffd6dc;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--con);
  margin-top: 20px;
}
.inline-error .text-button {
  color: var(--con);
  white-space: nowrap;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1000px) {
  .detail-grid > .sidebar {
    position: sticky;
    top: 106px;
    align-self: start;
  }
  .content-page {
    max-width: 800px;
    margin: auto;
  }
  .profile-page {
    max-width: 800px;
    margin: auto;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 40px;
  }
  .main-grid,
  .detail-grid {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .header-inner:has(nav a:nth-child(3)) {
    gap: 22px;
  }
  .header-inner:has(nav a:nth-child(3)) nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .header-inner {
    padding: 0 24px;
    height: 72px;
    gap: 30px;
  }
  .wrap {
    padding: 0 24px 55px;
  }
  .main-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar .community-note {
    grid-column: 1/-1;
  }
  .detail-grid .sidebar {
    display: flex;
    grid-row: 1;
  }
  .detail-grid .sidebar .guide-card,
  .detail-grid .sidebar .community-note {
    display: none;
  }
  .detail-grid .stance-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .stance-divider {
    display: none;
  }
  .stance-card .stance-choice {
    grid-column: 2;
    grid-row: 1/3;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .copyright {
    width: 100%;
  }
  .header-inner:has(nav a:nth-child(3)) {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding-top: 12px;
  }
  .header-inner:has(nav a:nth-child(3)) nav {
    order: 3;
    width: 100%;
    overflow: auto;
    height: 44px;
    margin-top: 6px;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    height: 65px;
    padding: 0 20px;
    gap: 26px;
  }
  nav {
    gap: 18px;
    font-size: 12px;
  }
  nav svg.icon {
    display: none;
  }
  .me .btn {
    padding: 6px 10px;
    font-size: 11px;
    min-height: 33px;
    border-radius: 6px;
  }
  .me .btn svg {
    display: none;
  }
  .auth {
    gap: 6px;
  }
  .auth .avatar,
  .auth .admin-badge {
    display: none;
  }
  .auth b {
    display: block;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
  .auth .tiny {
    padding: 3px 6px;
    font-size: 10px;
  }
  .wrap {
    padding: 0 20px 45px;
  }
  .main-grid {
    padding-top: 27px;
    gap: 30px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .list-tools {
    margin-bottom: 17px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar-section {
    padding: 5px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    padding: 0 20px;
    gap: 12px;
  }
  .footer-inner > p {
    display: none;
  }
  .detail-grid {
    gap: 23px;
  }
  .detail-grid .stance-card {
    display: block;
    padding: 20px;
  }
  .stance-divider {
    display: block;
    margin: 17px 0;
  }
  .stance-card .stance-choice {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
  }
  .stance-card .seg {
    max-width: 330px;
  }
  .stance-card .legend {
    gap: 18px;
  }
  .claim-toolbar .small {
    width: 100%;
    margin: 5px 0 0;
  }
  .claim-toolbar .btn {
    padding: 8px 11px;
    font-size: 11px;
  }
  .children {
    padding-left: 6px;
  }
  .children .claim {
    padding: 12px 10px;
  }
  .children .children {
    padding-left: 4px;
  }
  .two {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .def {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    font-size: 12px;
  }
  .card {
    padding: 20px;
  }
  .sumbox {
    padding: 20px;
  }
  .sumbox .two {
    grid-template-columns: 1fr 1fr;
  }
  .sumbox .two:has(ol) {
    grid-template-columns: 1fr;
  }
  .stat {
    font-size: 28px;
  }
  dialog {
    padding: 26px 22px;
    border-radius: 14px;
  }
  dialog h2 {
    font-size: 21px;
  }
  .dialog-close {
    right: 13px;
    top: 13px;
  }
  .loading-state {
    padding: 80px 0;
  }
  .loading-state h1 {
    font-size: 17px;
  }
  .empty {
    padding: 40px 20px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .rate button {
    width: 32px;
    height: 32px;
  }
  .tiny {
    min-height: 32px;
  }
}
@media (max-width: 370px) {
  .header-inner {
    padding: 0 14px;
    gap: 17px;
  }
  nav {
    gap: 13px;
  }
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .me .btn {
    padding: 5px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover:not(:disabled),
  .topic-card:hover {
    transform: none;
  }
}

.auth > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.dialog-footnote .icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 3px;
}

/* Keep the topic context before participation on narrow screens. */
#app:focus {
  outline: none;
}
@media (max-width: 850px) {
  .detail-grid > article {
    display: contents;
  }
  .detail-grid .detail-header {
    grid-row: 1;
  }
  .detail-grid > .sidebar {
    grid-row: 2;
  }
  .detail-grid .discussion {
    grid-row: 3;
    min-width: 0;
  }
  .detail-grid .stance-divider {
    display: none;
  }
}
@media (max-width: 600px) {
  .header-inner:has(.auth) {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding-top: 12px;
  }
  .header-inner:has(.auth) nav {
    order: 3;
    width: 100%;
    height: 42px;
    margin-top: 7px;
    gap: 24px;
    overflow-x: auto;
  }
}
@media (max-width: 850px) {
  .hero {
    padding: 40px 0 32px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sidebar {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .sidebar .community-note {
    grid-column: 1/-1;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .header-inner {
    height: 64px;
    gap: 28px;
  }
  .brand {
    font-size: 21px;
    letter-spacing: -1.2px;
  }
  nav {
    font-size: 14px;
    gap: 22px;
  }
  .me .btn {
    font-size: 13px;
    min-height: 36px;
    padding: 7px 12px;
  }
  .hero {
    padding: 34px 0 32px;
  }
  .hero h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.7;
  }
  .main-grid {
    padding-top: 0;
    gap: 32px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .count-badge {
    font-size: 18px;
  }
  .search {
    width: 100%;
  }
  .search input {
    font-size: 16px;
    min-height: 46px;
  }
  .filter-tabs {
    gap: 2px;
  }
  .filter-tab {
    font-size: 13px;
    padding: 8px 10px;
  }
  .sort-select {
    font-size: 12px !important;
    padding: 8px 0 !important;
  }
  .topic-card {
    padding: 23px 20px;
    border-radius: 14px;
  }
  .ttl {
    font-size: 19px;
    line-height: 1.6;
    margin-top: 12px;
  }
  .topic-excerpt {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .topic-date {
    font-size: 11px;
  }
  .card-footer {
    font-size: 11px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .card-footer .card-cta {
    font-size: 11px;
  }
  .sidebar {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .guide-card {
    padding: 22px;
  }
  .guide-card h2 {
    font-size: 17px;
  }
  .guide-card .text-button {
    margin: 0;
  }
  .page-heading {
    padding: 34px 0 26px;
    margin-bottom: 8px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .detail-header h1 {
    font-size: 26px;
    line-height: 1.55;
  }
  .detail-background {
    font-size: 15px;
  }
  .claim {
    padding: 22px 0;
  }
  .claim .text {
    font-size: 15px;
  }
  .children .claim {
    padding: 15px;
  }
  .ev {
    padding: 14px;
    font-size: 13px;
  }
  .meta {
    font-size: 12px;
  }
  .site-footer .text-button {
    font-size: 12px;
  }
  .site-footer .brand {
    font-size: 17px;
  }
  .auth .tiny {
    min-height: 32px;
  }
  .header-inner:has(.auth) {
    height: auto;
  }
}
@media (max-width: 370px) {
  .header-inner {
    padding: 0 16px;
    gap: 22px;
  }
  .brand {
    font-size: 19px;
  }
  nav {
    font-size: 13px;
    gap: 16px;
  }
  .hero h1 {
    font-size: 25px;
  }
  .me .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .filter-tab {
    padding: 8px;
    font-size: 12px;
  }
  .balance-label {
    font-size: 11px;
  }
}
