:root {
  
  --bg-base: #FFF8E7;
  --bg-grid: #1A1A1A;

  
  --c-yolk:    #FFD93D;
  --c-tomato:  #FF5E5B;
  --c-mint:    #00C2A8;
  --c-sky:     #4E9CFF;
  --c-grape:   #B47AFF;

  
  --ink:       #1A1A1A;
  --ink-soft:  #4A4A4A;
  --paper:     #FFFFFF;

  
  --border-w:    3px;
  --border-w-lg: 4px;

  
  --shadow-xs: 2px 2px 0 0 var(--ink);
  --shadow-sm: 4px 4px 0 0 var(--ink);
  --shadow-md: 6px 6px 0 0 var(--ink);
  --shadow-lg: 8px 8px 0 0 var(--ink);

  
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;

  
  --card-bg: var(--paper);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-light: #777777;
  --shadow: var(--shadow-sm);
  --shadow-hover: var(--shadow-md);
  --radius: var(--r-md);
  --radius-sm: var(--r-sm);
  --cat-psychology: var(--c-grape);
  --cat-psychology-bg: #F1E6FF;
  --cat-quiz: var(--c-sky);
  --cat-quiz-bg: #DCEAFE;
  --cat-fun: var(--c-tomato);
  --cat-fun-bg: #FFE2E2;
  --cat-ability: var(--c-mint);
  --cat-ability-bg: #D2F5EE;
  --accent: var(--ink);
  --accent-hover: #000000;
  --bg-gradient-1: var(--bg-base);
  --bg-gradient-2: var(--bg-base);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  background-color: var(--bg-base);
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}


.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 2px var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  color: var(--paper);
  outline: 3px solid var(--c-yolk);
  outline-offset: 3px;
  transform: translateY(0);
}

main[tabindex="-1"],
[role="main"][tabindex="-1"] {
  scroll-margin-top: 88px;
}


.header {
  background: var(--c-yolk);
  border-bottom: var(--border-w-lg) solid var(--ink);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon {
  font-size: 28px;
  display: inline-block;
  transform: rotate(-8deg);
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  transition: background 0.15s;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--c-yolk);
}


.hamburger {
  display: none;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 10px;
  color: var(--ink);
  line-height: 1;
  font-weight: 900;
  box-shadow: 2px 2px 0 0 var(--ink);
}

@media (max-width: 1160px) and (min-width: 981px) {
  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding: 4px 5px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-yolk);
    flex-direction: column;
    padding: 12px 20px 16px;
    border-top: var(--border-w) solid var(--ink);
    border-bottom: var(--border-w) solid var(--ink);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}


.hero {
  text-align: center;
  padding: 48px 20px 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1px;
}

.hero h1 .hl {
  background-image: linear-gradient(var(--c-yolk), var(--c-yolk));
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 100%;
  padding: 0 4px 0.05em;
}

.hero p {
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-promo-strip-compact .home-promo-strip-inner {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 10px 12px;
  background: var(--paper);
}

.home-promo-strip-compact .home-promo-strip-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-promo-strip-compact .home-promo-strip-links a {
  min-height: 58px;
  padding: 7px 10px;
  box-shadow: none;
}


.nav-links > li:nth-child(3),
.nav-links > li:nth-child(7),
.nav-links > li:nth-child(8),
.nav-links > li:nth-child(9) {
  display: none;
}

.home-season-pulse {
  display: none;
}

.new-quiz-more a:nth-child(n+6),
.home-guide-strip[aria-label="요즘 많이 찾는 고민별 테스트"] .home-guide-card:nth-child(n+7),
.home-guide-strip[aria-label="상황별 테스트 모음"] .home-guide-card:nth-child(n+7) {
  display: none;
}

.home-promo-strip {
  max-width: 1000px;
  margin: 16px auto 0;
  padding: 0 20px;
  width: 100%;
}

.home-promo-strip-inner {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  background: #FFF1B8;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.home-promo-strip-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.home-promo-strip-inner strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.home-promo-strip-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.home-promo-strip-links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 98px;
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 2px 2px 0 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}

.home-promo-strip-links[data-promo-randomize] a:nth-of-type(n+5) {
  display: none;
}

.home-promo-strip-links a:hover,
.home-promo-strip-links a:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 0 var(--ink);
}

.home-promo-strip-title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-promo-strip-links small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-promo-strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
  margin-top: 5px;
}

.home-promo-strip-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 5px;
  color: var(--ink-soft);
  background: #FFF7DE;
  border: 1.5px solid rgba(45, 45, 45, 0.26);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.home-promo-strip-cta {
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 7px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
  word-break: keep-all;
}

.home-promo-strip-links a:hover .home-promo-strip-cta,
.home-promo-strip-links a:focus-visible .home-promo-strip-cta {
  background: var(--c-tomato);
}

@media (max-width: 720px) {
  .home-promo-strip {
    margin-top: 12px;
    padding: 0 16px;
  }

  .home-promo-strip-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .home-promo-strip-kicker {
    justify-self: start;
  }

  .home-promo-strip-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-promo-strip-links a {
    min-height: 104px;
  }
}


