/* Picture hints under the customer's speech. */
.hints { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 2px 0 10px; }
.hint {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 64px; min-height: 64px; padding: 6px 6px 5px; border: 2px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 12px; font-weight: 800; color: var(--cocoa); line-height: 1.15;
  touch-action: manipulation; transition: transform 0.15s, border-color 0.15s;
}
.hint.jotted { border-color: var(--sage); background: #f3f8f1; }
@media (hover: hover) { .hint:hover { transform: translateY(-2px); border-color: var(--rose); } }
.hint-art { display: flex; gap: 2px; align-items: center; justify-content: center; height: 44px; }
.hint-pic { display: block; width: 32px; height: 44px; }
.hint-pic.head { width: 40px; height: 40px; }
.hint-pic svg { width: 100%; height: 100%; display: block; }
.hint-dot { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.hint-swatch { position: relative; width: 38px; height: 38px; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 2px var(--line); }
.hint-swatch svg { display: block; width: 100%; height: 100%; }
.hint-swatch.no::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--rose-deep); font-size: 30px; font-weight: 800; background: rgba(255,255,255,.45); }
.hint-label { max-width: 86px; text-align: center; }
.first-visit { text-align: center; margin: 0; }
@media (max-width: 760px) {
  .hints { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .hint { flex: none; }
}

/* Wishes as a list in the speech bubble. */
.bubble .greet { margin: 0 0 8px; }
.wishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wish {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; min-height: 48px;
  border-radius: 12px; background: #fdf7ef; border: 2px solid transparent; cursor: pointer;
  font-size: 15px; line-height: 1.35; touch-action: manipulation;
  animation: wishIn 0.35s cubic-bezier(.2,1.4,.4,1) backwards;
}
.wish.plain::before { content: "•"; color: var(--rose-deep); font-weight: 800; }
.wish.jotted { border-color: var(--sage); background: #f3f8f1; }
.wish.jotted::after { content: "✓"; margin-left: auto; color: var(--sage-deep); font-weight: 800; }
@media (hover: hover) { .wish:hover { border-color: #f1cfd6; } }
.wish-art { flex: none; display: flex; gap: 1px; align-items: center; justify-content: center; width: 60px; height: 58px; background: #fff; border-radius: 10px; }
.wish-art .hint-pic { width: 34px; height: 56px; }
.wish-art .hint-pic + .hint-pic { margin-left: -8px; }
.wish-art .hint-pic.head { width: 40px; height: 40px; }
.bubble .aside { margin: 8px 0 0; font-style: italic; color: var(--cocoa-soft); font-size: 14px; }
@keyframes wishIn { from { opacity: 0; transform: translateX(-10px); } }

/* Desktop: the shop fits the screen; the counter scrolls inside if an order is long,
   and leaves room at the bottom for the notepad when it's docked there. */
@media (min-width: 1181px) {
  .shop { flex: none; height: calc(100vh - 70px); min-height: 600px; grid-template-rows: minmax(0, 1fr); }
  .shop { grid-template-columns: 340px minmax(320px, 1fr) 380px; }
  .counter .portrait { width: 112px; height: 112px; }
  .counter { overflow-y: auto; min-height: 0; }
  .stage, .workbench { min-height: 0; }
  body.np-docked .counter { padding-bottom: 250px; }
}

/* Narrow counters (tablets): smaller pictures, so the wish text has room. */
@media (max-width: 1180px) and (min-width: 761px) {
  .wish { gap: 6px; padding: 5px 6px; font-size: 14px; }
  .wish-art { width: 40px; height: 46px; }
  .wish-art .hint-pic { width: 24px; height: 44px; }
  .wish-art .hint-pic + .hint-pic { display: none; }
}
