/* ============================================================
   PSY-specific styles (loaded after styles.css)
   - Test cards / search / category tabs
   - Test intro + runner (mobile-first interactive)
   - Result hero / match cards / share / other results
   - Recommend grid + responsive breakpoints
   ============================================================ */

/* ============ Hero (홈) ============ */
.hero--psy {
  text-align: center;
  padding: 60px 24px 32px;
  background: linear-gradient(135deg, #fde2e4 0%, #fef3c7 50%, #e0f2fe 100%);
  border-radius: 0 0 24px 24px;
  margin-bottom: 24px;
}
.hero--psy h1 {
  font-size: 36px; font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}
.hero--psy p { margin: 0 0 24px; color: var(--fg-soft); font-size: 16px; }

/* Search bar */
.search-bar {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, .12);
}
.search-bar::after {
  content: '🔍';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

/* ============ Category tabs (sticky) ============ */
.cat-tabs-wrap {
  position: sticky;
  top: 64px;
  background: var(--bg);
  z-index: 40;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cat-tabs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: var(--fg-soft);
  font-family: inherit;
}
.cat-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cat-tab.active {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

/* No-results message */
.no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--fg-mute);
  font-size: 15px;
}
.no-results-emoji { font-size: 48px; display: block; margin-bottom: 12px; }

/* Sort toggle */
.sort-toggle {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 0 16px 12px;
  max-width: var(--max);
  margin: 0 auto;
}
.sort-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #d8d0f0;
  background: #f5f2ff;
  color: #7c6db0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.sort-btn:hover { background: #ede8ff; }
.sort-btn.active {
  background: #b8a9e8;
  color: #fff;
  border-color: #b8a9e8;
}

/* ============ Test card grid ============ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 0 16px;
  /* site-main이 이미 max-width/가운데 정렬을 하므로 auto 마진을 쓰면 안 됨.
     grid 아이템에 auto 가로 마진을 주면 트랙에 stretch되지 않고 content 크기로
     축소돼, auto-fill이 뷰포트와 무관하게 260px 컬럼을 최대로 깔아 가로 넘침 발생. */
  margin: 0 0 24px;
}

.test-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-soft);
  color: inherit;
}

.test-card-thumb {
  height: 160px;
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.test-card-emoji {
  font-size: 64px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.1));
}

/* NEW badge on test card thumbnail */
.test-card-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 71, 87, .35);
  pointer-events: none;
}

.test-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.test-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  padding: 3px 9px;
  background: var(--accent-soft);
  border-radius: 999px;
  align-self: flex-start;
}
.test-card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.02em;
}
.test-card-desc {
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.test-card-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--fg-mute);
  font-weight: 600;
}
.test-card-cta {
  color: var(--accent);
  font-weight: 700;
}

/* ============ Test intro page ============ */
.test-intro {
  max-width: 720px;
  margin: 20px auto;
  padding: 0 16px;
}
.test-intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.test-intro-cover {
  height: 240px;
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-intro-emoji {
  font-size: 100px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.12));
}
.test-intro-body {
  padding: 28px 24px 32px;
  text-align: center;
}
.test-intro-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 5px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 12px;
}
.test-intro-body h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.test-intro-desc {
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.65;
  margin: 0 0 20px;
}
.test-intro-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 600;
  margin-bottom: 24px;
}
.btn-start {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(230, 57, 70, .35);
  min-height: 56px;
}
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 57, 70, .45);
}
.btn-start:active { transform: translateY(0); }

/* ============ Test runner (질문/답변) ============ */
.test-runner {
  max-width: 720px;
  margin: 24px auto;
  padding: 0 16px;
}
.test-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.test-progress-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.test-progress-bar::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  transition: width .35s cubic-bezier(.34,1.56,.64,1);
}
.test-progress-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-mute);
  min-width: 50px;
  text-align: right;
}
.test-q-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 20px;
  max-height: 280px;
  object-fit: cover;
}
.test-q {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding: 0 8px;
}
.test-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.test-choice {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  color: var(--fg);
  line-height: 1.5;
  min-height: 56px;
}
@media (hover: hover) {
  .test-choice:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateX(4px);
  }
}
.test-choice:active { transform: scale(.98); }

