* {
  box-sizing: border-box;
}

:root {
  --ink: #3e3a36;
  --wall: #eee5d7;
  --floor: #c99f75;
  --wood: #8a654a;
  --wood-dark: #6c4b36;
  --cream: #fff8ea;
  --shadow: rgba(49, 39, 31, 0.18);
  --accent: #9a6b51;
  --night: #1c2438;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #d8c9b6;
  color: var(--ink);
  font-family: Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

button, textarea {
  font: inherit;
}

button {
  color: inherit;
}

.app {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.room {
  width: min(1120px, 100%);
  aspect-ratio: 16 / 10;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(55, 39, 28, 0.24);
  background:
    linear-gradient(to bottom, var(--wall) 0 74%, var(--floor) 74% 100%);
  transition: background 900ms ease, filter 900ms ease;
  isolation: isolate;
}

.room::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 74%;
  height: 7px;
  background: rgba(90, 59, 39, .15);
  z-index: 0;
}

.ambient-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  background: rgba(21, 29, 50, 0);
  transition: background 900ms ease;
}

.room.night .ambient-overlay {
  background: rgba(19, 28, 50, .58);
}

.brand {
  position: absolute;
  top: 30px;
  left: 38px;
  z-index: 10;
  pointer-events: none;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -.03em;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.object {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease;
  z-index: 4;
}

.object:hover {
  transform: translateY(-3px);
}

.object:focus-visible,
.control-btn:focus-visible,
.close-btn:focus-visible,
.primary-btn:focus-visible,
.os-app:focus-visible {
  outline: 3px solid rgba(90, 126, 173, .45);
  outline-offset: 5px;
}

