:root {
  color-scheme: dark;
  --background: #112e28;
  --surface: #183a32;
  --text: #f5f5e9;
  --muted: #b5c8be;
  --accent: #c3e99c;
  --line: #365348;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.page { width: min(640px, calc(100% - 40px)); margin: clamp(40px, 10vh, 100px) auto 40px; }
.heading { margin-bottom: 32px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 4rem; line-height: 1.1; letter-spacing: -.06em; margin: 0 0 12px; }
.title-period { color: var(--accent); }
.heading p { color: var(--muted); margin: 0; }
.join { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.join h2 { color: var(--muted); font-size: .875rem; font-weight: 400; margin: 0 0 12px; }
.address-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.server-address { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 2rem; font-weight: 500; letter-spacing: -.055em; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.copy-button { display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #153426; padding: 10px 14px; font-size: .875rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.copy-button svg { width: 18px; height: 18px; }
.copy-button:hover { background: #d3f4b2; }
.join-details { color: var(--muted); font-size: .875rem; margin: 16px 0 0; }
.join-details span { padding-inline: 4px; }
.copy-status { margin: 0; color: var(--accent); font-size: .875rem; }
.copy-status:not(:empty) { margin-top: 8px; }
.destinations { margin-top: 24px; }
.destination { display: flex; align-items: center; gap: 18px; padding: 20px 8px; text-decoration: none; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; }
.destination:hover { background: var(--surface); }
.destination-icon { color: var(--accent); display: grid; place-items: center; width: 36px; flex-shrink: 0; }
.destination-text { display: flex; flex-direction: column; gap: 2px; }
.destination-title { font-size: 1.125rem; font-weight: 500; }
.destination-description { color: var(--muted); font-size: .875rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-160%); background: var(--accent); color: var(--background); padding: 12px; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 460px) {
  h1 { font-size: 3.5rem; }
  .join { padding: 20px; }
  .address-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .server-address { font-size: 1.875rem; }
}
