@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #161616;
  --surface: #1c1c1b;
  --text: #efeee9;
  --muted: #a9a9a4;
  --accent: #c8ad77;
  --border: #353534;
  --gutter: clamp(20px, 4.2vw, 64px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--text); font-weight: 650; }
h1 { font-size: clamp(40px, 4.3vw, 64px); line-height: 1.08; letter-spacing: -.05em; }
h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
p { color: var(--muted); }
.container { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: var(--accent); color: var(--background); }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; min-height: 110px; gap: 65px; }
.logo { display: block; flex: none; width: 140px; }
.logo img { width: 100%; height: auto; }
.primary-nav { display: flex; gap: 44px; align-items: center; }
.primary-nav a { position: relative; display: flex; align-items: center; min-height: 60px; color: var(--muted); font-size: 15px; font-weight: 450; white-space: nowrap; }
.primary-nav a[aria-current] { color: var(--text); }
.primary-nav a[aria-current]::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: var(--accent); }
.primary-nav a:hover, .site-footer a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; gap: 32px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 12px 24px; border: 1px solid var(--text); border-radius: 2px; background: var(--text); color: var(--background); font-size: 16px; line-height: 1.4; font-weight: 500; transition: background .16s, border-color .16s; }
.button:hover { background: #fff; border-color: #fff; }
.button-outline { background: transparent; color: var(--text); border-color: #666663; }
.button-outline:hover { background: #252525; border-color: var(--muted); }
.header-actions .button { min-width: 96px; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.header-actions svg { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 450; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: var(--text); }
.home-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; min-height: 586px; padding-block: 40px 36px; }
.hero-copy { padding-block: 0; }
.hero-copy h1 { font-size: clamp(40px, 5.3vw, 78px); letter-spacing: -.04em; line-height: 1.04; white-space: nowrap; }
.hero-description { max-width: 490px; margin-top: 24px; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 40px; margin-top: 30px; }
.copy-group { position: relative; max-width: 100%; }
.copy-ip { gap: 32px; font-family: ui-monospace, Consolas, monospace; font-size: 18px; min-height: 60px; white-space: nowrap; }
.copy-ip svg { width: 22px; height: 22px; }
.check-icon { display: none; }
.copied .copy-icon { display: none; }
.copied .check-icon { display: block; }
.copy-status { font-size: 11px; line-height: 1.25; position: absolute; top: calc(100% + 5px); left: 0; width: max-content; max-width: 330px; color: var(--text); pointer-events: none; }
.copy-status:empty { display: none; }
.compatibility { margin-top: 32px; font-size: 13px; line-height: 1.75; }
.compatibility span { padding-inline: 6px; }
.hero-image { height: 510px; }
.hero-image img { width: 100%; height: calc(100% - 26px); object-fit: cover; border-radius: 2px; }
.maps-section { padding-block: 48px 0; border-top: 1px solid var(--border); }
.section-intro { font-size: 17px; margin-top: 10px; margin-bottom: 28px; }
.map-gallery { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.map-slide img { width: 100%; height: auto; aspect-ratio: 2.45; object-fit: cover; object-position: center 55%; }
.map-slide figcaption { padding: 15px 0; min-height: 64px; font-size: 16px; font-weight: 450; line-height: 32px; }
.gallery-controls { position: absolute; bottom: 12px; right: 0; display: flex; gap: 10px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 2px; background: transparent; color: var(--text); }
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.icon-button[data-direction="-1"] svg { transform: rotate(180deg); }
.map-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.map-thumbnail { border: 0; padding: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 450; line-height: 1.4; }
.map-thumbnail img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; }
.map-thumbnail span { display: block; width: fit-content; margin-inline: auto; padding: 10px 0; border-bottom: 1px solid transparent; }
.map-thumbnail[aria-pressed="true"] { color: var(--text); }
.map-thumbnail[aria-pressed="true"] span { border-color: var(--accent); }
.map-thumbnail:hover img { opacity: .85; }
html:not(.js) .gallery-controls, html:not(.js) .map-thumbnails { display: none; }
.no-js-maps figure { margin-top: 24px; }
.no-js-maps img { width: 100%; height: auto; }
.no-js-maps figcaption { padding: 10px 0; }
.join-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; border-top: 1px solid var(--border); margin-top: 34px; padding-block: 48px 54px; }
.join-summary > p { margin: 16px 0 26px; font-size: 17px; max-width: 440px; }
.faq details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; list-style: none; font-size: 15px; font-weight: 500; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; transform: rotate(90deg); }
.faq details[open] summary { background: transparent; }
.faq details[open] summary svg { transform: rotate(-90deg); }
.faq details p { padding: 0 28px 20px 0; font-size: 14px; line-height: 1.7; }
.site-footer { display: flex; align-items: center; gap: 42px; border-top: 1px solid var(--border); padding-block: 24px; }
.site-footer .logo { width: 110px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 14px; }
.site-footer p { margin-left: auto; max-width: 330px; border-left: 1px solid var(--border); padding-left: 38px; font-size: 12px; line-height: 1.6; }
.inner-page { padding-block: 34px 70px; min-height: calc(100svh - 260px); }
.breadcrumb { display: flex; gap: 15px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.breadcrumb [aria-current] { color: var(--text); }
.page-heading { margin-bottom: 42px; }
.page-heading h1 { font-size: clamp(32px, 3.1vw, 46px); letter-spacing: -.035em; }
.page-heading > p { font-size: 18px; margin-top: 12px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 354px; gap: 60px; align-items: start; }
.join-steps { list-style: none; counter-reset: steps; padding: 0; margin: 0; }
.join-steps > li { display: flex; align-items: start; gap: 32px; border-bottom: 1px solid var(--border); padding: 25px 0; counter-increment: steps; }
.join-steps > li:first-child { padding-top: 8px; }
.join-steps > li:last-child { border: 0; }
.join-steps > li::before { content: '0' counter(steps); display: block; width: 46px; flex: none; font-family: ui-monospace, Consolas, monospace; font-size: 18px; font-weight: 400; line-height: 1.7; color: var(--muted); }
.join-steps h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 6px; }
.join-steps p { font-size: 16px; line-height: 1.7; }
.join-steps strong { font-weight: 550; }
.join-steps a, .rules-content a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.server-panel { border-left: 1px solid var(--border); padding: 0 0 0 28px; }
.server-panel h2 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 24px; }
.panel-label { font-size: 14px; margin-bottom: 8px; }
.server-panel .copy-ip { width: 100%; background: transparent; color: var(--text); border-color: var(--border); font-size: 16px; padding: 12px 16px; min-height: 54px; justify-content: space-between; gap: 10px; }
.server-panel .copy-ip:hover { border-color: var(--accent); }
.server-panel .copy-icon, .server-panel .check-icon { color: var(--text); }
.server-panel dl > div { padding-block: 22px; border-bottom: 1px solid var(--border); }
.server-panel dl > div:first-child { border-top: 1px solid var(--border); margin-top: 25px; }
.server-panel dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.server-panel dd { font-size: 16px; }
.bedrock-note { font-size: 14px; padding-block: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.server-panel .text-link { font-size: 14px; display: flex; width: fit-content; }
.support-link { margin-top: 15px; }
.guide-page { display: grid; grid-template-columns: minmax(0, 1fr) 354px; column-gap: 60px; align-content: start; }
.guide-page .breadcrumb { grid-column: 1 / -1; }
.guide-page .page-heading { grid-column: 1; }
.guide-page .guide-layout { display: contents; }
.guide-page .join-steps { grid-column: 1; }
.guide-page .server-panel { grid-column: 2; grid-row: 2 / span 2; align-self: start; }
.rules-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 78px; align-items: start; }
.rules-toc { position: sticky; top: 28px; }
.rules-toc nav { display: grid; gap: 2px; border-left: 1px solid var(--border); padding-left: 22px; }
.rules-toc h2 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 16px; }
.rules-toc nav a { font-size: 14px; color: var(--muted); padding-block: 10px; }
.rules-toc nav a:hover { color: var(--accent); }
.rules-toc > a { margin: 24px 0 0 22px; font-size: 14px; }
.rule-group { scroll-margin-top: 24px; padding-top: 38px; margin-top: 40px; border-top: 1px solid var(--border); }
.rule-group:first-child { padding-top: 0; margin-top: 0; border: 0; }
.rule-group > h2 { font-size: 29px; line-height: 1.3; letter-spacing: -.035em; display: flex; gap: 18px; align-items: baseline; }
.section-number { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.rule { margin-top: 30px; }
.rule h3 { font-size: 18px; line-height: 1.5; letter-spacing: -.015em; }
.rule ul { padding-left: 20px; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.rule li { padding-left: 5px; margin-block: 5px; }
.rule li::marker { color: #777773; }
.rules-source { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 40px; font-size: 13px; }
@media (min-width: 1600px) { .home-hero { gap: 50px; } }
@media (max-width: 1150px) {
  .header-inner { gap: 30px; min-height: 98px; }
  .logo { width: 132px; }
  .primary-nav { gap: 25px; }
  .header-actions { gap: 10px; }
  .header-actions .button { min-width: 0; padding: 11px 17px; }
  .home-hero { min-height: 460px; grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero-copy h1 { font-size: 3.9vw; }
  .hero-description { font-size: 17px; }
  .hero-image { height: 400px; }
  .hero-actions { flex-wrap: wrap; gap: 22px; }
  .hero-actions .text-link { font-size: 14px; }
  .copy-ip { font-size: 16px; padding-inline: 17px; gap: 20px; }
  .join-faq { gap: 38px; }
  .site-footer { gap: 25px; }
  .site-footer nav { gap: 20px; }
  .site-footer p { max-width: 250px; padding-left: 22px; }
  .guide-layout { gap: 35px; grid-template-columns: minmax(0, 1fr) 310px; }
  .guide-page { grid-template-columns: minmax(0, 1fr) 310px; column-gap: 35px; }
  .join-steps > li { gap: 16px; }
  .join-steps > li::before { width: 36px; font-size: 17px; }
  .server-panel { padding-left: 22px; }
  .rules-layout { grid-template-columns: 218px minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding-block: 8px; }
  .logo { width: 112px; }
  .primary-nav { order: 3; flex: 1 0 100%; justify-content: center; gap: 36px; }
  .primary-nav a { min-height: 44px; font-size: 14px; }
  .header-actions .button { font-size: 13px; min-height: 42px; padding: 9px 13px; gap: 8px; }
  .home-hero { grid-template-columns: 1fr; padding-block: 38px 28px; gap: 30px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(34px, 6.6vw, 56px); white-space: normal; }
  .hero-description { max-width: 540px; margin-top: 20px; font-size: 17px; }
  .hero-actions { gap: 28px; }
  .hero-image { height: auto; }
  .hero-image img { height: auto; aspect-ratio: 1.9; }
  .compatibility { font-size: 13px; }
  .section-intro { font-size: 16px; }
  .map-thumbnails { gap: 10px; }
  .map-thumbnail { font-size: 11px; }
  .map-slide figcaption { font-size: 18px; padding-left: 16px; }
  .join-faq { grid-template-columns: 1fr; gap: 36px; padding-block: 36px 40px; }
  .join-summary > p { font-size: 17px; }
  .site-footer { flex-wrap: wrap; gap: 22px; }
  .site-footer .logo { width: 110px; }
  .site-footer nav { flex: 1; gap: 16px; font-size: 13px; }
  .site-footer p { margin-left: 0; max-width: none; width: 100%; border: 0; padding: 0; }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-page { display: block; }
  .guide-page .guide-layout { display: grid; }
  .guide-page .server-panel { grid-column: auto; grid-row: auto; }
  .server-panel { max-width: 500px; border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
  .inner-page { padding-block: 26px 45px; }
  .page-heading { margin-bottom: 32px; }
  .page-heading > p { font-size: 16px; }
  .rules-layout { grid-template-columns: 1fr; gap: 38px; }
  .rules-toc { position: static; }
  .rules-toc nav { gap: 0; }
  .rules-toc h2 { margin-bottom: 8px; }
  .rules-toc nav a { padding-block: 8px; }
}
@media (max-width: 420px) {
  .header-actions svg { display: none; }
  .hero-copy h1 { font-size: 34px; }
  .hero-actions { gap: 20px; }
  .hero-actions .copy-ip { font-size: 15px; padding-inline: 14px; gap: 12px; min-height: 52px; }
  .hero-actions .text-link { gap: 6px; }
  .hero-actions .text-link svg { width: 17px; }
  .maps-section { padding-top: 34px; }
  .map-slide img { aspect-ratio: 1.6; }
  .map-slide figcaption { font-size: 16px; }
  .gallery-controls { gap: 7px; right: 12px; }
  .icon-button { width: 39px; height: 43px; }
  .map-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; margin-top: 18px; }
  .map-thumbnail img { aspect-ratio: 1.65; }
  .faq summary { padding: 16px 0; font-size: 14px; }
  .faq details p { padding: 0 0 18px; font-size: 14px; }
  .join-steps > li::before { width: 30px; font-size: 16px; }
  .join-steps h2 { font-size: 20px; }
  .join-steps p { font-size: 15px; }
  .rule-group > h2 { font-size: 25px; gap: 12px; }
  .rule h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.discord-link { font-size: 15px; padding-block: 12px; }
.discord-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-image figcaption { color: var(--muted); font-size: 13px; margin-top: 7px; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
