:root {
  color-scheme: dark;
  --bg: #070a12;
  --bg-soft: #0b101c;
  --surface: #0d1422;
  --surface-light: #111c2e;
  --line: rgba(122, 158, 209, .17);
  --line-strong: rgba(122, 158, 209, .28);
  --text: #f2f6ff;
  --muted: #8493a9;
  --blue: #49a8ff;
  --blue-bright: #6bc3ff;
  --cyan: #70e3ff;
  --red: #ff7087;
  --green: #68e2ac;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 83% 8%, rgba(18, 82, 155, .16), transparent 32rem),
    radial-gradient(ellipse at 6% 42%, rgba(10, 38, 76, .16), transparent 28rem),
    var(--bg);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(136, 175, 231, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(136, 175, 231, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.site-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(73, 168, 255, .56);
  background: linear-gradient(145deg, rgba(73, 168, 255, .17), rgba(73, 168, 255, .035));
  color: var(--blue-bright);
  font: 700 22px/1 var(--display);
  transform: skew(-7deg);
}
.brand-mark i { position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; border-right: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); }
.brand-name { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; letter-spacing: .15em; line-height: 1.1; }
.brand-name b { color: var(--blue-bright); font-weight: 700; }
.brand-name small { margin-top: 5px; color: #708099; font-size: 8px; font-weight: 600; letter-spacing: .24em; }
.main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 42px; }
.main-nav a, .footer-top { color: #9aa9bd; font-size: 11px; font-weight: 600; letter-spacing: .09em; transition: color .2s ease; }
.main-nav a:hover, .footer-top:hover { color: var(--blue-bright); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 0 22px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 15px; font-size: 9px; }
.button-outline { border-color: var(--line-strong); background: rgba(12, 18, 29, .62); color: var(--text); }
.button-outline:hover { border-color: var(--blue); background: rgba(73, 168, 255, .08); }
.button-primary { background: linear-gradient(110deg, #1678d4, #319ff0); box-shadow: 0 8px 30px rgba(15, 118, 214, .19); color: white; }
.button-primary:hover { background: linear-gradient(110deg, #238ce8, #4cb3ff); box-shadow: 0 10px 34px rgba(15, 118, 214, .31); }
.button-quiet { padding-left: 0; color: #a4b0c2; }
.button-quiet:hover { color: white; }
.button-icon { font-size: 11px; }

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  padding: 66px 0 80px;
}
.hero-copy { position: relative; z-index: 2; padding: 20px 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--blue-bright); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { width: 22px; height: 1px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h1 { margin-bottom: 18px; font-size: clamp(66px, 8.4vw, 108px); line-height: .85; text-transform: uppercase; }
h1 span, h2 span { color: var(--blue-bright); }
.hero-lead { max-width: 420px; margin: 26px 0 28px; color: #a3b0c2; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.server-line { display: flex; align-items: center; gap: 11px; margin-top: 54px; color: #7e8ba0; font-size: 9px; letter-spacing: .11em; }
.server-line-label { color: #a3b0c2; font-weight: 700; }
.server-line strong { color: #aab8cb; font-size: 9px; letter-spacing: .1em; }
.server-line-separator { color: #43536a; }
.server-address, .mono { color: #b8c8dd; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; letter-spacing: .02em; }
.status-dot { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #73839a; box-shadow: 0 0 0 4px rgba(115, 131, 154, .11); }
.status-dot::after { position: absolute; inset: -4px; border: 1px solid currentColor; border-radius: 50%; content: ""; opacity: .38; }
.status-online { color: var(--green); background: var(--green); box-shadow: 0 0 14px rgba(104, 226, 172, .5), 0 0 0 4px rgba(104, 226, 172, .1); }
.status-offline { color: var(--red); background: var(--red); box-shadow: 0 0 0 4px rgba(255, 112, 135, .11); }
.status-unknown { color: #8090a7; }
.hero-art { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: end; overflow: hidden; }
.art-grid { position: absolute; inset: 12%; background-image: linear-gradient(rgba(71, 153, 235, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 153, 235, .09) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, black 18%, transparent 76%); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(74, 158, 242, .3); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 78%; height: 78%; border-style: dashed; animation: slow-spin 90s linear infinite; }
.orbit-two { width: 61%; height: 61%; border-color: rgba(111, 207, 255, .45); box-shadow: 0 0 35px rgba(49, 136, 218, .08), inset 0 0 35px rgba(49, 136, 218, .06); }
.orbit-three { width: 45%; height: 45%; border-color: rgba(69, 149, 231, .27); }
.art-axis { position: absolute; top: 50%; left: 50%; background: linear-gradient(90deg, transparent, rgba(105, 190, 255, .35), transparent); transform: translate(-50%, -50%); }
.axis-x { width: 100%; height: 1px; }
.axis-y { width: 1px; height: 100%; background: linear-gradient(0deg, transparent, rgba(105, 190, 255, .28), transparent); }
.art-core { position: absolute; top: 50%; left: 50%; width: 180px; height: 180px; display: grid; place-items: center; border: 1px solid rgba(114, 202, 255, .67); background: radial-gradient(circle at 42% 38%, rgba(50, 157, 253, .3), rgba(11, 25, 44, .7) 64%, rgba(7, 12, 22, .9)); box-shadow: 0 0 55px rgba(44, 145, 244, .25), inset 0 0 32px rgba(44, 145, 244, .16); transform: translate(-50%, -50%) rotate(45deg); }
.art-core::before, .art-core::after { position: absolute; inset: 12px; border: 1px solid rgba(105, 190, 255, .23); content: ""; }
.art-core::after { inset: 24px; border-color: rgba(105, 190, 255, .12); }
.art-core span { color: #e4f5ff; font: 700 66px/.9 var(--display); letter-spacing: -.04em; text-shadow: 0 0 22px rgba(73, 168, 255, .75); transform: rotate(-45deg); }
.art-core i { position: absolute; right: 18px; bottom: 18px; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.art-label { position: absolute; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-left: 1px solid var(--blue); background: rgba(7, 12, 22, .84); font-size: 8px; letter-spacing: .14em; }
.art-label span { color: #74859c; }
.art-label b { color: #bddfff; font: 600 13px/1 var(--body); letter-spacing: .1em; }
.art-label-top { top: 16%; right: 7%; }
.art-label-bottom { bottom: 17%; left: 8%; }
.art-tick { position: absolute; width: 26px; height: 26px; border-color: rgba(105, 190, 255, .7); }
.tick-one { top: 17%; left: 20%; border-top: 1px solid; border-left: 1px solid; }
.tick-two { right: 16%; bottom: 17%; border-right: 1px solid; border-bottom: 1px solid; }
.tick-three { top: 28%; right: 22%; width: 5px; height: 5px; border: 1px solid var(--cyan); transform: rotate(45deg); }
.art-cross { position: absolute; color: rgba(107, 195, 255, .75); font-size: 17px; font-weight: 300; }
.cross-one { top: 27%; left: 10%; }
.cross-two { right: 13%; bottom: 30%; }
.hero-index { position: absolute; right: 0; bottom: 24px; color: #68768c; font: 600 11px/1 var(--body); letter-spacing: .14em; }
.hero-index span { color: var(--blue-bright); }
@keyframes slow-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.section-rule { border-top: 1px solid var(--line); }
.server-section { padding: 74px 0 86px; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5.5vw, 64px); line-height: .98; text-transform: uppercase; }
.server-card { display: grid; grid-template-columns: 1.1fr .9fr .9fr auto; align-items: center; gap: 22px; min-height: 142px; padding: 26px; border: 1px solid var(--line-strong); background: linear-gradient(105deg, rgba(16, 27, 44, .87), rgba(9, 15, 26, .9)); box-shadow: 0 22px 70px rgba(0, 0, 0, .15); }
.server-card-main { display: flex; align-items: center; gap: 16px; }
.server-card-icon { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(73, 168, 255, .45); background: linear-gradient(145deg, rgba(73, 168, 255, .16), rgba(8, 19, 33, .55)); color: var(--blue-bright); font: 700 27px/1 var(--display); }
.server-card-icon i { position: absolute; right: -4px; bottom: -4px; width: 11px; height: 11px; border-right: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); }
.card-kicker { display: block; margin-bottom: 7px; color: #798da9; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.server-card h3, .project-note h3 { margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.muted { margin: 0; color: var(--muted); font-size: 10px; }
.server-card-address { padding-left: 20px; border-left: 1px solid var(--line); }
.copy-button { display: block; margin-top: 11px; border: 0; padding: 0; background: transparent; color: var(--blue-bright); cursor: pointer; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.copy-button:hover { color: white; }
.server-card-status { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--line); }
.server-card-status strong { font-size: 10px; letter-spacing: .1em; }
.players-count { margin-left: auto; color: #8a9bb2; font-size: 8px; letter-spacing: .1em; white-space: nowrap; }
.button-join { min-height: 44px; padding: 0 14px; font-size: 8px; white-space: nowrap; }

.steps-section { padding: 76px 0 88px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-aside { max-width: 260px; margin-bottom: 5px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(10, 16, 27, .58); }
.step-card { position: relative; min-height: 218px; padding: 25px 28px; }
.step-card + .step-card { border-left: 1px solid var(--line); }
.step-number { color: #5e7796; font: 600 12px/1 var(--body); letter-spacing: .12em; }
.step-symbol { position: absolute; top: 23px; right: 28px; color: rgba(93, 177, 251, .58); font: 400 29px/1 var(--display); }
.step-card h3 { margin: 40px 0 8px; font-size: 15px; font-weight: 600; }
.step-card p { max-width: 250px; margin: 0; color: #8f9db1; font-size: 11px; line-height: 1.75; }
.step-card .mono { color: #bddfff; font-size: 10px; }

.project-section { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 90px; padding: 80px 0 90px; }
.project-copy > p:not(.eyebrow) { max-width: 500px; margin: 22px 0 25px; color: #9caabd; font-size: 12px; line-height: 1.9; }
.project-copy .button { min-height: 46px; }
.project-note { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 28px 26px 30px; border: 1px solid rgba(73, 168, 255, .3); background: linear-gradient(140deg, rgba(16, 39, 65, .55), rgba(10, 17, 29, .8)); }
.note-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(103, 195, 255, .5); color: var(--blue-bright); font: 600 17px/1 var(--display); }
.project-note h3 { margin: 13px 0 8px; font: 600 21px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.project-note p { max-width: 310px; margin: 0; color: #9ba9bc; font-size: 11px; line-height: 1.8; }
.note-index { position: absolute; right: 18px; bottom: 13px; color: #637995; font: 600 8px/1 var(--body); letter-spacing: .14em; }

.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.brand-footer { transform: scale(.86); transform-origin: left center; }
.footer-copy { color: #697a91; font-size: 9px; letter-spacing: .1em; }
.footer-top { color: #8796ab; font-size: 9px; }
.footer-top span { margin-left: 7px; color: var(--blue-bright); }

.panel-dialog { position: fixed; width: min(450px, calc(100% - 32px)); border: 1px solid var(--line-strong); padding: 42px; background: radial-gradient(ellipse at 95% 0, rgba(27, 94, 160, .25), transparent 58%), #0b111d; color: var(--text); box-shadow: 0 24px 90px rgba(0, 0, 0, .65); }
.panel-dialog::backdrop { background: rgba(2, 5, 11, .78); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 13px; right: 16px; border: 0; background: transparent; color: #a5b4c8; cursor: pointer; font-size: 25px; }
.dialog-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(73, 168, 255, .48); color: var(--blue-bright); font: 700 22px/1 var(--display); }
.panel-dialog .eyebrow { margin-bottom: 12px; }
.panel-dialog h2 { margin: 0 0 17px; font-size: 42px; }
.panel-dialog > p:not(.eyebrow) { margin-bottom: 24px; color: #9eacc0; font-size: 12px; line-height: 1.8; }
.panel-dialog .button { width: 100%; }
.panel-dialog [hidden] { display: none !important; }
.profile-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; }
.profile-summary > div { min-width: 0; padding: 10px 12px; border: 1px solid rgba(83, 121, 163, .25); background: rgba(5, 14, 25, .78); }
.profile-summary span { display: block; margin-bottom: 5px; color: #8294ab; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.profile-summary strong { display: block; overflow: hidden; color: #eaf4ff; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 13px 17px; border: 1px solid var(--line-strong); background: #101a29; color: #d7e8fa; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-shell { width: min(100% - 44px, 720px); }
  .topbar { height: 78px; }
  .brand { min-width: auto; }
  .main-nav { gap: 20px; margin-right: 22px; }
  .hero { min-height: 540px; grid-template-columns: 1fr .8fr; }
  .hero-art { width: 120%; margin-right: -12%; }
  .server-card { grid-template-columns: 1fr 1fr; gap: 22px; }
  .server-card-address { border-left: 0; padding-left: 0; }
  .server-card-status { border-left: 0; padding-left: 0; }
  .players-count { margin-left: auto; }
  .button-join { justify-self: start; }
  .project-section { gap: 40px; }
}

@media (max-width: 620px) {
  .site-shell { width: calc(100% - 36px); }
  .topbar { height: 72px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 7px; }
  .main-nav { display: none; }
  .button-small { min-height: 36px; padding: 0 10px; font-size: 8px; }
  .hero { display: block; min-height: auto; padding: 62px 0 72px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 8px; letter-spacing: .15em; }
  h1 { font-size: clamp(65px, 18vw, 90px); }
  .hero-lead { max-width: 360px; margin-top: 20px; font-size: 12px; }
  .hero-actions { gap: 14px; }
  .button { min-height: 48px; padding: 0 15px; font-size: 9px; }
  .server-line { flex-wrap: wrap; gap: 9px; margin-top: 32px; font-size: 8px; }
  .server-address { font-size: 10px; }
  .hero-art { width: min(100%, 390px); margin: 12px auto -15px; }
  .art-core { width: 130px; height: 130px; }
  .art-core span { font-size: 52px; }
  .art-label-top { right: 5%; }
  .hero-index { bottom: 14px; font-size: 9px; }
  .server-section, .steps-section { padding: 56px 0 62px; }
  h2 { font-size: 47px; }
  .server-card { grid-template-columns: 1fr; gap: 19px; padding: 20px; }
  .server-card-address { padding-top: 17px; border-top: 1px solid var(--line); }
  .server-card-status { padding-top: 17px; border-top: 1px solid var(--line); }
  .players-count { margin-left: auto; }
  .button-join { width: 100%; }
  .section-heading-row { display: block; }
  .section-aside { margin: 15px 0 0; font-size: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 176px; padding: 22px; }
  .step-card + .step-card { border-top: 1px solid var(--line); border-left: 0; }
  .step-card h3 { margin-top: 29px; }
  .project-section { grid-template-columns: 1fr; gap: 32px; padding: 59px 0 65px; }
  .project-copy > p:not(.eyebrow) { margin-top: 17px; font-size: 11px; }
  .project-note { padding: 22px 18px 28px; }
  .footer { min-height: 82px; }
  .brand-footer { gap: 8px; transform: scale(.75); width: 180px; }
  .footer-copy { font-size: 7px; }
  .footer-top { font-size: 7px; }
  .panel-dialog { padding: 34px 24px 26px; }
  .panel-dialog h2 { font-size: 36px; }
}

[hidden] { display: none !important; }
.main-nav { gap: 22px; margin-right: 25px; }
.mobile-section-nav { display: none; }
.community-section { padding: 74px 0 80px; scroll-margin-top: 20px; }
.section-intro { max-width: 640px; color: #9eacc0; font-size: 13px; line-height: 1.8; margin: 18px 0 30px; }
.online-total { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.online-total strong { color: var(--green); font: 700 52px/1 var(--display); }
.section-toolbar { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; }
.search-field { display: flex; flex-direction: column; gap: 8px; max-width: 380px; width: 100%; color: #a3b3ca; font-size: 11px; }
input, textarea { font: inherit; border: 1px solid var(--line-strong); border-radius: 0; color: var(--text); background: #09111f; padding: 13px 15px; width: 100%; }
input:focus, textarea:focus { outline: 1px solid var(--blue); border-color: var(--blue); }
input::placeholder, textarea::placeholder { color: #73859e; }
.connection-note { color: var(--muted); font-size: 11px; margin: 17px 0; }
.player-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: 440px; overflow-y: auto; }
.player-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); background: #0c1422; }
.player-avatar { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; color: var(--blue-bright); background: #142c46; font-weight: 700; }
.player-name { flex: 1; overflow: hidden; }
.player-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.player-name small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; }
.player-ping { color: var(--green); font: 10px ui-monospace, monospace; white-space: nowrap; }
.empty-state { grid-column: 1/-1; padding: 24px; margin: 0; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.7; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-card { border: 1px solid var(--line); background: linear-gradient(140deg, #101e30, #0b111d); padding: 28px; }
.guide-number { color: var(--blue-bright); font-size: 10px; letter-spacing: .12em; }
.guide-card h3 { margin: 24px 0 13px; font-size: 19px; }
.guide-card p, .guide-tip p { color: #a3b0c2; font-size: 12px; line-height: 1.9; margin-bottom: 0; }
kbd, code { color: #c0e1ff; background: #12243a; padding: 2px 5px; font: 11px ui-monospace, Consolas, monospace; }
.guide-tip { display: flex; gap: 18px; padding: 20px 24px; border-left: 3px solid var(--blue); background: #0b1727; margin-top: 20px; }
.guide-tip > span { color: var(--blue-bright); font: 28px var(--display); }
.rules-search { margin-bottom: 25px; }
.rules-list { border-top: 1px solid var(--line); }
.rule-group { border-bottom: 1px solid var(--line); }
.rule-group summary { cursor: pointer; padding: 21px 40px 21px 20px; font-size: 13px; color: #d9e8fa; }
.rule-group[open] summary { color: var(--blue-bright); background: #0e1c2d; }
.rule-group ol { padding: 5px 28px 20px 47px; color: #a5b4c9; font-size: 12px; line-height: 1.85; }
.rule-group li { padding: 6px 0 6px 5px; }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 20px; align-items: start; }
.chat-panel { border: 1px solid var(--line-strong); background: #0a121f; }
.chat-panel-header { display: flex; justify-content: space-between; padding: 19px 22px; border-bottom: 1px solid var(--line); gap: 15px; }
.channel-name { color: #d7eaff; font-size: 13px; font-weight: 700; }
#chat-connection { color: var(--muted); font-size: 10px; }
.chat-messages { height: 360px; overflow-y: auto; padding: 6px 22px; }
.chat-message { padding: 17px 0; border-bottom: 1px solid rgba(122,158,209,.08); }
.message-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.message-meta strong { color: var(--blue-bright); overflow-wrap: anywhere; }
.message-meta time { color: #73859f; font-size: 9px; }
.message-body { color: #c0ccdc; font-size: 12px; line-height: 1.75; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-composer { border-top: 1px solid var(--line); padding: 18px 22px; }
.chat-composer textarea { resize: vertical; min-height: 78px; max-height: 180px; font-size: 12px; line-height: 1.6; }
.composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 12px; }
#chat-counter { color: var(--muted); font-size: 10px; }
.chat-feedback { margin: 0; padding: 0 22px 15px; color: #b4cbe6; font-size: 11px; line-height: 1.7; }
.chat-sidebar { padding: 25px; border: 1px solid var(--line); background: linear-gradient(145deg, #101e31, #0a111d); }
.chat-sidebar h3 { font: 600 27px/1.1 var(--display); margin: 20px 0 14px; overflow-wrap: anywhere; }
.chat-sidebar p { color: #91a3bb; font-size: 11px; line-height: 1.9; }
.chat-sidebar label { display: block; font-size: 10px; margin-bottom: 9px; color: #adc5df; }
.chat-sidebar input { font-family: ui-monospace, monospace; font-size: 12px; text-transform: uppercase; }
.chat-sidebar .button { width: 100%; margin-top: 12px; }
.chat-note { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 23px; }
.web-code-output { display: block; color: var(--blue-bright); font: 700 19px ui-monospace, monospace; margin-top: 18px; overflow-wrap: anywhere; }
button:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) { .main-nav { gap: 13px; margin-right: 14px; } .brand { min-width: 180px; } }
@media (max-width: 900px) { .chat-layout { grid-template-columns: 1fr; } .chat-sidebar { max-width: 100%; } .player-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .mobile-section-nav { display: flex; gap: 22px; overflow-x: auto; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 11px; white-space: nowrap; color: var(--blue-bright); } .community-section { padding: 53px 0; } .guide-grid,.player-grid { grid-template-columns: 1fr; } .guide-card { padding: 23px; } .online-total { margin-top: 20px; } .section-toolbar { align-items: stretch; } .chat-messages { padding: 6px 16px; height: 340px; } .chat-composer { padding: 16px; } .chat-panel-header { padding: 18px 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
