.image-warm-glow{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;border-radius:inherit;backface-visibility:hidden;transform:translateZ(1px);transition:opacity 300ms ease-out;box-shadow:0 0 9px 2px #ffc77a70,0 0 26px 5px #eeb56b38,0 0 48px 8px #f8b36614}
.image-warm-glow-back{transform:rotateY(180deg) translateZ(1px)}
[data-glow-active=true]>.image-warm-glow{opacity:1}
@starting-style{[data-glow-active=true]>.image-warm-glow{opacity:0}}
.image-warm-grain{position:absolute;width:var(--grain-size);height:var(--grain-size);border-radius:50%;background:#ffe8bb;box-shadow:0 0 4px 1px #ffbd6880;opacity:0;animation:image-warm-grain var(--grain-time) var(--grain-delay) ease-out infinite;animation-play-state:paused}
[data-glow-active=true]>.image-warm-glow>.image-warm-grain{animation-play-state:running}
@keyframes image-warm-grain{0%{opacity:0;transform:translate(0,0) scale(.6)}24%{opacity:.85}75%{opacity:.35}100%{opacity:0;transform:translate(var(--grain-x),var(--grain-y)) scale(.2)}}
.reference-card-actions .reference-card-action{background:transparent!important;border:0!important;box-shadow:none!important;color:#e7e5df;transition:color 160ms,filter 160ms}
.reference-card-action .reference-card-action-icon{width:16px;height:16px;filter:drop-shadow(0 1px 2px #17130f)}
.reference-card-actions .reference-card-action[aria-pressed=true]{color:#f4c491}
.reference-card-actions .reference-card-action:is(:hover,:focus-visible){color:#fff0c8;filter:drop-shadow(0 0 5px #ffb869b0)}
.fallback-image-shell{display:block;position:relative;overflow:visible}
.draw-control,.cycle-control{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;flex-shrink:0}
.draw-control select,.cycle-control select{width:50px;height:36px;padding:0 5px;background:#171f27;color:var(--ink);border:1px solid var(--line);border-radius:3px;cursor:pointer}
.draw-control button{padding:8px 3px;min-width:42px}
#hidden-reference-count{white-space:nowrap;font-size:11px;color:var(--muted);padding:8px 2px;text-decoration:underline;text-decoration-color:#9e8b7050;text-underline-offset:4px}
#hidden-reference-count:hover,#hidden-reference-count[aria-pressed=true]{color:#f4c491;text-decoration-color:currentColor}
.reference-toolbar{min-height:0}.reference-toolbar-main{justify-content:space-between;align-items:center;gap:20px;flex-wrap:nowrap}.reference-toolbar-left,.reference-toolbar-right{display:flex;align-items:center;min-width:0;gap:10px}.reference-toolbar-left{flex:1 1 400px;max-width:600px}.reference-toolbar-right{flex:0 1 auto;justify-content:flex-end;flex-wrap:wrap;row-gap:0;margin-left:auto}.reference-toolbar-left>.reference-search{min-width:120px;flex:1 1 220px;max-width:460px}.reference-toolbar-left>#reference-filters,.reference-toolbar-left>#clear-filters{flex-shrink:0}.reference-toolbar-right>#archive-count{margin-left:0}.reference-toolbar-hint{white-space:normal}.reference-toolbar-right>.draw-control{margin-left:0}
.orbit-speed-control{position:relative;flex-shrink:0}#orbit-speed-toggle{font-size:12px;padding:8px 2px;white-space:nowrap;color:var(--muted)}#orbit-speed-toggle:hover,#orbit-speed-toggle[aria-expanded=true]{color:#f4c491}
#orbit-speed-panel{position:absolute;z-index:55;right:0;bottom:calc(100% + 12px);width:min(300px,calc(100vw - 32px));padding:20px 20px 12px;border:1px solid #cfb79345;border-radius:3px;background:var(--bg);color:var(--ink);box-shadow:0 8px 32px #00000050;transform-origin:bottom right}
#orbit-speed-panel:not([hidden]){animation:orbit-speed-panel-in 120ms ease-out both}#orbit-speed-title{font:500 14px/1.5 var(--sans);letter-spacing:.03em;margin:0 0 19px}.orbit-speed-value-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}#orbit-speed-value{color:#f4c491;font:14px/1.5 var(--mono)}#orbit-speed{display:block;width:100%;height:38px;margin:3px 0 0;padding:0;accent-color:#e6b77e;cursor:pointer}.orbit-speed-ticks{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px;line-height:1.4}.orbit-speed-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.orbit-speed-panel-footer button{padding:8px 0 8px 12px;white-space:nowrap;font-size:11px;color:#f4c491}
@keyframes orbit-speed-panel-in{from{opacity:0}to{opacity:1}}
@media(max-width:1150px){.reference-toolbar-main{gap:14px}.reference-toolbar-left,.reference-toolbar-right{gap:7px}.reference-toolbar-left>.reference-search{max-width:none;flex-basis:160px}}
@media(min-width:701px) and (max-width:1000px){body{--toolbar-height:136px}.reference-toolbar-main{flex-wrap:wrap;gap:2px}.reference-toolbar-left,.reference-toolbar-right{flex:0 0 100%;max-width:none}.reference-toolbar-left>.reference-search{max-width:none}.reference-toolbar-right{justify-content:flex-end}}
@media(max-width:700px){body{--toolbar-height:184px}.reference-toolbar-main{flex-direction:column;align-items:stretch;gap:2px}.reference-toolbar-left,.reference-toolbar-right{flex:0 0 auto;max-width:none;width:100%;gap:0 7px}.reference-toolbar-left>.reference-search{min-width:0;flex:1 1 auto;max-width:none}.reference-toolbar-right{justify-content:flex-end;margin-left:0}#hidden-reference-count{font-size:10px}.draw-control,.cycle-control,#orbit-speed-toggle{font-size:11px}.reference-toolbar-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.image-warm-glow{transition:none}.image-warm-grain{animation:none!important;opacity:.45}#orbit-speed-panel:not([hidden]){animation:none}}