.category-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 20px 30px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.filter-btn {
  padding: 10px 20px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.filter-btn.active {
  color: var(--paper);
  background: var(--ink);
}

.filter-btn[data-category="psychology"].active { background: var(--c-sky); color: var(--paper); }
.filter-btn[data-category="fun"].active { background: var(--c-tomato); color: var(--paper); }


.quiz-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.quiz-grid[data-filter="psychology"] .quiz-card:not([data-category="psychology"]) { display: none; }
.quiz-grid[data-filter="fun"] .quiz-card:not([data-category="fun"]) { display: none; }


.quiz-card {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
}

.quiz-card[data-category="psychology"] { background: #F1E6FF; }
.quiz-card[data-category="quiz"] { background: #DCEAFE; }
.quiz-card[data-category="fun"] { background: #FFE2E2; }
.quiz-card[data-category="ability"] { background: #D2F5EE; }


.quiz-ad-card {
  display: none;
}
.quiz-ad-card.loaded {
  display: flex;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.quiz-ad-card.loaded .ad-title {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.quiz-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.quiz-card:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.quiz-card-emoji {
  font-size: 42px;
  margin-bottom: 14px;
  display: inline-block;
  transform: rotate(-4deg);
}

.quiz-card-title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.quiz-card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  flex-grow: 1;
  font-weight: 500;
}

.quiz-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-card-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-card-count {
  font-size: 12px;
  color: var(--text-light);
}


.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.quiz-container.has-result-sticky {
  padding-bottom: 60px;
}

.quiz-header {
  text-align: center;
  margin-bottom: 30px;
}

.quiz-header-emoji {
  font-size: 56px;
  margin-bottom: 12px;
}

.quiz-header h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.quiz-header p {
  color: var(--text-secondary);
  font-size: 14px;
}


.quiz-start {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.quiz-start-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.quiz-start-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-start {
  padding: 14px 36px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  background: var(--c-yolk);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.3px;
}

.btn-start:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.btn-start:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.quiz-start-ad-frame {
  display: none;
  width: 100%;
  margin: 20px auto 4px;
  padding: 6px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}


.progress-wrap {
  margin-bottom: 24px;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 700;
}

.progress-bar {
  height: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--c-yolk);
  transition: width 0.4s ease;
}


.analyzing-card {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 36px 30px;
  text-align: center;
}

.analyzing-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 14px;
  animation: analyzingPulse 0.9s ease-in-out infinite alternate;
}

.analyzing-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.quiz-mid-helper {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  margin: -8px 0 14px;
}

.analyzing-fill {
  width: 0;
  background: linear-gradient(90deg, var(--c-mint), var(--c-sky), var(--c-grape));
  animation: analyzingFill 2s ease-out forwards;
}

.btn-mid-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--c-yolk);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .1s ease, box-shadow .1s ease;
}

.btn-mid-continue:hover,
.btn-mid-continue:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.btn-mid-continue:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.quiz-mid-promo {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
  padding: 14px;
  background: #FFF7DE;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.quiz-mid-promo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  text-align: center;
  word-break: keep-all;
}

.quiz-mid-promo-kicker {
  padding: 4px 8px;
  color: var(--paper);
  background: var(--c-tomato);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-mid-promo-head strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-mid-promo-head small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.quiz-mid-promo-direct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quiz-mid-promo-direct-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 9px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 0 rgba(45, 45, 45, 0.16);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.quiz-mid-promo-direct-card:hover,
.quiz-mid-promo-direct-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.quiz-mid-promo-direct-card.is-ending-soon {
  background: #fff0f0;
}

.quiz-mid-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
}

.quiz-mid-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-mid-promo-direct-kicker {
  justify-self: start;
  padding: 3px 6px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-mid-promo-direct-card strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-mid-promo-direct-card small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  word-break: keep-all;
}

.quiz-mid-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.quiz-mid-promo-fit-tags span {
  padding: 2px 6px;
  color: var(--ink-soft);
  background: #fff7de;
  border: 1.5px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-mid-promo-cta {
  justify-self: start;
  padding: 5px 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-mid-promo-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quiz-mid-promo-links a {
  display: grid;
  gap: 2px;
  min-height: 54px;
  align-content: center;
  padding: 8px 6px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  text-align: center;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.quiz-mid-promo-links a:hover,
.quiz-mid-promo-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.quiz-mid-promo-links span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-mid-promo-links small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-mid-promo-disclosure {
  margin: -2px 0 0;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.quiz-mid-ad-frame {
  margin: 24px 0;
  padding: 8px;
  overflow: hidden;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.quiz-question-ad-frame {
  display: none;
  width: 100%;
  margin: 18px 0 2px;
  padding: 6px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.quiz-question-promo-card {
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 8px;
  padding: 10px;
  color: var(--ink);
  background: #fffaf0;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 0 rgba(45, 45, 45, 0.18);
  text-decoration: none;
}

.quiz-question-promo-card.is-ending-soon {
  background: #fff0f0;
}

.quiz-question-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
}

.quiz-question-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-question-promo-card:hover,
.quiz-question-promo-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.quiz-question-promo-kicker {
  justify-self: start;
  padding: 3px 6px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-question-promo-card strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-question-promo-card small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  word-break: keep-all;
}

.quiz-question-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.quiz-question-promo-fit-tags span {
  padding: 2px 6px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-question-promo-cta {
  justify-self: start;
  padding: 5px 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-analyzing-ad-frame,
.quiz-result-ad-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 24px 0;
  padding: 8px;
  overflow: hidden;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.quiz-result-ad-frame {
  margin: 20px 0;
}

.quiz-result-ad-frame-bottom {
  margin: 22px 0;
}

.quiz-shared-result-ad-frame {
  margin: 14px 0 18px;
}

.quiz-result-action-ad-frame {
  margin: 12px 0 20px;
}

.quiz-start-ad-frame .simsim-ad-slot,
.quiz-mid-ad-frame .simsim-ad-slot,
.quiz-question-ad-frame .simsim-ad-slot,
.quiz-analyzing-ad-frame .simsim-ad-slot,
.quiz-result-ad-frame .simsim-ad-slot {
  width: 100%;
}

@media (min-width: 1024px) {
  .quiz-result-action-ad-frame {
    display: none;
  }
}

@media (max-width: 760px) {
  .quiz-start-ad-frame {
    display: block;
  }
}

@media (max-width: 520px) {
  .quiz-mid-promo {
    padding: 12px;
  }

  .quiz-mid-promo-head {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .quiz-mid-promo-head small {
    flex: 1 0 100%;
  }

  .quiz-mid-promo-direct-grid {
    grid-template-columns: 1fr;
  }

  .quiz-mid-promo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-question-ad-frame {
    display: block;
  }

  .quiz-question-ad-frame .simsim-static-ad-wrapper {
    border-width: 2px;
  }

  .quiz-start-ad-frame .simsim-static-ad-label,
  .quiz-start-ad-frame .simsim-static-ad-wrapper p,
  .quiz-question-ad-frame .simsim-static-ad-label,
  .quiz-question-ad-frame .simsim-static-ad-wrapper p {
    font-size: 10px;
  }

  .quiz-start-ad-frame,
  .quiz-mid-ad-frame,
  .quiz-question-ad-frame,
  .quiz-analyzing-ad-frame,
  .quiz-result-ad-frame {
    margin-left: -2px;
    margin-right: -2px;
    padding: 6px;
  }
}

@keyframes analyzingPulse {
  from { transform: scale(1) rotate(-4deg); }
  to { transform: scale(1.15) rotate(4deg); }
}

@keyframes analyzingFill {
  from { width: 0; }
  to { width: 100%; }
}


.question-card {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.question-number {
  font-size: 12px;
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 10px;
  background: var(--c-yolk);
  display: inline-block;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  letter-spacing: 0.5px;
}

.question-text {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 28px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  padding: 16px 20px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
  text-align: left;
  font-family: inherit;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.option-btn:hover {
  background: var(--c-yolk);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.option-btn.selected {
  background: var(--c-yolk);
  color: var(--ink);
  font-weight: 900;
}

.option-btn.correct {
  background: var(--c-mint);
  color: var(--ink);
}

.option-btn.wrong {
  background: var(--c-tomato);
  color: var(--ink);
}


.result-card {
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.4s ease;
}

.result-emoji {
  font-size: 64px;
  margin-bottom: 16px;
  display: inline-block;
  transform: rotate(-6deg);
}

.result-title {
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.5px;
  display: inline;
  background: linear-gradient(180deg, transparent 55%, var(--c-yolk) 55%);
  padding: 0 6px;
}

.result-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  margin-top: 12px;
  font-weight: 700;
}

.result-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 30px;
  text-align: left;
  background: var(--bg-base);
  border-left: 4px solid var(--c-sky);
  padding: 20px 20px 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-weight: 600;
  position: relative;
}

.result-desc::before {
  content: '\275D';
  position: absolute;
  top: -16px;
  left: 6px;
  font-size: 40px;
  color: var(--c-sky);
  opacity: 0.3;
  line-height: 1;
}

.result-share-kit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 14px;
  background: #FFF3BF;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.result-share-kit-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.result-share-kit-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.result-share-kit strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.result-share-kit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.result-share-kit-copy-btn {
  min-width: 92px;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--c-yolk);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
}

.result-share-kit-copy-btn:hover,
.result-share-kit-copy-btn:focus-visible {
  background: var(--paper);
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.result-share-kit-copy-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--ink);
}

.result-share-kit-copy-btn.is-copied {
  background: var(--c-mint);
}

.result-score {
  font-size: 56px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -1px;
  background: var(--c-yolk);
  display: inline-block;
  padding: 8px 24px;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-share,
.btn-save-image,
.btn-retry,
.btn-home {
  padding: 12px 22px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.btn-share { background: var(--c-yolk); }
.btn-save-image { background: var(--c-mint); }
.btn-retry { background: var(--c-sky); }
.btn-home { background: var(--paper); }

.btn-share:hover,
.btn-save-image:hover,
.btn-retry:hover,
.btn-home:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.btn-share:active,
.btn-save-image:active,
.btn-retry:active,
.btn-home:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.result-sticky-actions {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  margin: 24px auto 0;
  padding: 8px;
  background: rgba(255, 252, 242, 0.96);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 5px 5px 0 var(--ink);
  transform: none;
  backdrop-filter: none;
}

.result-sticky-action {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 12px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.result-sticky-action.is-quiz {
  background: #DCEAFE;
}

.result-sticky-action.is-shopping {
  background: #FFE2E2;
}

.result-sticky-action:hover,
.result-sticky-action:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.result-sticky-action:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 var(--ink);
}

.result-sticky-kicker {
  justify-self: start;
  padding: 2px 6px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.result-sticky-action small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  word-break: keep-all;
}

.result-sticky-action strong {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .quiz-container.has-result-sticky {
    padding-bottom: 60px;
  }

  .quiz-container.has-result-sticky > .quiz-header {
    display: none;
  }

  .result-sticky-actions {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 24px auto 0;
    gap: 6px;
    padding: 7px;
    box-shadow: 3px 3px 0 var(--ink);
    transform: none;
  }

  .result-sticky-action {
    min-height: 64px;
    padding: 8px 9px;
  }

  .result-sticky-action strong {
    font-size: 12px;
  }
}


.realtime-area {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.realtime-area .big-text {
  font-size: 60px;
  font-weight: 800;
}

.realtime-area .instruction {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
}

.realtime-area.waiting {
  background: #fef3c7;
  cursor: pointer;
}

.realtime-area.ready {
  background: #fee2e2;
  cursor: pointer;
}

.realtime-area.go {
  background: var(--cat-ability-bg);
  cursor: pointer;
}

.realtime-area.done {
  background: var(--card-bg);
}

.memory-grid {
  display: grid;
  gap: 10px;
  margin: 20px auto;
}

.memory-cell {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  background: var(--accent);
  transition: all 0.3s;
}

.memory-cell.revealed {
  background: #fff;
  border: 2px solid #e5e7eb;
}

.memory-cell.matched {
  background: var(--cat-ability-bg);
  border: 2px solid var(--cat-ability);
}

.typing-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.typing-input:focus {
  border-color: var(--accent);
}

.typing-display {
  font-size: 20px;
  line-height: 2;
  text-align: left;
  background: #f9fafb;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.typing-display .correct-char { color: var(--cat-ability); }
.typing-display .wrong-char { color: #ef4444; background: #fef2f2; }
.typing-display .pending-char { color: var(--text-light); }

.color-grid {
  display: grid;
  gap: 8px;
  margin: 20px auto;
}

.color-cell {
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s;
  aspect-ratio: 1;
}

.color-cell:hover {
  transform: scale(1.05);
}


.footer {
  background: var(--ink);
  padding: 40px 20px;
  text-align: center;
  border-top: var(--border-w-lg) solid var(--ink);
  margin-top: 60px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--c-yolk);
}

.footer-copy {
  font-size: 12px;
  color: #777;
  font-weight: 500;
}


.page-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.page-card {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.page-card h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.page-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.page-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.page-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.page-card li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: var(--paper);
  font-weight: 600;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--c-yolk);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  padding: 14px 28px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  background: var(--c-yolk);
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: var(--shadow-sm);
}

.btn-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}


.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: var(--c-yolk);
  padding: 14px 28px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}


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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.08); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-80px) rotate(360deg); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}


.quiz-card {
  animation: slideUp 0.4s ease backwards;
}

.quiz-card:nth-child(1) { animation-delay: 0.02s; }
.quiz-card:nth-child(2) { animation-delay: 0.04s; }
.quiz-card:nth-child(3) { animation-delay: 0.06s; }
.quiz-card:nth-child(4) { animation-delay: 0.08s; }
.quiz-card:nth-child(5) { animation-delay: 0.10s; }
.quiz-card:nth-child(6) { animation-delay: 0.12s; }
.quiz-card:nth-child(7) { animation-delay: 0.14s; }
.quiz-card:nth-child(8) { animation-delay: 0.16s; }
.quiz-card:nth-child(9) { animation-delay: 0.18s; }
.quiz-card:nth-child(10) { animation-delay: 0.20s; }
.quiz-card:nth-child(n+11) { animation-delay: 0.22s; }


.quiz-card {
  position: relative;
  overflow: hidden;
}

.quiz-card:active {
  transform: translateY(-2px) scale(0.98);
}

.quiz-card:active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 0.6s ease-out;
}


.quiz-card:hover .quiz-card-emoji {
  animation: float 1s ease infinite;
}


.option-btn {
  position: relative;
  overflow: hidden;
}

.option-btn:active {
  transform: scale(0.97);
}

.option-btn.selected {
  animation: popIn 0.3s ease;
}

.option-btn.correct {
  animation: popIn 0.3s ease;
}

.option-btn.wrong {
  animation: shake 0.4s ease;
}


.btn-start {
  animation: pulse 2s ease infinite;
}

.btn-start:active {
  transform: scale(0.95);
  animation: none;
}


.filter-btn:active {
  transform: scale(0.95);
}


.result-card {
  animation: slideUp 0.5s ease;
}

.result-emoji {
  animation: bounceIn 0.6s ease 0.1s backwards;
}

.result-score {
  animation: scaleIn 0.5s ease 0.3s backwards;
}

.result-title {
  animation: fadeIn 0.5s ease 0.4s backwards;
}

.result-desc {
  animation: fadeIn 0.5s ease 0.5s backwards;
}

.result-actions {
  animation: fadeIn 0.5s ease 0.6s backwards;
}

.btn-share:active,
.btn-retry:active,
.btn-home:active {
  transform: scale(0.95);
}


.shared-banner {
  max-width: 600px;
  margin: 0 auto 16px;
  padding: 14px 18px;
  background: var(--c-yolk);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.shared-banner strong {
  font-weight: 900;
}

.result-friend-compare {
  display: grid;
  gap: 16px;
  margin: 22px 0 26px;
  padding: 20px;
  color: var(--ink);
  background: #DCEAFE;
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.result-friend-compare-start {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 2px 0 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: #DCEAFE;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-align: left;
}

.result-friend-compare-start-emoji {
  font-size: 26px;
  line-height: 1;
}

.result-friend-compare-start-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.result-friend-compare-start-copy strong,
.result-friend-compare-start-copy span {
  color: var(--ink);
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.result-friend-compare-start-copy strong {
  font-size: 14px;
  font-weight: 950;
}

.result-friend-compare-start-copy span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.result-friend-compare[data-compare-outcome="same"] {
  background: #D2F5EE;
}

.result-friend-compare-head {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.result-friend-compare-kicker {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.result-friend-compare h2 {
  margin: 0;
  color: var(--ink);
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.3;
  text-wrap: balance;
}

.result-friend-compare-head p,
.result-friend-compare-outcome {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  word-break: keep-all;
}

.result-friend-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-friend-compare-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
}

.result-friend-compare-label {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 7px;
  background: var(--c-yolk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.result-friend-compare-item.is-me .result-friend-compare-label {
  background: var(--c-mint);
}

.result-friend-compare-emoji {
  font-size: 28px;
  line-height: 1;
}

.result-friend-compare-item strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.result-friend-compare-outcome {
  padding-top: 2px;
  text-align: center;
}

.result-friend-compare-outcome strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.shared-result-entry {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 16px;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.shared-result-entry-copy {
  display: grid;
  gap: 5px;
  text-align: center;
}

.shared-result-entry-kicker {
  justify-self: center;
  padding: 4px 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.shared-result-entry-copy strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.shared-result-entry-copy small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  word-break: keep-all;
}

.shared-result-entry-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.shared-result-start,
.shared-result-promo {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 74px;
  padding: 12px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.shared-result-start {
  background: var(--c-mint);
  font-size: 15px;
  font-weight: 950;
}

.shared-result-promo {
  background: #FFE2E2;
}

.shared-result-start:hover,
.shared-result-start:focus-visible,
.shared-result-promo:hover,
.shared-result-promo:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.shared-result-promo > span:first-child {
  justify-self: start;
  padding: 3px 7px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.shared-result-promo strong {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.shared-result-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.shared-result-promo-tags span {
  padding: 2px 6px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.shared-result-entry-disclosure {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

@media (max-width: 520px) {
  .result-friend-compare {
    gap: 14px;
    margin: 18px 0 22px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
  }

  .result-friend-compare-grid {
    grid-template-columns: 1fr;
  }

  .result-friend-compare-item {
    padding: 12px;
  }

  .shared-result-entry {
    padding: 14px;
  }

  .shared-result-entry-actions {
    grid-template-columns: 1fr;
  }

  .shared-result-start,
  .shared-result-promo {
    min-height: 0;
  }
}



.progress-fill {
  position: relative;
  background: linear-gradient(90deg, var(--accent), var(--cat-fun));
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.3);
}


.question-card {
  animation: slideInLeft 0.35s ease;
}


.realtime-area {
  transition: background-color 0.3s ease;
}

.realtime-area.go {
  animation: pulse 0.3s ease;
}


.color-cell {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-cell:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-cell:active {
  transform: scale(0.95);
}


.quiz-header-emoji {
  animation: float 3s ease infinite;
}


.hero h1 {
  background: linear-gradient(90deg, var(--text-primary) 40%, var(--accent) 50%, var(--text-primary) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}


.toast {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.confetti-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 999;
  animation: confetti 1.5s ease forwards;
}


.btn-submit:active {
  transform: scale(0.95);
}


.hero-progress { margin-top: 20px; max-width: 300px; margin-left: auto; margin-right: auto; }
.hero-progress-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.hero-progress-text strong { color: var(--accent); }
.hero-progress-bar { height: 6px; background: rgba(0,0,0,0.08); border-radius: 50px; overflow: hidden; }
.hero-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--cat-fun)); border-radius: 50px; transition: width 0.6s ease; }


.link-panel {
  width: min(720px, 100%);
  margin: 24px 0 0;
  padding: 16px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.link-panel-label {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}
.link-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.link-panel-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.link-panel-chips a:hover {
  background: var(--c-yolk);
}
@media (max-width: 640px) {
  .link-panel {
    padding: 14px;
  }
}


.speed-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border-radius: 10px;
}

.speed-correct {
  background: var(--accent);
  color: #fff;
}

.speed-wrong {
  background: #e5e7eb;
  color: #666;
}


.skeleton {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-emoji {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.skeleton-title {
  width: 200px;
  height: 26px;
  margin: 0 auto 8px;
}

.skeleton-text {
  width: 280px;
  height: 14px;
  margin: 0 auto;
}

.skeleton-btn {
  width: 160px;
  height: 48px;
  border-radius: 50px;
  margin: 30px auto 0;
}


.recommend-section {
  margin-top: 30px;
  text-align: center;
}

.recommend-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.recommend-cards {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.recommend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
  min-width: 120px;
  max-width: 190px;
}

.recommend-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.recommend-emoji { font-size: 32px; }
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.recommend-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.35;
  max-width: 150px;
}

.result-momentum {
  max-width: 840px;
  margin: 18px auto 22px;
  padding: 18px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.result-momentum-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  text-align: center;
}

.result-momentum-head > span {
  justify-self: center;
  padding: 4px 8px;
  color: var(--paper);
  background: var(--c-grape);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.result-momentum h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.result-momentum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-momentum-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 126px;
  padding: 12px;
  color: var(--ink);
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.result-momentum-card.is-quiz {
  background: #DCEAFE;
}

.result-momentum-card.is-guide {
  background: #D2F5EE;
}

.result-momentum-card.is-shopping {
  background: #FFE2E2;
}

.result-momentum-card:hover,
.result-momentum-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.result-momentum-emoji {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

.result-momentum-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.result-momentum-kicker {
  justify-self: start;
  padding: 3px 7px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.result-momentum-card strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.result-momentum-card small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.result-momentum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.result-momentum-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 6px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.26);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.result-momentum-cta {
  justify-self: start;
  margin-top: 2px;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  word-break: keep-all;
}

.result-momentum-card.is-shopping:hover .result-momentum-cta,
.result-momentum-card.is-shopping:focus-visible .result-momentum-cta {
  background: var(--c-tomato);
}

@media (max-width: 760px) {
  .result-momentum {
    padding: 14px;
  }

  .result-momentum-grid {
    grid-template-columns: 1fr;
  }

  .result-momentum-card {
    min-height: 0;
  }
}

.result-detail-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 8px;
  text-align: center;
}
.result-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 22px;
  background: var(--c-sky);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.result-detail-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
  background: var(--c-yolk);
}
.result-overview-link {
  background: var(--c-mint);
}

.result-direct-promos {
  max-width: 840px;
  margin: 18px auto 24px;
  padding: 18px;
  background: #FFF7DE;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.result-direct-promos-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  text-align: center;
}

.result-direct-promos-head > span {
  justify-self: center;
  padding: 4px 8px;
  color: var(--paper);
  background: var(--c-tomato);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.result-direct-promos h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.result-direct-promos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-direct-promo-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.result-direct-promo-card.is-ending-soon {
  background: #FFF2EF;
}

.result-direct-promo-card.is-ending-week {
  background: #FFF8DC;
}

.result-direct-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
}

.result-direct-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-direct-promo-card:hover,
.result-direct-promo-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.result-direct-promo-kicker {
  justify-self: start;
  padding: 3px 7px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.result-direct-promo-card.is-ending-soon .result-direct-promo-kicker {
  background: var(--c-tomato);
  color: var(--paper);
}

.result-direct-promo-card.is-ending-week .result-direct-promo-kicker {
  background: var(--c-yolk);
  color: var(--ink);
}

.result-direct-promo-card strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}

.result-direct-promo-card small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  word-break: keep-all;
}

.result-direct-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.result-direct-promo-fit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  background: var(--paper);
  border: 2px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.result-direct-promo-cta {
  justify-self: start;
  margin-top: 2px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.result-direct-promos-disclosure {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

@media (max-width: 760px) {
  .result-direct-promos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .result-direct-promos {
    padding: 14px;
  }

  .result-direct-promos-grid {
    grid-template-columns: 1fr;
  }
}

.result-promo-bridge {
  max-width: 760px;
  margin: 18px auto 24px;
  padding: 18px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.result-promo-bridge-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  text-align: center;
}

.result-promo-bridge-kicker {
  justify-self: center;
  padding: 4px 8px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.result-promo-bridge h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.result-promo-bridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.result-promo-bridge-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: var(--bg-base);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}

.result-promo-bridge-card:hover,
.result-promo-bridge-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.result-promo-bridge-emoji {
  font-size: 22px;
  line-height: 1;
}

.result-promo-bridge-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.result-promo-bridge-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.result-promo-bridge-desc {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  word-break: keep-all;
}

.result-promo-bridge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  margin-top: 2px;
}

.result-promo-bridge-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 5px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.result-promo-bridge-cta {
  justify-self: start;
  margin-top: 3px;
  padding: 5px 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  word-break: keep-all;
}

.result-promo-bridge-card:hover .result-promo-bridge-cta,
.result-promo-bridge-card:focus-visible .result-promo-bridge-cta {
  background: var(--c-tomato);
}

.worldcup-next-section {
  margin-top: 24px;
}
.result-next-tests {
  margin-top: 24px;
}


.explanation {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fffbeb;
  border-left: 3px solid #eab308;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}


.combo-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 12px;
  animation: bounceIn 0.4s ease;
}


.quiz-card.completed {
  position: relative;
}

.quiz-card.completed::after {
  content: '\2713';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: var(--cat-ability);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}


.hub-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.hub-card {
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}


.hc-yolk { background: var(--c-yolk) !important; }
.hc-tomato { background: var(--c-tomato) !important; }
.hc-mint { background: var(--c-mint) !important; }
.hc-sky { background: var(--c-sky) !important; }
.hc-grape { background: var(--c-grape) !important; }


.hub-card-num {
  font-family: 'D2Coding', 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  opacity: 0.4;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
}


.hub-grid {
  grid-template-columns: 2fr 1fr 1fr;
}
.hub-wide {
  grid-column: span 2;
}

.hub-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}
.hub-card:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 0 var(--ink);
}

.hub-card-emoji {
  font-size: 48px;
  margin-bottom: 14px;
  display: inline-block;
  transform: rotate(-6deg);
}

.hub-card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.hub-card-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 600;
  flex-grow: 1;
}

.hub-card-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}


.hub-card::before { display: none; }


.hub-more {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

.hub-more h2 {
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
  text-align: left;
}

.hl-mint {
  background: linear-gradient(180deg, transparent 55%, var(--c-mint) 55%);
  padding: 0 4px;
}

.hub-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hub-more-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
}

.hub-more-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.hub-more-card:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.hub-more-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--ink);
}

.hub-more-desc {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}


.hub-cat {
  margin-bottom: 24px;
}
.hub-cat-title {
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hub-cat-title .hct-emoji {
  font-size: 20px;
}


.hub-popular {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.hub-popular h2 {
  font-family: 'GmarketSans', 'Pretendard Variable', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  color: var(--ink);
}

.hub-popular-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.hub-popular-cards .quiz-card {
  padding: 20px 16px;
}

.hub-popular-cards .quiz-card-emoji {
  font-size: 32px;
  margin-bottom: 10px;
}

.hub-popular-cards .quiz-card-title {
  font-size: 14px;
}

.hub-popular-cards .quiz-card-desc {
  font-size: 12px;
}


.hidden {
  display: none !important;
}



.hub-grid > .hub-card:first-child::after {
  content: 'NEW';
  position: absolute;
  top: -14px;
  right: -14px;
  background: var(--c-tomato);
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(12deg);
  box-shadow: 2px 2px 0 0 var(--ink);
  letter-spacing: 0.5px;
  z-index: 2;
}


.hub-grid > .hub-card:nth-child(3)::after {
  content: 'HOT';
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--c-yolk);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 0 var(--ink);
  z-index: 2;
}


@media (max-width: 768px) {
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero p { font-size: 15px; }
  .hero { padding: 36px 20px 24px; }
  .quiz-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-wide { grid-column: span 1; }
  .hub-more-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-btn { padding: 8px 14px; font-size: 13px; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-yolk);
    flex-direction: column;
    padding: 12px 20px 16px;
    border-top: var(--border-w) solid var(--ink);
    border-bottom: var(--border-w) solid var(--ink);
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .question-text { font-size: 17px; }
  .quiz-header h1 { font-size: 22px; }
  .result-title { font-size: 22px; }
  .result-score { font-size: 36px; }
  .page-card { padding: 28px 20px; }
  .memory-cell { width: 55px; height: 55px; font-size: 22px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .quiz-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root {
    --bg-gradient-1: #1a1025;
    --bg-gradient-2: #0d1b2a;
    --card-bg: #1e1e2e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-light: #666666;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.5);
  }

  .header { background: rgba(30, 30, 46, 0.9); border-bottom-color: rgba(255,255,255,0.06); }
  .footer { background: rgba(30, 30, 46, 0.6); border-top-color: rgba(255,255,255,0.06); }
  .option-btn { background: #2a2a3e; border-color: #3a3a4e; color: #e0e0e0; }
  .option-btn:hover { background: #332e4a; border-color: var(--accent); }
  .filter-btn { background: rgba(30, 30, 46, 0.7); }
  .result-desc { background: #2a2a3e; }
  .typing-input { background: #2a2a3e; border-color: #3a3a4e; color: #e0e0e0; }
  .typing-display { background: #2a2a3e; }
  .page-card { background: var(--card-bg); }
  .contact-form input, .contact-form textarea { background: #2a2a3e; border-color: #3a3a4e; color: #e0e0e0; }
  .quiz-card::after { background: rgba(124, 58, 237, 0.1); }

  
  .skeleton {
    background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
    background-size: 200% 100%;
  }

  
  .explanation {
    background: #2a2a1e;
    border-left-color: #b8960a;
    color: #c0c0c0;
  }

  
  .nav-links {
    background: rgba(30, 30, 46, 0.97);
  }

  
  .progress-bar {
    background: #3a3a4e;
  }

  
  .btn-retry { background: #2a2a3e; border-color: var(--accent); }
  .btn-home { background: #2a2a3e; border-color: #3a3a4e; color: var(--text-secondary); }
  .btn-save-image { background: #2a2a3e; }

  .result-share-kit {
    background: #2a2a3e;
    border-color: var(--accent);
  }
  .result-share-kit strong,
  .result-share-kit p {
    color: var(--text-primary);
  }
  .result-share-kit-copy-btn {
    background: var(--accent);
    color: var(--text-primary);
  }

  
  .memory-cell.revealed { background: #2a2a3e; border-color: #3a3a4e; }

  
  .speed-wrong { background: #3a3a4e; color: #a0a0a0; }
}


.blog-article {
  max-width: 720px;
  width: 100%;
  margin: 32px auto 48px;
  padding: 0 20px;
  color: #0a0a0a;
  line-height: 1.75;
  min-width: 0;
  overflow-wrap: anywhere;
}
.blog-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}
.blog-breadcrumb a { color: inherit; text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--ink); }

.blog-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 14px;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .blog-title { font-size: 24px; }
}

.blog-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 32px;
}
.blog-meta .blog-separator { margin: 0 6px; }

.blog-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 14px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-yolk);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-content h2[id^="section-"] {
  scroll-margin-top: 92px;
}
.blog-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 10px;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-content p {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-content ul, .blog-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.blog-content li {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-content strong {
  font-weight: 900;
  color: #000;
}
.blog-content em {
  font-style: italic;
  font-weight: 600;
  color: #0a0a0a;
}
.blog-content a {
  color: var(--accent, #7c3aed);
  text-decoration: underline;
  font-weight: 600;
}

.blog-cta {
  margin: 28px 0;
  text-align: center;
}
.blog-cta-btn {
  display: inline-block;
  max-width: 100%;
  background: var(--c-yolk);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s, box-shadow 0.1s;
}
.blog-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.blog-cta-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.blog-mid-promo-intent {
  margin: 22px 0 28px;
}
.blog-mid-promo-intent .shopping-promo-intent {
  margin: 0;
  padding: 16px;
}
.blog-mid-promo-intent .shopping-promo-intent-head {
  text-align: left;
}
.blog-mid-promo-intent .shopping-promo-intent-head > span {
  justify-self: start;
  background: var(--c-yolk);
  color: var(--ink);
}
.blog-mid-promo-intent .shopping-promo-intent-head h2 {
  font-size: 19px;
}
.blog-mid-promo-intent .shopping-promo-intent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-mid-promo-intent .shopping-promo-intent-card {
  min-height: 170px;
  padding: 12px;
}
.blog-mid-promo-intent .shopping-promo-intent-card strong {
  font-size: 15px;
}
.blog-mid-promo-intent .shopping-promo-intent-card small,
.blog-mid-promo-intent .shopping-promo-intent-hint {
  font-size: 12px;
}

.blog-topic-bridge {
  max-width: 720px;
  margin: 20px auto 28px;
  padding: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.blog-topic-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-topic-kicker {
  flex-shrink: 0;
  padding: 3px 8px;
  background: var(--c-sky);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
}
.blog-topic-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}
.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.blog-topic-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.blog-topic-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.blog-topic-emoji {
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
}
.blog-topic-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.blog-topic-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-topic-sub {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}
.blog-index-topic-bridge {
  max-width: 100%;
  margin: 20px 0 34px;
}
.blog-index-topic-bridge .blog-topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.blog-index-topic-bridge .blog-topic-card {
  min-height: 86px;
}
.blog-index-topic-bridge .blog-topic-sub {
  line-height: 1.35;
}

.blog-faq {
  max-width: 720px;
  margin: 34px auto 20px;
  padding: 20px 24px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.blog-faq h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}
.blog-faq-item {
  padding: 14px 0;
  border-top: 1px dashed #d1d5db;
}
.blog-faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.blog-faq-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}
.blog-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.blog-faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.blog-faq-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.blog-faq-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-xs);
  background: var(--c-mint);
}
.blog-next-steps {
  max-width: 720px;
  margin: 28px auto 24px;
  padding: 18px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.blog-next-steps-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-next-steps-kicker {
  flex-shrink: 0;
  padding: 4px 9px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}
.blog-next-steps h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}
.blog-next-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.blog-next-step-card {
  display: flex;
  min-height: 132px;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 13px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.blog-next-step-card.primary {
  background: var(--c-mint);
}
.blog-next-step-card.blog-next-step-promo {
  background: var(--c-yolk);
}
.blog-next-step-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.blog-next-step-card.blog-next-step-promo:hover,
.blog-next-step-card.blog-next-step-promo:focus-visible {
  background: #fff;
}
.blog-next-step-kicker {
  align-self: flex-start;
  padding: 3px 7px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}
.blog-next-step-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-next-step-desc {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .blog-topic-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-topic-grid {
    grid-template-columns: 1fr;
  }
  .blog-topic-card {
    min-height: 64px;
  }
  .blog-mid-promo-intent .shopping-promo-intent-grid {
    grid-template-columns: 1fr;
  }
  .blog-mid-promo-intent .shopping-promo-intent-card {
    min-height: 132px;
  }
  .blog-index-topic-bridge .blog-topic-grid {
    grid-template-columns: 1fr;
  }
  .blog-index-topic-bridge .blog-topic-card {
    min-height: 70px;
  }
  .blog-faq {
    padding: 18px 16px;
  }
  .blog-next-steps {
    padding: 16px;
  }
  .blog-next-steps-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-next-step-grid {
    grid-template-columns: 1fr;
  }
  .blog-next-step-card {
    min-height: 104px;
  }
}

.blog-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px dashed #d1d5db;
}
.blog-related h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
  border: none;
  padding: 0;
}


.blog-list-container {
  max-width: 1120px;
  width: 100%;
  margin: 44px auto 64px;
  padding: 0 24px;
  min-width: 0;
}
.blog-list-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--ink);
}
.blog-list-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 18px;
}
.blog-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.blog-list-item {
  display: block;
  max-width: 100%;
  min-width: 0;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.blog-list-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.blog-list-item-inner { padding: 18px 20px; }
.blog-list-item-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.4;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-list-item-desc {
  font-size: 14px;
  color: #0a0a0a;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 12px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-list-item-meta {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  gap: 6px;
}


.topic-result-hub {
  margin-top: 40px;
  padding: 24px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.result-hub-heading {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.result-hub-sub-line {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.5;
}
.result-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.result-hub-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #FFF8E7;
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.1s, background 0.1s;
}
.result-hub-card:hover {
  transform: translate(-1px, -1px);
  background: var(--c-yolk);
}
.result-hub-emoji { font-size: 22px; flex-shrink: 0; }
.result-hub-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.result-hub-title { font-weight: 800; font-size: 14px; }
.result-hub-sub {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-hub-cta-line { margin: 18px 0 0; text-align: center; }
.result-hub-cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}
.result-hub-cta:hover { transform: translate(-1px, -1px); }


.result-page {
  max-width: 800px;
  margin: 32px auto 48px;
  padding: 0 20px;
}
.result-breadcrumb {
  font-size: 13px;
  color: #555;
  margin-bottom: 20px;
  word-break: keep-all;
}
.result-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.result-breadcrumb a:hover { text-decoration: underline; }

.result-article {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  text-align: center;
}
.result-article-emoji {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 12px;
}
.result-article-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.3;
}
.result-article-subtitle {
  font-size: 16px;
  color: #555;
  margin: 0 0 24px;
  font-weight: 600;
}
.result-article-body {
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 auto;
  max-width: 640px;
}
.result-article-body p {
  margin: 0;
  white-space: pre-line;
}
.result-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.result-cta-primary,
.result-cta-secondary {
  display: inline-block;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}
.result-cta-primary {
  background: var(--c-yolk);
  color: var(--ink);
}
.result-cta-secondary {
  background: var(--paper);
  color: var(--ink);
}
.result-cta-overview {
  background: var(--c-mint);
}
.result-cta-primary:hover,
.result-cta-secondary:hover {
  transform: translate(-1px, -1px);
}

.result-share-panel {
  max-width: 640px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 2px dashed #d1d5db;
  text-align: left;
}
.result-share-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}
.result-share-copy {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.result-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.result-share-btn {
  min-height: 44px;
  padding: 10px 16px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
}
.result-share-btn-secondary {
  background: var(--paper);
}
.result-share-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
  background: var(--c-yolk);
}
.result-share-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--ink);
}
.result-share-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .result-share-panel {
    text-align: center;
  }
  .result-share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .result-share-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .result-share-kit {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .result-share-kit-copy {
    justify-items: center;
  }
  .result-share-kit-copy-btn {
    width: 100%;
  }
}

.result-other-types { margin-top: 40px; }
.result-other-heading {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
  text-align: center;
}
.result-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.result-other-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s, background 0.1s;
}
.result-other-card:hover {
  transform: translate(-1px, -1px);
  background: var(--c-yolk);
}
.result-other-emoji { font-size: 18px; }


.mbti-overview-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.mbti-overview-grid-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 32px 0 16px;
  text-align: center;
}
.mbti-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.overview-inline-ad-slot {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 728px !important;
  margin: 8px auto 12px !important;
}
.mbti-overview-card {
  display: block;
  padding: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.1s, background 0.1s;
}
.mbti-overview-card:hover {
  transform: translate(-1px, -1px);
  background: var(--c-yolk);
}
.mbti-overview-emoji { font-size: 28px; margin-bottom: 4px; }
.mbti-overview-code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--c-grape);
  margin-bottom: 4px;
}
.mbti-overview-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.mbti-overview-sub {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  line-height: 1.4;
}


.quiz-breadcrumb {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 0 16px;
  font-size: 13px;
  color: #555;
  word-break: keep-all;
}
.quiz-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.quiz-breadcrumb a:hover { text-decoration: underline; }


.quiz-about {
  max-width: 720px;
  margin: 32px auto;
  padding: 24px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.quiz-about h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
}
.quiz-about h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 20px 0 10px;
}
.quiz-about p {
  margin: 0 0 12px;
}
.quiz-about-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.quiz-about-results li a {
  display: block;
  padding: 8px 10px;
  background: #FFF8E7;
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: transform 0.1s, background 0.1s;
}
.quiz-about-results li a:hover {
  transform: translate(-1px, -1px);
  background: var(--c-yolk);
}
.quiz-about-results .qa-emoji { margin-right: 4px; }
.quiz-about-results .qa-sub { color: #555; font-size: 12px; }
.quiz-overview-cta {
  margin: 14px 0 0;
  text-align: center;
}
.quiz-overview-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.quiz-overview-cta a:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}
.quiz-about-meta {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}


.quiz-faq {
  max-width: 720px;
  margin: 24px auto 32px;
  padding: 22px 20px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.quiz-faq h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
}
.quiz-faq-item {
  padding: 14px 0;
  border-top: 1px dashed #d1d5db;
}
.quiz-faq-item:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.quiz-faq-item:last-child {
  padding-bottom: 0;
}
.quiz-faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.quiz-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}


.quiz-support {
  display: block;
  width: min(760px, calc(100% - 32px));
  margin: 28px auto 32px;
}

.quiz-support-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 16px 18px;
  color: var(--ink);
  background: linear-gradient(135deg, #fffaf0 0%, #f5f3ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  list-style: none;
}

.quiz-support-summary::-webkit-details-marker {
  display: none;
}

.quiz-support-summary::marker {
  content: '';
}

.quiz-support-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.quiz-support-kicker {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-support-summary-copy strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.quiz-support-summary-copy > span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}

.quiz-support-summary-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.quiz-support-summary-action::after {
  content: '↓';
  margin-left: 6px;
  color: var(--ink-soft);
}

.quiz-support-action-open {
  display: none;
}

.quiz-support[open] > .quiz-support-summary .quiz-support-action-closed {
  display: none;
}

.quiz-support[open] > .quiz-support-summary .quiz-support-action-open {
  display: inline;
}

.quiz-support[open] > .quiz-support-summary .quiz-support-summary-action::after {
  content: '↑';
}

.quiz-support-summary:hover,
.quiz-support-summary:focus-visible {
  background: #fff8dc;
  border-color: #d9c77f;
}

.quiz-support-summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.quiz-support-content {
  padding-top: 2px;
}


.quiz-support-content > .result-blog-cross + .result-blog-cross {
  display: block;
}

@media (min-width: 721px) {
  .quiz-support[data-quiz-support-ready="true"] > .quiz-support-summary {
    display: none;
  }
}

@media (max-width: 720px) {
  .quiz-support {
    width: min(100% - 24px, 720px);
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .quiz-support-summary {
    align-items: flex-end;
    min-height: 0;
    padding: 15px 14px;
    border-radius: 14px;
    box-shadow: none;
  }

  .quiz-support-summary-copy strong {
    font-size: 16px;
  }

  .quiz-support-summary-copy > span:last-child {
    display: none;
  }

  .quiz-support-summary-action {
    min-height: 38px;
    padding: 8px 11px;
  }

  .quiz-support-content > .quiz-about,
  .quiz-support-content > .quiz-faq,
  .quiz-support-content > .result-blog-cross,
  .quiz-support-content > .quiz-popular {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}


.blog-result-hub {
  margin: 32px auto;
  max-width: 800px;
  padding: 24px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.blog-result-hub h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.blog-result-hub-sub {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.5;
}
.blog-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.blog-result-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #FFF8E7;
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.1s, background 0.1s;
}
.blog-result-card:hover {
  transform: translate(-1px, -1px);
  background: var(--c-yolk);
}
.blog-result-emoji { font-size: 22px; flex-shrink: 0; }
.blog-result-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blog-result-title { font-weight: 800; font-size: 13px; }
.blog-result-sub {
  font-size: 11px;
  color: #555;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.footer-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.footer-topics a {
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}
.footer-topics a:hover {
  color: var(--c-yolk);
  opacity: 1;
}


.topic-page {
  max-width: 960px;
  margin: 32px auto 48px;
  padding: 0 20px;
  color: #0a0a0a;
}
.topic-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}
.topic-breadcrumb a { color: inherit; text-decoration: none; }
.topic-breadcrumb a:hover { color: var(--ink); }

.topic-hero {
  text-align: center;
  padding: 32px 16px 28px;
  margin-bottom: 32px;
  background: var(--c-yolk);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-lg, 16px);
  box-shadow: var(--shadow-sm);
}
.topic-hero h1 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}
.topic-hero-sub {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}
.topic-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.topic-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 3px 3px 0 0 rgba(17, 24, 39, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  word-break: keep-all;
}
.topic-hero-action.primary {
  background: var(--c-mint);
}
.topic-hero-action:hover,
.topic-hero-action:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--ink);
  background: var(--c-rose);
}
@media (max-width: 600px) {
  .topic-hero h1 { font-size: 24px; }
  .topic-hero-sub { font-size: 14px; }
  .topic-hero-actions { align-items: stretch; }
  .topic-hero-action { flex: 1 1 150px; }
}

.topic-intro {
  margin: 0 auto 40px;
  max-width: 720px;
  line-height: 1.7;
}
.topic-intro h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-yolk);
}
.topic-intro p {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 14px;
}
.topic-intro strong { font-weight: 900; color: #000; }

.topic-quizzes { margin: 0 auto 48px; }
.topic-quizzes h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.topic-card {
  display: block;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.topic-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.topic-card-emoji {
  font-size: 32px;
  margin-bottom: 8px;
}
.topic-card-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.topic-card-desc {
  font-size: 13px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: 36px;
}
.topic-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.topic-card-tag.psychology { background: #e0e7ff; color: #4338ca; }
.topic-card-tag.fun { background: #fed7aa; color: #9a3412; }


.topic-faq {
  margin: 0 auto 40px;
  max-width: 800px;
}
.topic-faq h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}
.faq-item {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.faq-a {
  font-size: 15px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.6;
  margin: 0;
}
.faq-a strong { font-weight: 900; color: #000; }


.topic-related {
  margin: 0 auto;
  max-width: 720px;
  padding-top: 24px;
  border-top: 2px dashed #d1d5db;
}
.topic-related h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
}
.topic-related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.topic-related-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  transition: transform 0.1s;
}
.topic-related-link:hover {
  transform: translateX(4px);
  background: var(--c-yolk);
}


.quiz-next-tests {
  max-width: 800px;
  margin: 28px auto 34px;
  padding: 0 20px;
}
.quiz-next-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.quiz-next-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  font-size: 12px;
  font-weight: 900;
}
.quiz-next-head h2 {
  flex: 1;
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--ink);
}
.quiz-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quiz-next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.quiz-next-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
  background: var(--c-sky);
}
.quiz-next-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 23px;
}
.quiz-next-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quiz-next-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}
.quiz-next-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.35;
}
@media (max-width: 640px) {
  .quiz-next-tests {
    margin-top: 24px;
    padding: 0 16px;
  }
  .quiz-next-head {
    display: block;
  }
  .quiz-next-kicker {
    margin-bottom: 8px;
  }
  .quiz-next-head h2 {
    font-size: 19px;
  }
  .quiz-next-grid {
    grid-template-columns: 1fr;
  }
}


