:root {
  --muted: #59615d;
  --ochre: #824b29;
  --cover: url("/room/day-poster.webp");
  --highlight: #ecdfc8;
  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1e2b38;
  --ink: #f7ecd8;
  --rule: #455461;
  --muted: #c1c9c7;
  --ochre: #efbe87;
  --cover: url("/room/night-poster.webp");
  --highlight: #344252;
}
[hidden] { display: none !important }
.skip-link { position: fixed; z-index: 8; left: 12px; top: 8px; padding: 8px 14px; color: var(--ink); background: var(--paper); transform: translateY(-160%) }
.skip-link:focus { transform: none }
.theme-switch {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  background: transparent; border: 1px solid var(--rule); border-radius: 50%; font: 22px/1 Georgia, serif;
}
.theme-switch:hover { background: var(--highlight) }
.theme-switch[aria-pressed="true"] { color: var(--ochre) }
.site-header { position: relative; z-index: 1 }
.contact-footer,.contact-links { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.contact-footer { border-top: 1px solid var(--rule); padding: 22px clamp(22px, 5vw, 80px); background: var(--highlight) }
.contact-footer h2 { font: 650 22px/1.45 var(--serif); margin: 0 }
.contact-footer p { color: var(--muted); margin: 4px 0 0; font-size: 14px }
.contact-links { flex-wrap: wrap; justify-content: flex-start; gap: 10px; font-size: 14px }
.contact-links a { text-decoration: underline; text-underline-offset: 3px }
.contact-links button { border: 1px solid var(--rule); background: var(--paper); border-radius: 4px; padding: 5px 10px }
#copy-status:empty { display: none }
@media (max-width: 650px) {
  .contact-footer { align-items: flex-start; flex-direction: column; padding: 19px 18px }
}
@media (max-width: 390px) { .site-header .site-name { display: none } }
