@layer reset, base, components, pages, responsive, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: dark; scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ul, ol { margin: 0; }
  ul, ol { padding: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  button { color: inherit; }
  a { color: inherit; text-decoration: none; }
}

@layer base {
  :root {
    --ink: #10150f; --bg: #17231b; --bg-2: #1d2a20; --bg-3: #28372b;
    --paper: #ded8c8; --paper-dim: #c8c2b3; --text: #eeeadd; --muted: #a9aa9e;
    --line: #373a31; --line-soft: #292c25; --acid: #bad57b; --acid-dark: #8da754;
    --sand: #d1b37d; --orange: #d58b55; --red: #cc725f; --shell: 1160px;
    --header-height: 70px; --ease: cubic-bezier(.2, .7, .2, 1);
  }
  body {
    min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
    font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  }
  body::before {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; opacity: .045;
    background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.08) 3px 4px);
  }
  ::selection { background: var(--acid); color: var(--ink); }
  :focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
  [hidden] { display: none !important; }
  main { min-height: 64vh; }
}

@layer components {
  .shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 14px; background: var(--paper); color: var(--ink); transform: translateY(-150%); transition: transform .2s; }
  .skip-link:focus { transform: translateY(0); }

  .site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); border-bottom: 1px solid var(--line-soft); background: rgba(20,31,24,.97); }
  .site-header.is-scrolled { border-bottom-color: var(--line); }
  .navbar { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
  .brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
  .brand-mark { width: 34px; height: 34px; fill: var(--sand); }
  .brand-mark-face { fill: var(--ink); }
  .brand-copy { display: grid; line-height: 1.15; }
  .brand-copy strong { font-size: .84rem; letter-spacing: .18em; }
  .brand-copy small { margin-top: 4px; color: var(--muted); font-size: .68rem; letter-spacing: .02em; }
  .nav-panel { display: flex; align-items: center; gap: 18px; }
  .nav-panel-head { display: none; }
  .nav-links { display: flex; align-items: center; }
  .nav-links a { position: relative; padding: 10px 12px; color: var(--muted); font-size: .84rem; letter-spacing: .02em; transition: color .2s; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
  .nav-links a[aria-current="page"]::before { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; content: ""; background: var(--acid); }
  .menu-toggle { display: none; }

  .announcement { border-bottom: 1px solid #d9e6b6; background: var(--acid); color: var(--ink); }
  .announcement-link { display: grid; min-height: 42px; grid-template-columns: auto auto minmax(0,1fr) auto; align-items: center; gap: 12px; }
  .announcement-icon { width: 18px; }
  .announcement-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
  .announcement-label { padding-right: 12px; border-right: 1px solid rgba(16,17,15,.28); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
  .announcement-viewport { min-width: 0; overflow: hidden; }
  .announcement-text { display: inline-block; white-space: nowrap; font-size: .86rem; font-weight: 650; }
  .announcement-arrow { font-size: 1rem; }
  .announcement.is-overflowing .announcement-text { padding-left: 100%; animation: ticker 18s linear infinite; }
  .announcement-link:hover .announcement-arrow { transform: translateX(3px); }

  .button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-weight: 750; line-height: 1.1; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
  .button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .button:hover { transform: translateY(-2px); }
  .button-primary { border-color: var(--acid); background: var(--acid); color: var(--ink); box-shadow: 3px 3px 0 #637742; }
  .button-primary:hover { background: #cbe794; box-shadow: 5px 5px 0 #637742; }
  .button-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #637742; }
  .button-secondary { border-color: var(--line); color: var(--text); }
  .button-secondary:hover { border-color: var(--paper-dim); background: var(--paper); color: var(--ink); }
  .button-small { min-height: 38px; padding: 8px 13px; font-size: .82rem; }
  .nav-join { min-height: 38px; }

  .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
  .text-link span { color: var(--acid); transition: transform .2s; }
  .text-link:hover span { transform: translateX(4px); }
  .plain-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 800; }
  .plain-cta span:last-child { color: var(--acid); font-size: 1.35rem; transition: transform .2s; }
  .plain-cta:hover span:last-child { transform: translate(3px,-3px); }

  .ui-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
  .eyebrow, .section-label, .page-index, .hero-index { display: inline-block; color: var(--acid); font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
  .section-title { font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1.08; letter-spacing: -.05em; }
  .section-copy { max-width: 58ch; color: var(--muted); line-height: 1.85; }
  .date { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
  .tag { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 1px; color: var(--paper-dim); font-size: .7rem; font-weight: 800; letter-spacing: .05em; }
  .tag-icon { width: 14px; height: 14px; }
  .tag-maintenance { border-color: rgba(213,139,85,.65); color: #e2ad83; }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .route-loading { display: grid; min-height: 56vh; align-content: center; gap: 14px; }
  .loading-block { display: block; height: 14px; max-width: 580px; background: var(--bg-3); animation: loading-pulse 1.2s ease-in-out infinite alternate; }
  .loading-title { height: 76px; max-width: 720px; }
  .loading-line.short { max-width: 360px; }
  .toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; padding: 12px 16px; border: 1px solid var(--acid); background: var(--ink); color: var(--text); font-size: .86rem; font-weight: 750; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .toast.is-visible { opacity: 1; transform: none; }
  .noscript { margin: 20px; padding: 14px; border: 1px solid var(--red); background: var(--bg-2); }

  .site-footer { border-top: 1px solid var(--line); background: #132018; }
  .footer-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; padding-block: 62px 50px; }
  .footer-brand .brand-mark { width: 42px; height: 42px; }
  .footer-note { max-width: 500px; margin-top: 22px; color: var(--muted); }
  .footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 36px; }
  .footer-links div { display: grid; align-content: start; gap: 7px; }
  .footer-links strong { margin-bottom: 8px; color: var(--paper-dim); font-size: .72rem; letter-spacing: .12em; }
  .footer-links a { color: var(--muted); font-size: .88rem; }
  .footer-links a:hover { color: var(--acid); }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 24px; border-top: 1px solid var(--line-soft); color: #777a70; font-size: .72rem; }
}

@layer pages {
  .hero {
    isolation: isolate; position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 78% 18%, rgba(186,213,123,.12), transparent 25%), linear-gradient(135deg, #11120f 0 58%, #15180f 100%);
  }
  .hero::before {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; content: ""; opacity: .14;
    background-image: linear-gradient(rgba(186,213,123,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(186,213,123,.2) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: linear-gradient(100deg, transparent 5%, #000 48%, #000 100%);
  }
  .hero-world { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
  .voxel-sun {
    position: absolute; top: 84px; right: clamp(48px,8vw,150px); width: 86px; height: 86px; background: var(--sand); opacity: .78;
    box-shadow: 0 0 0 12px rgba(209,179,125,.06), 0 0 80px rgba(209,179,125,.24); animation: voxel-sun-pulse 7s ease-in-out infinite alternate; transition: translate .55s var(--ease);
  }
  .voxel-sun::after { position: absolute; inset: 10px; content: ""; background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(16,17,15,.1) 10px 12px); }
  .voxel-landscape {
    position: absolute; right: max(-80px,calc((100vw - var(--shell))/2 - 170px)); bottom: -30px; width: min(58vw,780px); max-width: none; opacity: .5;
    filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)); animation: voxel-landscape-drift 11s ease-in-out infinite alternate; transition: translate .55s var(--ease);
  }
  .voxel-grid { fill: none; stroke: rgba(186,213,123,.22); stroke-width: 1; }
  .voxel-top { fill: var(--voxel-top,#829956); }
  .voxel-left { fill: var(--voxel-left,#455335); }
  .voxel-right { fill: var(--voxel-right,#2d3625); }
  .terrain-block { opacity: .95; }
  .terrain-block.grass { --voxel-top: #9bb768; --voxel-left: #4b5b39; --voxel-right: #303b28; }
  .terrain-block.stone { --voxel-top: #8b8d81; --voxel-left: #4f514b; --voxel-right: #373a35; }
  .terrain-block.earth { --voxel-top: #8d7453; --voxel-left: #594731; --voxel-right: #3e3225; }
  .terrain-block.light { --voxel-top: #d0b477; --voxel-left: #7d6846; --voxel-right: #574930; }
  .block-7 { opacity: .72; }
  .block-8 { opacity: .82; }
  .hero-pixels i { position: absolute; display: block; width: 7px; height: 7px; background: var(--acid); opacity: .38; animation: pixel-rise 9s linear infinite; }
  .hero-pixels i:nth-child(1) { left: 8%; top: 27%; animation-delay: -2s; }
  .hero-pixels i:nth-child(2) { left: 46%; top: 15%; width: 4px; height: 4px; animation-delay: -6s; }
  .hero-pixels i:nth-child(3) { right: 38%; top: 44%; width: 10px; height: 10px; background: var(--sand); animation-delay: -4s; }
  .hero-pixels i:nth-child(4) { right: 7%; top: 34%; animation-delay: -8s; }
  .hero-pixels i:nth-child(5) { right: 21%; bottom: 12%; width: 5px; height: 5px; animation-delay: -1s; }
  .hero-pixels i:nth-child(6) { left: 37%; bottom: 18%; background: var(--paper-dim); animation-delay: -7s; }
  .hero-pixels i:nth-child(5), .hero-pixels i:nth-child(6) { display: none; }
  .hero[data-look="up-left"] .voxel-landscape { translate: -6px -4px; }
  .hero[data-look="up-right"] .voxel-landscape { translate: 6px -4px; }
  .hero[data-look="down-left"] .voxel-landscape { translate: -6px 4px; }
  .hero[data-look="down-right"] .voxel-landscape { translate: 6px 4px; }
  .hero[data-look="up-left"] .voxel-sun, .hero[data-look="down-left"] .voxel-sun { translate: 3px 0; }
  .hero[data-look="up-right"] .voxel-sun, .hero[data-look="down-right"] .voxel-sun { translate: -3px 0; }
  .voxel-coordinates { position: absolute; right: max(22px,calc((100vw - var(--shell))/2)); bottom: 42px; color: rgba(238,234,221,.42); font-family: ui-monospace, monospace; font-size: .65rem; letter-spacing: .12em; }
  .hero-shell { position: relative; z-index: 2; display: grid; min-height: 650px; grid-template-columns: minmax(0,1.18fr) minmax(360px,.72fr); align-items: center; gap: clamp(52px,8vw,112px); padding-block: 88px 74px; }
  .hero-copy { max-width: 720px; }
  .hero-title { margin-top: 22px; line-height: .98; }
  .hero-title > span { display: block; max-width: 780px; font-size: clamp(3.6rem,7vw,6.8rem); font-weight: 900; letter-spacing: -.075em; }
  .hero-title em { display: block; margin-top: 20px; color: var(--sand); font-family: ui-serif, "Noto Serif TC", "Songti TC", serif; font-size: clamp(1.9rem,3.2vw,3.2rem); font-style: normal; font-weight: 500; letter-spacing: -.04em; }
  .hero-subtitle { max-width: 610px; margin-top: 25px; color: var(--paper-dim); font-size: 1.05rem; line-height: 1.85; }
  .hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
  .hero-about { font-size: .9rem; }
  .hero-notes { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
  .hero-notes span { padding: 11px 18px 0 0; margin-right: 18px; color: var(--muted); font-size: .74rem; letter-spacing: .03em; }
  .hero-notes span + span { padding-left: 18px; border-left: 1px solid var(--line); }

  .join-board { position: relative; align-self: center; border-top: 4px solid var(--acid); background: rgba(23,25,20,.96); box-shadow: 18px 18px 0 rgba(4,5,4,.36); }
  .join-board::after { position: absolute; top: 52px; right: -12px; width: 12px; height: 76px; content: ""; background: repeating-linear-gradient(0deg, var(--acid) 0 9px, transparent 9px 14px); opacity: .72; }
  .join-board-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .join-board-head strong { font-size: 1rem; }
  .join-board-head span { color: var(--muted); font-size: .7rem; }
  .join-board-row { position: relative; padding: 20px; border-bottom: 1px solid var(--line); }
  .join-board-edition { display: flex; align-items: center; gap: 12px; }
  .join-board-edition > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); color: var(--acid); }
  .join-board-edition .ui-icon { width: 20px; }
  .join-board-edition div { display: grid; }
  .join-board-edition small { color: var(--muted); font-size: .65rem; }
  .join-board-edition strong { font-size: .86rem; }
  .join-board-address { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; margin-top: 16px; border: 1px solid var(--line); }
  .join-board-address code { overflow: hidden; padding: 12px 13px; color: var(--text); font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
  .join-board-address button { align-self: stretch; padding: 0 13px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--acid); cursor: pointer; font-size: .75rem; font-weight: 800; }
  .join-board-address button:hover { background: var(--acid); color: var(--ink); }
  .join-board-address button:active { transform: translate(1px,1px); box-shadow: inset 2px 2px rgba(16,17,15,.22); }
  .join-board-port { margin-top: 10px; color: var(--muted); font-size: .72rem; }
  .join-board-port strong { color: var(--text); font-family: ui-monospace, monospace; }
  .join-board-foot { padding: 18px 20px; background: var(--acid); color: var(--ink); }
  .join-board-foot span { font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
  .join-board-foot p { margin-top: 5px; font-size: .78rem; font-weight: 650; }
  .hero-rule { position: relative; z-index: 2; display: grid; height: 30px; grid-template-columns: 1.2fr .5fr 1.6fr .75fr 1fr; gap: 4px; align-items: end; }
  .hero-rule span { height: 9px; background: var(--line); box-shadow: inset 0 3px rgba(255,255,255,.03); }
  .hero-rule span:nth-child(2), .hero-rule span:nth-child(4) { height: 22px; background: var(--acid-dark); }
  .home-section { position: relative; padding-block: 104px; border-bottom: 1px solid var(--line); }
  .home-section::after { position: absolute; top: -1px; right: 0; width: clamp(120px,22vw,330px); height: 8px; content: ""; background: repeating-linear-gradient(90deg, var(--line) 0 26px, transparent 26px 31px, var(--acid-dark) 31px 39px, transparent 39px 45px); opacity: .7; }
  .editorial-heading { display: grid; grid-template-columns: 70px minmax(0,1.1fr) minmax(280px,.78fr); gap: 34px; align-items: start; }
  .section-number { padding-top: 8px; color: var(--acid); font-family: ui-monospace, monospace; font-size: .76rem; }
  .editorial-heading .section-label { margin-bottom: 14px; }
  .editorial-heading .section-copy { padding-top: 30px; }
  .feature-ledger { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 68px; border-top: 1px solid var(--line); }
  .feature-row { display: grid; min-height: 180px; grid-template-columns: 36px 52px minmax(0,1fr); gap: 18px; align-items: start; padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
  .feature-row:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
  .feature-row:nth-child(even) { padding-left: 40px; }
  .feature-number { color: #717468; font-family: ui-monospace, monospace; font-size: .7rem; }
  .feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); color: var(--sand); }
  .feature-icon .ui-icon { width: 21px; }
  .feature-icon { transition: transform .22s var(--ease), background .22s, color .22s, box-shadow .22s; }
  .feature-row:hover .feature-icon { background: var(--sand); color: var(--ink); transform: translate(-4px,-4px); box-shadow: 6px 6px 0 #30332b; }
  .feature-row h3 { font-size: 1.25rem; letter-spacing: -.025em; }
  .feature-row p { max-width: 37ch; margin-top: 10px; color: var(--muted); font-size: .9rem; }

  .edition-ledger { margin-top: 68px; border-top: 1px solid var(--line); }
  .edition-row { display: grid; grid-template-columns: 58px 1fr 1fr minmax(250px,1.1fr); align-items: center; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
  .edition-row-icon { display: grid; width: 42px; height: 42px; place-items: center; background: var(--paper); color: var(--ink); }
  .edition-row-icon .ui-icon { width: 20px; }
  .edition-row strong { font-size: 1.08rem; }
  .edition-row > span:nth-child(3) { color: var(--muted); font-size: .85rem; }
  .edition-row code { color: var(--acid); font-size: .9rem; text-align: right; }

  .latest-grid { display: grid; margin-top: 68px; }
  .news-card { display: grid; grid-template-columns: 130px minmax(0,1fr) 90px; gap: 28px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); transition: color .2s, padding .2s; }
  .news-card:last-child { border-bottom: 1px solid var(--line); }
  .news-card:hover { padding-left: 10px; color: var(--acid); }
  .news-card-main { display: grid; gap: 10px; }
  .news-card h3 { font-size: clamp(1.25rem,2vw,1.7rem); line-height: 1.25; letter-spacing: -.03em; }
  .news-card p { max-width: 650px; color: var(--muted); font-size: .9rem; }
  .card-foot { align-self: center; color: var(--muted); font-size: .76rem; text-align: right; }

  .page-hero { position: relative; overflow: hidden; border-bottom: 1px solid #b9b3a5; background: var(--paper); color: var(--ink); }
  .page-hero::before { position: absolute; inset: 0; content: ""; opacity: .16; background-image: linear-gradient(rgba(16,17,15,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(16,17,15,.2) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent 35%, #000); }
  .page-hero::after { position: absolute; right: -34px; bottom: -24px; width: 310px; height: 178px; content: ""; background: linear-gradient(145deg, #6f7e4e, #313a28); clip-path: polygon(38% 0,68% 0,68% 20%,84% 20%,84% 40%,100% 40%,100% 100%,0 100%,0 60%,18% 60%,18% 35%,38% 35%); opacity: .17; }
  .page-hero-inner { position: relative; z-index: 1; display: grid; min-height: 330px; grid-template-columns: 220px minmax(0,1fr); gap: 50px; align-items: end; padding-block: 72px 62px; }
  .page-index { align-self: start; padding-top: 12px; color: #5e654d; }
  .display-title { max-width: 900px; font-size: clamp(2.8rem,6vw,5.8rem); line-height: 1.03; letter-spacing: -.065em; }
  .page-hero .section-copy { max-width: 720px; margin-top: 22px; color: #55574f; font-size: 1rem; }
  .page-content { padding-block: 82px 110px; }

  .server-overview-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .overview-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
  .overview-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
  .overview-icon { color: var(--acid); }
  .overview-icon .ui-icon { width: 20px; }
  .overview-card > strong { font-size: 1.25rem; line-height: 1.35; }
  .intro-grid { margin-top: 72px; }
  .intro-card { padding: 42px 0 0; border-top: 4px solid var(--acid); background: transparent; }
  .intro-card h2 { margin-top: 20px; font-size: clamp(2.4rem,5vw,4.8rem); letter-spacing: -.06em; }
  .intro-card > p { max-width: 780px; margin-top: 20px; color: var(--paper-dim); font-size: 1.02rem; }
  .feature-list { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 42px; border-top: 1px solid var(--line); }
  .feature-list li { position: relative; min-height: 92px; padding: 24px 30px 24px 26px; border-bottom: 1px solid var(--line); color: var(--muted); list-style: none; }
  .feature-list li:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature-list li::before { position: absolute; left: 0; top: 32px; width: 7px; height: 7px; content: ""; background: var(--acid); }

  .detail-section { margin-top: 104px; }
  .detail-section .section-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; }
  .detail-section .section-title { margin-top: 12px; }
  .detail-section .section-copy { margin-top: 18px; }
  .principle-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .principle-card { min-height: 240px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principle-card > span { color: var(--acid); font-family: ui-monospace, monospace; font-size: .72rem; }
  .principle-card h3 { margin-top: 56px; font-size: 1.35rem; }
  .principle-card p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
  .independent-note { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 22px; margin-top: 72px; padding: 30px 32px; border-left: 4px solid var(--sand); background: var(--bg-2); }
  .note-mark { color: var(--sand); }
  .independent-note strong { font-size: 1.15rem; }
  .independent-note p { max-width: 800px; margin-top: 7px; color: var(--muted); }
  .contact-note { align-items: start; }
  .contact-note .button { margin-top: 20px; }

  .edition-strip { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .edition-detail { display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .edition-detail-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 22px; background: var(--paper); color: var(--ink); }
  .edition-detail h3 { margin-top: 15px; font-size: 2rem; }
  .edition-detail p { max-width: 40ch; margin-top: 10px; color: var(--muted); }
  .edition-address { display: grid; grid-template-columns: minmax(0,1fr) auto; margin-top: 35px; border: 1px solid var(--line); }
  .edition-address code { overflow: hidden; padding: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--acid); cursor: pointer; font-weight: 800; }
  .copy-button:hover { background: var(--acid); color: var(--ink); }
  .copy-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

  .content-list { border-top: 1px solid var(--line); }
  .list-card { display: grid; grid-template-columns: 160px minmax(0,1fr) 46px; gap: 28px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
  .list-card-main { display: grid; gap: 12px; }
  .list-card h2 { font-size: clamp(1.45rem,2.7vw,2.2rem); line-height: 1.22; letter-spacing: -.04em; }
  .list-card p { max-width: 720px; color: var(--muted); }
  .list-arrow { align-self: center; color: var(--acid); font-size: 1.35rem; text-align: right; transition: transform .2s; }
  .list-card:hover .list-arrow { transform: translateX(5px); }
  .empty-state { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .empty-state-mark { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; border: 1px solid var(--line); color: var(--acid); }
  .empty-state strong { font-size: 1.35rem; }
  .empty-state p { margin-top: 8px; color: var(--muted); }
  .empty-state.span-grid { grid-column: 1/-1; }

  .article-shell { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding-block: 62px 110px; }
  .back-link { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: .82rem; }
  .back-link:hover { color: var(--acid); }
  .article-head { margin-top: 42px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
  .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .article-title { margin-top: 25px; font-size: clamp(2.5rem,6vw,5rem); line-height: 1.06; letter-spacing: -.06em; }
  .article-summary { max-width: 720px; margin-top: 20px; color: var(--paper-dim); font-size: 1.08rem; }
  .article-body { padding-block: 40px; color: #d4d1c5; font-size: 1rem; line-height: 2; }
  .article-body p + p, .article-body ul + p, .article-body p + ul { margin-top: 20px; }
  .article-body ul { display: grid; gap: 10px; padding-left: 1.25em; }
  .article-body h2 { margin-bottom: 16px; color: var(--text); font-size: 1.45rem; }
  .maintenance-details { border-top: 1px solid var(--line); }
  .maintenance-details section + section { margin-top: 46px; }
  .maintenance-result { padding: 24px; border-left: 4px solid var(--acid); background: var(--bg-2); }
  .share-row { display: flex; justify-content: space-between; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
  .maintenance-facts { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .fact-box { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fact-box span { display: block; color: var(--muted); font-size: .7rem; }
  .fact-box strong { display: block; margin-top: 5px; font-size: .88rem; }
  .timeline { display: grid; }
  .timeline-entry { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 42px; padding: 38px 0; border-top: 1px solid var(--line); }
  .timeline-entry:last-child { border-bottom: 1px solid var(--line); }
  .timeline-date { display: grid; align-content: start; gap: 12px; }
  .timeline-date strong { font-family: ui-monospace, monospace; font-size: .85rem; }
  .timeline-card h2 { font-size: clamp(1.5rem,3vw,2.25rem); letter-spacing: -.04em; }
  .change-group { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
  .change-group h3 { color: var(--acid); font-size: .76rem; }
  .change-group ul { display: grid; gap: 9px; color: var(--muted); }
  .change-group li { margin-left: 1.1em; }
  .change-group.fixed h3 { color: #8dc2a0; }
  .change-group.removed h3 { color: var(--red); }
  .change-group.technical h3 { color: var(--sand); }

  .join-selector { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .join-card { min-width: 0; padding: 32px; border-top: 4px solid var(--acid); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .join-card.bedrock { border-top-color: var(--sand); }
  .join-card-heading { display: flex; align-items: center; gap: 18px; }
  .join-edition-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; background: var(--paper); color: var(--ink); }
  .join-card h2 { margin-top: 7px; font-size: 2rem; }
  .edition-note { color: var(--muted); font-size: .78rem; }
  .connection-fields { display: grid; gap: 18px; margin-top: 34px; }
  .connection-label > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .7rem; font-weight: 750; }
  .copy-field { display: grid; grid-template-columns: minmax(0,1fr) auto; border: 1px solid var(--line); }
  .copy-field code { overflow: hidden; padding: 14px; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
  .version-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .version-item { padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .version-item span { display: block; color: var(--muted); font-size: .68rem; }
  .version-item strong { display: block; margin-top: 5px; font-size: .82rem; }
  .spaced-heading { margin-top: 92px; }
  .spaced-heading .section-title { margin-top: 12px; }
  .join-steps { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 42px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .step-card { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .step-number { color: var(--acid); font-family: ui-monospace, monospace; font-size: .72rem; }
  .step-card h3 { margin-top: 52px; font-size: 1.25rem; }
  .step-card p { margin-top: 10px; color: var(--muted); font-size: .9rem; }

  .contact-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .contact-card { display: flex; min-height: 360px; flex-direction: column; justify-content: space-between; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact-primary { grid-column: 1/-1; min-height: 300px; border-top: 4px solid var(--acid); }
  .contact-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-top: 32px; border: 1px solid var(--line); color: var(--sand); }
  .contact-card h2 { margin-top: 22px; font-size: 1.65rem; }
  .contact-card p { max-width: 600px; margin-top: 12px; color: var(--muted); }
  .contact-card .button { align-self: flex-start; margin-top: 30px; }
  .inline-contact-link { color: var(--acid); text-decoration: underline; text-underline-offset: 4px; }
  .contact-warning { padding-left: 14px; border-left: 3px solid var(--sand); }
  .contact-guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-top: 82px; padding-top: 42px; border-top: 1px solid var(--line); }
  .contact-guide h2 { margin-top: 12px; font-size: clamp(1.8rem,3vw,2.8rem); letter-spacing: -.04em; }
  .contact-checklist { display: grid; }
  .contact-checklist li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); list-style-position: inside; }

  .error-page { display: grid; min-height: 65vh; place-items: start; align-content: center; width: min(calc(100% - 48px), 760px); margin-inline: auto; }
  .error-code { color: var(--acid); font-family: ui-monospace, monospace; }
  .error-page h1 { margin-top: 14px; font-size: clamp(2.5rem,6vw,5rem); line-height: 1.05; letter-spacing: -.06em; }
  .error-page p { margin-top: 18px; color: var(--muted); }
  .error-page .button { margin-top: 28px; }

  /* A warmer, personal server-handbook rhythm replaces the uniform dark dashboard. */
  .hero {
    background: radial-gradient(circle at 82% 17%, rgba(225,179,103,.27), transparent 24%), radial-gradient(circle at 68% 52%, rgba(120,151,94,.2), transparent 34%), linear-gradient(128deg, #2b4235 0%, #1d3026 54%, #283526 100%);
  }
  .hero::before {
    opacity: .2; background: repeating-linear-gradient(168deg, rgba(255,255,255,.04) 0 1px, transparent 1px 24px); background-size: auto; mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  }
  .hero-title > span { color: #f3eddf; text-shadow: 0 5px 24px rgba(5,10,6,.24); }
  .hero-index { color: #d6dfb5; letter-spacing: .055em; text-transform: none; }
  .hero-subtitle { color: #ddd8c8; }
  .join-board { background: rgba(24,36,28,.95); border-top-color: #cfda98; }
  .join-board-foot { background: #c8d78e; }
  .voxel-landscape { opacity: .76; filter: saturate(1.08) drop-shadow(0 24px 28px rgba(0,0,0,.3)); }
  .voxel-sun { background: #e4b977; opacity: .9; box-shadow: 0 0 0 14px rgba(228,185,119,.08), 0 0 100px rgba(228,185,119,.35); }
  .voxel-cloud { position: absolute; display: block; width: 72px; height: 14px; background: rgba(239,235,218,.22); box-shadow: 18px -14px rgba(239,235,218,.18), 38px 0 rgba(239,235,218,.22), 54px -14px rgba(239,235,218,.14); animation: cloud-drift 16s ease-in-out infinite alternate; }
  .cloud-one { top: 142px; left: 43%; }
  .cloud-two { top: 260px; right: 7%; scale: .72; opacity: .68; animation-delay: -8s; }
  .owner-note { width: fit-content; max-width: 540px; margin-top: 28px; padding: 11px 15px; border-left: 3px solid var(--sand); background: rgba(238,234,221,.08); color: #c9c5b8; font-size: .78rem; transform: rotate(-.35deg); }
  .owner-note strong { color: #eeeadd; }

  .home-section, .page-content, .article-shell, .error-page {
    --text: #e7e2d5; --muted: #a3aa9d; --line: #3e4a40; --line-soft: #2c372f; --acid: #b5ce79; --acid-dark: #809a52; --sand: #d4a66a;
    --paper: #e1dccf; --paper-dim: #bbb9ae; --bg-2: #202a22; --bg-3: #28342b; color: var(--text);
  }
  .home-section { background: #171f19; box-shadow: 0 0 0 100vmax #171f19; clip-path: inset(0 -100vmax); border-bottom-color: #344037; }
  .edition-section { background: #1c271f; box-shadow: 0 0 0 100vmax #1c271f; }
  .news-index-section { background: #191f1a; box-shadow: 0 0 0 100vmax #191f1a; }
  .home-section::after { display: none; }
  .editorial-heading { grid-template-columns: minmax(0,1.1fr) minmax(280px,.72fr); gap: clamp(44px,8vw,110px); }
  .editorial-heading .section-copy { padding-top: 38px; }
  .section-label { padding-bottom: 4px; border-bottom: 2px solid var(--acid); color: var(--acid); font-size: .78rem; letter-spacing: .035em; text-transform: none; }
  .feature-ledger { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .feature-row, .feature-row:nth-child(odd), .feature-row:nth-child(even) { width: 94%; min-height: auto; grid-template-columns: 58px minmax(0,1fr); gap: 24px; padding: 25px 4px; border-right: 0; }
  .feature-row:nth-child(even) { margin-left: auto; }
  .feature-icon { width: 50px; height: 50px; border: 1px solid #52614f; border-radius: 50%; background: #263329; color: #b9cf80; }
  .feature-row:hover .feature-icon { background: #34442f; box-shadow: 4px 5px 0 rgba(5,8,6,.25); }
  .feature-row p { max-width: 68ch; }
  .edition-row-icon, .edition-detail-icon, .join-edition-icon { border-radius: 50%; background: #d9d4c7; }

  .page-hero { border-color: #3b473c; background: #202b23; color: #e7e2d5; }
  .page-hero::before { opacity: .16; background: repeating-linear-gradient(172deg, rgba(201,213,184,.08) 0 1px, transparent 1px 22px); mask-image: none; }
  .page-hero::after { display: none; }
  .page-dogmark { position: absolute; right: clamp(18px,8vw,130px); bottom: -32px; width: clamp(170px,21vw,290px); height: auto; fill: #a9c16f; opacity: .12; transform: rotate(5deg); }
  .page-dogmark-face { fill: #202b23; }
  .page-index { color: #b5ce79; letter-spacing: .04em; text-transform: none; }
  .page-hero .section-copy { color: #afb4a8; }
  .page-content { background: #151c17; box-shadow: 0 0 0 100vmax #151c17; clip-path: inset(0 -100vmax); }
  .article-shell { background: #151c17; box-shadow: 0 0 0 100vmax #151c17; clip-path: inset(0 -100vmax); }
  .article-body { color: var(--muted); }
  .article-summary, .intro-card > p { color: var(--paper-dim); }
  .error-page { background: #151c17; box-shadow: 0 0 0 100vmax #151c17; clip-path: inset(0 -100vmax); }

  .latest-grid, .content-list, .timeline { display: grid; gap: 20px; border: 0; }
  .record-panel {
    position: relative; overflow: hidden; border: 1px solid #425045; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 42%), #1d261f;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), 0 14px 34px rgba(3,7,4,.18); transition: border-color .22s, transform .22s var(--ease), box-shadow .22s;
  }
  .record-panel::before { position: absolute; top: 0; left: 0; width: 88px; height: 3px; content: ""; background: linear-gradient(90deg, var(--acid), var(--sand)); }
  .record-panel::after { position: absolute; right: 10px; bottom: 10px; width: 7px; height: 7px; content: ""; border-right: 1px solid #60705f; border-bottom: 1px solid #60705f; }
  .record-panel:hover { border-color: #70845e; transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 20px 42px rgba(2,5,3,.28); }
  .record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
  .record-meta .date { color: #c3c6ba; }
  .record-meta .tag { margin-left: auto; background: rgba(181,206,121,.06); }

  .news-card { display: block; margin: 0; padding: 24px 26px 25px; }
  .news-card-main { gap: 9px; padding-top: 18px; padding-right: 92px; }
  .news-card:hover { padding-left: 26px; color: inherit; background: linear-gradient(145deg, rgba(181,206,121,.055), transparent 48%), #202a22; }
  .news-card h3 { color: var(--text); }
  .card-foot { position: absolute; top: 66px; right: 26px; color: var(--acid); }

  .list-card { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 18px 24px; padding: 25px 27px 27px; border-bottom: 1px solid #425045; }
  .list-card .record-meta { grid-column: 1/-1; }
  .list-card-main { grid-column: 1; gap: 10px; }
  .list-card h2 { color: var(--text); }
  .list-arrow { grid-column: 2; grid-row: 2; align-self: center; color: var(--acid); }

  .timeline { margin-top: 8px; }
  .timeline-entry { display: block; padding: 0; border: 1px solid #425045; }
  .timeline-entry:last-child { border-bottom: 1px solid #425045; }
  .timeline-head { padding: 21px 25px 19px; border-bottom: 1px solid var(--line); background: rgba(181,206,121,.035); }
  .timeline-date { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
  .timeline-date time { color: #c4c7ba; font-family: ui-monospace, monospace; font-size: .8rem; }
  .timeline-head h2 { font-size: clamp(1.45rem,3vw,2.15rem); line-height: 1.2; letter-spacing: -.035em; }
  .timeline-card { padding: 3px 25px 25px; }
  .change-group { display: block; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
  .change-group h3 { display: inline-flex; margin-bottom: 11px; padding: 4px 9px; border-left: 3px solid currentColor; background: rgba(181,206,121,.045); color: var(--acid); font-size: .76rem; }
  .change-group ul { gap: 8px; color: var(--muted); }
  .change-group li { margin-left: 1.2em; padding-left: 3px; }
  .change-group.fixed h3 { color: #8fc49f; }
  .change-group.removed h3 { color: #d98778; }
  .change-group.technical h3 { color: var(--sand); }
  .maintenance-facts { gap: 10px; border: 0; }
  .fact-box { border: 1px solid var(--line); background: #1b241d; }
}

@layer responsive {
  @media (max-width: 980px) {
    .hero-shell { grid-template-columns: 1fr; gap: 58px; padding-block: 74px 64px; }
    .join-board { width: min(100%, 620px); }
    .editorial-heading { grid-template-columns: 1fr; gap: 28px; }
    .editorial-heading .section-copy { grid-column: auto; padding-top: 0; }
    .server-overview-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .nav-links a { padding-inline: 8px; font-size: .78rem; }
    .page-hero-inner { grid-template-columns: 150px 1fr; }
  }

  @media (max-width: 760px) {
    :root { --header-height: 64px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .site-header { background: var(--bg); }
    .brand-copy small { display: none; }
    .brand-mark { width: 32px; height: 32px; }
    .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--text); transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-panel { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; padding: 0 14px 18px; border-bottom: 1px solid var(--line); background: #0e0f0d; }
    .nav-panel.is-open { display: grid; }
    .nav-panel-head { display: flex; justify-content: space-between; padding: 20px 0 13px; border-bottom: 1px solid var(--line); }
    .nav-panel-head span { font-weight: 850; }
    .nav-panel-head small { color: var(--muted); }
    .nav-links { display: grid; }
    .nav-links a { display: flex; min-height: 47px; align-items: center; justify-content: space-between; padding: 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
    .nav-links a::after { content: "→"; color: #66695e; }
    .nav-links a[aria-current="page"] { color: var(--acid); }
    .nav-links a[aria-current="page"]::before { display: none; }
    .nav-join { width: 100%; margin-top: 14px; }

    .announcement-link { grid-template-columns: auto auto minmax(0,1fr); gap: 8px; min-height: 40px; }
    .announcement-arrow { display: none; }
    .announcement-label { padding-right: 8px; font-size: .62rem; }
    .announcement-text { font-size: .75rem; }

    .hero-shell { min-height: auto; gap: 46px; padding-block: 52px 50px; }
    .hero::before { background-size: 42px 42px; opacity: .1; }
    .voxel-sun { top: 96px; right: -8px; width: 58px; height: 58px; opacity: .48; }
    .voxel-landscape { top: 330px; right: -285px; bottom: auto; width: 690px; opacity: .22; mask-image: linear-gradient(to bottom, transparent, #000 22%, #000); }
    .hero-pixels i:nth-child(n+4) { display: none; }
    .voxel-cloud { opacity: .35; }
    .cloud-one { top: 178px; left: 58%; scale: .72; }
    .cloud-two { display: none; }
    .owner-note { margin-top: 22px; transform: none; }
    .page-dogmark { right: -32px; width: 180px; opacity: .11; }
    .voxel-coordinates { display: none; }
    .join-board { box-shadow: 8px 8px 0 rgba(4,5,4,.34); }
    .join-board::after { display: none; }
    .hero-title { margin-top: 17px; }
    .hero-title > span { font-size: clamp(3rem,14vw,4.6rem); line-height: 1.02; }
    .hero-title em { margin-top: 14px; font-size: clamp(1.7rem,8vw,2.5rem); }
    .hero-subtitle { margin-top: 20px; font-size: .94rem; }
    .hero-actions { align-items: flex-start; gap: 17px; margin-top: 27px; }
    .hero-notes { margin-top: 30px; }
    .hero-notes span { margin-right: 10px; padding-right: 10px; font-size: .66rem; }
    .hero-notes span + span { padding-left: 10px; }
    .join-board { width: 100%; }
    .join-board-head, .join-board-row, .join-board-foot { padding-inline: 16px; }
    .hero-rule { height: 14px; }

    .home-section { padding-block: 74px; }
    .editorial-heading { grid-template-columns: 1fr; gap: 18px; }
    .section-number { padding-top: 5px; }
    .editorial-heading .section-copy { grid-column: auto; margin-top: 0; padding-top: 0; }
    .section-title { font-size: clamp(2.15rem,10vw,3.4rem); }
    .feature-ledger { grid-template-columns: 1fr; margin-top: 46px; }
    .feature-row, .feature-row:nth-child(odd), .feature-row:nth-child(even) { width: 100%; min-height: auto; padding: 25px 0; border-right: 0; }
    .edition-ledger { margin-top: 46px; }
    .edition-row { grid-template-columns: 48px 1fr; gap: 10px 14px; padding-block: 20px; }
    .edition-row > span:nth-child(3) { grid-column: 2; }
    .edition-row code { grid-column: 1/-1; padding-top: 8px; text-align: left; overflow-wrap: anywhere; }
    .latest-grid { margin-top: 46px; }
    .news-card { grid-template-columns: 1fr auto; gap: 14px 18px; padding-block: 24px; }
    .news-card .date { grid-column: 1; }
    .news-card-main { grid-column: 1/-1; }
    .card-foot { grid-column: 2; grid-row: 1; }
    .news-card:hover { padding-left: 0; }

    .page-hero-inner { min-height: 280px; grid-template-columns: 1fr; gap: 20px; padding-block: 52px 44px; }
    .page-index { align-self: auto; padding-top: 0; }
    .display-title { font-size: clamp(2.65rem,12vw,4.2rem); }
    .page-hero .section-copy { font-size: .92rem; }
    .page-content { padding-block: 58px 82px; }

    .server-overview-grid { grid-template-columns: repeat(2,1fr); }
    .overview-card { min-height: 150px; padding: 18px; }
    .overview-card > strong { font-size: 1rem; }
    .intro-grid { margin-top: 58px; }
    .intro-card { padding-top: 30px; }
    .feature-list { grid-template-columns: 1fr; margin-top: 32px; }
    .feature-list li, .feature-list li:nth-child(odd) { min-height: auto; padding-block: 18px; border-right: 0; }
    .detail-section { margin-top: 78px; }
    .principle-grid { grid-template-columns: 1fr; margin-top: 34px; }
    .principle-card { min-height: auto; }
    .principle-card h3 { margin-top: 34px; }
    .independent-note { grid-template-columns: 38px 1fr; gap: 14px; margin-top: 54px; padding: 24px 20px; }
    .edition-strip { grid-template-columns: 1fr; margin-top: 34px; }
    .edition-detail { min-height: 340px; padding: 24px; }

    .list-card { grid-template-columns: 1fr 30px; gap: 12px; padding-block: 25px; }
    .list-card .date { grid-column: 1; }
    .list-card-main { grid-column: 1; }
    .list-arrow { grid-column: 2; grid-row: 1/3; }
    .article-shell { width: min(calc(100% - 28px), 860px); padding-block: 42px 80px; }
    .article-head { margin-top: 32px; padding-bottom: 30px; }
    .article-body { padding-block: 32px; }
    .maintenance-facts { grid-template-columns: 1fr; }
    .share-row { flex-direction: column; }
    .share-row .button { width: 100%; }
    .timeline-entry { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
    .timeline-date { display: flex; align-items: center; justify-content: space-between; }
    .change-group { grid-template-columns: 1fr; gap: 10px; }

    .join-selector { grid-template-columns: 1fr; }
    .join-card { padding: 24px 20px; }
    .join-card h2 { font-size: 1.7rem; }
    .copy-field code { font-size: .82rem; }
    .spaced-heading { margin-top: 70px; }
    .join-steps { grid-template-columns: 1fr; margin-top: 30px; }
    .step-card { min-height: auto; }
    .step-card h3 { margin-top: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-primary { grid-column: auto; }
    .contact-card, .contact-primary { min-height: 330px; padding: 24px 20px; }
    .contact-guide { grid-template-columns: 1fr; gap: 34px; margin-top: 62px; }

    .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-block: 50px 38px; }
    .footer-links { gap: 25px; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
  }

  @media (max-width: 420px) {
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-about { justify-content: center; min-height: 42px; }
    .feature-row { grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
    .feature-icon { width: 38px; height: 38px; }
    .server-overview-grid { grid-template-columns: 1fr; }
    .overview-card { min-height: 130px; }
    .maintenance-facts, .version-grid { grid-template-columns: 1fr; }
  }
}

@layer utilities {
  @keyframes cloud-drift { from { translate: -4px 0; } to { translate: 7px 2px; } }
  @keyframes voxel-sun-pulse { from { opacity: .72; transform: scale(.99); } to { opacity: .8; transform: scale(1.015); } }
  @keyframes voxel-landscape-drift { from { transform: translate3d(0,2px,0); } to { transform: translate3d(-3px,-3px,0); } }
  @keyframes pixel-rise { 0% { opacity: 0; transform: translateY(34px) scale(.7); } 22%,72% { opacity: .42; } 100% { opacity: 0; transform: translateY(-58px) scale(1.15); } }
  @keyframes ticker { to { transform: translateX(-100%); } }
  @keyframes loading-pulse { from { opacity: .45; } to { opacity: .9; } }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .announcement.is-overflowing .announcement-text { padding-left: 0; animation: none; }
  }
}
@layer responsive {
  @media (max-width: 760px) {
    .record-panel:hover { transform: none; }
    .record-meta { align-items: flex-start; gap: 10px; }
    .record-meta .tag { margin-left: 0; }
    .news-card { display: block; margin: 0; padding: 21px 19px 22px; }
    .news-card .date { grid-column: auto; }
    .news-card-main { grid-column: auto; padding-top: 16px; padding-right: 0; }
    .card-foot { position: static; display: block; margin-top: 16px; text-align: left; }
    .news-card:hover { padding-left: 19px; }
    .list-card { padding: 21px 19px 23px; }
    .list-card .record-meta { grid-column: 1/-1; }
    .timeline-entry { display: block; gap: 0; padding: 0; }
    .timeline-head { padding: 19px 19px 17px; }
    .timeline-card { padding: 2px 19px 21px; }
    .change-group { display: block; gap: 0; }
  }
}
@layer pages {
  /* The version ribbon works like a server placard, not another generic card. */
  .runtime-ribbon {
    position: relative;
    z-index: 5;
    display: grid;
    width: min(calc(100% - 48px), var(--shell));
    min-height: 188px;
    grid-template-columns: 210px minmax(0, 1fr) 150px;
    align-items: stretch;
    margin: -38px auto -14px;
    border: 1px solid #52604d;
    background:
      linear-gradient(115deg, rgba(196, 217, 139, .08), transparent 37%),
      #111a14;
    box-shadow: 16px 18px 0 rgba(4, 8, 5, .28), 0 28px 80px rgba(2, 6, 3, .35);
  }
  .runtime-ribbon::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    content: "";
    background: repeating-linear-gradient(90deg, #b9d279 0 36px, #d2a66c 36px 48px, transparent 48px 56px);
  }
  .runtime-ribbon::after {
    position: absolute;
    right: 146px;
    bottom: 0;
    width: 68px;
    height: 34px;
    content: "";
    opacity: .14;
    background: #b9d279;
    clip-path: polygon(0 50%, 25% 50%, 25% 25%, 50% 25%, 50% 0, 75% 0, 75% 50%, 100% 50%, 100% 100%, 0 100%);
  }
  .runtime-build {
    display: grid;
    align-content: center;
    padding: 30px 28px;
    border-right: 1px solid #52604d;
    background:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
      #1d2c21;
    background-size: 18px 18px;
  }
  .runtime-build span, .runtime-kicker {
    color: #b9d279;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
  }
  .runtime-build strong {
    margin-top: 3px;
    color: #f0eadc;
    font-size: clamp(3.3rem, 6vw, 5.2rem);
    line-height: .94;
    letter-spacing: -.08em;
  }
  .runtime-build small { margin-top: 9px; color: #9ea99c; font-size: .72rem; }
  .runtime-copy { align-self: center; padding: 29px clamp(28px, 4vw, 54px); }
  .runtime-copy h2 { margin-top: 7px; font-size: clamp(1.55rem, 2.8vw, 2.45rem); line-height: 1.12; letter-spacing: -.045em; }
  .runtime-copy p { max-width: 670px; margin-top: 12px; color: #adb3a8; font-size: .88rem; line-height: 1.75; }
  .runtime-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 27px 24px;
    border-left: 1px solid #52604d;
    color: #dce6bd;
    font-size: .78rem;
    font-weight: 800;
  }
  .runtime-link span:last-child { align-self: flex-end; font-size: 1.8rem; transition: transform .2s var(--ease); }
  .runtime-link:hover { background: #b9d279; color: #111a14; }
  .runtime-link:hover span:last-child { transform: translate(4px, -4px); }

  #survival { overflow: hidden; padding-top: 132px; }
  #survival .feature-ledger {
    position: relative;
    width: 76%;
    margin-left: auto;
    counter-reset: field-note;
  }
  #survival .feature-ledger::before {
    position: absolute;
    top: 28px;
    left: -31%;
    content: "Y 64\A OVERWORLD\A FIELD NOTES";
    color: #74816f;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: clamp(.8rem, 1.3vw, 1.05rem);
    line-height: 2.1;
    letter-spacing: .12em;
    white-space: pre;
  }
  #survival .feature-ledger::after {
    position: absolute;
    top: 132px;
    left: -29%;
    width: 28px;
    height: 28px;
    content: "";
    background: #8ca55e;
    box-shadow:
      28px 0 #546847, 56px 0 #43533f,
      0 28px #54483b, 28px 28px #615041, 56px 28px #3c473c,
      28px 56px #3c473c, 56px 56px #2d3830,
      56px 84px #d1a467;
    opacity: .72;
    transform: rotate(-2deg);
  }
  .feature-ledger .feature-row,
  .feature-ledger .feature-row:nth-child(odd),
  .feature-ledger .feature-row:nth-child(even) {
    width: 100%;
    grid-template-columns: 38px 50px minmax(0, 1fr);
    gap: 18px;
    margin-left: 0;
    padding: 27px 10px;
    counter-increment: field-note;
    border-right: 0;
    background: linear-gradient(90deg, rgba(181, 206, 121, .035), transparent 38%);
  }
  .feature-ledger .feature-row::before {
    padding-top: 14px;
    color: #778176;
    content: "0" counter(field-note);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: .66rem;
  }
  .feature-ledger .feature-icon,
  .edition-row-icon,
  .edition-detail-icon,
  .join-edition-icon {
    border-radius: 0;
    clip-path: polygon(0 8px, 8px 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  }

  .edition-section { overflow: hidden; }
  .edition-section::before {
    position: absolute;
    right: max(24px, calc((100vw - var(--shell)) / 2));
    bottom: 64px;
    width: 150px;
    height: 150px;
    content: "";
    border: 1px solid rgba(181,206,121,.11);
    background:
      linear-gradient(90deg, transparent 49%, rgba(181,206,121,.1) 49% 51%, transparent 51%),
      linear-gradient(transparent 49%, rgba(181,206,121,.1) 49% 51%, transparent 51%);
    transform: rotate(45deg);
    pointer-events: none;
  }
  .edition-ledger { position: relative; z-index: 1; }
  .edition-row { transition: padding .22s var(--ease), background .22s; }
  .edition-row:hover { padding-inline: 15px; background: rgba(181,206,121,.045); }

  .server-overview-grid {
    grid-template-columns: 1.22fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(142px, auto));
    border: 0;
    gap: 12px;
  }
  .overview-card {
    min-height: 0;
    padding: 23px;
    border: 1px solid #3e4a40;
    background: #1a231c;
  }
  .overview-card:last-child { grid-column: 2 / 4; }
  .overview-version {
    position: relative;
    grid-row: 1 / 3;
    overflow: hidden;
    border-color: #71855c;
    background:
      radial-gradient(circle at 88% 18%, rgba(214,171,104,.2), transparent 27%),
      linear-gradient(145deg, #26382b, #1b281f);
  }
  .overview-version::after {
    position: absolute;
    right: -14px;
    bottom: -20px;
    content: "26";
    color: rgba(224, 231, 205, .045);
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
  }
  .overview-version > div:last-child { position: relative; z-index: 1; }
  .overview-version small { color: #aeb6a9; font-size: .7rem; }
  .overview-version strong {
    display: block;
    margin-top: 6px;
    color: #eee8d8;
    font-size: clamp(4.2rem, 8vw, 7rem);
    line-height: .9;
    letter-spacing: -.09em;
  }
  .overview-version p { margin-top: 14px; color: #b9d279; font-size: .76rem; }

  .version-explainer {
    position: relative;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) minmax(270px, .78fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
    margin-top: 68px;
    padding: 34px;
    border-top: 1px solid #65775a;
    border-bottom: 1px solid #3b493d;
    background: linear-gradient(110deg, #202f24, #19231c 62%);
  }
  .version-explainer::before {
    position: absolute;
    top: -5px;
    left: 34px;
    width: 94px;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, #b9d279 68%, #d1a467 68%);
  }
  .version-explainer-mark {
    display: grid;
    min-height: 128px;
    align-content: center;
    justify-items: center;
    border: 1px solid #52624e;
    background:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 16px 16px;
  }
  .version-explainer-mark span { color: #aeb6a9; font: 700 .64rem ui-monospace, monospace; letter-spacing: .16em; }
  .version-explainer-mark strong { margin-top: 3px; font-size: 3rem; line-height: 1; letter-spacing: -.07em; }
  .version-explainer h2 { margin-top: 8px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.18; letter-spacing: -.04em; }
  .version-explainer > div:nth-child(2) p { margin-top: 11px; color: var(--muted); font-size: .87rem; }
  .version-explainer-bedrock {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 15px;
    padding-left: 25px;
    border-left: 1px solid #465348;
    color: #aeb6a9;
    font-size: .8rem;
  }
  .version-explainer-bedrock > span { color: #d1a467; }
  .version-explainer-bedrock .ui-icon { width: 25px; }
  .version-explainer-bedrock strong { color: #e7e2d5; }

  .join-runtime {
    display: grid;
    grid-template-columns: minmax(210px, .42fr) 1fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 22px;
    padding: 22px 26px;
    border-left: 5px solid #b9d279;
    background:
      linear-gradient(90deg, rgba(181,206,121,.07), transparent 44%),
      #1a241d;
  }
  .join-runtime > div { display: grid; }
  .join-runtime span { color: #9eaa98; font: 750 .64rem ui-monospace, monospace; letter-spacing: .14em; }
  .join-runtime strong { margin-top: 3px; color: #e9e4d7; font-size: 1.55rem; letter-spacing: -.03em; }
  .join-runtime p { color: #adb3a8; font-size: .84rem; }
  .join-selector { gap: 16px; border: 0; }
  .join-card { border: 1px solid #3e4a40; background: linear-gradient(150deg, rgba(255,255,255,.02), transparent 45%), #182119; }
  .join-card.bedrock { border-top-color: var(--sand); }
  .join-card .version-grid { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .join-card .version-item { border: 1px solid var(--line); border-top: 0; }
  .join-card .version-item:nth-child(2) { border-right: 0; }
  .join-card .version-item-primary {
    grid-column: 1 / -1;
    border-top: 1px solid #596a51;
    border-right: 0;
    background: rgba(181,206,121,.065);
  }
  .version-item-primary strong { color: #dce8bd; font-size: 1rem; }
}

@layer responsive {
  @media (max-width: 960px) {
    .runtime-ribbon { grid-template-columns: 180px minmax(0, 1fr); }
    .runtime-link { grid-column: 1 / -1; min-height: 58px; flex-direction: row; align-items: center; border-top: 1px solid #52604d; border-left: 0; }
    .runtime-link span:last-child { align-self: auto; }
    .runtime-ribbon::after { right: 14px; bottom: 58px; }
    .version-explainer { grid-template-columns: 140px 1fr; }
    .version-explainer-bedrock { grid-column: 1 / -1; padding-top: 22px; padding-left: 0; border-top: 1px solid #465348; border-left: 0; }
  }

  @media (max-width: 760px) {
    .runtime-ribbon {
      width: min(calc(100% - 28px), var(--shell));
      grid-template-columns: 1fr;
      margin-top: -17px;
      margin-bottom: -7px;
      box-shadow: 8px 10px 0 rgba(4,8,5,.26);
    }
    .runtime-build { min-height: 134px; padding: 24px; border-right: 0; border-bottom: 1px solid #52604d; }
    .runtime-build strong { font-size: 3.8rem; }
    .runtime-copy { padding: 25px 22px; }
    .runtime-copy h2 { font-size: 1.7rem; }
    .runtime-link { padding: 17px 21px; }
    .runtime-ribbon::after { display: none; }
    #survival { padding-top: 92px; }
    #survival .feature-ledger { width: 100%; }
    #survival .feature-ledger::before, #survival .feature-ledger::after { display: none; }
    .feature-ledger .feature-row,
    .feature-ledger .feature-row:nth-child(odd),
    .feature-ledger .feature-row:nth-child(even) {
      grid-template-columns: 28px 42px minmax(0, 1fr);
      gap: 12px;
      padding: 23px 0;
    }
    .feature-ledger .feature-row::before { padding-top: 11px; }
    .feature-ledger .feature-icon { width: 40px; height: 40px; }
    .edition-section::before { display: none; }

    .server-overview-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 9px; }
    .overview-version { grid-column: 1 / -1; grid-row: auto; min-height: 230px; }
    .overview-card:last-child { grid-column: 1 / -1; }
    .overview-version strong { font-size: 5rem; }
    .version-explainer { grid-template-columns: 1fr; gap: 24px; margin-top: 46px; padding: 24px 20px; }
    .version-explainer-mark { width: 140px; min-height: 108px; justify-self: start; }
    .version-explainer-bedrock { grid-column: auto; }
    .join-runtime { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
    .join-selector { grid-template-columns: 1fr; }
  }

  @media (max-width: 420px) {
    .server-overview-grid { grid-template-columns: 1fr; }
    .overview-card:last-child { grid-column: auto; }
    .join-card .version-grid { grid-template-columns: 1fr; }
    .join-card .version-item,
    .join-card .version-item:nth-child(2) { border-right: 1px solid var(--line); }
    .join-card .version-item-primary { grid-column: auto; }
  }
}
@layer pages {
  .hero-notes .hero-version-note {
    color: #e5edc8;
    font-weight: 800;
  }
}

@layer responsive {
  @media (max-width: 760px) {
    .hero-title > span { font-size: clamp(2.7rem, 12vw, 3.8rem); }
    .display-title { font-size: clamp(2.35rem, 10.8vw, 3.6rem); }
  }
}