@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f8eed9;
  --ink: #352719;
  --muted: #503c28;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
main { width: min(1320px, 100%); margin: 0 auto; padding: 25px 20px 24px; text-align: center; }
h1 { margin: 0 0 18px; color: #be8d2e; font-size: clamp(36px, 6vw, 62px); line-height: 1.15; letter-spacing: .025em; text-transform: uppercase; }
.scene { position: relative; container-type: inline-size; }
.illustration { display: block; width: 100%; height: auto; mask-image: linear-gradient(to bottom, #000 95%, transparent); }

/* Percentages anchor the live HTML to the blank face of the supplied stone. */
.stone-information {
  position: absolute;
  top: 42%;
  left: 9.7%;
  width: 18.7%;
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 1.65cqw, 23px);
  font-weight: 600;
  color: #493622;
  --muted: #493622;
  letter-spacing: 0.3px;
  text-align: center;
  text-shadow: 0 1px 0 #fff6dd;
}
.connection { margin: 0; }
#server-address { display: block; font-family: inherit; font-size: clamp(8px, 1.35cqw, 19px); font-weight: 700; line-height: 1.45; white-space: nowrap; overflow-wrap: normal; }
#server-hostname, #server-port { display: block; }
#server-port { margin-top: .2em; font-size: .9em; }
button { display: block; min-height: 28px; margin: 3px auto 0; padding: 3px 9px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .82em; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button:hover { color: #934634; }
button:focus-visible { outline: 2px solid #934634; outline-offset: 2px; }
.copy-feedback { display: block; min-height: 1.25em; color: #4b632e; font-size: .75em; line-height: 1.25; }
.whitelist { margin: 0; color: var(--muted); font-size: .85em; }
#serverstatus { margin-top: 1.25em; }
.status-readout { line-height: 1.5; }
.status-dot { display: inline-block; width: .5em; height: .5em; margin-right: .15em; border-radius: 50%; background: #a18a59; vertical-align: .1em; }
[data-state="online"] .status-dot { background: #587737; }
[data-state="offline"] .status-dot { background: #a34a36; }
[data-state="unknown"] .status-dot { background: #8b8374; }
#status-text { display: inline; margin: 0; font-size: 1em; }
.status-detail { margin: .45em 0 0; color: var(--muted); font-size: .8em; }
[hidden] { display: none !important; }
.noscript-note { color: var(--muted); font-size: .8em; }
footer { margin-top: 14px; }
.salutation { max-width: 90%; margin: 0 auto; color: #934634; font-size: clamp(14px, 1.6vw, 20px); font-style: italic; line-height: 1.6; }

/* Zoom the illustration on narrow screens so the stone's text stays readable. */
@media (max-width: 700px) {
  main { padding: 22px 0 24px; }
  h1 { margin-bottom: 14px; }
  .scene { aspect-ratio: 3 / 4; overflow: hidden; mask-image: linear-gradient(to bottom, #000 95%, transparent); }
  .illustration { position: absolute; top: 0; left: -8%; width: 220%; max-width: none; }
  .stone-information { top: 42%; left: 14%; width: 38%; font-size: clamp(13px, 3.8cqw, 20px); }
  #server-address { font-size: clamp(8px, 2.7cqw, 19px); }
  button { min-height: 26px; margin-top: 1px; }
  #serverstatus { margin-top: 1em; }
  footer { margin-top: 18px; }
}
