:root {
  color-scheme: light;
  --ink: #1E293B;
  --muted: #64748B;
  --paper: #F8FAFC;
  --panel: #ffffff;
  --line: #E2E8F0;
  --lime: #10B981;
  --mint: #10B981;
  --coral: #10B981;
  --yellow: #F3C330;
  --blue: #0A3D62;
  --cta: #F3C330;
  --cta-hover: #D4A82B;
  --success-bg: #ECFDF5;
  --danger: #EF4444;
  --hero-bg: #1E293B;
  --shadow: 0 14px 36px rgba(10, 61, 98, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
}

button,
a {
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  background: transparent;
  text-align: left;
}

.brand-mark,
.brand-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-mark {
  background: var(--blue);
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.brand-logo {
  display: block;
}

.brand strong {
  display: block;
}

.brand strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  gap: 3px;
  align-content: center;
  align-items: center;
  justify-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0A3D62;
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle span {
  display: block;
  grid-column: 1;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  display: none;
  min-width: 168px;
  padding: 8px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 16px 34px rgba(10, 61, 98, 0.14);
}

.site-header.is-menu-open .site-nav {
  display: grid;
  gap: 8px;
}

.site-nav button,
.site-nav a,
.footer-links button,
.footer-links a {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav button:active,
.site-nav a:active,
.footer-links button:active,
.footer-links a:active {
  background: rgba(10, 61, 98, 0.08);
}

.site-nav a,
.site-nav button {
  width: 100%;
  min-height: 42px;
  justify-content: start;
  padding: 0 14px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #E2E8F0;
  color: #0A3D62;
  text-align: left;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav a:active,
.site-nav button:active {
  border-color: #0A3D62;
  background: #0A3D62;
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(10, 61, 98, 0.12);
}

.app-shell {
  min-height: calc(100vh - 178px);
  background: var(--paper);
}

.screen {
  display: none;
  min-height: calc(100vh - 178px);
  padding: 16px 14px 26px;
}

#home-screen {
  padding-top: 0;
}

.screen.active {
  display: block;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 196px;
  margin-right: -14px;
  margin-left: -14px;
  padding: 20px 20px 18px;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--hero-bg);
  background-size: 30px 30px, 30px 30px, auto, auto;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: var(--shadow);
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -38px;
  top: 16px;
  display: block;
  width: 190px;
  height: 120px;
  border: 1px solid rgba(243, 195, 48, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 42%, rgba(243, 195, 48, 0.18) 43%, rgba(243, 195, 48, 0.18) 45%, transparent 46%),
    linear-gradient(20deg, transparent 46%, rgba(255, 255, 255, 0.1) 47%, rgba(255, 255, 255, 0.1) 49%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
  animation: financeLineGlow 7s ease-in-out infinite;
}

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

.hero__topline,
.question-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 195, 48, 0.16);
  color: var(--cta);
  font-size: 12px;
  font-weight: 800;
}

.hero__topline {
  min-height: auto;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(243, 195, 48, 0.15);
  color: #F3C330;
  font-size: 12px;
  font-weight: 500;
}

.label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 11px 0 8px;
  max-width: 420px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: none;
  -webkit-text-stroke: 0 transparent;
  filter: none;
}

.hero p {
  max-width: 360px;
  margin: 0;
  color: #BCCCDC;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
}

.hero__actions,
.result-actions,
.quiz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.hero__trust {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.hero__trust span {
  display: inline-flex;
  gap: 5px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(203, 213, 225, 0.28);
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.7);
  color: #E2E8F0;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero__trust svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.primary-btn {
  background: var(--cta);
  color: #1E293B;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(10, 61, 98, 0.08);
}

.primary-btn:hover {
  background: var(--cta-hover);
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 14px 30px rgba(10, 61, 98, 0.14);
}

.secondary-btn {
  background: #E2E8F0;
  border: 1px solid #D7DEE8;
  color: var(--blue);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.ghost-btn:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.daily-card,
.result-hero,
.question-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.05);
}

.intro-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.entry-module {
  margin-top: 18px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.entry-card {
  display: grid;
  min-height: 76px;
  place-items: center;
  gap: 6px;
  padding: 10px 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.entry-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.05);
}

