/* One separate fossil in the dig; one living feature above it. */
.fossil-depth{position:absolute;inset:0;pointer-events:none}
.fossil-depth-tray{position:absolute;left:4%;right:4%;top:39%;bottom:4%;overflow:hidden;border:10px solid #9b6b3d;border-top-color:#c79759;border-left-color:#bd874a;border-bottom-color:#70502e;border-radius:31px;box-shadow:inset 0 0 0 3px #664728,0 7px 0 #51351e66;background:#887650;pointer-events:auto;isolation:isolate}
.fossil-depth-art,.fossil-depth-sand,.fossil-shape-halo{position:absolute;left:0;top:50%;transform:translateY(-50%);width:100%;height:auto;aspect-ratio:720/500;display:block;touch-action:none}
.fossil-shape-halo{pointer-events:none;z-index:2;opacity:0;overflow:visible}.fossil-shape-halo path{fill:none;stroke:#175b4d;stroke-width:8;stroke-linejoin:round;filter:drop-shadow(0 0 2px #fff6c6)}.fossil-depth.is-revealed .fossil-shape-halo{opacity:1}
.fossil-depth-art{z-index:0}.fossil-depth-sand{z-index:1;cursor:crosshair;opacity:1;transition:opacity .5s ease-out}
.fossil-depth.is-revealed .fossil-depth-sand{opacity:0}
.fossil-rim{position:absolute;inset:0;pointer-events:none;border-radius:18px;box-shadow:inset 0 5px 15px #5a3c2460,inset 0 -3px 6px #f5ce8555;z-index:2}
.fossil-body-halo{position:absolute;opacity:0;pointer-events:none;overflow:visible;filter:drop-shadow(0 0 5px #fff2aacc);transition:opacity .2s}
.fossil-body-halo path{fill:#fff4b523;stroke:#175b4d;stroke-width:5;stroke-linejoin:round}
.fossil-depth.is-revealed .fossil-body-halo{opacity:1}
.fossil-depth.is-compared .fossil-body-halo path{stroke:#175b4d;fill:#ffe78238}
.fossil-depth.is-compared .fossil-depth-tray{border-top-color:#ebc47d;box-shadow:inset 0 0 0 3px #664728,0 0 0 3px #f5de9b,0 7px 0 #51351e66}
.fossil-body-target{position:absolute;transform:translate(-50%,-50%);width:52px;height:52px;min-width:48px;min-height:48px;border-radius:50%;border:0;background:transparent;color:#fffce9;pointer-events:auto;box-shadow:none;padding:10px}
.fossil-body-target svg{display:none}
.fossil-body-target[hidden],.fossil-brush-button[hidden],.fossil-compare-button[hidden]{display:none}.fossil-compare-button svg{width:26px;height:30px}.fossil-compare-button svg:first-child,.fossil-compare-button svg:nth-child(3){stroke-width:6}
@media(min-width:1000px){.fossil-depth-tray{left:49%;right:5%;top:6%;bottom:8%}}
@media(max-height:620px) and (orientation:portrait){.fossil-depth-tray{top:36%;bottom:3%;border-width:8px;border-radius:25px}}
@media(max-height:520px) and (orientation:landscape){.fossil-depth-tray{left:50%;right:3%;top:5%;bottom:6%;border-width:7px;border-radius:23px}}
@media(prefers-reduced-motion:reduce){.fossil-depth-sand,.fossil-body-halo{transition:none}}
/* An excavated soil rim, retaining the existing brush surface and clear bounds. */
.fossil-depth-tray{border-radius:36px 46px 30px 42px;border-color:#94713f;border-top-color:#c9aa6d;border-left-color:#b6985f;border-bottom-color:#6b512d;box-shadow:inset 0 0 0 2px #78603c,0 7px 14px #49371955;clip-path:polygon(3% 0,96% 1%,100% 8%,99% 94%,94% 100%,3% 99%,0 92%,1% 8%)}
