.pm-arcade-login {
    width: min(100%, 620px);
}

.pm-arcade-login h1 {
    margin-bottom: 18px;
}

.pm-auth-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.pm-auth-provider {
    min-height: 48px;
    border: 1px solid #343843;
    background: #202229;
    color: #fff;
}

.pm-auth-provider:hover {
    border-color: #717886;
}

.pm-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #9da3af;
    font-size: .82rem;
}

.pm-auth-divider::before,
.pm-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #30333c;
}

.pm-auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #f5f7fb;
    font-size: .86rem;
    font-weight: 800;
}

.pm-auth-field-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.pm-auth-field-row input {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #343843;
    border-radius: 10px;
    outline: none;
    background: #0d0f12;
    color: #fff;
    font: inherit;
}

.pm-auth-field-row input:focus {
    border-color: #85c700;
    box-shadow: 0 0 0 3px rgba(167, 255, 16, .1);
}

.pm-auth-text-button {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a7ff10;
    cursor: pointer;
}

.pm-auth-message {
    min-height: 46px;
    margin: 18px 0;
    padding: 12px 14px;
    border: 1px solid #30333c;
    border-radius: 10px;
    background: #0e0f12;
    color: #a9afbb;
}

.pm-auth-message.is-success {
    border-color: #4f7410;
    color: #a7ff10;
}

.pm-auth-message.is-error {
    border-color: #7a3037;
    color: #ff9ca3;
}

.pm-auth-processing {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(8, 9, 11, .88);
    backdrop-filter: blur(12px);
}

.pm-auth-processing[hidden] {
    display: none;
}

.pm-auth-processing-panel {
    width: min(420px, 100%);
    display: grid;
    justify-items: center;
    gap: 13px;
    padding: 32px 24px;
    border: 1px solid #30333c;
    border-radius: 20px;
    background: #17181d;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.pm-auth-processing-panel strong {
    font-size: 1.15rem;
}

.pm-auth-processing-panel p {
    margin: 0;
    color: #aeb3be;
    line-height: 1.5;
}

.pm-auth-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(184, 255, 54, .2);
    border-top-color: #b8ff36;
    border-radius: 50%;
    animation: pm-auth-spin .75s linear infinite;
}

@keyframes pm-auth-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .pm-auth-spinner {
        animation-duration: 1.6s;
    }
}

.pm-wallet-settings {
    width: min(100% - 32px, 1040px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.pm-settings-card {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #2d3038;
    border-radius: 18px;
    background: #17181d;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.pm-settings-card h2 {
    margin: 6px 0 18px;
}

.pm-settings-label {
    color: #a7ff10;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pm-settings-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.pm-settings-address code {
    overflow-wrap: anywhere;
    padding: 14px 16px;
    border: 1px solid #30333c;
    border-radius: 10px;
    background: #0d0f12;
    color: #f4f6f8;
}

.pm-settings-notice {
    margin: 18px 0 0;
    color: #aeb3be;
    line-height: 1.65;
}

.pm-settings-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.pm-settings-details > div {
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid #2d3038;
    border-radius: 14px;
    background: #121318;
}

.pm-settings-details span {
    color: #9299a5;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pm-settings-details strong {
    color: #fff;
}

.pm-transfer-card > .pm-settings-notice {
    max-width: 800px;
    margin-top: -7px;
}

.pm-transfer-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.pm-transfer-form label {
    display: grid;
    gap: 8px;
}

.pm-transfer-form label > span {
    color: #9299a5;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pm-transfer-form input,
.pm-transfer-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #30333c;
    border-radius: 10px;
    outline: 0;
    background: #0d0f12;
    color: #f4f6f8;
    font: inherit;
}

.pm-transfer-form input:focus,
.pm-transfer-form select:focus {
    border-color: #7fbf20;
    box-shadow: 0 0 0 3px rgba(167, 255, 16, .1);
}

.pm-transfer-recipient,
.pm-transfer-submit {
    grid-column: 1 / -1;
}

.pm-transfer-submit {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pm-transfer-status {
    min-height: 1.4em;
    margin: 0;
    color: #aeb3be;
    font-size: .86rem;
    line-height: 1.5;
}

.pm-transfer-status.is-error {
    color: #ff8e8e;
}

.pm-transfer-status.is-success {
    color: #b8ff36;
}

.pm-transfer-status a {
    color: inherit;
    font-weight: 900;
}

.pm-punk-holdings-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pm-punk-holdings-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #30333c;
    border-radius: 10px;
    background: #0d0f12;
}

.pm-punk-holdings-list li span {
    color: #aeb3be;
}

.pm-punk-holdings-list li strong {
    color: #b8ff36;
    font-variant-numeric: tabular-nums;
}

.pm-settings-export p {
    max-width: 760px;
    color: #aeb3be;
    line-height: 1.65;
}

.pm-settings-export iframe {
    width: 100%;
    min-height: 52px;
    border: 0;
}

@media (max-width: 560px) {
    .pm-auth-socials,
    .pm-auth-field-row,
    .pm-settings-address,
    .pm-settings-details {
        grid-template-columns: 1fr;
    }

    .pm-wallet-settings {
        width: min(100% - 22px, 1040px);
        padding-top: 22px;
    }

    .pm-transfer-form {
        grid-template-columns: 1fr;
    }

    .pm-transfer-recipient,
    .pm-transfer-submit {
        grid-column: auto;
    }

    .pm-transfer-submit {
        align-items: stretch;
        flex-direction: column;
    }
}
