@import url("./panda_front_neo_20260621_09.css?v=20260621_09");

/* 20260709_01: front home account/rent-risk polish. */
html[data-panda-surface="front"] {
    --front-panel: #ffffff;
    --front-panel-soft: #f7fbff;
    --front-ink: #172033;
    --front-muted: #526276;
    --front-line: #d9e4f2;
    --front-blue: #2563eb;
    --front-teal: #14b8a6;
    --front-green: #16a34a;
    --front-amber: #b45309;
    --front-red: #dc2626;
}

html[data-panda-surface="front"] .rent-balance-alert,
html[data-panda-surface="front"] .smart-recharge-panel,
html[data-panda-surface="front"] .account-overview-panel {
    border-radius: 12px !important;
}

html[data-panda-surface="front"] .rent-balance-alert {
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 15px !important;
    border-color: #bfd8ff !important;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(236, 253, 245, .94)) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .08) !important;
}

html[data-panda-surface="front"] .rent-balance-alert.warn {
    border-color: #fdba74 !important;
    background: linear-gradient(135deg, #fff7ed, #fffdf8) !important;
}

html[data-panda-surface="front"] .rent-balance-alert.danger {
    border-color: #fca5a5 !important;
    background: linear-gradient(135deg, #fff1f2, #fffafa) !important;
}

html[data-panda-surface="front"] .rent-balance-alert .icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--front-blue) !important;
}

html[data-panda-surface="front"] .rent-balance-alert.warn .icon {
    color: var(--front-amber) !important;
}

html[data-panda-surface="front"] .rent-balance-alert.danger .icon {
    color: var(--front-red) !important;
}

html[data-panda-surface="front"] .rent-balance-alert .title,
html[data-panda-surface="front"] .smart-recharge-title,
html[data-panda-surface="front"] .account-overview-title {
    color: var(--front-ink) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

html[data-panda-surface="front"] .rent-balance-alert .text,
html[data-panda-surface="front"] .smart-recharge-text,
html[data-panda-surface="front"] .account-overview-sub,
html[data-panda-surface="front"] .account-card-note {
    color: var(--front-muted) !important;
}

html[data-panda-surface="front"] .rent-balance-alert .go,
html[data-panda-surface="front"] .smart-recharge-chip,
html[data-panda-surface="front"] .sy-card .action a {
    min-height: 34px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition:
        transform .18s cubic-bezier(.22, 1, .36, 1),
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease !important;
}

html[data-panda-surface="front"] .rent-balance-alert .go:hover,
html[data-panda-surface="front"] .smart-recharge-chip:hover,
html[data-panda-surface="front"] .sy-card .action a:hover {
    transform: translateY(-1px) !important;
}

html[data-panda-surface="front"] .rent-balance-alert .go:focus-visible,
html[data-panda-surface="front"] .smart-recharge-chip:focus-visible,
html[data-panda-surface="front"] .account-badge:focus-visible,
html[data-panda-surface="front"] .sy-entry-btn:focus-visible,
html[data-panda-surface="front"] .sy-card .action a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .24) !important;
    outline-offset: 2px !important;
}

html[data-panda-surface="front"] .sy-entry-3 {
    gap: 12px !important;
}

html[data-panda-surface="front"] .sy-entry-btn {
    min-height: 86px !important;
    border-radius: 12px !important;
}

html[data-panda-surface="front"] .sy-entry-btn .num {
    min-width: 26px !important;
    height: 22px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

html[data-panda-surface="front"] .sy-stats {
    gap: 12px !important;
}

html[data-panda-surface="front"] .sy-card {
    min-height: 112px !important;
    border: 1px solid var(--front-line) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #ffffff, #f9fcff) !important;
}

html[data-panda-surface="front"] .sy-card .label {
    color: var(--front-muted) !important;
    font-weight: 850 !important;
}

html[data-panda-surface="front"] .sy-card .value {
    color: var(--front-ink) !important;
    line-height: 1.2 !important;
}

html[data-panda-surface="front"] .sy-card:nth-child(2) .value {
    color: #b7791f !important;
}

html[data-panda-surface="front"] .sy-card:nth-child(3) .value {
    color: #047857 !important;
}

html[data-panda-surface="front"] .sy-card .action span {
    color: var(--front-muted) !important;
    line-height: 1.45 !important;
}

html[data-panda-surface="front"] .account-overview-panel {
    border-color: var(--front-line) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(248, 251, 255, .95)) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
}

html[data-panda-surface="front"] .account-overview-head {
    border-bottom-color: #e2ebf7 !important;
}

html[data-panda-surface="front"] .account-badge {
    min-height: 30px !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
}

html[data-panda-surface="front"] .account-overview-grid {
    grid-template-columns: minmax(260px, 1.15fr) repeat(4, minmax(150px, 1fr)) !important;
    gap: 12px !important;
}

