:root {
    --bg: #0b0b0b;
    --card-bg: #141414;
    --card-border: #ffffff12;
    --yellow: #f3ba2f;
    --yellow-dim: #f3ba2f1f;
    --red: #f04040;
    --text: #fff;
    --text-muted: #666;
    --desc-bg: #f3ba2f0d;
    --desc-border: #f3ba2f;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

* {
    box-sizing: border-box;
    margin: 0;
    padding:0
}

html, body {
    background: var(--bg);
    height: 100%;
    font-family: var(--font);
    color: var(--text);
    -webkit-font-smoothing:antialiased
}

#root {
    flex-direction: column;
    min-height: 100%;
    display:flex
}

.app-bg {
    background: radial-gradient(ellipse 70% 30% at 50% 15%, #f3ba2f21 0%, transparent 100%), radial-gradient(ellipse 40% 15% at 50% 12%, #ffdc6433 0%, transparent 100%), radial-gradient(ellipse 100% 50% at 50% 15%, #f3a0140f 0%, transparent 100%), var(--bg);
    flex: 1;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px 16px;
    display:flex
}

.ban-screen {
    text-align: center;
    padding:12px 8px 24px
}

.ban-screen-icon {
    filter: grayscale(.2);
    margin-bottom: 16px;
    font-size:48px
}

.ban-screen .step-title {
    color:var(--red)
}

.verify-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 0;
    animation: .4s fadeUp;
    overflow: hidden;
    box-shadow:0 24px 60px #0009
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform:translateY(16px)
    }

    to {
        opacity: 1;
        transform:translateY(0)
    }
}

.profile-image-wrap {
    justify-content: center;
    display:flex
}

.profile-avatar {
    object-fit: cover;
    border: 3px solid #f3ba2f73;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    box-shadow:0 8px 32px #00000073
}

.profile-avatar--initials {
    color: var(--yellow);
    letter-spacing: 2px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    display:flex
}

.center-text {
    text-align: center;
    padding:48px 0
}

.card-header {
    border-bottom: 1px solid var(--card-border);
    align-items: center;
    gap: 10px;
    padding: 18px 22px 16px;
    display:flex
}

.header-logo {
    object-fit: cover;
    border-radius: 7px;
    width: 28px;
    height:28px
}

.header-title {
    color: var(--yellow);
    letter-spacing: 1px;
    flex: 1;
    font-size: .95rem;
    font-weight:700
}

.step-indicator {
    align-items: center;
    gap: 5px;
    display:flex
}

.step-dot {
    background: #ffffff26;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    transition:all .3s
}

.step-dot.active {
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
    border-radius: 3px;
    width:18px
}

.step-dot.done {
    background:#f3ba2f66
}

.step-body {
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px 22px;
    display:flex
}

.step-body.center {
    text-align: center;
    align-items:center
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform:translateY(8px)
    }

    to {
        opacity: 1;
        transform:translateY(0)
    }
}

.fade-in {
    animation:.3s fadeIn
}

.gift-image-wrap {
    background: linear-gradient(145deg, #1e1800, #2e2200);
    border-radius: 18px;
    align-self: center;
    width: 150px;
    height: 150px;
    position: relative;
    overflow:hidden
}

.gift-image {
    object-fit: cover;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    display:block
}

.on-hold-badge {
    letter-spacing: 1.2px;
    color: #aaa;
    white-space: nowrap;
    background: #1a1a1a;
    border: 1px solid #ffffff1f;
    border-radius: 100px;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform:translate(-50%)
}

.on-hold-dot {
    background: var(--red);
    width: 6px;
    height: 6px;
    box-shadow: 0 0 6px var(--red);
    border-radius:50%
}

.action-header {
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    display:flex
}

.red-dot {
    background: var(--red);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top:6px
}

.action-title {
    font-size: 1rem;
    font-weight: 700;
    line-height:1.4
}

.action-desc {
    background: var(--desc-bg);
    border-left: 3px solid var(--yellow);
    color: #c8c8c8;
    border-radius: 0 10px 10px 0;
    padding: 13px 15px;
    font-size: .92rem;
    line-height:1.65
}

.action-desc strong, .action-desc .gift-name {
    color: #fff;
    letter-spacing: .01em;
    font-size: 1rem;
    font-weight:700
}

.action-desc .profile-who-link {
    color: var(--yellow);
    font-weight: 600;
    text-decoration:none
}

.action-desc .profile-who-link:active {
    opacity:.85
}

.step-tgs {
    align-self: center;
    margin-bottom:4px
}

.step-icon-wrap {
    align-self: center;
    margin-bottom: 4px;
    font-size: 3.5rem;
    line-height:1
}

.verify-lottie {
    margin: 0 auto;
    background:0 0 !important
}

.verify-lottie svg {
    background:0 0 !important
}

.step-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight:700
}

.step-desc {
    color: #999;
    text-align: center;
    font-size: .875rem;
    line-height:1.6
}

.step-desc strong {
    color:#fff
}

