.club-tag[data-seal-open] {
  position: relative;
  outline-offset: 4px;
  border-radius: 50%;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: grab;
}
.club-tag[data-seal-open]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}
.club-tag[data-seal-open] img { width: 100%; height: 100%; pointer-events: none; }
.club-tag:has(.rosacea-object) img { opacity: 0; }
.rosacea-object { display: block; position: absolute; inset: 0; pointer-events: none; }
/* Cast warm silver light directly from the projected coin silhouette, including at grazing angles. */
.club-tag[data-seal-open] > :is(img, .rosacea-object),
.sample-tag.club-rosacea img {
  filter: drop-shadow(0 0 .043em #fffde49c) drop-shadow(0 0 .115em #dce5d87a);
}
.seal-mount > .rosacea-object {
  filter: drop-shadow(0 0 2px #fffde482) drop-shadow(0 0 10px #dce5d844);
}
.inspect-study { font-size: 14px; color: #e2e7de; padding: 8px; text-decoration: underline; text-underline-offset: .22em; }

dialog.seal-inspector {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(570px, calc(100% - 32px));
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid #4d5356;
  border-radius: 14px;
  color: #e9ece6;
  background: radial-gradient(ellipse at 46% 29%, #2c343a, #1a2025 44%, #111518 82%);
  box-shadow: 0 30px 100px #0009, inset 0 1px #e4f0f315;
}
dialog.seal-inspector[open] { display: block; }
.seal-inspector::backdrop { background: #090c10b8; backdrop-filter: blur(8px); }
body:has(.seal-inspector[open]) { overflow: hidden; }
.seal-inspector header, .seal-inspector footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: clamp(16px, 4vw, 28px);
}
.seal-inspector header { padding-block: 14px 4px; }
.seal-inspector h2 { font: 480 22px/1.1 Geist, sans-serif; letter-spacing: -.04em; }
.seal-inspector button {
  background: transparent;
  border: 0;
  padding: 0;
  color: #d2d9d8;
  min-height: 44px;
}
.seal-inspector button:hover { color: white; }
.seal-inspector [data-seal-close] { display: grid; place-items: center; min-width: 44px; margin-right: -10px; }
.seal-inspector [data-seal-close] svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.seal-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: min(390px, 75vw, 57dvh);
  touch-action: none;
  user-select: none;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}
.seal-stage:focus-visible { outline: 1px solid #a1afa580; outline-offset: -6px; }
.club-tag[data-seal-open]:active, .club-tag[data-seal-dragging],
.seal-stage:active, .seal-stage[data-seal-dragging] { cursor: grabbing; }
.seal-stage::before {
  content: "";
  position: absolute;
  bottom: 6%;
  width: 47%;
  height: 6%;
  background: radial-gradient(ellipse, #05080b9e, transparent 69%);
}
.seal-mount {
  position: relative;
  height: 81%;
  aspect-ratio: 1;
}
.seal-inspector footer {
  padding-block: 4px 12px;
  border-top: 1px solid #cbd7dd12;
  font-size: 13px;
  color: #b1babc;
}
.seal-inspector [data-seal-reset] { font: inherit; white-space: nowrap; text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 400px) {
  .seal-inspector footer { font-size: 12px; gap: 8px; }
}