.quiz-popular {
  max-width: 800px;
  margin: 32px auto;
  padding: 24px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.quiz-popular h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}
.quiz-popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.quiz-popular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.quiz-popular-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-yolk);
}
.qpc-emoji { font-size: 28px; margin-bottom: 6px; }
.qpc-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; line-height: 1.2; }
.qpc-desc { font-size: 11px; color: var(--ink-soft); line-height: 1.3; }
.quiz-popular-more {
  margin-top: 16px;
  text-align: center;
}
.quiz-popular-more a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.new-quiz-strip {
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0 16px;
}
.new-quiz-strip h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.new-quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.new-quiz-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.new-quiz-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--ink);
  background: var(--c-yolk);
}
.nqc-emoji { font-size: 18px; flex-shrink: 0; }
.nqc-name { font-weight: 700; line-height: 1.2; }
.new-quiz-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 12px 0 0;
}
.new-quiz-more a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.home-daily-challenge {
  width: 100%;
  margin: 0 auto 16px;
  padding: 14px;
  background: linear-gradient(135deg, #f8f7ff 0%, #fffdf6 100%);
  border: 1px solid var(--line, #e4e4df);
  border-radius: 16px;
}
.home-daily-challenge[hidden] {
  display: none;
}
.home-daily-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.home-daily-copy {
  min-width: 0;
}
.home-daily-kicker {
  display: block;
  margin-bottom: 3px;
  color: #6254a6;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
}
.home-daily-head h2 {
  margin: 0;
  color: var(--ink, #202124);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.home-daily-head p {
  margin: 2px 0 0;
  color: var(--ink-soft, #686a70);
  font-size: 11px;
  line-height: 1.4;
}
.home-daily-progress {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  color: #3f3477;
  background: #eeeaff;
  border: 1px solid #d7cff7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.home-daily-week {
  display: grid;
  grid-template-columns: repeat(7, 20px);
  gap: 5px;
  margin: 9px 0;
}
.home-daily-day {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #85868b;
  background: #fff;
  border: 1px solid #dedfd9;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 850;
}
.home-daily-day.is-done {
  color: #213e37;
  background: #a9dfd3;
  border-color: #76bcae;
}
.home-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.home-daily-card {
  display: grid;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  gap: 3px;
  padding: 9px 10px;
  color: var(--ink, #202124);
  background: rgb(255 255 255 / 88%);
  border: 1px solid #dedfd9;
  border-radius: 11px;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.home-daily-card:hover,
.home-daily-card:focus-visible {
  color: var(--ink, #202124);
  background: #fff;
  border-color: #aaa1d5;
  transform: translateY(-1px);
}
.home-daily-card:focus-visible {
  outline: 3px solid var(--ink, #202124);
  outline-offset: 2px;
}
.home-daily-card.is-next {
  border-color: #aaa1d5;
  background: #f4f1ff;
}
.home-daily-card.is-started {
  background: #f0faf7;
  border-color: #b8dbd3;
}
.home-daily-card.is-completed {
  background: #fff9df;
  border-color: #e5d58a;
}
.home-daily-card-top {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}
.home-daily-emoji {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}
.home-daily-role {
  overflow: hidden;
  color: var(--ink-soft, #686a70);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-daily-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink, #202124);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-daily-card small {
  overflow: hidden;
  color: var(--ink-soft, #686a70);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .home-daily-challenge {
    margin-bottom: 12px;
    padding: 11px;
    border-radius: 14px;
  }
  .home-daily-head {
    gap: 7px;
  }
  .home-daily-head h2 {
    font-size: 15px;
  }
  .home-daily-head p {
    display: none;
  }
  .home-daily-progress {
    min-height: 27px;
    padding: 4px 7px;
    font-size: 10px;
  }
  .home-daily-week {
    grid-template-columns: repeat(7, 18px);
    gap: 4px;
    margin: 7px 0;
  }
  .home-daily-day {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  .home-daily-grid {
    gap: 5px;
  }
  .home-daily-card {
    min-height: 76px;
    gap: 2px;
    padding: 7px;
    border-radius: 9px;
  }
  .home-daily-emoji {
    font-size: 14px;
  }
  .home-daily-role,
  .home-daily-card small {
    font-size: 8px;
  }
  .home-daily-card strong {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-daily-card {
    transition: none;
  }
  .home-daily-card:hover,
  .home-daily-card:focus-visible {
    transform: none;
  }
}
@media (forced-colors: active) {
  .home-daily-day.is-done,
  .home-daily-card.is-next,
  .home-daily-card.is-started,
  .home-daily-card.is-completed {
    border-color: Highlight;
  }
}


.home-return-panel {
  width: 100%;
  margin: 0 auto 28px;
  padding: 20px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.home-return-panel[hidden] {
  display: none;
}
.home-return-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.home-return-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 9px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}
.home-return-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}
.home-return-more {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-return-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.home-return-columns h3 {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}
.home-return-grid {
  display: grid;
  gap: 9px;
}
.home-return-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.home-return-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.home-return-emoji {
  flex: 0 0 36px;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}
.home-return-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.home-return-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-return-desc {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-return-promos {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed var(--ink);
}
.home-return-promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.home-return-promo-head span {
  flex-shrink: 0;
  padding: 4px 9px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}
.home-return-promo-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
  text-align: right;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-return-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.home-return-promo-card {
  display: grid;
  min-height: 118px;
  align-content: start;
  gap: 6px;
  padding: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.home-return-promo-card:hover,
.home-return-promo-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-mint);
}
.home-return-promo-card.is-ending-soon {
  background: #fff2ef;
}
.home-return-promo-card.is-ending-week {
  background: #fff8dc;
}
.home-return-promo-kicker {
  justify-self: start;
  padding: 3px 7px;
  background: var(--c-tomato);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--paper);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}
.home-return-promo-card.is-ending-week .home-return-promo-kicker {
  background: var(--c-yolk);
  color: var(--ink);
}
.home-return-promo-card.is-ongoing .home-return-promo-kicker,
.home-return-promo-card.is-dated .home-return-promo-kicker {
  background: var(--ink);
  color: var(--paper);
}
.home-return-promo-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-return-promo-card small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-return-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.home-return-promo-fit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  background: var(--paper);
  border: 2px solid rgba(45, 45, 45, 0.24);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}
.home-return-promo-card em {
  align-self: end;
  justify-self: start;
  margin-top: 2px;
  padding: 5px 8px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--paper);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
}
.home-return-promo-disclosure {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}
@media (max-width: 720px) {
  .home-return-panel {
    padding: 16px;
  }
  .home-return-head {
    align-items: start;
  }
  .home-return-columns {
    grid-template-columns: 1fr;
  }
  .home-return-promo-head {
    display: grid;
    justify-items: start;
  }
  .home-return-promo-head strong {
    text-align: left;
  }
  .home-return-promo-grid {
    grid-template-columns: 1fr;
  }
  .home-return-promo-card {
    min-height: 0;
  }
}


.blog-list-rss {
  margin: 8px 0 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.blog-list-rss a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--ink-soft);
}
.blog-list-rss a:hover {
  color: var(--c-tomato);
  border-bottom-color: var(--c-tomato);
}


.blog-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  max-width: 100%;
  min-width: 0;
}
.blog-cat-chip {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  padding: 8px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.blog-cat-chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--ink);
  background: var(--c-yolk);
}
.blog-cat-section {
  margin: 0;
  scroll-margin-top: 80px;
  min-width: 0;
}
.blog-cat-heading {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink);
}
.blog-cat-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.blog-cat-section .blog-list {
  gap: 14px;
}
@media (min-width: 760px) {
  .blog-cat-section .blog-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-cat-section .blog-list-item-inner {
    min-height: 158px;
  }
  .blog-cat-section .blog-list-item-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media (min-width: 1120px) {
  .blog-list-container {
    max-width: 1180px;
  }
  .blog-cat-section .blog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-cat-section .blog-list-item-inner {
    min-height: 176px;
  }
}
@media (max-width: 600px) {
  .blog-list-container {
    margin: 28px auto 48px;
    padding: 0 16px;
  }
  .blog-list-title {
    font-size: 28px;
    line-height: 1.2;
  }
  .blog-list-subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .blog-sections {
    gap: 30px;
  }
  .blog-cat-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .blog-cat-chip {
    padding: 7px 12px;
    font-size: 13px;
    text-align: center;
  }
  .blog-list-item {
    border-width: 2px;
    box-shadow: 3px 3px 0 0 var(--ink);
  }
  .blog-list-item-inner {
    padding: 17px 16px;
  }
  .blog-list-item-title {
    font-size: 18px;
    line-height: 1.35;
  }
  .blog-list-item-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .blog-list-item-meta {
    font-size: 13px;
  }
}


.blog-cat-recco {
  max-width: 720px;
  margin: 32px auto;
  padding: 24px;
  background: var(--bg-base);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
}
.blog-cat-recco h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
}
.blog-cat-recco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
@media (min-width: 600px) {
  .blog-cat-recco-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.blog-cat-recco-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.blog-cat-recco-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--ink);
  background: var(--c-yolk);
}
.blog-cat-recco-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.blog-cat-recco-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.blog-cat-recco-more {
  text-align: right;
  margin: 8px 0 0;
}
.blog-cat-recco-more a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}


.blog-progress {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 4px;
  background: rgba(0,0,0,0.06);
  margin: 0 -16px 16px;
}
.blog-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--c-tomato);
  transition: width 0.05s linear;
}


