.qq-link { background: var(--lime); color: var(--ink); font-weight: 700; padding: 9px 12px; }
.section-heading { margin-bottom: 25px; }
.section-heading > p, .section-open { color: var(--muted); font-size: 11px; margin: 0 0 3px; }
.section-open { color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.server-section, .chat-section, .commands-section { padding-bottom: 82px; padding-top: 86px; }
.join-section { padding-bottom: 86px; padding-top: 82px; }
.guide-section { padding-bottom: 82px; padding-top: 86px; }
.guide-card { min-height: 250px; }
.guide-card-accent { background: var(--white); border-color: var(--line); }
.guide-card h3 { margin-top: 38px; }
.account-section { padding-bottom: 86px; padding-top: 86px; }
.button-qq { border: 1px solid var(--lime-dark); gap: 9px; padding-left: 14px; padding-right: 14px; }
.button-qq span { font-family: var(--mono); font-size: 9px; }
.auth-form button[disabled] { cursor: wait; opacity: .6; transform: none; }
.tps-values div:first-child strong { color: var(--ink); font-size: 48px; }
.tps-values div:not(:first-child) strong { color: var(--muted); font-size: 22px; }
.metric-version strong { font-size: 21px; letter-spacing: -.04em; overflow-wrap: anywhere; }

.chat-page-main { background: #e6ebe6; min-height: calc(100vh - 136px); padding: 78px 10vw 90px; }
.chat-page-inner { margin: 0 auto; max-width: 1180px; }
.chat-page-intro { margin-bottom: 32px; max-width: 590px; }
.chat-page-intro h1 { font-size: clamp(48px, 7vw, 84px); margin-bottom: 18px; }
.chat-page-intro p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 470px; }
.intro-slash { color: var(--lime-dark); font-family: var(--mono); font-size: .55em; margin-left: 10px; vertical-align: top; }
.chat-page-layout { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 280px; }
.chat-page .chat-layout { max-width: none; }
.chat-page .chat-messages { height: min(55vh, 570px); min-height: 380px; }
.chat-side { display: grid; gap: 16px; }
.chat-user-card { padding: 25px; }
.chat-user { align-items: center; display: flex; gap: 10px; min-height: 42px; }
.chat-user strong { display: block; font-size: 18px; }
.chat-user span { color: var(--muted); display: block; font-family: var(--mono); font-size: 9px; }
.chat-user-help { color: var(--muted); font-size: 10px; line-height: 1.75; margin: 22px 0; }
.chat-user-help code { background: #e8eee6; color: var(--ink); font-family: var(--mono); font-size: 9px; padding: 3px 4px; }
.chat-qq-card { align-items: center; background: var(--lime); display: flex; gap: 11px; padding: 19px; }
.qq-card-mark { align-items: center; background: var(--ink); color: var(--lime); display: flex; font-family: var(--mono); font-size: 13px; height: 32px; justify-content: center; width: 32px; }
.chat-qq-card strong, .chat-qq-card span { display: block; }.chat-qq-card strong { font-size: 12px; }.chat-qq-card span { font-family: var(--mono); font-size: 8px; margin-top: 5px; }.chat-qq-card a { font-size: 18px; margin-left: auto; }
.back-link { color: var(--muted); font-family: var(--mono); font-size: 10px; padding: 8px 0; }

@media (max-width: 700px) {
  .chat-page-main { min-height: calc(100vh - 136px); padding: 56px 5vw 65px; }
  .chat-page-layout { grid-template-columns: 1fr; }
  .chat-page .chat-messages { height: 52vh; min-height: 340px; }
  .chat-page-intro h1 { font-size: 52px; }
  .chat-side { grid-template-columns: 1fr 1fr; }
  .chat-user-card { grid-column: span 2; }
}

@media (max-width: 700px) {
  .hero-actions { align-items: flex-start; }
  .button-qq { order: 3; }
  .section-open { margin-bottom: 0; }
  .tps-values div:first-child strong { font-size: 36px; }
  .tps-values div:not(:first-child) strong { font-size: 20px; }
  .guide-card h3 { margin-top: 32px; }
}
