/* Design Tokens & Theme Variables */
:root {
  --bg: #070709;
  --panel-light: #131217;
  --panel-dark: #0a090c;
  --line: rgba(255, 255, 255, 0.08);
  
  --accent-red: #d9182a;
  --accent-gold: #e59622;
  
  --text: #e1e1e8;
  --text-muted: #8d8c97;
  --text-dark: #c1c1cb;
  
  --shadow-red: rgba(217, 24, 42, 0.22);
  --shadow-gold: rgba(229, 150, 34, 0.15);
  
  --headline: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Alert Bar */
.alert-bar {
  background: var(--accent-red);
  color: #fff;
  padding: 10px 15px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  width: 100%;
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.pulse-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Navigation Header */
.main-header {
  background: #000;
  border-bottom: 1px solid var(--line);
  padding: 15px 20px;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--headline);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo-accent {
  color: var(--accent-red);
}

.live-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-counter i {
  color: var(--accent-red);
}

/* Content Layout Grid */
.content-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 900px) {
  .content-container {
    grid-template-columns: 1fr 320px;
  }
}

/* Article Styling */
.article-wrapper {
  background: var(--panel-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

@media (min-width: 760px) {
  .article-wrapper {
    padding: 40px;
  }
}

.article-meta-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.category-badge {
  background: rgba(217, 24, 42, 0.12);
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.article-title {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(1.45rem, 4.5vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
}

.highlight-red {
  color: var(--accent-red);
  font-weight: 900;
}

.article-subtitle {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 24px;
  font-weight: 400;
}

/* Author block */
.author-block {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.24), rgba(20, 20, 20, 0.95));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.author-photo {
  object-fit: cover;
  padding: 0;
  background: #111;
}

.btn-scan:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: #5c2532;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.badge-trusted {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold);
  border: 1px solid rgba(229, 150, 34, 0.28);
  padding: 4px 10px;
  background: rgba(229, 150, 34, 0.05);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Quota ticker box */
.quota-ticker-box {
  background: rgba(229, 150, 34, 0.06);
  border: 1px dashed var(--accent-gold);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Story body */
.article-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #c1c1cb;
  margin-bottom: 34px;
}

.article-body p {
  margin: 0 0 20px;
}

.quote-box {
  border-left: 4px solid var(--accent-red);
  background: var(--panel-light);
  padding: 20px;
  margin: 28px 0;
  font-style: italic;
  color: #fff;
  font-size: 1.1rem;
}

.route-visual-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 34px;
}

.route-visual-strip[hidden],
.route-visual-card[hidden] {
  display: none !important;
}

@media (min-width: 680px) {
  .route-visual-strip {
    grid-template-columns: 1fr 1fr;
  }

  .route-visual-strip[data-match] {
    grid-template-columns: 1fr;
  }

  .route-visual-strip[data-match] .route-visual-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
    min-height: 290px;
  }

  .route-visual-strip[data-match] .route-image-wrap {
    height: 100%;
    min-height: 290px;
    aspect-ratio: auto;
  }

  .route-visual-strip[data-match] .route-visual-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
  }
}

.route-visual-card {
  background: #0b0b0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.24);
}

.route-visual-card-red {
  border-color: rgba(217, 24, 42, 0.3);
  box-shadow: 0 16px 42px rgba(217, 24, 42, 0.12);
}

.route-visual-card-gold {
  border-color: rgba(229, 150, 34, 0.28);
  box-shadow: 0 16px 42px rgba(229, 150, 34, 0.1);
}

.route-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.route-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0,0,0,0.76)),
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%);
  background-size: 100% 100%, 100% 4px;
  pointer-events: none;
}

.route-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.route-visual-card-red .route-image-wrap img {
  object-position: center 32%;
}

.route-visual-card-gold .route-image-wrap img {
  object-position: center top;
}

@media (min-width: 680px) {
  .route-image-wrap {
    aspect-ratio: 16/10;
  }
}

