* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fdf6f0 0%, #f5e6dc 35%, #ffe8d6 65%, #fff5ec 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    color: #475569;
    padding: 24px 16px;
}
body::before, body::after {
    content: '';
    position: fixed;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}
body::before { background: rgba(244,114,182,0.25); top: -160px; left: -120px; }
body::after  { background: rgba(251,191,36,0.20); bottom: -160px; right: -120px; }

.pw-wall {
    max-width: 720px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.pw-header { margin-bottom: 24px; }
.pw-header-icon {
    width: 52px; height: 52px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.pw-header-title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(110deg, #6366f1 0%, #a855f7 45%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pw-header-sub { font-size: 13px; color: #64748b; margin: 0 0 24px; }

.pw-input-row {
    display: flex;
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 36px rgba(15,23,42,0.08);
    padding: 6px 6px 6px 24px;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px;
}
.pw-input-row input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #334155;
    padding: 10px 4px;
    min-width: 0;
}
.pw-input-row button {
    padding: 13px 48px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.pw-input-row button:hover { background: #dc2626; }

.pw-input-row-success { justify-content: center; background: transparent; box-shadow: none; }
.pw-enter-btn {
    display: inline-block;
    padding: 14px 56px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(99,102,241,0.4);
}

.pw-pwd-link { color: #ef4444; font-size: 18px; font-weight: 700; text-decoration: none; margin: 4px 0 16px; display: inline-block; }
.pw-pwd-link:hover { text-decoration: underline; }
.pw-hint { color: #94a3b8; font-size: 13px; line-height: 1.8; margin: 0 0 32px; white-space: pre-line; }

.pw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 620px; }
.pw-stat-item {
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15,23,42,0.05);
    backdrop-filter: blur(8px);
}
.pw-stat-num { font-size: 22px; font-weight: 800; color: #6366f1; margin-bottom: 4px; }
.pw-stat-num::before { content: '●'; color: #a855f7; font-size: 10px; margin-right: 4px; }
.pw-stat-label { font-size: 12px; color: #64748b; }

.toast {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    padding: 16px 36px; border-radius: 14px;
    font-size: 16px; font-weight: 600; color: #fff;
    background: rgba(0,0,0,0.72);
    opacity: 0; pointer-events: none; z-index: 9999;
    transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (max-width: 600px) {
    .pw-stats { grid-template-columns: repeat(2, 1fr); }
    .pw-header-title { font-size: 28px; }
    .pw-input-row button { padding: 13px 28px; }
}