/* ============ Result hero ============ */
.result-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  color: #fff;
  text-align: center;
  padding: 32px 24px 48px;
  position: relative;
  overflow: hidden;
}
.result-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%);
  pointer-events: none;
}
.result-hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.result-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
  padding: 6px 12px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.result-back:hover { color: #fff; background: rgba(255,255,255,.25); }
.result-emoji {
  font-size: 88px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.result-subtitle {
  font-size: 14px;
  font-weight: 600;
  opacity: .9;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.result-title {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.result-image {
  max-width: 280px;
  margin: 12px auto 0;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

/* ============ Result body ============ */
.result-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}
.result-desc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg);
}
.result-desc p { margin: 0; }

.result-match {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.result-match-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.result-match-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
}
.result-match-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--fg-soft);
}
.result-match-good {
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  border-color: #a7f3d0;
}
.result-match-bad {
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  border-color: #fecaca;
}

/* ============ Share ============ */
.result-share {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 22px;
  margin: 24px 0;
  text-align: center;
}
.result-share h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.result-share-buttons button {
  padding: 12px 22px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  color: var(--fg);
  min-height: 44px;
}
.result-share-buttons button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}
.result-share-buttons button[data-share="save-image"] {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  color: #fff;
  border-color: transparent;
}
.result-share-buttons button[data-share="save-image"]:hover {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230,57,70,.35);
}
.result-share-buttons button[data-share="share-image"] {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  border-color: transparent;
}
.result-share-buttons button[data-share="share-image"]:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.result-share-saving {
  opacity: .7;
  pointer-events: none;
}

/* ============ Retry buttons ============ */
.result-retry {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.btn-retry {
  flex: 1;
  min-width: 160px;
  padding: 16px 22px;
  background: var(--fg);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  font-family: inherit;
}
.btn-retry:hover { transform: translateY(-2px); opacity: .92; color: #fff; }
.btn-retry--alt {
  background: var(--bg-card);
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-retry--alt:hover { color: var(--fg); border-color: var(--fg); }

/* ============ Other results chips ============ */
.other-results {
  margin: 32px 0 16px;
}
.other-results-hint {
  font-size: 13px;
  color: var(--fg-mute);
  margin: -8px 0 16px;
}
.other-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.other-result-chip {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all .15s ease;
  text-align: center;
}
.other-result-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.other-result-chip-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
}
.other-result-chip-sub {
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 2px;
}

/* ============ Recommend section ============ */
.recommend {
  max-width: var(--max);
  margin: 32px auto;
  padding: 0 16px;
}
.recommend .section-title { padding: 0; }

/* ============ Section title alignment for psy pages ============ */
.cat-section .section-title,
.latest .section-title {
  max-width: var(--max);
  margin: 32px auto 16px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-title .more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-mute);
}
.section-title .more:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE — mobile-first overrides
   Breakpoints: 720px (tablet -> mobile), 480px (small phone)
   ============================================================ */
@media (max-width: 720px) {
  .hero--psy {
    padding: 40px 18px 24px;
    border-radius: 0 0 18px 18px;
    /* site-main의 padding(24px 위, 16px 좌우)을 상쇄해서 전체폭 확보 */
    margin-top: -24px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .hero--psy h1 { font-size: 28px; }
  .hero--psy p { font-size: 14px; }

  .cat-tabs-wrap {
    top: 54px; /* shorter sticky header on mobile */
    padding: 10px 0;
  }
  .cat-tab {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* sort-toggle: site-main 패딩과 겹치지 않게 */
  .sort-toggle {
    padding: 0 0 12px;
  }

  .test-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
  }
  .test-card-thumb { height: 120px; }
  .test-card-emoji { font-size: 48px; }
  .test-card-body { padding: 12px 12px 14px; }
  .test-card-title { font-size: 15px; }
  .test-card-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .test-card-meta { font-size: 11px; padding-top: 6px; }

  .test-intro-cover { height: 180px; }
  .test-intro-emoji { font-size: 76px; }
  .test-intro-body { padding: 22px 18px 26px; }
  .test-intro-body h1 { font-size: 22px; }
  .test-intro-desc { font-size: 14px; }
  .test-intro-meta { gap: 12px; font-size: 12px; }
  .btn-start {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }

  .test-q { font-size: 20px; margin-bottom: 20px; }
  .test-choice {
    padding: 16px 18px;
    font-size: 15px;
  }

  .result-hero { padding: 24px 18px 36px; }
  .result-emoji { font-size: 72px; }
  .result-title { font-size: 30px; }
  .result-subtitle { font-size: 13px; }
  .result-image { max-width: 220px; }

  .result-body { padding: 22px 14px 36px; }
  .result-desc { padding: 18px; font-size: 15px; }
  .result-match { grid-template-columns: 1fr; gap: 10px; }
  .result-share { padding: 18px; }
  .result-share-buttons button {
    flex: 1;
    min-width: 100px;
    padding: 12px 14px;
    font-size: 13px;
  }
  .btn-retry { flex: 1 1 100%; }

  .other-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  .other-result-chip { padding: 12px 10px; }
  .other-result-chip-title { font-size: 13px; }

  .cat-section .section-title,
  .latest .section-title {
    margin: 24px auto 12px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .hero--psy h1 { font-size: 24px; }

  .test-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .test-card-thumb { height: 140px; }
  .test-card-emoji { font-size: 56px; }
  .test-card-title { font-size: 16px; }

  /* 광고 영역 가로 스크롤 방지 */
  .adslot-wrap { overflow: hidden; }
}

/* ============ Result traits (특징 리스트) ============ */
.result-traits {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}
.result-traits h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-traits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-traits li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-soft);
  padding-left: 28px;
  position: relative;
}
.result-traits li::before {
  content: '✦';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 900;
}

/* ============ Result advice (조언) ============ */
.result-advice {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}
.result-advice h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
}
.result-advice p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg);
  margin: 0;
}