.route-live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(7,7,9,0.78);
  border: 1px solid rgba(217, 24, 42, 0.46);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.route-live-badge-gold {
  border-color: rgba(229, 150, 34, 0.52);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 0 0 rgba(217,24,42,0.72);
  animation: pulse-red-dot 1.25s infinite;
  display: inline-block;
  flex: 0 0 8px;
}

@keyframes pulse-red-dot {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(217,24,42,0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(217,24,42,0);
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(217,24,42,0);
  }
}

.route-visual-copy {
  padding: 16px;
}

.route-visual-copy span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.route-visual-copy strong {
  display: block;
  font-family: var(--headline);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 7px;
}

.route-visual-copy p {
  color: #bfc0ca;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.warmup-bridge {
  margin: 0 0 30px;
}

.warmup-visual.article-image-wrapper {
  margin: 0 0 20px;
  border-color: rgba(217, 24, 42, 0.28);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4), 0 0 24px rgba(217,24,42,0.1);
}

.warmup-copy {
  color: #c8c8d1;
  font-size: 1rem;
  line-height: 1.62;
}

.warmup-copy p {
  margin: 0 0 14px;
}

.warmup-copy p:last-child {
  margin-bottom: 0;
}

.warmup-copy strong {
  color: #fff;
}

.warmup-kicker {
  color: var(--accent-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-image-wrapper {
  margin: 28px 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive Bypass Widget */
.interactive-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 24, 42, 0.16), transparent 28%),
    linear-gradient(180deg, #171116 0%, #0d0b0f 100%);
  border: 2px solid rgba(217, 24, 42, 0.34);
  border-radius: 6px;
  padding: 24px;
  margin: 34px 0;
  box-shadow: 0 18px 50px rgba(0,0,0,0.34), 0 0 28px rgba(217, 24, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.interactive-section::before {
  content: "18+ LIVE CAM FIT";
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(217, 24, 42, 0.18);
  border-left: 1px solid rgba(217, 24, 42, 0.35);
  border-bottom: 1px solid rgba(217, 24, 42, 0.35);
  color: #ff5463;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 6px 10px;
}

.interactive-section.quiz-matched {
  border-color: rgba(217, 24, 42, 0.72);
  box-shadow: 0 18px 58px rgba(0,0,0,0.46), 0 0 40px rgba(217, 24, 42, 0.2);
}

.widget-title {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  margin: 0 0 10px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
}

.widget-instruction {
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 700px;
}

.interactive-panel {
  position: relative;
  z-index: 1;
}

.interactive-panel.is-hidden {
  display: none;
}

.quiz-start-screen {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(7,7,9,0.46);
  border-radius: 5px;
}

.quiz-start-screen.is-hidden {
  display: none;
}

.quiz-start-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz-start-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(229,150,34,0.22);
  background: rgba(229,150,34,0.06);
  color: var(--accent-gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quiz-start-screen h4 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--headline);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.1;
}

.quiz-start-screen p {
  margin: 0;
  max-width: 620px;
  color: #bfc0ca;
  font-size: 0.92rem;
  line-height: 1.5;
}

.quiz-start-button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  background: linear-gradient(90deg, #d9182a, #f02b3e);
  box-shadow: 0 10px 30px rgba(217,24,42,0.25);
  color: #fff;
  cursor: pointer;
  font-family: var(--headline);
  font-size: clamp(0.95rem, 2.8vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quiz-start-button:hover,
.quiz-start-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(217,24,42,0.34);
}

.quiz-start-button:focus-visible,
.quiz-back-button:focus-visible,
.retake-button:focus-visible,
.followup-button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

.article-quiz-progress {
  margin: 0 0 22px;
}

.article-quiz-progress span:first-child {
  display: block;
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.article-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

#article-step-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  border-radius: 999px;
  transition: width 0.24s ease;
}

.article-quiz-progress.is-complete #article-step-fill {
  width: 100%;
}

.option-group {
  margin-bottom: 18px;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: quiz-step-in 0.2s ease;
}

@keyframes quiz-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.option-group label {
  display: block;
  font-size: clamp(0.9rem, 2.8vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #d9deee;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.toggle-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 500px) {
  .toggle-group {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-toggle {
  display: block;
  background: #0b0b0e;
  border: 1px solid rgba(255,255,255,0.12);
  color: #bfc0ca;
  padding: 16px 18px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 62px;
}

.btn-toggle:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: #131318;
}

.btn-toggle.active {
  border-color: var(--accent-red);
  background: linear-gradient(180deg, rgba(217, 24, 42, 0.24), rgba(217, 24, 42, 0.07));
  color: #fff;
  box-shadow: 0 0 18px var(--shadow-red);
}

.btn-scan {
  width: 100%;
  background: linear-gradient(90deg, #d9182a, #f02b3e);
  border: none;
  color: #fff;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--headline);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 8px 26px var(--shadow-red);
  transition: all 0.2s ease;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.btn-scan:hover {
  background: #f02034;
  transform: translateY(-1px);
}

.scanner-progress-box {
  display: none;
  margin-top: 22px;
  background: #09090c;
  border: 1px solid rgba(229, 150, 34, 0.24);
  padding: 18px;
  border-radius: 4px;
}

.scanner-status-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scanner-progress-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.scanner-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  border-radius: 4px;
}

.audio-mute-banner {
  margin-top: 15px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.quiz-nav {
  min-height: 34px;
  margin-top: 10px;
}

.quiz-back-button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 0;
}

.quiz-back-button:hover {
  color: #fff;
}

/* Incoming Video Call Container */
.incoming-call-box {
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 150, 34, 0.12), transparent 26%),
    #111016;
  border: 2px solid var(--accent-red);
  border-radius: 6px;
  padding: 16px;
  margin: 22px 0 0;
  box-shadow: 0 15px 45px var(--shadow-red);
  position: relative;
  z-index: 1;
}

.incoming-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 15px;
  gap: 10px;
  flex-wrap: wrap;
}

.incoming-title {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--accent-red);
}

.live-flash-badge {
  background: rgba(217, 24, 42, 0.12);
  color: var(--accent-red);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: flash-animation 1s infinite alternate;
}

@keyframes flash-animation {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.incoming-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .incoming-body {
    display: grid;
    grid-template-columns: minmax(210px, 240px) 1fr;
    flex-direction: row;
    align-items: stretch;
  }
}

.video-preview-container {
  width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.matched-live-badge {
  top: 8px;
  left: 8px;
  font-size: 0.58rem;
}

@media (min-width: 600px) {
  .video-preview-container {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    max-height: none;
    margin: 0;
  }
}

.video-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-img.is-jerkmate {
  object-position: center 32%;
}

.video-preview-img.is-cams {
  object-position: center top;
}

@media (min-width: 600px) {
  .video-preview-img.is-jerkmate,
  .video-preview-img.is-cams {
    object-position: center;
  }
}

.video-static-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, Red, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  opacity: 0.4;
}

.incoming-chat-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.model-meta-info h4 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin: 0 0 2px;
  color: #fff;
}

