/* Account: Life Pass end-credit card — a miniature Golden Record in deep space. */
body.inner #credit-signature { margin-top: 40px; }
body.inner #credit-signature h2 { margin: 0 0 14px; }

#credit-signature .acr-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 30px 36px 30px 30px; border-radius: 18px;
  border: 1px solid rgba(227, 189, 111, .26);
  background:
    radial-gradient(60% 120% at 12% 50%, rgba(227, 189, 111, .14), transparent 62%),
    radial-gradient(90% 140% at 100% 120%, #10213a 0%, rgba(6, 10, 18, 0) 60%),
    linear-gradient(160deg, #0b1019 0%, #05070c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .06), 0 24px 60px rgba(0, 0, 0, .35);
}
#credit-signature .acr-stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 58% 18%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 72% 74%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 30%, rgba(255, 240, 210, .8), transparent 60%),
    radial-gradient(1px 1px at 94% 86%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1px 1px at 46% 90%, rgba(255, 255, 255, .4), transparent 60%),
    radial-gradient(1px 1px at 66% 44%, rgba(190, 220, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 36% 8%, rgba(255, 255, 255, .4), transparent 60%);
}

/* ---- the disc ---- */
#credit-signature .acr-disc-link { display: block; border-radius: 50%; outline-offset: 6px; }
#credit-signature .acr-disc-link:focus-visible { outline: 2px solid #e3bd6f; }
.acr-disc {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 24.6%, rgba(90, 58, 14, .22) 24.6% 25%, transparent 25.1%),
    repeating-radial-gradient(circle at 50% 50%, rgba(92, 60, 14, .2) 0 .4px, rgba(255, 238, 190, .06) .7px, transparent 1.6px),
    radial-gradient(circle at 34% 28%, #fbe7a8 0%, #e3b65a 26%, #c6913a 52%, #9a6c24 76%, #6a4914 100%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 236, 180, .4), inset 0 0 0 2px rgba(120, 82, 22, .55), inset 0 0 0 4px rgba(255, 232, 170, .16), inset 0 -18px 40px rgba(70, 42, 8, .45), 0 0 60px rgba(227, 189, 111, .12);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}
#credit-signature .acr-disc-link:hover .acr-disc { transform: translateY(-4px) rotate(-6deg) scale(1.02); box-shadow: 0 30px 56px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 236, 180, .5), inset 0 0 0 2px rgba(120, 82, 22, .55), inset 0 0 0 4px rgba(255, 232, 170, .16), inset 0 -18px 40px rgba(70, 42, 8, .45), 0 0 80px rgba(227, 189, 111, .24); }
.acr-sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light;
  background: conic-gradient(from 20deg, transparent 0 6%, rgba(255, 252, 235, .75) 11%, transparent 17% 44%, rgba(255, 252, 235, .6) 57%, transparent 64% 100%);
  animation: acr-spin 22s linear infinite;
}
@keyframes acr-spin { to { transform: rotate(360deg); } }
.acr-etch { position: absolute; inset: 0; width: 100%; height: 100%; }
.acr-rim { font: 600 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 7px; fill: rgba(84, 54, 12, .55); }
.acr-diagram { fill: none; stroke: rgba(84, 54, 12, .5); stroke-width: 3; stroke-linecap: round; }
.acr-disc[data-mode="name"] .acr-diagram { opacity: .28; }
.acr-label { fill: rgba(255, 240, 200, .16); stroke: rgba(92, 60, 14, .35); stroke-width: 2.5; }
.acr-label-ring { fill: none; stroke: rgba(92, 60, 14, .28); stroke-width: 2; stroke-dasharray: 2 6; }
.acr-hole { fill: #0b0804; stroke: rgba(255, 236, 180, .5); stroke-width: 2.5; }

/* empty: an unclaimed band waiting for a mark */
.acr-band { fill: rgba(92, 60, 14, .06); stroke: rgba(84, 54, 12, .5); stroke-width: 3; stroke-dasharray: 10 10; }
.acr-baseline { stroke: rgba(84, 54, 12, .5); stroke-width: 2.5; }
.acr-x { font: 600 34px Georgia, serif; fill: rgba(84, 54, 12, .7); }
.acr-hint { font: 600 34px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 9px; fill: rgba(76, 48, 10, .62); }
.acr-stylus { fill: #fff3d4; filter: drop-shadow(0 0 10px rgba(255, 154, 60, .95)); animation: acr-stylus 2.4s ease-in-out infinite; }
@keyframes acr-stylus { 0%, 100% { opacity: .35; transform: translateX(0); } 50% { opacity: 1; transform: translateX(14px); } }

/* signature: dark groove with a lit lower edge */
.acr-ink { fill: #4f340c; stroke: #4f340c; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.acr-ink polyline { fill: none; }
.acr-ink--light { fill: rgba(255, 246, 222, .7); stroke: rgba(255, 246, 222, .7); transform: translate(2px, 3px); }

/* name: etched ring */
.acr-ring circle { fill: none; stroke: rgba(84, 54, 12, .55); stroke-width: 2.4; }
.acr-ring .fine { stroke: rgba(84, 54, 12, .38); stroke-width: 1.4; }
.acr-ring .dots { stroke: rgba(84, 54, 12, .5); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 10; }
.acr-ticks line { stroke: rgba(84, 54, 12, .45); stroke-width: 1.8; }
.acr-caption { font: 600 19px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 7px; fill: rgba(84, 54, 12, .62); }
.acr-name { font-family: "Trajan Pro", "Cinzel", "Cormorant SC", "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; fill: #563a10; }
.acr-name--light { fill: rgba(255, 246, 222, .78); transform: translate(1.6px, 2.2px); }
.acr-orn { fill: rgba(86, 58, 16, .7); font-size: .55em; }
.acr-name--light .acr-orn { fill: rgba(255, 246, 222, .5); }

/* ---- copy ---- */
#credit-signature .acr-copy { display: grid; gap: 12px; justify-items: start; min-width: 0; }
#credit-signature .acr-copy p { margin: 0; }
#credit-signature .acr-eyebrow {
  display: flex; gap: 10px; align-items: center; color: rgba(170, 214, 236, .62);
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .26em; text-transform: uppercase;
}
#credit-signature .acr-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
#credit-signature .acr-state { display: flex; align-items: center; gap: 10px; color: #f3d48f; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
#credit-signature .acr-state i { width: 8px; height: 8px; border-radius: 50%; background: #e3bd6f; box-shadow: 0 0 0 4px rgba(227, 189, 111, .16), 0 0 14px rgba(255, 190, 90, .8); }
#credit-signature .acr-card[data-status="none"] .acr-state i { animation: acr-pulse 2s ease-in-out infinite; }
#credit-signature .acr-card[data-status="approved"] .acr-state i { background: #8fe0b0; box-shadow: 0 0 0 4px rgba(143, 224, 176, .16), 0 0 14px rgba(143, 224, 176, .7); }
#credit-signature .acr-card[data-status="needs_change"] .acr-state { color: #ffb1a8; }
#credit-signature .acr-card[data-status="needs_change"] .acr-state i { background: #ff8e80; box-shadow: 0 0 0 4px rgba(255, 142, 128, .16), 0 0 14px rgba(255, 142, 128, .7); }
@keyframes acr-pulse { 50% { box-shadow: 0 0 0 8px rgba(227, 189, 111, 0), 0 0 22px rgba(255, 190, 90, .9); } }
#credit-signature .acr-text { color: #aab4be; line-height: 1.6; max-width: 56ch; }
#credit-signature .acr-text strong { color: #f2f5f7; font-weight: 600; }
#credit-signature .acr-note { color: #ffd3cd; padding: 10px 14px; border-left: 2px solid #ff8e80; background: rgba(255, 142, 128, .08); border-radius: 0 8px 8px 0; }
#credit-signature .acr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }
#credit-signature .acr-primary {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  color: #1c1406; font-weight: 600; background: linear-gradient(180deg, #f8e3a6, #d9a948);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 26px rgba(217, 169, 72, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
#credit-signature .acr-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 34px rgba(217, 169, 72, .4); }
#credit-signature .acr-secondary { color: #e9d7ae; font-size: 14px; text-underline-offset: 4px; }

@media (max-width: 719px) {
  #credit-signature .acr-card { grid-template-columns: 1fr; justify-items: center; gap: 24px; padding: 28px 22px; text-align: center; }
  #credit-signature .acr-disc-link { width: min(220px, 70vw); }
  #credit-signature .acr-copy { justify-items: center; }
  #credit-signature .acr-actions { justify-content: center; }
}

/* ---- entering the record ---- */
.acr-launch {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 50% 120%, #10213a 0%, #060a12 46%, #020307 100%);
}
.acr-disc--flying { position: fixed; z-index: 10000; margin: 0; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .acr-sheen, .acr-stylus, #credit-signature .acr-state i { animation: none !important; }
  #credit-signature .acr-disc-link:hover .acr-disc { transform: none; }
}
