:root {
  color-scheme: light;
  --paper: #f6f0e5;
  --ink: #18262a;
  --accent: #9b342b;
  --muted: #495454;
  --line: #c8bfb0;
  --theme-selected: #e6d9c7;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #15252a;
  --ink: #f6ecdc;
  --accent: #efa697;
  --muted: #c2ccca;
  --line: #536164;
  --theme-selected: #34484c;
}

:root.room-page,
:root.library-page[data-theme="dark"] {
  color-scheme: dark;
  --paper: #2b4457;
  --ink: #f7eee0;
  --accent: #f2b397;
  --muted: #c4d3df;
  --line: #8296a6;
  --theme-selected: #3b586d;
}

:root:is(.room-page, .library-page)[data-theme="dark"] {
  --paper: #172b3a;
  --line: #657d90;
  --theme-selected: #294456;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 78rem;
  padding-inline: clamp(1.15rem, 6vw, 5.25rem);
  margin: 0 auto;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; top: -6rem; padding: .8rem; background: var(--paper); }
.skip:focus { top: 1rem; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: bold; font-size: 1.25rem; text-decoration: none; }
.room-header { flex-wrap: wrap; gap: .3rem 1rem; padding-block: .85rem; }
.room-header .header-nav { margin-inline-start: auto; }
.site-brand { flex: 1 1 15rem; min-width: 0; }
.wordmark-bolt {
  display: inline-block;
  margin-inline-start: .2em;
  vertical-align: .06em;
  font: .72em/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
nav, footer { font-family: system-ui, sans-serif; }
.header-nav { display: flex; align-items: center; gap: clamp(.4rem, 2vw, 1.15rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; gap: .45rem; text-underline-offset: .23em; }
.library-nav-link { position: relative; text-decoration: none; white-space: nowrap; }
.library-nav-link::after {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(50% + .62em);
  border-block-end: 1px solid currentColor;
  content: "";
}
.theme-options { display: inline-flex; align-items: center; gap: .2rem; }
.theme-options[hidden] { display: none; }
.theme-options button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: .35rem;
  font: 1.4rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.theme-options button:hover,
.theme-options button[aria-pressed="true"] { background: var(--theme-selected); }
.theme-options button[aria-pressed="true"] { border-color: var(--line); }
.theme-options button[data-set-theme="light"]:is(:hover, [aria-pressed="true"]) {
  background: #faf5eb;
  color: #18262a;
}
.human-check {
  margin-block-start: 1rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: .9rem/1.45 system-ui, sans-serif;
}
.human-check h2 { margin: 0 0 .2rem; font-size: 1rem; }
.human-check p { margin: 0; color: var(--muted); }
.human-check-challenge { width: min(100%, 28rem); margin-block-start: .35rem; }
.human-check button { margin-block-start: .4rem; }
.entry-check-page main { justify-items: center; grid-template-columns: minmax(0, 1fr); }
.entry-check-page .human-check {
  width: min(100%, 34rem);
  margin-block: clamp(1.5rem, 5vh, 3.5rem);
  padding: clamp(1rem, 4vw, 2rem);
  font-size: 1rem;
}
.entry-check-page .human-check h1 {
  margin: 0 0 .8rem;
  font: 400 clamp(1.85rem, 6vw, 2.75rem)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.entry-check-page .human-check [role="status"]:not(:empty) { margin-block-start: 1.15rem; }
.entry-check-page .human-check-challenge { margin-block-start: .6rem; }
.entry-check-page .entry-check-policy { margin-block-start: 1.2rem; }
.entry-check-policy a { color: var(--ink); text-underline-offset: .23em; }
.browser-preferences-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-block-start: 1rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--muted);
  font: .85rem/1.45 system-ui, sans-serif;
}
.browser-preferences-notice p { flex: 1 1 18rem; margin: 0; }
.browser-preferences-notice[hidden] { display: none; }
.privacy-actions,
.privacy-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
.privacy-footer {
  margin-inline-start: auto;
  justify-content: flex-end;
  max-width: 100%;
  font-size: .85rem;
}
.browser-preferences-notice button,
.human-check button,
.privacy-button {
  min-height: 44px;
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--theme-selected);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.browser-preferences-notice button:hover,
.human-check button:hover,
.privacy-button:hover { border-color: var(--accent); }
.privacy-dialog {
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--paper);
  color: var(--ink);
  font: .95rem/1.5 system-ui, sans-serif;
  overflow: auto;
}
.privacy-dialog::backdrop { background: #0c172580; }
.privacy-dialog h2 { margin: 0 0 .75rem; }
.privacy-choice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem 0;
}
.privacy-choice input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: .15rem 0 0;
  accent-color: var(--accent);
}
main { flex: 1; display: grid; align-items: center; container-type: inline-size; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 41rem);
  margin-inline: auto;
  gap: clamp(1.25rem, 4cqi, 2.5rem);
  padding-block: clamp(1.75rem, 5cqi, 4rem);
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 11cqi, 5.5rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.07em;
}
.intro-copy > p {
  max-width: 36ch;
  margin: clamp(.75rem, 2.5cqi, 1.5rem) 0 0;
  font-size: clamp(1.125rem, 3.5cqi, 1.6rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.intro-copy > .scene-sr-only + p { margin-top: 0; }
.intro-copy { position: relative; }
.intro-copy > h1:focus-visible + p { outline: 3px solid var(--accent); outline-offset: 5px; }
.illustration {
  --scene-panel: 10rem;
  --scene-inset: .75rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.illustration[hidden] { display: none; }
#room-status { margin: .5rem 0 0; color: var(--muted); font: .875rem/1.4 system-ui, sans-serif; }
#room-status:empty { margin: 0; }
.illustration[data-room-component="nook"] > :is(.scene-art, .scene-controls) {
  grid-area: 1 / 1;
}
.scene-art {
  position: relative;
  background: #23343a;
  border: 1px solid #24363b;
}
.illustration canvas { display: block; width: 100%; height: auto; aspect-ratio: 18 / 19; }
.watering-can {
  position: absolute;
  width: max(44px, 7%);
  height: max(44px, 5%);
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  cursor: grab;
  touch-action: none;
}
.watering-can[data-dragging] { cursor: grabbing; }
.watering-can:focus-visible { outline: 2px solid #fff2b7; box-shadow: 0 0 0 4px #263d3b; }
.scene-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#nook-effects { position: absolute; inset: 0; pointer-events: none; }
.nook-plant-move {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  cursor: grab;
  touch-action: none;
}
.nook-plant-move[data-dragging] { cursor: grabbing; }
.nook-plant-move:focus-visible { outline-color: #f5c978; outline-offset: 2px; }
.nook-plant-controls:not([hidden]) {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .65rem;
  margin-top: .35rem;
  font: .8rem/1.4 system-ui, sans-serif;
}
.nook-plant-controls input { width: min(11rem, 100%); min-height: 44px; margin: 0; }
.nook-armrest-pick {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nook-armrest-pick:is(:hover, :focus-visible) { background: #ffe0a140; }
.nook-armrest-pick[aria-pressed="true"] { background: #ffe0a16b; }
.nook-armrest-controls:not([hidden]) {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  font: .8rem/1.4 system-ui, sans-serif;
}
.nook-armrest-controls p { flex-basis: 100%; margin: 0; }
.nook-armrest-controls button:disabled { opacity: .55; cursor: default; }
.dog-name {
  position: absolute;
  left: 38.5%;
  top: 62.2%;
  width: 13.5%;
  height: 7%;
  transform: translate(-50%, -50%);
  cursor: help;
}
.dog-name-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .25rem);
  transform: translateX(-50%);
  visibility: hidden;
  padding: .25rem .55rem;
  border-radius: .25rem;
  background: #18262a;
  color: #fff9ef;
  font: 600 .8rem/1.25 system-ui, sans-serif;
}
.dog-name:hover .dog-name-label { visibility: visible; }
.dog-sleep {
  position: absolute;
  inset-inline-start: 58%;
  inset-block-start: 14%;
  color: #fff0c9;
  font: 700 clamp(.7rem, 3cqi, 1.2rem)/1 system-ui, sans-serif;
  text-shadow: 0 1px 3px #172b3a, 0 0 4px #172b3a;
  pointer-events: none;
}
.dog-sleep span {
  position: absolute;
  opacity: var(--sleep-rest-opacity, 0);
  animation: var(--sleep-motion, dog-sleep) 4.8s ease-out infinite;
}
.dog-sleep span:first-child { transform: translate(.4em, -1em); }
.dog-sleep span:nth-child(2) { animation-delay: .75s; transform: translate(1em, -1.6em); }
.dog-sleep span:nth-child(3) { animation-delay: 1.5s; }
@keyframes dog-sleep {
  0% { opacity: 0; transform: translate(0, 0) scale(.8); }
  15% { opacity: 1; }
  60%, 100% { opacity: 0; transform: translate(1.15em, -2.7em) scale(1.15); }
}
[data-sleep-paused="true"] .dog-sleep { --sleep-motion: none; }
[data-sleep-paused="true"] .dog-sleep span:nth-child(-n+2) { --sleep-rest-opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-room-component="nook"]:not([data-sleep-paused]) .dog-sleep { --sleep-motion: none; }
  [data-room-component="nook"]:not([data-sleep-paused]) .dog-sleep span:nth-child(-n+2) { --sleep-rest-opacity: 1; }
}
.room-scene-caption { grid-column: 1; margin-top: .65rem; font: .875rem/1.5 system-ui, sans-serif; }
.room-scene-caption summary { width: fit-content; min-height: 44px; padding-block: .6rem; cursor: pointer; }
.room-scene-caption p { margin: .1rem 0 .65rem; max-width: 62ch; }
.office-lamp-toggle {
  position: absolute;
  width: max(44px, 7.5%);
  height: 44px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  cursor: pointer;
}
.office-lamp-toggle:focus-visible { outline-color: #f5c978; outline-offset: 2px; }
.office-detail {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.office-detail-trigger {
  position: absolute;
  left: var(--detail-x);
  top: var(--detail-y);
  width: var(--detail-width);
  height: var(--detail-height);
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: help;
  pointer-events: auto;
}
@media (pointer: coarse) {
  .office-detail-trigger { min-width: 44px; min-height: 44px; }
}
.office-detail-label {
  position: absolute;
  z-index: 2;
  left: clamp(.5rem, calc(var(--detail-x) - 7rem), max(.5rem, calc(100% - 14.5rem)));
  bottom: calc(100% - var(--detail-y) + max(var(--detail-height) / 2, 22px) + .25rem);
  width: min(14rem, calc(100% - 1rem));
  padding: .45rem .65rem;
  border-radius: .25rem;
  background: #18262a;
  color: #fff9ef;
  font: 600 .8rem/1.4 system-ui, sans-serif;
  text-align: center;
  visibility: hidden;
}
.office-detail-trigger[data-below] + .office-detail-label {
  top: calc(var(--detail-y) + max(var(--detail-height) / 2, 22px) + .25rem);
  bottom: auto;
}
.office-detail-trigger:not([hidden], [data-dismissed]):is(:focus-visible, [data-touch-open]) + .office-detail-label {
  visibility: visible;
}
@media (hover: hover) {
  .office-detail-trigger:not([hidden], [data-dismissed]):hover + .office-detail-label { visibility: visible; }
}
.room-next {
  position: absolute;
  right: 4%;
  bottom: 6%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #9caaa9;
  border-radius: .25rem;
  background: #18262a;
  color: #fff9ef;
  font: 1.65rem/1 system-ui, sans-serif;
  text-decoration: none;
}
.room-next:hover { background: #354447; }
.room-back { right: auto; left: 4%; }
.dog-name:focus-visible, .room-next:focus-visible { outline-color: #f5c978; outline-offset: 2px; }
.tree-toggle, .fireplace-toggle {
  position: absolute;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.fireplace-toggle { transform: translate(-50%, -50%); }
.tree-toggle:focus-visible, .fireplace-toggle:focus-visible { outline-color: #f5c978; outline-offset: 2px; }
.illustration[data-room-component="nook"] .scene-art {
  --cosmic-treehouse-x: 44.8%;
  --cosmic-treehouse-y: 26.5%;
  --cosmic-treehouse-half-height: max(22px, 5.5%);
}
.cosmic-treehouse-trigger {
  position: absolute;
  left: var(--cosmic-treehouse-x);
  top: var(--cosmic-treehouse-y);
  width: max(44px, 12%);
  height: calc(2 * var(--cosmic-treehouse-half-height));
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: .35rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.cosmic-treehouse-trigger:is(:hover, :focus-visible) {
  outline: 2px solid #ffdea1;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #263d3b;
}
.cosmic-treehouse-note {
  --note-width: min(14rem, calc(100% - 1.25rem));
  --note-left: clamp(.625rem, calc(var(--cosmic-treehouse-x) - var(--note-width) / 2), calc(100% - var(--note-width) - .625rem));
  position: absolute;
  z-index: 5;
  top: calc(var(--cosmic-treehouse-y) + var(--cosmic-treehouse-half-height) + .4rem);
  left: var(--note-left);
  width: var(--note-width);
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 .3rem 1rem #16232a45;
}
.cosmic-treehouse-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: .6rem;
  height: .6rem;
  transform: translate(-50%, -58%) rotate(45deg);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
  pointer-events: none;
}
.cosmic-treehouse-note h2 { margin: .25rem 0; padding-inline-end: 1.75rem; font-size: 1.05rem; line-height: 1.2; }
.cosmic-treehouse-note p { margin: 0; font: .875rem/1.4 system-ui, sans-serif; }
.cosmic-treehouse-note .cosmic-treehouse-status {
  padding-right: 2.25rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
}
.cosmic-treehouse-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .65rem;
  background: transparent;
  color: inherit;
  font: 1.3rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.cosmic-treehouse-close:hover { background: var(--theme-selected); }
.cosmic-treehouse-close:focus-visible { outline-offset: -3px; }
.room-switch {
  position: absolute;
  left: 31%;
  top: 44.5%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.room-switch[hidden] { display: none; }
.room-switch span {
  display: block;
  width: clamp(.65rem, 1.6vw, .9rem);
  height: clamp(.9rem, 2.15vw, 1.2rem);
  padding: 3px 2px;
  border: 1px solid #6a5145;
  border-radius: 2px;
  background: #f5e3be;
  box-shadow: 1px 2px #6a51456b;
  transform: skewY(-26deg);
}
.room-switch span::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(#8d6649 48%, #fff1ce 50%);
}
.room-switch:hover span { border-color: #302521; }
.room-switch[aria-pressed="false"] span {
  border-color: #e9ab56;
  background: #fff1ce;
  box-shadow: 0 0 5px #fff2c9e6, 0 0 12px #ffc468aa, 1px 2px #6a51456b;
}
.room-switch[aria-pressed="false"] span::after {
  background: linear-gradient(#fff6d5 48%, #9f6837 50%);
}
.room-switch:focus-visible { outline-color: #f5c978; outline-offset: -5px; }
.scene-controls { justify-self: end; }
.scene-control {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .35rem .65rem;
  background: #18262a;
  border: 1px solid #9caaa9;
  border-radius: .2rem;
  color: #fff9ef;
  cursor: pointer;
  font: 600 .75rem/1.25 system-ui, sans-serif;
}
.scene-control[hidden] { display: none; }
.scene-control:hover { background: #354447; }
.scene-control:focus-visible { outline-color: #ecc276; outline-offset: 2px; }
.scene-art > .scene-settings-menu {
  position: absolute;
  top: var(--scene-inset);
  right: var(--scene-inset);
  z-index: 6;
}
.scene-settings-menu > summary {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  list-style: none;
  font: 1.45rem/1 system-ui, sans-serif;
}
.scene-settings-menu > summary::-webkit-details-marker { display: none; }
.scene-settings-menu[open] > summary { border-color: #ecc276; }
.scene-settings-panel {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
}
.solarium-light-switch {
  min-height: 44px;
  gap: .5rem;
}
.solarium-light-switch span {
  width: .55rem;
  height: .55rem;
  border: 1px solid #ecc276;
  border-radius: 50%;
}
.solarium-light-switch[aria-pressed="true"] span { background: #ecc276; }
.solarium-rose-picker {
  grid-column: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  margin-top: .5rem;
  font: 600 .8rem/1.25 system-ui, sans-serif;
}
.solarium-rose-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.solarium-rose-trigger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .3rem;
  background: transparent;
  cursor: pointer;
}
.solarium-rose-trigger::after {
  content: "";
  width: 24px;
  height: 24px;
  --petal: var(--rose-color) 4.5px, transparent 5px;
  background:
    radial-gradient(circle at 50% 50%, #f4d89a 2.75px, #754d43 3px, #754d43 3.8px, transparent 4.2px),
    radial-gradient(circle at 50% 24%, var(--petal)),
    radial-gradient(circle at 76% 42%, var(--petal)),
    radial-gradient(circle at 66% 74%, var(--petal)),
    radial-gradient(circle at 34% 74%, var(--petal)),
    radial-gradient(circle at 24% 42%, var(--petal));
  filter: drop-shadow(0 1px 0 #271f2890);
}
.solarium-rose-trigger:is(:hover, [aria-expanded="true"]) { background: var(--theme-selected); }
.solarium-rose-trigger[aria-expanded="true"] { box-shadow: inset 0 -2px var(--rose-color); }
.solarium-rose-trigger:focus-visible { outline-offset: -3px; }
#garden-solarium.can-open-rose { cursor: pointer; }
.solarium-rose-note {
  --bubble-width: min(14rem, calc(100% - 1.25rem));
  --bubble-left: clamp(.625rem, calc(var(--rose-x) - var(--bubble-width) / 2), calc(100% - var(--bubble-width) - .625rem));
  --bubble-bottom: calc(100% - var(--rose-y) + .65rem);
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.solarium-rose-bubble {
  position: absolute;
  left: var(--bubble-left);
  bottom: var(--bubble-bottom);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  width: var(--bubble-width);
  max-height: calc(var(--rose-y) - 1.65rem);
  border: 1px solid var(--rose-color);
  border-radius: .75rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 .3rem 1rem #16232a45;
  pointer-events: auto;
}
.solarium-rose-note::after {
  content: "";
  position: absolute;
  left: var(--rose-x);
  bottom: calc(var(--bubble-bottom) - .34rem);
  width: .7rem;
  height: .7rem;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid var(--rose-color);
  border-bottom: 1px solid var(--rose-color);
  background: var(--paper);
  pointer-events: none;
}
.solarium-rose-focus {
  position: absolute;
  left: var(--rose-x);
  top: var(--rose-y);
  width: clamp(18px, 5%, 25px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid #fff0bf;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #293830, 0 0 7px #ffe2a26b;
}
.solarium-rose-message {
  min-height: 0;
  padding: .45rem 0 .45rem .65rem;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
  overflow-wrap: anywhere;
}
.solarium-rose-message h2 { margin: 0 0 .15rem; font-size: 1rem; line-height: 1.2; }
.solarium-rose-message h2:focus { outline: none; }
.solarium-rose-message:focus-visible { outline-offset: -4px; }
.solarium-rose-role { margin: 0; color: var(--muted); font: .8rem/1.35 system-ui, sans-serif; }
.solarium-rose-dates { margin: .18rem 0 0; color: var(--muted); font: .75rem/1.35 system-ui, sans-serif; }
.solarium-rose-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: 1.2rem/1 system-ui, sans-serif;
}
.solarium-rose-close:hover { background: var(--theme-selected); }
.solarium-lamp-switch {
  position: absolute;
  width: max(44px, 7%);
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.solarium-lamp-switch:focus-visible { outline: 2px solid #fff2b7; box-shadow: 0 0 0 4px #263d3b; }
[data-room-component="solarium"] :is(.watering-can, .room-next, .solarium-light-switch) { z-index: 5; }
.scene-settings {
  position: absolute;
  z-index: 6;
  top: var(--scene-inset);
  right: var(--scene-inset);
}
.scene-settings-panel,
.scene-pause-options {
  display: grid;
  gap: .25rem;
  width: var(--scene-panel);
  padding: .35rem;
  background: #18262a;
  border: 1px solid #9caaa9;
  border-radius: .3rem;
}
.scene-pause-options {
  position: absolute;
  z-index: 6;
  top: calc(var(--scene-inset) + 44px + .4rem);
  right: var(--scene-inset);
}
:is(.scene-settings-panel, .scene-pause-options) button { justify-content: space-between; }
:is(.scene-settings-panel, .scene-pause-options) span { opacity: .85; font-weight: normal; }
:is(.scene-settings-panel, .scene-pause-options) button:is([aria-pressed="true"], [aria-checked="false"]) { color: #f8d891; border-color: #ecc276; }
.scene-settings-panel .solarium-light-switch { justify-content: flex-start; }

.office-arrange {
  display: grid;
  gap: .55rem;
  min-width: 0;
  padding-top: var(--scene-inset);
}
.office-arrange[hidden] { display: none; }
.office-arrange-panel {
  display: grid;
  gap: .55rem;
  min-width: 0;
  margin: 0;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--paper);
  color: var(--ink);
  font: .8125rem/1.4 system-ui, sans-serif;
}
.office-arrange-panel[hidden] { display: none; }
.office-arrange-panel p { margin: 0; color: var(--muted); }
.office-arrange-panel label { font-weight: 600; }
.office-arrange-panel select {
  width: 100%;
  min-height: 44px;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: .2rem;
  background: var(--paper);
  color: var(--ink);
  font: 1rem system-ui, sans-serif;
}
.office-arrange-arrows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
}
.office-arrange-arrows button { justify-content: center; font-size: 1.1rem; }
.office-arrange-actions { display: grid; gap: .25rem; }
.office-arrange-panel button:disabled { opacity: .55; cursor: default; }
canvas.is-arranging { cursor: grab; touch-action: none; }
canvas.is-arranging:active, canvas.is-arranging.is-dragging { cursor: grabbing; }
#kitchen-scene[data-arrange] { touch-action: none; }
#kitchen-scene[data-grab] { cursor: grab; }
#kitchen-scene[data-dragging] { cursor: grabbing; }
#kitchen-scene:focus-visible { outline-offset: 3px; }
.kitchen-clock, .kitchen-oven {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: .2rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.kitchen-clock {
  transform: skewY(var(--clock-skew));
  transform-origin: top left;
}
.kitchen-oven {
  width: max(44px, 6%);
  height: max(44px, 6%);
  transform: translate(-50%, -50%);
}
.kitchen-clock::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}
.kitchen-clock:focus-visible, .kitchen-oven:focus-visible { outline-offset: 2px; }
:is(.kitchen-clock, .kitchen-light-switch)[data-arrange] { cursor: grab; touch-action: none; }
:is(.kitchen-clock, .kitchen-light-switch)[data-dragging] { cursor: grabbing; }
.kitchen-arrange-hint {
  grid-column: 1;
  margin: .55rem 0 0;
  color: var(--muted);
  font: .8rem/1.4 system-ui, sans-serif;
}
.kitchen-candle-controls:not([hidden]) {
  grid-column: 1;
  display: grid;
  grid-template-columns: max-content minmax(0, 11rem);
  align-items: center;
  gap: .25rem .65rem;
  margin-top: .35rem;
  color: var(--ink);
  font: .8rem/1.4 system-ui, sans-serif;
}
.kitchen-candle-controls :is(select, input) {
  width: 100%;
  min-height: 44px;
  margin: 0;
}

@container (width < 30rem) {
  .office-arrange-arrows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .office-arrange-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
footer { min-height: 4rem; padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
footer:has(.privacy-footer, .footer-admin-toggle) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}
footer:has(.footer-admin-toggle) {
  padding-block: .5rem;
}
.footer-admin-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .23em;
  cursor: pointer;
}
.footer-admin-toggle:hover { color: var(--ink); }
.footer-admin-toggle[aria-pressed="true"] {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

@media (min-width: 44rem) {
  .intro {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: center;
  }
  .intro > .illustration {
    grid-column: 2;
    min-width: 0;
  }
}

@media (min-width: 44rem) and (min-height: 36rem) {
  .room-page:not(.entry-check-page) > body { min-height: 100svh; }

  .intro {
    /* Space for the header, footer, collapsed scene description and vertical padding. */
    --room-page-chrome: 15.5rem;
    --room-notice-space: 0rem;
    padding-block: .75rem;
  }

  .browser-preferences-notice:not([hidden]) + main > .intro { --room-notice-space: 8.5rem; }

  .intro > .illustration {
    --room-controls-space: 0rem;
    justify-self: end;
    width: min(100%, max(19.5rem, calc((100svh - var(--room-page-chrome) - var(--room-notice-space) - var(--room-controls-space)) * 18 / 19)));
  }

  .intro > [data-room-component="solarium"] { --room-controls-space: 3.25rem; }
}

@media (min-width: 55rem) and (min-height: 36rem) {
  .browser-preferences-notice:not([hidden]) + main > .intro { --room-notice-space: 6rem; }
}

@container (min-width: 58rem) {
  h1 { font-size: clamp(5.5rem, 11.5cqi, 8.5rem); }
}

@media (max-width: 23rem) {
  .site-header { flex-wrap: wrap; gap: 0 .5rem; padding-block: .4rem; }
}