.model-meta-info .model-location {
  margin: 0;
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.simulated-chat-box {
  background: #0b0b0e;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 6px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.chat-bubble {
  color: #e1e1e8;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.45;
  font-weight: 500;
}

.preview-chat-box {
  border: 1px solid rgba(229, 150, 34, 0.2);
  background: linear-gradient(180deg, rgba(229,150,34,0.08), rgba(255,255,255,0.02));
  border-radius: 6px;
  padding: 12px;
}

.preview-chat-label {
  color: var(--accent-gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.preview-chat-message {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.35;
}

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-bubble .dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-animation 1s infinite alternate;
}

.typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-animation {
  from { opacity: 0.2; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-4px); }
}

/* Glowing CTA elements inside caller container */
.timer-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer-box {
  background: rgba(217, 24, 42, 0.08);
  border: 1px solid rgba(217, 24, 42, 0.25);
  color: var(--accent-red);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glow-cta-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red), #e01b2f);
  color: #fff;
  text-decoration: none;
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 1.15rem);
  text-align: center;
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 0 20px var(--shadow-red);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.glow-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(217, 24, 42, 0.45);
}

.matched-cta-wrap {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.incoming-chat-panel .matched-cta-wrap {
  margin-top: auto;
}

.cta-heat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.cta-heat-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-age-note {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.retake-button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 0;
}

.retake-button:hover {
  color: #fff;
}

.gold-cta {
  background: linear-gradient(135deg, #d68b12, #f0ad29) !important;
  color: #070707 !important;
  box-shadow: 0 0 20px rgba(240, 173, 41, 0.32) !important;
}

.gold-cta:hover {
  box-shadow: 0 0 28px rgba(240, 173, 41, 0.46) !important;
}

.followup-cta {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid rgba(217,24,42,0.34);
  border-left: 4px solid var(--accent-red);
  border-radius: 6px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,24,42,0.12), transparent 34%),
    #111016;
  box-shadow: 0 18px 44px rgba(0,0,0,0.3);
}

