:root {
  color-scheme: dark;
  --bg: #191713;
  --panel: #252119;
  --paper: #efe2c7;
  --ink: #221a13;
  --muted: #b8a98f;
  --accent: #8fb7c7;
  --changed: #ffd38a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  background: radial-gradient(circle at 50% 8%, #352d21 0, var(--bg) 58%);
  color: #f8ecd3;
}
.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 52px;
}
.kicker, .promise { color: var(--muted); }
.kicker { margin: 0 0 8px; letter-spacing: .08em; text-transform: uppercase; font: 700 12px/1.3 ui-sans-serif, system-ui, sans-serif; }
h1 { margin: 0; font-size: clamp(44px, 8vw, 88px); line-height: .9; }
.promise { margin: 14px 0 28px; font-size: 20px; }
.room {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(72px, auto);
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(239,226,199,.22);
  border-radius: 28px;
  background: linear-gradient(145deg, #463723, #241f18 58%, #15130f);
  box-shadow: 0 26px 80px rgba(0,0,0,.36), inset 0 0 0 12px rgba(255,255,255,.025);
}
.object {
  min-height: 132px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 15px 28px rgba(0,0,0,.24);
}
.object-title {
  display: block;
  margin-bottom: 16px;
  color: #705735;
  font: 800 12px/1.1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.object p { margin: 0; font-size: 20px; line-height: 1.35; }
.object .second-register {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(34,26,19,.18);
  color: #5f351c;
  font-size: 17px;
  font-style: italic;
}
.notice { grid-column: 1 / span 5; transform: rotate(-1.4deg); }
.basil { grid-column: 7 / span 4; transform: rotate(1deg); background: #dce8cf; }
.keys { grid-column: 3 / span 3; background: #dac395; transform: rotate(2deg); }
.kettle { grid-column: 8 / span 4; background: #d7d9d5; transform: rotate(-.8deg); }
.mug { grid-column: 5 / span 4; background: #d7edf4; transform: rotate(.4deg); border: 0 solid transparent; transition: border-color .3s, box-shadow .3s; }
.mug.changed { border: 4px solid var(--changed); box-shadow: 0 0 0 8px rgba(255,211,138,.15), 0 15px 28px rgba(0,0,0,.24); }
#old-word.struck { text-decoration: line-through; text-decoration-thickness: 3px; color: #75624b; }
#new-word { margin-left: .35em; color: #643b1c; font-weight: 800; }
.action-panel, .receipt {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(239,226,199,.18);
  border-radius: 18px;
  background: rgba(37,33,25,.78);
}
.action-panel { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
#reading, .after-note { margin: 0; color: #eadbbd; font-size: 18px; }
button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: var(--accent);
  color: #10232b;
  font: 900 15px/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
button:disabled { cursor: default; opacity: .62; }
.after-note { grid-column: 1 / -1; color: var(--changed); }
.receipt h2 { margin: 0 0 8px; font: 800 13px/1.2 ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.receipt p { margin: 0; max-width: 70ch; color: #d9ccb5; line-height: 1.55; }
@media (max-width: 760px) {
  .room { grid-template-columns: 1fr; }
  .notice, .basil, .keys, .kettle, .mug { grid-column: auto; transform: none; }
  .action-panel { grid-template-columns: 1fr; }
  button { width: 100%; }
}
