/* Scoped feedback only: existing page, intro and workspace animations are unchanged. */
.mt-verification-host[hidden] { display: none !important; }
#loginOverlay .login-card > .mt-verification-host {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    overflow: hidden;
}
.mt-verification {
    --vf-ink: #fff5df;
    --vf-muted: #d0c1a9;
    --vf-accent: #e1bd75;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 360px;
    padding: 30px 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(239, 210, 156, .38);
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 110%, rgba(184, 133, 55, .22), transparent 66%), linear-gradient(145deg, rgba(62, 56, 42, .88), rgba(28, 28, 22, .93));
    color: var(--vf-ink);
    box-shadow: inset 0 1px 0 rgba(255, 244, 215, .16), 0 16px 40px rgba(44, 31, 14, .13);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    text-align: center;
    font: inherit;
    animation: mtVerificationEnter 400ms ease both;
}
.mt-verification *, .mt-verification *::before, .mt-verification *::after { box-sizing: border-box; }
.mt-verification::before {
    content: '';
    position: absolute;
    inset: 7px;
    z-index: -1;
    border: 1px solid rgba(231, 198, 138, .12);
    border-radius: 16px;
    pointer-events: none;
}
#loginOverlay .mt-verification { height: 100%; min-height: 0; border-radius: inherit; }
.mt-verification:focus { outline: none; }
.mt-verification .mt-verification__eyebrow { color: #d7b777; letter-spacing: .22em; font-size: 10px; font-weight: 700; margin-bottom: 18px; }
.mt-verification .mt-verification__emblem {
    position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    border-radius: 50%; border: 1px solid rgba(255, 239, 211, .3);
    background: linear-gradient(145deg, rgba(255, 241, 210, .15), rgba(255, 241, 210, .02));
    box-shadow: inset 0 1px 1px rgba(255,255,255,.1), 0 0 0 6px rgba(221,187,121,.035);
}
.mt-verification .mt-verification__emblem svg { width: 22px; height: 22px; }
.mt-verification .mt-verification__emblem i { position: absolute; top: 5px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--vf-accent); box-shadow: 0 0 9px rgba(225,189,117,.55); }
.mt-verification .mt-verification__title { margin: 18px 0 6px; color: var(--vf-ink); font: inherit; font-size: clamp(20px, 3vw, 25px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.mt-verification .mt-verification__message { max-width: 290px; margin: 0; color: var(--vf-muted); font: inherit; font-size: 13px; line-height: 1.6; min-height: 21px; }
.mt-verification .mt-verification__stage { position: relative; flex: none; width: 240px; max-width: 100%; height: 136px; margin: 10px auto 6px; }
.mt-verification .mt-verification__tile {
    position: absolute; top: calc(50% - 24px); left: calc(50% - 24px); width: 48px; height: 48px;
    display: grid; place-items: center; border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,240,205,.18), rgba(255,240,205,.035));
    border: 1px solid rgba(245,222,179,.33); color: var(--vf-ink);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.16), 0 5px 16px rgba(0,0,0,.1);
    transform: translateX(var(--x));
}
.mt-verification .mt-verification__tile svg { width: 23px; height: 23px; }
.mt-verification[data-state="loading"] .mt-verification__tile { animation: mtVerificationPulse 1.45s calc(var(--tile) * .16s) ease-in-out infinite; }
.mt-verification .mt-verification__threads { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; stroke: #f4d497; stroke-width: 1.5; filter: drop-shadow(0 0 4px #e9bb66); }
.mt-verification .mt-verification__seal {
    position: absolute; left: calc(50% - 32px); top: calc(50% - 32px); width: 64px; height: 64px;
    display: grid; place-items: center; border-radius: 20px;
    background: linear-gradient(140deg, #f0d49c, #b8873d); color: #352719;
    border: 1px solid #f6dfa8; opacity: 0; transform: scale(.4);
    box-shadow: 0 0 0 6px rgba(222,178,95,.08), 0 0 34px rgba(222,178,95,.22), inset 0 1px 1px rgba(255,255,255,.6);
}
.mt-verification .mt-verification__seal::before, .mt-verification .mt-verification__seal::after { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(233,192,119,.22); border-radius: 28px; }
.mt-verification .mt-verification__seal::after { inset: -25px; border-radius: 36px; opacity: .45; }
.mt-verification .mt-verification__seal span { display: grid; place-items: center; }
.mt-verification .mt-verification__seal svg { width: 34px; height: 34px; stroke-width: 2; }
.mt-verification .mt-verification__seal .mt-verification__error { display: none; }
.mt-verification .mt-verification__bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; width: min(100%, 310px); min-height: 40px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(235,201,142,.23); background: rgba(218,182,114,.1); color: var(--vf-ink); font-size: 12px; font-weight: 600; overflow: hidden; transition: background .3s, color .3s; }
.mt-verification[data-state="loading"] .mt-verification__bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,231,181,.13), transparent); animation: mtVerificationShimmer 1.7s ease-in-out infinite; }
.mt-verification .mt-verification__dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.mt-verification .mt-verification__footnote { margin-top: 13px; color: var(--vf-muted); font-size: 10px; line-height: 1.6; }
.mt-verification[data-state="success"] .mt-verification__tile { animation: mtVerificationJoin 1s cubic-bezier(.25,.7,.25,1) both; }
.mt-verification[data-state="success"] .mt-verification__threads { animation: mtVerificationThreads 1s ease both; }
.mt-verification[data-state="success"] .mt-verification__seal { animation: mtVerificationSeal .5s .65s cubic-bezier(.2,.9,.3,1.2) both; }
.mt-verification[data-state="success"] .mt-verification__check svg { stroke-dasharray: 28; stroke-dashoffset: 28; animation: mtVerificationCheck .4s .9s ease forwards; }
.mt-verification[data-state="success"] .mt-verification__bar { background: linear-gradient(110deg, #e7c68b, #c6964e); color: #332718; border-color: #eacb91; }
.mt-verification[data-state="error"] .mt-verification__tile { opacity: 0; transition: opacity .15s; }
.mt-verification[data-state="error"] .mt-verification__seal { background: linear-gradient(140deg, #885345, #5b342d); border-color: #bd8574; color: #ffdfcd; box-shadow: 0 0 0 6px rgba(189,133,116,.06); animation: mtVerificationSeal .25s ease both; }
.mt-verification[data-state="error"] .mt-verification__seal::before, .mt-verification[data-state="error"] .mt-verification__seal::after { border-color: rgba(189,133,116,.2); }
.mt-verification[data-state="error"] .mt-verification__seal .mt-verification__check { display: none; }
.mt-verification[data-state="error"] .mt-verification__seal .mt-verification__error { display: grid; }
.mt-verification[data-state="error"] .mt-verification__bar { background: rgba(146,78,59,.2); border-color: rgba(189,133,116,.3); }
@keyframes mtVerificationEnter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mtVerificationPulse { 0%, 70%, 100% { border-color: rgba(245,222,179,.33); box-shadow: inset 0 1px 1px rgba(255,255,255,.16); } 30% { border-color: #f4d497; box-shadow: 0 0 0 3px rgba(237,200,137,.07), 0 0 20px rgba(237,200,137,.18), inset 0 1px 1px rgba(255,255,255,.3); } }
@keyframes mtVerificationJoin { 0% { transform: translate(var(--x),0); opacity: 1; } 48% { transform: translate(var(--join-x),var(--join-y)) scale(.85); opacity: 1; } 100% { transform: translate(0,0) scale(.25); opacity: 0; } }
@keyframes mtVerificationThreads { 0%, 100% { opacity: 0; } 40%, 65% { opacity: .9; } }
@keyframes mtVerificationSeal { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes mtVerificationCheck { to { stroke-dashoffset: 0; } }
@keyframes mtVerificationShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (max-width: 480px) { .mt-verification { min-height: 335px; padding: 24px 16px 20px; } .mt-verification .mt-verification__eyebrow { margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
    .mt-verification, .mt-verification *, .mt-verification *::before, .mt-verification *::after { animation: none !important; transition: none !important; }
    .mt-verification[data-state="success"] .mt-verification__tile { opacity: 0; }
    .mt-verification:is([data-state="success"], [data-state="error"]) .mt-verification__seal { opacity: 1; transform: none; }
    .mt-verification[data-state="success"] .mt-verification__check svg { stroke-dashoffset: 0; }
}
@media print { .mt-verification-host, .mt-verification { display: none !important; } }