/* result-desc: 여러 문단 지원 */
.result-desc p + p { margin-top: 14px; }

@media (max-width: 720px) {
  .result-traits, .result-advice { padding: 18px; }
  .result-traits li { font-size: 14px; }
  .result-advice p { font-size: 14px; }
}

/* ============ 유형 비율 뱃지 ============ */
.result-pct {
  display: inline-block;
  font-size: 14px;
  background: rgba(255, 255, 255, .18);
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0 0 14px;
  backdrop-filter: blur(8px);
}
.result-pct strong { font-weight: 900; }

/* ============ 강점 / 약점 ============ */
.result-sw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.result-sw-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.result-sw-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px;
}
.result-sw-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.result-sw-card li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-soft);
  padding-left: 16px;
  position: relative;
}
.result-sw-card li::before {
  content: '·';
  position: absolute;
  left: 5px;
  font-weight: 900;
  color: var(--fg-mute);
}
.result-sw-strength {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-color: #bfdbfe;
}
.result-sw-weakness {
  background: linear-gradient(135deg, #fef9c3, #fefce8);
  border-color: #fde68a;
}
@media (max-width: 720px) {
  .result-sw { grid-template-columns: 1fr; gap: 10px; }
  .result-sw-card { padding: 18px; }
}

/* ============ 결과별 참여 통계 ============ */
.result-stats {
  background: linear-gradient(135deg, #ede9fe, #f5f3ff);
  border: 1px solid #c4b5fd;
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
  text-align: center;
}
.result-stats-main {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0;
}
.result-stats-main strong {
  font-weight: 900;
  color: #7c3aed;
}
.result-stats-rare {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #7c3aed;
  background: rgba(124, 58, 237, .1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 8px;
}
.result-stats[hidden] { display: none; }
@media (max-width: 720px) {
  .result-stats { padding: 16px 18px; }
  .result-stats-main { font-size: 14px; }
}

/* ============ 조회수 카운터 ============ */
.test-card-stat {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}
.test-card-views {
  color: var(--fg-mute);
  white-space: nowrap;
}
.test-intro-views {
  color: var(--accent);
  font-weight: 700;
}

/* ============ Adblock blur ============ */
body.adblock-detected .test-grid,
body.adblock-detected .test-intro,
body.adblock-detected .test-runner,
body.adblock-detected .result-body,
body.adblock-detected .recommend {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
