/* ── 트렌드파파고 SBTI · 블로그 레퍼런스 디자인 정렬 (라이트 / 보라–핑크 계열) ── */
:root {
  --sbti-primary: #6c63ff;
  --sbti-secondary: #ff6584;
  --sbti-accent: #43d39e;
  --sbti-bg: #f8f7ff;
  --sbti-card: #ffffff;
  --sbti-text: #2d2d3a;
  --sbti-muted: #6b7280;
  --sbti-radius: 20px;
  --sbti-shadow: 0 8px 32px rgba(108, 99, 255, 0.12);
  --sbti-shadow-hover: 0 16px 48px rgba(108, 99, 255, 0.22);
  --font: 'Noto Sans KR', 'DM Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.sbti-wrap {
  margin: 0;
  font-family: var(--font);
  background: var(--sbti-bg);
  color: var(--sbti-text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--sbti-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sbti-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus {
  left: 1rem;
}

/* ── 헤더 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 99, 255, 0.12);
  box-shadow: 0 2px 20px rgba(108, 99, 255, 0.06);
}

.header-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--sbti-text);
  font-weight: 800;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}

.brand-mark {
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sbti-primary) 0%, #9b59b6 50%, var(--sbti-secondary) 100%);
  color: #fff;
  font-size: 0.95rem;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--sbti-muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.site-nav a {
  color: var(--sbti-text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.35rem 0;
}
.site-nav a:hover {
  color: var(--sbti-primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: #f3f2ff;
  border: 2px solid #e5e4ff;
  color: var(--sbti-text);
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 0;
  }
  .site-nav.is-open {
    display: flex;
  }
}

.site-main {
  padding-bottom: 3rem;
}

.btn-cta-gradient {
  background: linear-gradient(135deg, var(--sbti-primary), #9b59b6) !important;
  color: #fff !important;
  box-shadow: var(--sbti-shadow);
}
.btn-cta-gradient:hover {
  box-shadow: var(--sbti-shadow-hover);
  color: #fff !important;
}

.test-hero-strip {
  background: linear-gradient(135deg, #6c63ff 0%, #9b59b6 50%, #ff6584 100%);
  color: #fff;
  padding: 2.25rem 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.test-hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}
.test-hero-strip .container {
  position: relative;
  z-index: 1;
}
.test-hero-strip h1 {
  margin: 0.35rem 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
}
.test-hero-strip .eyebrow {
  margin-bottom: 0.5rem;
}
.test-hero-strip .lead {
  color: rgba(255, 255, 255, 0.92);
}

.section-ghost-btn {
  background: #fff !important;
  color: var(--sbti-primary) !important;
  border: 2px solid var(--sbti-primary) !important;
}
.section-ghost-btn:hover {
  background: #f3f2ff !important;
  color: var(--sbti-primary) !important;
}

/* ── 히어로 ── */
.hero,
.sbti-hero {
  background: linear-gradient(135deg, #6c63ff 0%, #9b59b6 50%, #ff6584 100%);
  color: #fff;
  padding: 72px 20px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.sbti-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}

.hero-inner,
.sbti-hero .container {
  position: relative;
  z-index: 1;
}

.hero .container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.eyebrow,
.sbti-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: #fff;
}

/* 라이트 섹션 상단 뱃지 */
section.section > .container > p.eyebrow:first-of-type,
section.section > .container.narrow > p.eyebrow:first-of-type {
  background: linear-gradient(135deg, var(--sbti-primary), #9b59b6);
  color: #fff;
  border: none;
  backdrop-filter: none;
}

.hero h1,
.sbti-hero h1 {
  font-size: clamp(1.65rem, 4.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 1rem;
}
.hero h1 span,
.sbti-hero h1 span {
  color: #ffd700;
}

.lead,
.sbti-hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  opacity: 0.88;
}
.hero-points li::before {
  content: '✨ ';
}

.hero-stats,
.sbti-hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.hero-stats span,
.sbti-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary,
.sbti-btn-start {
  background: #fff;
  color: var(--sbti-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover,
.sbti-btn-start:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  color: var(--sbti-primary);
}

.hero .btn-primary,
.sbti-hero .btn-primary {
  padding: 16px 44px;
  font-size: 1.05rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-ghost:hover,
.sbti-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.section .btn-ghost,
.site-main > .section .btn-ghost {
  background: #fff;
  color: var(--sbti-primary);
  border: 2px solid var(--sbti-primary);
}
.section .btn-ghost:hover {
  background: #f3f2ff;
}

.section .btn-primary {
  background: linear-gradient(135deg, var(--sbti-primary), #9b59b6);
  color: #fff;
  box-shadow: var(--sbti-shadow);
}
.section .btn-primary:hover {
  box-shadow: var(--sbti-shadow-hover);
  color: #fff;
}

.btn.sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

/* ── 섹션 ── */
.section {
  padding: 56px 20px;
}
.section .container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
.container.narrow {
  width: min(720px, 92vw);
  margin: 0 auto;
}

.section-title,
.section h2:first-of-type:not(.quiz-title) {
  font-size: clamp(1.28rem, 2.75vw, 1.72rem);
  font-weight: 800;
  color: var(--sbti-text);
  text-align: center;
  margin: 0 0 0.5rem;
}

.muted-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, var(--sbti-bg) 100%);
}

.muted {
  color: var(--sbti-muted);
}
.small {
  font-size: 0.86rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.split h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 0;
  color: var(--sbti-text);
}

/* 특징 카드 · 링크 카드 */
.sbti-features,
.card-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.sbti-feature-card,
.big-link {
  background: var(--sbti-card);
  border-radius: var(--sbti-radius);
  padding: 1.75rem 1.35rem;
  box-shadow: var(--sbti-shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(108, 99, 255, 0.06);
}
.sbti-feature-card:hover,
.big-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--sbti-shadow-hover);
  text-decoration: none;
  border-color: rgba(108, 99, 255, 0.15);
}

.sbti-feature-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.sbti-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.sbti-feature-card p {
  font-size: 0.9rem;
  color: var(--sbti-muted);
  margin: 0;
  line-height: 1.65;
}

.big-link {
  display: block;
  text-align: left;
}
.big-link span {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--sbti-text);
}
.big-link small {
  color: var(--sbti-muted);
  font-size: 0.9rem;
}

/* 비교표 */
.sbti-compare-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sbti-shadow);
}
.sbti-compare-table thead,
.compare-table thead {
  background: var(--sbti-primary);
  color: #fff;
}
.sbti-compare-table th,
.sbti-compare-table td,
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  font-size: 0.92rem;
}
.sbti-compare-table tbody tr:nth-child(even),
.compare-table tbody tr:nth-child(even) {
  background: #f3f2ff;
}
.sbti-compare-table tbody tr:nth-child(odd),
.compare-table tbody tr:nth-child(odd) {
  background: #fff;
}
.sbti-compare-table td:first-child,
.compare-table td:first-child {
  font-weight: 700;
  color: var(--sbti-text);
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

/* 광고 슬롯 자리 */
.sbti-ad-slot {
  background: #f1f0ff;
  border: 1px dashed #c5c0ff;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  margin: 1.5rem auto;
  max-width: 728px;
  color: var(--sbti-muted);
  font-size: 0.8rem;
}

/* 랭킹 */
.rank-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.rank-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--sbti-card);
  box-shadow: 0 2px 16px rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.08);
}
.rank-num {
  font-weight: 800;
  color: var(--sbti-primary);
  width: 2rem;
  font-size: 1.1rem;
}
.rank-hits {
  font-size: 0.85rem;
  color: var(--sbti-muted);
}
.arrow-link {
  font-size: 0.88rem;
  font-weight: 700;
}