.followup-cta[hidden] {
  display: none;
}

.followup-label {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.followup-cta strong {
  display: block;
  color: #fff;
  font-family: var(--headline);
  font-size: 1.3rem;
  line-height: 1.1;
}

.followup-cta p {
  margin: 8px 0 0;
  color: #bfc0ca;
  font-size: 0.9rem;
  line-height: 1.45;
}

.followup-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-red), #e01b2f);
  box-shadow: 0 0 20px var(--shadow-red);
  color: #fff;
  font-family: var(--headline);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.followup-button.gold-cta {
  background: linear-gradient(135deg, #d68b12, #f0ad29);
}

.followup-note {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

@media (min-width: 680px) {
  .followup-cta {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    align-items: center;
  }

  .followup-note {
    grid-column: 2;
    text-align: center;
  }
}

/* Persistent quiz-completion rescue */
body.quiz-rescue-enabled {
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

.quiz-rescue-sticky {
  position: fixed;
  z-index: 160;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(240,173,41,0.16), transparent 34%),
    linear-gradient(105deg, #110b0f 0%, #1a0b10 50%, #260b12 100%);
  box-shadow: 0 -12px 34px rgba(0,0,0,0.58), 0 -4px 22px rgba(217,24,42,0.18);
  animation: quiz-rescue-in 0.26s ease both;
}

.quiz-rescue-sticky[hidden] {
  display: none;
}

@keyframes quiz-rescue-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-rescue-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 720px);
  min-height: 78px;
  margin: 0 auto;
  padding: 9px 12px 8px;
}

.quiz-rescue-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.quiz-rescue-eyebrow {
  overflow: hidden;
  margin-bottom: 3px;
  color: var(--accent-gold);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.quiz-rescue-copy strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--headline);
  font-size: clamp(0.94rem, 3.8vw, 1.12rem);
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-rescue-detail {
  overflow: hidden;
  margin-top: 4px;
  color: #bfc0ca;
  font-size: 0.68rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-rescue-button {
  display: inline-flex;
  min-width: 132px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  background: linear-gradient(105deg, #d9182a, #f02b3e);
  box-shadow: 0 8px 24px rgba(217,24,42,0.28);
  color: #fff;
  cursor: pointer;
  font-family: var(--headline);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quiz-rescue-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 28px rgba(217,24,42,0.4);
}

.quiz-rescue-button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

.quiz-rescue-progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
}

.quiz-rescue-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  box-shadow: 0 0 12px rgba(229,150,34,0.28);
  transition: width 0.24s ease;
}

@media (min-width: 720px) {
  body.quiz-rescue-enabled {
    padding-bottom: 112px;
  }

  .quiz-rescue-sticky {
    right: max(24px, calc((100vw - 1100px) / 2));
    bottom: 24px;
    left: auto;
    width: min(440px, calc(100vw - 48px));
    padding-bottom: 0;
    border: 1px solid rgba(217,24,42,0.42);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,0.62), 0 0 28px rgba(217,24,42,0.18);
  }

  .quiz-rescue-inner {
    min-height: 82px;
    padding: 10px 12px;
  }
}