.blog-toc {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.blog-toc summary {
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.blog-toc summary::-webkit-details-marker { display: none; }
.blog-toc summary::after {
  content: " ▼";
  font-size: 11px;
  color: var(--ink-soft);
}
.blog-toc[open] summary::after { content: " ▲"; }
.blog-toc ol {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 14px;
}
.blog-toc li {
  margin: 6px 0;
}
.blog-toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--ink-soft);
}
.blog-toc a:hover {
  color: var(--c-tomato);
  border-bottom-color: var(--c-tomato);
}
.blog-cat-chip-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-right: 4px;
  align-self: center;
}


.result-next-steps {
  max-width: 720px;
  margin: 24px auto;
  padding: 20px 24px;
  background: var(--bg-base);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
}
.result-next-steps h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-next-steps ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
}
.result-next-steps li { margin: 6px 0; }


.result-topic-cross {
  margin-top: 24px;
  margin-bottom: 24px;
}
.result-topic-cross .blog-topic-kicker {
  background: var(--c-grape);
}


.result-blog-cross {
  max-width: 720px;
  margin: 24px auto;
  padding: 20px 24px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
}
.result-blog-cross h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.result-blog-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.result-blog-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-yolk);
}
.result-blog-emoji {
  font-size: 24px;
  flex-shrink: 0;
}
.result-blog-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-blog-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.result-blog-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}


.result-faq {
  max-width: 720px;
  margin: 24px auto;
  padding: 20px 24px;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
}
.result-faq h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}
.result-faq-item {
  padding: 14px 0;
  border-top: 1px dashed #d1d5db;
}
.result-faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.result-faq-item:last-child {
  padding-bottom: 0;
}
.result-faq-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}
.result-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}


.topic-curation {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 16px;
}
.topic-curation h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
}
.topic-curation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.topic-curation-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.topic-curation-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-yolk);
}
.tcc-emoji {
  font-size: 24px;
  margin-bottom: 4px;
}
.tcc-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.tcc-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}


.home-guide-strip {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 16px;
}
.home-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.home-guide-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}
.home-guide-more {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-guide-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 142px;
  padding: 16px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.home-guide-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-mint);
}
.home-season-pulse {
  width: 100%;
  padding: 16px;
  background: #FFF1B8;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.home-season-pulse .home-guide-head {
  margin-bottom: 14px;
}
.home-season-pulse .home-guide-head h2 {
  font-size: 20px;
}
.home-season-pulse .home-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-season-pulse .home-guide-card {
  min-height: 136px;
  background: var(--paper);
  box-shadow: 2px 2px 0 0 var(--ink);
}
.home-season-pulse .home-guide-card[data-season-primary="true"] {
  background: #D2F5EE;
}
.home-season-pulse .home-guide-card:hover {
  background: var(--c-yolk);
}
.home-guide-kicker {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-yolk);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 900;
}
.home-guide-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}
.home-guide-desc {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .home-guide-strip {
    max-width: 390px;
    margin-left: 0;
    margin-right: 0;
  }
  .home-guide-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-guide-grid {
    grid-template-columns: 1fr;
  }
  .home-season-pulse {
    padding: 12px;
  }
  .home-season-pulse .home-guide-grid {
    grid-template-columns: 1fr;
  }
  .home-guide-card {
    min-height: 0;
  }
}

.home-latest-guides {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 16px;
}
.home-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-latest-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 154px;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.home-latest-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-yolk);
}
.home-latest-kicker {
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--c-sky);
  font-size: 11px;
  font-weight: 900;
}
.home-latest-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.28;
}
.home-latest-desc {
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .home-latest-guides {
    max-width: 390px;
    margin-left: 0;
    margin-right: 0;
  }
  .home-latest-grid {
    grid-template-columns: 1fr;
  }
  .home-latest-card {
    min-height: 0;
  }
}


.blog-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.blog-share-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--ink);
  background: var(--c-yolk);
}
.blog-share-twitter:hover { background: #1DA1F2; color: var(--paper); }

.blog-promo-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.blog-promo-jump-card {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 0 rgba(17, 24, 39, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.blog-promo-jump-card.primary {
  background: #fff7d6;
}

.blog-promo-jump-card:hover,
.blog-promo-jump-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--ink);
  background: var(--c-yolk);
}

.blog-promo-jump-card span {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink-soft);
}

.blog-promo-jump-card strong {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.blog-promo-jump-card small {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink-soft);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .blog-promo-jump {
    grid-template-columns: 1fr;
  }
  .blog-promo-jump-card {
    min-height: 0;
  }
}


.topic-index-page {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 72px;
  color: var(--ink);
}
.topic-index-hero {
  margin: 0 0 24px;
}
.topic-index-hero h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}
.topic-index-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.topic-index-section {
  margin: 24px 0;
  padding: 22px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.topic-index-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.topic-index-emoji {
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
}
.topic-index-section h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}
.topic-index-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.topic-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.topic-index-card {
  display: flex;
  min-height: 118px;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 13px 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.topic-index-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.topic-index-card-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.topic-index-card-desc {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-index-links {
  margin: 26px 0;
}
.topic-index-links h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}
.topic-index-links .link-panel {
  margin: 0;
}
@media (max-width: 640px) {
  .topic-index-page {
    width: min(100% - 24px, 390px);
    margin-top: 24px;
  }
  .topic-index-hero h1 {
    font-size: 28px;
  }
  .topic-index-section {
    padding: 16px;
  }
  .topic-index-grid {
    grid-template-columns: 1fr;
  }
  .topic-index-card {
    min-height: 104px;
  }
}


.course-page {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 72px;
  color: var(--ink);
}
.course-hero {
  margin: 0 0 24px;
}
.course-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 0 10px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.course-hero h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-grid-section,
.course-steps,
.course-related,
.course-faq,
.course-more,
.course-link-panel {
  margin: 24px 0;
  padding: 22px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.course-grid-section h2,
.course-steps h2,
.course-related h2,
.course-faq h2,
.course-more h2,
.course-link-panel h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
}
.course-section-desc {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.course-index-inline-ad {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 728px !important;
  margin: 8px auto 12px !important;
}
.course-card {
  display: flex;
  min-height: 190px;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.course-card:hover,
.course-step-card:hover,
.course-link-card:hover,
.course-mini-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.course-card-emoji {
  font-size: 28px;
  line-height: 1;
}
.course-card-kicker {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.course-card-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-card-desc {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-step-list,
.course-link-grid,
.course-mini-links {
  display: grid;
  gap: 10px;
}
.course-step-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.course-step-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 104px;
  min-width: 0;
  padding: 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.course-step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.course-step-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.course-step-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-step-desc {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-step-ad {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 728px;
  margin: 8px auto !important;
}
.course-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.course-link-card,
.course-mini-link {
  display: flex;
  min-height: 58px;
  min-width: 0;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.course-shopping-bridge .course-link-card {
  min-height: 96px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.course-shopping-bridge .course-link-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.course-faq-item {
  margin: 10px 0;
  padding: 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
}
.course-faq-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}
.course-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.course-mini-links {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.course-link-panel .link-panel {
  margin: 0;
}
@media (max-width: 640px) {
  .course-page {
    width: min(100% - 24px, 390px);
    margin-top: 24px;
  }
  .course-hero h1 {
    font-size: 28px;
  }
  .course-grid-section,
  .course-steps,
  .course-related,
  .course-faq,
  .course-more,
  .course-link-panel {
    padding: 16px;
  }
  .course-card-grid,
  .course-step-list,
  .course-link-grid,
  .course-mini-links {
    grid-template-columns: 1fr;
  }
}


.topic-blog-cross {
  max-width: 1100px;
  margin: 24px auto;
  padding: 20px 24px;
  background: var(--bg-base);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
}
.topic-blog-cross h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}
.topic-blog-cross-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.topic-blog-cross-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.topic-blog-cross-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 104px;
  padding: 14px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.topic-blog-cross-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--c-yolk);
}
.topic-blog-cross-card-category {
  background: var(--c-mint);
}
.topic-blog-cross-emoji {
  flex: 0 0 auto;
  font-size: 32px;
}
.topic-blog-cross-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.topic-blog-cross-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.topic-blog-cross-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .topic-blog-cross {
    padding: 18px 16px;
  }
  .topic-blog-cross-grid {
    grid-template-columns: 1fr;
  }
  .topic-blog-cross-card {
    min-height: 92px;
  }
}




.quiz-start-emoji {
  font-size: 64px;
  text-align: center;
  margin: 12px 0 16px;
  line-height: 1;
}


.blog-date,
.blog-reading {
  color: var(--ink-soft);
  font-size: 14px;
}


.result-other-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}


.blog-share-native:hover,
.blog-share-copy:hover {
  background: var(--c-mint);
  color: var(--paper);
}


.home-layout-container {
  max-width: 1800px; 
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  align-items: stretch;
  justify-content: center;
}

.home-main-content {
  width: 100%;
  flex: 1;
  min-width: 0;
}

.home-sidebar-left,
.home-sidebar-right {
  display: none;
  width: 220px;
  flex-shrink: 0;
  z-index: 40;
  overflow: hidden;
}


@media (min-width: 1024px) {
  .home-sidebar-right {
    display: block;
  }
}


@media (min-width: 1400px) {
  .home-sidebar-left {
    display: block;
  }
}


.sidebar-ad-card {
  text-align: center;
}
.sidebar-ad-card .sidebar-ad-title {
  display: none;
}
.sidebar-ad-card.loaded {
  margin-bottom: 24px;
  min-height: auto;
}
.sidebar-ad-card.sticky-ad {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
}
.sidebar-ad-card.loaded .sidebar-ad-title {
  display: none;
}

@media (min-width: 1024px) {
  .home-main-content .quiz-grid,
  .home-main-content .topic-curation {
    padding-left: 0;
    padding-right: 0;
  }
  .home-main-content .category-filter {
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
    max-width: 100%;
    margin-left: 0;
  }
}



.coupang-affiliate-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  max-width: 100%;
  width: 728px;
  gap: 12px;
}

.coupang-affiliate-banner iframe,
.coupang-affiliate-banner img {
  max-width: 100% !important;
  height: auto !important;
  border: none !important;
  display: block;
  margin: 0 auto;
}

.coupang-disclosure {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
  font-family: Pretendard, sans-serif;
  text-align: center;
  line-height: 1.4;
}

.coupang-page-disclosure {
  width: min(100%, 920px);
  margin: 12px auto 20px;
  padding: 0 16px;
  color: var(--ink);
  font-family: Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
  box-sizing: border-box;
}

.simsim-static-ad-wrapper {
  --ad-accent: var(--c-yolk);
  --ad-soft: #FFF7DE;
  width: min(100%, 520px);
  margin: 20px auto;
  text-align: center;
  box-sizing: border-box;
}

.simsim-static-ad-wrapper[data-ad-category="fashion"] {
  --ad-accent: #FF5E8A;
  --ad-soft: #FFE4EE;
}

.simsim-static-ad-wrapper[data-ad-category="digital"] {
  --ad-accent: var(--c-sky);
  --ad-soft: #E5F1FF;
}

.simsim-static-ad-wrapper[data-ad-category="fresh"] {
  --ad-accent: var(--c-mint);
  --ad-soft: #DDF8F3;
}

.simsim-static-ad-wrapper[data-ad-category="living"] {
  --ad-accent: var(--c-grape);
  --ad-soft: #F1E8FF;
}

.simsim-static-ad-wrapper[data-ad-category="appliance"] {
  --ad-accent: #14B8A6;
  --ad-soft: #D9FBF6;
}

.simsim-static-ad-wrapper[data-ad-category="pet"] {
  --ad-accent: #F97316;
  --ad-soft: #FFE9D6;
}

.simsim-static-ad-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--ad-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.simsim-static-ad-wrapper a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.simsim-static-ad-wrapper a:focus-visible {
  outline: 3px solid var(--c-sky);
  outline-offset: 5px;
}

.simsim-static-ad-wrapper img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 4px 4px 0 0 var(--ad-accent), 7px 7px 0 0 var(--ink);
  box-sizing: border-box;
}

.simsim-static-ad-fit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: min(100%, 420px);
  padding: 8px 10px;
  background: var(--ad-soft);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 0 var(--ad-accent);
  box-sizing: border-box;
}

.simsim-static-ad-fit-reason {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.simsim-static-ad-fit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.simsim-static-ad-fit-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.28);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.simsim-static-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 0 var(--ad-accent);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.simsim-static-ad-wrapper a:hover .simsim-static-ad-cta,
.simsim-static-ad-wrapper a:focus-visible .simsim-static-ad-cta {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--ad-accent);
  background: var(--ad-accent);
  color: var(--ink);
}