html[data-panda-surface="front"] .account-progress-card,
html[data-panda-surface="front"] .account-mini-card {
    border-color: #e2ebf7 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

html[data-panda-surface="front"] .account-card-label {
    color: var(--front-muted) !important;
    font-weight: 850 !important;
}

html[data-panda-surface="front"] .account-card-value {
    color: var(--front-ink) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

html[data-panda-surface="front"] .account-progress-track {
    height: 10px !important;
    background: #e7eef8 !important;
}

html[data-panda-surface="front"] .account-progress-track span {
    min-width: 4px !important;
    background: linear-gradient(90deg, var(--front-blue), var(--front-teal)) !important;
}

html[data-panda-surface="front"] .smart-recharge-panel {
    border-color: #bfdbfe !important;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(236, 253, 245, .95)) !important;
}

html[data-panda-surface="front"] .smart-recharge-chip {
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    background: #ffffff !important;
}

html[data-panda-surface="front"] .smart-recharge-chip:hover {
    border-color: var(--front-blue) !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12) !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] {
    --front-panel: #111a2b;
    --front-panel-soft: #0b1220;
    --front-ink: #eaf2ff;
    --front-muted: #a9bad1;
    --front-line: rgba(148, 163, 184, .22);
}

html[data-panda-ui="dark"][data-panda-surface="front"] .rent-balance-alert,
html[data-panda-ui="dark"][data-panda-surface="front"] .smart-recharge-panel,
html[data-panda-ui="dark"][data-panda-surface="front"] .account-overview-panel,
html[data-panda-ui="dark"][data-panda-surface="front"] .sy-card,
html[data-panda-ui="dark"][data-panda-surface="front"] .account-progress-card,
html[data-panda-ui="dark"][data-panda-surface="front"] .account-mini-card {
    border-color: var(--front-line) !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(17, 27, 44, .9)) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28) !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] .rent-balance-alert.warn,
html[data-panda-ui="dark"][data-panda-surface="front"] .rent-balance-alert.danger {
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(17, 27, 44, .9)) !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] .rent-balance-alert .icon,
html[data-panda-ui="dark"][data-panda-surface="front"] .smart-recharge-chip {
    background: rgba(11, 18, 32, .92) !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] .sy-card:nth-child(2) .value {
    color: #facc15 !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] .sy-card:nth-child(3) .value {
    color: #5eead4 !important;
}

html[data-panda-ui="dark"][data-panda-surface="front"] .account-progress-track {
    background: rgba(96, 165, 250, .16) !important;
}

html[data-panda-ui="anime"][data-panda-surface="front"] {
    --front-ink: #3d2134;
    --front-muted: #7c506a;
    --front-line: #ffd6e8;
    --front-blue: #be2b73;
    --front-teal: #22c3bd;
}

html[data-panda-ui="anime"][data-panda-surface="front"] .rent-balance-alert,
html[data-panda-ui="anime"][data-panda-surface="front"] .smart-recharge-panel,
html[data-panda-ui="anime"][data-panda-surface="front"] .account-overview-panel,
html[data-panda-ui="anime"][data-panda-surface="front"] .sy-card,
html[data-panda-ui="anime"][data-panda-surface="front"] .account-progress-card,
html[data-panda-ui="anime"][data-panda-surface="front"] .account-mini-card {
    border-color: var(--front-line) !important;
    background: linear-gradient(180deg, #fffafd, #fff6fb) !important;
}

html[data-panda-ui="anime"][data-panda-surface="front"] .account-progress-track span {
    background: linear-gradient(90deg, #ec4899, #22c3bd) !important;
}

@media (max-width: 1180px) {
    html[data-panda-surface="front"] .account-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html[data-panda-surface="front"] .account-progress-card {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 720px) {
    html[data-panda-surface="front"] .sy-entry-3,
    html[data-panda-surface="front"] .sy-stats,
    html[data-panda-surface="front"] .account-overview-grid {
        grid-template-columns: 1fr !important;
    }

    html[data-panda-surface="front"] .sy-entry-btn {
        min-height: 72px !important;
    }

    html[data-panda-surface="front"] .rent-balance-alert {
        align-items: flex-start !important;
        flex-wrap: wrap !important;
    }

    html[data-panda-surface="front"] .rent-balance-alert .go {
        width: 100% !important;
        margin-left: 54px !important;
        justify-content: center !important;
    }

    html[data-panda-surface="front"] .account-overview-head,
    html[data-panda-surface="front"] .smart-recharge-panel {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    html[data-panda-surface="front"] .account-overview-badges,
    html[data-panda-surface="front"] .smart-recharge-actions {
        justify-content: flex-start !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-panda-surface="front"] .rent-balance-alert .go,
    html[data-panda-surface="front"] .smart-recharge-chip,
    html[data-panda-surface="front"] .sy-card .action a {
        transition-duration: .01ms !important;
        transform: none !important;
    }
}