.entry-card span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tint) 72%, #FFFFFF);
  color: var(--icon-color, var(--blue));
  font-size: 20px;
  font-weight: 900;
}

.entry-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-card strong {
  font-size: 12px;
  color: #1E293B;
  font-weight: 500;
}

.intro-panel span,
.page-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.about-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.intro-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.35;
}

.intro-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.daily-card {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
  align-items: center;
  background: #ECFDF5;
}

.daily-card .label {
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #065F46;
}

.daily-card h2 {
  color: #1E293B;
}

.daily-card p {
  color: #64748B;
}

.daily-card h2,
.section-heading h2,
.top-bar h1 {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.daily-card p,
.section-heading span,
.category-card p,
.result-hero p,
.review-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.icon-btn,
.plain-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #D1FAE5;
  color: var(--lime);
  font-size: 22px;
  font-weight: 800;
}

.daily-card .icon-btn:hover {
  background: #A7F3D0;
}

.section-block {
  margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.section-heading h2 {
  color: #1E293B;
}

.section-heading span {
  color: #64748B;
}

.category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: auto;
  column-gap: 9px;
  row-gap: 5px;
  padding: 10px;
  border: 1px solid #D7DEE8;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.04);
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.category-card:hover {
  border-color: rgba(10, 61, 98, 0.26);
  box-shadow: 0 16px 34px rgba(10, 61, 98, 0.08);
  transform: translateY(-1px) scale(0.995);
}

.category-card strong,
.category-card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
  margin: 0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.static-page .category-card p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
}

.category-card span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tint) 72%, #FFFFFF);
  color: var(--icon-color, var(--blue));
  font-size: 18px;
}

.category-card p,
.category-card-footer {
  grid-column: 1 / -1;
}

.category-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.category-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #E6F0F8;
  color: #0A3D62;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.category-card small {
  color: #64748B;
  font-size: 11px;
  font-weight: 500;
}

