:root {
  color-scheme: light dark;
  --bg: #10131a;
  --bg-panel: rgba(17, 23, 34, 0.86);
  --bg-panel-light: rgba(255, 255, 255, 0.85);
  --text-primary: #f4f8ff;
  --text-secondary: rgba(244, 248, 255, 0.7);
  --accent: #6df4a1;
  --accent-strong: #41de82;
  --border: rgba(255, 255, 255, 0.12);
  --danger: #ff6b6b;
  --warning: #fdd361;
  --neutral: #9ea5b3;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  --fbc-blue-60: #0060df;
  --fbc-blue-70: #003eaa;
  --fbc-gray-20: #ededf0;
  --fbc-light-gray: #f0f0f4;
  --fbc-white: #ffffff;
  --fbc-transition: all 0.15s cubic-bezier(0.07, 0.95, 0, 1);
  --fbc-borders: 1px solid #ededf0;
  --fbc-primary-text: #15141a;
  --fbc-secondary-text: #5b5b66;
  --fbc-font-size: 13px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1c1c1c;
  background: #dae0e6;
}

body.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 16px 4vh;
  background: radial-gradient(circle at 20% -20%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.24) 32%, transparent 55%),
    linear-gradient(165deg, #c0e7ff 0%, #9bd6ff 35%, #67b8f7 72%, #4aa1f0 100%);
  position: relative;
  min-height: 100vh;
  overflow-y: auto;
  gap: 0;
  color: #0f2a44;
}

body.intro::before {
  content: none;
}

body.intro::after {
  content: none;
}

.intro-hero {
  display: contents;
}

body.intro .intro-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(720px, 90vw);
  margin: 0 auto;
}

body.intro .top-bar {
  position: relative;
  top: auto;
  transform: translateY(0);
  max-width: none;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  border: none;
  z-index: 1;
  background: transparent;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: visible;
}

body:not(.intro) .intro-hero {
  display: contents;
}

body.intro .brand {
  justify-content: center;
}

body.intro .belief-form {
  max-width: 520px;
  margin: 0 auto;
}

body.intro .page,
body.intro .footer {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  flex: 0;
  height: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition-delay: 0s;
}

body:not(.intro) .page,
body:not(.intro) .footer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto;
  max-height: none;
  transition-delay: 0.2s;
}

body:not(.intro) .page {
  flex: 1;
}


a {
  color: inherit;
}

.top-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #ccc;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: none;
  border-radius: 0;
  transform: translateY(0);
  transition: transform 0.6s ease, padding 0.6s ease, border-radius 0.6s ease, max-width 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

.top-bar__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-bar__header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 48px;
}

.info-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 42, 68, 0.12);
  color: #0f2a44;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.info-toggle:hover,
.info-toggle:focus-visible {
  background: rgba(15, 42, 68, 0.22);
  box-shadow: 0 4px 12px rgba(15, 42, 68, 0.18);
  transform: translateY(-50%) scale(1.03);
}

.info-toggle:active {
  transform: translateY(-50%) scale(0.96);
}

body:not(.intro) .info-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.brand:active {
  transform: scale(0.98);
}

.brand__name {
  position: relative;
  font-weight: 700;
  color: #1c1c1c;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.brand__name::before {
  display: none;
}

.brand__emoji {
  font-size: 2rem;
  line-height: 1;
  opacity: 1;
}

.brand__emoji--cool {
  font-size: 1.5rem;
}

.belief-form {
  display: grid;
  gap: 8px;
}

.belief-form__label {
  color: #7c7c7c;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
}

.belief-form__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.belief-form__input {
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #1c1c1c;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.belief-form__input::placeholder {
  color: #7c7c7c;
}

.belief-form__input:focus {
  outline: none;
  border-color: #0079d3;
  box-shadow: 0 0 0 1px #0079d3;
}

.belief-form__input:disabled {
  background: #f6f7f8;
  color: #7c7c7c;
  opacity: 0.6;
}

.belief-form__button {
  padding: 10px 20px;
  border: none;
  border-radius: 9999px;
  background: #ff4500;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.belief-form__button:hover {
  background: #ff5414;
}

.belief-form--loading .belief-form__button {
  cursor: progress;
}

.belief-form__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.info-blurb {
  background: #ffffff;
  border: 1px solid #d8dadf;
  border-radius: 12px;
  padding: 16px 16px 20px;
  margin-top: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1c1e21;
  line-height: 1.6;
}

.info-blurb__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.info-blurb__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1877f2 0%, #1459c5 100%);
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

.info-blurb__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-blurb__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #050505;
}

.info-blurb__timestamp {
  margin: 0;
  font-size: 0.8125rem;
  color: #65676b;
}