/* 유형 그리드 */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}
.type-card {
  background: var(--sbti-card);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--sbti-shadow);
  border: 1px solid rgba(108, 99, 255, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sbti-shadow-hover);
  text-decoration: none;
  border-color: rgba(108, 99, 255, 0.18);
}
.type-card-visual {
  background: linear-gradient(148deg, #5548e0 0%, #7d4aa3 48%, #c75f7c 100%);
  color: #fff;
  padding: 1.15rem 1rem 1.2rem;
  text-align: center;
  border-radius: 15px 15px 0 0;
}

.type-card:not(:has(.type-card-teaser)) .type-card-visual {
  border-radius: 15px;
}

.type-card .type-code {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.type-card-visual strong {
  display: block;
  margin: 0.35rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.type-card .type-card-tagline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.5;
}

.type-card .type-card-teaser {
  margin: 0;
  padding: 0.85rem 1rem 1.15rem;
  font-size: 0.76rem;
  line-height: 1.52;
  text-align: left;
  color: var(--sbti-muted);
}

/* 유형 상세 */
.type-page .breadcrumb {
  margin-bottom: 1rem;
}
.type-header h1 {
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.tagline {
  font-size: 1.05rem;
  color: var(--sbti-muted);
}
.split-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.split-block > .sbti-feature-card h2 {
  color: var(--sbti-primary);
  border-bottom: 2px solid #f0eeff;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}
.split-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--sbti-text);
}

/* ── 테스트 페이지 ── */
.test-head {
  padding: 2.5rem 20px 1rem;
  text-align: center;
  background: var(--sbti-bg);
  color: var(--sbti-text);
}
.test-head h1 {
  margin: 0.35rem 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: inherit;
}

/* .test-head와 .test-hero-strip 동시 사용 시 뒤에 오는 .test-head가 배경만 밝게 덮어써
   글자색은 흰색(.test-hero-strip)으로 남아 읽히지 않는 문제 → 그라데이션 유지 */
section.test-head.test-hero-strip,
.test-head.test-hero-strip {
  background: linear-gradient(135deg, #5d54e8 0%, #8f4aad 52%, #e96384 100%);
  color: #fff;
  padding: 2.25rem 20px 1.35rem;
  position: relative;
  overflow: hidden;
}

section.test-head.test-hero-strip::before,
.test-head.test-hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}

section.test-head.test-hero-strip .container,
.test-head.test-hero-strip .container {
  position: relative;
  z-index: 1;
}

section.test-head.test-hero-strip h1,
.test-head.test-hero-strip h1 {
  color: #fff;
}

section.test-head.test-hero-strip .lead,
.test-head.test-hero-strip .lead {
  color: rgba(255, 255, 255, 0.92);
}

.quiz-page-wrap {
  padding-bottom: 4rem;
}

.quiz-bar {
  background: #e5e4ff;
  border-radius: 50px;
  height: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.quiz-progress,
#quiz-progress-fill {
  display: block;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--sbti-primary), var(--sbti-secondary));
  transition: width 0.35s ease;
  width: 0;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--sbti-muted);
  margin-bottom: 1.5rem;
}

