@font-face {
  font-family: Monocraft;
  src: url("/assets/monocraft-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Monocraft;
  src: url("/assets/monocraft-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pixel-font: Monocraft, monospace;
  --canvas: #171b17;
  --text: #f0eee7;
  --muted: #b8beb4;
  --accent: #ddb281;
  --line: #3b4238;
  --panel: #222720;
  --texture-size: 64px 64px;
  --stone: linear-gradient(rgb(16 21 16 / 94%), rgb(16 21 16 / 94%)), url("/assets/stone-classic-tile.png");
  --bedrock: linear-gradient(rgb(10 14 10 / 72%), rgb(10 14 10 / 72%)), url("/assets/bedrock-classic-tile.png");
  font-family: var(--body-font);
  color: var(--text);
  background: var(--canvas);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background-image: var(--stone); background-size: auto, var(--texture-size); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
button, input, textarea, select { font: inherit; }
code { font-family: var(--pixel-font); font-size: .85em; overflow-wrap: anywhere; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
:where(button, a, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
#main:focus { outline: none; }
::selection { background: var(--accent); color: #171b17; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; text-transform: none; text-wrap: balance; }
h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.08; letter-spacing: -.05em; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.035em; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
h4 { font-size: 19px; line-height: 1.4; }
strong { font-weight: 650; }
svg { display: block; }
img { max-width: 100%; }
figure { margin: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: currentColor; stroke: none; shape-rendering: crispEdges; flex-shrink: 0; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--text); color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font: 400 11px/1.8 var(--pixel-font); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 18px; }
.site-header { height: 80px; background: #171b17; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: inline-block; flex-shrink: 0; white-space: nowrap; }
.brand-logo { display: block; width: 116px; height: auto; }
.brand-easteregg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.brand-logo, .brand-easteregg { transition: opacity .25s ease-in-out; }
.navigation { display: flex; gap: 26px; align-items: center; }
.menu-panel { display: flex; align-items: center; gap: 26px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; cursor: pointer; list-style: none; border: 1px solid var(--line); background: var(--panel); color: #fff; }
.menu-toggle::-webkit-details-marker { display: none; }
.menu-toggle-icon { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav-pages, .nav-socials { display: flex; align-items: center; gap: 24px; }
.nav-socials { gap: 8px; }
.nav-disabled { border: 0; padding: 0; background: none; color: #aaa; }
.nav-socials .social-button { width: 44px; min-height: 44px; height: 44px; padding: 10px; }
.nav-socials .icon { width: 18px; height: 18px; }
/* Minecraft bevels and original social colours remain part of the identity. */
.button {
  --button-face: #795032; --button-top: #ae8058; --button-side: #4b301e; --button-hover: #91613e;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  border: 2px solid #111; border-radius: 0; min-height: 52px; padding: 12px 20px;
  font-size: 14px; font-weight: 600; line-height: 1.5; color: #fff; background: var(--button-face);
  box-shadow: inset 0 2px var(--button-top), inset 2px 0 var(--button-top), inset -2px 0 var(--button-side), inset 0 -2px var(--button-side);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.button:hover { background: var(--button-hover); }
.button:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 2px var(--button-side), inset 2px 0 var(--button-side), inset -2px 0 var(--button-top), inset 0 -2px var(--button-top); }
.button:disabled { --button-face: #777; --button-top: #999; --button-side: #555; --button-hover: #777; color: #111; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 13px; gap: 12px; }
.button .icon { width: 17px; height: 17px; }
.button-copy { font-size: 14px; gap: 12px; }
.button-discord { --button-face: #5865f2; --button-top: #8a93ff; --button-side: #343c94; --button-hover: #4752c4; }
.button-telegram { --button-face: #0088cc; --button-top: #45b9ef; --button-side: #005a87; --button-hover: #0077b5; }
.hero { position: relative; isolation: isolate; background: #171b17; color: var(--text); }
.hero-landscape { position: absolute; z-index: -2; inset: 0 0 0 32%; background: url("/assets/publicevo-hero.webp") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #171b17 5%, rgb(23 27 23 / 96%) 31%, rgb(23 27 23 / 48%) 63%, rgb(23 27 23 / 15%)), linear-gradient(0deg, #171b17, transparent 40%); }
.hero-inner { position: relative; min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 70px; padding-block: 70px; text-align: left; }
.hero-content { min-width: 0; }
.hero h1 span { color: var(--accent); }
.hero-description { margin-top: 28px; max-width: 490px; font-size: 21px; line-height: 1.55; text-wrap: pretty; }
.hero-introduction { margin-top: 18px; max-width: 510px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-actions .text-link { font-size: 14px; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 36px; min-width: 0; }
.hero-logo { display: block; width: min(370px, 92%); height: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 35%)); transition: transform .2s ease; transform-origin: center; }
.logo-flight { position: fixed; top: 0; left: 0; z-index: 31; max-width: none; height: auto; transform-origin: top left; pointer-events: none; image-rendering: pixelated; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 35%)); will-change: transform; }
.logo-flight img { display: block; width: 100%; height: auto; }
.has-logo-transition:is([data-logo-position="moving"], [data-logo-position="nav"]) .hero-logo { opacity: 0; }
.hero-connection { width: 100%; border: 1px solid #535848; border-top: 3px solid var(--accent); padding: 24px; background: rgb(23 27 23 / 95%); scroll-margin-top: 104px; }
.connection-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.connection-heading h2 { font-size: 18px; letter-spacing: -.01em; }
.hero-status { display: flex; align-items: center; gap: 7px; min-height: 20px; font-size: 12px; color: var(--muted); }
.status-indicator { width: 7px; height: 7px; flex-shrink: 0; background: #999; }
.hero-status[data-state="online"] .status-indicator { background: #73c65b; }
.hero-status[data-state="offline"] .status-indicator { background: #e26363; }
.hero-address { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 52px; border: 1px solid var(--line); padding: 10px 12px; background: #111610; color: #fff; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.5; }
.hero-address .icon { width: 16px; height: 16px; }
.hero-address:hover, .port-copy:hover { border-color: var(--accent); }
#server-address { font: 400 1em/1.5 var(--pixel-font); letter-spacing: -.5px; user-select: all; }
.hero-version { margin-top: 12px; font-size: 13px; color: var(--text); }
.connection-note { margin-top: 4px; font-size: 13px; color: var(--muted); }
.connection-note a, .connection-help a { text-decoration: underline; text-underline-offset: 3px; }
.connection-help { margin-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.connection-help summary { padding-block: 13px; min-height: 44px; cursor: pointer; color: var(--accent); }
.connection-help p { color: var(--muted); margin: 8px 0 14px; }
.bedrock-port { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-block: 14px; }
.port-copy { display: inline-flex; align-items: center; gap: 14px; padding: 9px 12px; min-height: 44px; border: 1px solid var(--line); background: #111610; }
.port-copy .icon { width: 14px; height: 14px; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px 34px; font-size: 12px; color: var(--muted); }
.hero-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.pixel-edge { position: absolute; height: 10px; bottom: -1px; left: 0; width: 100%; background-image: var(--stone); background-size: auto, var(--texture-size); clip-path: polygon(0 50%, 12% 50%, 12% 0, 24% 0, 24% 65%, 38% 65%, 38% 20%, 53% 20%, 53% 60%, 71% 60%, 71% 0, 84% 0, 84% 50%, 100% 50%, 100% 100%, 0 100%); }
.content-section { padding-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.section-heading > div { min-width: 0; }
.section-description { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 370px; }
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.platform-card { padding: 26px 24px; display: flex; flex-direction: column; min-width: 0; background: #20251e; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
.platform-card-top .icon { width: 22px; height: 22px; color: var(--accent); }
.scope-label { display: inline-block; color: var(--accent); font-size: 11px; line-height: 1.6; font-weight: 600; letter-spacing: .025em; }
.scope-current { color: #b3d29b; }
.platform-card h3 { font-size: 22px; }
.platform-card p { color: var(--muted); font-size: 14px; margin-block: 18px 22px; }
.platform-card .text-link { margin-top: auto; font-size: 13px; color: var(--accent); }
.welcome-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.welcome-copy h2 { margin-bottom: 26px; }
#server-history-text { font-size: 17px; }
#server-history-text p + p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.origin-story { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.origin-story h3 { font-size: 18px; }
.origin-story p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.welcome-figure, .oic-figure { min-width: 0; }
.welcome-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.welcome-figure figcaption, .oic-figure figcaption { color: var(--muted); font-size: 12px; padding-top: 12px; }
.compatibility-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border: 1px solid var(--line); background: #20251e; }
.compatibility-intro { padding: 34px; border-right: 1px solid var(--line); }
.compatibility-intro h3 { margin-block: 14px 20px; font-size: 26px; }
.compatibility-intro p { color: var(--muted); font-size: 15px; }
.version-list { margin: 0; padding: 12px 32px; }
.version-list > div { display: grid; grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr); gap: 24px; padding-block: 22px; }
.version-list > div + div { border-top: 1px solid var(--line); }
.version-list dt { font-size: 14px; font-weight: 600; }
.version-list dd { margin: 0; font-size: 14px; color: var(--muted); }
.version-list strong { color: var(--accent); }
.roadmap { padding-top: 42px; }
.roadmap > h3 { font-size: 23px; }
.roadmap-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 26px 0 0; gap: 28px; }
.roadmap-list li { border-top: 2px solid #77634c; padding-top: 22px; }
.roadmap-list li:first-child { border-color: #839873; }
.roadmap-list h4 { margin-block: 12px; }
.roadmap-list p { color: var(--muted); font-size: 14px; }
.empty-state { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--line); min-height: 125px; padding: 26px 30px; display: flex; gap: 24px; align-items: center; color: var(--muted); font-size: 15px; }
.empty-state > .icon { width: 32px; height: 32px; }
.empty-state a { text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.video-carousel { --video-width: min(800px, 76vw); width: 100%; }
.video-track { position: relative; display: flex; align-items: stretch; gap: 24px; padding-inline: calc((100% - var(--video-width)) / 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.video-track::-webkit-scrollbar { display: none; }
.video-track > * { flex: 0 0 var(--video-width); min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.video-card, .video-preview { background: var(--panel); }
.video-card, .video-preview, .gallery-trigger, .welcome-image, .oic-image, .map-frame, .news-card, .news-grid > .empty-state { border: 2px solid #111; box-shadow: inset 0 2px #666; }
.video-preview { pointer-events: none; }
.video-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card[aria-hidden="true"], .video-preview { opacity: .65; }
.video-player { aspect-ratio: 16 / 9; position: relative; background: #111; }
.video-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-meta { padding: 18px 24px; }
.video-meta h3 { font-size: 17px; }
.video-meta p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.video-meta a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.carousel-arrow { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 10px; border: 0; background: none; color: #fff; box-shadow: none; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { color: var(--accent); }
.carousel-arrow:disabled { color: #777; }
.carousel-arrow .icon { width: 18px; height: 18px; }
.arrow-left { transform: rotate(180deg); }
.gallery-track { --gallery-visible: 3; --gallery-gap: 22px; position: relative; display: flex; gap: var(--gallery-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > .gallery-card { flex: 0 0 calc((100% - (var(--gallery-visible) - 1) * var(--gallery-gap)) / var(--gallery-visible)); scroll-snap-align: start; }
.gallery-track > .empty-state { flex: 0 0 100%; }
.gallery-card { margin: 0; min-width: 0; }
.gallery-source { display: inline-block; text-decoration: underline; text-underline-offset: 4px; margin-top: 10px; color: var(--accent); }
.gallery-trigger { display: block; width: 100%; position: relative; padding: 0; background: #222; overflow: hidden; }
.gallery-trigger img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: filter .15s; }
.gallery-trigger:hover img { filter: brightness(1.12); }
.gallery-trigger > .icon { position: absolute; right: 12px; bottom: 12px; box-sizing: content-box; padding: 10px; width: 16px; height: 16px; background: rgb(0 0 0 / 85%); color: #fff; }
.gallery-card figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; min-height: 3.4em; }
.news-grid { --news-visible: 3; display: flex; align-items: stretch; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #888 #252525; padding: 6px 6px 16px; scroll-padding-inline: 6px; }
.news-grid > .empty-state { flex: 0 0 100%; }
.news-grid > .news-card { flex: 0 0 calc((100% - (var(--news-visible) - 1) * 22px) / var(--news-visible)); scroll-snap-align: start; }
.news-card { padding: 24px; background: var(--panel); min-width: 0; }
.news-author { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.news-author > div { min-width: 0; }
.news-avatar { position: relative; width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #454545; overflow: hidden; }
.news-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card time { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.news-card h3 { font-size: 16px; overflow-wrap: anywhere; }
.news-text { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.news-text.is-collapsed { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.news-text code { color: var(--text); }
.news-text a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.news-more { margin-top: 8px; min-height: 44px; }
.news-media { display: grid; gap: 12px; margin-top: 18px; }
.news-media a { display: block; background: #191919; }
.news-media img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.news-image-error { display: block; padding: 20px; font-size: 13px; }
.news-card > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; margin-top: 18px; text-decoration: underline; }
.news-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.text-button { border: 0; background: none; color: inherit; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { text-decoration: underline; }
.section-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.map-frame { background: #111; }
.map-frame iframe { display: block; width: 100%; height: 460px; border: 0; }
.story-context { margin-bottom: 28px; max-width: 780px; color: var(--muted); font-size: 14px; }
.story-scene { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 54px; align-items: center; }
.story-dialogue { min-width: 0; }
/* A familiar warm, pixel-cut dialogue bubble, with readable long-form type. */
.speech-bubble { position: relative; height: 340px; padding: 28px 30px; border: 3px solid #15170f; background: #e7e2d6; color: #222; box-shadow: inset 3px 3px #fff8e9, inset -3px -3px #aaa38f; cursor: pointer; }
.speech-bubble::after { content: ""; position: absolute; right: -24px; top: 65px; width: 24px; height: 32px; background: #e7e2d6; clip-path: polygon(0 0, 8px 0, 8px 8px, 16px 8px, 16px 16px, 24px 16px, 24px 24px, 0 24px); }
#history-text { position: relative; height: 100%; overflow: hidden; }
#story-text, #story-measure { margin: 0; font-size: 17px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
#story-measure { position: absolute; top: 0; left: 0; width: 100%; visibility: hidden; pointer-events: none; }
#history[data-typing="true"] #story-text::after { content: "▌"; opacity: .6; }
.story-meta { display: flex; align-items: center; min-height: 64px; font-size: 13px; color: var(--muted); }
.story-speaker { text-align: center; position: relative; }
.oic-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.oic-copy { min-width: 0; }
.oic-copy p:not(.eyebrow) { margin-top: 22px; font-size: 16px; color: var(--muted); }
.oic-action { gap: 12px; }
.oic-image { display: block; width: 100%; height: auto; }
.community-section { padding-block: 100px; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.community-card { width: 100%; min-width: 0; border: 1px solid var(--line); background: linear-gradient(145deg, #292f25, #1d221c); }
.community-content { padding: 32px; height: 100%; display: flex; flex-direction: column; align-items: start; }
.community-icon { display: block; width: 40px; height: 40px; flex-shrink: 0; margin-bottom: 28px; }
.community-discord .community-icon { color: #8993ff; }
.community-telegram .community-icon { color: #47b5e9; }
.book-icon { image-rendering: pixelated; object-fit: contain; }
.community-content h3 { font-size: 24px; }
.community-content p { font-size: 15px; color: var(--muted); margin-top: 16px; margin-bottom: 16px; }
.community-action { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.5; min-height: 44px; padding-block: 10px; margin-top: 16px; color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.community-content .community-action { margin-top: auto; }
.community-action:hover, .community-action:focus-visible { color: #f2cda1; text-decoration: underline; }
.vote-panel { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; min-width: 0; padding: 28px 32px; background: #2c3227; border: 1px solid var(--line); }
.vote-panel > div:first-of-type { flex: 1; min-width: 220px; }
.vote-panel h3 { font-size: 22px; }
.vote-star { width: 30px; height: 30px; color: #ffd54a; }
.vote-panel p:not(.section-note) { color: var(--muted); margin-top: 8px; font-size: 14px; }
.vote-links { display: flex; flex-wrap: wrap; gap: 16px; }
.vote-links .community-action { margin-top: 0; }
.vote-links button.community-action { border: 0; background: none; padding-inline: 0; text-align: left; }
.vote-links button.community-action:disabled { opacity: .65; text-decoration: none; }
.faq-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 70px; padding-bottom: 96px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 5px; }
.faq-list summary { position: relative; list-style: none; padding: 20px 36px 20px 0; cursor: pointer; font-size: 17px; font-weight: 550; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--accent); font: 24px/1.4 var(--body-font); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 20px 24px 0; color: var(--muted); font-size: 15px; }
.faq-list a { text-decoration: underline; color: var(--accent); }
.team-section { position: relative; z-index: 1; padding-block: 12px 0; }
.team-heading { text-align: center; }
.team-heading h2 { font-size: 28px; }
.team-heading .section-description { max-width: none; margin-top: 14px; }
.team-heading .text-button { margin-top: 12px; }
.skin-stage[data-state="loading"] .skin-fallback { visibility: hidden; }
.skin-stage[data-state="loading"]::before { content: "Loading 3D…"; color: #ccc; font-size: 12px; }
.skin-stage[data-state="fallback"]::before { content: "3D unavailable"; position: absolute; bottom: 0; color: #ccc; font-size: 11px; }
.team-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; align-items: end; max-width: 900px; margin: 44px auto 0; }
.team-member { margin: 0; min-width: 0; text-align: center; position: relative; }
.skin-stage { position: relative; width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; }
.skin-stage::after { content: ""; position: absolute; width: 42%; height: 12px; top: calc(var(--feet-top, 90%) - 6px); border-radius: 50%; background: rgb(0 0 0 / 55%); }
.skin-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: 1; }
.skin-fallback { display: block; height: 82%; width: auto; max-width: 85%; object-fit: contain; image-rendering: pixelated; position: relative; z-index: 1; }
.skin-stage[data-state="ready"] canvas { opacity: 1; }
.skin-stage[data-state="ready"] .skin-fallback { visibility: hidden; }
.narrator-stage { height: 340px; }
.player-name { position: absolute; left: 50%; top: var(--name-top, 8%); transform: translate(-50%, -100%); z-index: 2; padding: 2px 5px; background: rgb(0 0 0 / 70%); color: #fff; font: 400 13px/1.4 var(--pixel-font); text-shadow: 2px 2px #333; white-space: nowrap; pointer-events: none; }
.rules-page { max-width: 1000px; padding-block: 72px 88px; }
.rules-intro { margin-bottom: 48px; max-width: 780px; }
.rules-intro h1 { font-size: clamp(40px, 5vw, 60px); }
.rules-intro p:not(.eyebrow, .section-note) { margin-top: 22px; color: var(--muted); font-size: 17px; }
.rules-intro .section-note { margin-top: 18px; font-size: 14px; }
.rules-contents { display: flex; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: 44px; }
.rules-contents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.rules-section { margin-top: 46px; }
.rules-section h2 { font-size: clamp(24px, 3vw, 30px); }
.rules-list { list-style: none; padding: 0; margin: 26px 0 0; }
.rules-list li { display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 22px; font-size: 16px; line-height: 1.8; }
.rules-list li + li { margin-top: 22px; }
.rules-list p { overflow-wrap: anywhere; }
.rule-number { color: var(--accent); font: 400 12px/2.4 var(--pixel-font); }
.site-footer { border-top: 3px solid #111; padding-block: 38px; color: var(--muted); background-image: var(--bedrock); background-size: auto, var(--texture-size); }
/* One original bedrock texture spans the last row's floor and the footer. */
.site-footer--ground { --ground-rise: 25.2px; position: relative; isolation: isolate; border-top: 0; background: none; }
.site-footer--ground::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: calc(-1 * var(--ground-rise)) 0 0; background-image: var(--bedrock); background-size: auto, var(--texture-size); box-shadow: inset 0 3px #111; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; font-size: 12px; line-height: 1.8; }
.footer-info { min-width: 0; }
.footer-positioning { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.footer-links a:hover { text-decoration: underline; color: var(--text); }
.footer-credits { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-love { display: flex; align-items: center; gap: 10px; font-size: 12px; white-space: nowrap; }
.footer-love img { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.copyright { font-size: 12px; white-space: nowrap; }
.toast { position: fixed; z-index: 40; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: #222720; border: 1px solid var(--accent); color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 20px; max-width: calc(100% - 32px); width: max-content; font-size: 14px; opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { width: 16px; height: 16px; }
.toast.is-error { border-color: #fff; }
.toast.is-error .icon { display: none; }
.lightbox { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #888; background: #171b17; color: #fff; padding: 20px; }
.lightbox::backdrop { background: rgb(0 0 0 / 90%); }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.lightbox-toolbar p { font-size: 15px; }
.icon-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: #795032; color: #fff; border: 2px solid #ae8058; }
.icon-button:hover { background: #91613e; }
#lightbox-image { display: block; width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; }
.lightbox-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.lightbox-navigation .button { min-height: 44px; padding: 9px 15px; }
body:has(.lightbox[open]) { overflow: hidden; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .navigation, .menu-panel { gap: 18px; }
  .nav-pages { gap: 16px; }
  .nav-link { font-size: 13px; }
  .hero-inner { gap: 40px; padding-block: 58px; }
  .hero-connection { padding: 20px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-card { padding: 28px; }
  .welcome-section { gap: 40px; }
  .story-scene { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .community-content { padding: 24px; }
  .community-content h3 { font-size: 22px; }
  .skin-stage { height: 250px; }
  .site-footer--ground { --ground-rise: 22.5px; }
  .narrator-stage { height: 320px; }
  .player-name { font-size: 12px; }
  .compatibility-intro { padding: 28px; }
  .version-list { padding: 8px 24px; }
  .version-list > div { gap: 16px; }
  .oic-section, .faq-section { gap: 40px; }
}
@media (max-width: 800px) {
  :root { scroll-padding-top: 90px; }
  .site-header { height: 68px; }
  .brand-logo { width: 92px; }
  .navigation { gap: 12px; }
  .navigation > .button-small { height: 44px; padding-block: 8px; }
  .main-header:has(.nav-menu[open]) { z-index: 32; }
  .menu-toggle { display: flex; }
  .menu-panel { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 68px); overflow-y: auto; padding: 18px 24px; flex-direction: column; align-items: stretch; gap: 16px; background: #171b17; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgb(0 0 0 / 35%); }
  .menu-panel .nav-pages { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-panel .nav-link { display: block; width: 100%; padding: 11px 12px; min-height: 44px; font-size: 15px; text-align: left; }
  .menu-panel .nav-socials { justify-content: flex-start; padding-left: 12px; gap: 12px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 42px; padding-block: 50px 36px; }
  .hero-landscape { inset: 0; background-position: 65% center; }
  .hero::before { background: linear-gradient(180deg, rgb(23 27 23 / 98%) 10%, rgb(23 27 23 / 92%) 40%, rgb(23 27 23 / 35%) 65%, #171b17); }
  .hero-content { max-width: 600px; }
  .hero h1 { font-size: clamp(42px, 7vw, 60px); }
  .hero-side { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 24px; }
  .hero-logo { width: 100%; }
  .hero-connection { scroll-margin-top: 90px; }
  .hero-foot { flex-direction: column; gap: 10px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .section-description { max-width: 620px; }
  .content-section { padding-top: 72px; }
  .welcome-section, .oic-section { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .welcome-image { aspect-ratio: 16 / 9; }
  .oic-image { max-height: 520px; object-fit: contain; background: #fff; }
  .compatibility-panel { grid-template-columns: minmax(0, 1fr); }
  .compatibility-intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .roadmap-list { gap: 22px; }
  .gallery-track { --gallery-visible: 2; --gallery-gap: 16px; }
  .news-grid { --news-visible: 2; }
  .story-scene { grid-template-columns: minmax(0, 1fr) 180px; gap: 28px; }
  .speech-bubble { padding: 24px; }
  .community-section { padding-block: 72px; }
  .community-grid { grid-template-columns: minmax(0, 1fr); }
  .community-content { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 24px; padding: 28px; }
  .community-icon { grid-row: 1 / 4; margin: 0; }
  .community-content p { margin-block: 12px; }
  .community-content .community-action { grid-column: 2; }
  .vote-panel { padding: 28px; }
  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 72px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; gap: 20px 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-credits { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(39px, 10vw, 52px); }
  .hero-description { font-size: 19px; margin-top: 24px; }
  .hero-introduction { font-size: 15px; }
  .hero-actions { gap: 8px 20px; margin-top: 24px; }
  .hero-side { display: flex; gap: 26px; }
  .hero-logo { width: min(280px, 85%); }
  .hero-connection { padding: 20px; }
  .hero-address { font-size: 16px; }
  .hero-version { font-size: 12px; }
  .hero-foot { font-size: 12px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  h2 { font-size: 32px; }
  .section-heading { margin-bottom: 26px; }
  .content-section { padding-top: 60px; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-card { padding: 24px; }
  .platform-card-top { margin-bottom: 22px; }
  .platform-card p { font-size: 15px; }
  .compatibility-intro { padding: 24px; }
  .version-list { padding: 0 24px; }
  .version-list > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .roadmap-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .roadmap-list h4 { font-size: 20px; }
  .roadmap-list p { font-size: 15px; }
  .empty-state { padding: 22px 18px; gap: 16px; font-size: 14px; }
  .empty-state > .icon { width: 24px; height: 24px; }
  .gallery-track { --gallery-visible: 1; --gallery-gap: 16px; }
  .video-carousel { --video-width: 82vw; }
  .video-track { gap: 12px; }
  .video-meta { padding: 16px; }
  .video-meta h3 { font-size: 15px; }
  .story-scene { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .story-speaker { justify-self: end; width: 150px; }
  .speech-bubble { padding: 24px 20px; }
  .speech-bubble::after { top: auto; bottom: -24px; right: 55px; transform: rotate(90deg); }
  #story-text, #story-measure { font-size: 16px; }
  .story-meta { padding-top: 18px; min-height: 70px; font-size: 12px; }
  .map-frame iframe { height: 360px; }
  .narrator-stage { height: 220px; }
  .news-grid { --news-visible: 1; }
  .news-card { padding: 20px; }
  .news-footer { flex-wrap: wrap; }
  .community-section { padding-block: 60px; }
  .community-content { display: flex; padding: 24px; }
  .community-icon { margin-bottom: 24px; }
  .community-content h3 { font-size: 24px; }
  .community-content p { font-size: 15px; margin-bottom: 18px; }
  .vote-panel { padding: 24px; gap: 18px; }
  .vote-panel > div:first-of-type { min-width: 0; flex-basis: 100%; }
  .vote-panel h3 { font-size: 23px; }
  .vote-links { flex-direction: column; }
  .faq-section { padding-bottom: 60px; }
  .team-heading h2 { font-size: 26px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 310px; gap: 20px 0; }
  .player-name { font-size: 11px; }
  .rules-page { padding-block: 50px 64px; }
  .rules-list li { gap: 14px; font-size: 15px; }
  .site-footer { padding-block: 28px; }
  .footer-credits { flex-wrap: wrap; gap: 14px; }
  .footer-love { gap: 8px; font-size: 11px; }
  .footer-love img { width: 24px; height: 24px; }
  .toast { bottom: 18px; font-size: 13px; padding: 13px 16px; }
  .lightbox { padding: 12px; }
  .lightbox-toolbar p { font-size: 13px; }
  .lightbox-navigation .button { font-size: 13px; padding-inline: 12px; }
  .lightbox-navigation { font-size: 13px; }
}
@media (hover: hover) and (pointer: fine) {
  .site-header .brand:hover .brand-logo { opacity: 0; }
  .site-header .brand:hover .brand-easteregg { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.has-logo-transition) .hero-logo:hover,
  body.has-logo-transition[data-logo-position="hero"] .hero-logo:hover { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
