:root {
    --paper: #faf3e8;
    --paper-light: #fffaf3;
    --ink: #351d24;
    --red: #7b2029;
    --red-dark: #4c101b;
    --muted: #705c5d;
    --line: #d5c1b7;
    --gold: #e4bd7d;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; scrollbar-color: #9c4c3e #eadac6; scrollbar-width: thin; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #efd1b2; color: var(--red-dark); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; background: none; border: 0; }
button:disabled { cursor: wait; opacity: .65; }
a, button, input, summary, select, [tabindex] { scroll-margin-block: 95px; -webkit-tap-highlight-color: transparent; }
:is(a, button, input, summary, select):focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; }
em { color: var(--red); font-weight: 400; }
p + p { margin-top: 16px; }
section[id], article[id], aside[id], main[id] { scroll-margin-top: 12px; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; transform: translateY(-180%); padding: 12px 20px; background: var(--red); color: white; }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-index, .metric-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { color: var(--red); }
.utility-bar { background: var(--red-dark); color: #fff1d8; font-size: 11px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 30px; gap: 20px; }
.utility-inner a { font-weight: 700; text-decoration: none; display: inline-block; padding: 5px 0; }
.utility-right { word-spacing: 4px; }
.masthead { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; align-items: center; min-height: 106px; border-bottom: 1px solid var(--ink); }
.masthead-aside { display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
.masthead-aside .eyebrow { font-size: 9px; letter-spacing: .08em; }
.masthead-right { text-align: right; color: var(--muted); }
.masthead-right strong { font: 17px var(--serif); color: var(--ink); }
.brand { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.brand img { width: 330px; }
.nav-wrap { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.nav-wrap:after { content: ''; position: absolute; height: 2px; background: var(--red); bottom: -2px; left: 0; transform-origin: left; pointer-events: none; }
.main-nav { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 20px; }
.nav-links { display: flex; gap: 29px; align-items: center; }
.nav-links a { display: flex; align-items: center; min-height: 56px; font-size: 12px; font-weight: 700; text-decoration: none; position: relative; white-space: nowrap; }
.nav-links a:after { content: ''; position: absolute; left: 0; bottom: 11px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:is(:hover, [aria-current]):after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 22px; padding: 9px 16px; min-height: 40px; background: var(--red); color: #fff1d8; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .2s; }
.nav-cta:hover { background: var(--red-dark); }
.menu-toggle { font-size: 14px; min-height: 48px; padding: 0 5px; font-weight: 700; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; }
.menu-symbol { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; height: 24px; }
.menu-symbol i { display: block; width: 20px; height: 2px; background: currentColor; transform-origin: center; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded=true] .menu-symbol i:nth-child(1), .drawer-close .menu-symbol i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-symbol i:nth-child(2), .drawer-close .menu-symbol i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded=true] .menu-symbol i:nth-child(3), .drawer-close .menu-symbol i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
dialog.mobile-menu { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(380px, calc(100vw - 28px)); max-width: none; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-right: 1px solid #b88e76; background: var(--paper); color: var(--ink); overflow-y: auto; box-shadow: 10px 0 50px #21061140; }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: #350d1bc9; backdrop-filter: blur(3px); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 23px 21px; border-bottom: 1px solid var(--line); }
.drawer-header img { width: min(230px, calc(100% - 55px)); }
.drawer-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid #c5aa9b; color: var(--red); }
.drawer-close:hover { background: #efdfce; }
.drawer-body { padding: 29px 28px 20px; }
.drawer-body > .eyebrow { font-size: 9px; }
.drawer-body h2 { font-size: 33px; margin: 13px 0 25px; }
.drawer-body nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer-body nav a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; min-height: 60px; border-bottom: 1px solid var(--line); font: 24px/1.3 var(--serif); text-decoration: none; }
.drawer-body nav a > span { color: var(--red); font: 19px var(--sans); transition: transform .25s; }
.drawer-body nav a:hover { color: var(--red); }
.drawer-body nav a[aria-current] { color: var(--red); font-style: italic; }
.drawer-body nav a:hover > span { transform: translate(3px, -3px); }
.drawer-footer { margin-top: auto; padding: 15px 28px 26px; }
.drawer-footer .button { width: 100%; }
.drawer-footer > span { display: block; margin-top: 15px; font-size: 11px; text-align: center; color: var(--muted); }
.edition-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; font-size: 11px; color: var(--muted); }
.edition-line a { text-decoration: none; padding: 9px 0; color: var(--red); }
.edition-line a:hover { text-decoration: underline; }
.hero-section { border: 1px solid #c9ad9a; }
.welcome-scene { position: relative; isolation: isolate; overflow: hidden; color: #fff4dc; background: #421320; min-height: 350px; display: flex; align-items: center; }
.welcome-scene-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -3; }
.welcome-scene:before { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, #2b0c1bf0, #5a1725df 48%, #280d196b), linear-gradient(0deg, #2c0b1db3, transparent 70%); z-index: -2; }
.welcome-scene:after { content: ''; position: absolute; inset: 15px; border: 1px solid #ecc68b60; z-index: -1; pointer-events: none; }
.welcome-scene-content { width: min(625px, 65%); padding: 35px 48px 37px; }
.welcome-scene-content > .eyebrow { color: #f3d598; letter-spacing: .14em; font-size: 10px; }
.welcome-scene h1 { font-size: clamp(57px, 5.5vw, 76px); line-height: .98; letter-spacing: -.045em; margin: 15px 0 20px; }
.welcome-scene h1 em { color: #f0c67d; }
.welcome-scene-content > p { color: #f9e8d7; font-size: 15px; line-height: 1.75; max-width: 400px; }
.welcome-scene-content strong { color: #f4cd89; font-weight: 700; }
.welcome-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.5; transition: transform .22s, background .22s, box-shadow .22s; }
.button > span { font-size: 19px; line-height: 1; transition: transform .22s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #4c101b19; }
.button:hover > span { transform: translate(2px, -2px); }
.button:active { transform: translateY(1px); }
.button-gold { background: var(--gold); color: #431624; border-color: #f3d9a7; }
.button-gold:hover { background: #f5d39a; }
.button-dark { background: var(--red); color: #fff1d8; }
.button-dark:hover { background: var(--red-dark); }
.welcome-next { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; text-decoration: none; font-size: 12px; font-weight: 700; color: #ffefd8; }
.welcome-next:hover { text-decoration: underline; }
.scene-caption { position: absolute; right: 30px; bottom: 27px; display: flex; align-items: center; gap: 9px; color: #fff1d8; background: #421320e8; padding: 7px 12px; font-size: 12px; font-family: var(--serif); }
.scene-caption img { width: 36px; height: 36px; object-fit: contain; }
.scene-caption small { display: block; font: 9px/1.7 var(--sans); color: #f4d4b2; }
.status-section { padding: 23px 0 27px; border-bottom: 3px double var(--ink); }
.status-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.status-heading h2 { font-size: 23px; letter-spacing: -.025em; }
.status-refresh { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--muted); }
.status-refresh button { font-size: 11px; min-height: 35px; padding: 0 5px; color: var(--red); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.status-refresh button > span { display: inline-block; margin-right: 3px; font-size: 18px; text-decoration: none; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.status-card { display: block; min-width: 0; padding: 17px 21px 11px; background: var(--paper-light); border: 1px solid #cbb4a8; border-top: 3px solid var(--red); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.status-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 7px 18px #4c101b0c; }
.status-card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.status-card h3 { font-size: 24px; color: var(--red-dark); }
.state-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 11px; font-weight: 700; color: #665658; letter-spacing: 0; line-height: 1.5; }
.state-label:before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #867578; }
.state-label[data-state=online] { color: #27623d; }
.state-label[data-state=online]:before { background: #27623d; }
.state-label[data-state=unavailable] { color: #705c5d; }
.status-card p { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 8px 0 11px; }
.status-card p strong { font-family: var(--serif); font-size: 30px; line-height: 1.2; font-weight: 400; color: var(--red-dark); }
.status-card p span { font-size: 12px; color: var(--muted); }
.status-card p strong.unavailable-value { font: 700 19px/1.6 var(--sans); }
.status-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 7px; font-size: 11px; color: var(--muted); }
.status-card-bottom > span:last-child { font-size: 17px; color: var(--red); transition: transform .25s; }
.status-card:hover .status-card-bottom > span:last-child { transform: translate(3px, -3px); }
.status-note { font-size: 11px; color: var(--muted); margin-top: 11px; }
.section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.section-index { font: 16px var(--serif); color: var(--muted); }
.section h2 { font-size: clamp(34px, 3.8vw, 48px); }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 25px; }
.heading-row > p { max-width: 420px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.join-first { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 23px; padding: 22px 25px; margin-bottom: 25px; background: #efdfce; border-left: 3px solid var(--red); }
.join-first-mark { width: 42px; height: 42px; display: grid; place-items: center; font-size: 25px; color: var(--red); border: 1px solid #b78b7f; border-radius: 50%; }
.join-first h3 { font-size: 26px; margin-bottom: 8px; }
.join-first p { max-width: 650px; color: #634a4d; font-size: 13px; line-height: 1.8; }
.join-first .button { white-space: nowrap; }
.server-options { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: stretch; }
.server-panel { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid #cbb4a8; background: var(--paper-light); }
.server-card-heading .eyebrow { font-size: 10px; }
.server-card-heading h3 { font-size: clamp(30px, 2.9vw, 39px); margin: 12px 0; }
.server-card-heading > p { color: var(--muted); font-size: 14px; max-width: 450px; min-height: 49px; }
.server-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; min-height: 98px; padding: 20px 0; margin: 18px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-label { display: block; font-size: 9px; letter-spacing: .04em; margin-bottom: 7px; color: var(--muted); }
.server-stats strong { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.3; }
.server-stats strong.state-label { font-family: var(--sans); font-size: 12px; font-weight: 700; padding: 4px 0; }
.server-stats strong.version-value { font-family: var(--sans); font-size: 13px; overflow-wrap: anywhere; padding: 3px 0; display: block; }
.server-stats strong.unavailable-value { font: 700 13px/1.6 var(--sans); display: block; padding-top: 3px; }
.connection-guide { padding-top: 24px; }
.connection-guide h4 { font-size: 24px; margin-bottom: 23px; }
.numbered-list { list-style: none; counter-reset: guide; padding: 0; margin: 0; }
.numbered-list > li { counter-increment: guide; display: flex; gap: 14px; padding-bottom: 23px; }
.numbered-list > li:before { content: counter(guide, decimal-leading-zero); color: var(--red); font: 21px/1.5 var(--serif); flex: 0 0 28px; }
.numbered-list strong { font-size: 14px; }
.numbered-list p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.numbered-list a { color: var(--red); font-weight: 700; }
.server-address { margin: auto 0 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.server-address > span { font-size: 11px; color: var(--muted); }
.server-address > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.server-address code { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.copy-button { min-height: 44px; padding: 8px 11px; font-size: 11px; font-weight: 700; border: 1px solid var(--line); transition: background .2s; }
.copy-button:hover { background: #efdfce; }
.copy-button span { font-size: 15px; margin-left: 5px; }
.server-action { width: 100%; }
.server-join-banner { display: flex; align-items: center; gap: 13px; min-height: 108px; padding: 19px; background: linear-gradient(110deg,#4c101b,#7b2029); color: #fff1d8; text-decoration: none; border: 1px solid #9d6251; position: relative; isolation: isolate; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.server-join-banner:after { content: ''; position: absolute; inset: 6px; border: 1px solid #e4bd7d45; pointer-events: none; z-index: -1; }
.server-join-banner > img { width: 43px; height: 43px; object-fit: contain; flex: 0 0 43px; }
.banner-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.banner-copy small { color: #f3d598; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.banner-copy strong { font-size: 15px; line-height: 1.5; }
.banner-copy > span { font-size: 11px; color: #f1d4bc; }
.server-join-banner > b { margin-left: auto; font-size: 23px; font-weight: 400; transition: transform .25s; }
.server-join-banner:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #4c101b22; }
.server-join-banner:hover > b { transform: translate(3px,-3px); }
.server-join-banner:focus-visible { outline-color: var(--red); }
.discord-join-banner { background: linear-gradient(110deg,#7b2029,#4c101b); }
.server-panel > .data-note { min-height: 60px; }
.server-stats strong.version-value { font-family: var(--serif); font-size: 24px; color: var(--red); line-height: 1.3; padding-top: 0; }
.server-stats strong.version-value.unavailable-value { font-family: var(--sans); font-size: 13px; }
.data-note { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.data-note a { color: var(--red); }
.server-motd { border-left: 2px solid var(--red); padding-left: 12px; margin-top: 15px; font-size: 12px; overflow-wrap: anywhere; }
.server-motd:before { content: 'Serverbericht: '; font-weight: 700; }
.story-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 75px; align-items: center; }
.story-copy h2 { margin-bottom: 23px; }
.story-copy .lead { font: 19px/1.75 var(--serif); }
.dropcap:first-letter { font: 58px/.95 var(--serif); float: left; margin: 9px 8px 0 0; color: var(--red); }
.story-copy > p:not(.lead) { font-size: 14px; color: var(--muted); }
.story-copy > .button { margin-top: 22px; }
.portrait { max-width: 340px; justify-self: end; }
.portrait > img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; }
.portrait figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 11px; }
.portrait figcaption span { color: var(--muted); }
.community-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.community-invite h2 { font-size: 32px; margin: 12px 0 16px; }
.community-invite p { font-size: 14px; color: var(--muted); max-width: 490px; }
.community-invite > a { display: block; transition: transform .25s; }
.community-invite > a:hover { transform: translateY(-3px); }
.community-invite img { width: 100%; }
.text-link { font-size: 13px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 22px; align-items: center; min-height: 44px; padding: 8px 0; margin-top: 10px; color: var(--red); }
.text-link > span { font-size: 20px; transition: transform .25s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover > span { transform: translate(3px, -3px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.photo-link { display: block; overflow: hidden; position: relative; background: var(--red-dark); }
.photo-link img { width: 100%; aspect-ratio: 1.2; object-fit: cover; object-position: center 46%; transition: transform .6s, opacity .4s; }
.photo-link > span { position: absolute; bottom: 10px; right: 10px; padding: 6px 11px; color: #fff1d8; background: #4c101bf0; font-size: 11px; }
.photo-link:hover img { transform: scale(1.035); opacity: .85; }
.photo-grid figcaption { padding-top: 12px; }
.photo-grid .eyebrow { font-size: 9px; display: block; margin-bottom: 5px; }
.photo-grid figcaption strong { font: 20px/1.3 var(--serif); }
.gallery-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.shader-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.shader-layout > div > p { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 530px; }
.shader-layout .text-link { margin-top: 15px; }
.shader-download { background: #efdfce; border: 1px solid #ccb39f; padding: 26px; position: relative; }
.shader-download > .eyebrow { font-size: 9px; display: block; max-width: 80%; }
.shader-symbol { position: absolute; right: 24px; top: 24px; font: 49px/1 var(--serif); color: var(--red); }
.shader-download h3 { font-size: 34px; margin: 19px 0 8px; }
.shader-version { font-size: 12px; color: var(--muted); }
.shader-layout .shader-download p { font-size: 12px; margin: 17px 0 21px; }
.shader-download .button { width: 100%; }
.shader-optifine { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 44px; font-size: 12px; margin-top: 6px; }
.shader-integrity { display: inline-block; padding: 8px 0; font-size: 10px; color: var(--muted); }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; align-items: start; }
.faq-section h2 { margin: 16px 0 22px; }
.faq-section > div > p { color: var(--muted); font-size: 14px; max-width: 350px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 65px; padding: 15px 2px; font-weight: 700; font-size: 14px; }
.faq-list summary > span { flex: 0 0 auto; font-size: 25px; font-weight: 400; color: var(--red); transition: transform .25s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { padding: 0 25px 21px 2px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.closing-line { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 31px 0; }
.closing-line img { width: 210px; }
.closing-line > p { font-size: 12px; color: var(--muted); }
.closing-line > p strong { color: var(--ink); }
.closing-line .text-link { font-size: 11px; margin: 0; white-space: nowrap; }
.footer { background: var(--red-dark); color: #f1d4bc; padding: 35px 0 75px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-brand { font: 29px/1.2 var(--serif); color: #fff1d8; }
.footer-grid p { margin-top: 12px; font-size: 12px; }
.footer-grid > div > span:last-child { font-size: 11px; }
.footer-grid nav { justify-self: end; max-width: 430px; }
.footer .eyebrow { color: #f3d598; font-size: 10px; }
.social-links { display: flex; gap: 5px 23px; flex-wrap: wrap; margin-top: 12px; }
.social-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #955d5b; margin-top: 25px; padding-top: 14px; font-size: 10px; }
.footer-bottom button { color: inherit; font-size: 11px; text-decoration: underline; min-height: 44px; padding: 3px 0; }
.sound-dock { position: fixed; right: 18px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 3px 12px; background: #fff2dd; border: 1px solid #bd9772; box-shadow: 0 3px 16px #4c101b22; max-width: calc(100% - 24px); }
.sound-dock > button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 2px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sound-bars { display: flex; align-items: center; gap: 3px; width: 18px; height: 18px; }
.sound-bars i { display: block; width: 3px; height: 5px; background: var(--red); transform-origin: center; }
.sound-bars i:nth-child(2) { height: 13px; }
.sound-bars i:nth-child(3) { height: 8px; }
.sound-dock button[aria-pressed=true] .sound-bars i { animation: sound-wave .9s ease-in-out infinite alternate; }
.sound-dock button[aria-pressed=true] .sound-bars i:nth-child(2) { animation-delay: .3s; }
.sound-dock button[aria-pressed=true] .sound-bars i:nth-child(3) { animation-delay: .6s; }
.sound-dock input { position: absolute; right: -1px; bottom: calc(100% + 7px); width: 110px; height: 38px; padding: 4px 10px; background: #fff2dd; border: 1px solid #bd9772; accent-color: var(--red); cursor: pointer; box-shadow: 0 3px 16px #4c101b22; }
.sound-dock:not(:focus-within):not(:has(button[aria-pressed=true])) input { display: none; }
.toast { position: fixed; bottom: 85px; left: 50%; transform: translate(-50%, 10px); padding: 13px 20px; background: var(--red-dark); color: #fff1d8; font-size: 13px; z-index: 150; box-shadow: 0 4px 22px #0002; opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; max-width: calc(100% - 28px); width: max-content; text-align: center; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
dialog { border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); padding: 0; max-height: 90dvh; max-width: calc(100vw - 30px); box-shadow: 0 18px 80px #0005; }
dialog::backdrop { background: #350d1be8; }
.dialog-close { display: flex; align-items: center; gap: 15px; min-height: 44px; padding: 5px 12px; margin: 10px 12px 10px auto; font-size: 13px; }
.dialog-close > span { font-size: 25px; }
.text-dialog { width: 590px; padding: 16px 32px 30px; }
.text-dialog .dialog-close { margin: 0 -10px 15px auto; }
.text-dialog > h2 { font-size: 39px; margin: 23px 0; }
.text-dialog > p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.text-dialog label { font-size: 12px; font-weight: 700; display: block; margin: 20px 0 8px; }
.text-dialog input { width: 100%; padding: 12px; border: 1px solid #9e7b72; background: var(--paper); min-height: 48px; }
.photo-dialog { width: min(800px, calc(100vw - 30px)); background: #35131d; color: #fff1d8; }
.photo-dialog figure > img { width: auto; max-width: 100%; max-height: 63dvh; object-fit: contain; margin: auto; }
.photo-dialog figcaption { text-align: center; padding: 14px 20px; font-size: 13px; }
.photo-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 20px 20px; font-size: 12px; }
.photo-controls button { min-height: 44px; padding: 7px 14px; border: 1px solid #bd8676; color: inherit; }
.welcome-scene a:focus-visible, .utility-bar a:focus-visible, .footer :is(a,button):focus-visible, .photo-dialog button:focus-visible { outline-color: #ffe1a4; box-shadow: 0 0 0 2px #541321; }
.reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal[data-pending] { opacity: 1; transform: translateY(20px); }
.reveal[data-pending]:focus-within { opacity: 1; transform: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eadac6; }
::-webkit-scrollbar-thumb { background: #9c4c3e; border: 2px solid #eadac6; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #6d2029; }
@keyframes sound-wave { to { transform: scaleY(.4); } }
@keyframes enter { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes image-enter { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes value-change { 0% { background-color: #f4eadf; } 100% { background-color: transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes reading-progress { from { width: 0; } to { width: 100%; } }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes drawer-out { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    .welcome-scene-image { animation: image-enter 1.2s ease-out both; }
    .welcome-scene-content > * { animation: enter .65s ease-out both; }
    .welcome-scene-content h1 { animation-delay: .07s; }
    .welcome-scene-content > p { animation-delay: .14s; }
    .welcome-actions { animation-delay: .21s; }
    .status-card { animation: enter .6s ease-out both; }
    .status-card:nth-child(2) { animation-delay: .08s; }
    .status-card:nth-child(3) { animation-delay: .16s; }
    .server-panel:not([data-pending]) .numbered-list > li { animation: enter .45s ease-out both; }
    .server-panel .numbered-list > li:nth-child(2) { animation-delay: .08s; }
    .server-panel .numbered-list > li:nth-child(3) { animation-delay: .16s; }
    dialog[open], .faq-list details[open] > p { animation: enter .25s ease-out; }
    .mobile-menu[open] { animation: drawer-in .32s cubic-bezier(.2,.7,.3,1) both; }
    .mobile-menu[open]::backdrop { animation: backdrop-in .25s ease-out both; }
    .mobile-menu.is-closing { animation: drawer-out .22s ease-in both; }
    .value-updated { animation: value-change .45s ease-out; }
    .is-refreshing > span { animation: spin .85s linear infinite; }
    @supports (animation-timeline: scroll()) {
        .nav-wrap:after { animation: reading-progress linear both; animation-timeline: scroll(); }
    }
}
@media (pointer: fine) {
    body { cursor: url('cursor.svg') 4 3, auto; }
    a, button, summary, input[type=range] { cursor: url('cursor-link.svg') 7 3, pointer; }
    button:disabled { cursor: wait; }
    input:not([type=range]) { cursor: text; }
}
@media (max-width: 1080px) {
    .shell { width: calc(100% - 56px); }
    .masthead { grid-template-columns: 1fr 1.5fr 1fr; gap: 15px; }
    .masthead-aside .eyebrow { font-size: 8px; }
    .masthead-right strong { font-size: 15px; }
    .welcome-scene-content { width: 68%; padding: 35px; }
    .scene-caption { right: 25px; bottom: 24px; }
    .status-card { padding: 16px 16px 10px; }
    .status-card h3 { font-size: 22px; }
    .status-card p { gap: 8px; }
    .status-card p span { font-size: 11px; }
    .server-options { gap: 20px; }
    .server-panel { padding: 23px; }
    .server-stats { gap: 10px; }
    .server-stats strong { font-size: 23px; }
    .story-grid { gap: 45px; }
    .shader-layout { gap: 45px; }
    .faq-section { gap: 45px; }
}
@media (max-width: 900px) {
    .masthead { grid-template-columns: 1fr 1fr; min-height: 100px; }
    .brand { grid-column: 1; grid-row: 1; justify-content: flex-start; }
    .brand img { width: 300px; }
    .masthead-aside:not(.masthead-right) { display: none; }
    .masthead-right { grid-column: 2; }
    .nav-links { gap: 24px; }
    .welcome-scene-content { width: 78%; padding: 32px; }
    .welcome-scene h1 { font-size: 62px; }
    .welcome-scene:before { background: linear-gradient(95deg,#2b0c1bf2,#5a1725e0 70%,#280d19bd); }
    .scene-caption { right: 22px; bottom: 22px; padding: 6px; }
    .scene-caption > span { display: none; }
    .status-card-heading { gap: 6px; }
    .status-card-heading h3 { width: 100%; }
    .status-card p { margin-top: 10px; }
    .status-card p strong { font-size: 27px; }
    .status-card p span { width: 100%; }
    .status-card-bottom { min-height: 38px; }
    .status-heading h2 { font-size: 22px; }
    .status-refresh { gap: 8px; }
    .heading-row { gap: 35px; align-items: flex-start; }
    .heading-row > p { max-width: 320px; font-size: 13px; }
    .join-first { grid-template-columns: 1fr auto; gap: 20px; padding: 22px; }
    .join-first-mark { display: none; }
    .join-first h3 { font-size: 24px; }
    .server-options { grid-template-columns: 1fr; gap: 25px; }
    .server-panel { padding: 30px; }
    .server-card-heading h3 { font-size: 36px; }
    .server-card-heading > p { min-height: 0; max-width: none; }
    .server-stats { grid-template-columns: 1fr 1fr 1fr; }
    .server-action { align-self: flex-start; width: auto; min-width: 290px; }
    .server-address { margin-top: 0; }
    .story-grid { grid-template-columns: 1.25fr .75fr; gap: 35px; }
    .story-copy .lead { font-size: 18px; }
    .community-invite { gap: 35px; }
    .shader-layout { gap: 30px; grid-template-columns: 1fr 1fr; }
    .shader-download { padding: 22px; }
    .shader-download h3 { font-size: 30px; }
    .shader-download .button { font-size: 12px; gap: 12px; }
    .faq-section { grid-template-columns: .7fr 1.3fr; gap: 30px; }
    .closing-line { gap: 23px; }
    .closing-line img { width: 180px; }
    .closing-line > p { font-size: 11px; }
}
@media (max-width: 720px) {
    .shell { width: calc(100% - 36px); }
    .utility-inner { min-height: 29px; font-size: 10px; }
    .utility-right { display: none; }
    .masthead { display: flex; justify-content: center; min-height: 92px; }
    .masthead-right { display: none; }
    .brand img { width: 290px; max-height: 82px; object-fit: contain; }
    .main-nav { min-height: 53px; flex-wrap: wrap; gap: 0 15px; }
    .nav-cta { min-height: 39px; padding: 7px 14px; font-size: 11px; gap: 20px; margin-left: auto; }
    .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 0 25px; padding-bottom: 8px; }
    .nav-links a { min-height: 44px; font-size: 13px; }
    .nav-links a:after { bottom: 6px; }
    .js-nav .nav-links { display: flex; }
    .edition-line { min-height: 38px; font-size: 10px; }
    .edition-line > a { display: none; }
    .welcome-scene { min-height: 375px; }
    .welcome-scene-content { padding: 32px 25px 35px; width: 100%; }
    .welcome-scene h1 { font-size: clamp(50px, 9.5vw, 68px); margin: 18px 0; }
    .welcome-scene-content > .eyebrow { font-size: 9px; letter-spacing: .11em; }
    .welcome-scene-content > p { max-width: 400px; font-size: 14px; }
    .welcome-scene:before { background: linear-gradient(95deg,#2b0c1bf0,#5a1725e5 75%,#280d19d9); }
    .welcome-scene:after { inset: 11px; }
    .welcome-actions { gap: 12px 22px; margin-top: 22px; }
    .welcome-next { font-size: 11px; gap: 12px; }
    .welcome-actions .button { font-size: 12px; padding-inline: 16px; gap: 22px; }
    .scene-caption { right: 14px; bottom: 15px; background: none; padding: 0; }
    .scene-caption img { width: 27px; height: 27px; }
    .status-section { padding-top: 24px; padding-bottom: 24px; }
    .status-heading { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 13px; }
    .status-heading h2 { font-size: 24px; }
    .status-refresh { justify-content: space-between; width: 100%; font-size: 10px; }
    .status-refresh button { padding-right: 2px; }
    .status-grid { grid-template-columns: 1fr; gap: 9px; }
    .status-card { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 13px 16px 10px; border-top: 1px solid #cbb4a8; border-left: 3px solid var(--red); gap: 6px 12px; }
    .status-card-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
    .status-card-heading h3 { font-size: 23px; }
    .status-card p { margin: 0; justify-content: flex-end; text-align: right; gap: 2px; }
    .status-card p strong { font-size: 27px; width: 100%; }
    .status-card p strong.unavailable-value { font-size: 17px; }
    .status-card p span { font-size: 11px; }
    .status-card-bottom { grid-column: 1/-1; min-height: 0; font-size: 10px; padding-top: 5px; }
    .status-note { font-size: 10px; line-height: 1.8; }
    .section { padding: 37px 0; }
    .section-heading { margin-bottom: 17px; }
    .section-heading .eyebrow { font-size: 10px; }
    .section h2 { font-size: clamp(32px, 7.5vw, 42px); }
    .heading-row { flex-direction: column; gap: 16px; margin-bottom: 22px; }
    .heading-row > p { max-width: none; font-size: 14px; }
    .join-first { display: flex; flex-direction: column; align-items: flex-start; padding: 21px; gap: 18px; margin-bottom: 20px; }
    .join-first h3 { font-size: 25px; }
    .join-first p { font-size: 13px; }
    .join-first .button { width: 100%; }
    .server-panel { padding: 23px 20px; }
    .server-card-heading h3 { font-size: clamp(29px, 6.8vw, 36px); }
    .server-card-heading p { font-size: 14px; }
    .server-stats { gap: 12px; padding: 18px 0; }
    .metric-label { font-size: 8px; letter-spacing: .015em; }
    .server-stats strong { font-size: 24px; }
    .server-stats strong.state-label { font-size: 11px; }
    .server-stats strong.unavailable-value { font-size: 11px; }
    .server-stats strong.version-value { font-size: 20px; }
    .connection-guide { padding-top: 22px; }
    .connection-guide h4 { font-size: 23px; margin-bottom: 22px; }
    .numbered-list > li { gap: 10px; padding-bottom: 23px; }
    .numbered-list > li:before { flex-basis: 24px; font-size: 20px; }
    .numbered-list strong { font-size: 14px; }
    .numbered-list p { font-size: 13px; }
    .server-address code { font-size: 14px; }
    .server-action { width: 100%; min-width: 0; font-size: 12px; padding-inline: 15px; gap: 14px; }
    .server-join-banner { gap: 11px; padding: 17px 14px; min-height: 105px; }
    .server-join-banner > img { width: 34px; height: 34px; flex-basis: 34px; }
    .banner-copy strong { font-size: 13px; }
    .banner-copy small { font-size: 8px; }
    .banner-copy > span { font-size: 10px; }
    .server-join-banner > b { font-size: 19px; }
    .server-panel > .data-note { min-height: 0; }
    .data-note { font-size: 11px; }
    .story-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
    .story-copy .lead { font-size: 18px; }
    .story-copy > p:not(.lead) { font-size: 14px; }
    .portrait { max-width: 340px; width: 100%; align-self: center; }
    .portrait > img { aspect-ratio: 1.1; }
    .community-invite { grid-template-columns: 1fr; gap: 23px; padding: 29px 0; }
    .community-invite h2 { font-size: 32px; }
    .community-invite > a { max-width: 490px; }
    .photo-grid { gap: 15px; grid-template-columns: 1fr; }
    .photo-grid figure { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
    .photo-grid figure:last-child { border-bottom: 0; padding-bottom: 0; }
    .photo-link img { aspect-ratio: .95; }
    .photo-link > span { bottom: 6px; right: 6px; padding: 3px 7px; font-size: 9px; }
    .photo-grid figcaption { padding: 0; }
    .photo-grid figcaption strong { font-size: 23px; }
    .gallery-note { font-size: 11px; }
    .shader-layout { grid-template-columns: 1fr; gap: 25px; }
    .shader-layout > div > p { font-size: 14px; }
    .shader-download { padding: 25px; }
    .shader-download h3 { font-size: 34px; }
    .shader-layout .shader-download p { font-size: 13px; }
    .shader-download .button { font-size: 13px; }
    .faq-section { grid-template-columns: 1fr; gap: 24px; }
    .faq-section h2 { margin: 12px 0 20px; }
    .faq-section > div > p { max-width: none; }
    .faq-section .text-link { font-size: 12px; }
    .faq-list summary { min-height: 64px; padding-block: 17px; font-size: 14px; }
    .faq-list details > p { font-size: 13px; }
    .closing-line { flex-wrap: wrap; gap: 18px; padding: 28px 0; }
    .closing-line img { width: 200px; }
    .closing-line > p { font-size: 12px; width: 100%; order: 2; }
    .closing-line .text-link { font-size: 11px; }
    .footer { padding-top: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 27px; }
    .footer-grid nav { justify-self: start; }
    .footer-brand { font-size: 31px; }
    .footer-bottom { gap: 6px 20px; font-size: 10px; }
    .footer-bottom > span:last-child { width: 100%; }
    .sound-dock { bottom: 12px; right: 12px; }
    .toast { bottom: 78px; font-size: 12px; padding: 12px 16px; }
    .text-dialog { padding: 15px 23px 25px; }
    .text-dialog > h2 { font-size: 35px; }
    .text-dialog > p { font-size: 13px; }
    .photo-controls { padding-inline: 12px; gap: 8px; }
    .photo-controls button { padding-inline: 11px; font-size: 11px; }
}
@media (max-width: 380px) {
    .shell { width: calc(100% - 28px); }
    .brand img { width: 260px; }
    .welcome-scene-content { padding: 28px 21px 34px; }
    .welcome-scene h1 { font-size: 53px; }
    .welcome-actions { gap: 7px 18px; }
    .welcome-actions .button { width: 100%; }
    .scene-caption { bottom: 19px; right: 17px; }
    .server-panel { padding: 22px 17px; }
    .server-stats { gap: 8px; }
    .server-stats .state-label { gap: 4px; }
    .server-stats strong.unavailable-value { font-size: 10px; }
    .metric-label { font-size: 8px; }
    .photo-grid figure { gap: 16px; }
    .photo-grid figcaption strong { font-size: 21px; }
    .closing-line { align-items: flex-start; }
    .closing-line img { width: 180px; }
    .closing-line .text-link { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { animation: none !important; transition: none !important; }
    .reveal[data-pending] { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
    body, a, button, summary, input, select { cursor: auto !important; }
    .welcome-scene, .footer, .utility-bar, .button, .nav-cta { background: Canvas; color: CanvasText; border-color: CanvasText; }
    .welcome-scene:before { background: Canvas; }
    .welcome-scene :is(p, strong, .eyebrow, em, a), .footer .eyebrow { color: CanvasText; }
    .state-label:before { background: CanvasText; }
}
@media print {
    .nav-wrap, .utility-bar, .sound-dock, .status-refresh, .toast, dialog, .copy-button, .footer, .scene-caption { display: none !important; }
    html { scroll-behavior: auto; }
    body { background: white; font-size: 11pt; }
    .shell { width: 100%; }
    .masthead { min-height: 75px; }
    .welcome-scene { color: var(--ink); background: white; min-height: 0; }
    .welcome-scene-image, .welcome-scene:before, .welcome-scene:after { display: none; }
    .welcome-scene-content { padding: 20px; width: 100%; }
    .welcome-scene :is(p, strong, .eyebrow, em, a) { color: var(--ink); }
    .welcome-scene h1 { font-size: 38pt; }
    .section { padding: 25px 0; }
    .server-options { display: block; }
    .server-panel { break-inside: avoid; margin-bottom: 20px; }
    .reveal[data-pending] { opacity: 1; transform: none; }
    .story-grid { gap: 25px; }
    .portrait { max-width: 220px; }
    .photo-grid figure { break-inside: avoid; }
}