.category-card b {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0 9px;
  border-radius: 9px;
  background: #0A3D62;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.stats-row div,
.result-detail div {
  padding: 15px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.stats-row strong,
.result-detail strong {
  display: block;
  font-size: 18px;
}

.stats-row span,
.result-detail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.top-bar,
.quiz-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.top-bar h1 {
  margin: 0;
  font-size: 22px;
}

.category-grid {
  display: grid;
  gap: 12px;
}

.quiz-header {
  grid-template-columns: 46px 1fr 48px;
}

.quiz-header span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 4px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.progress-fill {
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  transition: width 0.2s ease;
}

.quiz-header strong {
  justify-self: end;
  font-size: 14px;
}

.question-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.question-card h2 {
  margin: 18px 0 20px;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.option-btn {
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  line-height: 1.45;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.option-btn.selected {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.option-btn:active,
.category-card:active,
.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active {
  transform: scale(0.98);
}

.quiz-actions {
  position: sticky;
  bottom: 0;
  padding: 12px 0 0;
  background: linear-gradient(transparent, var(--paper) 35%);
}

.result-hero {
  text-align: center;
}

.result-hero span {
  color: var(--muted);
  font-weight: 800;
}

.result-hero strong {
  display: block;
  margin-top: 8px;
  font-size: 70px;
  line-height: 1;
}

.result-hero h2 {
  margin: 8px 0;
  font-size: 24px;
}

.result-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-item {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.review-item h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.review-item .answer {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--lime);
}

.review-item.wrong {
  border-color: rgba(239, 68, 68, 0.38);
}

.site-footer {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 16px 14px 18px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  text-align: center;
}

.footer-simple-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  color: #64748B;
  font-size: 12px;
  line-height: 1.6;
}

.footer-simple-links a {
  color: #64748B;
}

.footer-simple-links a:hover {
  color: #0A3D62;
}

.footer-simple-links a + a::before {
  content: "|";
  margin: 0 7px;
  color: #94A3B8;
}

.site-footer p {
  margin: 0;
  color: #64748B;
  font-size: 12px;
  line-height: 1.6;
}

.seo-question-list,
.sitemap-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.seo-question-list a,
.sitemap-list a {
  display: grid;
  align-content: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.seo-question-list a:hover {
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.05);
}

.seo-question-list a > span:not(.test-meta) {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.seo-question-list a strong,
.seo-question-list a h3 {
  display: block;
  min-height: auto;
  margin: 0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.test-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.seo-question-list a em,
.sitemap-list a .test-meta em {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  margin-top: 4px;
  padding: 0 8px;
  border: 1px solid rgba(10, 61, 98, 0.16);
  border-radius: 999px;
  background: #F8FAFC;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.seo-question-list a p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(10, 61, 98, 0.18);
  border-radius: 999px;
  background: #E6F0F8;
  color: #0A3D62;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(10, 61, 98, 0.04);
}

.text-link:hover {
  border-color: rgba(10, 61, 98, 0.28);
  background: #DCEBF6;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.content-info-section {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 61, 98, 0.04);
}

.content-info-section h2 {
  margin: 8px 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.content-info-section p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.content-info-section .last-updated {
  margin: -2px 0 12px;
  color: #0A3D62;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

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

.about-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  padding-left: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.about-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0A3D62;
  content: "";
}

.faq-section {
  display: grid;
  gap: 8px;
}

.faq-section details {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFC;
}

.faq-section summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.faq-section details p {
  margin-top: 8px;
}

.static-page {
  display: block;
  min-height: calc(100vh - 226px);
  padding: 20px 16px 30px;
}

.static-page h1 {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.static-page p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.category-index-page {
  padding-top: 0;
}

.category-page {
  padding-top: 0;
}

.sitemap-page {
  padding-top: 0;
}

.category-index-hero {
  position: relative;
  overflow: hidden;
  margin: 0 -16px 16px;
  padding: 20px 20px 18px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #1E293B;
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: var(--shadow);
  text-align: center;
}

.category-detail-hero {
  margin-bottom: 22px;
}

.category-index-hero::after {
  content: "";
  position: absolute;
  right: -38px;
  top: 14px;
  width: 190px;
  height: 120px;
  border: 1px solid rgba(243, 195, 48, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 42%, rgba(243, 195, 48, 0.18) 43%, rgba(243, 195, 48, 0.18) 45%, transparent 46%),
    linear-gradient(20deg, transparent 46%, rgba(255, 255, 255, 0.1) 47%, rgba(255, 255, 255, 0.1) 49%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
  animation: financeLineGlow 7s ease-in-out infinite;
}

.category-index-hero > * {
  position: relative;
  z-index: 1;
}

.category-index-hero .breadcrumb {
  margin-bottom: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  font-size: 11px;
}

.category-index-hero .breadcrumb a {
  color: #FFFFFF;
}

.category-index-hero .page-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: auto;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(243, 195, 48, 0.15);
  color: #F3C330;
  font-size: 14px;
  font-weight: 500;
}

.category-index-hero h1 {
  margin: 10px 0 8px;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.category-index-hero p {
  margin: 0;
  color: #BCCCDC;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.category-hero-metrics,
.category-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 14px;
  margin-right: auto;
  margin-left: auto;
  max-width: 430px;
}

.category-hero-metrics span,
.category-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.category-hero-metrics span {
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(30, 41, 59, 0.7);
  color: #E2E8F0;
  font-weight: 500;
}

.category-hero-tags span {
  border: 1px solid rgba(243, 195, 48, 0.18);
  background: rgba(243, 195, 48, 0.12);
  color: #F3C330;
  font-weight: 500;
}

.category-index-hero .category-hero-samples {
  margin-top: 12px;
  color: #CBD5E1;
  font-size: 12px;
  text-align: center;
}

@keyframes financeLineGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(0);
  }

  50% {
    opacity: 0.92;
    transform: translateX(-4px);
  }
}

.category-trust {
  margin: 12px 0 0;
  color: #64748B;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.seo-lead {
  max-width: 42rem;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 1px 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 6px;
  color: #CBD5E1;
}

.question-page .question-tag {
  margin-top: 18px;
}

.static-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style-position: inside;
}

.static-options li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.interactive-options li {
  padding: 0;
  overflow: hidden;
}

.interactive-options button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-weight: 700;
}

.answer-link-options a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-weight: 700;
}

.answer-link-options a span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #E2E8F0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.answer-link-options a strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
}

.interactive-options button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #E2E8F0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.interactive-options button strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.interactive-options button.selected {
  border-color: rgba(10, 61, 98, 0.34);
  background: #F8FAFC;
  color: var(--blue);
}

.interactive-options button.selected span {
  background: #E2E8F0;
  color: var(--blue);
}

.interactive-options button.correct {
  border-color: rgba(16, 185, 129, 0.42);
  background: var(--success-bg);
  color: var(--lime);
}

.interactive-options button.correct span {
  background: #D1FAE5;
  color: var(--lime);
}

.interactive-options button.wrong {
  border-color: rgba(239, 68, 68, 0.35);
  background: #FEF2F2;
  color: var(--danger);
}

.interactive-options button.wrong span {
  background: #FEE2E2;
  color: var(--danger);
}

.static-options li.is-answer {
  border-color: rgba(16, 185, 129, 0.42);
  background: var(--success-bg);
  color: var(--lime);
}

.answer-panel {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  background: #ffffff;
}

.answer-panel summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  list-style-position: inside;
}

.answer-panel.locked {
  opacity: 0.72;
}

.answer-panel.locked summary {
  pointer-events: none;
  color: var(--muted);
  cursor: not-allowed;
}

.answer-panel[open] summary {
  margin-bottom: 12px;
}

.content-section {
  margin: 22px 0;
}

.content-section h2 {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.answer-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.answer-panel strong {
  display: block;
  margin: 5px 0 7px;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.answer-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.primary-link {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.secondary-link {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.test-cover {
  display: none;
  position: relative;
  overflow: hidden;
  margin: 0 -16px 16px;
  padding: 20px 20px 18px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #1E293B;
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: var(--shadow);
}

.test-breadcrumb {
  display: flex;
  width: auto;
  margin: 0 -16px;
  padding: 9px 16px;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: #E2E8F0;
  border-radius: 0;
  background: #FFFFFF;
  overflow-x: auto;
  white-space: nowrap;
}

.test-breadcrumb::-webkit-scrollbar {
  display: none;
}

.test-cover.active {
  display: block;
}

.test-cover::after {
  content: "";
  position: absolute;
  right: -38px;
  top: 16px;
  width: 190px;
  height: 120px;
  border: 1px solid rgba(243, 195, 48, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 42%, rgba(243, 195, 48, 0.18) 43%, rgba(243, 195, 48, 0.18) 45%, transparent 46%),
    linear-gradient(20deg, transparent 46%, rgba(255, 255, 255, 0.1) 47%, rgba(255, 255, 255, 0.1) 49%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
  animation: financeLineGlow 7s ease-in-out infinite;
}

.test-cover > * {
  position: relative;
  z-index: 1;
}

.test-cover {
  text-align: center;
}

.test-page {
  padding-top: 0;
}

.test-cover .breadcrumb {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

.test-cover .breadcrumb {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.test-cover .breadcrumb a {
  color: #FFFFFF;
}

.test-cover .page-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: auto;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(243, 195, 48, 0.15);
  color: #F3C330;
  font-size: 12px;
  font-weight: 500;
}

.test-cover h1 {
  margin: 10px 0 8px;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.test-cover p {
  margin: 0;
  color: #BCCCDC;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.test-cover-metrics {
  justify-content: center;
}

.test-cover-points {
  text-align: left;
}

.test-cover .primary-btn {
  margin-right: auto;
  margin-left: auto;
}

.test-cover-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.test-cover-metrics span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.7);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 500;
}

.test-cover-points {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
}

.test-cover-points span {
  display: block;
  padding-left: 10px;
  border-left: 2px solid rgba(243, 195, 48, 0.45);
  color: #CBD5E1;
  font-size: 11px;
  line-height: 1.45;
}

.takeaway-section {
  margin: 18px 0 22px;
}

.takeaway-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.takeaway-list article {
  padding: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.04);
}

.takeaway-list strong {
  display: block;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.takeaway-list p {
  margin: 6px 0 0;
  color: #64748B;
  font-size: 13px;
  line-height: 1.65;
}

.question-preview-section {
  margin: 18px 0 22px;
}

.question-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.question-preview-list article {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.04);
}

.question-preview-list span {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 24px;
  align-items: center;
  margin-bottom: 0;
  padding: 0 8px;
  border-radius: 999px;
  background: #E6F0F8;
  color: #0A3D62;
  font-size: 12px;
  font-weight: 600;
}

.question-preview-list strong {
  display: block;
  min-width: 0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.why-test-section {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.04);
}

.why-test-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.why-test-list details {
  padding: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #F8FAFC;
  box-shadow: none;
}

.why-test-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.why-test-list p {
  margin: 8px 0 0;
  color: #64748B;
  font-size: 13px;
  line-height: 1.65;
}

.test-stage {
  display: none;
}

.test-stage.active {
  display: block;
}

.test-stage,
.test-question-card,
.test-result-wrap {
  scroll-margin-top: 74px;
}

.test-progress {
  display: block;
  margin: -4px 0 10px;
}

.answer-page-panel {
  display: block;
}

.sitemap-list a span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.sitemap-list a strong {
  display: block;
  min-height: auto;
  margin: 0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.static-page .sitemap-list a p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.test-question-list {
  display: grid;
  gap: 16px;
}

.test-question-card {
  display: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.04);
}

.test-question-card.active {
  display: block;
}

.test-question-heading {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.test-question-heading > span {
  flex: 0 0 auto;
  padding-top: 1px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.test-question-title {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.test-submit-bar {
  display: none;
  position: sticky;
  bottom: 0;
  gap: 8px;
  padding-top: 12px;
  background: linear-gradient(transparent, var(--paper) 35%);
}

.test-submit-bar.active {
  display: grid;
}

.test-submit-bar p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.test-result-wrap {
  display: none;
}

.test-result-wrap.active {
  display: block;
}

.test-result-screen {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(10, 61, 98, 0.07), transparent 11rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  text-align: center;
  box-shadow: 0 18px 44px rgba(10, 61, 98, 0.08);
}

.result-title {
  display: block;
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.result-score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 10px;
  color: var(--blue);
}

.result-score-badge strong {
  font-size: 54px;
  line-height: 0.95;
}

.result-score-badge span {
  font-size: 13px;
  font-weight: 600;
}

.test-result-screen p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.share-card {
  margin: 14px 0;
  padding: 12px;
  border: 1px dashed rgba(10, 61, 98, 0.28);
  border-radius: 12px;
  background: #F8FAFC;
  text-align: left;
}

.viral-share-module {
  margin: 16px 0 14px;
  padding: 15px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(16, 185, 129, 0.14), transparent 8rem),
    linear-gradient(180deg, #ECFDF5, #F8FAFC);
  box-shadow: 0 14px 34px rgba(10, 61, 98, 0.05);
  text-align: left;
}

.viral-share-title {
  display: block;
  margin: 6px 0 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.viral-share-module p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.share-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.share-card strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.share-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}

.share-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(10, 61, 98, 0.04);
}

.share-platforms a span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.related-quiz-module {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(10, 61, 98, 0.05);
}

.related-quiz-module > div:first-child > strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.related-quiz-module > div:first-child > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.related-quiz-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.related-quiz-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #F8FAFC;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.related-quiz-list a:hover,
.related-quiz-list a:active {
  border-color: rgba(10, 61, 98, 0.28);
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.06);
  transform: translateY(-1px);
}

.related-quiz-list span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.related-quiz-list strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.related-quiz-list small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
}

.related-quiz-list em {
  flex: 0 0 auto;
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #0A3D62;
  color: #FFFFFF;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.question-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.question-nav button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 481px) {
  body {
    padding: 0;
  }

  .site-shell {
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
  }

  .app-shell {
    min-height: calc(100vh - 178px);
  }

  .screen {
    min-height: calc(100vh - 178px);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 25px;
  }

  .question-card {
    min-height: 520px;
  }

  .question-card h2 {
    font-size: 22px;
  }
}
