.claim-verifier {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  margin-bottom: 22px;
}
.explorer-claim-cell { align-items: flex-start; display: flex; flex-direction: column; gap: 8px; }
.explorer-claim-action { align-items: center; background: var(--yellow); border: 1px solid var(--yellow); border-radius: 999px; color: #151208; display: inline-flex; font: 800 12px/1 DM Sans, sans-serif; justify-content: center; min-height: 36px; min-width: 88px; padding: 0 18px; text-decoration: none; }
.explorer-claim-action:hover,
.explorer-claim-action:focus-visible { background: #ffe24d; border-color: #ffe24d; outline: 0; }
.claim-detail-page { margin: 0 auto; max-width: 1180px; padding: 72px 28px 90px; }
.claim-detail-loading,
.claim-detail-error { background: #0d0d0d; border: 1px solid var(--line); border-radius: 20px; margin-top: 18px; padding: 42px; }
.claim-detail-hero { align-items: center; display: flex; gap: 28px; margin: 20px 0 30px; }
.claim-detail-hero > img { background: #111; border: 1px solid #393116; border-radius: 22px; height: 116px; object-fit: cover; width: 116px; }
.claim-detail-hero h1 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -.055em; line-height: .95; margin: 12px 0; }
.claim-detail-hero p { color: var(--muted); font-size: 17px; margin: 0; }
.claim-detail-badge { border: 1px solid currentColor; border-radius: 999px; display: inline-block; font: 700 11px/1 DM Mono, monospace; letter-spacing: .08em; padding: 8px 11px; text-transform: uppercase; }
.claim-detail-badge.secured { color: #55d89c; }
.claim-detail-badge.pending { color: var(--yellow); }
.claim-detail-badge.expired { color: #ef8b78; }
.claim-detail-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.claim-detail-grid.allocation-grid { grid-template-columns: repeat(4, 1fr); }
.claim-detail-grid article { background: linear-gradient(145deg, #151307, #0a0a0a 65%); border: 1px solid #302a14; border-radius: 18px; min-width: 0; padding: 24px; }
.claim-detail-grid small,
.claim-detail-footer small { color: #a79647; display: block; font: 700 10px/1.3 DM Mono, monospace; letter-spacing: .1em; }
.claim-detail-grid strong { display: block; font-size: clamp(23px, 3vw, 38px); letter-spacing: -.035em; margin: 16px 0 8px; overflow-wrap: anywhere; }
.claim-detail-grid span { color: var(--muted); font-size: 12px; }
.claim-detail-grid .allocation-source-link { color: var(--yellow); display: inline-block; font-size: 12px; font-weight: 750; margin-top: 12px; text-decoration: none; }
.claim-detail-grid .allocation-source-link:hover,
.claim-detail-grid .allocation-source-link:focus-visible { color: #ffe24d; outline: 0; text-decoration: underline; }
.claim-detail-body { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; margin-top: 14px; }
.claim-detail-body > section { background: #0d0d0d; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.claim-detail-body h2 { font-size: 32px; margin: 10px 0; }
.claim-detail-body p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.giggle-routing-card { align-items: center; background: linear-gradient(135deg, #211b05, #0d0d0d 58%); border: 1px solid #665817; border-radius: 22px; display: grid; gap: 28px; grid-template-columns: 132px 1fr; margin-bottom: 14px; padding: 28px; }
.giggle-routing-card > img { background: #ffd400; border: 1px solid #756516; border-radius: 22px; height: 132px; object-fit: contain; padding: 10px; width: 132px; }
.giggle-routing-card h2,
.giggle-receipts h2 { font-size: clamp(27px, 4vw, 42px); letter-spacing: -.035em; margin: 9px 0; }
.giggle-routing-card p:not(.eyebrow) { color: var(--muted); line-height: 1.6; margin: 0; }
.giggle-wallet-card { align-items: center; background: #0d0d0d; border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 24px; justify-content: space-between; margin-top: 14px; padding: 24px; }
.giggle-wallet-card small { color: #a79647; display: block; font: 700 10px/1.3 DM Mono, monospace; letter-spacing: .1em; }
.giggle-wallet-card code { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.giggle-wallet-card a,
.giggle-receipts a { color: var(--yellow); font-weight: 750; text-decoration: none; white-space: nowrap; }
.giggle-receipts { background: #0d0d0d; border: 1px solid var(--line); border-radius: 18px; margin-top: 14px; padding: 28px; }
.giggle-receipts ul { display: grid; gap: 0; list-style: none; margin: 22px 0 0; padding: 0; }
.giggle-receipts li { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 16px 0; }
.giggle-receipts li:last-child { padding-bottom: 0; }
.giggle-receipts li span { display: grid; gap: 5px; }
.giggle-receipts li small { color: var(--muted); }
.claim-detail-form-slot { margin-top: 14px; }
.claim-detail-verifier { margin-bottom: 0; }
.claim-detail-timeline ol { list-style: none; margin: 20px 0 0; padding: 0; }
.claim-detail-timeline li { border-left: 1px solid #383838; display: flex; flex-direction: column; gap: 4px; margin-left: 7px; padding: 0 0 24px 24px; position: relative; }
.claim-detail-timeline li::before { background: #2d2d2d; border: 3px solid #0d0d0d; border-radius: 50%; content: ""; height: 13px; left: -7px; position: absolute; top: 0; width: 13px; }
.claim-detail-timeline li.complete::before { background: #55d89c; }
.claim-detail-timeline li.current::before { background: var(--yellow); }
.claim-detail-timeline li.expired::before { background: #ef8b78; }
.claim-detail-timeline li span { color: var(--muted); font-size: 12px; }
.claim-detail-footer { align-items: flex-end; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; margin-top: 26px; padding-top: 22px; }
.claim-detail-footer code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.claim-detail-footer a { color: var(--yellow); text-decoration: none; }
@media (max-width: 760px) {
  .claim-detail-page { padding: 46px 18px 70px; }
  .claim-detail-hero { align-items: flex-start; flex-direction: column; }
  .claim-detail-grid,
  .claim-detail-body { grid-template-columns: 1fr; }
  .giggle-routing-card { grid-template-columns: 76px 1fr; padding: 20px; }
  .giggle-routing-card > img { border-radius: 15px; height: 76px; padding: 6px; width: 76px; }
  .giggle-wallet-card,
  .giggle-receipts li { align-items: flex-start; flex-direction: column; }
  .claim-detail-footer { align-items: flex-start; flex-direction: column; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .claim-detail-grid.allocation-grid { grid-template-columns: repeat(2, 1fr); }
}
.claim-help-button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4b410f;
  border-radius: 0;
  color: #e7d77d;
  cursor: pointer;
  display: block;
  font: 600 13px/1.4 DM Sans, sans-serif;
  margin-top: 20px;
  padding: 0 0 4px;
  text-align: left;
  width: fit-content;
}
.claim-help-button span {
  color: var(--text);
  font-weight: 700;
}
.claim-help-button b {
  display: inline-block;
  font-weight: 500;
  margin-left: 4px;
  transition: transform 160ms ease;
}
.claim-help-button:hover,
.claim-help-button:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 0;
}
.claim-help-button:hover b,
.claim-help-button:focus-visible b { transform: translateX(3px); }
.claim-tutorial-modal {
  background: transparent;
  border: 0;
  color: var(--text);
  max-height: calc(100dvh - 32px);
  max-width: 980px;
  padding: 0;
  width: calc(100% - 32px);
}
.claim-tutorial-modal::backdrop {
  background: rgb(3 3 3 / 82%);
  backdrop-filter: blur(5px);
}
.claim-tutorial-shell {
  background: #0b0b0b;
  border: 1px solid #3a3215;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 55%);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
}
.claim-tutorial-header,
.claim-tutorial-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.claim-tutorial-header {
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.claim-tutorial-header h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.claim-tutorial-close {
  align-items: center;
  background: transparent;
  border: 1px solid #383838;
  border-radius: 50%;
  color: var(--text);
  display: inline-flex;
  cursor: pointer;
  font: 400 22px/1 DM Sans, sans-serif;
  height: 36px;
  justify-content: center;
  padding: 0 0 2px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
  width: 36px;
}
.claim-tutorial-close:hover,
.claim-tutorial-close:focus-visible {
  background: #171305;
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 0;
}
.claim-tutorial-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  min-height: 470px;
}
.claim-tutorial-visual {
  align-items: center;
  background: #030303;
  display: flex;
  justify-content: center;
  margin: 0;
  min-width: 0;
  padding: 20px;
}
.claim-tutorial-visual img {
  aspect-ratio: 1;
  border: 1px solid #302a14;
  border-radius: 15px;
  display: block;
  height: auto;
  max-height: 60dvh;
  object-fit: contain;
  width: 100%;
}
.claim-tutorial-copy {
  align-self: center;
  padding: 34px;
}
.claim-tutorial-copy > span {
  color: var(--yellow);
  font: 700 11px/1.3 DM Mono, monospace;
  letter-spacing: 0.12em;
}
.claim-tutorial-copy h4 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98;
  margin: 14px 0 18px;
}
.claim-tutorial-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.claim-tutorial-copy .claim-tutorial-note {
  background: #171305;
  border-left: 3px solid var(--yellow);
  color: #f6e7a6;
  font-size: 12px;
  margin-top: 24px;
  padding: 12px 14px;
}
.claim-tutorial-footer {
  border-top: 1px solid var(--line);
  gap: 20px;
  padding: 16px 24px;
}
.claim-tutorial-dots {
  display: flex;
  gap: 8px;
}
.claim-tutorial-dot {
  background: #383838;
  border: 0;
  border-radius: 999px;
  height: 8px;
  padding: 0;
  width: 26px;
}
.claim-tutorial-dot[aria-current="step"] {
  background: var(--yellow);
}
.claim-tutorial-actions {
  display: flex;
  gap: 10px;
}
.claim-tutorial-actions button {
  align-items: center;
  appearance: none;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: 700 13px/1 DM Sans, sans-serif;
  height: 42px;
  justify-content: center;
  min-width: 112px;
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
  width: auto;
}
.claim-tutorial-actions button:last-child {
  background: var(--yellow);
  color: #121008;
}
.claim-tutorial-actions button:last-child:hover,
.claim-tutorial-actions button:last-child:focus-visible {
  background: #ffe24d;
  border-color: #ffe24d;
  outline: 0;
}
.claim-tutorial-actions button:first-child {
  background: transparent;
  border-color: #4b410f;
  color: #e6d36d;
}
.claim-tutorial-actions button:first-child:hover:not(:disabled),
.claim-tutorial-actions button:first-child:focus-visible:not(:disabled) {
  background: #171305;
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 0;
}
.claim-tutorial-actions button:disabled {
  cursor: default;
  opacity: 0.28;
}
.claim-verifier h3 {
  font-size: 28px;
  margin: 8px 0;
}
.claim-verifier p {
  color: var(--muted);
}
#claim-proof:not([hidden]) {
  display: grid;
  gap: 12px;
}
#wallet-binding:not([hidden]) {
  display: grid;
  gap: 12px;
}
#claim-compose {
  text-align: center;
}
.wallet-summary {
  color: var(--muted);
  font: 11px/1.6 DM Mono;
  margin: 0;
}
.wallet-rails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.wallet-rails button[hidden] { display: none; }
.wallet-rails button[data-bound="true"] {
  background: #183928;
  color: #72f2a2;
  box-shadow: none;
}
.wallet-help {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.wallet-help[hidden] { display: none; }
.claimable-fees {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0d0a12;
}
.claimable-fees span { color: var(--muted); font: 10px DM Mono; }
.claimable-fees strong { white-space: pre-line; }
@media (max-width: 620px) {
  .wallet-rails { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .claim-verifier {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .claim-tutorial-modal {
    max-height: calc(100dvh - 16px);
    width: calc(100% - 16px);
  }
  .claim-tutorial-shell {
    max-height: calc(100dvh - 16px);
  }
  .claim-tutorial-stage {
    display: block;
    min-height: 0;
  }
  .claim-tutorial-visual {
    padding: 14px;
  }
  .claim-tutorial-visual img {
    max-height: 48dvh;
  }
  .claim-tutorial-copy {
    padding: 22px;
  }
  .claim-tutorial-copy h4 {
    font-size: 30px;
  }
}
@media (max-width: 620px) {
  .claim-tutorial-header {
    padding: 16px 18px;
  }
  .claim-tutorial-header h3 {
    font-size: 24px;
  }
  .claim-tutorial-visual img {
    max-height: 42dvh;
  }
  .claim-tutorial-copy {
    padding: 18px;
  }
  .claim-tutorial-copy h4 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .claim-tutorial-copy p {
    font-size: 14px;
  }
  .claim-tutorial-copy .claim-tutorial-note {
    margin-top: 16px;
  }
  .claim-tutorial-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px 18px;
  }
  .claim-tutorial-dots {
    justify-content: center;
  }
  .claim-tutorial-actions button {
    flex: 1;
    min-width: 0;
  }
}

.reconciliation-audit { margin-top: 32px; }
.reconciliation-audit li { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid #ffffff18; }
.reconciliation-audit a { overflow-wrap: anywhere; font-size: 12px; }
.reconciliation-audit .claim-detail-grid article strong { font-size: clamp(14px, 2vw, 20px); overflow-wrap: anywhere; }
.reconciliation-audit li, .reconciliation-audit li > * { min-width: 0; max-width: 100%; }
.reconciliation-audit li a { display: block; white-space: normal; word-break: break-all; }
