@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&display=swap');

:root {
  --blue: #263e91;
  --deep: #18275e;
  --sky: #4d96da;
  --gold: #e7bd60;
  --ink: #26335a;
  --muted: #687793;
  --line: #e0e6f0;
  --danger: #b33048;
  --ok: #22745a;
  --shadow: 0 16px 45px rgba(35, 60, 109, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: #f8faff; font: 14px/1.75 'Prompt', Tahoma, sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3279c6; outline-offset: 5px; }
::selection { background: #cce5ff; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 100; padding: 12px 20px; background: white; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { transform: none; }
.sky-backdrop { position: absolute; top: 0; left: 0; right: 0; height: 990px; background: url('../images/tein-storybook-world-v3.webp') center top / cover no-repeat; pointer-events: none; z-index: -1; }
.sky-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(248,250,255,.12) 51%, #f8faff 94%); }
.site-header { position: relative; z-index: 20; width: min(1060px, calc(100% - 64px)); margin: 24px auto 0; }
.mobile-brand, .nav-toggle { display: none; }
.nav { display: grid; grid-template-columns: 1fr 1.12fr 1.3fr 1.12fr 1fr; min-height: 80px; align-items: stretch; border: 1px solid #6e8ac4; border-radius: 13px; background: linear-gradient(180deg, #4a79bd, #2a408d 80%); box-shadow: 0 7px 0 rgba(31,57,117,.12), 0 12px 32px rgba(18,42,100,.18), inset 0 1px 0 #ffffff60; }
.nav-link { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; min-height: 78px; color: #fff9df; transition: background .2s; }
.nav-link:first-child { border-radius: 12px 0 0 12px; }
.nav-link:last-child { border-radius: 0 12px 12px 0; }
.nav-link strong { font-weight: 600; font-size: 18px; text-shadow: 0 2px 3px #1c3063; }
.nav-link small { color: #d4e4ff; font: 9px/1.5 'Prompt', sans-serif; letter-spacing: 1.8px; margin-top: 1px; }
.nav-link:hover, .nav-link.active { background: linear-gradient(180deg, #4969ab66, #24357577); }
.nav-link.active::after { content: '✦'; position: absolute; bottom: 4px; font-size: 10px; line-height: 1; color: #ffdc80; }
.nav-download { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: -13px 0 -21px; border: 2px solid #fae3a6; border-bottom-color: #ad8232; border-radius: 10px 10px 35px 35px; background: linear-gradient(180deg, #fff9c7, #f4d679 66%, #deb357); color: #23306d; box-shadow: 0 5px 13px #132c7150, inset 0 0 0 3px #ffffff50; transition: filter .2s; }
.nav-download:hover { filter: brightness(1.08); }
.nav-download>span { font-size: 24px; line-height: 1; margin-bottom: 3px; }
.nav-download strong { font: 800 23px/1.1 Georgia, serif; letter-spacing: .7px; }
.nav-download small { font-size: 13px; font-weight: 600; margin-top: 2px; }
.hero { min-height: 570px; padding: 69px 20px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-kicker { color: #fff9de; font-size: 10px; font-weight: 500; letter-spacing: 3px; display: flex; align-items: center; gap: 16px; text-shadow: 0 1px 5px #2663a3; margin-bottom: 5px; }
.hero-kicker span { display: block; width: 32px; height: 1px; background: #fffbd880; }
.hero-logo { width: min(480px, 75vw); height: auto; filter: drop-shadow(0 8px 13px #24457850); }
.hero h1 { color: #1e3772; font-size: 25px; font-weight: 600; line-height: 1.6; margin: 15px 0 5px; text-shadow: 0 2px 7px #fff, 0 1px 3px #fff; }
.hero h1 span { color: #1e3772; }
.hero-description { color: #28416a; font-size: 13px; margin-bottom: 21px; text-shadow: 0 1px 4px #fff; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn { min-height: 47px; padding: 11px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 7px; font-weight: 600; font-size: 13px; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 24px #2a467d26; }
.btn-gold { color: #3b3562; border: 1px solid #cea24a; background: linear-gradient(180deg, #fff1b0, #e6bc62); box-shadow: 0 4px 0 #b7903b30, inset 0 1px 0 #fff9de; }
.btn-light { background: #ffffffdf; color: #2a4383; border: 1px solid #fff; box-shadow: 0 5px 17px #35558a18; }
.btn-outline { border: 1px solid #c9d3e5; background: #fff; color: var(--blue); }
.hero-caption { display: flex; align-items: center; gap: 12px; color: #345890; font-size: 9px; font-weight: 500; letter-spacing: 2.3px; margin-top: 20px; text-shadow: 0 1px 4px white; }
.hero-caption span { color: #ae7b26; }
.portal-section { display: grid; grid-template-columns: 1fr 1.9fr 1fr; gap: 20px; align-items: center; padding-bottom: 70px; }
.portal-links { display: grid; gap: 15px; }
.portal-link { display: flex; align-items: center; gap: 13px; padding: 18px 13px; min-height: 91px; border: 1px solid #628ac5; border-radius: 9px; color: #fff4c5; background: linear-gradient(160deg, #548ac8, #2e418e 80%); box-shadow: 0 5px 15px #35527b24, inset 0 1px 0 #fff5; transition: transform .2s, filter .2s; }
.portal-link:hover { transform: translateY(-3px); filter: brightness(1.08); }
.portal-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e9cc79; color: #ffe7a1; background: #253e8140; font: 27px/1 Georgia, serif; }
.portal-link strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.portal-link small { display: block; font-size: 8px; color: #d3e4ff; letter-spacing: .6px; margin-top: 3px; }
.portal-link b { margin-left: auto; font-size: 22px; font-weight: 400; color: #b8d4fa; }
.adventure-banner { position: relative; height: 322px; border: 3px solid #d6b76a; background: var(--blue); border-radius: 13px; padding: 5px; box-shadow: 0 0 0 4px #fff, var(--shadow); overflow: hidden; }
.banner-slide { position: absolute; inset: 5px; border-radius: 6px; overflow: hidden; }
.banner-slide>img { height: 100%; width: 100%; object-fit: cover; object-position: 29% center; }
.banner-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #132952a8, #1835681c 90%); }
.banner-slide-second>img { transform: scale(1.35); object-position: right center; }
.banner-slide-second::after { background: linear-gradient(90deg, #372356c7, #244e521a); }
.banner-copy { position: absolute; z-index: 1; left: 30px; top: 40px; color: #fff; text-shadow: 0 2px 10px #12325b70; }
.banner-copy small { color: #ffe5a4; font-size: 9px; letter-spacing: 1.8px; }
.banner-copy h2 { font-size: 34px; font-weight: 600; line-height: 1.45; margin: 12px 0 15px; }
.banner-copy a { color: #fff4d4; font-size: 11px; border-bottom: 1px solid #ffefae99; padding-bottom: 4px; }
.banner-copy a span { margin-left: 12px; }
.banner-controls { position: absolute; z-index: 2; right: 20px; bottom: 17px; display: flex; gap: 12px; align-items: center; color: #fff; }
.banner-controls button { display: grid; place-items: center; border: 1px solid #fff8; background: #15337160; color: white; border-radius: 50%; width: 30px; height: 30px; font-size: 24px; line-height: 1; }
.banner-controls span { font-size: 10px; letter-spacing: 2px; }
.news-section { padding: 10px 0 64px; }
.section-heading { display: flex; align-items: center; justify-content: center; text-align: center; gap: 27px; }
.section-heading::before, .section-heading::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #d9cda5); max-width: 170px; }
.section-heading::after { transform: rotate(180deg); }
.heading-ornament { color: #d4ae5e; font-size: 19px; }
.eyebrow { color: #9a772f; font-size: 9px; font-weight: 500; letter-spacing: 2.4px; margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.5; color: var(--deep); }
.section-heading h2 span { color: #4469a7; }
.section-description { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 28px; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 0 25px; padding-bottom: 15px; border-bottom: 1px solid var(--line); gap: 16px; }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filters button { border: 1px solid #dce3ef; color: #64718b; background: #fff; padding: 9px 23px; border-radius: 6px; font-size: 12px; transition: background .2s; }
.news-filters button:hover { background: #eaf0fb; }
.news-filters button.active { color: #fff4cd; border-color: #344e97; background: linear-gradient(180deg, #4b6eb0, #2f458f); box-shadow: 0 3px 9px #263e9120; }
.filter-count { color: #8a96ad; font-size: 10px; white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px #263e9109; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-image { height: 190px; display: block; position: relative; overflow: hidden; }
.news-image>img { height: 100%; width: 100%; object-fit: cover; }
.image-knight img { transform: scale(2.1) translate(24%, 0); }
.image-town img { transform: scale(1.7) translate(0, -21%); }
.image-flight img { transform: scale(2) translate(-18%, 19%); }
.image-mage img { transform: scale(2.1) translate(-25%, 0); }
.image-crystal img { transform: scale(2.8) translate(-29%, 15%); }
.image-friends img { transform: scale(1.9) translate(21%, 8%); }
.news-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #17275b40); }
.category-badge { position: absolute; z-index: 1; left: 16px; bottom: 14px; background: #fff7e0; border: 1px solid #e8d092; color: #69522a; font: 500 8px/1.5 'Prompt', sans-serif; letter-spacing: 1.2px; padding: 4px 8px; border-radius: 3px; }
.category-badge.purple { background: #f3edff; color: #6f508e; border-color: #cdbbe6; }
.category-badge.rose { background: #fff0f4; color: #995875; border-color: #e9b7ca; }
.news-body { padding: 22px 21px 20px; }
.news-body>small { display: block; color: #6c7c99; font-size: 10px; margin-bottom: 10px; }
.news-body>small span { padding-inline: 7px; }
.news-body h3 { font-size: 17px; line-height: 1.6; font-weight: 600; color: #2c3f77; margin: 0 0 8px; }
.news-body p { min-height: 44px; font-size: 12px; color: #596b88; margin-bottom: 16px; }
.read-more { border-top: 1px solid #edf0f7; padding-top: 13px; display: flex; justify-content: space-between; color: #496aa5; font-size: 10px; font-weight: 500; }
.news-note { text-align: center; color: #8793a8; font-size: 10px; margin: 26px 0 0; }
.world-section { padding: 66px 0; background: linear-gradient(120deg, #eaf1ff, #f7faff 56%, #e9f4ff); border-block: 1px solid #dee7f3; }
.world-layout { display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; gap: 48px; }
.world-copy h2 { color: var(--deep); font-size: 31px; font-weight: 600; line-height: 1.6; margin: 14px 0; }
.world-copy h2 span { color: #4f70ad; font-size: 28px; }
.world-copy>p:not(.eyebrow) { color: #75839c; font-size: 13px; margin-bottom: 25px; }
.world-frame { position: relative; border: 3px solid #d6bc7e; border-radius: 12px; padding: 5px; background: white; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.world-frame img { width: 100%; height: 315px; object-fit: cover; border-radius: 5px; }
.frame-label { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: max-content; color: white; letter-spacing: 2px; font-size: 9px; padding: 7px 15px; background: #233f817d; border: 1px solid #ffffff5e; border-radius: 4px; }
.journey-section { padding-block: 65px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 32px; }
.journey-card { border: 1px solid #d4def1; border-radius: 13px; min-height: 250px; background-image: url('../images/tein-storybook-world-v3.webp'); background-size: 190% auto; background-repeat: no-repeat; position: relative; overflow: hidden; display: flex; align-items: center; }
.journey-knight { background-position: left 45%; justify-content: flex-end; }
.journey-mage { background-position: right 38%; }
.journey-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #ffffff00, #f4f7ffc9 40%, #eef4fff2 65%); }
.journey-mage::before { background: linear-gradient(90deg, #f3f1fff2 20%, #eeefffbf 56%, #ffffff00); }
.journey-card>div { position: relative; z-index: 1; padding: 32px; }
.journey-card small { color: #a38748; font-size: 8px; letter-spacing: 1.5px; }
.journey-card h3 { margin: 10px 0; font-size: 20px; font-weight: 600; }
.journey-card p { font-size: 12px; color: #76809c; margin: 0; }
.guide-section { padding-bottom: 66px; }
.steps { margin-top: 33px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 29px 26px; border: 1px solid #dfe5ef; background: #fff; border-radius: 10px; position: relative; }
.step-number { font: italic 34px/1.2 Georgia, serif; color: #cbaa63; }
.step h3 { color: #2c4385; font-size: 17px; margin: 16px 0 8px; font-weight: 600; }
.step p { font-size: 12px; color: #7a859e; min-height: 60px; }
.step a { color: #3d60a1; font-size: 11px; font-weight: 500; }
.step a span { margin-left: 12px; }
.faq { margin-top: 25px; background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.faq details+details { border-top: 1px solid #e8edf5; }
.faq summary { padding: 19px 24px; color: #4a5f92; font-size: 12px; }
.faq details[open] summary { color: var(--blue); font-weight: 500; }
.faq p { margin: 0; padding: 0 24px 20px; font-size: 12px; color: #77839c; }
.faq p a { color: #436aad; text-decoration: underline; }
.community-section { display: flex; gap: 27px; align-items: center; padding: 34px; margin-bottom: 70px; border: 1px solid #dfcd9f; border-radius: 13px; background: linear-gradient(120deg, #fff9e8, #f4f7ff); box-shadow: 0 8px 26px #40557d08; }
.community-crest { display: grid; place-items: center; width: 83px; height: 83px; flex-shrink: 0; background: #fff; border: 1px solid #e0cea5; border-radius: 50%; font: 40px/1 Georgia, serif; color: #b99754; }
.community-section h2 { font-size: 22px; font-weight: 500; line-height: 1.65; margin-bottom: 5px; }
.community-section h2 span { color: #4767a4; }
.community-section p:not(.eyebrow) { color: #7b87a0; font-size: 12px; margin: 0 0 16px; }
.community-section>.btn { margin-left: auto; flex-shrink: 0; }
.community-channels { display: flex; flex-wrap: wrap; gap: 12px; }
.community-channels>span { border: 1px solid #dce3ee; border-radius: 5px; padding: 6px 12px; color: #506590; font-size: 10px; background: #fff9; }
.community-channels small { color: #8993a5; margin-left: 8px; font-size: 9px; }
.site-footer { border-top: 1px solid #dce4f1; padding: 34px max(24px, calc((100% - 1160px) / 2)); background: #eef3fc; display: flex; align-items: center; gap: 23px; }
.site-footer>a { flex-shrink: 0; }
.site-footer img { height: auto; }
.footer-copy strong { font-family: Georgia, serif; font-size: 15px; color: #405b92; letter-spacing: 2px; }
.footer-copy p { font-size: 11px; margin: 3px 0; color: #7587a8; }
.footer-copy small { color: #93a1bb; font-size: 9px; }
.site-footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; font-size: 10px; color: #6980aa; }
.site-footer nav a:hover { color: var(--blue); }

/* The original registration IDs, fields and validation hooks are retained. */
body[data-page='register'] .sky-backdrop, body[data-page='download'] .sky-backdrop { height: 1000px; opacity: .7; }
body[data-page='register'] .sky-backdrop::after, body[data-page='download'] .sky-backdrop::after { background: linear-gradient(180deg, #f1f7ff30, #f8faff 90%); }
.register-shell { width: min(1100px, calc(100% - 48px)); display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 65px; margin: 0 auto; padding: 90px 0 75px; }
.register-intro { padding: 0 5px; }
.register-logo { width: 350px; height: auto; margin: 0 0 24px; filter: drop-shadow(0 6px 9px #28447730); }
.register-intro .eyebrow { color: #4a67a1; }
.register-intro h1 { font-size: 38px; font-weight: 600; color: #263e81; line-height: 1.45; margin-bottom: 17px; }
.register-intro h1 span { color: #4c79b6; }
.lead { color: #647996; font-size: 13px; line-height: 1.9; }
.security-list { display: grid; gap: 10px; margin-top: 29px; }
.security-list>div { display: flex; align-items: center; gap: 15px; padding: 14px 16px; border-radius: 9px; border: 1px solid #ffffffb0; background: #ffffffd9; box-shadow: 0 5px 18px #32446a05; }
.security-list>div>span { width: 36px; height: 36px; display: grid; place-items: center; background: #edf3ff; border: 1px solid #d7e2f4; border-radius: 50%; color: #6885b5; font: 18px Georgia, serif; }
.security-list p { margin: 0; }
.security-list strong { display: block; font-size: 12px; color: #3c5891; font-weight: 500; }
.security-list small { display: block; font-size: 10px; color: #8a97ae; }
.register-card { padding: 30px; background: #fffffff5; border: 1px solid #d8c493; border-radius: 15px; box-shadow: var(--shadow), 0 0 0 5px #ffffff60; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e6ebf4; }
.card-head small { color: #b39456; font-size: 9px; letter-spacing: 2px; }
.card-head h2 { color: #304780; font-size: 25px; font-weight: 600; margin: 2px 0 0; }
.card-badge { color: #a68b4e; background: #fffaee; border: 1px solid #e5d5b0; border-radius: 5px; padding: 5px 10px; font: 12px Georgia, serif; letter-spacing: 2px; }
.field { margin-bottom: 15px; min-width: 0; }
.field label { display: block; color: #54658b; font-size: 11px; font-weight: 500; margin-bottom: 7px; }
.field label em { color: #b29960; font-style: normal; }
.input-wrap { display: flex; align-items: center; min-height: 47px; background: #f7f9fd; border: 1px solid #dce4ef; border-radius: 7px; transition: border .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: #7e9bcf; box-shadow: 0 0 0 3px #6286c716; }
.input-wrap>span { width: 38px; color: #94a8c9; text-align: center; flex-shrink: 0; }
.input-wrap input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 12px 7px 12px 0; outline: 0; color: #30436a; font-size: 14px; }
.input-wrap input::placeholder { color: #7586a1; }
.input-wrap input:focus-visible { outline: 0; }
.peek { border: 0; border-left: 1px solid #dfe6f1; background: transparent; color: #8192b0; padding: 4px 10px; font-size: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.hint, .error, .availability { display: block; font-size: 10px; line-height: 1.7; margin-top: 5px; }
.hint { color: #627591; }
.error { color: var(--danger); }
.error:empty, .availability:empty { display: none; }
.availability { color: var(--ok); }
.availability.taken { color: var(--danger); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.strength i { height: 3px; border-radius: 2px; background: #e4e9f3; }
.strength[data-level='1'] i:nth-child(-n+1), .strength[data-level='2'] i:nth-child(-n+2), .strength[data-level='3'] i:nth-child(-n+3), .strength[data-level='4'] i:nth-child(-n+4) { background: #6b8fbd; }
.checkline { display: flex; gap: 9px; align-items: flex-start; font-size: 11px; color: #677692; line-height: 1.8; }
.checkline input { flex-shrink: 0; margin-top: 4px; accent-color: #5476b4; }
.honeypot { position: absolute; left: -9999px; }
.form-message { padding: 12px 14px; margin: 13px 0; border-radius: 6px; font-size: 11px; }
.form-message.ok { color: #2b745c; background: #eefaf4; border: 1px solid #c4e9d7; }
.form-message.bad { color: #9d3950; background: #fff2f4; border: 1px solid #edcbd3; }
.submit-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 18px; background: linear-gradient(180deg, #507bc0, #304891); color: #fff7de; border: 1px solid #355799; border-radius: 7px; margin-top: 19px; font-size: 12px; box-shadow: 0 4px 13px #29467c20; }
.submit-btn:hover { filter: brightness(1.08); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.submit-btn b { font-size: 19px; }
.form-note { font-size: 10px; color: #6c7c95; margin: 12px 0 0; }
.turnstile-wrap { margin-block: 15px; max-width: 100%; }
.back-link { display: inline-block; font-size: 11px; color: #5775a4; margin-bottom: 20px; }
.download-shell { max-width: 820px; padding: 85px 0 75px; }
.download-card { text-align: center; padding: 35px 50px 40px; background: #fffffff5; border: 1px solid #d8c69c; border-radius: 15px; box-shadow: var(--shadow); }
.download-logo { width: 330px; height: auto; margin: 0 auto 25px; }
.download-card h1 { font-size: 34px; color: #2e4685; margin-bottom: 12px; font-weight: 600; }
.download-card h1 span { color: #5c7bab; display: inline-block; white-space: nowrap; }
.download-status { display: flex; align-items: center; text-align: left; gap: 20px; padding: 22px 30px; margin: 25px 0; background: #f4f7fd; border: 1px solid #dfe7f4; border-radius: 9px; }
.download-status>span { width: 45px; height: 45px; display: grid; place-items: center; font-size: 30px; color: #83a0c7; background: #e7eefa; border-radius: 50%; flex-shrink: 0; }
.download-status strong { font-size: 14px; font-weight: 500; color: #52719f; }
.download-status p { font-size: 11px; color: #6d7d99; margin: 5px 0 0; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.download-note { font-size: 10px; color: #91a0b8; margin: 23px 0 0; }

@media (min-width: 1650px) {
  .sky-backdrop { background-size: 100% auto; }
}
@media (max-width: 1100px) {
  .portal-section { grid-template-columns: 1fr 1.6fr 1fr; gap: 12px; }
  .portal-link { gap: 9px; padding-inline: 10px; }
  .portal-icon { width: 32px; height: 32px; font-size: 22px; }
  .portal-link strong { font-size: 12px; }
  .portal-link small { font-size: 7px; }
  .portal-link b { display: none; }
  .world-layout { gap: 25px; }
  .world-copy h2 { font-size: 26px; }
  .world-copy h2 span { font-size: 23px; }
  .register-shell { gap: 30px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); margin-top: 18px; }
  .nav-link strong { font-size: 14px; }
  .nav-link small { font-size: 7px; }
  .nav-download strong { font-size: 19px; }
  .nav-download small { font-size: 11px; }
  .hero { min-height: 520px; padding-top: 68px; }
  .hero-logo { width: 420px; }
  .hero h1 { font-size: 22px; }
  .portal-section { grid-template-columns: 1fr 1fr; gap: 17px; padding-bottom: 46px; }
  .adventure-banner { order: -1; grid-column: 1 / -1; height: 310px; }
  .portal-links { gap: 10px; }
  .portal-link { padding: 14px 18px; min-height: 75px; }
  .portal-icon { width: 40px; height: 40px; }
  .portal-link strong { font-size: 13px; }
  .portal-link small { font-size: 8px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { gap: 15px; }
  .section-heading::before, .section-heading::after { display: none; }
  .section-heading h2 { font-size: 25px; }
  .world-layout { grid-template-columns: 1fr; }
  .world-copy { text-align: center; }
  .world-frame { max-width: 580px; margin: 15px auto 0; }
  .journey-card>div { padding: 25px; }
  .journey-card h3 { font-size: 17px; }
  .journey-card { background-size: auto 180%; }
  .steps { gap: 13px; }
  .step { padding: 23px 18px; }
  .step h3 { font-size: 14px; }
  .community-section { flex-wrap: wrap; gap: 20px; padding: 27px; }
  .community-crest { width: 60px; height: 60px; font-size: 31px; }
  .community-section>div:nth-child(2) { flex: 1; }
  .community-section>.btn { margin-left: 80px; }
  .community-section h2 { font-size: 19px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer nav { margin-left: 0; flex-basis: 100%; }
  .register-shell { grid-template-columns: 1fr; max-width: 620px; padding-top: 70px; gap: 35px; }
  .register-intro { text-align: center; }
  .register-logo { margin-inline: auto; width: 280px; }
  .register-intro h1 { font-size: 31px; }
  .security-list { display: none; }
  .download-shell { padding-top: 75px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 15px; }
  .container { width: calc(100% - 28px); }
  .site-header { width: calc(100% - 24px); height: 64px; margin-top: 12px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #ffffff94; border-radius: 9px; background: linear-gradient(180deg, #4676b9f0, #2e4593f0); box-shadow: 0 6px 18px #264e842c; }
  .mobile-brand { display: block; }
  .mobile-brand img { width: 105px; height: auto; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; background: #ffffff12; border: 1px solid #ffffff5e; border-radius: 7px; font-size: 24px; line-height: 1; color: #fff2c2; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 73px; grid-template-columns: 1fr; padding: 8px; gap: 3px; border-radius: 9px; background: #2e4695; box-shadow: 0 10px 26px #1b3a7660; }
  .nav.open { display: grid; }
  .nav-link { align-items: flex-start; padding: 10px 16px; min-height: 56px; border-radius: 5px !important; }
  .nav-link strong { font-size: 14px; }
  .nav-link small { letter-spacing: 1px; }
  .nav-link.active::after { bottom: 21px; right: 14px; }
  .nav-download { min-height: 68px; margin: 3px 0; border-radius: 5px; flex-direction: row; gap: 8px; }
  .nav-download>span { margin: 0; }
  .nav-download strong { font-size: 19px; }
  .nav-download small { font-size: 10px; margin: 0; }
  .sky-backdrop { height: 790px; background-size: auto 710px; background-position: center top; }
  .sky-backdrop::after { background: linear-gradient(180deg, #ffffff08, #eff6ff55 30%, #f8faff 96%); }
  .hero { min-height: 448px; padding: 62px 14px 33px; }
  .hero-kicker { font-size: 7px; letter-spacing: 1.5px; gap: 9px; }
  .hero-kicker span { width: 14px; }
  .hero-logo { width: min(335px, 89vw); margin-top: 6px; }
  .hero h1 { font-size: 19px; line-height: 1.7; margin-top: 21px; }
  .hero h1 span { display: block; }
  .hero-description { max-width: 285px; font-size: 10px; line-height: 1.9; margin-bottom: 18px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { font-size: 10px; padding: 9px 13px; min-height: 40px; gap: 8px; }
  .hero-caption { font-size: 7px; letter-spacing: 1.3px; margin-top: 17px; }
  .portal-section { gap: 10px; padding-bottom: 40px; }
  .adventure-banner { height: 250px; }
  .banner-copy { left: 22px; top: 28px; }
  .banner-copy small { font-size: 7px; letter-spacing: 1.2px; }
  .banner-copy h2 { font-size: 28px; margin-block: 10px; }
  .banner-copy a { font-size: 10px; }
  .portal-link { min-height: 70px; gap: 9px; padding: 11px 9px; }
  .portal-icon { width: 27px; height: 27px; font-size: 19px; }
  .portal-link strong { font-size: 10px; }
  .portal-link small { font-size: 6px; letter-spacing: .2px; }
  .section-heading { gap: 12px; }
  .heading-ornament { font-size: 13px; }
  .eyebrow { font-size: 7px; letter-spacing: 1.8px; }
  .section-heading h2 { font-size: 21px; }
  .section-description { font-size: 10px; padding-inline: 12px; margin-bottom: 22px; }
  .news-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-filters { gap: 5px; }
  .news-filters button { font-size: 10px; padding: 8px 11px; }
  .filter-count { font-size: 9px; }
  .news-grid { grid-template-columns: 1fr; gap: 19px; }
  .news-image { height: 190px; }
  .news-body { padding: 19px; }
  .news-body h3 { font-size: 16px; }
  .news-body p { min-height: auto; }
  .news-note { font-size: 9px; padding-inline: 15px; }
  .news-section { padding-bottom: 40px; }
  .world-section { padding-block: 40px; }
  .world-copy h2 { font-size: 24px; }
  .world-copy h2 span { font-size: 21px; }
  .world-copy>p:not(.eyebrow) { font-size: 11px; }
  .world-frame { transform: none; }
  .world-frame img { height: 220px; }
  .frame-label { font-size: 7px; letter-spacing: 1.3px; }
  .journey-section { padding-block: 42px; }
  .journey-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
  .journey-card { min-height: 220px; background-size: 185% auto; }
  .journey-card>div { padding: 23px; }
  .steps { grid-template-columns: 1fr; margin-top: 24px; gap: 13px; }
  .step { padding: 24px; }
  .step h3 { font-size: 17px; }
  .step p { min-height: auto; }
  .faq summary { padding: 16px; font-size: 11px; }
  .faq p { padding: 0 16px 17px; font-size: 11px; }
  .guide-section { padding-bottom: 40px; }
  .community-section { padding: 24px 20px; margin-bottom: 42px; text-align: center; flex-direction: column; gap: 17px; }
  .community-section>.btn { margin-left: 0; }
  .community-channels { justify-content: center; }
  .community-section h2 { font-size: 20px; }
  .community-section h2 span { display: block; }
  .community-section p:not(.eyebrow) { font-size: 10px; }
  .site-footer { padding: 27px 20px; justify-content: center; text-align: center; gap: 15px; }
  .site-footer>a { flex-basis: 100%; }
  .site-footer img { width: 155px; margin-inline: auto; }
  .site-footer nav { justify-content: center; gap: 18px; }
  .register-shell { width: calc(100% - 28px); padding-top: 40px; gap: 25px; }
  .register-logo { width: 265px; margin-bottom: 17px; }
  .register-intro h1 { font-size: 28px; }
  .register-intro .lead { font-size: 11px; max-width: 300px; margin-inline: auto; }
  .register-card { padding: 24px 19px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .input-wrap input { font-size: 16px; }
  .field label { font-size: 12px; }
  .hint, .error, .availability { font-size: 10px; }
  .checkline { font-size: 11px; }
  .download-shell { padding-top: 42px; }
  .download-card { padding: 27px 20px; }
  .download-logo { width: 260px; }
  .download-card h1 { font-size: 26px; }
  .download-card .lead { font-size: 11px; }
  .download-status { padding: 19px 15px; gap: 12px; }
  .download-status strong { font-size: 12px; }
  .download-status p { font-size: 10px; }
  .download-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