.sbti-question-card,
.quiz-card-inner {
  background: var(--sbti-card);
  border-radius: var(--sbti-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--sbti-shadow);
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sbti-q-number,
.quiz-q-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sbti-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.quiz-title,
.sbti-q-text {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  color: var(--sbti-text);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.quiz-options,
.sbti-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-opt,
.sbti-option {
  background: #f8f7ff;
  border: 2px solid #e5e4ff;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.98rem;
  color: var(--sbti-text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: inherit;
  width: 100%;
}
.quiz-opt:hover,
.sbti-option:hover {
  border-color: var(--sbti-primary);
  background: #f0eeff;
  transform: translateX(4px);
}

.opt-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--sbti-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}
.opt-text {
  flex: 1;
}

/* ── 결과 카드 ── */
.result-card {
  margin-bottom: 2rem;
}

.result-head,
.sbti-result-header {
  background: linear-gradient(135deg, var(--sbti-primary) 0%, var(--sbti-secondary) 100%);
  color: #fff;
  border-radius: var(--sbti-radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--sbti-shadow-hover);
}

.result-head h2,
.sbti-result-header h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.type-header.sbti-result-header h1 {
  color: #fff;
}

.result-card > p,
.sbti-result-body {
  background: var(--sbti-card);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--sbti-shadow);
  margin: 0 0 1rem;
  line-height: 1.75;
  border: 1px solid rgba(108, 99, 255, 0.06);
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.pill.ghost {
  background: rgba(255, 255, 255, 0.14);
}

.hidden {
  display: none !important;
}

/* 공유 버튼 */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 0;
  padding: 1.25rem;
  background: var(--sbti-card);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(108, 99, 255, 0.08);
}

.share-row .muted {
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}

.share-row [data-copy-link] {
  background: var(--sbti-primary);
  color: #fff;
  border: none;
}
.share-row [data-share-fb] {
  background: #1877f2;
  color: #fff;
  border: none;
}
.share-row [data-share-x] {
  background: #1da1f2;
  color: #fff;
  border: none;
}
.share-row [data-share-thread] {
  background: linear-gradient(135deg, #555, #111);
  color: #fff;
  border: none;
}
.share-row .btn.sm:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.section .hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--sbti-primary), #9b59b6);
  color: #fff;
}
.section .hero-actions .btn-ghost {
  border-color: var(--sbti-primary);
  color: var(--sbti-primary);
  background: #fff;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 1.5rem auto 0;
}
.faq-item,
.sbti-faq-item {
  background: var(--sbti-card);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(108, 99, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.06);
}
.faq-item summary,
.sbti-faq-q {
  padding: 18px 22px;
  font-weight: 800;
  color: var(--sbti-text);
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.35rem;
  color: var(--sbti-primary);
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--sbti-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.dim-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.dim-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e8e6ff;
  font-size: 0.92rem;
}

