.wb-preview { min-width: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line, #c6bfb2); padding-bottom: 16px; color: var(--ink, #1f271f); }
.wb-preview-title { margin: 0 0 12px; font: 600 1.5rem/1.2 Newsreader, Georgia, serif; letter-spacing: -.025em; }
.wb-preview-stage { position: relative; width: 100%; height: 300px; overflow: hidden; background: #e6dcc9; isolation: isolate; }
.wb-preview-scene { position: absolute; inset: 0; }
.wb-preview-scene canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.wb-preview-flat { position: absolute; inset: 15% 8% 18%; border: 7px solid #bca888; border-radius: 45% 51% 43% 47%; background: #e6d5b8; box-shadow: 0 8px 0 #b09a76, 0 17px 20px #1f271f20; }
.wb-preview-daubs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; position: absolute; inset: 13% 8% 40%; overflow: hidden; }
.wb-preview-daub { display: block; flex: 0 1 auto; width: calc(24px + var(--wb-weight, .3) * 60px); height: calc(24px + var(--wb-weight, .3) * 35px); border-radius: 44% 54% 41% 60%; background: var(--wb-paint); box-shadow: inset -2px -3px 0 #1f271f22; transform: translateY(calc(var(--wb-progress, 0) * 15px)) scale(calc(1 - var(--wb-progress, 0) * .25)); }
.wb-preview-mixed { position: absolute; left: 34%; bottom: 14%; width: 34%; height: 27%; border-radius: 44% 56% 47% 52%; opacity: var(--wb-progress, 0); box-shadow: inset -3px -4px 0 #1f271f20; }
.wb-preview[data-renderer="3d"] .wb-preview-flat { visibility: hidden; }
.wb-preview-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.wb-preview-controls button { min-height: 44px; min-width: 44px; margin: 0; padding: 8px 12px; border: 1px solid var(--line, #c6bfb2); border-radius: 2px; background: var(--white, #fcfaf4); color: var(--sage-dark, #344535); font: 600 .875rem/1.45 var(--font-ui, Inter, system-ui, sans-serif); box-shadow: none; cursor: pointer; }
.wb-preview-controls button:hover { border-color: var(--sage-dark, #344535); }
.wb-preview-controls button:disabled { cursor: default; color: var(--muted, #60665e); }
.wb-preview-controls button:focus-visible { outline: 3px solid var(--blue, #3f647a); outline-offset: 3px; }
.wb-preview-views { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.wb-preview-views button { border-color: transparent; background: transparent; }
.wb-preview-views button[aria-pressed="true"] { border-color: var(--sage-dark, #344535); background: var(--white, #fcfaf4); color: var(--ink, #1f271f); }
.wb-preview [hidden] { display: none !important; }
.wb-preview-mode { display: block; margin: 0 0 8px; color: var(--muted, #60665e); font-size: .8125rem; }
.wb-preview-ingredients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(135px, 100%), 1fr)); gap: 10px 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.wb-preview-ingredient { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 7px; align-items: center; font-size: .875rem; line-height: 1.4; }
.wb-preview-chip { display: block; width: 16px; height: 16px; border: 1px solid #1f271f55; border-radius: 50%; }
.wb-preview-name { overflow-wrap: anywhere; }
.wb-preview-amount { grid-column: 2; color: var(--muted, #60665e); font-variant-numeric: tabular-nums; }
.wb-preview-note { margin: 12px 0 0; color: var(--muted, #60665e); font-size: .8125rem; line-height: 1.55; }
@media (max-width: 480px) {
  .wb-preview-stage { height: 280px; }
  .wb-preview-controls button { padding-inline: 10px; }
  .wb-preview-title { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-preview *, .wb-preview *::before, .wb-preview *::after { animation: none !important; transition: none !important; }
}
