/* Append-only bulk results delta. No dialog/stage sizing, caps or padding declarations. */
.tosRevealDialog .tosBulkLayout{display:block;width:100%;min-height:0}
.tosRevealDialog .tosVisuallyHidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tosRevealDialog .tosBulkCloseBar{position:sticky;top:0;height:0;z-index:40;pointer-events:none}
.tosRevealDialog .tosBulkClose{position:absolute;top:8px;right:8px;pointer-events:auto}
.tosRevealDialog .tosBulkActions{gap:6px;margin-top:6px;justify-content:center}
.tosRevealDialog .tosBulkActions:empty{display:none}
.tosRevealDialog .tosBulkActions>button{flex:0 1 auto;min-width:0;max-width:none;padding:8px 12px}
.tosRevealDialog .tosBulkResults{display:block;border-left:0;border-top:1px solid #ffffff10;background:transparent}
.tosRevealDialog .tosBulkResults .tosResultRow{content-visibility:auto;contain-intrinsic-size:auto 78px}
@media(max-width:700px){.tosRevealDialog .tosBulkResults .tosResultRow{contain-intrinsic-size:auto 66px}}

/* v9 results-only state. The approved animation dialog/stage sizing stays intact. */
dialog.tosRevealDialog[data-view="results"]{width:min(920px,calc(100vw - 24px))}
.tosRevealDialog[data-view="results"] .tosBulkResults{display:block;border-top:0;padding-top:48px}
.tosRevealDialog[data-view="results"] .tosResultList{max-height:min(72dvh,720px)}

/* v10 pointer pull only. No dialog/stage dimensions, body scale or new controls. */
.tosRevealDialog [data-tos-stage],.tosRevealDialog .tosStageTrigger{touch-action:none;user-select:none;-webkit-user-select:none}
.tosRevealDialog .tosStageTrigger{cursor:grab}
.tosRevealDialog[data-dragging="true"] .tosStageTrigger{cursor:grabbing}
.tosRevealDialog .tosStageTrigger:disabled{cursor:default}
.tosRevealDialog[data-view="animation"] .tosBacklight{left:-28.3271375464684%;top:-11.803066%;width:160%;z-index:3;transform:translateY(var(--tos-glow-y,0px)) scale(var(--tos-glow-scale,.45));transform-origin:50% 50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--tos-grade) 90%,white),color-mix(in srgb,var(--tos-grade) 80%,transparent) 22%,color-mix(in srgb,var(--tos-grade) 60%,transparent) 43%,transparent 76%);pointer-events:none}
.tosRevealDialog[data-view="revealed"] .tosMain{position:relative}
.tosRevealDialog[data-view="revealed"] .tosBulkActions{position:absolute;left:18px;right:18px;bottom:22px;margin:0;z-index:24}
/* v12: light is registered to original card pixels, never a stage-sized halo. */
.tosRevealDialog .tosBacklight,.tosRevealDialog .tosCrest{display:none}
.tosRevealDialog .tosCardSurfaceLight{position:absolute;inset:0;width:100%;height:100%;z-index:3;opacity:var(--tos-surface-light,0);mix-blend-mode:screen;pointer-events:none}
.tosRevealDialog .tosFlightCard{position:absolute;left:12.6728624535316%;top:0;width:78%;aspect-ratio:2/3;transform-origin:50% 0%;pointer-events:none;perspective:800px;visibility:hidden;will-change:transform,opacity}
.tosRevealDialog .tosFlightRotator{position:absolute;inset:0;transform-style:preserve-3d}
.tosRevealDialog .tosFlightBack,.tosRevealDialog .tosFlightFace{position:absolute;inset:0;overflow:hidden;border-radius:3px;backface-visibility:hidden}
.tosRevealDialog .tosFlightBack>svg{position:absolute;inset:0;width:100%;height:100%}
.tosRevealDialog .tosFlightFace{transform:rotateY(180deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:8%;border:2px solid var(--tos-grade);background:#102318;box-shadow:inset 0 0 22px color-mix(in srgb,var(--tos-grade) 30%,transparent)}
.tosRevealDialog .tosFlightFace>img{width:100%;height:66%;object-fit:contain}
.tosRevealDialog .tosFlightFace>strong{font-size:15px;line-height:1.3;text-align:center;color:#eee6d2}
.tosRevealDialog .tosFlightFace>small{font-size:11px;color:var(--tos-grade);text-align:center}

/* Main gold engraving needs local grade pigment, not screen-only saturation. */
.tosRevealDialog .tosCardSurfaceMain{mix-blend-mode:normal}