/* 블로그 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.blog-card {
  border-radius: var(--sbti-radius);
  overflow: hidden;
  background: var(--sbti-card);
  box-shadow: var(--sbti-shadow);
  border: 1px solid rgba(108, 99, 255, 0.06);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sbti-shadow-hover);
  text-decoration: none;
}
.blog-card img,
.blog-card-placeholder {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #e5e4ff, #ffe8f0);
}
.blog-card-body {
  padding: 1.1rem 1.2rem 1.35rem;
}
.blog-card-body time {
  font-size: 0.8rem;
  color: var(--sbti-muted);
}
.blog-card-body h2 {
  margin: 0.35rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sbti-text);
}
.blog-card-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sbti-muted);
}

.blog-article .article-body {
  margin-top: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-cover {
  margin: 0 0 1.25rem;
  border-radius: var(--sbti-radius);
  overflow: hidden;
  box-shadow: var(--sbti-shadow);
}

.pager {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

/* 푸터 */
.site-footer {
  border-top: 1px solid rgba(108, 99, 255, 0.12);
  padding: 2.25rem 0 2.5rem;
  margin-top: 2rem;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(108, 99, 255, 0.05);
}

.footer-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-weight: 600;
}
.copyright {
  width: min(1120px, 92vw);
  margin: 1.5rem auto 0;
  font-size: 0.82rem;
  color: var(--sbti-muted);
}

/* 관리자 */
.admin-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #ecebff;
}
.admin-topnav a {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--sbti-muted);
  text-decoration: none;
  padding: 0.4rem 0.15rem;
  border-bottom: 3px solid transparent;
}
.admin-topnav a:hover {
  color: var(--sbti-primary);
}
.admin-topnav a.active {
  color: var(--sbti-primary);
  border-bottom-color: var(--sbti-primary);
}
.muted-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--sbti-muted) !important;
  border: none !important;
}
.muted-link:hover {
  color: var(--sbti-primary) !important;
}

.admin-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.admin-card {
  background: var(--sbti-card);
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: var(--sbti-radius);
  padding: 1.5rem;
  box-shadow: var(--sbti-shadow);
}
.admin-field {
  margin-bottom: 1rem;
}
.admin-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--sbti-text);
}
.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 2px solid #e5e4ff;
  background: #fff;
  color: var(--sbti-text);
  font-family: inherit;
}
.admin-field textarea {
  min-height: 220px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table th,
.admin-table td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid #ecebff;
  text-align: left;
}
.flash {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.flash.ok {
  background: #e8fff5;
  border: 1px solid #43d39e;
  color: #065f46;
}
.flash.err {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

@media (max-width: 600px) {
  .rank-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .rank-hits,
  .arrow-link {
    grid-column: 2 / -1;
  }
  .sbti-question-card,
  .quiz-card-inner {
    padding: 1.5rem 1.15rem;
  }
}

/* ── 테스트 결과 · 15차원 브리지 ── */
.result-deep {
  margin: 1.75rem 0 1.25rem;
  padding: 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--sbti-radius);
  border: 1px solid rgba(108, 99, 255, 0.14);
  box-shadow: 0 6px 24px rgba(108, 99, 255, 0.06);
}

.result-deep-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  letter-spacing: -0.02em;
}

