.verify{
  margin: 26px 12px 0;
  padding: 24px 20px;
  text-align: center;
}
.verify-brand{
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 18px;
}
.verify-brand .brandmark{
  font-family: var(--f-mono); font-size: 22px; color: var(--gold);
}
.verify-id-block{ text-align: left; }
.verify-id-label{
  font-family: var(--f-ui); font-size: 9.5px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-faint);
}
.verify-id-value{
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.03em;
  color: var(--gold); margin-top: 2px;
}

.verify-qr-wrap{
  display: flex; justify-content: center;
  padding: 14px; margin: 0 auto;
  width: 180px;
  background: #ffffff; /* QR теперь чёрно-белый — карточка вокруг него тоже белая, без цветового спора с тёмной темой */
  border: 1px solid var(--gold-line);
  border-radius: 18px;
}
.verify-qr{ width: 148px; height: 148px; }
.verify-qr canvas{ display: block; }

.verify-url{
  font-family: var(--f-mono); font-size: 11px; color: var(--text-faint);
  margin-top: 10px; letter-spacing: 0.02em;
}

.verify-actions{
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 20px;
}
/* Без градиентов — плоский фирменный золотой для главного действия (Сохранить),
   обводка без заливки для второстепенного (Поделиться). */
.verify-btn{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  font-family: var(--f-ui); font-weight: 700; font-size: 13px;
  border-radius: 14px; cursor: pointer;
}
.verify-btn:hover, .verify-btn:active{ background: var(--gold-soft); }
.verify-btn--primary{
  background: var(--gold);
  color: #17130b;
  border: 1px solid var(--gold);
}
.verify-btn--primary:hover, .verify-btn--primary:active{ background: var(--gold-bright); }
.verify-btn svg{ width: 17px; height: 17px; }

.verify-wallets{
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 8px;
}
.wallet-btn{
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--text); font-family: var(--f-ui); font-weight: 600; font-size: 12.5px;
  cursor: pointer;
}
.wallet-btn svg{ width: 16px; height: 16px; }
.wallet-btn:hover, .wallet-btn:active{ background: rgba(255,255,255,0.06); }

/* ===== Сканировать [v] Card — акцентная кнопка под Wallet-рядом ===== */
.verify-scan-btn{
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-top: 10px; padding: 14px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  color: var(--gold-bright); font-family: var(--f-ui); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.02em; cursor: pointer;
}
.verify-scan-btn:hover, .verify-scan-btn:active{ background: rgba(198,169,105,0.24); }
.verify-scan-btn svg{ width: 18px; height: 18px; }

/* ===== QR SCANNER overlay — перенесено из journey-scanner (тот же приём сканирования,
   другой контекст: сканируем чужой [v] Card, а не QR следующего экспоната) ===== */
.scan-overlay{
  position:fixed; inset:0; z-index:93; background: rgba(6,5,4,0.97);
  display:none; flex-direction:column; align-items:center; justify-content:center;
  padding: calc(20px + var(--safe-top)) 20px calc(20px + var(--safe-bottom));
}
.scan-overlay.open{ display:flex; }
.scan-header{
  width:100%; max-width:420px; display:flex; justify-content:space-between; align-items:center;
  margin-bottom:16px; font-family: var(--f-ui); font-size:11px; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase; color: var(--gold-bright);
}
.scan-close{
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--text);
  width:32px; height:32px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.scan-close svg{ width:15px; height:15px; }

.scan-viewfinder{
  position:relative; width:100%; max-width:420px; aspect-ratio:1/1;
  border-radius:16px; overflow:hidden; background:#0c0b09;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8);
}
.scan-viewfinder video{ width:100%; height:100%; object-fit:cover; }

.scan-corners span{
  position:absolute; width:32px; height:32px; z-index:3;
  filter: drop-shadow(0 0 6px rgba(199,155,99,0.5));
  transition: border-color .25s ease, filter .25s ease;
}
.sc-tl{ top:14px; left:14px; border-top:2.5px solid var(--gold-bright); border-left:2.5px solid var(--gold-bright); }
.sc-tr{ top:14px; right:14px; border-top:2.5px solid var(--gold-bright); border-right:2.5px solid var(--gold-bright); }
.sc-bl{ bottom:14px; left:14px; border-bottom:2.5px solid var(--gold-bright); border-left:2.5px solid var(--gold-bright); }
.sc-br{ bottom:14px; right:14px; border-bottom:2.5px solid var(--gold-bright); border-right:2.5px solid var(--gold-bright); }
.scan-corners.locked span{ border-color:#BFE3A8; filter: drop-shadow(0 0 10px rgba(191,227,168,0.85)); }

.scan-line{
  position:absolute; left:8%; right:8%; height:2px; top:0; z-index:2;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 15%, #fff 50%, var(--gold-bright) 85%, transparent 100%);
  box-shadow: 0 0 12px 2px rgba(199,155,99,0.85), 0 0 30px 6px rgba(199,155,99,0.35);
  opacity:0; pointer-events:none;
}
.scan-line.active{ animation: verifyScanSweep 1.9s ease-in-out infinite; }
@keyframes verifyScanSweep{
  0%{ top:10%; opacity:0; } 8%{ opacity:1; } 50%{ top:90%; opacity:1; } 92%{ opacity:1; } 100%{ top:10%; opacity:0; }
}

.scan-lockbox{ position:absolute; inset:0; z-index:3; pointer-events:none; opacity:0; transition: opacity .12s ease; }
.scan-lockbox.show{ opacity:1; }
.scan-lockbox polygon{ fill: rgba(191,227,168,0.12); stroke:#BFE3A8; stroke-width:2.5; filter: drop-shadow(0 0 8px rgba(191,227,168,0.8)); }

.scan-status{
  position:absolute; bottom:0; left:0; right:0; z-index:4;
  padding: 14px 16px 12px; background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  font-family: var(--f-ui); font-size:11.5px; letter-spacing:0.04em; text-align:center;
  color: rgba(255,255,255,0.85); transition: color .2s ease;
}
.scan-status.ok{ color:#B7D3A8; }

.scan-flash{ position:absolute; inset:0; z-index:5; opacity:0; pointer-events:none; background:#fff; }
.scan-flash.play{ animation: verifyScanShutterFlash .55s ease forwards; }
@keyframes verifyScanShutterFlash{ 0%{ opacity:0; } 15%{ opacity:0.9; } 100%{ opacity:0; } }

.scan-hint{ margin-top:16px; font-size:12.5px; color: var(--text-dim); text-align:center; max-width:340px; line-height:1.5; }

.scan-fallback{ margin-top:14px; display:flex; gap:8px; width:100%; max-width:420px; }
.scan-fallback input{
  flex:1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: var(--text);
  padding:10px 12px; border-radius:10px; font-family: var(--f-body); font-size:12.5px;
}
.scan-fallback input::placeholder{ color: var(--text-faint); }
.scan-fallback button{
  background: transparent; border: 1px solid var(--gold-line); color: var(--gold-bright);
  padding:10px 16px; border-radius:10px; font-family: var(--f-ui); font-weight:700;
  font-size:11px; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer;
}
