.day-action { display:block; min-height:48px; margin:14px auto 0; }
.photo-switch { display:none; gap:8px; margin:12px 0; }
.photo-switch button { flex:1; min-height:48px; background:#f4f4ec; border-color:var(--line); }
.photo-switch button[aria-pressed=true] { background:var(--citrus); border-color:var(--leaf); }
.workbench { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.workbench figure { margin:0; }
.workbench figcaption { margin-bottom:4px; font-weight:650; }
.workbench-image {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); aspect-ratio:1;
  padding:5%; gap:1%; background:#f1ebe5 url('mesa.webp') center/cover;
  border-radius:16px; border:1px solid #e5ddd1; isolation:isolate;
  touch-action:manipulation; user-select:none;
}
.object-target {
  position:relative; display:grid; place-items:center; padding:0; min-width:0;
  background:transparent; border:2px solid transparent; border-radius:14px;
}
.object-target.found { border-color:var(--berry); background:#f5dbe76b; }
.object-target.found::after {
  content:attr(data-order); position:absolute; top:1px; right:3px;
  min-width:22px; background:var(--berry); color:white; border-radius:50%; font-size:.85rem;
}
.object {
  display:block; position:relative; width:68%; height:55%; pointer-events:none;
  filter:drop-shadow(2px 4px 2px #44342536); --item:#ebacc5;
}
.object::before,.object::after { position:absolute; content:""; }
.tray { background:#d7e28f; border:4px ridge #e4eba9; border-radius:18% 18% 32% 32%; transform:rotate(-16deg); }
.tray::before { inset:18%; background:repeating-linear-gradient(0deg,transparent 0 18%,#7d914742 19% 26%); }
.tray.alt { background:#e5a9bf; border-color:#f1c6d5; }
.pen { height:16%; width:88%; background:linear-gradient(#fce2e9,#c16c8d); border-radius:12px 5px 5px 12px; transform:rotate(-35deg); }
.pen::after { width:18%; height:50%; right:-15%; top:25%; background:#979587; border-radius:0 4px 4px 0; }
.pen.alt { transform:rotate(35deg); }
.gem { display:grid; place-items:center; background:conic-gradient(from 45deg,#d08fa8,#fce4ea,#d68fac,#fad4df,#d08fa8); transform:rotate(45deg) scale(.7); width:56%; height:auto; aspect-ratio:1; border:1px solid #bd7894; border-radius:12%; }
.gem.alt { background:conic-gradient(from 45deg,#9cab50,#f2f9c6,#b1c367,#edf3a6,#9cab50); border-color:#8e9e47; }
.ribbon { width:55%; height:auto; aspect-ratio:1; border:clamp(5px,1.8vw,12px) solid #a3aa7f; border-radius:50%; background:#fff8ed; }
.ribbon::before { width:32%; height:40%; background:#a3aa7f; bottom:-25%; right:-6%; border-radius:1px 1px 4px 4px; transform:rotate(-25deg); }
.notebook { background:#a0ac78; border-left:5px solid #697447; border-radius:4px 9px 9px 4px; transform:rotate(12deg); }
.notebook::before { width:42%; height:32%; background:#fff5ec; top:20%; left:22%; border-radius:3px; }
.notebook.alt::before { top:52%; }
.envelope { background:#f0c6d0; border:1px solid #d69fb0; border-radius:5px; transform:rotate(-12deg); }
.envelope::before { inset:0; background:#f8dce3; clip-path:polygon(0 0,100% 0,50% 65%); }
.clip { border:4px solid #946783; width:28%; height:65%; border-radius:15px; transform:rotate(28deg); }
.clip::before { inset:12% 18%; border:2px solid #946783; border-radius:15px; }
.clip.alt { transform:rotate(-28deg); }
.jar { background:#e2c3d6; border-radius:17% 17% 24% 24%; width:48%; transform:rotate(12deg); }
.jar::before { top:0; width:100%; height:25%; left:0; border-radius:5px 5px 0 0; background:#b68ba2; }
.jar::after { inset:39% 17% 12%; background:#fcf3e9; border-radius:3px; }
.wax { width:48%; height:auto; aspect-ratio:1; background:#e9a4aa; border:3px ridge #f4bcc2; border-radius:20%; transform:rotate(-15deg); }
.clue-slots,.lock-slots,.lock-keys { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; max-width:400px; margin:12px 0; }
.clue-slots { padding:0; list-style:none; }
.clue-slots li,.lock-slots span {
  min-height:40px; display:grid; place-items:center; position:relative;
  border:1px solid var(--line); border-radius:8px; font-size:1.35rem; background:#f7f7f1;
}
.clue-slots li { grid-template-rows:auto 1fr; }
.clue-slots small { margin:0; font-size:.75rem; }
.lock-keys button { min-height:48px; padding:0; font-size:1.35rem; }
.lock-slots span { background:var(--blush-light); }
.day-buttons { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.day-buttons button { min-height:48px; }
.lot-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; max-width:390px; }
.lot-grid span { aspect-ratio:1; display:grid; place-items:center; border-radius:5px; background:#f3f1ee; }
.lot-grid .axis { background:transparent; color:var(--muted); font-size:.9rem; }
.lot-grid .marked { background:var(--blush); color:var(--berry); font-weight:750; }
@media(max-width:660px) {
  .photo-switch { display:flex; }
  .workbench { grid-template-columns:1fr; }
  .workbench figure:not(.selected) { display:none; }
}
