@charset "UTF-8";

@font-face {
    font-family: "Cinzel";
    src: url('/fonts/Cinzel-Variable.ttf') format('truetype');
    font-weight: 400 900;
    font-display: swap;
}
@font-face {
    font-family: "Barlow Semi Condensed";
    src: url('/fonts/BarlowSemiCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Barlow Semi Condensed";
    src: url('/fonts/BarlowSemiCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600 900;
    font-display: swap;
}

:root {
    --paper: #f3e8ce;
    --ink: #243249;
    --muted: #6c6556;
    --blue: #1e5b92;
    --navy: #11243b;
    --gold: #b38537;
    --gold-light: #efd08b;
    --line: #d3bd90;
    --serif: 'Cinzel', Georgia, serif;
    --sans: 'Barlow Semi Condensed', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    background: var(--paper);
    background-image: radial-gradient(#9476420c 1px, transparent 1px);
    background-size: 5px 5px;
    color: var(--ink);
    font: 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
a, button { transition: color .18s, background .18s, transform .18s, box-shadow .18s; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid #30a2da; outline-offset: 5px; }
::selection { background: #d4b770; color: #10243b; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.17;
    letter-spacing: -.025em;
}
h1 { font-size: clamp(40px, 4.8vw, 68px); }
h2 { font-size: clamp(30px, 3vw, 43px); }
h3 { font-size: 25px; }
h1 em, h2 em { font-style: normal; color: #997026; }
p { color: var(--muted); }
.wrap { width: min(1280px, calc(100% - 100px)); margin-inline: auto; }
.eyebrow {
    display: block;
    color: #89601f;
    font: 600 11px/1.8 var(--sans);
    letter-spacing: .22em;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 20px; line-height: 1.7; }
.game-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    vertical-align: middle;
    overflow: visible;
    filter: drop-shadow(0 2px 1px #0003);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 55px;
    padding: 14px 25px;
    color: #fff5d8;
    background: linear-gradient(#286fa7, #174b78);
    border: 1px solid #bc934d;
    border-radius: 2px;
    box-shadow: inset 0 0 0 3px #0c2b4644, inset 0 1px #b0ddf433, 0 3px 0 #10263e, 0 5px 10px #11243b20;
    font: 600 12px/1.5 var(--serif);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.button:hover {
    background: linear-gradient(#3384bc, #1d5e95);
    color: #fff6d8;
    border-color: #efcf84;
    box-shadow: inset 0 0 0 3px #0c2b4633, 0 3px 0 #10263e, 0 5px 17px #236b9533;
    transform: translateY(-2px);
}
.button .game-icon { width: 27px; height: 27px; }
.button span { font-size: 19px; line-height: 1; }
.button-small { min-height: 45px; padding: 10px 20px; gap: 18px; font-size: 10px; }
.button-outline { background: transparent; box-shadow: inset 0 0 0 3px #c89c3a15; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 21px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .035em;
}
.text-link span { font-size: 23px; }
.text-link:hover span { transform: translateX(3px); }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--navy); color: white; padding: 10px 20px; z-index: 20; }
.skip-link:focus { top: 10px; }

/* The navigation reads like a game crest and command bar. */
.site-header {
    height: 91px;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, #18334d, #102238);
    color: #f7e8c3;
    border-bottom: 2px solid #ba9452;
    box-shadow: inset 0 -4px #071b2b, 0 2px 8px #0b1b2a40;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #f2d595;
    font: 600 39px/1 var(--serif);
    letter-spacing: .065em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #0005;
}
.brand .game-icon { width: 39px; height: 45px; }
/* The name and what the game is named after, one above the other: the same
   lockup the client's menu and the launcher's window show. The subtitle is
   tracked wide so its line ends short of the name above it. */
.brand-words { display: flex; flex-direction: column; gap: 5px; }
.brand-name { line-height: 1; }
.brand-sub {
    font: 600 12px/1 var(--sans);
    letter-spacing: .4em;
    color: #c9ab6a;
}
.site-navigation { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: .055em; }
.site-navigation>a:not(.button) { padding-block: 10px; }
.site-navigation>a[aria-current=page] { color: var(--gold-light); text-decoration: underline; text-underline-offset: 9px; text-decoration-color: #bf9650; }
.site-navigation>a:hover { color: var(--gold-light); }
.site-navigation form { margin: 0; }
.nav-divider { height: 22px; width: 1px; background: #b796604f; margin-inline: 3px; }
.menu-toggle { display: none; }

/* The original landscape is used only here, as the game's cover. */
.hero { position: relative; min-height: 650px; overflow: hidden; background: #142f45; border-bottom: 2px solid #b89552; }
.hero-art { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d2035ed 0%, #102b42dc 21%, #102b428c 41%, #102b4212 66%, transparent 80%), linear-gradient(0deg, #102a3b44, transparent 35%);
}
.hero-inner { position: relative; min-height: 650px; display: flex; align-items: center; padding-block: 65px 78px; }
.hero-copy { max-width: 650px; color: #fff8df; }
.hero .eyebrow { display: flex; gap: 13px; align-items: center; color: #f2d58f; margin-bottom: 23px; font-size: 11px; }
.hero .eyebrow .game-icon { width: 23px; height: 29px; }
.hero h1 { font-size: clamp(47px, 4.8vw, 74px); line-height: 1.13; text-shadow: 0 3px 8px #091a2b66; letter-spacing: -.025em; }
.hero h1 em { color: #efd18c; }
.hero-rule { display: flex; align-items: center; gap: 12px; width: 200px; color: #d8ad5e; margin-block: 23px; font-size: 10px; }
.hero-rule span { height: 1px; flex: 1; background: linear-gradient(90deg, #e5bd74, #e5bd7400); }
.hero-rule span:first-child { transform: rotate(180deg); }
.hero-copy>p { color: #edf0e5; font-size: 19px; line-height: 1.7; text-shadow: 0 2px 5px #081c2d; }
.hero-actions { display: flex; align-items: center; gap: 31px; margin-top: 29px; }
.hero-actions .button { min-height: 59px; }
.hero-actions .text-link { color: #fff2cb; }
.promise-strip { background: linear-gradient(#19364e, #10263c); color: #f7e4ba; border-bottom: 3px double #ab8343; }
.promise-inner { min-height: 91px; display: flex; align-items: center; justify-content: center; gap: 65px; }
.promise-inner>span:not(.strip-spark) { display: flex; gap: 15px; align-items: center; font: 600 15px var(--serif); letter-spacing: .015em; }
.promise-inner .game-icon { width: 37px; height: 37px; }
.strip-spark { font-size: 9px; color: #a38551; }

.intro-section { padding-block: 80px; }
.home-feature { display: grid; grid-template-columns: 1.12fr 1fr; gap: 65px; align-items: center; padding-block: 80px; scroll-margin-top: 30px; }
.home-feature-art { padding: 8px; background: #e3ce9f; border: 1px solid #b38b48; box-shadow: 8px 8px 0 #ad8c5726; }
.home-feature-art img { display: block; width: 100%; height: auto; }
.defense-feature img { aspect-ratio: 4 / 3; object-fit: cover; }
.home-feature-copy h2 { margin-block: 16px 23px; }
.home-feature-copy p { font-size: 18px; }
.home-feature-copy p+p { margin-top: 16px; }
.home-feature-copy .text-link { margin-top: 23px; }
.growth-section { padding-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 50px; margin-bottom: 38px; }
.section-heading h2 { margin-top: 14px; }
.intro-aside { max-width: 300px; border-left: 2px solid #c4a365; padding-left: 24px; }
.intro-aside p { margin-bottom: 15px; font-size: 17px; }
.chapter-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.chapter-list>a {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr 20px;
    gap: 14px 17px;
    align-items: center;
    padding: 28px 23px;
    background: linear-gradient(135deg, #fcf3dd, #e9d8b1);
    border: 1px solid #bea064;
    box-shadow: inset 0 0 0 4px #f9edcf, inset 0 0 0 5px #d4bb82, 0 4px 0 #b7a07b38;
}
.chapter-list>a:hover { transform: translateY(-4px); color: var(--ink); box-shadow: inset 0 0 0 4px #f9edcf, inset 0 0 0 5px #b58a3d, 0 7px 18px #6d50201f; }
.chapter-list .game-icon { grid-row: 1 / 3; width: 53px; height: 60px; }
.chapter-list h3 { grid-column: 2; font-size: 21px; }
.chapter-list p { grid-column: 2 / 4; font-size: 15px; line-height: 1.5; }
.chapter-number { position: absolute; right: 15px; top: 9px; font: 600 10px var(--serif); color: #aa8b51; }
.chapter-arrow { grid-column: 3; grid-row: 1; color: #937039; }
.realm-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding-block: 0 80px; }
.realm-preview h2 { margin-top: 14px; }
.realm-preview-copy { padding-top: 3px; }
.realm-preview-copy p { font-size: 18px; max-width: 62ch; }
.realm-preview-copy h2+p { margin-top: 20px; }
.realm-map-preview { display: block; padding: 6px; background: #e3ce9f; border: 1px solid #b38b48; box-shadow: 8px 8px 0 #ad8c5726; }
.realm-map-preview:hover { transform: translateY(-3px); }
.realm-map-preview img { display: block; width: 100%; height: auto; }
.realm-preview-copy p+p { margin-top: 15px; }
.realm-preview-copy .text-link { margin-top: 20px; }
.invitation { position: relative; min-height: 385px; display: flex; align-items: center; overflow: hidden; margin-bottom: 80px; border: 1px solid #b78e4d; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px #c7ac75; background: #11243b; }
.invitation::after { content: ''; position: absolute; inset: 7px; pointer-events: none; border: 1px solid #d6b66a60; }
.invitation-art { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 18%, #11243b40 42%, #11243bf0 64%, #11243b 85%), url('/images/thale-equipment.webp') left center / cover no-repeat; }
.invitation-copy { position: relative; z-index: 1; padding: 48px 6% 48px 57%; color: #fff0cb; }
.invitation h2 { font-size: 39px; margin-top: 13px; }
.invitation .eyebrow { color: #dfbf78; }
.invitation p { color: #d2d8d6; margin-block: 21px 26px; font-size: 17px; }
.site-footer { background: linear-gradient(#173047, #0e2034); border-top: 3px double #c09b54; color: #ddcca7; }
.footer-top { display: flex; align-items: center; gap: 35px; padding-block: 32px; border-bottom: 1px solid #b38d4540; }
.footer-brand { font-size: 32px; }
.footer-top p { color: #ccba94; font-size: 17px; }
.back-top { margin-left: auto; display: flex; gap: 18px; font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 23px; font-size: 12px; color: #a9b3b7; }
.footer-bottom nav { display: flex; gap: 25px; }
.footer-note { display: flex; gap: 15px; align-items: center; color: #ceb47a; }
.footer-note span { font-size: 9px; }

/* Each illustrated area has its own scene. */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; padding-block: 70px; }
.about-hero h1 { margin-block: 23px; font-size: clamp(40px, 4.5vw, 65px); }
.about-hero .text-link { margin-top: 27px; }
.about-figure { position: relative; border: 1px solid #b38b48; padding: 8px; background: #e3ce9f; box-shadow: 8px 8px 0 #ad8c5730; }
.about-figure::after { content: ''; pointer-events: none; position: absolute; inset: 15px; border: 1px solid #ffe7ac70; }
.about-figure img { display: block; width: 100%; height: auto; }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; padding-block: 25px 80px; }
.about-heading { padding-top: 28px; align-self: start; position: sticky; top: 32px; }
.about-heading h2 { margin-block: 18px 25px; }
.about-heading p { font-size: 18px; }
.about-seal { width: 65px; height: 75px; margin-top: 28px; }
.about-chapters article { padding-block: 31px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.about-chapters article:last-child { border-bottom: 1px solid var(--line); }
.about-chapters h2 { font-size: 30px; margin-block: 11px 16px; }
.about-chapters p+p { margin-top: 16px; }
.about-map-jump { margin-top: 24px; }
.about-heading .about-seal { display: block; }
.defense-cycle { margin: 22px 0; padding-left: 23px; color: var(--muted); }
.defense-cycle li { padding-left: 5px; }
.defense-cycle li+li { margin-top: 12px; }
.defense-cycle strong { color: var(--ink); font-weight: 600; }
.world-map-section { padding-bottom: 70px; scroll-margin-top: 30px; }
.world-map-figure { margin: 0; border: 1px solid #b38b48; padding: 8px; background: #e3ce9f; }
.world-map-link { display: block; position: relative; }
.world-map-link img { display: block; width: 100%; height: auto; }
.map-open-label { position: absolute; right: 15px; bottom: 15px; display: inline-flex; align-items: center; gap: 15px; padding: 8px 13px; background: var(--navy); color: #fff0cb; border: 1px solid #bd9952; font-size: 14px; }
.world-map-link:hover .map-open-label { background: #1d4568; color: #fff0cb; }
.map-landmarks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 30px 0 0; }
.map-landmarks>div { border-left: 2px solid #b38b48; padding-left: 19px; }
.map-landmarks dt { font: 600 20px/1.4 var(--serif); }
.map-landmarks dd { margin: 9px 0 0; color: var(--muted); }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 35px 40px; margin-bottom: 80px; background: #e7d5ac; border-block: 3px double #b39151; }
.about-cta>.game-icon { width: 50px; height: 55px; }
.about-cta h2 { font-size: 31px; }
.about-cta .eyebrow { margin-bottom: 9px; }
.download-page { min-height: 70vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-block: 85px; }
.download-intro h1 { margin-block: 20px 25px; }
.download-intro .text-link { margin-top: 25px; }
.download-card { padding: 45px 35px; text-align: center; background: linear-gradient(135deg, #fcf3dd, #e9d8b1); border: 1px solid #b38b48; box-shadow: inset 0 0 0 6px #f9edcf, inset 0 0 0 7px #d4bb82, 8px 8px 0 #ad8c5726; }
.download-crest { display: block; width: 70px; height: 84px; margin: 0 auto 25px; }
.download-card h2 { font-size: 32px; margin-block: 13px 20px; }
.download-card p { font-size: 19px; max-width: 34ch; margin-inline: auto; }
.download-card .button, .download-card .text-link { margin-top: 28px; }
.document-page { max-width: 1000px; padding-block: 60px 100px; min-height: 65vh; }
.document-page>.eyebrow { margin-block: 45px 18px; }
.document-page h1 { font-size: clamp(36px, 4vw, 55px); }
.legal-page { max-width: 1000px; }
.legal-meta { margin-block: 24px 32px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: 15px; }
.legal-document { max-width: 860px; line-height: 1.8; color: var(--muted); }
.legal-document p+p { margin-top: 14px; }
.legal-document h2 { margin-block: 38px 15px; font-size: 25px; line-height: 1.35; color: var(--ink); scroll-margin-top: 30px; }
.legal-document h3 { margin-block: 23px 10px; font-size: 19px; color: var(--ink); }
.legal-document ul { padding-left: 23px; margin-block: 16px; }
.legal-document li+li { margin-top: 9px; }
.legal-document strong { color: var(--ink); }
.legal-document a, .registration-legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-document a:hover, .registration-legal a:hover { color: #8b641f; }
.legal-toc { margin-block: 32px; padding: 22px 26px; background: #f8eed7; border-block: 3px double var(--line); }
.legal-toc h2 { margin: 0 0 15px; font-size: 21px; }
.legal-contents { columns: 2 270px; column-gap: 35px; padding-left: 23px; margin: 0; }
.legal-contents li { break-inside: avoid; padding-left: 3px; font-size: 16px; }
.legal-contact { display: flex; flex-direction: column; align-items: flex-start; margin-block: 18px; font-style: normal; }
.legal-contact+p { margin-top: 16px; }
.registration-legal { margin-top: 20px; font-size: 14px; line-height: 1.6; }
.document-page>.lead { margin-block: 27px; }
.document-page>.small { margin-top: 25px; }

.account-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; padding-block: 65px 80px; min-height: 740px; }
.account-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 650px;
    align-self: stretch;
    align-items: center;
    padding: 45px 25px;
    color: #fff1d0;
    text-align: center;
    background: linear-gradient(180deg, #10263bf0 0%, #10263bc0 21%, #10263b10 57%, #10263b40), image-set(url('/images/thale-tavern-640.webp') 1x, url('/images/thale-tavern.webp') 2x) center / cover;
    border: 1px solid #a47d3e;
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px #c3a269;
}
.account-story::after { content: ''; position: absolute; inset: 8px; border: 1px solid #e3bd7260; pointer-events: none; }
.account-story>.eyebrow { color: #e5c888; font-size: 10px; }
.account-story h1 { font-size: 46px; margin-top: 23px; text-shadow: 0 3px 8px #102238; }
.account-story p { color: #eddfc1; margin-block: 22px; font-size: 18px; text-shadow: 0 2px 6px #102238; }
.account-story .text-link { color: #fff0cb; text-shadow: 0 2px 6px #102238; }
.story-seal { margin-top: auto; padding-top: 50px; }
.story-seal .game-icon { width: 50px; height: 58px; }
.account-panel { width: 100%; max-width: 450px; padding-block: 15px; }
.account-panel h2 { font-size: 34px; margin-block: 13px 18px; }
.account-panel>.muted { font-size: 17px; margin-bottom: 23px; }
.account-form { display: flex; flex-direction: column; gap: 7px; }
.account-form label { font-size: 15px; font-weight: 600; margin-top: 12px; }
.account-form input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-height: 49px; border: 1px solid #b59c6e; border-radius: 2px; background: #fff9e9; padding: 10px 13px; font-size: 17px; color: var(--ink); box-shadow: inset 0 2px 3px #5b40100b; }
.account-form input.input-validation-error { border-color: #a14330 !important; }
.account-form small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.account-form .button { margin-top: 22px; width: 100%; justify-content: space-between; }
.validation { font-size: 14px; line-height: 1.6; color: #a13d2a; }
.validation ul { margin: 0; padding-left: 19px; }
.validation-summary-valid, .field-validation-valid { display: none; }
.form-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-top: 12px; gap: 10px; }
.form-row .checkbox { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 400; }
.checkbox input { accent-color: var(--blue); width: 16px; height: 16px; }
.form-foot { display: block; margin-block: 25px 15px; font-size: 15px; }
.form-foot a, .account-panel>.small a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.account-panel>.small { display: block; margin-top: 15px; }
.text-button { border: 0; background: none; padding: 0; color: var(--blue); text-decoration: underline; font-size: 15px; }
.account-detail { display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--line); padding-block: 20px; margin-bottom: 30px; font-size: 16px; }
.status-pill { font-size: 13px; background: #d9e3d0; color: #35552e; padding: 3px 11px; border: 1px solid #91aa78; }

.ranks-page { max-width: 1080px; padding-block: 65px 85px; min-height: 75vh; }
.ranks-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 55px; }
.ranks-heading h1 { margin-block: 20px; }
.ranks-heading .lead { font-size: 19px; }
.ranks-emblem { padding: 30px; }
.ranks-emblem .game-icon { width: 135px; height: 135px; filter: drop-shadow(0 5px 2px #734b222b); }
.ranks-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ranks-toolbar h2 { font-size: 29px; }
.ranks-toolbar>span { font-size: 15px; color: var(--muted); }
.ranks-table-frame { overflow-x: auto; border: 1px solid #b09255; background: #fbf2dc; box-shadow: 0 0 0 4px #e6d6b1, 0 0 0 5px #c9ad74; }
.ranks-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; }
.ranks-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ranks-table thead { background: linear-gradient(#1f425f, #14324b); color: #f3d99d; font: 600 11px var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.ranks-table th, .ranks-table td { padding: 20px 26px; }
.ranks-table thead th { font-weight: 600; }
.ranks-table th:first-child { width: 95px; }
.ranks-table tbody tr+tr { border-top: 1px solid #dac697; }
.ranks-table tbody th { font-weight: 600; overflow-wrap: anywhere; }
.ranks-table td:nth-child(n+3), .ranks-table th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.rank-position { font: 600 18px var(--serif); color: var(--muted); }
.rank-leading { color: #a06f18; text-shadow: 0 1px #fff5d7; }
.rank-level { display: inline-flex; justify-content: center; min-width: 34px; border: 1px solid #b39759; padding: 2px 7px; color: #e8c878; background: #1c3b54; font-size: 14px; }
.rank-is-you { background: #e4e7d0; }
.rank-you { display: inline-block; margin-left: 7px; font-size: 12px; font-weight: 400; color: var(--muted); }
.ranks-empty { text-align: center; padding: 35px 15px 45px; }
.ranks-empty>span { display: block; font-size: 43px; color: #b49044; margin-bottom: 20px; }
.ranks-empty h3 { margin-bottom: 15px; font-size: 28px; }
.ranks-empty p { font-size: 17px; margin-bottom: 25px; }
.ranks-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: 14px; }
.ranks-pagination { display: flex; gap: 22px; align-items: center; }
.ranks-pagination span { color: var(--muted); }
.ornament { color: var(--gold); font-size: 35px; }

@media (min-width: 1600px) {
    .hero, .hero-inner { min-height: 720px; }
    .hero-art { object-position: center 52%; }
}
@media (max-width: 1100px) {
    .wrap { width: calc(100% - 64px); }
    .site-navigation { gap: 20px; font-size: 13px; }
    .brand { font-size: 34px; gap: 8px; }
    .brand .game-icon { width: 33px; height: 39px; }
    .brand-sub { font-size: 11px; letter-spacing: .38em; }
    .site-navigation .button-small { padding-inline: 14px; font-size: 9px; gap: 14px; }
    .promise-inner { gap: 28px; }
    .promise-inner>span:not(.strip-spark) { font-size: 13px; gap: 11px; }
    .promise-inner .game-icon { width: 31px; height: 34px; }
    .chapter-list { gap: 16px; }
    .home-feature { gap: 40px; }
    .chapter-list>a { grid-template-columns: 43px 1fr 13px; padding: 27px 18px; gap: 12px; }
    .chapter-list .game-icon { width: 39px; height: 47px; }
    .chapter-list h3 { font-size: 19px; }
    .chapter-list p { font-size: 14px; }
    .account-shell { gap: 50px; }
    .account-story h1 { font-size: 38px; }
    .about-hero, .about-body, .realm-preview { gap: 45px; }
    .about-cta h2 { font-size: 25px; }
    .footer-note { display: none; }
    .invitation h2 { font-size: 32px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
    .menu-toggle { display: flex; align-items: center; gap: 14px; border: 1px solid #94743c; padding: 7px 12px; font-size: 14px; color: #f1d599; background: #15314a; }
    .site-navigation { display: none; position: absolute; left: 0; right: 0; top: 90px; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 32px 25px; background: var(--navy); border-bottom: 2px solid #c29a50; box-shadow: 0 12px 25px #10223855; }
    .site-navigation.is-open { display: flex; }
    .site-navigation>a:not(.button) { padding: 13px; font-size: 15px; }
    .site-navigation .button { margin-top: 10px; justify-content: space-between; font-size: 11px; }
    .site-navigation form .button { width: 100%; }
    .nav-divider { height: 1px; width: 100%; margin: 8px 0; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { height: 77px; }
    .brand { font-size: 31px; }
    .brand .game-icon { width: 30px; height: 36px; }
    .brand-words { gap: 4px; }
    .brand-sub { font-size: 10px; letter-spacing: .34em; }
    .menu-toggle { display: flex; align-items: center; gap: 14px; border: 1px solid #94743c; padding: 7px 12px; font-size: 14px; color: #f1d599; background: #15314a; }
    .site-navigation { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 20px 25px; background: var(--navy); border-bottom: 2px solid #c29a50; box-shadow: 0 12px 25px #10223855; }
    .site-navigation.is-open { display: flex; }
    .site-navigation>a:not(.button) { padding: 13px; font-size: 15px; }
    .site-navigation .button { margin-top: 10px; justify-content: space-between; font-size: 11px; }
    .site-navigation form .button { width: 100%; }
    .nav-divider { height: 1px; width: 100%; margin: 8px 0; }
    .hero, .hero-inner { min-height: 745px; }
    .hero-art { object-position: 68% center; }
    .hero-shade { background: linear-gradient(180deg, #10263bed, #10263bd9 35%, #10263bbb 65%, #10263b99 80%, #10263b15); }
    .hero-inner { align-items: flex-start; padding-block: 45px 270px; }
    .hero h1 { font-size: clamp(39px, 9vw, 57px); line-height: 1.16; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .14em; gap: 9px; margin-bottom: 19px; }
    .hero .eyebrow .game-icon { width: 21px; height: 25px; }
    .hero-rule { margin-block: 19px; width: 160px; }
    .hero-copy>p { font-size: 18px; line-height: 1.6; }
    .hero-actions { flex-wrap: wrap; margin-top: 25px; gap: 20px; }
    .hero-actions .button { padding: 12px 17px; min-height: 54px; font-size: 10px; gap: 13px; }
    .hero-actions .button .game-icon { width: 24px; height: 25px; }
    .hero-actions .text-link { font-size: 14px; gap: 11px; }
    .promise-inner { flex-direction: column; align-items: flex-start; gap: 19px; padding-block: 28px; padding-left: 22px; }
    .promise-inner>span:not(.strip-spark) { font-size: 14px; gap: 19px; }
    .promise-inner .game-icon { width: 33px; height: 35px; }
    .strip-spark { display: none; }
    .intro-section { padding-block: 50px; }
    .home-feature { grid-template-columns: 1fr; gap: 28px; padding-block: 45px 50px; }
    .home-feature-copy h2 { font-size: 31px; }
    .home-feature-copy p { font-size: 17px; }
    .home-feature-art { padding: 5px; }
    .growth-section { padding-top: 0; }
    .realm-preview { grid-template-columns: 1fr; gap: 23px; padding-bottom: 50px; }
    .realm-preview h2 { font-size: 31px; }
    .realm-preview-copy p { font-size: 17px; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-heading h2 { font-size: 31px; }
    .intro-aside { margin-top: 25px; max-width: none; padding-left: 17px; }
    .intro-aside p { font-size: 16px; margin-bottom: 8px; }
    .chapter-list { grid-template-columns: 1fr; gap: 17px; }
    .chapter-list>a { padding: 25px 23px; grid-template-columns: 58px 1fr 20px; gap: 10px 18px; }
    .chapter-list .game-icon { width: 49px; height: 55px; }
    .chapter-list h3 { font-size: 22px; }
    .chapter-list p { font-size: 16px; }
    .invitation { min-height: 580px; align-items: flex-start; margin-bottom: 55px; }
    .invitation-art { background: linear-gradient(180deg, #11243b 0%, #11243bfa 20%, #11243b55 53%, transparent 76%), url('/images/thale-equipment-768.webp') 28% bottom / auto 420px no-repeat; }
    .invitation-copy { padding: 35px 27px; }
    .invitation h2 { font-size: 31px; }
    .invitation p { font-size: 17px; margin-block: 18px 22px; }
    .invitation .eyebrow { font-size: 10px; }
    .invitation .button { font-size: 10px; padding-inline: 19px; }
    .footer-top { gap: 17px; flex-wrap: wrap; padding-block: 28px; }
    .footer-brand { font-size: 30px; }
    .footer-top p { order: 3; width: 100%; font-size: 16px; }
    .back-top { font-size: 12px; }
    .footer-bottom { flex-wrap: wrap; gap: 15px; padding-block: 20px; font-size: 11px; }
    .footer-bottom nav { gap: 20px; }
    .about-hero { grid-template-columns: 1fr; gap: 35px; padding-block: 45px; }
    .about-hero h1 { font-size: 40px; }
    .about-hero .eyebrow { font-size: 10px; }
    .about-figure { width: 100%; max-width: 450px; margin-inline: auto; }
    .about-body { grid-template-columns: 1fr; gap: 28px; padding-block: 0 50px; }
    .about-heading { position: static; }
    .about-heading h2 { font-size: 33px; }
    .about-heading .about-seal { display: none; }
    .about-chapters article { padding-block: 27px; }
    .world-map-section { padding-bottom: 45px; }
    .world-map-figure { padding: 4px; }
    .map-open-label { position: static; display: flex; justify-content: center; padding: 11px; border-inline: 0; border-bottom: 0; }
    .map-landmarks { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
    .map-landmarks dt { font-size: 19px; }
    .map-landmarks dd { margin-top: 5px; }
    .about-cta { flex-direction: column; text-align: center; margin-bottom: 55px; padding: 28px 20px; gap: 20px; }
    .about-cta h2 { font-size: 26px; }
    .about-cta>.game-icon { width: 40px; height: 45px; }
    .document-page { padding-block: 37px 60px; min-height: 68vh; }
    .download-page { grid-template-columns: 1fr; gap: 35px; padding-block: 45px 60px; }
    .download-intro h1 { font-size: 40px; }
    .download-intro .lead { font-size: 18px; }
    .download-card { padding: 35px 22px; }
    .download-card h2 { font-size: 27px; }
    .document-page h1 { font-size: 35px; }
    .document-page>.eyebrow { margin-top: 35px; font-size: 10px; }
    .legal-meta { font-size: 14px; }
    .legal-document h2 { font-size: 22px; }
    .legal-toc { padding: 20px 17px; }
    .legal-contents { columns: 1; }
    .account-shell { grid-template-columns: 1fr; gap: 0; padding-block: 40px 60px; min-height: 650px; }
    .account-story { display: none; }
    .account-panel { max-width: 450px; margin-inline: auto; }
    .account-panel h2 { font-size: 30px; }
    .form-row { font-size: 13px; }
    .ranks-page { padding-block: 43px 60px; }
    .ranks-heading { margin-bottom: 37px; }
    .ranks-heading h1 { font-size: 40px; }
    .ranks-emblem { display: none; }
    .ranks-heading .lead { font-size: 17px; }
    .ranks-table th, .ranks-table td { padding: 16px 10px; }
    .ranks-table th:first-child { width: 45px; }
    .ranks-table { font-size: 15px; }
    .ranks-table thead { font-size: 9px; letter-spacing: 0; }
    .ranks-empty { padding: 30px 0; }
    .ranks-empty h3 { font-size: 23px; }
    .ranks-empty p { font-size: 16px; }
    .ranks-toolbar h2 { font-size: 24px; }
    .ranks-toolbar>span { font-size: 13px; }
    .ranks-pagination { justify-content: space-between; width: 100%; gap: 12px; }
}
@media (max-width: 380px) {
    .chapter-list>a { grid-template-columns: 44px minmax(0, 1fr) 16px; padding: 23px 16px; gap: 10px 12px; }
    .chapter-list .game-icon { width: 40px; height: 46px; grid-row: 1; }
    .chapter-list h3 { font-size: 20px; }
    .chapter-list p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