.result-micro-line {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--sbti-text);
}

.result-dna-hint {
  margin: 0 0 1rem;
}

.result-dna-board {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dna-track {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 247, 255, 0.95), rgba(255, 250, 252, 0.92));
  border: 1px dashed rgba(108, 99, 255, 0.22);
}

.dna-track-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--sbti-muted);
}

.dna-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.dna-chip {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dna-chip.L {
  background: rgba(67, 211, 158, 0.25);
  color: #047857;
  border: 1px solid rgba(67, 211, 158, 0.45);
}

.dna-chip.M {
  background: rgba(108, 99, 255, 0.18);
  color: #4338ca;
  border: 1px solid rgba(108, 99, 255, 0.35);
}

.dna-chip.H {
  background: rgba(255, 101, 132, 0.22);
  color: #be123c;
  border: 1px solid rgba(255, 101, 132, 0.42);
}

.dna-chip.ghost {
  opacity: 0.88;
}

.dna-seq {
  display: block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  word-break: break-all;
  text-align: center;
  margin: 0;
  color: var(--sbti-text);
}

.dna-seq.muted-seq {
  color: var(--sbti-muted);
}

.result-keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.kw-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: var(--sbti-text);
}

.dim-model-block {
  margin-bottom: 1.35rem;
}

.dim-model-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--sbti-primary);
}

.dim-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(108, 99, 255, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.dim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.dim-table th,
.dim-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
  text-align: left;
}

.dim-table thead th {
  font-weight: 700;
  background: rgba(108, 99, 255, 0.06);
}

.dim-blurb {
  color: var(--sbti-muted);
  line-height: 1.55;
}

.band-tag {
  display: inline-flex;
  min-width: 1.5rem;
  justify-content: center;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.76rem;
}

.band-tag.L {
  background: rgba(67, 211, 158, 0.2);
  color: #047857;
}

.band-tag.M {
  background: rgba(108, 99, 255, 0.18);
  color: #4338ca;
}

.band-tag.H {
  background: rgba(255, 101, 132, 0.18);
  color: #be123c;
}

.band-tag.ghost {
  opacity: 0.75;
}

.dim-match {
  color: var(--sbti-accent);
  font-weight: 900;
}

.dim-diff {
  color: var(--sbti-secondary);
  font-weight: 700;
}

.similar-types-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(108, 99, 255, 0.18);
}

.similar-types-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.similar-types-list li {
  margin-bottom: 0.45rem;
}

.similar-types-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(108, 99, 255, 0.12);
}

.similar-types-list a:hover {
  border-color: rgba(108, 99, 255, 0.35);
}

.similar-pct {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sbti-primary);
}

.result-disclaimer {
  margin: 1rem 0 0 !important;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── 유형 상세 페이지 · 중성 그레이 배경 ── */
body.sbti-wrap:has(article.type-page-rich) {
  background: linear-gradient(180deg, #e9ebed 0%, #e4e6ea 48%, #e1e4e8 100%);
}

/* ── 유형 상세 풍성 레이아웃 ── */
.type-page-rich .type-hero-rich {
  padding-bottom: 1.25rem;
}
.type-code-display {
  font-size: clamp(1.75rem, 5vw, 2.35rem) !important;
  letter-spacing: 0.14em !important;
}
.type-badge-title {
  margin: 0.35rem 0;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}
.type-tagline-display {
  font-size: 1.05rem !important;
  line-height: 1.55;
}

.type-pattern-board {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 1.15rem;
  border-radius: var(--sbti-radius);
  background: linear-gradient(168deg, #f3f4f6 0%, #eceef1 52%, #e8eaee 100%);
  border: 1px solid rgba(82, 94, 112, 0.11);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 14px 40px rgba(60, 70, 85, 0.06);
}

.type-pattern-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.type-pattern-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #4b5568;
}

.type-pattern-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6f7a89;
  letter-spacing: 0.01em;
}

.type-pattern-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lmh-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
}

.lmh-dot.L {
  background: #43d39e;
}