@media (max-width: 360px) {
  .quiz-rescue-inner {
    gap: 7px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .quiz-rescue-eyebrow {
    display: none;
  }

  .quiz-rescue-button {
    min-width: 112px;
    min-height: 48px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-rescue-sticky {
    animation: none;
  }

  .quiz-rescue-progress span,
  .quiz-rescue-button {
    transition: none;
  }
}

.secure-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Comments Section */
.comments-section {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.comments-section h3 {
  font-family: var(--headline);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
}

.comment-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--headline);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.28);
}

.comment-avatar-red {
  background: linear-gradient(135deg, #d9142d 0%, #54000c 100%);
}

.comment-avatar-gold {
  background: linear-gradient(135deg, #d99216 0%, #5c3100 100%);
}

.comment-avatar-steel {
  background: linear-gradient(135deg, #687180 0%, #161b22 100%);
}

.comment-avatar-charcoal {
  background: linear-gradient(135deg, #2a2d35 0%, #050608 100%);
}

.comment-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comment-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.comment-location {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.comment-text {
  font-size: 0.92rem;
  color: #c1c1cb;
  line-height: 1.5;
}

.comment-actions {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

.like-btn, .reply-btn {
  cursor: pointer;
}

.like-btn:hover, .reply-btn:hover {
  color: #fff;
}

/* Sidebar Styling */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--panel-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.sidebar-widget h4 {
  font-family: var(--headline);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  border-left: 3px solid var(--accent-red);
  padding-left: 10px;
}

.trending-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.88rem;
  line-height: 1.4;
}

.trending-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.trend-num {
  font-family: var(--headline);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
}

.trending-item p {
  margin: 0;
  color: #c1c1cb;
}

.status-widget .status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.green {
  background: #00ff00;
  box-shadow: 0 0 8px #00ff00;
}

.status-widget p {
  margin: 0;
  font-size: 0.88rem;
}

.status-desc {
  color: var(--text-muted);
  margin-top: 8px;
}

/* Global Footer */
.global-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 30px 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.global-footer p {
  margin: 0 auto 10px;
  max-width: 600px;
}

/* Mobile Viewport Screen Height Optimizations */
@media (max-width: 600px) {
  .main-header {
    padding: 8px 24px;
  }
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }
  .logo {
    font-size: 1.05rem;
    white-space: nowrap;
  }
  .live-counter {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .counter-text {
    font-size: 0;
  }
  .counter-text::after {
    content: "active";
    font-size: 0.78rem;
  }
  .warmup-bridge {
    margin-bottom: 22px;
  }
  .warmup-visual.article-image-wrapper {
    margin-bottom: 16px;
  }
  .warmup-copy {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .warmup-copy p {
    margin-bottom: 11px;
  }
  .interactive-section {
    padding: 18px 14px 14px;
    margin: 24px 0;
  }
  .quiz-start-screen {
    padding: 14px;
  }
  .quiz-start-meta {
    gap: 6px;
    margin-bottom: 13px;
  }
  .quiz-start-meta span {
    min-height: 25px;
    padding: 4px 7px;
    font-size: 0.61rem;
  }
  .quiz-start-button {
    min-height: 54px;
    margin-top: 15px;
  }
  .incoming-call-box {
    padding: 12px;
    margin: 15px 0;
  }
  .incoming-header {
    padding-bottom: 8px;
    margin-bottom: 10px;
  }
  .incoming-body {
    gap: 10px;
  }
  .video-preview-container {
    width: 100%;
  }
  .simulated-chat-box {
    padding: 10px;
    min-height: auto;
  }
  .chat-bubble {
    font-size: 0.88rem;
    padding: 8px 12px;
  }
  .glow-cta-button {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .cta-heat-row {
    margin-bottom: 9px;
  }
  .result-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .followup-cta {
    padding: 18px 16px;
  }
  .secure-badges {
    font-size: 0.72rem !important;
    gap: 10px !important;
  }
}