.info-blurb__menu {
  background: transparent;
  border: none;
  color: #65676b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-blurb__menu:hover,
.info-blurb__menu:focus-visible {
  background: rgba(101, 103, 107, 0.12);
  color: #050505;
}

.info-blurb__content {
  color: #050505;
  font-size: 0.9375rem;
}

.info-blurb__content p {
  margin: 0 0 12px 0;
}

.info-blurb__content p:last-child {
  margin-bottom: 0;
}

.info-blurb__content strong {
  font-weight: 600;
  color: #1877f2;
}

.info-blurb__content ol {
  margin: 8px 0 12px 0;
  padding-left: 24px;
  color: #65676b;
}

.info-blurb__content li {
  margin: 6px 0;
  padding-left: 4px;
}

.info-blurb__cta {
  background: #f2f3f5;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 500;
  color: #1877f2;
  margin-top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.intro .top-bar__main {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
}

body.intro .info-blurb {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0;
  width: 100%;
}

body.intro .info-blurb.info-blurb--open {
  display: block;
}

body:not(.intro) .info-blurb {
  display: none;
}

.loading-animation {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loading-animation.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.loading-animation__spinner {
  position: relative;
  width: 120px;
  height: 120px;
}

.loading-animation__cherry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  z-index: 10;
  animation: spinCherry 2s linear infinite;
}

@keyframes spinCherry {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading-animation__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spin linear infinite;
}

.loading-animation__orbit--1 {
  border: 3px solid rgba(255, 69, 0, 0.2);
  animation-duration: 2s;
}

.loading-animation__orbit--2 {
  border: 3px solid rgba(255, 139, 96, 0.2);
  animation-duration: 3s;
  animation-direction: reverse;
}

.loading-animation__orbit--3 {
  border: 3px solid rgba(0, 121, 211, 0.2);
  animation-duration: 4s;
}

.loading-animation__dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4500;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.3);
  animation: pulse 1s ease-in-out infinite;
}

.loading-animation__orbit--2 .loading-animation__dot {
  animation-delay: 0.33s;
  background: #ff8b60;
}

.loading-animation__orbit--3 .loading-animation__dot {
  animation-delay: 0.66s;
  background: #0079d3;
}

.loading-animation__text {
  color: #1c1c1c;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(0);
}

.loading-animation__text.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.loading-animation__text.fade-in {
  animation: fadeInUp 0.5s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.3);
    opacity: 0.7;
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.status-message {
  margin: 8px 0 0;
  min-height: 1.4em;
  color: #7c7c7c;
  font-size: 0.85rem;
  letter-spacing: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.status-message[data-tone="info"] {
  color: #7c7c7c;
}

.status-message[data-tone="error"] {
  color: #ea0027;
}

.status-message[data-tone="success"] {
  color: #46d160;
}

.page {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: calc(100vh - 200px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, grid-template-columns 0.4s ease;
  background: #dae0e6;
}

.page.focus-right {
  grid-template-columns: 1fr 3fr;
}

.page.focus-none {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: clamp(28px, 6vw, 72px);
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  transition: opacity 0.4s ease, transform 0.2s ease;
  cursor: pointer;
}

.panel:hover {
  transform: scale(1.002);
}

.page:not(.focus-none) .panel {
  opacity: 0.4;
}

.page.focus-right .panel--expert,
.page:not(.focus-right):not(.focus-none) .panel--content {
  opacity: 1;
}

.panel__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel__body--scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 74, 46, 0.3) transparent;
}

.panel__body--scroll::-webkit-scrollbar {
  width: 8px;
}

.panel__body--scroll::-webkit-scrollbar-track {
  background: transparent;
}

.panel__body--scroll::-webkit-scrollbar-thumb {
  background-color: rgba(92, 74, 46, 0.3);
  border-radius: 4px;
}

.panel__body--scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(92, 74, 46, 0.5);
}

.panel--content {
  background: var(--fbc-white);
  color: var(--fbc-primary-text);
  position: relative;
  border-right: var(--fbc-borders);
  font-family: "Arial", "Helvetica Neue", "Segoe UI", sans-serif;
  min-height: 100%;
}

.panel--content::before {
  content: none;
}

.panel--content > * {
  position: relative;
  z-index: 1;
}

.panel--content .panel__header {
  border-bottom: var(--fbc-borders);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.panel--content .panel__title {
  font-family: "Impact", "Anton", "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(6rem, 11vw, 7rem);
  margin-bottom: 12px;
  color: #d70022;
}

.panel--content .panel__subtitle {
  color: var(--fbc-blue-60);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 3rem;
  font-weight: 700;
}

.panel--content .article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.panel--content .article-card {
  padding: 22px 0;
  background: transparent;
  border: none;
  border-bottom: var(--fbc-borders);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 10px;
  transition: background-color 0.2s ease, padding 0.2s ease;
}

.panel--content .article-card:hover {
  background-color: rgba(0, 96, 223, 0.03);
  padding-left: 12px;
  padding-right: 12px;
}

.panel--content .article-card:last-child {
  border-bottom: none;
}

.panel--content .article-card__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fbc-secondary-text);
}

.panel--content .article-card__title {
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fbc-blue-70);
}

.panel--content .article-card__title a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.panel--content .article-card__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transform: translateX(2px);
}