.lmh-dot.M {
  background: var(--sbti-primary);
}

.lmh-dot.H {
  background: var(--sbti-secondary);
}

.type-pattern-board .lmh-dot.L {
  background: #7a9e96;
}

.type-pattern-board .lmh-dot.M {
  background: #7386a8;
}

.type-pattern-board .lmh-dot.H {
  background: #9398b8;
}

.type-pattern-chips {
  justify-content: center;
  margin-bottom: 0.5rem;
}

.type-pattern-seq {
  margin-top: 0.35rem;
}

/* 유형 상세 — 15각 레이더 (그레이 웰 · 청청 톤) */
.type-pattern-radar-wrap {
  margin: 0.45rem auto 0.85rem;
  max-width: min(100%, 400px);
  padding: 0.75rem 0.65rem 0.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(245, 246, 248, 0.9) 100%);
  border: 1px solid rgba(100, 116, 139, 0.11);
  box-shadow: 0 1px 2px rgba(70, 80, 95, 0.04) inset;
}

.type-pattern-radar {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.type-radar-ring {
  fill: none;
  stroke: rgba(100, 116, 139, 0.26);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.type-radar-ring[data-ring='2'] {
  stroke: rgba(100, 116, 139, 0.31);
}

.type-radar-ring[data-ring='3'] {
  stroke: rgba(100, 116, 139, 0.38);
}

.type-radar-axis {
  stroke: rgba(100, 116, 139, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.type-radar-area {
  fill: rgba(62, 122, 148, 0.2);
  stroke: rgba(52, 108, 138, 0.38);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.type-radar-vertex {
  vector-effect: non-scaling-stroke;
}

.type-radar-vertex.L {
  fill: #f8f9fa;
  stroke: rgba(94, 142, 138, 0.72);
  stroke-width: 1.25;
}

.type-radar-vertex.M {
  fill: #f8f9fa;
  stroke: rgba(94, 118, 156, 0.72);
  stroke-width: 1.25;
}

.type-radar-vertex.H {
  fill: #f8f9fa;
  stroke: rgba(118, 122, 168, 0.72);
  stroke-width: 1.25;
}

.type-radar-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  fill: #5d6778;
  font-family: var(--font);
}

.type-pattern-radar-caption {
  margin: 0.55rem 0 0;
  padding: 0 0.35rem;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #707a88;
}

.lmh-distribution {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(90, 100, 115, 0.1);
}

.lmh-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
}

.lmh-key {
  font-weight: 800;
  text-align: center;
}

.lmh-key.L {
  color: #047857;
}

.lmh-key.M {
  color: #4338ca;
}

.lmh-key.H {
  color: #be123c;
}

.type-pattern-board .lmh-key.L {
  color: #5d827b;
}

.type-pattern-board .lmh-key.M {
  color: #5d6b8a;
}

.type-pattern-board .lmh-key.H {
  color: #7479a0;
}

.type-pattern-board .lmh-bar-track {
  background: rgba(100, 116, 139, 0.11);
}

.type-pattern-board .lmh-bar-fill.L {
  background: linear-gradient(90deg, rgba(93, 130, 123, 0.55), rgba(93, 130, 123, 0.88));
}

.type-pattern-board .lmh-bar-fill.M {
  background: linear-gradient(90deg, rgba(95, 114, 158, 0.45), rgba(95, 114, 158, 0.82));
}

.type-pattern-board .lmh-bar-fill.H {
  background: linear-gradient(90deg, rgba(116, 121, 160, 0.45), rgba(116, 121, 160, 0.82));
}

.lmh-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.08);
  overflow: hidden;
}

.lmh-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.lmh-bar-fill.L {
  background: linear-gradient(90deg, rgba(67, 211, 158, 0.65), #43d39e);
}

.lmh-bar-fill.M {
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.45), var(--sbti-primary));
}

.lmh-bar-fill.H {
  background: linear-gradient(90deg, rgba(255, 101, 132, 0.55), var(--sbti-secondary));
}

.lmh-count {
  font-variant-numeric: tabular-nums;
  color: var(--sbti-muted);
  min-width: 2.5rem;
  text-align: right;
}

.type-lead-block {
  margin-top: 0.25rem;
}