.simsim-static-ad-wrapper p {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.simsim-static-ad-fallback {
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.simsim-static-ad-fallback a {
  gap: 12px;
}

.simsim-static-ad-fallback-title {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.mobile-sticky-ad .simsim-static-ad-wrapper {
  width: 100%;
  margin: 0 auto;
}

.mobile-sticky-ad .simsim-static-ad-label {
  display: none;
}

.mobile-sticky-ad .simsim-static-ad-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.mobile-sticky-ad .simsim-static-ad-cta {
  display: none;
}

.mobile-sticky-ad .simsim-static-ad-fit,
.desktop-sticky-ad .simsim-static-ad-fit {
  display: none;
}

.mobile-sticky-ad .simsim-static-ad-wrapper p {
  display: none;
}

@media (max-width: 768px) {
  .coupang-affiliate-banner {
    margin: 24px auto;
    width: 100%;
  }
  .simsim-static-ad-wrapper {
    width: 100%;
  }
  .simsim-static-ad-wrapper img {
    width: min(100%, 360px);
  }
}


.fixed-side-banner {
  display: none;
  position: absolute;
  top: 180px;
  z-index: 90;
  width: 160px;
  text-align: center;
}

.fixed-side-banner img {
  border: none !important;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.fixed-side-banner iframe {
  border: none !important;
  display: block;
  margin: 0 auto;
}

.fixed-side-banner .coupang-disclosure {
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.3;
  text-align: center;
}


@media (min-width: 1280px) {
  .fixed-side-banner {
    display: block;
  }
  .fixed-side-banner.left {
    right: calc(50% + 420px); /* 400px + 20px margin */
  }
  .fixed-side-banner.right {
    left: calc(50% + 420px);
  }
}


.mbti-overview-page ~ .fixed-side-banner.left {
  right: calc(50% + 640px); /* 620px + 20px margin */
}
.mbti-overview-page ~ .fixed-side-banner.right {
  left: calc(50% + 640px);
}
@media (min-width: 1280px) and (max-width: 1679px) {
  .mbti-overview-page ~ .fixed-side-banner {
    display: none; /* Hide on overview pages if viewport is too narrow */
  }
}
@media (min-width: 1680px) {
  .mbti-overview-page ~ .fixed-side-banner {
    display: block;
  }
}


body.worldcup-page .fixed-side-banner,
body:has(.home-hub-container) .fixed-side-banner,
body:has(.home-layout-container) .fixed-side-banner {
  display: none !important;
}

body {
  position: relative;
}


@media (max-width: 767px) {
  .coupang-affiliate-banner.desktop-only {
    display: none !important;
  }
  .coupang-affiliate-banner.mobile-only {
    display: flex !important;
  }
}
@media (min-width: 768px) {
  .coupang-affiliate-banner.desktop-only {
    display: flex !important;
  }
  .coupang-affiliate-banner.mobile-only {
    display: none !important;
  }
}

.mobile-sticky-ad {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  text-align: center;
}
.mobile-sticky-ad.is-visible {
  display: block !important;
}
.mobile-sticky-ad.is-visible.is-inline-ad-visible {
  display: none !important;
}
.mobile-sticky-ad-close {
  position: absolute;
  right: 12px;
  top: -30px;
  background: var(--c-tomato);
  color: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2px 2px 0 0 var(--ink);
  font-family: 'GmarketSans', sans-serif;
  text-transform: uppercase;
  pointer-events: auto;
}
.mobile-sticky-ad-close:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 0 var(--ink);
}
.mobile-sticky-ad-content {
  display: grid;
  gap: 6px;
  width: min(250px, calc(100vw - 24px));
  margin: 0 auto;
  min-width: 0;
  min-height: min(250px, calc(100vw - 24px));
  pointer-events: auto;
}

.mobile-sticky-promo-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobile-sticky-promo-links a {
  display: grid;
  align-content: center;
  min-height: 42px;
  padding: 6px 8px;
  color: var(--ink);
  background: #FFF7DE;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 2px 2px 0 0 var(--ink);
  text-align: center;
  text-decoration: none;
}

.mobile-sticky-promo-links.is-direct a {
  background: #FFF0F5;
}

.mobile-sticky-promo-links a:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 0 var(--ink);
}

.mobile-sticky-promo-links span,
.mobile-sticky-promo-links small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sticky-promo-links span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.mobile-sticky-promo-links small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

.mobile-sticky-promo-disclosure {
  margin: -2px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 1280px) {
  .mobile-sticky-ad {
    display: none !important;
  }
}

.desktop-sticky-ad {
  display: none;
  position: fixed;
  right: 16px;
  top: 112px;
  z-index: 9980;
  width: 220px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.desktop-sticky-ad-close {
  position: absolute;
  right: 8px;
  top: -34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  padding: 0 8px;
  background: var(--c-yolk);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 2px 2px 0 0 var(--ink);
  cursor: pointer;
  font-family: 'GmarketSans', sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.desktop-sticky-ad-close:hover,
.desktop-sticky-ad-close:focus-visible {
  background: var(--c-mint);
  color: var(--paper);
  outline: none;
}

.desktop-sticky-ad-content {
  min-height: 220px;
}

.desktop-sticky-ad .simsim-static-ad-wrapper {
  width: 100%;
  margin: 0 auto;
}

.desktop-sticky-ad .simsim-static-ad-label {
  margin-bottom: 6px;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.2;
}

.desktop-sticky-ad .simsim-static-ad-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.desktop-sticky-ad .simsim-static-ad-cta {
  min-height: 30px;
  margin-top: 6px;
  padding: 6px 8px;
  font-size: 11px;
  box-shadow: 2px 2px 0 0 var(--c-yolk);
}

.desktop-sticky-ad .simsim-static-ad-wrapper p {
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.35;
}

.desktop-sticky-promo-links {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.desktop-sticky-promo-links a {
  display: grid;
  align-content: center;
  min-height: 38px;
  padding: 6px 7px;
  color: var(--ink);
  background: #FFF0F5;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 2px 2px 0 0 var(--ink);
  text-align: center;
  text-decoration: none;
}

.desktop-sticky-promo-links a:hover,
.desktop-sticky-promo-links a:focus-visible {
  background: #FFF7DE;
  outline: none;
}

.desktop-sticky-promo-links a:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 0 var(--ink);
}

.desktop-sticky-promo-links span,
.desktop-sticky-promo-links small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-sticky-promo-links span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.desktop-sticky-promo-links small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.2;
}

.desktop-sticky-promo-disclosure {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 1280px) {
  .desktop-sticky-ad.is-visible {
    display: block;
  }
}

@media (max-width: 1279px) {
  .desktop-sticky-ad {
    display: none !important;
  }
}

.desktop-sticky-ad.is-visible.is-inline-ad-visible {
  display: none !important;
}

body.worldcup-page .desktop-sticky-ad {
  display: none !important;
}




.worldcup-setup-box {
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.worldcup-setup-box h3 {
  font-family: 'GmarketSans', sans-serif;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--ink);
}

.round-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.round-option-card {
  cursor: pointer;
  position: relative;
}

.round-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.round-card-content {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.round-option-card input[type="radio"]:checked + .round-card-content {
  background: var(--c-yolk);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--ink);
}

.round-num {
  font-family: 'GmarketSans', sans-serif;
  font-size: 22px;
  font-weight: 900;
  display: block;
}

.round-desc {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 4px;
}


.worldcup-play-header {
  text-align: center;
  margin-bottom: 24px;
}

.round-badge {
  display: inline-block;
  background: var(--c-grape);
  color: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 6px 16px;
  font-family: 'GmarketSans', sans-serif;
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}

.match-indicator {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.worldcup-progress-bar {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.progress-fill {
  background: var(--c-mint);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.worldcup-mobile-match-ad-frame {
  display: none;
  width: 100%;
  margin: -6px auto 14px;
  padding: 6px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.worldcup-mobile-match-ad-frame .simsim-ad-slot {
  width: 100%;
}

@media (max-width: 768px) {
  .worldcup-mobile-match-ad-frame {
    display: flex;
    justify-content: center;
  }
}

.worldcup-round-break {
  width: min(100%, 520px);
  margin: 0 auto 18px;
  padding: 18px;
  text-align: center;
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.worldcup-round-break h2 {
  margin: 4px 0 6px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.worldcup-round-break p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  word-break: keep-all;
}

.worldcup-break-progress {
  width: min(100%, 360px);
  height: 12px;
  margin: 0 auto 14px;
  overflow: hidden;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
}

.worldcup-break-continue {
  width: min(100%, 280px);
}

.worldcup-round-break-ad-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 18px auto 0;
  padding: 8px;
  overflow: hidden;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.worldcup-round-break-ad-frame .simsim-ad-slot {
  width: 100%;
}


.worldcup-matchup-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  position: relative;
}

@media (max-width: 768px) {
  .worldcup-matchup-container {
    flex-direction: column;
    gap: 16px;
  }
}

.candidate-card {
  flex: 1;
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.candidate-img-wrapper {
  width: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-bottom: none;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.candidate-img-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.candidate-card:hover .candidate-img-wrapper img {
  transform: scale(1.05);
}

.candidate-info {
  padding: 16px;
  text-align: center;
  background: var(--paper);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.candidate-name {
  font-family: 'GmarketSans', sans-serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--ink);
}

.candidate-desc {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
}


.worldcup-vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-tomato);
  color: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-family: 'GmarketSans', sans-serif;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

@media (max-width: 768px) {
  .worldcup-vs-badge {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 8px auto;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}


.candidate-card.selected-win {
  animation: winPulse 0.45s ease forwards;
  z-index: 5;
}

.candidate-card.selected-lose {
  animation: loseFade 0.45s ease forwards;
  pointer-events: none;
}

@keyframes winPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow-md);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 20px var(--c-mint);
    border-color: var(--c-mint);
  }
  100% {
    transform: scale(1);
    border-color: var(--c-mint);
  }
}

@keyframes loseFade {
  to {
    opacity: 0.2;
    filter: grayscale(1);
    transform: scale(0.95);
  }
}


.worldcup-winner-card {
  border: var(--border-w-lg) solid var(--c-yolk) !important;
  background: linear-gradient(135deg, var(--paper) 60%, #fffbe3 100%);
  position: relative;
  text-align: center;
}

.result-crown {
  font-size: 48px;
  margin-bottom: 8px;
  animation: CrownBounce 2s infinite;
}

@keyframes CrownBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.winner-img-container {
  max-width: 280px;
  aspect-ratio: auto;
  margin: 16px auto;
  border-radius: var(--r-md);
  border: var(--border-w-lg) solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.winner-main-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

.winner-full-desc {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 450px;
  margin: 12px auto 0;
  line-height: 1.5;
}


.simsim-toast {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translate(-50%, 50px);
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: var(--r-sm);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.simsim-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


.tests-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 64px;
  color: var(--ink);
}

.tests-hero {
  margin: 28px 0 20px;
  padding: 28px;
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.tests-hero-kicker,
.tests-route-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.tests-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tests-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.tests-route-section,
.tests-section,
.tests-faq {
  margin-top: 40px;
}

.tests-section-head {
  margin-bottom: 16px;
}

.tests-section-head h2,
.tests-faq h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tests-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.tests-route-grid,
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.tests-inline-ad-slot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 420px;
  min-height: 250px;
  margin: 4px auto 10px !important;
}

.tests-route-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.tests-route-card:nth-child(2n) .tests-route-kicker { background: var(--c-sky); }
.tests-route-card:nth-child(3n) .tests-route-kicker { background: var(--c-yolk); }
.tests-route-card:nth-child(4n) .tests-route-kicker { background: var(--c-tomato); color: var(--paper); }

.tests-route-card:hover,
.tests-route-card:focus-visible,
.tests-card:hover,
.tests-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.tests-route-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tests-route-desc {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.tests-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 118px;
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.tests-card-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 22px;
}

.tests-card-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.tests-card-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tests-card-desc {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tests-card-badge {
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.tests-faq {
  display: grid;
  gap: 12px;
}

.tests-faq-item {
  padding: 16px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.tests-faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  word-break: keep-all;
}

.tests-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  word-break: keep-all;
}

@media (max-width: 720px) {
  .tests-page {
    width: min(100% - 20px, 1120px);
    margin-bottom: 44px;
  }

  .tests-hero {
    padding: 18px;
  }

  .tests-hero h1 {
    font-size: 30px;
  }

  .tests-hero p {
    font-size: 15px;
  }

  .tests-route-grid,
  .tests-grid {
    grid-template-columns: 1fr;
  }

  .tests-section-head h2,
  .tests-faq h2 {
    font-size: 23px;
  }
}


.popular-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 64px;
}

.popular-hero {
  margin: 28px 0 24px;
  padding: 28px;
  background: var(--paper);
  border: var(--border-w-lg) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.popular-hero-kicker,
.popular-kicker,
.popular-course-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.popular-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  word-break: keep-all;
}

.popular-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.popular-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.popular-hero-links a {
  padding: 9px 12px;
  background: var(--c-mint);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.popular-hero-links a:nth-child(2n) { background: var(--c-sky); }
.popular-hero-links a:nth-child(3n) { background: var(--c-tomato); color: var(--paper); }

.popular-section,
.popular-faq {
  margin-top: 40px;
}

.popular-section-head {
  margin-bottom: 16px;
}

.popular-section-head h2,
.popular-faq h2 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1.15;
  word-break: keep-all;
}

.popular-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.popular-rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.popular-rank-grid .popular-inline-ad-slot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 420px;
  min-height: 250px;
  margin: 4px auto 10px !important;
}

.popular-rank-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 104px;
  padding: 13px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.popular-rank-card:hover,
.popular-rank-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.popular-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
}

.popular-rank-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
}

.popular-rank-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.popular-rank-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.popular-rank-desc {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.popular-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.popular-course-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.popular-course-card:nth-child(2n) .popular-course-kicker { background: var(--c-mint); }
.popular-course-card:nth-child(3n) .popular-course-kicker { background: var(--c-sky); }
.popular-course-card:nth-child(4n) .popular-course-kicker { background: var(--c-grape); }

.popular-course-card:hover,
.popular-course-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.popular-course-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.popular-course-desc {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.shopping-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.shopping-promo-intent {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto 24px;
  padding: 18px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.shopping-promo-intent-head {
  display: grid;
  gap: 6px;
  text-align: center;
}

.shopping-promo-intent-head > span {
  justify-self: center;
  padding: 4px 9px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.shopping-promo-intent-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-intent-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.shopping-promo-intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.shopping-promo-intent-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 184px;
  padding: 14px;
  background: var(--bg-base);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}

.shopping-promo-intent-card.is-ending-soon {
  background: #fff2ef;
  border-color: var(--c-tomato);
}

.shopping-promo-intent-card.is-ending-week {
  background: #fff8dc;
  border-color: var(--c-yolk);
}

.shopping-promo-intent-card:hover,
.shopping-promo-intent-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.shopping-promo-intent-kicker {
  justify-self: start;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-intent-card.is-ending-week .shopping-promo-intent-kicker {
  background: var(--c-yolk);
  color: var(--ink);
}

.shopping-promo-intent-card.is-ending-soon .shopping-promo-intent-kicker {
  background: var(--c-tomato);
  color: var(--paper);
}

.shopping-promo-intent-card strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.18;
  word-break: keep-all;
}

.shopping-promo-intent-card small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  word-break: keep-all;
}

.shopping-promo-intent-hint {
  padding: 7px 9px;
  background: rgba(45, 45, 45, 0.055);
  border: 2px dashed rgba(45, 45, 45, 0.38);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  word-break: keep-all;
}

.shopping-promo-intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.shopping-promo-intent-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 6px;
  background: var(--paper);
  border: 2px solid rgba(45, 45, 45, 0.28);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.shopping-promo-intent-cta {
  align-self: end;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: keep-all;
}

.shopping-promo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.shopping-promo-card.is-promo-ending-soon {
  border-color: var(--c-tomato);
  box-shadow: 0 0 0 3px rgba(237, 81, 72, 0.18), var(--shadow-sm);
}

.shopping-promo-card.is-promo-ending-week {
  border-color: var(--c-yolk);
}

.shopping-promo-card.is-promo-hidden {
  display: none !important;
}

.shopping-promo-card:nth-child(2n) .shopping-promo-label { background: var(--c-mint); }
.shopping-promo-card:nth-child(3n) .shopping-promo-label { background: var(--c-sky); }
.shopping-promo-card:nth-child(4n) .shopping-promo-label { background: var(--c-grape); }
.shopping-promo-card:nth-child(5n) .shopping-promo-label { background: var(--c-tomato); color: var(--paper); }

.shopping-promo-card:hover,
.shopping-promo-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.shopping-promo-image {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--bg-base);
  border-bottom: var(--border-w) solid var(--ink);
}

.shopping-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shopping-promo-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto auto auto;
  gap: 7px;
  padding: 14px;
  min-width: 0;
}

.shopping-promo-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.shopping-promo-label {
  justify-self: start;
  padding: 4px 8px;
  background: var(--c-yolk);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-card.is-promo-ending-soon .shopping-promo-label {
  background: var(--c-tomato);
  color: var(--paper);
}

.shopping-promo-urgency {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-card.is-promo-ending-week .shopping-promo-urgency {
  background: var(--c-yolk);
  color: var(--ink);
}

.shopping-promo-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.shopping-promo-desc {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.shopping-promo-meta {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}

.shopping-promo-action-hint {
  padding: 7px 9px;
  background: var(--bg-base);
  border: 2px dashed rgba(45, 45, 45, 0.38);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  word-break: keep-all;
}

.shopping-promo-card.is-promo-ending-soon .shopping-promo-action-hint {
  background: #fff2ef;
  border-color: rgba(237, 81, 72, 0.48);
}

.shopping-promo-card.is-promo-ending-week .shopping-promo-action-hint {
  background: #fff8dc;
  border-color: rgba(247, 195, 49, 0.6);
}

.shopping-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.shopping-promo-fit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  background: var(--paper);
  border: 2px solid rgba(45, 45, 45, 0.32);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 34px;
  margin-top: 2px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-card:hover .shopping-promo-cta,
.shopping-promo-card:focus-visible .shopping-promo-cta {
  background: var(--c-yolk);
  color: var(--ink);
}

.shopping-promo-disclosure {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}

.shopping-promo-category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
  max-width: 920px;
}

.shopping-promo-category-links > span {
  flex: 1 0 100%;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  word-break: keep-all;
}

.shopping-promo-category-links a {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 8px 10px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  text-align: center;
  text-decoration: none;
}

.shopping-promo-category-links a:hover,
.shopping-promo-category-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.shopping-promo-category-links a > span:not(.shopping-promo-category-tags),
.shopping-promo-category-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-category-links a small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  word-break: keep-all;
}

.shopping-promo-category-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  margin-top: 1px;
}

.shopping-promo-category-links a .shopping-promo-category-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 6px;
  background: #FFF7D6;
  border: 1px solid rgba(45, 45, 45, 0.35);
  border-radius: var(--r-xs);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.shopping-promo-category-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xs);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: background .15s ease, color .15s ease;
}

.shopping-promo-category-links a:hover .shopping-promo-category-cta,
.shopping-promo-category-links a:focus-visible .shopping-promo-category-cta {
  background: var(--c-tomato);
  color: var(--ink);
}

.quiz-start-promo-inline {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 2px dashed var(--ink);
}

.quiz-start-promo-inline-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  color: var(--ink);
  word-break: keep-all;
}

.quiz-start-promo-inline-kicker {
  padding: 4px 8px;
  background: var(--c-tomato);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.quiz-start-promo-inline-copy strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-start-promo-inline-copy small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.quiz-start-promo-inline-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.quiz-start-promo-inline-links a {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 54px;
  align-content: center;
  padding: 8px 6px;
  color: var(--ink);
  text-decoration: none;
  background: #FFF7DE;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}

.quiz-start-promo-inline-links a.is-featured {
  grid-column: span 2;
  min-height: 66px;
  gap: 4px;
  align-content: center;
  background: var(--c-yolk);
  box-shadow: var(--shadow-xs);
}

.quiz-start-promo-inline-links a.is-featured.is-ending-soon {
  background: #FFF2EF;
}

.quiz-start-promo-inline-links a.is-featured.is-ending-week {
  background: #FFF8DC;
}

.quiz-start-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
}

.quiz-start-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-start-promo-inline-links a:hover,
.quiz-start-promo-inline-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.quiz-start-promo-inline-links span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-start-promo-inline-links small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.15;
  word-break: keep-all;
}

.quiz-start-promo-fit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.quiz-start-promo-fit-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 5px;
  background: var(--paper);
  border: 1.5px solid rgba(45, 45, 45, 0.26);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.quiz-start-promo-inline-links em {
  justify-self: center;
  margin-top: 3px;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
  word-break: keep-all;
}

.quiz-start-promo-inline-links a.is-featured:hover em,
.quiz-start-promo-inline-links a.is-featured:focus-visible em {
  background: var(--c-tomato);
  color: var(--paper);
}

.quiz-start-promo-disclosure {
  margin: -2px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

@media (max-width: 520px) {
  .quiz-start-promo-inline {
    margin-top: 18px;
    padding-top: 14px;
  }

  .quiz-start-promo-inline-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-start-promo-inline-links a.is-featured {
    grid-column: 1 / -1;
  }
}

.topic-active-promos,
.blog-active-promos,
.result-active-promos,
.quiz-active-promos,
.course-active-promos,
.hub-active-promos {
  max-width: 1100px;
  margin: 30px auto;
}

.home-shopping-picks {
  padding: 22px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.home-shopping-picks-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-shopping-picks-head > div > span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
}

.home-shopping-picks-more {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-underline-offset: 3px;
}

.home-shopping-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.home-shopping-shortcuts a {
  padding: 7px 10px;
  color: var(--ink);
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 640px) {
  .home-shopping-picks { padding: 16px; }
  .home-shopping-picks-head { align-items: start; flex-direction: column; gap: 6px; }
}

.topic-active-promos h2,
.blog-active-promos h2,
.result-active-promos h2,
.quiz-active-promos h2,
.course-active-promos h2,
.hub-active-promos h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}

.topic-active-promos-sub,
.blog-active-promos-sub,
.result-active-promos-sub,
.quiz-active-promos-sub,
.course-active-promos-sub,
.hub-active-promos-sub {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  word-break: keep-all;
}

.topic-promo-grid,
.blog-promo-grid,
.result-promo-grid,
.quiz-promo-grid,
.course-promo-grid,
.hub-promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.result-inline-promos {
  max-width: 780px;
  margin: 18px auto 4px;
  padding: 16px 0 2px;
  border-top: 2px solid rgba(45, 45, 45, 0.14);
  border-bottom: 2px solid rgba(45, 45, 45, 0.14);
}

.result-inline-promos-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.result-inline-promos-head > span {
  padding: 3px 7px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.result-inline-promos h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.result-inline-intent-promos .shopping-promo-intent {
  max-width: 780px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.result-inline-intent-promos .shopping-promo-intent-head {
  justify-items: start;
  text-align: left;
}

.result-inline-intent-promos .shopping-promo-intent-head > span {
  justify-self: start;
  font-size: 11px;
}

.result-inline-intent-promos .shopping-promo-intent-head h2 {
  font-size: 17px;
}

.result-inline-intent-promos .shopping-promo-intent-head p {
  font-size: 12px;
}

.result-inline-intent-promos .shopping-promo-intent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-inline-intent-promos .shopping-promo-intent-card {
  min-height: 152px;
  padding: 12px;
  gap: 6px;
}

.result-inline-intent-promos .shopping-promo-intent-card strong {
  font-size: 15px;
}

.result-inline-intent-promos .shopping-promo-intent-card small,
.result-inline-intent-promos .shopping-promo-intent-hint {
  font-size: 12px;
}

.result-inline-promo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-inline-promo-grid .shopping-promo-card {
  border-width: 2px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
}

.result-inline-promo-grid .shopping-promo-image {
  border-bottom-width: 2px;
}

.result-inline-promo-grid .shopping-promo-body {
  gap: 6px;
  padding: 12px;
}

.result-inline-promo-grid .shopping-promo-title {
  font-size: 15px;
}

.result-inline-promo-grid .shopping-promo-desc {
  font-size: 12px;
}

.result-inline-promo-grid .shopping-promo-cta {
  min-height: 31px;
  padding: 7px 10px;
  font-size: 12px;
}

@media (max-width: 620px) {
  .result-inline-promos {
    margin-top: 16px;
  }

  .result-inline-promo-grid {
    grid-template-columns: 1fr;
  }

  .result-inline-intent-promos .shopping-promo-intent-grid {
    grid-template-columns: 1fr;
  }
}

.popular-faq {
  display: grid;
  gap: 12px;
}

.popular-faq-item {
  padding: 16px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.popular-faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  word-break: keep-all;
}

.popular-faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  word-break: keep-all;
}

.popular-faq-item p a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .popular-page {
    width: min(100% - 20px, 1120px);
    margin-bottom: 44px;
  }

  .popular-hero {
    padding: 20px;
  }

  .popular-hero h1 {
    font-size: 30px;
  }

  .popular-hero p {
    font-size: 15px;
  }

  .popular-section-head h2,
  .popular-faq h2 {
    font-size: 23px;
  }

  .popular-rank-grid,
  .popular-course-grid {
    grid-template-columns: 1fr;
  }
}

.smart-next-rail {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  z-index: 9990;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.smart-next-rail.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.smart-next-rail.is-mobile-sticky-suppressed {
  display: none !important;
}

.smart-next-card {
  display: grid;
  gap: 5px;
  padding: 14px 46px 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.smart-next-card:hover,
.smart-next-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.smart-next-rail-promo .smart-next-card {
  background: #FFF1EF;
}

.smart-next-kicker {
  width: fit-content;
  padding: 3px 8px;
  background: var(--c-mint);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.smart-next-rail-promo .smart-next-kicker {
  background: var(--c-tomato);
  color: var(--paper);
}

.smart-next-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.smart-next-desc {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.smart-next-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.smart-next-tags span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 7px;
  background: #FFF7D6;
  border: 1px solid var(--ink);
  border-radius: var(--r-xs);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.smart-next-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 0 var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.smart-next-close:hover,
.smart-next-close:focus-visible {
  background: var(--c-yolk);
  outline: none;
}

@media (max-width: 720px) {
  .smart-next-rail {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .smart-next-card {
    padding: 12px 44px 12px 14px;
  }

  .smart-next-title {
    font-size: 15px;
  }
}



.quiz-grid .simsim-ad-slot,
.new-quiz-grid .simsim-ad-slot,
.tests-grid .simsim-ad-slot,
.blog-result-grid .simsim-ad-slot,
.blog-cat-recco-grid .simsim-ad-slot,
.home-guide-grid .simsim-ad-slot,
.shopping-promo-grid .simsim-ad-slot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 728px;
  margin: 10px auto !important;
}

.home-mobile-inline-ad-slot {
  display: none;
  max-width: 420px;
  min-height: 250px;
  margin: 12px auto 10px !important;
}

@media (max-width: 720px) {
  .home-mobile-inline-ad-slot {
    display: block;
  }

  .home-mobile-inline-ad-slot .simsim-static-ad-wrapper {
    border-width: 2px;
  }

  .home-mobile-inline-ad-slot .simsim-static-ad-label,
  .home-mobile-inline-ad-slot .simsim-static-ad-wrapper p {
    font-size: 10px;
  }
}

.shopping-promo-grid .shopping-promo-card-inline-ad {
  max-width: 420px;
  min-height: 250px;
  margin: 4px auto 10px !important;
}

.tests-grid .tests-inline-ad-slot {
  max-width: 420px;
  min-height: 250px;
  margin: 4px auto 10px !important;
}

.blog-list .blog-inline-ad-slot {
  width: 100%;
  max-width: 420px;
  min-height: 250px;
  margin: 4px auto 12px !important;
  align-self: center;
}

.blog-cat-section .blog-list .blog-inline-ad-slot {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .blog-list .blog-inline-ad-slot {
    max-width: 336px;
    margin: 2px auto 10px !important;
  }
}


.news-card {
  display: block;
  min-height: auto;
  padding: 20px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.news-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
  background-color: #FFFDF9; 
}


.home-hub-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 70px;
}

.home-hub-container .new-quiz-strip,
.home-hub-container .home-guide-strip {
  width: 100%;
}


.site-map-page {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 72px;
  color: var(--ink);
}
.site-map-page h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}
.site-map-lead {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-soft);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.site-map-section {
  margin: 26px 0;
  padding: 22px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.site-map-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}
.site-map-section-intro {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.site-map-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-map-list li {
  min-width: 0;
}
.site-map-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 68px;
  padding: 12px 14px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.site-map-list a:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  background: var(--c-yolk);
}
.site-map-link-title {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.site-map-desc {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-map-details {
  margin: 10px 0;
  padding: 12px;
  background: var(--bg-base);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
}
.site-map-details summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
}
.site-map-details .site-map-list {
  margin-top: 12px;
}
.site-map-list-compact a {
  min-height: 54px;
  padding: 10px 12px;
}
@media (max-width: 640px) {
  .site-map-page {
    width: min(100% - 24px, 390px);
    margin-top: 24px;
  }
  .site-map-page h1 {
    font-size: 28px;
  }
  .site-map-section {
    padding: 16px;
  }
  .site-map-list {
    grid-template-columns: 1fr;
  }
}

.hub-buttons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
}

@media (min-width: 768px) {
  .hub-buttons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.hub-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hub-card-emoji {
  font-size: 56px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.15s ease;
}

.hub-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hub-card-title {
  font-family: 'GmarketSans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hub-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 260px;
}

.hub-card-btn {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  align-self: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}


.hub-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.hub-card:hover .hub-card-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.hub-card.psychology:hover {
  background-color: var(--cat-ability-bg, #D2F5EE); 
}

.hub-card.worldcup:hover {
  background-color: var(--cat-psychology-bg, #F1E6FF); 
}

.hub-card.mbti-compatibility:hover {
  background-color: var(--cat-fun-bg, #FFE2E2); 
}


.mobile-sticky-ad,
.mobile-sticky-ad.is-visible,
.desktop-sticky-ad,
.desktop-sticky-ad.is-visible {
  display: none !important;
}


.simsim-ad-slot + .clarity-section-row {
  margin: 64px auto;
}

@media (max-width: 520px) {
  .simsim-ad-slot + .clarity-section-row {
    margin: 48px auto;
  }
}

.simsim-static-ad-wrapper {
  width: min(100%, 420px);
  margin: 20px auto;
}

.simsim-static-ad-wrapper a {
  display: block;
  max-width: 100%;
}

.simsim-static-ad-wrapper img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.simsim-static-ad-label,
.simsim-static-ad-fit,
.simsim-static-ad-cta,
.simsim-static-ad-wrapper > p,
.desktop-sticky-promo-links,
.desktop-sticky-promo-disclosure {
  display: none !important;
}

.shopping-promo-card,
.shopping-promo-intent-card,
.home-return-promo-card,
.quiz-start-promo-inline-links a.is-featured,
.quiz-mid-promo-direct-card,
.quiz-question-promo-card,
.result-direct-promo-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.quiz-mid-promo-direct-grid,
.result-direct-promos-grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 420px);
  margin-inline: auto;
}

.shopping-promo-card:hover,
.shopping-promo-card:focus-visible,
.shopping-promo-intent-card:hover,
.shopping-promo-intent-card:focus-visible,
.home-return-promo-card:hover,
.home-return-promo-card:focus-visible,
.quiz-start-promo-inline-links a.is-featured:hover,
.quiz-start-promo-inline-links a.is-featured:focus-visible,
.quiz-mid-promo-direct-card:hover,
.quiz-mid-promo-direct-card:focus-visible,
.quiz-question-promo-card:hover,
.quiz-question-promo-card:focus-visible,
.result-direct-promo-card:hover,
.result-direct-promo-card:focus-visible {
  transform: none;
  box-shadow: none !important;
  opacity: 1;
}

.shopping-promo-image,
.home-return-promo-image,
.quiz-start-promo-image,
.quiz-mid-promo-image,
.quiz-question-promo-image,
.result-direct-promo-image {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shopping-promo-body,
.shopping-promo-card > :not(.shopping-promo-image),
.shopping-promo-intent-card > :not(.shopping-promo-image),
.home-return-promo-card > :not(.home-return-promo-image),
.quiz-start-promo-inline-links a.is-featured > :not(.quiz-start-promo-image),
.quiz-mid-promo-direct-card > :not(.quiz-mid-promo-image),
.quiz-question-promo-card > :not(.quiz-question-promo-image),
.result-direct-promo-card > :not(.result-direct-promo-image) {
  display: none !important;
}

.home-shopping-picks,
.hub-active-promos,
.shopping-promo-intent,
.home-return-promos,
.quiz-start-promo-inline,
.quiz-mid-promo,
.quiz-question-ad-frame,
.result-direct-promos {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.quiz-start-ad-frame,
.quiz-mid-ad-frame,
.quiz-question-ad-frame,
.quiz-analyzing-ad-frame,
.quiz-result-ad-frame,
.worldcup-start-ad-frame,
.worldcup-mobile-match-ad-frame,
.worldcup-round-break-ad-frame,
.worldcup-result-ad-frame,
.worldcup-share-success-ad-host {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-shopping-picks-head,
.home-shopping-shortcuts,
.hub-active-promos > h2,
.hub-active-promos > .hub-active-promos-sub,
.hub-active-promos > .shopping-promo-category-links,
.shopping-promo-intent-head,
.home-return-promo-head,
.quiz-start-promo-inline-copy,
.quiz-mid-promo-head,
.quiz-mid-promo-links,
.result-direct-promos-head {
  display: none !important;
}

.home-return-promo-image,
.home-return-promo-image img {
  display: block;
  width: 100%;
  height: auto;
}





:root {
  --bg-base: #f7f7f4;
  --bg-grid: transparent;
  --ink: #202124;
  --ink-soft: #686a70;
  --paper: #ffffff;
  --c-yolk: #f6cf53;
  --c-tomato: #e86d68;
  --c-mint: #78c9ba;
  --c-sky: #78aee8;
  --c-grape: #aa8bd4;
  --border-w: 1px;
  --border-w-lg: 1px;
  --shadow-xs: 0 1px 2px rgba(32, 33, 36, 0.04);
  --shadow-sm: 0 4px 14px rgba(32, 33, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(32, 33, 36, 0.07);
  --shadow-lg: 0 12px 34px rgba(32, 33, 36, 0.09);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --line: #e4e4df;
  --surface-soft: #f1f1ed;
  --page-wide: 1040px;
  --page-reading: 720px;
}

body {
  background: var(--bg-base);
  background-image: none;
  line-height: 1.55;
}


.header {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100%, 1120px);
}

.logo {
  gap: 7px;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-size: 20px;
  letter-spacing: -0.4px;
}

.nav-links {
  gap: 2px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #3e4045;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.nav-links > li:nth-child(6),
.nav-links > li:nth-child(10) {
  display: none;
}

.hamburger {
  padding: 6px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: none;
  font-size: 20px;
}


.hero {
  max-width: 820px;
  padding: 64px 20px 22px;
}

.hero h1,
.tests-hero h1,
.popular-hero h1,
.topic-hero h1,
.topic-index-hero h1,
.course-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
}

.hero p {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 550;
}

.tests-hero,
.popular-hero {
  margin: 24px 0 10px;
  padding: 34px 0 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tests-hero h1,
.popular-hero h1 {
  margin: 10px 0;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.12;
}

.tests-hero p,
.popular-hero p,
.course-hero p,
.topic-index-hero p,
.topic-hero-sub {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 550;
}

.tests-hero-kicker,
.popular-hero-kicker,
.popular-kicker,
.popular-course-kicker,
.course-kicker,
.tests-route-kicker {
  padding: 4px 9px;
  background: #fff4c6;
  border: 0;
  border-radius: 999px;
  color: #6f5810;
  font-size: 12px;
  font-weight: 800;
}

.popular-hero-links {
  gap: 7px;
  margin-top: 18px;
}

.popular-hero-links a,
.popular-hero-links a:nth-child(2n),
.popular-hero-links a:nth-child(3n) {
  padding: 7px 10px;
  background: var(--paper);
  color: #4e5055;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 750;
}

.popular-hero-links a:nth-child(n+6) {
  display: none;
}

.tests-hero .popular-hero-links a {
  display: none;
}

.tests-hero .popular-hero-links a:nth-child(1),
.tests-hero .popular-hero-links a:nth-child(2),
.tests-hero .popular-hero-links a:nth-last-child(-n+3) {
  display: inline-flex;
}

.topic-hero {
  padding: 32px 24px;
  background: #fff9df;
  border: 1px solid #eee0a8;
  border-radius: var(--r-lg);
  box-shadow: none;
}

.topic-index-hero,
.course-hero {
  margin-bottom: 18px;
  padding-top: 18px;
}

.topic-breadcrumb,
.quiz-breadcrumb {
  color: #85878c;
  font-size: 12px;
}


section.home-promo-strip:not(.home-promo-strip-compact) {
  display: none;
}

.home-promo-strip {
  margin-top: 18px;
}

.home-promo-strip-compact .home-promo-strip-inner {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-promo-strip-compact .home-promo-strip-inner > strong {
  display: none;
}

.home-promo-strip-compact .home-promo-strip-links {
  gap: 8px;
}

.home-promo-strip-compact .home-promo-strip-links a {
  min-height: 62px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.home-promo-strip-compact .home-promo-strip-links a:hover,
.home-promo-strip-compact .home-promo-strip-links a:focus-visible {
  transform: translateY(-1px);
  border-color: #c9c9c2;
  box-shadow: var(--shadow-xs);
}

.home-promo-strip-title {
  font-size: 13px;
}

.home-promo-strip-links small {
  color: var(--ink-soft);
  font-weight: 550;
}


.quiz-card,
.hub-card,
.new-quiz-card,
.home-guide-card,
.home-latest-card,
.topic-curation-card,
.topic-index-section,
.topic-index-card,
.course-grid-section,
.course-steps,
.course-related,
.course-faq,
.course-more,
.course-link-panel,
.course-card,
.course-step-card,
.course-link-card,
.course-mini-link,
.tests-route-card,
.tests-card,
.tests-faq-item,
.popular-rank-card,
.popular-course-card,
.popular-faq-item,
.quiz-start,
.quiz-about,
.quiz-faq,
.quiz-next-card,
.quiz-popular,
.result-blog-cross,
.result-blog-card,
.result-faq,
.page-card,
.news-card,
.site-map-section,
.site-map-list a,
.site-map-details,
.smart-next-card {
  border-color: var(--line);
  box-shadow: none;
}

.quiz-card,
.quiz-card[data-category="psychology"],
.quiz-card[data-category="quiz"],
.quiz-card[data-category="fun"],
.quiz-card[data-category="ability"],
.hub-card,
.tests-route-card,
.tests-card,
.popular-rank-card,
.popular-course-card,
.course-card,
.topic-index-card,
.new-quiz-card,
.home-guide-card,
.home-latest-card,
.result-blog-card,
.quiz-next-card,
.quiz-popular-card,
.site-map-list a {
  background: var(--paper);
}

.quiz-card:hover,
.hub-card:hover,
.new-quiz-card:hover,
.home-guide-card:hover,
.home-latest-card:hover,
.topic-curation-card:hover,
.topic-index-card:hover,
.course-card:hover,
.course-step-card:hover,
.course-link-card:hover,
.course-mini-link:hover,
.tests-route-card:hover,
.tests-route-card:focus-visible,
.tests-card:hover,
.tests-card:focus-visible,
.popular-rank-card:hover,
.popular-rank-card:focus-visible,
.popular-course-card:hover,
.popular-course-card:focus-visible,
.quiz-next-card:hover,
.result-blog-card:hover,
.quiz-popular-card:hover,
.site-map-list a:hover,
.news-card:hover {
  transform: translateY(-1px);
  background: var(--paper);
  border-color: #c9c9c2;
  box-shadow: var(--shadow-xs);
}


.home-hub-container {
  gap: 0;
  margin-top: 34px !important;
  margin-bottom: 56px;
}

.hub-buttons-grid {
  gap: 12px;
}

.hub-buttons-grid .hub-card {
  min-height: 210px;
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.hub-buttons-grid .hub-card-emoji {
  margin-bottom: 18px;
  font-size: 34px;
  transform: none;
}

.hub-buttons-grid .hub-card-content {
  align-items: flex-start;
  text-align: left;
}

.hub-buttons-grid .hub-card-title {
  margin-bottom: 7px;
  font-family: inherit;
  font-size: 20px;
}

.hub-buttons-grid .hub-card-desc {
  max-width: none;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 550;
}

.hub-buttons-grid .hub-card-btn {
  align-self: flex-start;
  border: 0;
  color: #4f5156;
  font-size: 13px;
}

.new-quiz-strip,
.home-guide-strip,
.home-latest-guides {
  padding-right: 0;
  padding-left: 0;
}

.new-quiz-strip {
  margin-top: 32px;
}

.new-quiz-strip h2,
.home-guide-head h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.new-quiz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.new-quiz-card {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.new-quiz-more {
  justify-content: flex-start;
  gap: 7px 14px;
}

.new-quiz-more a:nth-child(n+4) {
  display: none;
}

.home-guide-strip {
  margin-top: 34px;
}

.home-guide-grid {
  gap: 10px;
}

.home-guide-card {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.home-guide-kicker,
.home-latest-kicker {
  padding: 3px 7px;
  background: var(--surface-soft);
  border: 0;
  color: #66686d;
  font-weight: 750;
}

.home-guide-title,
.home-latest-title {
  font-size: 15px;
}

.home-guide-desc,
.home-latest-desc {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}

.home-guide-more {
  color: var(--ink-soft);
  border: 0;
  font-size: 12px;
}

.home-guide-strip[aria-label="여름 쇼핑 고민 테스트"],
.home-guide-strip[aria-label="이번 주 쇼핑 불안 추천 글"],
.home-guide-strip[aria-label="상황별 테스트 모음"] {
  display: none;
}

.home-latest-grid {
  gap: 10px;
}

.home-latest-card {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.home-latest-kicker + .home-latest-kicker {
  display: none;
}


.tests-page,
.popular-page,
.topic-index-page,
.course-page {
  width: min(1040px, calc(100% - 40px));
}

.tests-route-section,
.tests-section,
.tests-faq,
.popular-section,
.popular-faq {
  margin-top: 32px;
}

.tests-section-head,
.popular-section-head {
  margin-bottom: 13px;
}

.tests-section-head h2,
.tests-faq h2,
.popular-section-head h2,
.popular-faq h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.tests-section-head p,
.popular-section-head p {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 550;
}

.tests-route-grid,
.tests-grid,
.popular-rank-grid,
.popular-course-grid,
.course-card-grid,
.topic-index-grid {
  gap: 10px;
}

.tests-route-card,
.tests-card,
.popular-rank-card,
.popular-course-card {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.tests-route-card,
.popular-course-card {
  padding: 14px;
}

.tests-card-desc,
.popular-rank-desc,
.popular-course-desc,
.tests-route-desc {
  color: var(--ink-soft);
  font-weight: 500;
}

.tests-card-emoji,
.popular-rank-emoji {
  background: var(--surface-soft);
  border: 0;
}

.popular-rank-num {
  background: #efefeb;
  color: #5d5f64;
}

.tests-card-badge {
  padding: 3px 7px;
  background: var(--surface-soft);
  border: 0;
  color: var(--ink-soft);
}

.shopping-promo-search-cluster .popular-course-card:nth-of-type(n+5),
.shopping-promo-search-cluster .tests-route-card:nth-of-type(n+5),
#seasonal-shopping .popular-course-card:nth-of-type(n+5),
#seasonal-shopping .tests-route-card:nth-of-type(n+5) {
  display: none;
}

.topic-index-section,
.course-grid-section,
.course-steps,
.course-related,
.course-faq,
.course-more,
.course-link-panel,
.site-map-section {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.topic-index-card {
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.topic-index-card-desc {
  -webkit-line-clamp: 1;
  color: var(--ink-soft);
  font-weight: 500;
}

.course-card {
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.course-card-kicker,
.quiz-next-kicker {
  background: var(--surface-soft);
  border: 0;
  box-shadow: none;
  color: var(--ink-soft);
}

.course-card-desc,
.course-step-desc,
.course-shopping-bridge .course-link-card small {
  color: var(--ink-soft);
  font-weight: 500;
}


.quiz-container {
  padding-top: 24px;
}

.quiz-start {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.quiz-start-emoji,
.quiz-header-emoji {
  font-size: 44px;
}

.btn-start {
  padding: 13px 28px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.btn-start:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.quiz-next-tests,
.quiz-about,
.quiz-faq,
.quiz-popular,
.result-blog-cross,
.result-faq {
  margin-top: 28px;
  margin-bottom: 28px;
}

.quiz-about,
.quiz-faq,
.result-blog-cross,
.result-faq {
  padding: 20px 0;
  background: transparent;
  border-width: 1px 0 0;
  border-radius: 0;
}

.quiz-next-card,
.result-blog-card,
.quiz-popular-card {
  border: 1px solid var(--line);
  border-radius: 12px;
}

.quiz-next-emoji {
  background: var(--surface-soft);
  border: 0;
}

.result-blog-cross + .result-blog-cross {
  display: none;
}

.quiz-popular {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.smart-next-rail-promo {
  display: none !important;
}

.smart-next-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.smart-next-kicker {
  background: var(--surface-soft);
  border: 0;
}

.smart-next-close {
  border: 1px solid var(--line);
  box-shadow: none;
}


.page-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.footer {
  margin-top: 48px;
  padding: 30px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-topics {
  display: none;
}

.footer-links {
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: #55575c;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  color: #6b6d72;
}

@media (max-width: 980px) {
  .nav-links {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-links a {
    border-color: var(--line);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 16px;
  }

  .hero {
    padding: 44px 18px 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .home-promo-strip {
    padding: 0 16px;
  }

  .home-promo-strip-compact .home-promo-strip-links {
    grid-template-columns: 1fr;
  }

  .home-promo-strip-compact .home-promo-strip-links a {
    min-height: 54px;
  }

  .home-hub-container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .hub-buttons-grid {
    gap: 10px;
  }

  .hub-buttons-grid .hub-card {
    min-height: 0;
    padding: 20px;
  }

  .hub-buttons-grid .hub-card-emoji {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .new-quiz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-guide-head {
    gap: 4px;
  }

  .home-latest-grid {
    grid-template-columns: 1fr;
  }

  .tests-page,
  .popular-page,
  .topic-index-page,
  .course-page {
    width: min(100% - 24px, 1040px);
  }

  .tests-hero,
  .popular-hero {
    padding: 26px 0 12px;
  }

  .tests-hero h1,
  .popular-hero h1 {
    font-size: 32px;
  }

  .popular-hero-links {
    gap: 6px;
  }

  .topic-index-section,
  .course-grid-section,
  .course-steps,
  .course-related,
  .course-faq,
  .course-more,
  .course-link-panel,
  .site-map-section {
    padding: 16px;
  }

  .topic-index-card-desc,
  .tests-card-desc,
  .popular-rank-desc {
    display: none;
  }

  .quiz-start {
    padding: 28px 20px;
  }

  .smart-next-rail {
    display: none;
  }

  .page-card {
    padding: 26px 20px;
  }
}






.nav-links > li,
.nav-links > li:nth-child(3),
.nav-links > li:nth-child(6),
.nav-links > li:nth-child(7),
.nav-links > li:nth-child(8),
.nav-links > li:nth-child(9),
.nav-links > li:nth-child(10) {
  display: list-item;
}


.nav-links > li:nth-child(2) {
  display: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: #fff3bd;
}


.shopping-promo-search-cluster,
.popular-page > .popular-section[id$="-shopping"]:not([id$="-shopping-intents"]):not([id$="-shopping-posts"]):not([id$="-shopping-checklists"]),
.result-page > .course-bridge,
.result-page > .result-topic-cross,
.result-page > .result-promo-bridge,
.result-page > .result-shopping-bridge,
.blog-article > .blog-topic-bridge:not(.blog-course-bridge) {
  display: none;
}


.clarity-collapsed-item[hidden] {
  display: none !important;
}

.clarity-collapsed-section[hidden] {
  display: none !important;
}

.clarity-more-row {
  display: flex;
  justify-content: center;
  margin: 14px 0 6px;
}

.clarity-more-button {
  min-height: 42px;
  padding: 9px 16px;
  color: #4f5156;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.clarity-more-button:hover,
.clarity-more-button:focus-visible {
  color: var(--ink);
  background: #fff8dc;
  border-color: #d9c77f;
  outline: none;
}

.clarity-section-row {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}

.clarity-section-button {
  min-height: 44px;
  padding: 10px 18px;
  color: #4f5156;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.clarity-section-button::after {
  content: ' ↓';
  color: #8a8c91;
}

.clarity-section-button[aria-expanded="true"]::after {
  content: ' ↑';
}

.clarity-section-button:hover,
.clarity-section-button:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: #c9c9c2;
  outline: none;
}


.home-season-pulse,
.home-guide-strip[aria-label="요즘 많이 찾는 고민별 테스트"],
.home-hub-container > .popular-faq {
  display: none;
}


.result-next-steps {
  margin: 22px 0 30px;
  padding: 20px 22px;
  background: #fffaf0;
  border: 1px solid #eee0bd;
  border-radius: var(--r-lg);
  box-shadow: none;
}

.result-next-steps h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.result-next-steps ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}


.play-card-grid .play-card-link {
  min-height: 168px;
  padding: 20px;
  border-color: var(--line);
  box-shadow: none;
}

.play-card-grid .play-card-icon {
  font-size: 32px;
}

.play-card-grid .play-card-link h2 {
  margin: 13px 0 6px;
  font-size: 18px;
}

.play-card-grid .play-card-link p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.play-card-grid .play-card-meta {
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav-links > li {
    display: list-item;
  }

  .nav-links > li:nth-child(2) {
    display: none;
  }

  .nav-links a[aria-current="page"] {
    padding-left: 12px;
  }
}

@media (max-width: 720px) {
  .play-card-grid .play-card-link {
    min-height: 0;
    padding: 17px;
  }

  .result-next-steps {
    padding: 18px;
  }
}






.blog-list-container {
  width: min(100% - 40px, 1040px);
  margin-top: 34px;
  padding: 0;
}

.blog-list-title {
  margin-bottom: 6px;
  font-size: clamp(34px, 5vw, 46px);
  letter-spacing: -0.04em;
}

.blog-list-subtitle {
  color: var(--ink-soft);
  font-weight: 550;
}

.blog-sections {
  gap: 30px;
}

.blog-cat-section .blog-list {
  gap: 10px;
}

.blog-list-item,
.blog-topic-bridge,
.blog-topic-card,
.blog-result-hub,
.blog-result-card {
  border-color: var(--line);
  box-shadow: none;
}

.blog-list-item {
  border-width: 1px;
  border-radius: 13px;
}

.blog-list-item:hover,
.blog-topic-card:hover,
.blog-result-card:hover {
  transform: translateY(-1px);
  background: var(--paper);
  border-color: #c9c9c2;
  box-shadow: var(--shadow-xs);
}

.blog-cat-section .blog-list-item-inner {
  min-height: 0;
  padding: 16px;
}

.blog-list-item-title {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.45;
}

.blog-list-item-desc {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.blog-list-item-meta {
  color: #8b8d92;
  font-size: 12px;
}

.blog-topic-bridge,
.blog-result-hub {
  border-width: 1px;
  border-radius: var(--r-lg);
}

.blog-topic-card,
.blog-result-card {
  border-width: 1px;
  background: var(--paper);
}


.blog-list-container > .blog-topic-bridge {
  display: none;
}


.blog-cat-heading,
.topic-index-section h2,
.course-grid-section h2 {
  letter-spacing: -0.025em;
}

.clarity-more-row,
.clarity-section-row {
  position: relative;
  z-index: 1;
}

.clarity-more-button,
.clarity-section-button {
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.clarity-more-button[aria-expanded="true"],
.clarity-section-button[aria-expanded="true"] {
  color: var(--ink);
  background: #fff8dc;
  border-color: #d9c77f;
}


.topic-page > .topic-shopping-bridge,
.course-page > .course-shopping-bridge {
  display: none;
}

@media (max-width: 720px) {
  .blog-list-container {
    width: min(100% - 32px, 1040px);
    margin-top: 26px;
    padding: 0;
  }

  .blog-list-title {
    font-size: 32px;
  }

  .blog-list-item {
    border-width: 1px;
    box-shadow: none;
  }

  .blog-list-item-desc {
    -webkit-line-clamp: 1;
  }

  .clarity-section-row {
    margin: 18px 0;
  }
}






.nav-links > li:nth-child(n) {
  display: list-item;
}

.nav-links a {
  white-space: nowrap;
}


.topic-hero {
  background: var(--paper);
  border-color: var(--line);
}

.topic-hero h1,
.tests-hero h1,
.popular-hero h1,
.blog-list-title,
.result-article-title {
  text-wrap: balance;
}

.topic-hero-sub,
.tests-hero > p:last-of-type,
.popular-hero > p:last-of-type {
  max-width: 720px;
}


.hero h1,
.quiz-card,
.quiz-header-emoji,
.result-card,
.result-emoji,
.result-score,
.result-title,
.result-desc,
.result-actions {
  animation: none !important;
}

.hub-grid > .hub-card:first-child::after,
.hub-grid > .hub-card:nth-child(3)::after {
  display: none;
}


.home-promo-strip-compact {
  max-width: 820px;
}

.home-promo-strip-compact .home-promo-strip-links a {
  min-height: 68px;
  padding: 12px 16px;
}

.home-promo-strip-compact .home-promo-strip-title {
  font-size: 14px;
}

.new-quiz-strip {
  padding-top: 4px;
  border-top: 0;
}


.popular-hero-links a,
.tests-hero .popular-hero-links a {
  background: transparent;
  border-color: var(--line);
}

.popular-page .popular-hero-links a[data-clarity-section-link][aria-current="location"] {
  color: var(--ink);
  background: #fff3bd;
  border-color: #e7d889;
}

.clarity-more-button,
.clarity-section-button {
  letter-spacing: -0.01em;
}


.has-clarity-js .play-card-grid:not([data-play-library]):not(.is-clarity-expanded) > .play-card-link:nth-child(n+9):not(.clarity-visible-item),
.has-clarity-js .new-quiz-grid:not(.is-clarity-expanded) > .new-quiz-card:nth-child(n+7):not(.clarity-visible-item),
.has-clarity-js .home-guide-grid:not(.is-clarity-expanded) > .home-guide-card:nth-child(n+4):not(.clarity-visible-item),
.has-clarity-js .home-latest-grid:not(.is-clarity-expanded) > .home-latest-card:nth-child(n+4):not(.clarity-visible-item),
.has-clarity-js .tests-route-grid:not(.is-clarity-expanded) > .tests-route-card:nth-child(n+5):not(.clarity-visible-item),
.has-clarity-js .tests-section:not(#starter-tests) .tests-grid:not(.is-clarity-expanded) > .tests-card:nth-child(n+7):not(.clarity-visible-item),
.has-clarity-js .popular-rank-grid:not(.is-clarity-expanded) > .popular-rank-card:nth-child(n+6):not(.clarity-visible-item),
.has-clarity-js .popular-course-grid:not(.is-clarity-expanded) > .popular-course-card:nth-child(n+6):not(.clarity-visible-item),
.has-clarity-js .blog-list:not(.is-clarity-expanded) > .blog-list-item:nth-child(n+7):not(.clarity-visible-item),
.has-clarity-js .course-card-grid:not(.is-clarity-expanded) > .course-card:nth-child(n+5):not(.clarity-visible-item) {
  display: none;
}

@media (max-width: 720px) {
  .nav-links > li:nth-child(n) {
    display: list-item;
  }

  .popular-page .popular-hero-links {
    flex-wrap: nowrap;
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .popular-page .popular-hero-links::-webkit-scrollbar {
    display: none;
  }

  .popular-page .popular-hero-links a[data-clarity-section-link] {
    display: inline-flex;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .home-promo-strip-compact .home-promo-strip-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-promo-strip-compact .home-promo-strip-links a {
    min-height: 58px;
    align-items: center;
    padding: 8px 6px;
    text-align: center;
  }

  .home-promo-strip-compact .home-promo-strip-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: normal;
    text-overflow: clip;
    white-space: normal;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-promo-strip-compact .home-promo-strip-links small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
  }
}





.tests-page,
.popular-page,
.topic-index-page,
.course-page,
.blog-list-container {
  width: min(var(--page-wide), calc(100% - 40px));
}

.hub-primary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

#play-tool {
  scroll-margin-top: 92px;
}

.hub-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.hub-primary-action:hover,
.hub-primary-action:focus-visible {
  color: var(--paper);
  background: #34363a;
  transform: translateY(-1px);
  outline: 3px solid #f6cf53;
  outline-offset: 2px;
}

.hub-primary-action-secondary {
  color: #4f5156;
  background: var(--paper);
  border-color: var(--line);
}

.hub-primary-action-secondary:hover,
.hub-primary-action-secondary:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.filter-btn,
.blog-cat-chip,
.quiz-card-tag,
.tests-card-badge,
.course-card-kicker,
.quiz-next-kicker {
  min-height: 30px;
  padding: 5px 9px;
  color: #5c5e63;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 750;
}

body .filter-btn[data-category].active {
  color: var(--ink);
  background: #fff3bd;
  border-color: #e7d889;
  box-shadow: none;
}

.popular-course-card [class$="-action-row"] > :is(a, button) {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.popular-course-card [class$="-action-row"] > :first-child {
  background: #fff3bd;
  border-color: #e7d889;
}

.popular-course-card [class$="-action-row"] > :is(a, button):hover,
.popular-course-card [class$="-action-row"] > :is(a, button):focus-visible {
  transform: translateY(-1px);
  background: #fff8dc;
  border-color: #d9c77f;
  box-shadow: none;
  outline: none;
}

.result-share-panel,
.result-share-kit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: none;
}

.result-share-btn,
.result-share-kit-copy-btn,
.result-actions :is(a, button) {
  border-width: 1px;
  border-radius: 11px;
  box-shadow: none;
}

@media (max-width: 720px) {
  .tests-page,
  .popular-page,
  .topic-index-page,
  .course-page,
  .blog-list-container {
    width: min(100% - 24px, var(--page-wide));
  }

  .hub-primary-actions {
    align-items: stretch;
  }

  .hub-primary-action {
    width: 100%;
  }
}


.home-now-pick {
  width: 100%;
  margin: 0 auto 24px;
  padding: 16px;
  background: linear-gradient(135deg, #fffaf0 0%, #f5f7f2 100%);
  border: 1px solid var(--line, #e4e4df);
  border-radius: 18px;
}

.home-now-pick-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.home-now-pick-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  color: var(--ink, #202124);
  background: #fff0ad;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.home-now-pick-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.home-now-pick-head p {
  margin: 4px 0 0;
  color: var(--ink-soft, #686a70);
  font-size: 13px;
  line-height: 1.5;
}

.home-now-pick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.home-now-pick-link {
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: center;
  gap: 4px;
  padding: 13px 15px;
  color: var(--ink, #202124);
  background: rgb(255 255 255 / 86%);
  border: 1px solid #dedfd9;
  border-radius: 13px;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.home-now-pick-link[data-home-season-role="test"] {
  background: #f7f5ff;
}

.home-now-pick-link[data-home-season-role="shopping"] {
  background: #f0f8f3;
}

.home-now-pick-link:hover,
.home-now-pick-link:focus-visible {
  color: var(--ink, #202124);
  background: #fff;
  border-color: #c8c9c2;
  transform: translateY(-1px);
}

.home-now-pick-link:focus-visible {
  outline: 3px solid var(--ink, #202124);
  outline-offset: 3px;
}

.home-now-pick-role {
  color: var(--ink-soft, #686a70);
  font-size: 11px;
  font-weight: 800;
}

.home-now-pick-link strong {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-now-pick-link small {
  overflow: hidden;
  color: var(--ink-soft, #686a70);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .home-now-pick {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 15px;
  }

  .home-now-pick-head {
    gap: 9px;
  }

  .home-now-pick-kicker {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .home-now-pick-head h2 {
    font-size: 16px;
  }

  .home-now-pick-head p,
  .home-now-pick-link small {
    display: none;
  }

  .home-now-pick-links {
    gap: 7px;
    margin-top: 11px;
  }

  .home-now-pick-link {
    min-height: 82px;
    padding: 10px 11px;
    border-radius: 11px;
  }

  .home-now-pick-role {
    font-size: 10px;
  }

  .home-now-pick-link strong {
    font-size: 14px;
    white-space: normal;
  }
}


.shopping-compass-page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.shopping-compass-page .popular-hero {
  overflow: hidden;
  position: relative;
  padding: clamp(28px, 6vw, 58px);
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 217, 61, 0.34), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fffaf0 54%, #f5f3ff 100%);
  border: 1px solid #e7e2d7;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(40, 34, 23, 0.07);
}

.shopping-compass-page .popular-hero h1 {
  max-width: 720px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.shopping-compass-page .popular-hero > p:not(.popular-hero-kicker) {
  max-width: 680px;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.7;
}

.shopping-compass-page .popular-hero-links {
  max-width: 720px;
}

.shopping-compass-page .popular-hero-links a,
.shopping-compass-page .popular-hero-links a:nth-child(n) {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 14px;
  color: #34302a;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #ded9cf;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.shopping-compass-page .popular-hero-links a:first-child {
  color: #171510;
  background: #ffd93d;
  border-color: #ffd93d;
}

.shopping-compass {
  margin-top: 26px;
  padding: clamp(22px, 5vw, 42px);
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(32, 33, 36, 0.06);
}

.shopping-compass-head {
  display: grid;
  gap: 6px;
  max-width: 700px;
}

.shopping-compass-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.shopping-compass-head p {
  margin: 0;
  color: var(--ink-soft, #686a70);
  font-size: 14px;
}

.shopping-compass-questions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.shopping-compass-question {
  margin: 0;
  padding: 18px;
  background: #faf9f6;
  border: 1px solid #e8e5de;
  border-radius: 17px;
}

.shopping-compass-question legend {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 6px;
  color: #2a2824;
  font-size: 15px;
  font-weight: 800;
}

.shopping-compass-question legend span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #2b260f;
  background: #ffd93d;
  border-radius: 50%;
  font-size: 12px;
}

.shopping-compass-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
}

.shopping-compass-options-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shopping-compass-question[data-shopping-question="stage"] .shopping-compass-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shopping-compass-options button {
  min-height: 52px;
  padding: 11px 12px;
  color: #44413b;
  background: #fff;
  border: 1px solid #d9d6ce;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shopping-compass-options button:hover {
  border-color: #aaa59a;
  transform: translateY(-1px);
}

.shopping-compass-options button[aria-pressed="true"] {
  color: #211f1a;
  background: #fff8d6;
  border-color: #d8b500;
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.25);
}

.shopping-compass-options button:focus-visible,
.shopping-directory summary:focus-visible,
.shopping-directory-links a:focus-visible,
.shopping-compass-result-routes a:focus-visible {
  outline: 3px solid #1f1f1f;
  outline-offset: 3px;
}

.shopping-compass-status {
  margin: 15px 2px 0;
  color: var(--ink-soft, #686a70);
  font-size: 13px;
  font-weight: 650;
}

.shopping-compass-result {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  color: #f8f7f2;
  background: linear-gradient(145deg, #202124, #353238);
  border-radius: 20px;
}

.shopping-compass-result-kicker {
  margin: 0 0 8px;
  color: #ffd93d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.shopping-compass-result > h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 5vw, 42px);
  letter-spacing: -0.045em;
}

.shopping-compass-result > p:not(.shopping-compass-result-kicker) {
  color: #d9d8d3;
  line-height: 1.65;
}

.shopping-compass-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.shopping-compass-result-grid > div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.shopping-compass-result-grid h3 {
  margin: 0 0 11px;
  color: #fff;
  font-size: 14px;
}

.shopping-compass-result-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #e8e7e2;
  font-size: 13px;
  line-height: 1.5;
}

.shopping-compass-result-routes {
  display: grid;
  gap: 8px;
}

.shopping-compass-result-routes a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  color: #24221e;
  background: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.shopping-compass-result-routes a::after {
  content: "→";
  color: #7a7468;
}

.shopping-compass-result-status {
  margin-bottom: 0;
  font-size: 12px;
}

.shopping-compass-ad-shell {
  width: min(420px, 100%);
  margin: 64px auto 0;
  padding: 0;
}

.shopping-compass-ad-shell .simsim-ad-slot {
  width: 100%;
  max-width: 420px;
  min-height: 0;
  margin: 0 auto;
}

.shopping-compass-ad-shell .shopping-promo-disclosure {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink-soft, #686a70);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.shopping-compass-page > .popular-section,
.shopping-compass-page > .popular-faq,
.shopping-directory {
  margin-top: 30px;
}

.shopping-compass-page .popular-course-grid,
.shopping-compass-page .popular-rank-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shopping-compass-page .shopping-promo-search-cluster .popular-course-card:nth-of-type(n) {
  display: flex;
}

.shopping-compass-page > .shopping-promo-search-cluster {
  display: block;
}


.shopping-compass-body .smart-next-rail {
  display: none !important;
}

.shopping-directory {
  overflow: clip;
  background: #f7f6f2;
  border: 1px solid #dedbd3;
  border-radius: 20px;
}

.shopping-directory summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.shopping-directory summary::-webkit-details-marker {
  display: none;
}

.shopping-directory summary > span:first-child {
  display: grid;
  gap: 4px;
}

.shopping-directory summary strong {
  font-size: 20px;
}

.shopping-directory summary small,
.shopping-directory summary > span:last-child {
  color: var(--ink-soft, #686a70);
  font-size: 12px;
  font-weight: 700;
}

.shopping-directory[open] summary > span:last-child {
  font-size: 0;
}

.shopping-directory[open] summary > span:last-child::after {
  content: "접기";
  font-size: 12px;
}

.shopping-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

.shopping-directory-group {
  padding: 18px;
  background: #fff;
  border: 1px solid #e3e0d8;
  border-radius: 14px;
}

.shopping-directory-group h3,
.shopping-directory-group p {
  margin: 0;
}

.shopping-directory-group h3 {
  font-size: 16px;
}

.shopping-directory-group p {
  margin-top: 5px;
  color: var(--ink-soft, #686a70);
  font-size: 12px;
  line-height: 1.5;
}

.shopping-directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.shopping-directory-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 10px;
  color: #403d37;
  background: #f7f6f2;
  border: 1px solid #e5e2da;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

@media (max-width: 760px) {
  .shopping-compass-page {
    width: min(100% - 24px, 1040px);
    padding-top: 14px;
  }

  .shopping-compass-page .popular-hero {
    padding: 26px 20px;
    border-radius: 21px;
  }

  .shopping-compass-page .popular-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .shopping-compass-page .popular-hero-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .shopping-compass-page .popular-hero-links a,
  .shopping-compass-page .popular-hero-links a:nth-child(n) {
    justify-content: center;
    text-align: center;
  }

  .shopping-compass {
    padding: 19px 14px;
    border-radius: 20px;
  }

  .shopping-compass-question {
    padding: 15px 12px;
  }

  .shopping-compass-options,
  .shopping-compass-options-compact,
  .shopping-compass-question[data-shopping-question="stage"] .shopping-compass-options {
    grid-template-columns: 1fr 1fr;
  }

  .shopping-compass-result {
    padding: 21px 16px;
  }

  .shopping-compass-result-grid,
  .shopping-directory-grid,
  .shopping-compass-page .popular-course-grid,
  .shopping-compass-page .popular-rank-grid {
    grid-template-columns: 1fr;
  }

  .shopping-directory summary {
    min-height: 72px;
    padding: 16px 18px;
  }

  .shopping-directory-grid {
    padding: 0 10px 10px;
  }
}


.tests-finder {
  max-width: 820px;
  margin-top: 22px;
  padding: 19px;
  text-align: left;
  background: #f7f6f2;
  border: 1px solid var(--line, #e4e4df);
  border-radius: 16px;
}

.tests-finder[hidden],
.tests-finder [hidden] {
  display: none !important;
}

.tests-finder-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.tests-finder-eyebrow {
  color: #75601b;
  font-size: 12px;
  font-weight: 800;
}

.tests-finder-head h2 {
  margin: 0;
  color: var(--ink, #202124);
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.tests-finder-recent {
  margin-top: 14px;
  padding: 12px;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #e4e4df);
  border-radius: 12px;
}

.tests-finder-recent-head {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: baseline;
}

.tests-finder-recent-kicker {
  color: #75601b;
  font-size: 11px;
  font-weight: 800;
}

.tests-finder-recent-head h3 {
  margin: 0;
  color: var(--ink, #202124);
  font-size: 14px;
  letter-spacing: -0.015em;
}

.tests-finder-recent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.tests-finder-recent-item {
  min-width: 0;
}

.tests-finder-recent-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  height: 100%;
  padding: 9px 10px;
  color: var(--ink, #202124);
  background: #faf9f6;
  border: 1px solid #e5e2da;
  border-radius: 10px;
  text-decoration: none;
}

.tests-finder-recent-card:hover {
  color: var(--ink, #202124);
  background: #fffdf5;
  border-color: #d7ca97;
}

.tests-finder-recent-emoji {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft, #f1f1ed);
  border-radius: 9px;
  font-size: 20px;
}

.tests-finder-recent-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tests-finder-recent-title {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tests-finder-recent-meta {
  color: var(--ink-soft, #686a70);
  font-size: 11px;
  font-weight: 650;
}

.tests-finder-form {
  margin-top: 14px;
}

.tests-finder-form > label {
  display: block;
  margin-bottom: 7px;
  color: #4f5156;
  font-size: 12px;
  font-weight: 750;
}

.tests-finder-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: stretch;
}

.tests-finder-search-control input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink, #202124);
  background: var(--paper, #fff);
  border: 1px solid #cecec7;
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
}

.tests-finder-search-control input::placeholder {
  color: #888a8f;
  opacity: 1;
}

.tests-finder button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line, #e4e4df);
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.tests-finder-submit {
  color: var(--paper, #fff);
  background: var(--ink, #202124);
  border-color: var(--ink, #202124) !important;
}

.tests-finder-clear,
.tests-finder-pick,
.tests-finder-more,
.tests-finder-filters button {
  color: #4f5156;
  background: var(--paper, #fff);
}

.tests-finder-search-control input:focus-visible,
.tests-finder button:focus-visible,
.tests-finder-recent-card:focus-visible,
.tests-finder-result:focus-visible {
  outline: 3px solid var(--c-yolk, #f6cf53);
  outline-offset: 2px;
}

.tests-finder button:hover {
  border-color: #c4c4bc;
  transform: translateY(-1px);
}

.tests-finder-submit:hover {
  color: var(--paper, #fff);
  background: #34363a;
  border-color: #34363a !important;
}

.tests-finder-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.tests-finder-filters button {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
}

.tests-finder-filters button[aria-pressed="true"] {
  color: var(--ink, #202124);
  background: #fff3bd;
  border-color: #e7d889;
}

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

.tests-hero .tests-finder-summary p,
.tests-hero .tests-finder-empty {
  margin: 0;
  color: var(--ink-soft, #686a70);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.tests-finder-pick {
  flex: 0 0 auto;
}

.tests-finder-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.tests-finder-result.tests-card {
  height: 100%;
  min-height: 100px;
  padding: 12px;
  text-decoration: none;
}

.tests-finder-result-item {
  min-width: 0;
}

.tests-finder-result .tests-card-title {
  font-size: 14px;
  line-height: 1.35;
}

.tests-finder-result .tests-card-desc {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tests-finder-result .tests-card-badge {
  margin-top: 8px;
}

.tests-finder-empty {
  margin-top: 12px !important;
  padding: 13px;
  text-align: center;
  background: var(--paper, #fff);
  border: 1px dashed #d5d5ce;
  border-radius: 10px;
}

.tests-finder-more {
  width: 100%;
  margin-top: 9px;
}

@media (max-width: 720px) {
  .tests-finder {
    margin-top: 18px;
    padding: 14px;
  }

  .tests-finder-head {
    display: block;
  }

  .tests-finder-head h2 {
    margin-top: 4px;
  }

  .tests-finder-filters {
    flex-wrap: nowrap;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tests-finder-filters::-webkit-scrollbar {
    display: none;
  }

  .tests-finder-filters button {
    flex: 0 0 auto;
  }

  .tests-finder-summary {
    align-items: flex-start;
  }

  .tests-finder-results {
    grid-template-columns: 1fr;
  }

  .tests-finder-recent-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tests-finder-search-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tests-finder-search-control input {
    grid-column: 1 / -1;
  }

  .tests-finder-search-control button {
    width: 100%;
  }

  .tests-finder-summary {
    display: grid;
  }

  .tests-finder-pick {
    width: 100%;
  }
}


.nav-links > li.nav-install-item {
  display: none;
}

@media (max-width: 980px) {
  .nav-links > li.nav-install-item[data-pwa-install-ready="true"] {
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  }

  .nav-install-button,
  .nav-install-dismiss {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .nav-install-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    text-align: left;
    background: var(--surface-soft, #f1f1ed);
  }

  .nav-install-button:hover,
  .nav-install-button:focus-visible,
  .nav-install-dismiss:hover,
  .nav-install-dismiss:focus-visible {
    color: var(--ink);
    background: #e9e9e3;
    outline: 3px solid var(--c-tomato, #ff6b6b);
    outline-offset: 2px;
  }

  .nav-install-button:disabled {
    cursor: wait;
    opacity: 0.68;
  }

  .nav-install-icon {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: var(--paper, #fff);
    font-size: 19px;
    line-height: 1;
  }

  .nav-install-help {
    margin-top: 7px;
    padding: 10px;
    border: 1px solid var(--line, #e4e4df);
    border-radius: 9px;
    background: var(--paper, #fff);
  }

  .nav-install-help-copy {
    margin: 0 0 8px;
    color: #55575c;
    font-size: 13px;
    line-height: 1.5;
  }

  .nav-install-dismiss {
    padding: 9px 12px;
    background: transparent;
    border: 1px solid var(--line, #e4e4df);
    font-size: 13px;
  }

  .nav-install-status {
    display: block;
    color: #55575c;
    font-size: 13px;
    line-height: 1.5;
  }

  .nav-install-status:empty {
    display: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto !important;
  }

  :where(
    .analyzing-emoji,
    .analyzing-fill,
    .quiz-card:active::after,
    .quiz-card:hover .quiz-card-emoji,
    .option-btn.selected,
    .option-btn.correct,
    .option-btn.wrong,
    .btn-start,
    .question-card,
    .realtime-area.go,
    .quiz-header-emoji,
    .hero h1,
    .confetti-particle,
    .skeleton,
    .candidate-card.selected-win,
    .candidate-card.selected-lose,
    .result-crown,
    .mbti-container .result-section,
    .mbti-container .loading-spinner
  ) {
    animation: none !important;
  }

  .result-analyzing-card .analyzing-fill {
    width: 100% !important;
  }

  :where(
    .progress-wrap .progress-fill,
    .worldcup-progress-bar .progress-fill,
    .btn-mid-continue,
    .quiz-card,
    .option-btn,
    .filter-btn,
    .realtime-area,
    .color-cell,
    .btn-start,
    .btn-share,
    .btn-save-image,
    .btn-retry,
    .btn-home,
    .result-share-kit-copy-btn,
    .skip-link,
    .toast,
    .simsim-toast,
    .candidate-card,
    .mbti-container .sub-score-bar-fill,
    .mbti-container .loading-progress-fill,
    .mbti-container .mbti-select,
    .mbti-container .rel-chip,
    .mbti-container .btn-submit-compat,
    .mbti-container .btn-new-test,
    .worldcup-matchup-container .candidate-img-wrapper img,
    .round-card-content
  ) {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  :where(
    .btn-mid-continue,
    .quiz-card,
    .option-btn,
    .filter-btn,
    .color-cell,
    .btn-start,
    .btn-share,
    .btn-save-image,
    .btn-retry,
    .btn-home,
    .result-share-kit-copy-btn,
    .candidate-card
  ):is(:hover, :focus-visible, :active) {
    transform: none !important;
  }

  :where(
    .mbti-container .mbti-select:focus,
    .mbti-container .rel-chip:hover,
    .mbti-container .rel-chip.selected,
    .mbti-container .btn-submit-compat:hover,
    .mbti-container .btn-submit-compat:active,
    .mbti-container .btn-new-test:hover,
    .candidate-card:hover .candidate-img-wrapper img,
    .round-option-card input[type="radio"]:checked + .round-card-content
  ) {
    transform: none !important;
  }
}