.panel--content .article-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1rem;
  letter-spacing: 0.24em;
  color: var(--fbc-blue-60);
  text-transform: uppercase;
  font-weight: 700;
}

.panel--content .article-card__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panel--content .article-card__confirm {
  color: #d70022;
  font-weight: 900;
}

.panel--content .article-card__confirm {
  color: var(--fbc-blue-70);
  font-weight: 900;
}

.panel--content .article-card__snippet {
  margin: 0;
  color: var(--fbc-secondary-text);
  font-size: 1.1rem;
  line-height: 1.65;
  text-transform: none;
  font-weight: 600;
}

.panel--content .article-card::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 20px;
  background: var(--fbc-blue-60);
}

.panel--content .article-card:last-child::after {
  display: none;
}

.panel__header {
  margin-bottom: 18px;
  position: relative;
}

.panel__title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.panel__subtitle {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 640px;
}

.panel__subheading {
  margin: 0;
  font-size: 1.1rem;
}

.panel__subtext {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  max-width: 560px;
}

.panel--expert {
  position: relative;
  background: linear-gradient(140deg, #f9f7f3 0%, #efe6d8 45%, #f6efe4 100%);
  color: #202020;
  border-left: 1px solid #d3c9b6;
  box-shadow: inset 24px 0 48px rgba(0, 0, 0, 0.04), 0 36px 60px rgba(45, 38, 28, 0.15);
  font-family: "Caudex", serif;
  min-height: 100%;
}

.panel--expert::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 12% 18%, rgba(169, 142, 98, 0.25), transparent 52%),
    linear-gradient(115deg, rgba(30, 38, 56, 0.08) 0%, rgba(30, 38, 56, 0) 45%);
  pointer-events: none;
}

.panel--expert .panel__header {
  border-bottom: 1px solid rgba(92, 74, 46, 0.25);
  padding-bottom: 22px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.panel--expert .panel__title {
  font-family: "Caudex", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: #131313;
}

.panel--expert .panel__subtitle,
.panel--expert .panel__subtext {
  color: rgba(33, 33, 33, 0.68);
  text-transform: none;
  letter-spacing: 0.01em;
  font-style: italic;
  font-family: "Caudex", serif;
}

.panel--expert .panel__subheading {
  font-family: "Caudex", serif;
  color: #131313;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}

.contrast-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  padding-top: 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
  align-items: center;
}

.contrast {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-height: 0;
  font-family: "Caudex", serif;
  width: 100%;
}

.contrast__row {
  display: inline-flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(92, 74, 46, 0.18);
  box-shadow: 0 26px 42px rgba(45, 38, 28, 0.16);
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  isolation: isolate;
  max-width: 100%;
  align-self: center;
}

.contrast__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 135, 182, 0.18), rgba(238, 223, 196, 0));
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
  border-radius: 18px;
}

.contrast__row:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 54px rgba(45, 38, 28, 0.18);
}

.contrast__row--highlighted {
  animation: highlightPulse 0.6s ease-out;
  box-shadow: 0 0 0 4px rgba(109, 244, 161, 0.6), 0 32px 54px rgba(45, 38, 28, 0.24);
  transform: translateY(-4px) scale(1.02);
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 244, 161, 0.8), 0 26px 42px rgba(45, 38, 28, 0.16);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(109, 244, 161, 0.4), 0 32px 54px rgba(45, 38, 28, 0.24);
    transform: translateY(-6px) scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(109, 244, 161, 0.6), 0 32px 54px rgba(45, 38, 28, 0.24);
    transform: translateY(-4px) scale(1.02);
  }
}

.contrast__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 34ch;
  flex: 0 1 34ch;
}

.contrast__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  align-self: flex-start;
  flex-shrink: 0;
}

.contrast__tag--belief {
  background: rgba(169, 142, 98, 0.28);
  color: #5c4630;
  border: 1px solid rgba(169, 142, 98, 0.45);
}

.contrast__tag--expert {
  background: rgba(104, 124, 161, 0.3);
  color: #1c283f;
  border: 1px solid rgba(104, 124, 161, 0.45);
}

.contrast__content {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.86);
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.footer {
  padding: 32px;
  text-align: center;
  color: #7c7c7c;
  font-size: 0.75rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: #ffffff;
  border-top: 1px solid #edeff1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 600px) {
  .top-bar {
    position: static;
    gap: 20px;
  }

  .belief-form__button {
    width: 100%;
  }

  .article-card,
  .contrast__row {
    padding: 16px;
  }

  .contrast__row {
    flex-direction: column;
    gap: 16px;
  }

  .contrast__column {
    max-width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 1080px) {
  body:not(.intro) {
    overflow: auto;
  }

  .page {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    overflow: visible;
  }

  .panel--expert {
    border-left: none;
  }

  .panel {
    height: auto;
    overflow: visible;
  }

  .panel__body--scroll {
    overflow: visible;
    max-height: none;
  }
}
