/* Public page introductions. Quiz and major-selection controls retain their existing styles and logic. */
.bb-page, .zy-page, .policy-page { margin: 0; background: #fdfcf9; color: #26283b; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; }
.bb-page *, .bb-page *::before, .bb-page *::after { box-sizing: border-box; }
.bb-page .page { max-width: 880px; margin: auto; padding: 0 24px 56px; }
.bb-hero { padding: 36px; margin: 30px 0; border: 1px solid #dceaf5; border-radius: 22px; background: linear-gradient(120deg, #edf7ff, #fff5f8); }
.bb-hero-eyebrow { color: #b92951; font-size: 12px; letter-spacing: .08em; }
.bb-hero-title { margin: 14px 0; font-size: 34px; font-weight: 600; line-height: 1.4; }
.bb-hero-title .accent { color: #247dbc; }
.bb-hero-sub { color: #6a6e7a; font-size: 15px; line-height: 1.8; max-width: 560px; }
.bb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bb-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: #26283b; border: 1px solid #e0e5e8; padding: 28px; border-radius: 14px; background: #fff; }
.bb-card:hover { border-color: #80b3d8; box-shadow: 0 12px 30px #2345640b; }
.bb-card:not(.bb-card-coming) { border-top: 3px solid #4aa5eb; }
.bb-card:not(.bb-card-coming):nth-child(2) { border-top-color: #d63864; }
.bb-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bb-card-emoji { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: #edf6fd; font-size: 26px; }
.bb-card-name { font-size: 19px; font-weight: 600; line-height: 1.5; }
.bb-card-desc { color: #6a6e7a; font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.bb-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bb-tag { border-radius: 5px; background: #f1f5f7; padding: 4px 8px; color: #5a6b7c; font-size: 11px; }
.bb-card-cta { color: #247dbc; font-size: 14px; font-weight: 500; margin-top: auto; }
.bb-card-coming { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 20px 24px; background: transparent; border-style: dashed; }
.bb-coming-emoji { font-size: 22px; }
.bb-coming-text { font-size: 14px; }
.bb-coming-sub { color: #6a6e7a; font-size: 12px; }
.bb-app-cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; border-top: 1px solid #e7e8e8; padding-top: 26px; color: #26283b; text-decoration: none; }
.bb-app-cta-icon { width: 48px; height: 48px; flex-shrink: 0; }
.bb-app-cta-icon img { display: block; width: 100%; height: 100%; border-radius: 12px; }
.bb-app-cta-body { flex: 1; }
.bb-app-cta-title { font-size: 14px; font-weight: 500; line-height: 1.7; }
.bb-app-cta-desc { margin-top: 5px; font-size: 12px; line-height: 1.7; color: #6a6e7a; }
.bb-app-cta-btn { flex-shrink: 0; padding: 10px 16px; background: #247dbc; color: #fff; border-radius: 8px; font-size: 13px; }
.bb-page a:focus-visible { outline: 3px solid #247dbc; outline-offset: 4px; }
/* Challenge: keep the game atmosphere, with a shorter, readable introduction. */
.ct-page { --ct-bg: #181d30; --ct-bg-soft: #232a40; --ct-dim: #bcc5d8; }
.ct-page .page-ct { background-image: none; }
.ct-page .ct-glow { opacity: .35; }
.ct-page .ct-intro { min-height: calc(100svh - 96px); padding: 38px 0; }
.ct-page .ct-intro-chat { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 380px; margin-bottom: 28px; gap: 8px; }
.ct-page .ct-chat-bubble { animation: none; opacity: 1; transform: none; padding: 9px 13px; box-shadow: none; border-radius: 10px; border-color: #465270; background: #232a40; }
.ct-page .ct-chat-avatar { font-size: 16px; }
.ct-page .ct-chat-text { color: #d4e7fa; background: none; font-size: 14px; }
.ct-page .ct-intro-title-wrap, .ct-page .ct-intro-card { animation: none; opacity: 1; transform: none; }
.ct-page .ct-intro-title { font-size: 30px; font-weight: 600; letter-spacing: 0; line-height: 1.5; text-shadow: none; }
.ct-page .ct-title-accent { color: #84bced; background: none; }
.ct-page .ct-intro-sub { color: #bcc5d8; font-size: 14px; line-height: 1.8; }
.ct-page .ct-intro-card { background: #242d4490; border: 1px solid #465270; box-shadow: 0 18px 50px #11192b30; padding: 24px; border-radius: 20px; }
.ct-page .ct-intro-badges { gap: 12px; }
.ct-page .ct-badge, .ct-page .ct-badge-hot { color: #bcc5d8; border-color: #465270; background: transparent; box-shadow: none; }
.ct-page .ct-intro-stat { display: block; margin: 20px auto; padding: 0; background: none; border: 0; }
.ct-page .ct-stat-desc { color: #bcc5d8; font-size: 13px; }
.ct-page .ct-start-btn { border-radius: 10px; background: #247dbc; box-shadow: none; }
/* Major explorer: preserve every tier, filter and detail while making the opening simpler. */
.zy-page { --zy-ink: #26283b; --zy-ink-soft: #6a6e7a; --zy-gold: #247dbc; --zy-gold-soft: #6a6e7a; --zy-gold-line: #e0e5e8; --zy-parch-top: #fdfcf9; --zy-parch-mid: #fdfcf9; --zy-parch-low: #fdfcf9; --zy-card-bg: #fff; --zy-card-bg2: #f5f7f9; --zy-card-border: #e0e5e8; --zy-search-bg: #fff; }
.zy-page .page-zy { max-width: 720px; padding-top: 14px; background: #fdfcf9; }
.zy-page .zy-hero { margin: 8px 24px 20px; padding: 28px; text-align: left; background: linear-gradient(120deg, #edf7ff, #fff6f9); border: 1px solid #dceaf5; border-radius: 20px; box-shadow: none; }
.zy-page .zy-hero-eyebrow { letter-spacing: .08em; color: #b92951; }
.zy-page .zy-hero-title { font-size: 27px; font-weight: 600; line-height: 1.5; margin: 14px 0; }
.zy-page .zy-hero-sub { line-height: 1.9; font-size: 14px; }
.zy-page .zy-hero-tier-chips { justify-content: flex-start; gap: 7px; margin-top: 22px; }
.zy-page .zy-tier-chip { background: #edf3f8; color: #38566e; border: 1px solid #dbe5ec; box-shadow: none; border-radius: 8px; }
.zy-page .zy-tier-chip-en { opacity: 1; }
.zy-page .zy-search-wrap { top: 72px; background: #fdfcf9; padding-inline: 24px; }
.zy-page .zy-search { border-radius: 10px; box-shadow: none; }
.zy-page .zy-search input { min-width: 0; }
.zy-page .zy-tier-bar, .zy-page .zy-list { padding-inline: 24px; }
.zy-page .zy-filter-btn.active { background: #247dbc; box-shadow: none; }
.zy-page .zy-app-cta { margin-inline: 24px; background: #f1f5f7; border-color: #e0e5e8; box-shadow: none; }
/* Policies: only reading layout and the introduction change. */
.policy-page .container { max-width: 880px; background: #fdfcf9; box-shadow: none; padding: 36px 24px; }
.policy-page header { padding: 12px 0 30px; margin-bottom: 26px; text-align: left; border-color: #e7e8e8; }
.policy-page h1 { font-size: 29px; color: #26283b; font-weight: 600; margin-bottom: 12px; }
.policy-eyebrow { font-size: 12px; color: #b92951; margin-bottom: 16px; }
.policy-intro { color: #6a6e7a; font-size: 14px; line-height: 1.8; }
.policy-page .tabs { box-shadow: none; border: 1px solid #e0e5e8; background: #fff; border-radius: 10px; }
.policy-page .tab { padding-block: 13px; font-size: 14px; }
.policy-page .tab.active { color: #247dbc; border-bottom-color: #247dbc; background: #edf3f8; }
.policy-page .content-text { color: #3a3f4c; font-size: 14px; line-height: 2; }
@media (max-width: 640px) {
 .bb-page .page { padding-inline: 20px; }
 .bb-hero { padding: 28px 22px; margin-block: 24px; }
 .bb-hero-title { font-size: 29px; }
 .bb-hero-sub { font-size: 14px; }
 .bb-list { grid-template-columns: 1fr; gap: 16px; }
 .bb-card { padding: 22px; }
 .bb-card-coming { gap: 8px; }
 .bb-card-head { margin-bottom: 14px; }
 .bb-card-name { font-size: 18px; }
 .bb-app-cta { gap: 10px; align-items: flex-start; }
 .bb-app-cta-title { font-size: 13px; }
 .bb-app-cta-desc { font-size: 11px; }
 .bb-app-cta-btn { padding-inline: 12px; }
 .ct-page .ct-intro-title { font-size: 28px; }
 .zy-page .zy-search-wrap { top: 64px; }
 .zy-page .zy-hero { margin-inline: 20px; }
 .zy-page .zy-hero { padding: 24px 20px; }
 .zy-page .zy-search-wrap, .zy-page .zy-tier-bar, .zy-page .zy-list { padding-inline: 20px; }
 .zy-page .zy-hero-title { font-size: 23px; }
 .policy-page .container { padding: 24px 20px; }
 .policy-page h1 { font-size: 25px; }
}
