/* Model card follows the user's supplied viewer reference. */
.case-page{width:min(1100px,96vw);padding:0 24px 30px;border-radius:18px;background:#f7f7f2}.case-page .dialog-top{display:flex;justify-content:space-between;align-items:center;padding:15px 0}.case-page .dialog-top button{display:inline-flex;align-items:center;gap:7px}.dialog-top button img{width:16px;height:16px}.case-page .detail-body{display:block;padding:8px 0 35px}.case-page .detail-copy{padding:30px 12px 0}.case-page .detail-copy dl{display:flex;gap:45px}.case-page .viewer-tabs{gap:24px;margin:0 0 17px}.reference-viewer{border:1px solid #dfe1de;border-radius:20px;overflow:hidden;background:#fff;color:#566475;container-type:inline-size}.viewer-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 24px;min-height:114px;background:white}.viewer-title{display:flex;align-items:center;gap:16px;font-size:20px;white-space:nowrap}.viewer-dot{height:11px;width:11px;border-radius:50%;background:#2454e8;flex-shrink:0}.reference-viewer .toolbar{display:flex;gap:10px;align-items:center;flex-wrap:nowrap;padding:0}.reference-viewer .toolbar button{margin:0;min-height:59px;border:1px solid #dfe3eb;border-radius:11px;background:white;color:#16191e;font-size:20px;padding:0 25px;transition:background .15s,border-color .15s}.reference-viewer .toolbar button[aria-pressed=true]{color:#2454e8;background:#edf1ff;border-color:#b9c8ff}.reference-viewer .toolbar .icon-button{width:63px;padding:0;display:grid;place-items:center}.icon-button img{width:29px;height:29px}.tool-divider{height:33px;width:1px;background:#d8dce4;margin:0 11px}.case-page #viewport.model-viewport{position:relative;width:100%;height:auto;aspect-ratio:1.103;min-height:280px;background:#45484b}.model-viewport #canvas-host{position:absolute;inset:0;height:100%;width:100%}.viewer-orientation{position:absolute;top:4.5%;right:4.5%;width:16%;aspect-ratio:1;min-width:76px;max-width:160px;z-index:2}.orientation-control{touch-action:none;border-radius:8px}.orientation-control:focus-visible{outline:2px solid #b8c8ff;outline-offset:4px}.reference-viewer #load-status{font-size:14px}.viewer-statusbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:93px;padding:24px 35px;background:#fafbf9;border-bottom:1px solid #dfe1de;font-size:18px;color:#9099a4}.orbit-hint{display:inline-flex;gap:15px;align-items:center;white-space:nowrap}.orbit-hint img{width:22px;height:26px;opacity:.55}.model-stats{display:flex;gap:35px;align-items:center;white-space:nowrap}.model-stats strong{color:#566475;font-weight:600;margin-left:12px}.reference-animation{padding:35px;background:#fff}.animation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:20px}.animation-heading small{font-size:18px;color:#96a0ad}.clip-list{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 30px}.clip-list button{padding:14px 26px;font-size:20px;border:1px solid #dfe3eb;border-radius:11px;color:#7a8797;background:#f6f7f9;line-height:1.4}.clip-list button[aria-pressed=true]{border-color:#b8c7ff;background:#edf1ff;color:#2454e8}.timeline{display:flex;gap:28px;align-items:center;border-top:1px solid #eceef0;padding-top:28px}.timeline .play-toggle{height:64px;width:64px;flex-shrink:0;border:0;border-radius:50%;background:#2454e8;display:grid;place-items:center}.play-toggle img{width:29px;height:29px;filter:brightness(0) invert(1)}.timeline input[type=range]{flex:1;min-width:0;accent-color:#2454e8;cursor:pointer;height:20px;margin:0}.timeline-time{font-size:18px;color:#9099a4;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:140px;text-align:right}.reference-viewer:fullscreen{padding:0!important;overflow:auto;background:#fff}.case-page .reference-viewer:fullscreen #viewport{height:calc(100vh - 114px);aspect-ratio:auto}.reference-viewer .toolbar button:disabled{opacity:.4;cursor:wait}@container(max-width:800px){.viewer-topbar{padding:20px;min-height:85px}.viewer-title{gap:10px;font-size:16px}.viewer-dot{width:8px;height:8px}.reference-viewer .toolbar{gap:7px}.reference-viewer .toolbar button{font-size:16px;min-height:44px;padding:0 17px}.reference-viewer .toolbar .icon-button{width:46px}.icon-button img{width:23px;height:23px}.tool-divider{height:25px;margin:0 5px}.viewer-statusbar{font-size:13px;min-height:70px;padding:19px 22px;gap:15px}.model-stats{gap:20px}.model-stats strong{margin-left:7px}.orbit-hint{gap:8px}.orbit-hint img{width:17px;height:20px}.reference-animation{padding:25px}.animation-heading{font-size:16px}.animation-heading small{font-size:14px}.clip-list{margin:18px 0 23px;gap:10px}.clip-list button{font-size:16px;padding:10px 20px}.timeline{gap:20px;padding-top:23px}.timeline .play-toggle{height:49px;width:49px}.play-toggle img{height:23px;width:23px}.timeline-time{font-size:14px;min-width:105px}}
@container(max-width:500px){.viewer-topbar{padding:15px 12px;min-height:70px;gap:8px}.viewer-title{font-size:13px;gap:7px}.reference-viewer .toolbar{gap:5px}.reference-viewer .toolbar button{font-size:13px;min-height:36px;padding:0 10px;border-radius:8px}.reference-viewer .toolbar .icon-button{width:36px}.icon-button img{width:20px;height:20px}.tool-divider{height:21px;margin:0 2px}.viewer-statusbar{padding:15px 12px;min-height:66px;flex-wrap:wrap;gap:10px;font-size:11px}.orbit-hint{gap:6px}.model-stats{gap:15px}.model-stats strong{margin-left:5px}.reference-animation{padding:20px 16px}.animation-heading{font-size:14px}.animation-heading small{font-size:12px}.clip-list{margin:16px 0 20px}.clip-list button{font-size:14px;padding:9px 17px;border-radius:8px}.timeline{gap:13px;padding-top:20px}.timeline .play-toggle{width:42px;height:42px}.timeline-time{font-size:12px;min-width:88px}.play-toggle img{height:21px;width:21px}}
@media(max-width:680px){.case-page{padding:0 12px 22px}.case-page .detail-body{padding-top:8px}.case-page .detail-copy{padding:25px 4px 0}.case-page .viewer-tabs{gap:18px}.case-page .detail-copy dl{display:block}.reference-viewer{border-radius:15px}}
/* Override legacy ID selectors from the previous compact animation strip. */
#model-panel #animation-controls.reference-animation{padding:35px;background:#fff;font-size:20px}#model-panel #animation-controls .clip-list button{padding:14px 26px;font-size:20px;border:1px solid #dfe3eb;border-radius:11px;color:#7a8797;background:#f6f7f9;line-height:1.4}#model-panel #animation-controls .clip-list button[aria-pressed=true]{border-color:#b8c7ff;background:#edf1ff;color:#2454e8}#model-panel #animation-controls .play-toggle{padding:0;height:64px;width:64px;border:0;border-radius:50%;background:#2454e8;display:grid;place-items:center}@container(max-width:800px){#model-panel #animation-controls.reference-animation{padding:25px;font-size:16px}#model-panel #animation-controls .clip-list button{font-size:16px;padding:10px 20px}#model-panel #animation-controls .play-toggle{width:49px;height:49px}}@container(max-width:500px){#model-panel #animation-controls.reference-animation{padding:20px 16px;font-size:14px}#model-panel #animation-controls .clip-list button{font-size:14px;padding:9px 17px;border-radius:8px}#model-panel #animation-controls .play-toggle{width:42px;height:42px}}
.viewer-title,.animation-heading{font-weight:500}
.viewer-orientation{width:20%;max-width:200px}
.timeline input[type=range]{appearance:none;-webkit-appearance:none;height:28px;background:transparent}.timeline input[type=range]::-webkit-slider-runnable-track{height:14px;border:1px solid #b9b9b9;border-radius:8px;background:linear-gradient(to right,#2454e8 0%,#2454e8 var(--progress,0%),#eee var(--progress,0%),#eee 100%)}.timeline input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;margin-top:-8px;border:0;border-radius:50%;background:#2454e8}.timeline input[type=range]::-moz-range-track{height:12px;border:1px solid #b9b9b9;border-radius:8px;background:#eee}.timeline input[type=range]::-moz-range-progress{height:12px;background:#2454e8;border-radius:8px}.timeline input[type=range]::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:#2454e8}@container(max-width:500px){.timeline input[type=range]::-webkit-slider-runnable-track{height:9px}.timeline input[type=range]::-webkit-slider-thumb{width:21px;height:21px;margin-top:-7px}.timeline input[type=range]::-moz-range-track,.timeline input[type=range]::-moz-range-progress{height:8px}.timeline input[type=range]::-moz-range-thumb{width:21px;height:21px}}

/* Only the selected viewer card and character identity remain in the dialog. */
.case-page{padding:24px;background:#f7f7f2}.case-page .detail-copy{padding:42px 18px 10px}.case-page .detail-copy h2{margin:22px 0 0}.screen-reader-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}button.screen-reader-only:focus-visible{position:fixed!important;top:10px;right:12px;z-index:30;width:auto!important;height:auto!important;clip:auto!important;margin:0!important;padding:10px 14px!important;border:1px solid #bec8de!important;background:#fff;border-radius:9px}@media(max-width:680px){.case-page{padding:12px}.case-page .detail-copy{padding:30px 8px 8px}}