.input-field {
    color: #fff;
    width: 100%;
    font-size: 1rem;
    font-family: var(--font);
    background: #ffffff0d;
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    outline: none;
    padding: 15px 16px;
    transition:all .25s
}

.input-field:focus {
    border-color: var(--yellow);
    box-shadow:0 0 0 3px #f3ba2f1a
}

.tg-popup-notice {
    color: #ccc;
    background: #f3ba2f14;
    border: 1px solid #f3ba2f59;
    border-radius: 12px;
    margin: 4px 0 14px;
    padding: 12px 14px;
    font-size: .82rem;
    line-height:1.5
}

.tg-popup-notice__lead {
    color: #eee;
    margin-bottom:10px
}

.tg-popup-notice__lead strong {
    color:var(--yellow)
}

.tg-popup-notice__req {
    color: #999;
    border-top: 1px solid #ffffff14;
    margin: 0;
    padding-top: 10px;
    font-size:.78rem
}

.tg-popup-notice__req strong {
    color:#e8c547
}

.mrkt-confirm-panel {
    background: #f3ba2f0f;
    border: 1px solid #f3ba2f33;
    border-radius: 16px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    display:flex
}

.mrkt-confirm-pulse {
    background: #f3ba2f1f;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    animation: 2s ease-in-out infinite mrktPulse;
    display:flex
}

.mrkt-confirm-logo {
    object-fit: cover;
    border-radius: 10px;
    width: 40px;
    height:40px
}

@keyframes mrktPulse {
    0%, to {
        box-shadow:0 0 #f3ba2f59
    }

    50% {
        box-shadow:0 0 0 14px #f3ba2f00
    }
}

.mrkt-confirm-status {
    color: var(--yellow);
    text-align: center;
    min-height: 1.35em;
    font-size: .9rem;
    font-weight:600
}

.mrkt-confirm-steps {
    color: #888;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    font-size: .8rem;
    line-height: 1.45;
    list-style: none;
    display:flex
}

.mrkt-confirm-steps li {
    padding-left: 18px;
    position:relative
}

.mrkt-confirm-steps li:before {
    content: "";
    background: var(--yellow);
    opacity: .7;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    position: absolute;
    top: .45em;
    left:0
}

.verify-btn {
    background: var(--yellow);
    color: #0b0b0b;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    border: none;
    border-radius: 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px;
    transition: all .25s;
    display:flex
}

.verify-btn:hover:not(:disabled) {
    background: #e0aa29;
    transform: translateY(-1px);
    box-shadow:0 6px 20px #f3ba2f40
}

.verify-btn:disabled {
    color: #555;
    cursor: not-allowed;
    background:#ffffff1a
}

.verify-btn.outline {
    color: var(--yellow);
    background: 0 0;
    border:1px solid #f3ba2f59
}

.verify-btn.outline:hover:not(:disabled) {
    box-shadow: none;
    background:#f3ba2f14
}

.back-btn {
    color: var(--text-muted);
    cursor: pointer;
    font-size: .85rem;
    font-family: var(--font);
    background: 0 0;
    border: none;
    align-self: center;
    padding: 4px 8px;
    transition:color .2s
}

.back-btn:hover {
    color:#999
}

.keep-open-notice {
    color: #e8c547;
    background: #f3ba2f1a;
    border: 1px solid #f3ba2f59;
    border-radius: 10px;
    align-items: flex-start;
    gap: 10px;
    margin: 0 16px 12px;
    padding: 10px 12px;
    font-size: .78rem;
    line-height: 1.45;
    display:flex
}

.keep-open-notice--compact {
    margin: 12px 0 0;
    font-size:.75rem
}

.keep-open-notice__icon {
    width: 18px;
    height: 18px;
    color: var(--yellow);
    background: #f3ba2f40;
    border-radius: 50%;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: .7rem;
    font-weight: 700;
    display:flex
}

.hint-text {
    text-align: center;
    color: var(--text-muted);
    font-size:.8rem
}

.auth-error {
    color: var(--red);
    text-align: center;
    background: #f0404014;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .85rem;
    line-height:1.45
}

.dev-section {
    background: #ffffff08;
    border: 1px dashed #ffffff1a;
    border-radius: 12px;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    display:flex
}

.dev-label {
    color: #555;
    text-transform: uppercase;
    letter-spacing: .8px;
    text-align: center;
    font-size:.72rem
}

.verify-message {
    color: #999;
    text-align: center;
    min-height: 1.4em;
    font-size:.9rem
}

.progress-bar-wrap {
    background: #ffffff14;
    border-radius: 100px;
    width: 100%;
    height: 6px;
    overflow:hidden
}

.progress-bar {
    background: linear-gradient(90deg, #f3ba2f, #ffe07a);
    border-radius: 100px;
    height: 100%;
    transition: width .4s;
    box-shadow:0 0 10px #f3ba2f80
}

.progress-pct {
    color: var(--text-muted);
    font-size:.8rem
}

.secured-footer {
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    gap: 7px;
    font-size: .68rem;
    font-weight: 600;
    display:flex
}

.footer-logo {
    object-fit: cover;
    border-radius: 3px;
    width: 14px;
    height: 14px
}
