/* The entrance (login, signup, second factor, password reset): templates/dlight_admin/auth/entrance.html.
   Always dark: a live production wall behind, a glass card in front. */

:root {
  --bg: #05070d;
  --ink: #f4f6fb;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(10, 14, 24, 0.74);
  --brand: #0a5cd6;
  --brand-hover: #2a72e6;
  --brand-ink: #ffffff;
  --accent: #5b9dff;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.entrance {
  margin: 0; min-height: 100%; background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* ---- the wall: content being made, drifting in perspective ---- */
.wall { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wall-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 38% at 72% 42%, rgba(10, 92, 214, 0.42), transparent 70%),
    radial-gradient(30% 30% at 88% 88%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(35% 35% at 12% 10%, rgba(14, 165, 233, 0.14), transparent 70%);
  will-change: transform; animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.wall-stage {
  position: absolute; top: -12%; right: -6%; width: 78vw; height: 124%;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  perspective: 1400px; transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-22deg) rotateZ(8deg) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.wall-col { display: flex; flex-direction: column; gap: 22px; will-change: transform; animation: drift var(--dur, 40s) linear infinite; }
body.paused .wall *, body.paused .wall { animation-play-state: paused !important; }
.wall-col:nth-child(even) { animation-direction: reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0.96) 36%, rgba(5, 7, 13, 0.4) 64%, rgba(5, 7, 13, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}
.wall-grain {
  position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* the tiles of the wall */
.tile {
  position: relative; border-radius: 14px; overflow: hidden; flex: none; contain: layout paint;
  background: #0d1220; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tile-reel { aspect-ratio: 9 / 16; }
.tile-square { aspect-ratio: 4 / 5; }
.tile .shot { position: absolute; inset: 0; background-size: 200% 200%; animation: pan 14s ease-in-out infinite alternate; }
@keyframes pan { to { background-position: 100% 100%; } }
.tile .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); }
.tile .cap { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 1; display: grid; gap: 6px; }
.tile .cap b { font: 700 15px/1.15 var(--display); letter-spacing: -0.01em; color: #fff; }
.tile .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.tile .bar.short { width: 58%; }
.tile .tag {
  position: absolute; top: 10px; left: 10px; z-index: 1; font: 600 10.5px/1 var(--font); color: #fff;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); padding: 5px 8px; border-radius: 999px;
  display: inline-flex; gap: 6px; align-items: center;
}
.tile .play {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; z-index: 1;
  border-radius: 50%; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); display: grid; place-items: center;
}
.tile .play::before { content: ""; margin-left: 3px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tile .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.15); z-index: 2; }
.tile .progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: progress var(--len, 9s) linear infinite; }
@keyframes progress { to { transform: scaleX(1); } }
.tile .slides { position: absolute; inset: 0; display: flex; width: 300%; will-change: transform; animation: swipe 9s cubic-bezier(.7, 0, .3, 1) infinite; }
.tile .slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); }
.tile .slide { flex: 1; background-size: 160% 160%; background-position: 30% 30%; }
@keyframes swipe { 0%, 26% { transform: translateX(0); } 33%, 59% { transform: translateX(-33.333%); } 66%, 92% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.tile-post .lines.typing i { transform-origin: left; animation: type 5.4s ease-in-out infinite; }
@keyframes type { 0% { transform: scaleX(0); } 22%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0.4; } }
.tile-chip.pulse { animation: pulse 8.5s ease-in-out infinite; }
@keyframes pulse { 0%, 70%, 100% { transform: scale(1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
  78% { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(91, 157, 255, 0.55), 0 20px 50px -10px rgba(10, 92, 214, 0.6); } }
.tile .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; z-index: 1; }
.tile .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.tile .dots i:first-child { background: #fff; }

.tile-post { padding: 14px; display: grid; gap: 10px; background: #0f1524; }
.tile-post .who { display: flex; gap: 10px; align-items: center; }
.tile-post .ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #0a66c2, #5b9dff); flex: none; }
.tile-post .who b { display: block; font: 600 12px/1.2 var(--font); }
.tile-post .who small { color: var(--faint); font-size: 10.5px; }
.tile-post .lines { display: grid; gap: 7px; }
.tile-post .lines i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.tile-post .lines i:nth-child(2) { width: 92%; } .tile-post .lines i:nth-child(3) { width: 74%; }
.tile-post .doc { aspect-ratio: 4 / 5; border-radius: 8px; background: linear-gradient(160deg, #0a5cd6, #0b1d44); display: grid; place-items: center; font: 700 16px/1.1 var(--display); text-align: center; padding: 14px; }
.tile-post .li { position: absolute; top: 14px; right: 14px; color: #5b9dff; font-size: 14px; }

.tile-metric { padding: 14px; display: grid; gap: 10px; background: #0f1524; }
.tile-metric .k { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.tile-metric .row { display: grid; grid-template-columns: 84px 1fr 34px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.tile-metric .row span:last-child { text-align: right; color: #fff; font-weight: 600; }
.tile-metric .track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tile-metric .track i { display: block; height: 100%; border-radius: 3px; background: var(--ok); transform-origin: left; animation: grow 3.2s cubic-bezier(.2, .7, .2, 1) infinite alternate; }
.tile-metric .track i.low { background: var(--warn); }
@keyframes grow { from { transform: scaleX(0.35); } }
.tile-metric .role { justify-self: start; font: 600 11px/1 var(--font); padding: 5px 9px; border-radius: 999px; background: var(--brand); }

.tile-time { padding: 12px; display: grid; gap: 8px; background: #0f1524; }
.tile-time .k { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.tile-time .wave { height: 34px; display: flex; gap: 2px; align-items: center; }
.tile-time .wave { animation: wave 1.6s ease-in-out infinite alternate; transform-origin: center; }
.tile-time .wave i { flex: 1; border-radius: 2px; background: var(--accent); opacity: 0.75; }
@keyframes wave { from { transform: scaleY(0.55); } }
.tile-time .clips { display: grid; grid-template-columns: 2fr 1fr 3fr 1.5fr; gap: 3px; }
.tile-time .clips i { height: 18px; border-radius: 3px; }

.tile-chip {
  padding: 12px 14px; display: flex; gap: 10px; align-items: center; background: #0f1524; font-size: 12px; color: var(--muted);
}
.tile-chip .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; }
.tile-chip b { display: block; color: #fff; font-size: 12.5px; }

/* ---- the page ---- */
.entrance-main {
  position: relative; z-index: 1; min-height: 100vh; max-width: 1240px; margin: 0 auto; padding: 48px 32px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 440px); gap: 64px; align-items: center;
}
.hero { display: grid; gap: 22px; max-width: 560px; animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-logo { height: 30px; width: auto; justify-self: start; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font: 600 12px/1 var(--font); letter-spacing: 0.32em; text-transform: uppercase; }
.hero-eyebrow span { font-size: 0; width: 28px; height: 1px; background: currentColor; }
.hero-title { margin: 0; font: 600 clamp(40px, 5.4vw, 68px)/1.02 var(--display); letter-spacing: -0.035em; }
.hero-title em {
  font-style: normal; background: linear-gradient(92deg, #ffffff 0%, #8fbaff 45%, #5b9dff 70%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
/* the formats, typed and erased (login.js); without JS, the first one stands */
/* a request being typed, in a bar like the Studio's chat */
.hero-prompt { display: flex; align-items: center; gap: 12px; max-width: 520px; min-height: 54px; margin-top: 2px; padding: 0 8px 0 18px;
  border: 1px solid rgba(91, 157, 255, 0.35); background: rgba(10, 14, 24, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -25px rgba(10, 92, 214, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.hero-prompt > i { color: var(--accent); font-size: 14px; flex: none; }
.hero-prompt .hero-rotator { flex: 1; min-width: 0; overflow: hidden; text-overflow: clip; font-size: 15px; }
.hero-send { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: #0a5cd6; color: #fff; font-size: 13px; }
.hero-rotator { color: var(--ink); font-weight: 500; white-space: nowrap; }
.hero-rotator b { font-weight: 500; }
.hero-rotator b ~ b { display: none; }
.hero-rotator.typing b { display: none; }
.tw-text { font-weight: 500; }
.tw-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.14em; background: var(--accent); animation: tw-blink 1.05s steps(1) infinite; }
.hero-rotator.busy .tw-caret { animation: none; }
@keyframes tw-blink { 50% { opacity: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; color: var(--muted); font-size: 14.5px; }
.hero-points li { display: flex; gap: 12px; align-items: center; }
.hero-points i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: rgba(91, 157, 255, 0.1); border: 1px solid rgba(91, 157, 255, 0.18); font-size: 13px; }

/* ---- the card ---- */
.card {
  position: relative; display: grid; gap: 18px; padding: 34px 32px 26px; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: rise 0.9s 0.12s cubic-bezier(.2, .7, .2, 1) both;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(91, 157, 255, 0.55), transparent 35%, transparent 70%, rgba(167, 139, 250, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card-logo { display: none; height: 26px; width: auto; justify-self: center; }
.card-foot { margin: 4px 0 0; text-align: center; font-size: 11.5px; color: var(--faint); }
.card h1, .dl-auth-title { margin: 0 0 2px; font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; }
.card h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.card p { margin: 0; }
.card a, .dl-auth-link { color: #8fbaff; text-decoration: none; font-weight: 600; }
.card a:hover, .dl-auth-link:hover { color: #fff; }

/* the package's form, restyled */
.dl-auth-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.dl-auth-form--hidden { display: none; }
.dl-auth-form__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.input-group { display: grid; gap: 7px; width: 100%; }
.input-group .form-label { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.input-group .text-danger { color: var(--err); margin-left: 2px; }
.form-control {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; font: 15px var(--font); color: var(--ink);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
textarea.form-control { height: auto; padding: 12px 14px; }
.form-control::placeholder { color: var(--faint); }
.form-control:hover { border-color: rgba(255, 255, 255, 0.26); }
.form-control:focus { border-color: var(--accent); background: rgba(91, 157, 255, 0.06); box-shadow: 0 0 0 4px rgba(91, 157, 255, 0.16); }
.form-control:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 40px #101626 inset; caret-color: var(--ink); }
.is-invalid .form-control { border-color: var(--err); }
.form-check { display: flex; gap: 10px; align-items: center; }
.form-check-input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.form-check-label { font-size: 13.5px; color: var(--muted); }
.btn, .dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent; font: 600 15px var(--font); cursor: pointer; text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.dl-btn--primary { color: var(--brand-ink); background: linear-gradient(180deg, #2a72e6, var(--brand)); box-shadow: 0 10px 30px -8px rgba(10, 92, 214, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.dl-btn--primary:hover { background: linear-gradient(180deg, #3b82f6, #1d6ae0); }
.dl-btn--primary:active { transform: translateY(1px); }
.dl-btn--secondary { color: var(--ink); background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
.dl-btn--secondary:hover { background: rgba(255, 255, 255, 0.08); }
.dl-btn--danger { color: #fff; background: #b91c1c; }
.btn-link { width: auto; height: auto; padding: 0; background: none; color: #8fbaff; }
.btn-sm { width: auto; height: 36px; font-size: 13px; }
.btn.loading { opacity: 0.8; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dl-auth-form__actions > a.dl-auth-link { text-align: center; font-size: 13px; margin-top: 2px; }
.horizontal, hr { border: 0; height: 1px; margin: 4px 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.dl-callout { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.dl-callout--danger { border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); color: #fecaca; }
.dl-callout--info { border-color: rgba(91, 157, 255, 0.35); background: rgba(91, 157, 255, 0.08); }
.dl-auth__messages { display: grid; gap: 8px; }
.dl-auth-providers { display: grid; gap: 10px; }
.dl-auth-providers form { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; } td, th { padding: 6px; border-bottom: 1px solid var(--line); text-align: left; }
code { font-family: ui-monospace, Menlo, monospace; background: rgba(255, 255, 255, 0.06); padding: 2px 6px; border-radius: 6px; }

/* the utility classes the package's templates use */
.d-flex { display: flex; } .flex-column { flex-direction: column; } .gap-2 { gap: 10px; } .gap-4 { gap: 16px; }
.w-100 { width: 100%; } .text-center { text-align: center; } .text-xs { font-size: 12.5px; } .text-sm { font-size: 13.5px; }
.text-secondary { color: var(--muted); } .text-danger { color: var(--err); } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 4px; }
.mt-n3 { margin-top: -8px; } .my-2 { margin: 8px 0; } .font-weight-bold { font-weight: 700; } .font-weight-normal { font-weight: 400; }
.h5 { font-size: 22px; } .h6 { font-size: 14px; } .m-0 { margin: 0; } .d-none { display: none; }

/* ---- smaller screens ---- */
@media (max-width: 980px) {
  .entrance-main { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px 40px; max-width: 520px; align-content: center; }
  .hero { gap: 14px; text-align: left; }
  .hero-logo, .hero-points, .hero-eyebrow { display: none; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 15.5px; }
  .card { padding: 26px 20px 20px; }
  .card-logo { display: block; }
  .wall-stage { width: 150vw; right: -45%; opacity: 0.55; }
  .wall-shade { background: linear-gradient(180deg, rgba(5, 7, 13, 0.75), rgba(5, 7, 13, 0.92) 55%, var(--bg)); }
}
/* "Reduzir movimento" on: a calm version, not a frozen one — the wall drifts very slowly; no pointer
   parallax, no pops, swipes or quick swaps */
@media (prefers-reduced-motion: reduce) {
  .wall-col { animation-duration: calc(var(--dur, 40s) * 3); }
  .tile .slides, .tile-chip.pulse, .tile-time .wave, .tile-metric .track i, .tile .shot, .tile-post .lines.typing i,
  .hero, .card, .wall-glow { animation: none !important; }
  .wall-stage { transition: none !important; }
}

/* the signup: a wider card, the fields in two columns (each error and the actions take the whole row) */
.form-hint { margin: -4px 0 0; font-size: 12.5px; color: var(--faint); grid-column: 1 / -1; }
@media (min-width: 981px) {
  .entrance-main:has(.card-wide) { grid-template-columns: minmax(0, 1fr) minmax(520px, 600px); }
  .card-wide .dl-auth-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .card-wide .dl-auth-form > *:not(.input-group) { grid-column: 1 / -1; }
}

/* our own validation messages (the browser's come in its language, as a bubble) */
.field-msg { margin: -2px 0 0; font-size: 12px; color: var(--err); }
.input-group.is-invalid .form-control { border-color: var(--err); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14); }

/* the platform's language: square corners and the buttons as inside the Studio (caps, tracked).
   Round only what is round in life: the play button, a profile picture, the carousel dots, the spinner. */
.tile, .card, .card::before, .form-control, .btn, .dl-btn, .dl-callout, .hero-points i, .tile .tag, .tile-chip .ic,
.tile-metric .role, .tile-post .doc, .tile-metric .track, .tile-metric .track i, .tile .bar, .tile-post .lines i,
.tile-time .clips i, .tile-time .wave i, .tile .progress { border-radius: 0; }
.form-check-input { border-radius: 0; }
.dl-btn--primary, .dl-btn--secondary, .dl-btn--danger {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600;
}
.dl-btn--primary { background: var(--brand); box-shadow: 0 10px 30px -10px rgba(10, 92, 214, 0.65); }
.dl-btn--primary:hover { background: var(--brand-hover); }

/* the password's "mostrar" */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px !important; }
.pw-eye { position: absolute; top: 0; right: 0; bottom: 0; width: 46px; display: grid; place-items: center; background: none; border: 0;
  color: rgba(255, 255, 255, 0.5); font-size: 15px; cursor: pointer; transition: color 0.2s; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: #fff; }
.pw-eye:focus-visible { outline: 2px solid #5b9dff; outline-offset: -4px; }

/* the confirmation link's page: it confirms by itself */
.confirm-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 8px 0 4px; }
.confirm-state h1 { margin: 6px 0 0; }
.confirm-icon { position: relative; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; font-size: 20px;
  background: rgba(91, 157, 255, 0.12); border: 1px solid rgba(91, 157, 255, 0.4); }
.confirm-icon::after { content: ""; position: absolute; inset: -6px; border: 2px solid transparent; border-top-color: #5b9dff; animation: confirm-spin 0.9s linear infinite; }
@keyframes confirm-spin { to { transform: rotate(360deg); } }
.confirm-addr { margin: 0; font-weight: 600; color: #fff; word-break: break-all; }
.confirm-btn { width: 100%; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .confirm-icon::after { animation-duration: 2.4s; } }
.confirm-state.done .confirm-icon { color: #04130c; background: #34d399; border-color: #34d399; box-shadow: 0 0 40px -6px rgba(52, 211, 153, 0.6); }
.confirm-state.done .confirm-icon::after { display: none; }
.confirm-lead { margin: 0; color: var(--muted); }
.confirm-next { display: grid; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.confirm-next p { display: flex; gap: 12px; align-items: baseline; margin: 0; padding: 12px 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.confirm-next p + p { border-top: 1px solid var(--line); }
.confirm-next i { width: 16px; flex: none; text-align: center; color: var(--accent); }
.confirm-go, .confirm-go:visited { color: #fff !important; }
.confirm-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; text-decoration: none; }
