/* assets/fonts.css */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/optimized/manrope-latin-a4dc02fe3436.woff2) format('woff2'); unicode-range: U+0000-024F,U+0300-036F,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/optimized/manrope-cyrillic-ea9c63c0dd5b.woff2) format('woff2'); unicode-range: U+0400-052F,U+2DE0-2DFF,U+A640-A69F; }

/* styles.css */
:root {
  --bg: #090e19; --surface: #101725; --surface-raised: #151e30;
  --text: #f3f5fb; --muted: #99a5ba; --subtle: #7c8aa1; --line: #ffffff12;
  --accent: #7194ff; --button: #4268e4; --button-hover: #3459cf; --button-text: #fff;
  --accent-soft: #557fff14; --accent-line: #7194ff35;
  --header-bg: #090e19dc; --hero-text: #f8f9ff; --hero-muted: #c0cada;
  --hero-shade: linear-gradient(90deg, #070e1aed 0%, #071020bd 33%, #07102025 67%, #070e1a10 100%);
  --hero-bottom: #090e19; --panel-bg: #101d3d; --panel-text: #f3f5ff; --panel-muted: #abbcdd;
  --shadow: 0 18px 60px #0003; --focus: #95b0ff;
  --font: 'Manrope', 'Segoe UI', sans-serif;
}
[data-theme="light"] {
  --bg: #faf9f6; --surface: #fff; --surface-raised: #f2f0eb;
  --text: #242520; --muted: #686b66; --subtle: #6f726b; --line: #282b2017;
  --accent: #b94c13; --button: #c44d13; --button-hover: #ad3e0c; --button-text: #fff;
  --accent-soft: #e56d2010; --accent-line: #e56d2035;
  --header-bg: #faf9f6ed; --hero-text: #27271f; --hero-muted: #53564b;
  --hero-shade: linear-gradient(90deg, #faf6eaf5 0%, #faf3e4d9 30%, #faf1dc50 56%, #faf1dc00 83%);
  --hero-bottom: #faf9f6; --panel-bg: #f5e9dd; --panel-text: #34271d; --panel-muted: #76604c;
  --shadow: 0 18px 60px #3323100b; --focus: #b84912;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; transition: background-color .35s, color .35s; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
button:disabled { cursor: default; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--button); color: #fff; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 21px; height: 21px; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 20px; background: var(--surface); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 110; height: 2px; width: 100%; background: var(--accent); pointer-events: none; transform-origin: left; transform: scaleX(var(--progress, 0)); }
.site-header { position: sticky; z-index: 100; top: 0; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 39px; color: var(--accent); }
.brand-mark .icon { width: 35px; height: 35px; }
.brand-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-smp { font-weight: 500; }
.desktop-nav { display: flex; gap: 32px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.desktop-nav a { position: relative; padding: 31px 0; transition: color .2s; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 23px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 17px; }
.language-picker { position: relative; }
.language-button { display: flex; align-items: center; gap: 5px; padding: 9px 0 9px 8px; background: transparent; font-size: 12px; font-weight: 800; }
.language-button .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.language-button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 17px); right: -12px; width: 180px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.language-menu button { width: 100%; display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; font-size: 13px; background: transparent; }
.language-menu button span:last-child { font-size: 11px; color: var(--subtle); }
.language-menu button:hover, .language-menu button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; background: transparent; border-radius: 10px; transition: background .2s; }
.icon-button:hover { background: var(--accent-soft); }
.theme-toggle { color: var(--muted); }
.theme-toggle .moon-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .moon-icon { display: block; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 7px; font-size: 13px; font-weight: 800; line-height: 1.5; border: 1px solid transparent; transition: background .22s, transform .22s, box-shadow .22s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--button); color: var(--button-text); box-shadow: 0 5px 20px #557fff0c; }
.button-primary:hover { background: var(--button-hover); box-shadow: 0 8px 28px var(--accent-line); }
.button-large { min-height: 58px; padding: 17px 23px; font-size: 14px; }
.button .icon { width: 18px; height: 18px; }
.button-large .icon { width: 20px; height: 20px; }
.button-end { margin-left: 12px; }
.button-glass { color: var(--hero-text); border-color: #ffffff32; background: #ffffff08; backdrop-filter: blur(12px); }
.button-glass:hover { background: #ffffff15; }
[data-theme="light"] .button-glass { border-color: #30281e35; background: #fff5; }
[data-theme="light"] .button-glass:hover { background: #fffa; }
.mobile-toggle { display: none; }
.mobile-nav { padding: 15px 28px 28px; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .button { margin-top: 20px; width: 100%; }
[hidden] { display: none !important; }
.hero { position: relative; min-height: 680px; height: calc(100svh - 192px); max-height: 1000px; isolation: isolate; overflow: hidden; color: var(--hero-text); }
.hero-landscape { position: absolute; inset: -20px; z-index: -3; }
.world-image { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.world-day, .world-night { transition: opacity .8s ease; }
.world-day { opacity: 0; }
.world-night { opacity: 1; }
[data-scene-theme="day"] .world-day { opacity: 1; }
[data-scene-theme="day"] .world-night { opacity: 0; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: var(--hero-shade); }
.hero-shade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--hero-bottom) 0%, transparent 22%, transparent 80%, #090e1918); }
.hero-inner { position: relative; height: 100%; min-height: inherit; display: flex; align-items: center; padding-top: 10px; padding-bottom: 92px; }
.hero-content { width: min(690px, 61%); animation: hero-in 1s .05s both; }
.hero-label { display: inline-flex; align-items: center; gap: 9px; padding: 6px 11px; border: 1px solid #ffffff20; border-radius: 4px; background: #0c14293b; color: #d0d9ef; font-size: 9px; font-weight: 700; letter-spacing: 1.75px; }
[data-theme="light"] .hero-label { color: #5c4f3d; border-color: #4b3f2b24; background: #fff4; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent-line); flex-shrink: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 29px 0 23px; font-size: clamp(56px, 5.6vw, 88px); font-weight: 800; letter-spacing: -5px; line-height: 1.09; }
h1 > span { display: block; }
.text-accent { color: var(--accent); }
h1 .text-accent { text-shadow: 0 0 50px #4c78ff25; }
.hero-description { max-width: 465px; margin-bottom: 31px; color: var(--hero-muted); font-size: 15px; line-height: 1.9; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.hero-note { display: flex; gap: 9px; align-items: center; margin-top: 23px; color: var(--hero-muted); font-size: 11px; }
.tiny-square { width: 4px; height: 4px; background: var(--hero-muted); transform: rotate(45deg); }
.scroll-hint { position: absolute; left: 0; bottom: 29px; display: flex; align-items: center; gap: 12px; color: var(--hero-muted); font-size: 9px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.scroll-mouse { display: grid; place-items: start center; width: 17px; height: 26px; border: 1px solid currentColor; border-radius: 10px; padding-top: 5px; }
.scroll-mouse i { width: 2px; height: 5px; background: currentColor; border-radius: 2px; animation: scroll-tick 1.9s infinite; }
.scroll-line { width: 65px; height: 1px; background: currentColor; opacity: .25; margin-left: 10px; }
.scene-caption { position: absolute; bottom: 32px; right: 0; display: flex; align-items: center; gap: 13px; text-align: left; color: var(--hero-text); }
.caption-cross { font-size: 36px; font-weight: 400; line-height: 1; color: var(--accent); }
.scene-caption div { display: flex; flex-direction: column; }
.scene-caption div > span { font-size: 8px; letter-spacing: 1.8px; opacity: .65; }
.scene-caption strong { font-size: 12px; font-weight: 600; }
.server-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.server-strip-inner { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 24px; }
.strip-heading { display: flex; align-items: center; gap: 17px; }
.strip-icon { display: grid; place-items: center; width: 43px; height: 43px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 10px; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: 1.8px; }
.strip-heading .eyebrow { color: var(--subtle); margin-bottom: 3px; font-size: 8px; }
.server-address { display: flex; align-items: center; gap: 25px; background: transparent; padding: 0; font-size: 16px; font-weight: 700; letter-spacing: .15px; }
.server-address .icon { width: 16px; height: 16px; color: var(--subtle); transition: color .2s; }
.server-address:hover .icon { color: var(--accent); }
.strip-meta { display: flex; align-items: center; gap: 23px; color: var(--muted); font-size: 11px; font-weight: 600; }
.strip-meta > span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.strip-meta .icon { width: 16px; height: 16px; color: var(--subtle); }
.strip-divider { height: 17px; width: 1px; background: var(--line); }
.strip-meta i { font-style: normal; opacity: .5; }
.strip-meta a { margin-left: 30px; color: var(--text); }
.strip-meta a:hover { color: var(--accent); }
.section { padding-block: 108px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.section-eyebrow { color: var(--muted); margin-bottom: 20px; }
.section-eyebrow > span:first-child { color: var(--accent); margin-right: 3px; letter-spacing: 1px; }
h2 { font-size: clamp(29px, 3vw, 44px); line-height: 1.25; letter-spacing: -1.6px; font-weight: 800; margin-bottom: 0; }
.text-muted { color: var(--muted); }
.section-intro { max-width: 315px; margin-bottom: 3px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.world-layout { display: grid; grid-template-columns: 1.12fr 1fr; gap: 64px; align-items: stretch; }
.world-art { min-height: 442px; position: relative; overflow: hidden; border-radius: 11px; border: 1px solid var(--line); isolation: isolate; }
.world-art-images { position: absolute; inset: 0; z-index: -2; }
.world-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 76% center; transition: opacity .8s ease, transform 1s; }
.world-art:hover img { transform: scale(1.04); }
.world-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #080e1cdb 0%, #080e1c00 65%); }
.art-topline { position: absolute; top: 23px; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.glass-label { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #ffffff30; border-radius: 4px; backdrop-filter: blur(12px); background: #111b2b55; font-size: 7px; font-weight: 700; letter-spacing: 1.6px; }
.art-cross { font-size: 24px; font-weight: 400; }
.art-caption { position: absolute; bottom: 25px; left: 29px; right: 20px; color: #fff; }
.art-caption > span { font-size: 8px; letter-spacing: 1.8px; color: #c6d3ed; }
.art-caption h3 { margin: 7px 0 9px; font-size: 27px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.art-caption p { margin: 0; font-size: 8px; color: #ffffff88; }
.feature-list { display: flex; flex-direction: column; justify-content: center; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 19px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.feature:first-child { padding-top: 5px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 45px; color: var(--accent); background: var(--accent-soft); border-radius: 9px; }
.feature-icon .icon { width: 23px; height: 23px; }
.feature-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature-heading h3 { font-size: 16px; letter-spacing: -.4px; margin: 0 0 8px; line-height: 1.5; }
.feature-heading > span { color: var(--subtle); font-size: 9px; font-weight: 600; align-self: flex-start; margin-top: 5px; }
.feature p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; max-width: 350px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--accent); font-size: 11px; font-weight: 800; background: transparent; padding: 0; line-height: 1.6; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .icon:last-child { transform: translateX(3px); }
.feature-link { margin: 23px 0 0 61px; }
.join-section { padding-top: 0; padding-bottom: 90px; }
.join-panel { position: relative; padding: 58px 57px 49px; background: var(--panel-bg); border: 1px solid var(--accent-line); border-radius: 11px; overflow: hidden; isolation: isolate; color: var(--panel-text); }
.join-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--accent-line) 1px, transparent 1px), linear-gradient(90deg, var(--accent-line) 1px, transparent 1px); background-size: 49px 49px; opacity: .12; mask-image: linear-gradient(90deg, transparent 20%, #000); }
.join-watermark { position: absolute; z-index: -1; width: 400px; height: 400px; right: -80px; top: -80px; color: var(--accent); opacity: .035; }
.join-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.join-heading .section-eyebrow { color: var(--panel-muted); }
.join-heading h2 { font-size: 42px; }
.join-heading > p { max-width: 267px; color: var(--panel-muted); font-size: 12px; line-height: 1.9; margin: 0 0 6px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 43px; }
.step-number { display: flex; align-items: center; gap: 20px; color: var(--accent); font-size: 12px; font-weight: 700; margin-bottom: 22px; }
.step-number > span { height: 1px; background: var(--accent-line); flex: 1; }
.step h3 { font-size: 16px; line-height: 1.5; margin-bottom: 11px; letter-spacing: -.3px; }
.step p { font-size: 11px; line-height: 1.9; color: var(--panel-muted); min-height: 66px; margin-bottom: 16px; }
.step-ip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid var(--accent-line); border-radius: 5px; background: var(--accent-soft); color: var(--panel-text); max-width: 100%; font-family: Consolas, monospace; font-size: 11px; }
.step-ip span { overflow-wrap: anywhere; }
.step-ip .icon { width: 13px; height: 13px; color: var(--accent); }
.rules-section { padding-top: 0; padding-bottom: 99px; }
.rules-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; }
.rules-shield { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--accent-line); border-radius: 12px; color: var(--accent); background: var(--accent-soft); margin: 26px 0 21px; }
.rules-shield .icon { width: 26px; height: 26px; }
.rules-heading > p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin: 20px 0 22px; max-width: 315px; line-height: 1.9; }
.rules-list { padding-top: 25px; }
.rule { display: grid; grid-template-columns: 25px 1fr 24px; gap: 22px; border-bottom: 1px solid var(--line); padding: 27px 0; }
.rule:first-child { border-top: 1px solid var(--line); }
.rule > span { font-size: 10px; font-weight: 700; color: var(--subtle); padding-top: 3px; }
.rule > .icon { width: 19px; height: 19px; color: var(--subtle); margin-top: 3px; }
.rule h3 { margin-bottom: 7px; font-size: 15px; }
.rule p { margin: 0; max-width: 370px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.rules-note { color: var(--subtle); font-size: 10px; line-height: 1.8; margin: 17px 0 0 47px; }
.faq-section { background: var(--surface); border-block: 1px solid var(--line); padding-block: 85px; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; }
.faq-intro { color: var(--muted); font-size: 12px; max-width: 270px; margin-top: 21px; line-height: 1.9; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 0; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-plus { width: 14px; height: 14px; position: relative; color: var(--subtle); flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: currentColor; width: 12px; height: 1.5px; left: 1px; top: 6px; transition: transform .25s; }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0); }
details[open] summary { color: var(--accent); }
.faq-answer { padding: 0 35px 24px 0; animation: answer-in .25s; }
.faq-answer p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.community-section { padding: 85px 0; }
.community-panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; padding: 55px 57px; }
.community-copy { z-index: 1; }
.community-copy > .eyebrow { color: var(--muted); margin-bottom: 20px; }
.community-copy h2 { font-size: 44px; }
.community-copy > p:not(.eyebrow) { margin: 20px 0 25px; max-width: 365px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.community-copy .button { font-size: 12px; min-height: 54px; }
.community-art { height: 320px; position: relative; display: grid; place-items: center; perspective: 800px; }
.orbit { position: absolute; border: 1px solid var(--accent-line); border-radius: 50%; width: 260px; height: 260px; opacity: .6; }
.orbit-two { width: 370px; height: 370px; opacity: .3; }
.discord-tile { display: grid; place-items: center; width: 149px; height: 149px; border: 1px solid var(--accent-line); border-radius: 31px; color: var(--accent); background: linear-gradient(140deg, var(--surface-raised), var(--accent-soft)); transform: rotate(-12deg) rotateY(-13deg); box-shadow: -14px 18px 0 var(--accent-soft), 0 15px 90px var(--accent-soft); animation: tile-float 7s ease-in-out infinite; }
.discord-tile svg { width: 80px; height: 80px; transform: rotate(5deg); }
.floating-square { position: absolute; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 5px; animation: square-float 7s ease-in-out infinite; }
.square-one { width: 38px; height: 38px; left: 16%; top: 15%; transform: rotate(-16deg); }
.square-two { width: 24px; height: 24px; right: 12%; top: 35%; transform: rotate(21deg); animation-delay: -2s; }
.square-three { width: 20px; height: 20px; left: 26%; bottom: 10%; transform: rotate(16deg); animation-delay: -4s; }
.community-plus { position: absolute; color: var(--accent); opacity: .4; font-size: 20px; font-weight: 400; }
.plus-one { right: 22%; bottom: 13%; }.plus-two { left: 6%; top: 52%; }
.site-footer { padding: 0 0 25px; }
.footer-top { display: flex; align-items: center; gap: 35px; padding: 0 0 34px; border-bottom: 1px solid var(--line); }
.footer-top .brand { font-size: 21px; }
.footer-top .brand-mark, .footer-top .brand-mark .icon { width: 29px; height: 29px; }
.footer-top p { color: var(--subtle); font-size: 11px; margin: 0; }
.back-top { margin-left: auto; display: inline-flex; align-items: center; gap: 13px; font-size: 10px; color: var(--muted); }
.back-top .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-top: 23px; font-size: 9px; color: var(--subtle); }
.footer-bottom > div { display: flex; gap: 22px; }
.footer-bottom a { display: flex; gap: 6px; align-items: center; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .icon { width: 11px; height: 11px; }
.connect-dialog { position: fixed; width: min(470px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 20px 120px #0006; }
.connect-dialog::backdrop { background: #030814bb; backdrop-filter: blur(7px); }
.connect-dialog[open] { animation: dialog-in .25s ease-out; }
.dialog-body { position: relative; padding: 37px; text-align: center; }
.dialog-close { position: absolute; right: 12px; top: 12px; color: var(--muted); }
.dialog-mark { display: inline-grid; place-items: center; width: 57px; height: 57px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); margin-bottom: 23px; border: 1px solid var(--accent-line); }
.dialog-mark .icon { width: 33px; height: 33px; }
.dialog-body > .eyebrow { justify-content: center; color: var(--accent); font-size: 8px; margin-bottom: 12px; }
.dialog-body h2 { font-size: 30px; letter-spacing: -1px; }
.dialog-body > p:not(.eyebrow) { margin: 15px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.dialog-address { text-align: left; padding: 15px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 12px; }
.dialog-address .eyebrow { color: var(--subtle); font-size: 8px; margin-bottom: 7px; }
.dialog-address code { font-size: 16px; overflow-wrap: anywhere; }
.dialog-copy { width: 100%; }
.dialog-body .dialog-version { margin: 17px 0; font-size: 10px; }
.dialog-body .dialog-feedback { color: var(--accent); font-size: 10px; margin: 11px 0; }
.dialog-body > .text-link { font-size: 10px; gap: 7px; }
.toast { display: flex; align-items: center; gap: 11px; position: fixed; z-index: 300; bottom: 28px; left: 50%; transform: translate(-50%, 20px); border: 1px solid var(--accent-line); background: var(--surface-raised); color: var(--text); padding: 14px 22px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; font-size: 12px; max-width: calc(100% - 32px); text-align: center; }
.toast .icon { color: var(--accent); width: 18px; height: 18px; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.noscript-note { text-align: center; padding: 20px; background: var(--surface); color: var(--muted); font-size: 12px; }
.js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
.feature:nth-child(2) { transition-delay: .09s; }.feature:nth-child(3) { transition-delay: .18s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scroll-tick { 0%,100% { transform: translateY(0); opacity: .3; } 40% { opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } }
@keyframes tile-float { 0%,100% { transform: translateY(0) rotate(-12deg) rotateY(-13deg); } 50% { transform: translateY(-13px) rotate(-8deg) rotateY(-8deg); } }
@keyframes square-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (min-width: 1550px) { h1 { font-size: 88px; } .hero-content { width: 700px; } }
@media (max-width: 1190px) {
  .container { width: calc(100% - 72px); } .desktop-nav { gap: 22px; } .header-actions { gap: 10px; } .header-inner { gap: 20px; }
  .hero { min-height: 680px; } h1 { font-size: 65px; letter-spacing: -3.5px; } .hero-content { width: 65%; } .hero-description { max-width: 415px; font-size: 14px; }
  .strip-meta { gap: 16px; } .strip-meta a { margin-left: 6px; } .world-layout { gap: 40px; } .section-intro { max-width: 255px; }
  .world-art { min-height: 450px; } .feature { gap: 15px; } .feature-heading h3 { font-size: 14px; } .feature p { font-size: 11px; }
  .join-panel { padding: 45px 39px; } .steps { gap: 30px; } .rules-layout, .faq-layout { gap: 60px; } .community-panel { padding: 47px 40px; }
  .community-copy h2 { font-size: 38px; } .community-copy .button { padding-inline: 16px; } .step-ip { font-size: 10px; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; } .header-inner { height: 76px; } .mobile-toggle { display: inline-grid; } .header-actions { gap: 15px; }
  .hero { height: 720px; min-height: 650px; } .hero-content { width: 75%; } h1 { font-size: 65px; } .hero-shade { background: linear-gradient(90deg, #070e1aef, #071020ad 48%, #07102015); }
  [data-theme="light"] .hero-shade { background: linear-gradient(90deg, #faf6eaf5, #faf3e4da 46%, #faf1dc38); }
  .hero-landscape { inset-inline: -150px; }.scene-caption { display: none; }
  .strip-meta a, .strip-arrow, .strip-meta .strip-divider { display: none; }.strip-meta { flex-direction: column; align-items: flex-start; gap: 3px; }
  .section { padding-block: 80px; } .section-heading { align-items: flex-start; } .section-intro { max-width: 220px; font-size: 11px; }
  h2 { font-size: 31px; letter-spacing: -1.2px; } .world-layout { gap: 30px; grid-template-columns: 1fr 1fr; } .feature { grid-template-columns: 34px 1fr; gap: 12px; padding-block: 21px; }
  .feature-icon { width: 34px; height: 37px; }.feature-icon .icon { width: 20px; height: 20px; }.feature-heading > span { display: none; }.feature-link { margin-left: 46px; }
  .art-caption h3 { font-size: 23px; }.join-section { padding-top: 0; }.join-heading h2 { font-size: 36px; }.steps { gap: 23px; }.step h3 { font-size: 14px; }.step p { min-height: 89px; }
  .join-panel { padding: 39px 30px; }.step-ip { font-size: 9px; padding: 7px; gap: 5px; }.rules-section { padding-top: 0; }.rules-layout, .faq-layout { gap: 35px; grid-template-columns: .85fr 1.15fr; }
  .rule { gap: 14px; grid-template-columns: 20px 1fr; }.rule > .icon { display: none; }.rules-note { margin-left: 34px; }
  .community-panel { padding: 40px 30px; grid-template-columns: 1.2fr 1fr; }.community-art { margin-right: -30px; }.community-copy h2 { font-size: 33px; }.orbit-two { width: 300px; height: 300px; }
  .footer-bottom { flex-wrap: wrap; row-gap: 13px; }.footer-bottom > span:nth-child(2) { order: 3; width: 100%; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 89px; }.container { width: calc(100% - 40px); }.header-inner { height: 72px; gap: 10px; }.brand { font-size: 22px; gap: 6px; }.brand-mark, .brand-mark .icon { width: 29px; height: 32px; }
  .header-actions { gap: 6px; }.header-play { display: none; }.theme-toggle { width: 35px; }.language-button { font-size: 11px; padding-right: 2px; }.language-menu { right: -30px; }
  .hero { min-height: 665px; height: calc(100svh - 72px); max-height: 810px; }.hero-inner { padding-block: 47px 104px; align-items: center; }.hero-content { width: 100%; }.hero-landscape { inset: -12px -280px -12px -110px; opacity: .8; }.world-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, #070e1af2, #071020b8 70%, #07102070); }
  [data-theme="light"] .hero-shade { background: linear-gradient(90deg, #faf6eaf5, #faf3e4d9 70%, #faf1dc55); }
  h1 { font-size: clamp(44px, 9.1vw, 64px); line-height: 1.13; letter-spacing: -2.5px; margin: 27px 0 23px; }
  .hero-label { font-size: 7px; letter-spacing: 1.4px; padding: 6px 9px; }.hero-description { max-width: 390px; font-size: 13px; line-height: 1.9; margin-bottom: 27px; }.hero-buttons { gap: 10px; }
  .button-large { padding: 15px 17px; font-size: 12px; min-height: 54px; gap: 8px; }.button-end { margin-left: 4px; }.hero-note { font-size: 9px; gap: 8px; }.scroll-hint { bottom: 28px; font-size: 8px; }.scroll-line { width: 40px; }
  .server-strip-inner { min-height: 110px; gap: 12px; }.strip-icon { display: none; }.strip-meta { font-size: 8px; gap: 5px; }.strip-meta .icon { width: 12px; height: 12px; }.server-address { font-size: 12px; gap: 10px; }.server-address .icon { width: 14px; height: 14px; }.strip-heading .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
  .section { padding-block: 62px; }.section-heading { display: block; margin-bottom: 29px; }.section-eyebrow { font-size: 8px; letter-spacing: 1.6px; margin-bottom: 17px; } h2 { font-size: 30px; line-height: 1.3; letter-spacing: -1.1px; }
  .section-intro { max-width: 390px; margin: 19px 0 0; font-size: 12px; }.world-layout { grid-template-columns: 1fr; gap: 29px; }.world-art { min-height: 360px; }.art-topline { top: 20px; left: 20px; right: 20px; }.art-caption { left: 23px; bottom: 25px; }.art-caption h3 { font-size: 27px; }
  .feature { grid-template-columns: 42px 1fr; gap: 18px; padding-block: 24px; }.feature-icon { width: 42px; height: 45px; }.feature-heading h3 { font-size: 15px; }.feature-heading > span { display: block; }.feature p { font-size: 12px; max-width: none; }.feature-link { margin-left: 60px; }
  .join-section { padding-top: 0; }.join-panel { padding: 34px 25px; }.join-heading { display: block; margin-bottom: 32px; }.join-heading h2 { font-size: 35px; }.join-heading > p { margin: 19px 0 0; font-size: 12px; max-width: none; }.steps { grid-template-columns: 1fr; gap: 29px; }.step-number { margin-bottom: 14px; }.step h3 { font-size: 17px; margin-bottom: 9px; }.step p { min-height: 0; font-size: 12px; margin-bottom: 12px; }.step-ip { font-size: 12px; padding: 9px 12px; gap: 16px; }.step .text-link { font-size: 12px; }
  .rules-section { padding-top: 0; }.rules-layout, .faq-layout { grid-template-columns: 1fr; gap: 27px; }.rules-shield { display: none; }.rules-heading > p:not(.eyebrow) { max-width: 390px; }.rules-list { padding-top: 0; }.rule { gap: 17px; grid-template-columns: 20px 1fr 20px; padding: 24px 0; }.rule > .icon { display: block; }.rule h3 { font-size: 15px; }.rule p { font-size: 12px; }.rules-note { font-size: 10px; margin-left: 37px; }
  .faq-intro { max-width: 350px; margin-bottom: 0; }.faq-list summary { font-size: 13px; padding-block: 22px; }.faq-answer { padding-right: 15px; }
  .community-section { padding: 60px 0; }.community-panel { padding: 35px 25px 25px; grid-template-columns: 1fr; }.community-copy h2 { font-size: 35px; }.community-copy > p:not(.eyebrow) { font-size: 12px; }.community-copy .button { font-size: 11px; padding-inline: 13px; gap: 8px; }.community-copy .button .icon { width: 17px; height: 17px; }.community-art { height: 250px; margin: 10px 0 -30px; }.orbit { width: 210px; height: 210px; }.orbit-two { width: 300px; height: 300px; }.discord-tile { width: 119px; height: 119px; border-radius: 26px; }.discord-tile svg { width: 65px; height: 65px; }
  .footer-top { flex-wrap: wrap; column-gap: 20px; row-gap: 18px; padding-bottom: 26px; }.footer-top .brand { font-size: 22px; }.footer-top p { order: 3; width: 100%; font-size: 10px; }.back-top { font-size: 10px; }.footer-bottom { font-size: 8px; gap: 16px; }.footer-bottom > div { gap: 16px; }.footer-bottom > span:nth-child(2) { font-size: 8px; line-height: 1.8; }
  .dialog-body { padding: 33px 24px; }.dialog-address code { font-size: 14px; }.dialog-body h2 { font-size: 28px; }.toast { bottom: 18px; padding: 12px 16px; font-size: 11px; }
}
@media (max-width: 360px) { .container { width: calc(100% - 32px); }.brand { font-size: 20px; }.header-actions { gap: 2px; }.hero-buttons .button { padding: 13px; font-size: 11px; }.hero-note { font-size: 8px; }.strip-meta { display: none; }.hero { min-height: 690px; }.community-copy .button { font-size: 10px; gap: 7px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}

/* Mechanics catalog */
.footer-bottom > div { flex-wrap: wrap; max-width: 100%; }
.mechanics-section { padding-top: 5px; }
.catalog-heading-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 23px 0; border-block: 1px solid var(--line); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-filter { padding: 9px 12px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 700; transition: color .2s, background .2s, border-color .2s; }
.catalog-filter:hover { color: var(--text); background: var(--surface-raised); }
.catalog-filter[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.catalog-search { display: flex; align-items: center; gap: 10px; min-width: 250px; width: 280px; padding: 11px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; }
.catalog-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.catalog-search .icon { width: 17px; height: 17px; color: var(--subtle); }
.catalog-search input { width: 100%; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 0; outline: 0; font-size: 11px; }
.catalog-search input::placeholder { color: var(--subtle); }
.catalog-results { margin: 18px 0; color: var(--subtle); font-size: 10px; }
.mechanics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.mechanic-card { min-width: 0; padding: 25px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; transition: border-color .25s, box-shadow .25s; animation: answer-in .3s ease both; }
.mechanic-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); }
.mechanic-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 23px; }
.mechanic-icon { display: grid; place-items: center; width: 41px; height: 43px; border: 1px solid var(--accent-line); color: var(--accent); background: var(--accent-soft); border-radius: 10px; flex-shrink: 0; }
.mechanic-icon .icon { width: 22px; height: 22px; }
.mechanic-access { padding: 4px 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-size: 8px; font-weight: 600; text-align: right; }
.mechanic-category { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.mechanic-card h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.4px; margin-bottom: 11px; }
.mechanic-summary { min-height: 65px; color: var(--muted); font-size: 11px; line-height: 1.95; margin-bottom: 16px; }
.mechanic-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--accent); font-size: 10px; font-weight: 800; cursor: pointer; list-style: none; }
.mechanic-details summary::-webkit-details-marker{ display: none; }
.mechanic-details summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.mechanic-details[open] summary .icon { transform: rotate(180deg); }
.mechanic-points { margin: 19px 0 0; padding-left: 15px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.mechanic-points li + li { margin-top: 11px; }
.mechanic-points li::marker { color: var(--accent); }
.mechanic-commands { padding-top: 20px; }
.mechanic-commands > .eyebrow { color: var(--subtle); margin-bottom: 9px; font-size: 7px; }
.command-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 35px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; text-align: left; color: var(--text); transition: border-color .2s; }
.command-button + .command-button { margin-top: 5px; }
.command-button code { font-family: Consolas, 'Courier New', monospace; font-size: 10px; overflow-wrap: anywhere; }
.command-button .icon { width: 13px; height: 13px; color: var(--subtle); }
.command-button:hover { border-color: var(--accent-line); }
.command-button:hover .icon { color: var(--accent); }
.catalog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; }
.catalog-bottom > p { max-width: 500px; margin: 0; font-size: 10px; line-height: 1.9; color: var(--subtle); }
.button-catalog { color: var(--text); background: var(--surface); border-color: var(--line); min-width: 180px; font-size: 11px; }
.button-catalog:hover { border-color: var(--accent-line); }
.catalog-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--accent-line); border-radius: 10px; background: var(--accent-soft); }
.catalog-empty > .icon { width: 29px; height: 29px; margin-bottom: 15px; color: var(--accent); }
.catalog-empty h3 { margin-bottom: 10px; font-size: 20px; }
.catalog-empty p { color: var(--muted); font-size: 12px; }
.quick-start { margin-top: 45px; padding-top: 29px; border-top: 1px solid var(--line); }
.quick-start, .quick-start * { animation: none; transition: none; }
.quick-start h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.3px; }
.quick-start > div > p { color: var(--muted); font-size: 11px; margin-bottom: 20px; }
.quick-commands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.quick-command > span { display: block; color: var(--subtle); font-size: 9px; margin-bottom: 7px; }
.quick-command .command-button { min-height: 40px; }
.quick-command .command-button code { font-size: 9px; }
@media (max-width: 1190px) {
  .desktop-nav { gap: 20px; font-size: 12px; }
  .catalog-search { width: 240px; min-width: 200px; }
  .mechanic-card { padding: 22px; }.mechanic-card h3 { font-size: 16px; }
  .quick-commands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 960px) {
  .mechanics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-controls { align-items: stretch; }.catalog-search { flex: 1; }.catalog-filters { width: 100%; }
}
@media (max-width: 700px) {
  .mechanics-section { padding-top: 0; }.catalog-heading-aside { margin-top: 19px; gap: 13px; }.catalog-heading-aside .section-intro { margin-top: 0; }
  .catalog-controls { padding-block: 18px; gap: 15px; }.catalog-filter { padding: 9px 10px; font-size: 10px; }.catalog-filters { gap: 5px; }.catalog-search { padding: 12px 13px; }.catalog-search input { font-size: 12px; }
  .mechanics-grid { grid-template-columns: 1fr; gap: 15px; }.mechanic-card { padding: 24px; }.mechanic-card-top { margin-bottom: 20px; }.mechanic-access { font-size: 9px; }.mechanic-category { font-size: 8px; }
  .mechanic-card h3 { font-size: 19px; }.mechanic-summary { min-height: 0; font-size: 12px; }.mechanic-details summary { font-size: 12px; }.mechanic-points { font-size: 12px; }.command-button code { font-size: 12px; }.command-button { min-height: 40px; }
  .catalog-bottom { flex-direction: column-reverse; align-items: stretch; gap: 19px; }.catalog-bottom > p { font-size: 10px; }.catalog-bottom > .button { min-height: 46px; }.catalog-empty h3 { font-size: 18px; }
  .quick-start { margin-top: 33px; padding-top: 25px; }.quick-start > div > p { font-size: 11px; line-height: 1.9; }.quick-commands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }.quick-command .command-button code { font-size: 10px; }
}


/* readability.css */
/* Readable typography and the application flow. Loaded after the original design. */
.world-layer { display: block; position: absolute; inset: 0; }
.language-pending body, .data-saver body { font-family: 'Segoe UI', system-ui, sans-serif; }
.data-saver .site-header, .data-saver .button-glass, .data-saver .glass-label { backdrop-filter: none; -webkit-backdrop-filter: none; }
body { font-size: 17px; line-height: 1.8; transition: background-color .9s, color .8s; }
.desktop-nav { font-size: 14px; gap: 25px; }
.language-button, .language-menu button { font-size: 14px; }
.button, .button-large{ font-size: 16px; }
.eyebrow, .section-eyebrow, .hero-label { font-size: 11px; letter-spacing: 1.5px; }
.hero { min-height: 760px; }
.hero-description { font-size: 18px; max-width: 540px; line-height: 1.85; }
.hero-note { font-size: 14px; }
.scroll-hint { font-size: 11px; }
.scene-caption div > span { font-size: 10px; }
.scene-caption strong { font-size: 14px; }
.hero-scene { position: absolute; inset: -2%; }
.world-night, .world-day { transition: opacity 1.45s ease-in-out; }
.hero-scene .world-layer { transition: none; }
.hero-shade, .hero-shade::after, .site-header, .server-strip, .mechanic-card, .application-panel, .rules-card { transition: background-color .9s, color .8s, border-color .8s, box-shadow .3s; }
.strip-heading .eyebrow { font-size: 11px; }
.strip-meta { font-size: 13px; flex-wrap: wrap; }
.server-address { font-size: 18px; }
.section-intro, .feature p, .join-heading > p, .step p, .rules-heading > p:not(.eyebrow), .faq-intro, .faq-answer p{ font-size: 16px; line-height: 1.85; }
.section-intro { max-width: 370px; }
.feature p { max-width: none; }
.feature-heading h3, .step h3, .mechanic-card h3, .quick-start h3 { font-size: 20px; }
.text-link, .step .text-link, .mechanic-details summary{ font-size: 14px; }
.step-ip { font-size: 13px; overflow-wrap: anywhere; }
.step-ip span { min-width: 0; }
.join-heading > p { max-width: 340px; }
.faq-list summary { font-size: 17px; }
.catalog-filter, .catalog-search input { font-size: 14px; }
.catalog-results, .catalog-bottom > p, .quick-command > span, .mechanic-providers{ font-size: 13px; }
.catalog-search { min-width: 240px; }
.mechanic-summary, .mechanic-points, .quick-start > div > p { font-size: 15px; line-height: 1.85; }
.mechanic-access, .mechanic-category, .mechanic-commands > .eyebrow{ font-size: 11px; }
.command-button code, .quick-command .command-button code { font-size: 13px; }
.quick-commands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.footer-top p, .back-top, .footer-bottom { font-size: 12px; }
.dialog-body > p:not(.eyebrow), .dialog-body .dialog-version { font-size: 15px; }
.dialog-body > .eyebrow, .dialog-address .eyebrow { font-size: 11px; }
.dialog-body > .text-link, .dialog-body .dialog-feedback { font-size: 13px; }
.dialog-apply { width: 100%; color: var(--text); border-color: var(--line); margin-top: 10px; }
.toast { font-size: 15px; }
.server-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.server-facts > div { display: flex; flex-direction: column; gap: 5px; }
.server-facts > div > span { color: var(--muted); font-size: 13px; }
.server-facts strong { font-size: 20px; line-height: 1.5; }
.server-facts p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.rules-layout { gap: 60px; grid-template-columns: .85fr 1.15fr; }
.rules-groups { display: grid; gap: 20px; min-width: 0; }
.rules-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; background: var(--surface); }
.rules-card h3 { display: flex; gap: 12px; align-items: center; font-size: 20px; line-height: 1.5; margin: 0 0 17px; }
.rules-card h3 .icon { color: var(--accent); flex-shrink: 0; }
.rules-card ol { margin: 0; padding-left: 25px; font-size: 16px; color: var(--muted); }
.rules-card li { padding-left: 7px; }
.rules-card li + li { margin-top: 8px; }
.rules-card li::marker { color: var(--accent); font-weight: 800; }
.rules-fun { display: flex; gap: 12px; margin: 0; font-size: 16px; font-weight: 700; }
.rules-fun .icon { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.application-section { padding-block: 85px; }
.application-panel { border: 1px solid var(--accent-line); border-radius: 16px; padding: 55px; background: radial-gradient(ellipse at 100% 0, var(--accent-soft), transparent 60%), var(--surface); }
.application-heading { max-width: 800px; }
.application-heading h2 { font-size: clamp(32px, 3.6vw, 49px); }
.application-heading > p:last-child { color: var(--muted); max-width: 670px; margin: 22px 0 28px; }
.application-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.application-option { display: flex; gap: 18px; align-items: center; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; text-align: left; transition: border-color .25s, background-color .8s, transform .25s; min-width: 0; }
.application-option:hover { border-color: var(--accent); transform: translateY(-3px); }
.application-option > span:nth-child(2) { flex: 1; min-width: 0; }
.application-option strong { display: block; font-size: 21px; margin-bottom: 4px; }
.application-option > span > span { display: block; font-size: 15px; color: var(--muted); }
.application-option > .icon { color: var(--accent); flex-shrink: 0; }
.option-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); border-radius: 12px; background: var(--accent-soft); flex-shrink: 0; }
.application-form-panel { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 105px; }
.application-form-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.application-form-heading h3 { font-size: 25px; margin: 0 0 8px; }
.application-form-heading p { color: var(--muted); font-size: 15px; margin: 0; }
.application-form-heading .icon-button { flex-shrink: 0; }
.application-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.application-fields label { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; gap: 9px; min-width: 0; }
.application-fields input, .application-fields textarea { width: 100%; min-width: 0; padding: 14px 16px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; font-size: 16px; }
.application-fields textarea { resize: vertical; min-height: 140px; }
.application-fields input::placeholder, .application-fields textarea::placeholder { color: var(--subtle); opacity: 1; }
.application-fields small { font-size: 13px; font-weight: 400; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.application-consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 8px; font-size: 15px; cursor: pointer; }
.application-consent input { accent-color: var(--accent); width: 20px; height: 20px; margin: 4px 0 0; flex-shrink: 0; }
#application-form > [type="submit"] { display: flex; margin-top: 24px; }
.application-feedback { background: #e8535314; border-left: 3px solid #e85353; padding: 12px 16px; font-size: 15px; margin-top: 20px; }
.application-success { padding: 24px 0; }
.application-success h3 { font-size: 25px; margin: 15px 0; }
.application-success p { color: var(--muted); }
.application-success strong { color: var(--accent); font-family: Consolas, monospace; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
[hidden] { display: none !important; }
button:disabled { cursor: wait; opacity: .65; }
@media (max-width: 1190px) {
  .desktop-nav { font-size: 13px; gap: 16px; }
  .header-actions { gap: 10px; }
  .join-panel { padding: 38px 30px; }
  .steps { gap: 24px; }
  .step-ip { font-size: 12px; }
}
@media (max-width: 960px) {
  .world-layout { grid-template-columns: 1fr; }
  .world-art { min-height: 440px; }
  .feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
  .feature-link { grid-column: 1 / -1; }
  .section-intro { max-width: 300px; }
  .join-heading { gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step p { min-height: 0; }
  .rules-layout, .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-intro, .rules-heading > p:not(.eyebrow) { max-width: 550px; }
  .rules-shield { display: none; }
  .application-panel { padding: 38px 30px; }
  .application-option { padding: 20px; gap: 12px; }
}
@media (max-width: 600px) {
  .hero-landscape { inset: -12px; }
  body { font-size: 16px; }
  .hero { min-height: 780px; height: auto; max-height: none; }
  .hero-inner { padding-block: 60px 105px; }
  .hero-description { font-size: 17px; }
  .hero-label { font-size: 10px; letter-spacing: 1px; }
  .hero-note { font-size: 13px; }
  .hero-buttons { align-items: stretch; }
  .hero-buttons .button { width: 100%; }
  .button, .button-large{ font-size: 15px; padding-inline: 17px; }
  .server-strip-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 23px; }
  .server-address { font-size: 16px; }
  .strip-meta { font-size: 12px; gap: 10px; }
  .server-facts { grid-template-columns: 1fr; gap: 23px; }
  .server-facts strong { font-size: 21px; }
  .section-intro, .feature p, .join-heading > p, .step p, .faq-intro, .faq-answer p { font-size: 16px; }
  .section-intro { max-width: none; }
  .feature-list { display: block; }
  .feature { gap: 15px; }
  .feature-heading h3, .step h3, .mechanic-card h3 { font-size: 19px; }
  .world-art { min-height: 390px; }
  .glass-label, .art-caption > span, .art-caption p { font-size: 10px; }
  .join-panel { padding: 32px 24px; }
  .join-heading > p { max-width: none; }
  .step-ip { font-size: 12px; padding-inline: 9px; gap: 8px; }
  .mechanic-summary, .mechanic-points { font-size: 15px; }
  .quick-commands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .quick-command .command-button code { font-size: 12px; }
  .rules-card { padding: 23px; }
  .rules-card h3 { font-size: 20px; }
  .application-section { padding-block: 60px; }
  .application-panel { padding: 30px 23px; }
  .application-heading h2 { font-size: 31px; }
  .application-options, .application-fields { grid-template-columns: 1fr; }
  .application-option { padding: 19px 16px; }
  .option-icon { width: 38px; height: 38px; }
  .application-option strong { font-size: 19px; }
  .application-option > .icon { width: 18px; }
  .application-form-heading h3 { font-size: 22px; }
  #application-form > [type="submit"] { width: 100%; }
  .dialog-body { padding: 34px 23px; }
  .dialog-body h2 { font-size: 28px; }
  .footer-bottom { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* scene-motion.css */
/* Feature icons and the application panel have independent motion. */
.feature-icon, .mechanic-icon { perspective: 220px; }
.feature-icon .icon, .mechanic-icon .icon { width: 25px; height: 25px; }
[data-motion-icon] .icon { overflow: visible; }
[data-motion-icon] .icon * { transform-box: view-box; }
.compass-orbit { transform-origin: 12px 12px; opacity: .35; stroke-width: 1; animation: compass-orbit 18s linear infinite; }
@keyframes compass-orbit { to { transform: rotate(360deg); } }
.compass-needle { transform-origin: 12px 12px; animation: compass-search 7s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes compass-search { 0%,100% { transform: rotate(-24deg); } 24% { transform: rotate(46deg); } 42% { transform: rotate(28deg); } 68% { transform: rotate(-54deg); } 83% { transform: rotate(-12deg); } }
.cube-body { transform-origin: 12px 12px; animation: feature-cube 3.6s ease-in-out infinite; }
.cube-top { fill: var(--accent); fill-opacity: .25; }
.cube-left { fill: var(--accent); fill-opacity: .08; }
.cube-right { fill: var(--accent); fill-opacity: .4; }
.cube-tape { stroke-width: 1.25; }
.cube-shine { opacity: .45; stroke-width: 1; }
@keyframes feature-cube { 0%,100% { transform: translateY(1.2px) rotate(-5deg); } 50% { transform: translateY(-1.5px) rotate(5deg); } }
.bolt-body { transform-origin: 12px 12px; animation: bolt-charge 2.4s ease-in-out infinite; }
.bolt-halo { stroke-width: 4; opacity: .12; }
.bolt-sparks { opacity: 0; stroke-width: 1.4; stroke-linecap: round; transform-origin: 12px 12px; animation: bolt-sparks 2.4s ease-in-out infinite; }
@keyframes bolt-charge { 0%,100% { transform: translateY(1.5px) rotate(-5deg) scale(.94); } 50% { transform: translateY(-1.5px) rotate(5deg) scale(1.08); } }
@keyframes bolt-sparks { 0%,100% { opacity: .08; transform: scale(.82); } 50% { opacity: .8; transform: scale(1.05); } }
.coin-stack { animation: coin-stack 3s ease-in-out infinite; }
.coin-stack-fill { fill: var(--accent); fill-opacity: .12; }
.coin-front { animation: coin-lift 3s ease-in-out infinite; }
.coin-spin { transform-origin: 16px 9px; animation: coin-spin 3s linear infinite; }
.coin-face { fill: var(--accent); fill-opacity: .2; }
.coin-rim { stroke-width: 1; opacity: .6; }
.coin-engraving { stroke-width: 1.1; }
.coin-sparkle { opacity: 0; stroke-width: 1.25; stroke-linecap: round; transform-origin: 21px 18px; animation: coin-sparkle 3s ease-in-out infinite; }
@keyframes coin-stack { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes coin-lift { 0%,100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@keyframes coin-spin { 0%,50%,100% { transform: scaleX(1); } 25%,75% { transform: scaleX(.18); } }
@keyframes coin-sparkle { 0%,70%,100% { opacity: 0; transform: scale(.6) rotate(-20deg); } 35% { opacity: .85; transform: scale(1) rotate(0); } }
.gear-rotor { transform-origin: 12px 12px; animation: feature-gear 12s linear infinite; }
.gear-teeth { fill: var(--accent); fill-opacity: .1; stroke-width: 1.5; }
@keyframes feature-gear { to { transform: rotate(360deg); } }
.meteor-flight { animation: meteor-flight 3.2s ease-in-out infinite; }
.meteor-rock { fill: var(--accent); fill-opacity: .16; }
.meteor-crater { stroke-width: 1.25; opacity: .7; }
.meteor-trail { stroke-dasharray: 7 3; stroke-width: 1.4; animation: meteor-trail 1.6s linear infinite; }
@keyframes meteor-flight { 0%,100% { transform: translate(1px,-1px); } 50% { transform: translate(-1px,1px); } }
@keyframes meteor-trail { to { stroke-dashoffset: -10; } }
[data-motion-icon="float"] .icon { animation: feature-float 5s ease-in-out infinite; }
@keyframes feature-float { 0%,100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
[data-motion-icon] .icon, [data-motion-icon] .icon * { animation-delay: var(--icon-phase, 0s); }
[data-motion-icon] .icon, [data-motion-icon] .icon * { animation-play-state: paused; }
.icon-active .icon, .icon-active .icon * { animation-play-state: running; }
html.page-hidden [data-motion-icon] .icon, html.page-hidden [data-motion-icon] .icon * { animation-play-state: paused; }
.feature:hover .feature-icon, .mechanic-card:hover .mechanic-icon { box-shadow: 0 0 22px var(--accent-soft); }
.data-saver [data-motion-icon] .icon, .data-saver [data-motion-icon] .icon *, .motion-limited [data-motion-icon] .icon, .motion-limited [data-motion-icon] .icon * { animation: none !important; }
.motion-limited .application-atmosphere * { animation: none !important; }
.motion-limited .application-seen .application-heading, .motion-limited .application-seen .application-options > * { animation: none !important; }
.hero .world-image { object-position: center; }
.application-panel { position: relative; isolation: isolate; overflow: hidden; }
.application-panel > :not(.application-atmosphere) { position: relative; z-index: 1; }
.application-atmosphere { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; color: var(--accent); }
.application-aura { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: radial-gradient(circle, var(--accent-line), transparent 68%); opacity: .52; }
.aura-one { right: -155px; top: -240px; animation: application-aura 12s ease-in-out infinite alternate; }
.aura-two { left: -190px; bottom: -290px; width: 530px; height: 530px; opacity: .3; animation: application-aura 15s -5s ease-in-out infinite alternate-reverse; }
@keyframes application-aura { from { transform: translate(-30px, -15px) scale(.92); } to { transform: translate(35px, 28px) scale(1.12); } }
.application-trail { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: .75; opacity: .14; stroke-dasharray: 3 12; animation: application-trail 32s linear infinite; }
@keyframes application-trail { to { stroke-dashoffset: -420; } }
.application-cube { display: block; position: absolute; width: 32px; height: 32px; opacity: .18; animation: application-cube 7s ease-in-out infinite alternate; }
.application-cube svg { display: block; width: 100%; height: 100%; stroke-width: 1; }
.cube-1 { top: 12%; right: 17%; }
.cube-2 { top: 40%; right: 6%; width: 20px; height: 20px; animation-delay: -3s; }
.cube-3 { bottom: 18%; left: 9%; width: 25px; height: 25px; animation-delay: -5s; }
.cube-4 { top: 16%; right: 40%; width: 14px; height: 14px; animation-delay: -1.7s; }
@keyframes application-cube { from { transform: translateY(8px) rotate(-9deg); } to { transform: translateY(-14px) rotate(13deg); } }
.application-seen .application-heading { animation: application-arrive .75s both; }
.application-seen .application-options > :nth-child(1) { animation: application-arrive .7s .12s both; }
.application-seen .application-options > :nth-child(2) { animation: application-arrive .7s .23s both; }
@keyframes application-arrive { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.application-option .option-icon { transition: transform .35s, background-color .8s; }
.application-option > .icon { transition: transform .3s; }
.application-option:hover .option-icon, .application-option:focus-visible .option-icon { transform: rotate(-8deg) scale(1.08); }
.application-option:hover > .icon, .application-option:focus-visible > .icon { transform: translateX(4px); }
.application-option[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); }
.application-feedback:not([hidden]) { animation: application-arrive .3s both; }
.application-success:not([hidden]) .success-icon { animation: application-check .6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes application-check { from { opacity: 0; transform: scale(.5) rotate(-25deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
#application-form[aria-busy="true"] [type="submit"] > .icon { animation: application-send .8s ease-in-out infinite alternate; }
@keyframes application-send { to { transform: translateX(5px); opacity: .45; } }
.application-panel:not(.application-active) .application-atmosphere *, .page-hidden .application-atmosphere * { animation-play-state: paused; }
.data-saver .application-atmosphere *, .data-saver .application-seen .application-heading, .data-saver .application-seen .application-options > *, .data-saver .application-success .success-icon, .data-saver #application-form[aria-busy="true"] [type="submit"] > .icon { animation: none !important; }
@media (max-width: 700px) { .application-cube { opacity: .12; }.application-trail { opacity: .09; } }
@media (prefers-reduced-motion: reduce) {
  [data-motion-icon] .icon, [data-motion-icon] .icon * { animation: none !important; transition: none !important; }
  .application-atmosphere *, .application-seen .application-heading, .application-seen .application-options > *, .application-success .success-icon, #application-form[aria-busy="true"] [type="submit"] > .icon { animation: none !important; transition: none !important; }
}

/* player-dashboard.css */
.application-panel [hidden] { display: none !important; }
.player-dashboard { animation: player-arrive .6s ease-out both; }
@keyframes player-arrive { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.player-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.player-header h2 { font-size: clamp(30px,4vw,46px); line-height: 1.25; max-width: 800px; margin: 16px 0; overflow-wrap: anywhere; }
.player-header p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.player-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; padding-top: 10px; }
.player-layout { display: grid; grid-template-columns: minmax(215px,.65fr) minmax(0,1.65fr); gap: 24px; }
.player-character-card, .player-inventory-card { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 25px; min-width: 0; }
.player-character-card { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background: radial-gradient(ellipse at 50% 40%,var(--accent-soft),transparent 65%),var(--surface); }
.player-character-heading { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.player-character-heading .eyebrow { font-size: 9px; }
.player-live-badge { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.player-live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); }
.player-live-badge.is-online { color: #60cda4; }.player-live-badge.is-online::before { background: #60cda4; box-shadow: 0 0 12px #60cda450; }
.player-character-name { font-size: 21px; margin-top: 6px; overflow-wrap: anywhere; max-width: 100%; }
.player-skin-caption { font-size: 12px; text-align: center; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }
.player-skin-view { position: relative; width: 100%; height: 330px; perspective: 800px; isolation: isolate; }
.player-skin-rig { position: absolute; width: 48px; height: 192px; left: 50%; top: 50%; transform-style: preserve-3d; transform: translate(-50%,-53%) rotateX(-7deg) rotateY(-25deg); animation: player-breathe 8s ease-in-out infinite alternate; }
.skin-part { position: absolute; transform-style: preserve-3d; }.skin-face { position: absolute; display: block; image-rendering: pixelated; background-size: 100% 100%; backface-visibility: hidden; }
.skin-face-right { filter: brightness(.66); }.skin-face-left { filter: brightness(.84); }.skin-face-bottom { filter: brightness(.48); }.skin-face-top { filter: brightness(1.08); }
.skin-overlay { transform: scale3d(1.045,1.045,1.045); }.skin-head.skin-overlay { transform: scale3d(1.10,1.10,1.10); }
.player-pedestal { position: absolute; left: 50%; bottom: 40px; width: 145px; height: 40px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse,#02040e66,transparent 65%); z-index: -1; }
@keyframes player-breathe { from { transform: translate(-50%,-53%) rotateX(-7deg) rotateY(-28deg); } to { transform: translate(-50%,-55%) rotateX(-5deg) rotateY(12deg); } }
.player-dashboard:not(.player-visible) .player-skin-rig, .page-hidden .player-skin-rig { animation-play-state: paused; }
.player-inventory-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }.player-inventory-heading h3 { font-size: 25px; margin: 3px 0 0; }.player-inventory-heading .eyebrow { font-size: 10px; }
.player-level { padding: 6px 11px; border-radius: 7px; font-size: 13px; color: var(--accent); background: var(--accent-soft); white-space: nowrap; }
.player-equipment { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 15px; }.player-armor { display: grid; grid-template-columns: repeat(4,48px); gap: 5px; }.player-offhand { width: 48px; }
.player-inventory-grid { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 5px; }
.inventory-slot { display: grid; place-items: center; position: relative; aspect-ratio: 1; min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 5px; background: var(--accent-soft); box-shadow: inset 1px 1px 0 #ffffff04,inset -1px -1px 0 #00000010; padding: 0; color: var(--muted); }
button.inventory-slot { cursor: pointer; }button.inventory-slot:hover,button.inventory-slot:focus-visible { border-color: var(--accent); background: var(--accent-line); z-index: 1; }.inventory-slot.item-selected { outline: 2px solid var(--accent); outline-offset: 1px; }.inventory-slot.held-slot { border-color: var(--accent); }
.inventory-slot img { width: 70%; height: 70%; object-fit: contain; image-rendering: pixelated; pointer-events: none; }.item-count { position: absolute; bottom: 0; right: 3px; font: 700 13px/1.6 Consolas,monospace; color: #fff; text-shadow: 1px 1px 0 #000,0 0 3px #000; }.item-fallback { font-size: 12px; color: var(--accent); font-weight: 800; }.empty-slot-mark { opacity: .35; }.item-unavailable::before { content:'?'; font-weight: 700; color: var(--accent); }
.item-durability { position: absolute; bottom: 3px; left: 5px; right: 5px; height: 2px; background: #0007; }.item-durability::after { content:''; display: block; height: 100%; width: calc(var(--remaining)*100%); background: #66cc8f; }.enchanted-item { background: linear-gradient(130deg,#9167d51c,transparent 60%),var(--accent-soft); }
.player-inventory-grid > :nth-child(n+28) { margin-top: 8px; }
.player-item-detail { min-height: 46px; color: var(--muted); font-size: 13px; line-height: 1.7; padding-block: 13px; margin: 0; overflow-wrap: anywhere; }
.player-vitals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 16px 0 20px; border-top: 1px solid var(--line); }.player-vitals > div { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; font-size: 12px; }.player-vitals strong { font-size: 12px; }.player-vitals meter { width: 100%; height: 6px; grid-column: 1/-1; border: none; background: var(--accent-soft); border-radius: 6px; overflow: hidden; }.player-vitals meter::-webkit-meter-bar { border: none; background: var(--accent-soft); border-radius: 6px; }.player-vitals meter::-webkit-meter-optimum-value { background: #df6975; border-radius: 6px; }.player-vitals #player-food-meter::-webkit-meter-optimum-value { background: #ddaa63; }.player-vitals #player-experience-meter::-webkit-meter-optimum-value { background: #70bc8d; }.player-vitals meter::-moz-meter-bar { background: var(--accent); }
.player-location { border-top: 1px solid var(--line); padding-top: 18px; }.player-location-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }.player-location-title > span { display: flex; align-items: center; gap: 8px; }.player-location-title .icon { color: var(--accent); width: 17px; height: 17px; }.player-location-title button { font-size: 12px; }.player-location-title button:disabled { opacity: .4; cursor: default; }
.player-coordinates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 12px 0; }.player-coordinates > span { display: flex; align-items: baseline; gap: 9px; color: var(--subtle); font-size: 11px; }.player-coordinates strong { font: 600 20px/1.6 Consolas,monospace; color: var(--text); overflow-wrap: anywhere; }.player-world { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }.player-world strong { font-weight: 600; }
.player-updated { font-size: 11px; color: var(--muted); margin: 14px 0 3px; }.player-inventory-note { font-size: 11px; color: var(--subtle); margin: 0; }
.player-link-panel { margin-top: 24px; padding: 25px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }.player-link-panel > div:first-child { flex: 1; min-width: 200px; }.player-link-panel h3 { margin: 0 0 8px; font-size: 20px; }.player-link-panel p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }.player-link-code { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; flex-basis: 100%; padding-top: 12px; }.player-link-code code { user-select: all; font-size: 17px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }.player-link-code small { display: block; width: 100%; color: var(--muted); font-size: 12px; line-height: 1.8; }
.player-application-state, .player-notice { padding: 13px 17px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; font-size: 14px; margin: 0 0 24px; }.player-return { margin-top: 25px; font-size: 14px; }.player-login { display: flex; flex-wrap: wrap; align-items: end; gap: 15px; margin-top: 20px; }.player-login label { display: grid; gap: 8px; font-size: 13px; }.player-login input { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 7px; padding: 12px; font: inherit; font-size: 16px; min-width: 0; width: 100%; }.player-login .button { min-height: 50px; }
.data-saver .player-skin-rig,.motion-limited .player-skin-rig,.data-saver .player-dashboard { animation: none; }
@media (max-width: 960px) { .player-layout { grid-template-columns: minmax(170px,.6fr) minmax(0,1.4fr); gap: 16px; }.player-character-card,.player-inventory-card { padding: 18px; }.player-vitals { gap: 10px; }.player-coordinates strong { font-size: 17px; } }
@media (max-width: 700px) { .player-header { flex-wrap: wrap; gap: 0; }.player-actions { width: 100%; justify-content: end; padding-top: 0; }.player-layout { grid-template-columns: 1fr; }.player-skin-view { height: 285px; }.player-character-heading { max-width: 320px; }.player-character-card { padding-bottom: 22px; }.player-skin-caption { max-width: 260px; }.player-link-panel { padding: 20px; }.player-link-panel .button { width: 100%; justify-content: center; } }
@media (max-width: 420px) { .player-character-card,.player-inventory-card { padding: 15px; }.player-inventory-grid { gap: 3px; }.player-armor { grid-template-columns: repeat(4,38px); gap: 4px; }.player-offhand { width: 38px; }.item-count { font-size: 10px; right: 2px; }.player-vitals { grid-template-columns: 1fr; gap: 13px; }.player-vitals > div,.player-vitals strong { font-size: 13px; }.player-coordinates { gap: 7px; }.player-coordinates > span { gap: 4px; }.player-coordinates strong { font-size: 16px; }.player-level { font-size: 11px; }.player-inventory-heading h3 { font-size: 23px; }.player-link-code code { font-size: 14px; padding: 10px; }.player-header h2 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .player-skin-rig,.player-dashboard { animation: none; } }

/* effects.css */
/* Pointer light is a clipped viewport overlay; it never captures clicks. */
.cursor-light {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: screen;
  transition: opacity .3s ease, visibility .3s ease;
}
.pointer-effects[data-theme="dark"] .cursor-light { display: block; }
.cursor-light.is-visible { opacity: 1; visibility: visible; }
.cursor-light-orb {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, #719bff24 0%, #528aff13 28%, #528aff06 48%, transparent 70%);
  pointer-events: none;
}
.cursor-light.is-visible .cursor-light-orb { will-change: transform; }

/* Positioning keeps the decorative highlight within the original surface. */
.interactive-surface,
.interactive-surface > summary { position: relative; }

/* Only hover and its return own the transform. At rest the original design wins.
   Important prevents a filled entry keyframe from freezing the pointer tilt. */
.pointer-effects .interactive-surface:is(.is-tilting, .is-settling) {
  position: relative;
  --surface-reveal: 0px;
  transform: perspective(1100px)
    translate3d(0, calc(var(--surface-reveal) + var(--tilt-lift, 0px)), 0)
    rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) !important;
  transform-origin: center;
  transition: transform .5s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease, border-color .25s ease, opacity .7s ease;
  transition-delay: 0s;
}
.pointer-effects.js-motion .interactive-surface.reveal:not(.is-visible) { --surface-reveal: 22px; }
.pointer-effects .interactive-surface.is-tilting {
  z-index: 3;
  will-change: transform;
  transition: transform .14s ease-out, box-shadow .35s ease, border-color .25s ease, opacity .7s ease;
  transition-delay: 0s;
}
/* Existing cards keep their own corners. Plain text blocks acquire no new frame. */
.pointer-effects :is(.mechanic-card, .world-art, .join-panel, .rules-card, .application-panel, .application-option, .player-character-card, .player-inventory-card).is-tilting {
  border-color: var(--accent-line);
  box-shadow: var(--tilt-shadow-x, 0px) 24px 44px -25px #0009, 0 0 0 1px var(--accent-line);
}
.pointer-effects[data-theme="light"] :is(.mechanic-card, .world-art, .join-panel, .rules-card, .application-panel, .application-option, .player-character-card, .player-inventory-card).is-tilting { box-shadow: var(--tilt-shadow-x, 0px) 22px 40px -26px #62422960, 0 0 0 1px var(--accent-line); }
.interactive-surface > .surface-light,
.interactive-surface > summary > .surface-light {
  display: block;
  position: absolute;
  inset: 1px;
  z-index: 2;
  margin: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--surface-light-x, 50%) var(--surface-light-y, 50%), #7da8ff2b, #6492ff0a 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.pointer-effects[data-theme="dark"] .interactive-surface.is-tilting > .surface-light,
.pointer-effects[data-theme="dark"] .interactive-surface.is-tilting > summary > .surface-light { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .cursor-light, .surface-light { display: none !important; }
}
