.turntable-viewer { grid-column: 2; grid-row: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.turntable-viewer[hidden] { display: none !important; }
.turntable-zoom { position: absolute; right: 3px; top: 3px; z-index: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 18px; color: var(--olive-800); background: var(--paper, #fff); font: inherit; font-size: 11px; cursor: zoom-in; }
.turntable-zoom[hidden] { display: none !important; }
.turntable-enlarged { box-sizing: border-box; width: min(96vw, 1100px); max-width: 96vw; max-height: 96vh; max-height: 96dvh; margin: auto; padding: 48px 24px 18px; overflow: auto; border: 0; border-radius: 20px; color: var(--ink, #20251a); background: var(--paper, #fff); }
.turntable-enlarged::backdrop { background: rgba(25, 29, 20, .65); backdrop-filter: blur(6px); }
.turntable-enlarged .turntable-viewer { width: min(100%, calc(96vh - 130px)); width: min(100%, calc(96dvh - 130px)); margin: 0 auto; }
.turntable-enlarged .turntable-stage { min-height: 0; max-height: none; }
.turntable-enlarged .turntable-controls { max-width: 680px; margin: 0 auto; }
.turntable-enlarged-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: inherit; background: transparent; font: inherit; font-size: 25px; cursor: pointer; }
.turntable-enlarged-close:focus-visible, .turntable-zoom:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.turntable-stage { position: relative; width: 100%; min-height: 280px; aspect-ratio: 1; max-height: 450px; cursor: grab; touch-action: pan-y; user-select: none; border-radius: 14px; }
.turntable-stage.is-dragging { cursor: grabbing; }
.turntable-stage img, .turntable-stage video { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.turntable-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); width: max-content; max-width: 95%; text-align: center; padding: 5px 10px; border-radius: 20px; font-size: 11px; line-height: 1.3; color: var(--muted); background: var(--paper, #fff); pointer-events: none; }
.turntable-controls { display: flex; align-items: center; gap: 8px; width: 100%; }
.turntable-controls button { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--olive-800); background: var(--paper, #fff); font: inherit; font-size: 24px; cursor: pointer; }
.turntable-controls input { flex: 1; min-width: 0; width: 100%; accent-color: var(--olive-700); cursor: ew-resize; }
.turntable-controls output { flex: 0 0 38px; text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.turntable-stage:focus-visible, .turntable-controls button:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.thumbnail-turntable { position: absolute; inset: auto 3px 3px; border-radius: 6px; background: rgba(52,59,32,.72); color: #fff; font-size: 11px; line-height: 1.5; }
@media (max-width: 700px) { .turntable-stage { min-height: 210px; } .turntable-controls { gap: 5px; } .turntable-controls button { flex-basis: 32px; width: 32px; height: 32px; } }

.turntable-controls .turntable-play {font-size:18px;}
