.detail>.plate,.home-hero>.plate{margin:0;width:100%}
.crest-viewer{max-width:360px;margin:0 auto;min-width:0}
.crest-view-modes{display:flex;gap:4px;width:max-content;max-width:calc(100% - 30px);margin:0 0 16px;border:1px solid #766749;padding:3px;background:#161813}
.crest-view-modes button{font-size:12px;line-height:1.4;border:0;padding:8px 12px;color:#c9c6b8}
.crest-view-modes button[aria-pressed="true"]{background:#c3ab78;color:#171812}
.crest-view-modes button:disabled{cursor:progress}
.crest-stage{width:100%;aspect-ratio:1;position:relative}
.plate .crest-stage>.crest{max-width:none;width:100%;height:100%;margin:0;object-fit:contain}
.crest-3d{position:relative;width:100%;height:100%;background:radial-gradient(ellipse at 44% 36%,#292c24 0%,#1d201a 52%,#151811 100%);border-radius:3px}
.crest-3d-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;border-radius:3px}
.crest-face{position:absolute;left:8px;bottom:8px;padding:2px 10px;font-size:1.125rem;line-height:1.8;color:var(--ink);background:#131412e6;pointer-events:none;border:1px solid var(--line)}
.crest-interaction-help{font-size:1.125rem;line-height:1.85;color:var(--muted);margin:14px 0 0}
.crest-3d-tools button[aria-pressed="true"]{background:var(--gold);color:var(--bg)}
.crest-3d-canvas:active{cursor:grabbing}
.crest-3d-canvas:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.crest-3d-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:14px 0 0}
.crest-3d-tools button{padding:5px 11px;font-size:11px;border-color:#75684d;line-height:1.5}
.crest-view-status{font-size:11px;color:#c2bfb1;line-height:1.7;margin:10px 0 0;min-height:1.7em}
.crest-view-note{font-size:10px;color:var(--muted);line-height:1.65;margin:4px 0 0}
.crest-viewer [hidden]{display:none!important}
@media(max-width:760px){.crest-viewer{max-width:340px}.crest-view-modes button{padding:8px 10px;min-height:42px}.crest-3d-tools button{min-height:42px}.crest-view-status{font-size:11px}}
@media print{.crest-view-modes,.crest-3d,.crest-3d-tools,.crest-view-status,.crest-view-note,.crest-interaction-help{display:none!important}.crest-viewer .crest-flat[hidden]{display:block!important}}
