/* SkyColonies 1.15 — presentation layer; navigation behavior lives in navigation.js. */
:root {
  --bg: #070e1c;
  --surface: #101e33;
  --surface-deep: #0b1628;
  --line: #819ecb26;
  --text: #f5f7fc;
  --muted: #b0bfd4;
  --gold: #f4cc83;
  --green: #b4dfb3;
  --sky: #9ed1ff;
}
body {
  background: radial-gradient(ellipse 850px 600px at 90% 0%, #25406966, transparent),
    radial-gradient(ellipse 600px 650px at 0% 1000px, #1d35543b, transparent), var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #f4cc8340; color: #fff; }
h1, h2, h3 { font-family: "Segoe UI", system-ui, sans-serif; font-weight: 750; }
h1, h2 { letter-spacing: -.048em; line-height: 1.08; }
h1 em, h2 em { color: var(--gold); }
h2 { font-size: clamp(2rem, 3vw, 2.9rem); }
p { line-height: 1.8; }
.eyebrow { font-size: .68rem; letter-spacing: .18em; }
.header {
  margin-top: 20px; padding: 16px 22px; gap: 22px;
  border: 1px solid #819ecb30; border-radius: 20px;
  background: linear-gradient(120deg, #17253cdb, #0d182cdb);
  box-shadow: 0 16px 45px #02071040, inset 0 1px #ffffff06;
}
.brand { font-size: 1.35rem; gap: 12px; letter-spacing: -.04em; }
.brand img { width: 44px; height: 44px; border-radius: 13px; border-color: #f4cc8340; }
.brand small { font-size: .55rem; letter-spacing: .15em; }
.header nav { gap: 17px; font-size: .81rem; font-weight: 600; }
.header nav > a { padding-block: 8px; }
.header nav > a[aria-current] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.button {
  border-radius: 12px; border-color: #ffe3b3;
  background: linear-gradient(135deg, #ffe0a3, #efbf6c);
  box-shadow: 0 5px 22px #efba5e14, inset 0 1px #fff7d988;
  padding: 15px 24px; min-height: 51px; font-size: .88rem;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: #ffe3b0; box-shadow: 0 8px 30px #efba5e30; transform: translateY(-2px); }
.button.small { font-size: .81rem; min-height: 43px; }
.button.outline { background: #18284066; border-color: #9cb8de50; box-shadow: inset 0 1px #ffffff05; }
.button.outline:hover { background: #243c5b; border-color: var(--gold); }
.text-link { font-size: .84rem; font-weight: 650; text-underline-offset: 6px; }
.text-link:hover { color: #ffe1a5; }
.alpha-label, .tag { border-radius: 30px; font-size: .67rem; letter-spacing: .04em; padding: 7px 12px; }
.alpha-label { color: var(--green); background: #adcfa10b; border-color: #b4dfb338; margin: 0; }
.status-dot { box-shadow: 0 0 10px #b4dfb345; }
.hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 26px 65px; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.server-population { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #819ecb35; border-radius: 30px; padding: 7px 12px; color: var(--muted); background: #819ecb08; font-size: .69rem; line-height: 1.6; font-weight: 600; }
.population-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #8293ad; }
.server-population[data-state="online"] { color: var(--green); border-color: #b4dfb338; background: #b4dfb308; }
.server-population[data-state="online"] .population-dot { background: var(--green); box-shadow: 0 0 10px #b4dfb345; }
.server-population[data-state="offline"] .population-dot { background: var(--gold); }
.hero-scroll { color: var(--muted); font-size: .75rem; display: inline-flex; gap: 18px; align-items: center; }
.hero-scroll:hover { color: var(--gold); }
.hero-art { max-width: none; isolation: isolate; }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 8% 10% 0; border-radius: 50%;
  background: #bd863b19; filter: blur(60px); pointer-events: none;
}
.hero-art > img { border-radius: 22px; border: 1px solid #f3c77560; box-shadow: 0 30px 80px #02071088; }
.hero-art figcaption { justify-content: space-between; font-family: inherit; color: #9cacc4; font-size: .68rem; margin-top: 12px; }
.hero-art figcaption > span { color: var(--gold); letter-spacing: .12em; font-size: .62rem; }
.hero-copy { max-width: none; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 55px; margin-top: 30px; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.hero-heading .eyebrow { margin-bottom: 15px; }
.hero-details .intro { margin-top: 0; font-size: .94rem; }
.hero-details .actions { margin-top: 20px; }
.hero-details .text-link { display: inline-flex; margin-top: 18px; }
.hero-details .meta { margin-top: 9px; font-size: .73rem; }
.adventure { padding-top: 30px; border-top: 1px solid var(--line); }
.section-head { gap: 35px; margin-bottom: 30px; }
.section-head > p { font-size: .85rem; }
.features { gap: 18px; }
.features article {
  padding: 28px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(135deg, #182b42aa, #10203655);
}
.number { font-family: inherit; font-size: 1.1rem; font-weight: 750; margin-bottom: 28px; }
.number > span { font-size: .6rem; color: var(--muted); }
.features h3 { font-size: 1.25rem; margin-bottom: 12px; }
.features p { font-size: .86rem; }
.discovery-strip { padding: 28px 32px; background: #14233a70; border: 1px solid var(--line); border-radius: 20px; }
.discovery-strip h2 { font-size: 1.65rem; margin-block: 9px; }
.discovery-strip p:not(.eyebrow) { font-size: .87rem; }
.living { padding-block: 30px 72px; }
.living-art img, .arena-art img, .discover-photo img, .guide-art img, .guide-game-photo img {
  border-radius: 20px; border-color: #a7c3ea38; box-shadow: 0 20px 50px #02071055;
}
.living-art figcaption, .arena-art figcaption, .discover-photo figcaption, .guide-game-photo figcaption { font-size: .69rem; }
.life-list strong { font-weight: 650; }
.life-list li { border-top-color: var(--line); padding-block: 18px; }
.life-list li > span { color: var(--gold); }
.gallery-teaser { padding-bottom: 62px; }
.crew-grid { gap: 22px; }
.crew-grid figure { background: #13213970; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.crew-grid img { border: 0; border-radius: 0; transition: filter .25s; }
.crew-grid a:hover img { filter: brightness(1.1); }
.crew-grid figcaption { margin: 0; padding: 22px; }
.crew-grid h3 { font-size: 1.15rem; }
.crew-grid p { font-size: .83rem; }
.image-kind { font-size: .6rem; letter-spacing: .13em; }
.arena-story { padding-block: 52px 62px; }
.arena-copy h2 { font-size: clamp(2.3rem, 3.3vw, 3rem); }
.arena-features li { padding-block: 17px; }
.arena-features strong { font-size: .89rem; }
.arena-entry-note, .chapter-note { padding: 17px 20px; border-radius: 0 12px 12px 0; background: #f4cc8307; }
.vote-banner { padding: 44px; border-radius: 24px; border-color: #f4cc8347; background: radial-gradient(ellipse at right top, #d7a1461f, transparent 65%), linear-gradient(120deg, #172840, #111b2c); box-shadow: 0 25px 65px #02071055; }
.vote-banner::before { width: 4px; }
.vote-banner .key-mark { border: 1px solid #f4cc8340; border-radius: 18px; padding: 17px; background: #f4cc8308; }
.vote-banner .text-link { display: inline-flex; margin-top: 16px; }
.community { padding-block: 76px; }
.community h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
.footer { padding-block: 33px; }
.footer p { font-size: .75rem; }
.vote-page { padding-top: 52px; }
.vote-heading h1, .guide-hero h1, .discover-hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.2rem); }
.vote-heading img { border-radius: 20px; border-color: #f4cc8345; }
.vote-heading figcaption { font-size: .68rem; }
.vote-panel { border-radius: 24px; padding: 34px; border-color: #9fc9f755; background: radial-gradient(ellipse at left top, #2c4b7070, transparent 75%), #101d31; box-shadow: 0 22px 65px #02071050; }
.vote-panel h2 { font-size: 1.8rem; }
input { border-radius: 11px; border-color: #819ecb70; background: #081223; padding: 15px; }
.copy-command { border-radius: 9px; padding: 10px 14px; border-color: #819ecb66; }
.platform { border-color: var(--line); gap: 17px; padding-block: 23px; }
.platform-name h3 { font-size: 1.03rem; }
.platform-dot { border-radius: 3px; box-shadow: 0 0 16px #fa576925; }
.route h2 { font-size: 1.9rem; }
.route li { padding-bottom: 30px; }
.step { font-family: inherit; font-weight: 700; border-radius: 11px; background: #f4cc8308; }
.reward-grid { gap: 14px; }
.reward { border-radius: 17px; border-color: #819ecb36; background: linear-gradient(145deg, #1a2b43, #101c30); }
.reward summary { min-height: 250px; padding: 26px 19px 20px; }
.reward:hover { border-color: #aacfff77; }
.reward-symbol { background: #819ecb14; border-color: #819ecb26; border-radius: 12px; width: 47px; height: 47px; margin-top: 10px; }
.chance { right: 17px; top: 16px; font-size: .85rem; }
.reward.rare { background: linear-gradient(140deg, #54432c, #252438); border-color: #f4cc8377; box-shadow: 0 8px 30px #e6b66210; }
.reward.rare .reward-symbol { background: #f4cc831a; }
.reward-more { font-size: .73rem; }
.premium-guide { margin-top: 45px; border: 1px solid #f4cc833b; padding: 36px; border-radius: 24px; background: radial-gradient(ellipse at right top, #d7a14613, transparent 70%), #111c2d; }
.premium-guide h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); }
.premium-layout h3 { font-family: inherit; font-size: 1.3rem; font-weight: 700; }
.premium-layout > div { min-width: 0; }
.premium-layout .chapter-note { padding: 15px 18px; }
.faq h2 { font-size: clamp(2rem, 2.7vw, 2.7rem); }
.faq-list details { padding-block: 21px; }
.faq summary { line-height: 1.6; }
dialog { border-radius: 24px; border-color: #9fc9f766; background: linear-gradient(135deg, #1a2c45, #0c172a); box-shadow: 0 35px 100px #0008; }
dialog::backdrop { background: #020916d9; backdrop-filter: blur(8px); }
.dialog-inner { padding: 40px; }
.dialog-inner h2 { font-size: 2rem; }
.close { border-radius: 10px; background: #ffffff08; }
.close:hover { color: var(--text); background: #ffffff15; }
.guide-hero { padding-block: 55px; }
.guide-art figcaption { font-family: inherit; font-weight: 650; }
.guide-index { border-radius: 20px; border-color: #819ecb3f; background: linear-gradient(130deg, #192a42, #101b2e); box-shadow: 0 15px 40px #02071040; }
.guide-index h2 { font-size: 1.65rem; }
.guide-index nav span, .guide-step-number, .discover-index span, .building-plan li > span { font-family: inherit; font-weight: 750; }
.guide-index nav a { align-items: center; }
.guide-step-number { font-size: 1.5rem; }
.guide-steps h2 { font-size: 2rem; }
.command-line { border-radius: 13px; border-color: #819ecb45; background: #14253b; }
.guide-tip { border-radius: 0 13px 13px 0; }
.gallery-heading { padding-block: 55px 37px; }
.gallery-heading h1 { font-size: clamp(3rem, 5.5vw, 5rem); }
.gallery-filters button { border-radius: 30px; padding-inline: 20px; border-color: #819ecb55; font-weight: 600; }
.gallery-filters button:hover { border-color: var(--gold); }
.gallery-grid { gap: 38px 26px; }
.gallery-open { border-radius: 20px; border-color: #819ecb40; box-shadow: 0 18px 45px #02071050; }
.gallery-enlarge { border-radius: 30px; font-size: .7rem; border-color: #f4cc8355; background: #081222ed; padding: 7px 15px; }
.gallery-shot h2 { font-size: 1.55rem; }
.gallery-shot figcaption { padding: 19px 5px 0; }
.gallery-shot figcaption p { font-size: .84rem; }
.gallery-dialog figure > img { border-radius: 12px; }
.discover-index { padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: #14233a70; }
.discover-index a { font-weight: 600; font-size: .8rem; }
.building-plan { padding: 30px; border-radius: 22px; border-color: #819ecb45; background: linear-gradient(130deg, #182b43, #101d31); }
.village-rhythm h3 { font-size: 1.12rem; }
.trade-ledger dt { font-family: inherit; font-weight: 700; font-size: 1.3rem; }
.trade-ledger > div { padding-block: 28px; }
/* Public development journal and contact form. */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-left: auto; }
.footer-links a { color: var(--muted); font-size: .78rem; }
.footer-links a:last-child { color: var(--gold); }
.footer-links a:hover { color: var(--gold); }
.project-hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 65px; align-items: center; padding-block: 62px 70px; }
.project-hero h1, .contact-intro h1 { font-size: clamp(2.8rem, 4.2vw, 4.1rem); margin: 23px 0; }
.project-hero .intro, .contact-intro .intro { font-size: .98rem; max-width: 590px; }
.project-hero .text-link { display: inline-block; margin-top: 25px; }
.project-phase { border: 1px solid #f4cc8340; border-radius: 24px; padding: 30px 34px; background: radial-gradient(ellipse at 100% 0%, #f4cc8318, transparent 70%), linear-gradient(145deg, #172a43, #0c182c); box-shadow: 0 25px 55px #02061038; }
.phase-top, .milestone-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.phase-top .eyebrow { margin: 0; }
.availability { display: inline-block; font-size: .64rem; font-weight: 650; color: var(--green); border: 1px solid #b4dfb336; background: #b4dfb308; padding: 5px 10px; border-radius: 30px; }
.project-phase .phase-title { font-size: 2.5rem; font-weight: 750; color: var(--gold); line-height: 1.12; letter-spacing: -.05em; margin: 25px 0 14px; }
.project-phase > p:not(.phase-title) { font-size: .85rem; }
.phase-path { list-style: none; margin: 25px 0 0; padding: 0; }
.phase-path li { display: flex; align-items: center; gap: 18px; position: relative; padding-bottom: 23px; }
.phase-path li:last-child { padding-bottom: 0; }
.phase-path li:not(:last-child)::before { content: ""; position: absolute; top: 38px; left: 18px; height: calc(100% - 34px); width: 1px; background: #f4cc8338; }
.phase-path li > span { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid #f4cc834d; color: var(--gold); font-size: .7rem; }
.phase-path strong { display: block; font-size: .93rem; }
.phase-path small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.project-phase .phase-meta { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 17px; font-size: .67rem; }
.project-section { padding-block: 38px 50px; }
.project-milestones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-milestones article { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #17253b85, #0d182c85); }
.milestone-number { color: var(--gold); font-size: .86rem; }
.project-milestones h3 { font-size: 1.45rem; letter-spacing: -.025em; margin: 26px 0 13px; }
.project-milestones p { font-size: .88rem; margin-bottom: 21px; }
.project-milestones .text-link { margin-top: auto; }
.priorities { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 53px; }
.priority-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.priority-list li { border-top: 2px solid #f4cc8355; padding-top: 23px; }
.priority-list li > span { font-size: .7rem; color: var(--gold); }
.priority-list h3 { font-size: 1.18rem; margin: 14px 0 12px; }
.priority-list p { font-size: .87rem; }
.project-note { font-size: .8rem; border-left: 2px solid #f4cc8355; margin-top: 30px; padding: 8px 18px; }
.project-journal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; border-top: 1px solid var(--line); padding-block: 52px 62px; }
.project-journal > div > p:last-child { margin-top: 20px; font-size: .88rem; }
.project-journal article { border-left: 2px solid #f4cc8340; padding-left: 28px; }
.project-journal time { color: var(--gold); font-size: .77rem; }
.project-journal h3 { font-size: 1.4rem; margin: 15px 0; }
.project-journal article p { font-size: .87rem; }
.project-journal article p + p { margin-top: 12px; }
.project-invitation { display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid #f4cc8340; background: linear-gradient(110deg, #1a2e49, #101c30); border-radius: 23px; padding: 36px 40px; margin-bottom: 60px; }
.project-invitation p:not(.eyebrow) { max-width: 670px; margin-top: 18px; font-size: .88rem; }
.project-invitation .button { flex-shrink: 0; }
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 75px; padding-block: 65px 70px; align-items: start; }
.contact-intro { position: sticky; top: 30px; }
.contact-email { margin-block: 35px; padding: 27px; border: 1px solid #f4cc8333; border-radius: 20px; background: #14243a70; }
.contact-email .eyebrow { margin-bottom: 13px; font-size: .62rem; }
.email-address { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--gold); letter-spacing: -.025em; font-weight: 650; overflow-wrap: anywhere; }
.contact-email button { border: 0; background: transparent; padding: 8px 0 0; margin-top: 12px; color: var(--muted); }
.contact-email button:hover { color: var(--gold); }
.contact-email .feedback:empty, #contact-feedback:empty { display: none; }
.contact-tips h2 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.4; }
.contact-tips p { font-size: .86rem; margin-top: 13px; }
.contact-intro > .text-link { display: inline-block; margin-top: 23px; }
.contact-panel { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(140deg, #182b4380, #0c172b); box-shadow: 0 25px 55px #02061033; }
.contact-panel h2 { font-size: 1.8rem; }
.contact-panel-heading > p:last-child { font-size: .8rem; margin-top: 12px; }
.contact-panel form { margin-top: 28px; }
.contact-field { margin-bottom: 20px; }
.contact-field label { display: block; font-size: .83rem; margin-bottom: 8px; font-weight: 600; }
.contact-field label > span { color: var(--muted); font-size: .74rem; font-weight: 400; }
.contact-field label > span[aria-hidden] { color: var(--gold); }
.contact-field select, .contact-field textarea { width: 100%; padding: 15px; border: 1px solid #819ecb70; border-radius: 11px; background: #081223; color: var(--text); font: inherit; font-size: 1rem; }
.contact-field textarea { resize: vertical; min-height: 175px; line-height: 1.65; }
.contact-field textarea::placeholder { color: #a0b1c8; }
.contact-field small { display: block; font-size: .72rem; color: var(--muted); margin-top: 7px; }
.contact-honey { display: none; }
.contact-privacy { font-size: .72rem; line-height: 1.7; margin-block: 22px; }
.contact-privacy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
#send-contact { width: 100%; }
#send-contact:disabled { cursor: wait; opacity: .7; transform: none; }
.contact-submit-note { font-size: .72rem; line-height: 1.7; margin-top: 13px; }
@media (min-width: 1101px) and (max-width: 1250px) {
  .header { flex-wrap: wrap; }
  .header nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 850px) {
  .project-hero { gap: 30px; grid-template-columns: 1fr; padding-block: 40px; }
  .project-hero h1 { max-width: 650px; }
  .project-phase { max-width: 650px; width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 40px; }
  .contact-intro { position: static; }
  .contact-email { max-width: 520px; }
  .priority-list { gap: 20px; }
  .project-journal { gap: 35px; }
  .project-invitation { flex-direction: column; align-items: start; }
}
@media (max-width: 650px) {
  .header nav > a[data-discord] { grid-column: span 2; }
  .header nav > .button { grid-column: 3; }
  .footer-links { margin-left: 0; gap: 18px; width: 100%; }
  .project-hero h1, .contact-intro h1 { font-size: clamp(2.25rem, 9vw, 3.2rem); margin-block: 20px; }
  .project-hero .intro, .contact-intro .intro { font-size: .89rem; }
  .project-phase { padding: 25px; border-radius: 20px; }
  .project-phase .phase-title { font-size: 2.2rem; }
  .project-milestones, .priority-list, .project-journal { grid-template-columns: 1fr; }
  .project-section { padding-block: 30px 35px; }
  .project-milestones article { padding: 24px; }
  .project-milestones h3 { font-size: 1.3rem; }
  .project-journal { padding-block: 38px; }
  .project-invitation { padding: 27px; margin-bottom: 40px; }
  .project-invitation h2 { font-size: 1.9rem; }
  .project-invitation .button { width: 100%; }
  .contact-email { padding: 23px; }
  .contact-layout { gap: 30px; }
  .contact-panel { padding: 24px; border-radius: 20px; }
  .contact-panel h2 { font-size: 1.7rem; }
}
@media (max-width: 1100px) {
  .header { padding: 17px 21px; gap: 15px; }
  .header nav { gap: 22px; }
  .hero-copy { gap: 35px; }
  .features article { padding: 23px; }
  .vote-banner { padding: 34px; }
  .reward summary { padding-inline: 15px; }
  .reward strong { font-size: .87rem; }
}
@media (max-width: 850px) {
  .hero-copy { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(2.8rem, 6.5vw, 4rem); }
  .hero h1 br { display: none; }
  .hero-art { max-width: none; }
  .hero { padding-bottom: 45px; }
  .features { gap: 14px; }
  .features article { padding: 21px; }
  .features h3 { font-size: 1.1rem; }
  .number { flex-direction: column; align-items: start; gap: 7px; margin-bottom: 20px; }
  .vote-heading h1 { font-size: 3.1rem; }
  .premium-guide { padding: 28px; }
  .reward-symbol { width: 40px; height: 40px; }
}
@media (max-width: 650px) {
  .header { margin-top: 12px; border-radius: 17px; padding: 16px; gap: 15px; }
  .brand { font-size: 1.4rem; }
  .brand small { font-size: .53rem; }
  .header nav { gap: 7px; }
  .header nav a { text-align: center; font-size: .76rem; padding-block: 9px; }
  .header nav > .button { font-size: .73rem; padding: 10px 8px; min-height: 39px; }
  .hero { padding-block: 21px 37px; }
  .hero-topline { margin-bottom: 12px; }
  .hero-topline { flex-wrap: wrap; }
  .hero-status { gap: 8px; width: 100%; }
  .server-population { font-size: .6rem; padding: 7px 9px; gap: 6px; }
  .hero-scroll { margin-left: auto; }
  .alpha-label { font-size: .56rem; padding: 7px 9px; letter-spacing: .025em; }
  .hero-scroll { font-size: .64rem; gap: 8px; }
  .hero-art > img { border-radius: 14px; }
  .hero-art figcaption { font-size: .61rem; gap: 12px; align-items: start; }
  .hero-art figcaption > span { font-size: .54rem; }
  .hero-copy { margin-top: 24px; gap: 17px; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.2rem); }
  .hero h1 br { display: initial; }
  .hero-heading .eyebrow { margin-bottom: 12px; }
  .hero-details .intro { font-size: .89rem; }
  .hero-details .actions { gap: 10px; }
  .hero-details .actions .button { width: 100%; }
  .hero-details .text-link { margin-top: 16px; }
  .section-head { gap: 20px; margin-bottom: 23px; }
  .section-head h2, .living h2, .arena-copy h2, .chapter-heading h2 { font-size: 2rem; }
  .adventure { padding-top: 27px; }
  .features { gap: 13px; }
  .features article { padding: 24px; }
  .number { flex-direction: row; align-items: center; margin-bottom: 19px; gap: 15px; }
  .features h3 { font-size: 1.22rem; }
  .discovery-strip { padding: 25px; border-radius: 17px; }
  .discovery-strip h2 { font-size: 1.6rem; }
  .living { padding-bottom: 40px; }
  .crew-grid { gap: 22px; }
  .crew-grid figcaption { padding: 20px; }
  .gallery-teaser { padding-bottom: 38px; }
  .arena-story { padding-block: 34px 38px; }
  .arena-art img, .living-art img, .discover-photo img, .guide-art img, .guide-game-photo img { border-radius: 15px; }
  .vote-banner { padding: 29px 25px; border-radius: 20px; }
  .vote-banner h2 { font-size: 2rem; }
  .vote-banner-action { flex-direction: row; align-items: center; width: 100%; gap: 15px; }
  .vote-banner-action .key-mark { padding: 12px; font-size: 2.3rem; border-radius: 13px; }
  .vote-banner-action .button { max-width: none; flex: 1; padding-inline: 12px; }
  .community { padding-block: 45px; }
  .footer { gap: 21px; padding-block: 28px; }
  .vote-page { padding-top: 34px; }
  .vote-heading h1, .guide-hero h1, .discover-hero h1 { font-size: clamp(2.5rem, 9.8vw, 3.4rem); }
  .vote-panel { padding: 24px; border-radius: 20px; }
  .vote-panel h2 { font-size: 1.7rem; }
  .vote-panel .panel-top { flex-wrap: wrap; gap: 12px; }
  .input-row { flex-direction: column; gap: 10px; }
  .input-row .button { width: 100%; }
  .route h2 { font-size: 1.85rem; }
  .reward summary { min-height: 230px; padding: 21px 17px 17px; }
  .reward strong { font-size: .92rem; }
  .reward-symbol { width: 43px; height: 43px; }
  .chance { top: 14px; right: 14px; }
  .premium-guide { padding: 26px 22px; border-radius: 20px; }
  .premium-guide h2 { font-size: 1.9rem; }
  .premium-layout { gap: 26px; }
  .premium-steps, .premium-loot { font-size: .86rem; }
  .premium-layout .chapter-note { padding-inline: 13px; }
  .dialog-inner { padding: 32px 25px; }
  .dialog-inner h2 { font-size: 1.8rem; }
  .guide-hero { padding-block: 34px 40px; }
  .guide-index { border-radius: 17px; padding: 25px; }
  .guide-steps h2 { font-size: 1.85rem; }
  .guide-step-number { font-size: 1.15rem; padding-top: 25px; }
  .gallery-heading { padding-block: 35px 29px; }
  .gallery-heading h1 { font-size: 3.3rem; }
  .gallery-grid { gap: 30px; }
  .gallery-filters { gap: 8px; }
  .gallery-filters button { font-size: .74rem; padding-inline: 14px; }
  .gallery-open { border-radius: 15px; }
  .gallery-shot h2 { font-size: 1.4rem; }
  .discover-index { padding: 18px; gap: 11px; }
  .discover-index a { font-size: .75rem; gap: 8px; }
  .building-plan { padding: 24px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Shared navigation: a single compact bar, with a native menu on smaller screens. */
.header { position: relative; z-index: 20; flex-wrap: nowrap; }
.header .brand { flex-shrink: 0; }
.site-navigation { margin-left: auto; min-width: 0; }
.menu-toggle { display: none; }
.header .site-navigation nav { width: auto; display: flex; flex-wrap: nowrap; gap: 17px; }
.header .site-navigation nav > a { white-space: nowrap; }
.header .header-join { flex-shrink: 0; min-height: 44px; padding: 12px 16px; }
.menu-close-icon { display: none; }

@media (min-width: 1101px) and (max-width: 1250px) {
  .header { gap: 16px; padding-inline: 18px; }
  .header .brand { font-size: 1.15rem; gap: 9px; }
  .header .brand img { width: 38px; height: 38px; }
  .header .brand small { font-size: .47rem; }
  .header .site-navigation nav { gap: 13px; font-size: .77rem; }
  .header .header-join { padding-inline: 13px; }
}

@media (max-width: 1100px) {
  .header { padding: 12px 16px; gap: 10px; margin-top: 12px; border-radius: 18px; }
  .header .brand { order: 1; flex: 1; font-size: 1.25rem; gap: 10px; }
  .header .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .header .brand small { font-size: .47rem; }
  .header .header-join { order: 2; font-size: .78rem; padding: 11px 14px; gap: 8px; }
  .site-navigation { order: 3; margin-left: 0; flex-shrink: 0; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    min-width: 44px; min-height: 44px; padding: 10px 12px;
    border: 1px solid #819ecb55; border-radius: 12px; background: #1b2b45;
    color: var(--text); cursor: pointer; list-style: none; font-size: .81rem; font-weight: 600;
  }
  .menu-toggle::-webkit-details-marker { display: none; }
  .menu-toggle:hover { background: #263956; }
  .menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
  .menu-toggle svg { width: 21px; height: 21px; flex-shrink: 0; }
  .site-navigation[open] .menu-toggle { border-color: var(--gold); background: #263956; }
  .site-navigation[open] .menu-open-icon { display: none; }
  .site-navigation[open] .menu-close-icon { display: block; }
  .header .site-navigation nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto; gap: 8px; padding: 12px; border: 1px solid #819ecb55;
    border-radius: 18px; background: #101d32; box-shadow: 0 18px 45px #0008;
  }
  .header .site-navigation nav > a {
    display: flex; align-items: center; min-height: 48px; padding: 12px 14px;
    border: 1px solid transparent; border-radius: 11px; background: #ffffff05;
    font-size: .88rem; text-align: left; grid-column: auto; text-decoration: none;
  }
  .header .site-navigation nav > a:hover { background: #ffffff0c; }
  .header .site-navigation nav > a[aria-current="page"] { background: #f2cd7617; border-color: #f2cd7645; }
}

@media (max-width: 650px) {
  .header { padding: 10px 12px; gap: 8px; }
  .header .brand { font-size: 1.06rem; gap: 8px; }
  .header .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .header .brand small, .menu-label { display: none; }
  .header .header-join { font-size: .74rem; padding: 10px; gap: 5px; }
  .header .header-join > span { display: none; }
  .menu-toggle { padding: 10px; }
}

@media (max-width: 359px) {
  .header { padding-inline: 10px; gap: 6px; }
  .header .brand { font-size: .94rem; gap: 6px; }
  .header .brand img { width: 28px; height: 28px; }
  .header .header-join { font-size: .7rem; padding-inline: 9px; }
  .header .site-navigation nav { grid-template-columns: 1fr; }
}