.type-lead-card {
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #fafbfc 55%, #f7f8fa 100%);
  border: 1px solid rgba(82, 94, 112, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 36px rgba(55, 65, 80, 0.07);
}

.type-lead-card .type-summary-lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #3f4656;
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.type-lead-card .type-summary-lead:last-child {
  margin-bottom: 0;
}

.type-opening-quote {
  margin: 0 auto;
  padding: 0 0.35rem 0.25rem;
  max-width: 38rem;
  border: none;
  text-align: center;
}

.type-opening-quote-open,
.type-opening-quote-close {
  display: block;
  font-family: ui-serif, 'Georgia', 'Noto Serif KR', serif;
  font-weight: 400;
  line-height: 0.82;
  color: rgba(82, 118, 148, 0.42);
  user-select: none;
  pointer-events: none;
}

.type-opening-quote-open {
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  margin: 0 0 -0.15rem;
  letter-spacing: -0.08em;
}

.type-opening-quote-close {
  font-size: clamp(1.85rem, 6.5vw, 2.85rem);
  margin: 0.35rem 0 0;
  color: rgba(100, 116, 139, 0.38);
}

.type-opening-quote-text {
  margin: 0;
  padding: 0 0.25rem;
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: -0.02em;
  color: #374151;
  text-align: center;
}

.type-opening-follow {
  margin: 1.15rem auto 0;
  padding: 0;
  max-width: 40rem;
  font-size: 0.94rem;
  line-height: 1.78;
  color: #4b5568;
  text-align: left;
}

.type-opening-follow:last-child {
  margin-bottom: 0;
}

.prose-rich p {
  margin: 0 0 0.85rem;
  color: var(--sbti-text);
  line-height: 1.75;
  font-size: 0.96rem;
}

.prose-rich p:last-child {
  margin-bottom: 0;
}

.type-section-grid {
  display: grid;
  gap: 1.15rem;
  margin: 1.65rem 0;
}

.type-deep-card {
  padding: 1.2rem 1.15rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid rgba(82, 94, 112, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(55, 65, 80, 0.06);
}

.type-deep-card-title {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.4;
}

.type-deep-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: rgba(94, 118, 148, 0.09);
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.type-deep-icon {
  font-size: 1.12rem;
  line-height: 1;
}

.type-deep-card-heading {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1f2937;
}

.type-deep-card-body p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: #5c6570;
  line-height: 1.72;
}

.type-deep-card-body p:last-child {
  margin-bottom: 0;
}

.type-split-legacy {
  margin-top: 1.5rem;
}

article.type-page-rich .split-block > .sbti-feature-card {
  background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(82, 94, 112, 0.09);
  box-shadow: 0 8px 28px rgba(55, 65, 80, 0.06);
}

article.type-page-rich .split-block > .sbti-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 94, 112, 0.14);
  box-shadow: 0 14px 36px rgba(55, 65, 80, 0.085);
}

article.type-page-rich .split-block > .sbti-feature-card h2 {
  color: #334155 !important;
  border-bottom-color: rgba(100, 116, 139, 0.16);
}

.type-mini-title {
  font-size: 1rem !important;
}

.type-check-list {
  margin: 0;
  padding-left: 1.15rem;
}

.type-check-list li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.type-synergy-block {
  margin: 2rem 0 1.25rem;
  padding: 1.25rem 1.1rem;
  border-radius: var(--sbti-radius);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), rgba(255, 101, 132, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.12);
}

.type-synergy-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.type-synergy-note {
  margin: 0 0 1rem !important;
}

.type-synergy-cards {
  display: grid;
  gap: 0.65rem;
}

.type-synergy-card {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(108, 99, 255, 0.12);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.type-synergy-card:hover {
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.1);
  text-decoration: none;
}

.type-synergy-code {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--sbti-primary);
  margin-right: 0.35rem;
}

.type-synergy-card strong {
  display: inline;
  font-size: 0.95rem;
}

.type-synergy-card p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--sbti-muted);
  line-height: 1.55;
}

.type-keyword-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 1.25rem 0 0.75rem;
}

.type-pattern-ref {
  text-align: center;
}

.type-page-actions {
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .type-section-grid {
    grid-template-columns: 1fr 1fr;
  }
}
