/* URLstamp Lite public capture utility */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(139,224,186,.22);
  border-radius: 10px;
  background: rgba(139,224,186,.055);
  color: #c5ead9;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .01em;
}
.live-badge > span,
.tool-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(139,224,186,.75);
}

.capture-tool {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(144,114,250,.045), rgba(255,255,255,.008) 38%), var(--surface);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
}
.tool-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.tool-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: none;
}
.tool-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 11px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tool-title {
  margin: 0;
  white-space: normal;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 610;
}
.tool-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.tool-form { margin-top: 28px; }
.tool-form label {
  display: block;
  margin-bottom: 9px;
  color: #aeb7c4;
  font-size: 12px;
  font-weight: 650;
}
.url-field {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 9px;
}
.url-field input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  background: #0a0d11;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.url-field input::placeholder { color: #535e6d; }
.url-field input:focus {
  border-color: rgba(144,114,250,.58);
  box-shadow: 0 0 0 3px rgba(144,114,250,.10);
}
.url-field button,
.button-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  background: #eef1f8;
  color: #101319;
  font: inherit;
  font-size: 13px;
  font-weight: 730;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.url-field button:hover,
.button-link:hover { background: #fff; transform: translateY(-1px); }
.url-field button:disabled { cursor: wait; opacity: .82; transform: none; }
.tool-note {
  margin: 10px 0 0;
  color: #657080;
  font-size: 11px;
  line-height: 1.55;
}
.tool-features {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
}
.tool-features > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #0b0e12;
}
.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(144,114,250,.18);
  border-radius: 7px;
  color: var(--accent-2);
  background: rgba(144,114,250,.045);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 760;
}
.tool-features strong,
.tool-features small { display: block; }
.tool-features strong { color: #d7dbe4; font-size: 13px; font-weight: 650; }
.tool-features small { margin-top: 5px; color: #8994a3; font-size: 12px; line-height: 1.5; }

.result-main { min-height: calc(100vh - 212px); }
.result-wrap { width: min(880px, 100%); margin: 0 auto; padding: 82px 0 96px; }
.result-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.105);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(144,114,250,.04), transparent 34%), var(--surface);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
}
.confirmed-card { background: linear-gradient(180deg, rgba(139,224,186,.035), transparent 28%), var(--surface); }
.result-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #a7b0bd;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.result-wrap > .eyebrow {
  text-transform: none;
}

.result-status.confirmed { border-color: rgba(139,224,186,.22); color: var(--success); background: rgba(139,224,186,.045); }
.result-status.failed { border-color: rgba(255,150,150,.18); color: #e5aaaa; background: rgba(255,120,120,.035); }
.result-status.processing { color: var(--accent-2); border-color: rgba(144,114,250,.22); background: rgba(144,114,250,.045); }
.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(144,114,250,.8);
  animation: pulse 1.4s ease-in-out infinite;
}
.result-title {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 650;
}
.result-lede {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.progress-rail {
  height: 4px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
}
.progress-rail span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: progress 1.8s ease-in-out infinite alternate;
}
.result-small { margin: 20px 0 0; color: #768191; font-size: 12px; line-height: 1.55; }
.result-small code { color: #8995a5; font-family: "SFMono-Regular", Consolas, monospace; }
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
}
.result-row {
  min-width: 0;
  padding: 16px 17px;
  background: #0b0e12;
}
.result-row.full { grid-column: 1 / -1; }
.result-row dt {
  margin-bottom: 7px;
  color: #606b7a;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.result-row dd {
  margin: 0;
  color: #bdc5d0;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.result-row a { color: var(--accent); text-decoration: none; }
.result-row a:hover { text-decoration: underline; }
.result-row code { color: var(--accent); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; }
.hash-result dd code { display: block; font-size: 12px; line-height: 1.65; }
.result-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}
.result-actions .button-link {
  min-height: 42px;
  padding: 0 13px;
  font-size: 11px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.button-link { min-height: 42px; }
.button-secondary {
  border: 1px solid var(--line-strong);
  background: #141922;
  color: #d6dce6;
}
.button-secondary:hover { background: #1a202a; }
.text-link { margin-left: 4px; color: #8994a3; font-size: 11px; text-decoration: none; }
.text-link:hover { color: #d8dde5; }
.result-note {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
}
.result-note strong { color: #b9c1cc; font-size: 12px; font-weight: 690; }
.result-note span { color: #7f8a99; font-size: 12px; line-height: 1.6; }

@keyframes pulse { 0%,100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes progress { from { transform: translateX(-15%); } to { transform: translateX(165%); } }

@media (max-width: 720px) {
  .capture-tool { padding: 22px; }
  .url-field { grid-template-columns: 1fr; }
  .url-field button { width: 100%; }
  .result-wrap { padding: 58px 0 72px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-row.full { grid-column: auto; }
  .result-actions { flex-wrap: wrap; align-items: stretch; }
  .result-actions .button-link { width: 100%; }
  .text-link { width: 100%; margin: 4px 0 0; text-align: center; }
}


/* Stable, streamlined capture progress UI */
.processing-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 58px);
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(144,114,250,.075), transparent 42%), var(--surface);
}
.processing-card .result-status { margin: 0 auto; }
.processing-card .result-title {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: clamp(40px, 7vw, 58px);
}
.processing-card .processing-lede {
  max-width: 420px;
  margin: 14px auto 0;
  font-size: 14px;
}
.processing-card .progress-rail {
  width: min(420px, 100%);
  height: 3px;
  margin: 32px auto 0;
}
.processing-card .progress-rail span {
  width: 28%;
  animation: loading-sweep 1.6s cubic-bezier(.45,0,.55,1) infinite;
}
.processing-card .processing-elapsed { margin: 16px 0 0; }
.hash-explainer dd { color: #929cab; font-size: 12px; line-height: 1.65; }
.anchored-hash { background: #0b0e12; }
.transaction-at { display: inline; }
@keyframes loading-sweep {
  0% { transform: translateX(-130%); opacity: .5; }
  45%,55% { opacity: 1; }
  100% { transform: translateX(360%); opacity: .5; }
}

/* Turnstile is pre-rendered invisibly, then revealed and executed when Capture URL is clicked. */
.turnstile-slot {
  width: 100%;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: max-height .24s cubic-bezier(.22,.75,.25,1), margin-top .24s cubic-bezier(.22,.75,.25,1), opacity .18s ease .02s, transform .22s ease;
}
.turnstile-slot.is-active {
  max-height: 90px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}
.turnstile-slot.is-verified {
  transition-duration: .5s;
}

@media (prefers-reduced-motion: reduce) {
  .turnstile-slot { transition: none; transform: none; }
}

.turnstile-error {
  margin: 10px 0 0;
  color: #f6a8a8;
  font-size: 0.82rem;
  line-height: 1.45;
}
