:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #081018;
  color: #f7fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #081018; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #081018; }
button, a { font: inherit; }
a { color: inherit; }

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-color: #081018;
  background-image: url("https://emocc.cn-nb1.rains3.com/Desktop/5b75d800016d0482f9938839c0986486.png");
  background-position: center;
  background-size: cover;
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(3, 9, 16, 0.68);
}

.site-header, .content-wrap, .site-footer { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.header-note { color: rgba(255,255,255,.52); font-size: 11px; letter-spacing: .16em; }

.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 86px; align-items: center; min-height: calc(100svh - 134px); padding-block: 78px 72px; }
.notice-copy { max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #86efac; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 5px rgba(74,222,128,.14), 0 0 18px rgba(74,222,128,.8); }
h1 { max-width: 720px; margin: 0; font-size: 64px; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
h1 em { color: #fda4af; font-style: normal; }
.lead { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.8; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.action-button { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.action-button:hover { transform: translateY(-2px); }
.action-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.action-primary { background: #e76f51; border-color: #f28b73; }
.action-primary:hover { background: #f07d5e; border-color: #ffc1ad; }
.action-wiki { background: rgba(52, 211, 153, .17); border-color: rgba(110, 231, 183, .38); }
.action-wiki:hover { background: rgba(52, 211, 153, .28); border-color: rgba(167, 243, 208, .7); }
.action-site { background: rgba(56, 189, 248, .16); border-color: rgba(125, 211, 252, .38); }
.action-site:hover { background: rgba(56, 189, 248, .26); border-color: rgba(186, 230, 253, .7); }
.external-mark { color: rgba(255,255,255,.62); font-size: 16px; line-height: 1; }

.server-panel { width: 100%; padding: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(7, 17, 27, .72); box-shadow: 0 22px 70px rgba(0,0,0,.34); backdrop-filter: blur(18px); }
.panel-topline { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.48); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.live-label { color: #86efac; }
.server-identity { display: flex; align-items: center; gap: 13px; padding: 22px 0 18px; }
.server-identity img { width: 48px; height: 48px; border-radius: 9px; }
.identity-label { margin: 0 0 4px; color: #fda4af; font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.detail-list { border-top: 1px solid rgba(255,255,255,.12); }
.detail-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; border-bottom: 1px solid rgba(255,255,255,.12); }
.detail-label { color: rgba(255,255,255,.48); font-size: 12px; }
.detail-item strong, .detail-item code { color: #f8fafc; font-size: 14px; font-weight: 650; }
.address-line { display: inline-flex; align-items: center; gap: 8px; }
.address-line code { padding: 5px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(255,255,255,.07); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.icon-button { display: inline-grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; transition: color .2s ease, background .2s ease; }
.icon-button:hover, .icon-button:focus-visible { background: rgba(255,255,255,.12); color: #fff; outline: none; }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.open-access { display: inline-flex; align-items: center; gap: 6px; color: #86efac !important; }
.panel-footnote { margin: 18px 0 0; color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.6; }

.site-footer { display: flex; align-items: center; gap: 12px; min-height: 56px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); font-size: 12px; }
.footer-separator { width: 4px; height: 4px; border-radius: 50%; background: #fda4af; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; max-width: calc(100% - 48px); padding: 10px 14px; border: 1px solid rgba(134,239,172,.5); border-radius: 6px; background: #10261b; color: #bbf7d0; font-size: 13px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; gap: 42px; padding-block: 62px 48px; }
  .notice-copy { max-width: 720px; }
  .server-panel { max-width: 560px; }
}

@media (max-width: 600px) {
  .site-header, .content-wrap, .site-footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 66px; }
  .brand { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
  .header-note { display: none; }
  .content-wrap { min-height: auto; padding-block: 56px 42px; }
  h1 { font-size: 42px; line-height: 1.12; }
  .lead { margin-top: 20px; font-size: 16px; line-height: 1.7; }
  .action-row { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .action-button { justify-content: center; }
  .server-panel { padding: 18px; }
  .detail-item { min-height: 62px; }
  .site-footer { min-height: 70px; flex-wrap: wrap; padding-block: 15px; }
}

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