:root {
    --hosts-primary: #1E6FFF;
    --hosts-primary-dark: #0052D9;
    --hosts-primary-dark2: #003EB3;
    --hosts-primary-light: #E8F3FF;
    --hosts-primary-bg: #F0F7FF;
    --hosts-primary-ring: rgba(30,111,255,0.12);
    --hosts-success: #00B42A;
    --hosts-warning: #FF7D00;
    --hosts-danger: #F53F3F;
    --hosts-purple: #722ED1;
    --hosts-orange: #FF7D00;
    --hosts-border: #E5E6EB;
    --hosts-border-light: #F2F3F5;
    --hosts-text: #1D2129;
    --hosts-text-light: #86909C;
    --hosts-bg: #F2F6FC;
    --hosts-radius: 14px;
    --hosts-shadow: 0 8px 24px rgba(30,111,255,0.08);
    --hosts-shadow-lg: 0 16px 48px rgba(30,111,255,0.16);
}

body.dark-theme {
    --hosts-primary: #3B82F6;
    --hosts-primary-dark: #2563EB;
    --hosts-primary-dark2: #1D4ED8;
    --hosts-primary-light: #1E3A5F;
    --hosts-primary-bg: #1E293B;
    --hosts-primary-ring: rgba(59,130,246,0.25);
    --hosts-success: #10B981;
    --hosts-warning: #F59E0B;
    --hosts-danger: #EF4444;
    --hosts-purple: #8B5CF6;
    --hosts-orange: #F97316;
    --hosts-border: #374151;
    --hosts-border-light: #1F2937;
    --hosts-text: #F9FAFB;
    --hosts-text-light: #9CA3AF;
    --hosts-bg: #111827;
    --hosts-shadow: 0 8px 24px rgba(0,0,0,0.3);
    --hosts-shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
}

.hosts-shop-wrap {
    padding: 18px;
    max-width: 100%;
    background: linear-gradient(180deg, #EEF5FF 0%, #F7FAFF 160px, #FFFFFF 100%);
    border-radius: 18px;
}

.hosts-shop-hero {
    position: relative;
    padding: 48px 36px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1E6FFF 0%, #4080FF 45%, #69B1FF 100%);
    color: #fff;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(30,111,255,0.30);
}
.hosts-shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.hosts-hero-bg {
    position: absolute;
    top: -60%;
    right: -8%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 62%);
    pointer-events: none;
    animation: hosts-hero-pulse 6s ease-in-out infinite;
}
@keyframes hosts-hero-pulse {
    0%,100% { transform: scale(1); opacity: .9; }
    50%     { transform: scale(1.08); opacity: 1; }
}
.hosts-hero-content {
    position: relative;
    z-index: 2;
}
.hosts-hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.hosts-hero-topbar .hosts-hero-badge {
    margin-bottom: 0;
    flex-shrink: 0;
}
.hosts-hero-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}
.hosts-hero-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
}
.hosts-hero-user-badge strong {
    font-size: 16px;
    font-weight: 800;
    color: #FFD591;
}
.hosts-hero-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.95);
    color: #1E6FFF !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hosts-hero-manage-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hosts-hero-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: #fff !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.hosts-hero-login-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .hosts-hero-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .hosts-hero-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.hosts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.32);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.hosts-hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
    line-height: 1.3;
}
.gradient-text {
    background: linear-gradient(135deg, #fff7e6 0%, #ffd591 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}
.hosts-hero-desc {
    font-size: 15px;
    opacity: 0.95;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.hosts-hero-desc i {
    margin-right: 5px;
}
.dot-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 4px;
}

.hosts-category-filter {
    padding: 20px;
    background: #fff;
    border-radius: var(--hosts-radius);
    border: 1px solid var(--hosts-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 25px;
}
.hosts-cf-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hosts-text);
    margin-bottom: 14px;
}
.hosts-cf-label i { color: var(--hosts-primary); }
.hosts-cf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hosts-cf-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #595959;
    background: #f5f7fa;
    border: 1.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    position: relative;
}
.hosts-cf-tab:hover {
    background: var(--hosts-primary-light);
    color: var(--hosts-primary);
    transform: translateY(-2px);
    border-color: var(--hosts-primary-light);
}
.hosts-cf-tab.active {
    background: linear-gradient(135deg, var(--hosts-primary) 0%, var(--hosts-primary-dark) 100%);
    color: #FFFFFF !important;
    border-color: var(--hosts-primary);
    box-shadow: 0 6px 16px rgba(22,119,255,0.32);
    transform: translateY(-2px);
}
.hosts-cf-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
}
.hosts-cf-ic img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}
.hosts-cf-name { font-weight: 600; }
.hosts-cf-code {
    font-size: 10px;
    background: rgba(0,0,0,0.06);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 2px;
}
.hosts-cf-tab.active .hosts-cf-code { background: rgba(255,255,255,0.2); }
.hosts-cf-count {
    font-size: 11px;
    background: rgba(0,0,0,0.06);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.hosts-cf-tab.active .hosts-cf-count { background: rgba(255,255,255,0.2); }

.hosts-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.hosts-plans-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.hosts-plans-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

.hosts-empty-state {
    padding: 80px 30px;
    border-radius: var(--hosts-radius);
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    margin-bottom: 25px;
    border: 1px solid var(--hosts-border);
}
.hosts-es-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.4;
    color: var(--hosts-text-light);
}
.hosts-es-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 10px 0;
}
.hosts-es-desc {
    font-size: 14px;
    color: var(--hosts-text-light);
    margin: 0;
}

.hosts-shop-empty {
    padding: 60px 30px;
    border-radius: var(--hosts-radius);
    background: #fff;
    margin-bottom: 25px;
    border: 1px solid var(--hosts-border);
}

.hosts-plan-card {
    background: #fff;
    border-radius: var(--hosts-radius);
    border: 1.5px solid var(--hosts-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.hosts-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(22,119,255,0.2);
    border-color: var(--hosts-primary);
}
.hosts-plan-card.recommended {
    border-color: transparent;
    background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
    box-shadow: 0 10px 32px rgba(22,119,255,0.18);
}
.hosts-plan-card.recommended:hover {
    box-shadow: 0 20px 56px rgba(22,119,255,0.28);
}
.hosts-plan-card-topaccent {
    height: 4px;
    background: linear-gradient(90deg, var(--hosts-primary) 0%, #69c0ff 50%, var(--hosts-primary) 100%);
    background-size: 200% 100%;
    animation: hosts-topaccent-move 3s linear infinite;
}
@keyframes hosts-topaccent-move {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}
.hosts-plan-card.recommended .hosts-plan-card-topaccent {
    height: 5px;
    background: linear-gradient(90deg, var(--hosts-danger) 0%, #ff7a45 50%, var(--hosts-danger) 100%);
}

.hosts-plan-region-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(22,119,255,0.1);
    color: var(--hosts-primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(8px);
}
.hosts-plan-region-badge small {
    background: rgba(22,119,255,0.15);
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 2px;
}

.hosts-plan-ribbon {
    position: absolute;
    top: 16px;
    right: -36px;
    z-index: 3;
    transform: rotate(45deg);
    overflow: hidden;
}
.hosts-plan-ribbon span {
    display: block;
    padding: 5px 45px;
    background: linear-gradient(135deg, var(--hosts-danger) 0%, #ff7a45 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255,77,79,0.35);
}

.hosts-plan-head {
    padding: 24px 20px 18px;
    border-bottom: 1px dashed #f0f0f0;
    position: relative;
}
.hosts-plan-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hosts-plan-icon-wrap {
    flex-shrink: 0;
}
.hosts-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hosts-primary-light) 0%, #bae0ff 100%);
    overflow: hidden;
}
.hosts-plan-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hosts-plan-icon-fallback i {
    font-size: 26px;
    color: var(--hosts-primary);
}
.hosts-plan-info {
    flex: 1;
    min-width: 0;
}
.hosts-plan-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.hosts-plan-desc {
    font-size: 12.5px;
    color: var(--hosts-text-light);
    margin: 0;
    line-height: 1.5;
}
.hosts-plan-price-inline {
    text-align: right;
    flex-shrink: 0;
}
.hosts-price-current {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}
.hosts-price-symbol {
    font-size: 16px;
    font-weight: 700;
    color: var(--hosts-danger);
    margin-right: 2px;
}
.hosts-price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--hosts-danger);
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(255,77,79,0.1);
}
.hosts-price-unit {
    font-size: 13px;
    color: var(--hosts-text-light);
    margin-left: 3px;
    font-weight: 500;
}

.hosts-period-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px dashed var(--hosts-border-light);
    background: linear-gradient(180deg, #FBFDFF 0%, #F7FAFF 100%);
}
.hosts-period-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #1D2129;
    background: #E8F3FF;
    border: 2px solid #B3D9FF;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.hosts-period-tab input { display: none; }
.hosts-period-tab:hover {
    color: var(--hosts-primary);
    border-color: var(--hosts-primary);
    background: #D6EBFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30,111,255,0.14);
}
.hosts-period-tab.active {
    color: var(--hosts-primary) !important;
    background: #D6EBFF;
    border-color: var(--hosts-primary);
    box-shadow: 0 4px 14px rgba(30,111,255,0.14);
    transform: translateY(-1px);
}
.hosts-period-tab.active,
.hosts-period-tab.active *,
.hosts-period-tab.active .hosts-period-label,
.hosts-period-tab.active .hosts-period-price,
.hosts-period-tab.active .hosts-period-off {
    color: var(--hosts-primary) !important;
}
.hosts-period-label { position: relative; }
.hosts-period-off {
    position: absolute;
    top: -12px;
    right: -24px;
    background: linear-gradient(135deg, #F53F3F 0%, #FF7D00 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245,63,63,0.40);
    letter-spacing: 0.3px;
}

.hosts-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 16px 20px;
    background: #fafbfc;
    border-bottom: 1px dashed #f0f0f0;
}
.hosts-spec {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    margin: 2px;
}
.hosts-spec-ic {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.ic-web { background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%); color: var(--hosts-primary); }
.ic-db  { background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%); color: var(--hosts-success); }
.ic-net { background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%); color: var(--hosts-warning); }
.ic-dom { background: linear-gradient(135deg, #f9f0ff 0%, #efdbff 100%); color: var(--hosts-purple); }
.hosts-spec-meta { flex: 1; min-width: 0; }
.hosts-spec-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--hosts-text);
    line-height: 1.2;
}
.hosts-spec-label {
    font-size: 11px;
    color: var(--hosts-text-light);
    margin-top: 2px;
}

.hosts-features {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.hosts-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #595959;
}
.hosts-ft-ic {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 9px;
    flex-shrink: 0;
}
.ic-ok {
    background: linear-gradient(135deg, var(--hosts-success) 0%, #73d13d 100%);
    color: #fff;
}
.hosts-ft-name {
    color: #595959;
}

.hosts-plan-action {
    padding: 0 0 0 0;
    margin-top: auto;
}
.hosts-open-buy,
.hosts-buy-btn {
    width: calc(100% + 4px);
    margin-left: -2px;
    margin-right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 24px;
    min-height: 70px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(135deg, #1E6FFF 0%, #1677FF 50%, #0052D9 100%) !important;
    color: #FFFFFF !important;
    border: none;
    border-top: 2px solid rgba(255,255,255,0.15);
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 -2px 12px rgba(30,111,255,0.15), inset 0 2px 0 rgba(255,255,255,0.25);
    text-decoration: none !important;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}
.hosts-open-buy::before,
.hosts-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}
.hosts-open-buy:hover::before,
.hosts-buy-btn:hover::before {
    left: 100%;
}
.hosts-open-buy:hover,
.hosts-buy-btn:hover {
    background: linear-gradient(135deg, #4080FF 0%, #1E6FFF 50%, #1677FF 100%);
    color: #FFFFFF !important;
    box-shadow: 0 -2px 16px rgba(30,111,255,0.25), inset 0 2px 0 rgba(255,255,255,0.3);
}
.hosts-open-buy:active,
.hosts-buy-btn:active {
    background: linear-gradient(135deg, #0052D9 0%, #003EB3 50%, #002D8C 100%);
    box-shadow: 0 -1px 8px rgba(30,111,255,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}
.hosts-btn-arrow {
    margin-left: 4px;
    transition: transform 0.3s ease;
    opacity: 0.95;
}
.hosts-open-buy:hover .hosts-btn-arrow,
.hosts-buy-btn:hover .hosts-btn-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.hosts-shop-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-radius: var(--hosts-radius);
    border: 1px solid var(--hosts-border);
}
.hosts-adv-item {
    text-align: center;
    padding: 18px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.hosts-adv-item:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.hosts-adv-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.hosts-adv-ic.bg1 { background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%); color: var(--hosts-primary); }
.hosts-adv-ic.bg2 { background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%); color: var(--hosts-warning); }
.hosts-adv-ic.bg3 { background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%); color: var(--hosts-success); }
.hosts-adv-ic.bg4 { background: linear-gradient(135deg, #f9f0ff 0%, #efdbff 100%); color: var(--hosts-purple); }
.hosts-adv-item h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 8px 0;
}
.hosts-adv-item p {
    font-size: 12.5px;
    color: var(--hosts-text-light);
    margin: 0;
    line-height: 1.6;
}

.hosts-buy-modal {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}
.hosts-buy-topaccent {
    height: 4px;
    background: linear-gradient(90deg, var(--hosts-primary), #69c0ff, var(--hosts-primary));
    background-size: 200% 100%;
    animation: hosts-topaccent-move 3s linear infinite;
}
.hosts-buy-head {
    padding: 18px 56px 18px 24px;
    border-bottom: 1px solid var(--hosts-border);
    position: relative;
}
.hosts-buy-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.hosts-buy-etic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hosts-primary-light) 0%, #bae0ff 100%);
    color: var(--hosts-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.hosts-buy-etitle {
    font-size: 17px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 3px 0;
}
.hosts-buy-esub {
    font-size: 13px;
    color: var(--hosts-text-light);
    margin: 0;
}
.hosts-buy-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--hosts-text-light);
    background: #f5f5f5;
    transition: all 0.25s ease;
    z-index: 10;
    cursor: pointer;
    flex-shrink: 0;
}
.hosts-buy-close:hover {
    background: var(--hosts-danger);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(245,63,63,0.35);
}
.hosts-buy-body {
    padding: 20px 24px 24px;
    max-height: 70vh;
    overflow-y: auto;
}
.hosts-buy-form { margin-bottom: 16px; }
.hosts-buy-section { margin-bottom: 20px; }
.hosts-buy-section:last-child { margin-bottom: 0; }
.hosts-buy-sechead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.hosts-buy-secnum {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hosts-primary) 0%, var(--hosts-primary-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(22,119,255,0.3);
}
.hosts-buy-sectitle {
    font-size: 15px;
    font-weight: 800;
    color: var(--hosts-text);
}
.hosts-buy-secbody {}

.hosts-form-group { margin-bottom: 16px; }
.hosts-form-group:last-child { margin-bottom: 0; }
.hosts-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #434343;
    margin-bottom: 8px;
}
.hosts-form-label em {
    color: var(--hosts-danger);
    margin-right: 2px;
    font-style: normal;
}
.hosts-form-label small {
    font-size: 11px;
    color: var(--hosts-text-light);
    font-weight: 500;
    margin-left: 6px;
}
.hosts-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    color: var(--hosts-text);
}
.hosts-form-input:focus {
    outline: none;
    border-color: var(--hosts-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,119,255,0.1);
}
.hosts-input-suffix {
    position: relative;
    display: flex;
    align-items: center;
}
.hosts-input-suffix .hosts-form-input { padding-right: 80px; }
.hosts-f-pwdgen {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--hosts-primary-light) 0%, #bae0ff 100%);
    color: var(--hosts-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.hosts-f-pwdgen:hover {
    background: var(--hosts-primary);
    color: #fff;
}

.hosts-buy-periods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.hosts-buy-period {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--hosts-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    gap: 10px;
}
.hosts-buy-period input { display: none; }
.hosts-buy-period:hover {
    border-color: var(--hosts-primary-light);
    background: var(--hosts-primary-light);
    transform: translateY(-1px);
}
.hosts-buy-period.active {
    border-color: #1677FF;
    background: #E6F0FF;
    box-shadow: 0 4px 14px rgba(22,119,255,0.18);
    transform: translateY(-1px);
}
.hosts-buy-period.active .hosts-buy-period-label {
    color: #003EB3;
    font-weight: 800;
}
.hosts-buy-period.active .hosts-buy-period-price {
    color: #FF4D4F;
    font-weight: 900;
}
.hosts-buy-period-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--hosts-text);
    position: relative;
}
.hosts-buy-period .hosts-period-off {
    position: absolute;
    top: -14px;
    right: -24px;
}
.hosts-buy-period-price {
    margin-left: auto;
    font-size: 14px;
    font-weight: 800;
    color: var(--hosts-danger);
}

.hosts-buy-amountsec {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
}
.hosts-buy-amountbody {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hosts-buy-amounttext span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--hosts-text-light);
}
.hosts-buy-amounttext small {
    font-size: 10px;
    color: var(--hosts-text-light);
}
.hosts-buy-amountnum {
    display: inline-flex;
    align-items: baseline;
}
.hosts-buy-asymbol {
    font-size: 13px;
    font-weight: 600;
    color: var(--hosts-danger);
    margin-right: 1px;
}
.hosts-buy-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--hosts-danger);
    letter-spacing: -0.3px;
}

.hosts-submit-btn.hosts-btn-loading,
.hosts-submit-btn.loading,
.hosts-refund-submit-btn.hosts-btn-loading,
.hosts-refund-submit-btn.loading,
.hosts-buy-btn.hosts-btn-loading,
.hosts-buy-btn.loading,
.hosts-buy-submitbtn.hosts-btn-loading,
.hosts-buy-submitbtn.loading,
.hosts-renew-btn.hosts-btn-loading,
.hosts-renew-btn.loading,
.hosts-upgrade-btn.hosts-btn-loading,
.hosts-upgrade-btn.loading,
.hosts-change-pwd-btn.hosts-btn-loading,
.hosts-change-pwd-btn.loading,
.hosts-suspend-btn.hosts-btn-loading,
.hosts-suspend-btn.loading,
.hosts-resume-btn.hosts-btn-loading,
.hosts-resume-btn.loading,
.hosts-login-btn.hosts-btn-loading,
.hosts-login-btn.loading,
.hosts-refund-btn.hosts-btn-loading,
.hosts-refund-btn.loading,
.hosts-transfer-btn.hosts-btn-loading,
.hosts-transfer-btn.loading,
.hosts-auto-renew-toggle.hosts-btn-loading,
.hosts-auto-renew-toggle.loading,
.hosts-modal-wrap .modal .btn.hosts-btn-loading,
.hosts-modal-wrap .modal button.hosts-btn-loading {
    opacity: 0.85 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    filter: none !important;
    background-image: none !important;
}

.hosts-btn-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.hosts-submit-btn:not(.loading):not(.hosts-btn-loading),
.hosts-refund-submit-btn:not(.loading):not(.hosts-btn-loading),
.hosts-buy-btn:not(.loading):not(.hosts-btn-loading),
.hosts-buy-submitbtn:not(.loading):not(.hosts-btn-loading),
.hosts-renew-btn:not(.loading):not(.hosts-btn-loading),
.hosts-upgrade-btn:not(.loading):not(.hosts-btn-loading),
.hosts-change-pwd-btn:not(.loading):not(.hosts-btn-loading),
.hosts-suspend-btn:not(.loading):not(.hosts-btn-loading),
.hosts-resume-btn:not(.loading):not(.hosts-btn-loading),
.hosts-login-btn:not(.loading):not(.hosts-btn-loading),
.hosts-refund-btn:not(.loading):not(.hosts-btn-loading),
.hosts-transfer-btn:not(.loading):not(.hosts-btn-loading),
.hosts-auto-renew-toggle:not(.loading):not(.hosts-btn-loading) {
    filter: none !important;
    transform: none !important;
    transition: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.hosts-buy-submitbtn:disabled {
    background: linear-gradient(135deg, #A9AEB8 0%, #86909C 100%);
    box-shadow: 0 2px 8px rgba(134,144,156,0.25);
    cursor: not-allowed;
    transform: none;
    text-shadow: none;
    color: #FFFFFF;
}

@keyframes hosts-btn-spin {
    to { transform: rotate(360deg); }
}

.hosts-loading-text {
    display: inline;
}

.hosts-submit-btn .fa-spinner,
.hosts-refund-submit-btn .fa-spinner,
.hosts-buy-btn .fa-spinner,
.hosts-buy-submitbtn .fa-spinner,
.hosts-renew-btn .fa-spinner,
.hosts-upgrade-btn .fa-spinner,
.hosts-change-pwd-btn .fa-spinner,
.hosts-suspend-btn .fa-spinner,
.hosts-resume-btn .fa-spinner,
.hosts-login-btn .fa-spinner,
.hosts-refund-btn .fa-spinner,
.hosts-transfer-btn .fa-spinner {
    display: inline-block;
}

/* ==========================================================
 * 修正：仅针对 hosts 插件自身弹窗内的支付按钮做样式修正
 * 不影响子比主题本身的支付弹窗（如余额充值等）
 * 所有选择器必须带 .hosts- 前缀限定范围
 * ========================================================== */
body .hosts-pay-modal .initiate-pay,
.hosts-modal .initiate-pay,
.hosts-pay-modal .initiate-pay,
.hosts-modal-wrap .initiate-pay {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 120px !important;
    height: auto !important;
    padding: 10px 22px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1E6FFF 0%, #1677FF 50%, #0052D9 100%) !important;
    background-color: #1677FF !important;
    background-image: linear-gradient(135deg, #1E6FFF 0%, #1677FF 50%, #0052D9 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(30, 111, 255, 0.25) !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
    text-shadow: none !important;
    overflow: visible !important;
    width: auto !important;
}

body .hosts-pay-modal .initiate-pay:hover,
.hosts-modal .initiate-pay:hover,
.hosts-pay-modal .initiate-pay:hover,
.hosts-modal-wrap .initiate-pay:hover {
    background: linear-gradient(135deg, #4080FF 0%, #1E6FFF 50%, #1677FF 100%) !important;
    background-color: #1E6FFF !important;
    background-image: linear-gradient(135deg, #4080FF 0%, #1E6FFF 50%, #1677FF 100%) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

body .hosts-pay-modal .initiate-pay:active,
.hosts-modal .initiate-pay:active,
.hosts-pay-modal .initiate-pay:active,
.hosts-modal-wrap .initiate-pay:active {
    background: linear-gradient(135deg, #0052D9 0%, #003EB3 50%, #002D8C 100%) !important;
    background-color: #0052D9 !important;
    background-image: linear-gradient(135deg, #0052D9 0%, #003EB3 50%, #002D8C 100%) !important;
    transform: none !important;
}

/* hosts 插件弹窗内支付按钮 loading / disabled 状态修正 */
html body .hosts-pay-modal .initiate-pay.loading,
html body .hosts-pay-modal .initiate-pay:disabled,
html body .hosts-pay-modal .initiate-pay[disabled],
html body .hosts-modal .initiate-pay.loading,
html body .hosts-modal .initiate-pay:disabled,
html body .hosts-modal .initiate-pay[disabled],
html body .hosts-modal-wrap .initiate-pay.loading,
html body .hosts-modal-wrap .initiate-pay:disabled,
html body .hosts-modal-wrap .initiate-pay[disabled] {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 120px !important;
    height: auto !important;
    padding: 10px 22px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #A9AEB8 0%, #86909C 100%) !important;
    background-color: #86909C !important;
    background-image: linear-gradient(135deg, #A9AEB8 0%, #86909C 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(134, 144, 156, 0.25) !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
    text-shadow: none !important;
    overflow: visible !important;
    width: auto !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* hosts 插件弹窗内支付按钮内文字和 loading spinner 强制可见 */
.hosts-pay-modal .initiate-pay > *,
.hosts-pay-modal .initiate-pay span,
.hosts-pay-modal .initiate-pay i,
.hosts-modal .initiate-pay > *,
.hosts-modal-wrap .initiate-pay > * {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    position: relative !important;
    z-index: 2 !important;
}

/* hosts 插件弹窗内按钮内部伪元素不要挡住文字 */
.hosts-pay-modal .initiate-pay::before,
.hosts-pay-modal .initiate-pay::after,
.hosts-modal .initiate-pay::before,
.hosts-modal .initiate-pay::after,
.hosts-modal-wrap .initiate-pay::before,
.hosts-modal-wrap .initiate-pay::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
    position: absolute !important;
}

/* 仅针对 hosts 插件弹窗内的 button 做修正，不影响主题的其他弹窗 */
.hosts-pay-modal button,
.hosts-modal button,
.hosts-modal-wrap button {
    -webkit-appearance: none !important;
    appearance: none !important;
    filter: none !important;
    visibility: visible !important;
}

/* 升级/续费等操作按钮 loading 状态被污染的强制修正 */
.hosts-upgrade-btn.loading,
.hosts-upgrade-btn:disabled,
.hosts-upgrade-btn[disabled],
.hosts-renew-btn.loading,
.hosts-renew-btn:disabled,
.hosts-renew-btn[disabled] {
    opacity: 0.9 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    filter: none !important;
    visibility: visible !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.hosts-upgrade-btn:not(.loading):not(.hosts-btn-loading),
.hosts-upgrade-btn:not(:disabled):not([disabled]),
.hosts-renew-btn:not(.loading):not(.hosts-btn-loading),
.hosts-renew-btn:not(:disabled):not([disabled]) {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    filter: none !important;
    visibility: visible !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transform: none !important;
    background-image: none !important;
}

.hosts-pay-methods-box {
    margin-top: 12px;
    border-top: 1px solid var(--hosts-border);
    padding-top: 10px;
}
.hosts-pay-head {
    margin-bottom: 8px;
}
.hosts-pay-methods-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hosts-pay-methods-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}
.hosts-pay-methods-row .hosts-pay-method {
    flex: 1;
    min-width: 140px;
}
.hosts-pay-method {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1.5px solid #E5E6EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #FFFFFF;
    position: relative;
    gap: 8px;
}
.hosts-pay-method:hover {
    border-color: #1677FF;
    background: #F5F8FF;
}
.hosts-pay-method.active {
    border-color: #1677FF;
    background: #F0F5FF;
    box-shadow: 0 2px 8px rgba(22,119,255,0.1);
}
.hosts-pay-method input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #C9CDD4;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #fff;
}
.hosts-pay-method input[type="radio"]:checked {
    border-color: #1677FF;
    background: #1677FF;
}
.hosts-pay-method input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}
.hosts-pay-ic {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.hosts-pay-ic-alipay { background: #E6F4FF; color: #1677FF; }
.hosts-pay-ic-wx { background: #F6FFED; color: #00B42A; }
.hosts-pay-ic-qq { background: #F2F3F5; color: #86909C; }
.hosts-pay-ic-balance { background: #F9F0FF; color: #722ED1; }
.hosts-pay-ic-default { background: #F2F3F5; color: #86909C; }
.hosts-pay-meta {
    flex: 1;
    min-width: 0;
}
.hosts-pay-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hosts-text);
    line-height: 1.3;
}
.hosts-pay-desc {
    font-size: 11px;
    color: #999;
    margin-top: 1px;
}
.hosts-pay-extra {
    flex-shrink: 0;
    text-align: right;
}
.hosts-pay-method input:checked {
    border-color: var(--hosts-primary);
    background: var(--hosts-primary);
}
.hosts-pay-method input:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #FFFFFF;
    border-radius: 50%;
}
.hosts-pay-method:hover {
    border-color: var(--hosts-primary-light);
    background: #FAFBFC;
}
.hosts-pay-method.active {
    border-color: var(--hosts-primary);
    background: var(--hosts-primary-bg);
    box-shadow: 0 2px 8px rgba(30,111,255,0.08);
}
.hosts-pay-method.active::after {
    content: '\f058';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--hosts-primary);
}
@keyframes hosts-check-pop {
    0%   { transform: scale(0.3) translateY(-50%); opacity: 0; }
    60%  { transform: scale(1.2) translateY(-50%); opacity: 1; }
    100% { transform: scale(1) translateY(-50%); opacity: 1; }
}
.hosts-pay-method.opacity5 {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.3);
}
.hosts-pay-ic {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 600;
}
.hosts-pay-ic-balance {
    background: #F9F0FF;
    color: #722ED1;
}
.hosts-pay-ic-alipay {
    background: #E6F4FF;
    color: #1677FF;
}
.hosts-pay-ic-wx {
    background: #F6FFED;
    color: #00B42A;
}
.hosts-pay-ic-qq {
    background: #E6FFFB;
    color: #12B7F5;
}
.hosts-pay-ic-default {
    background: #F2F3F5;
    color: #86909C;
}
.hosts-pay-meta {
    flex: 1;
    min-width: 0;
}
.hosts-pay-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1D2129;
    line-height: 1.3;
    letter-spacing: 0.1px;
}
.hosts-pay-desc {
    display: block;
    font-size: 11.5px;
    color: #86909C;
    margin-top: 2px;
    line-height: 1.3;
}
.hosts-user-balance-num {
    color: #722ED1;
    font-weight: 800;
    font-size: 13px;
}
.hosts-pay-extra {
    flex-shrink: 0;
    padding-right: 22px;
}
#hosts_balance_status_text {
    font-size: 12px;
    font-weight: 700;
}

.hosts-buy-action {
    margin-top: 24px;
}
.hosts-buy-submitbtn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1E6FFF 0%, #1677FF 55%, #0052D9 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 16.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 24px rgba(30,111,255,0.45), inset 0 1px 0 rgba(255,255,255,0.30);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hosts-buy-submitbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(30,111,255,0.58), inset 0 1px 0 rgba(255,255,255,0.35);
    background: linear-gradient(135deg, #1677FF 0%, #0052D9 55%, #003BA3 100%) !important;
    color: #FFFFFF !important;
}
.hosts-buy-submitbtn:disabled {
    background: linear-gradient(135deg, #A9AEB8 0%, #86909C 100%);
    box-shadow: 0 2px 8px rgba(134,144,156,0.25);
    cursor: not-allowed;
    transform: none;
    text-shadow: none;
    color: #FFFFFF;
}
.hosts-btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hosts-buy-notice {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 40%);
    border-radius: 10px;
    border: 1px solid #ffe58f;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #874d00;
}
.hosts-buy-notice i {
    color: #d48806;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.hosts-buy-notice strong {
    color: #613400;
    font-weight: 700;
}

.hosts-modal-wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.hosts-modal-wrap.show {
    opacity: 1;
    visibility: visible;
}
.hosts-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
}
.hosts-modal-wrap .hosts-buy-modal {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}
.hosts-modal-wrap.show .hosts-buy-modal {
    transform: translateY(0) scale(1);
}

.hosts-my-wrap { width: 100%; box-sizing: border-box; }
body:not(.page-template) .author-user-con .hosts-my-wrap,
.user-center-page .hosts-my-wrap,
.zib-user-center .hosts-my-wrap { padding: 0; width: 100%; }
.hosts-my-wrap .em3x { font-size: 2.2em; }
.hosts-host-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.hosts-st-ok {
    background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
    color: var(--hosts-success);
    border: 1px solid #b7eb8f;
}
.hosts-st-warn {
    background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%);
    color: var(--hosts-warning);
    border: 1px solid #ffe58f;
}
.hosts-st-err {
    background: linear-gradient(135deg, #fff2f0 0%, #ffccc7 100%);
    color: var(--hosts-danger);
    border: 1px solid #ffa39e;
}
.hosts-st-muted {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    color: var(--hosts-text-light);
    border: 1px solid #d9d9d9;
}
.hosts-host-card {
    transition: all 0.3s ease;
    background: #fff;
}
.hosts-host-card:hover {
    box-shadow: 0 6px 20px rgba(22,119,255,0.12);
    border-color: var(--hosts-primary) !important;
    transform: translateY(-2px);
}
.hosts-host-card .grow1 { flex: 1; }
.hosts-os-paid { background: linear-gradient(135deg, var(--hosts-success) 0%, #73d13d 100%); color: #fff; }
.hosts-os-opened { background: linear-gradient(135deg, var(--hosts-primary) 0%, #40a9ff 100%); color: #fff; }
.hosts-os-pending { background: linear-gradient(135deg, var(--hosts-warning) 0%, #ffc53d 100%); color: #fff; }
.hosts-os-unpaid { background: linear-gradient(135deg, var(--hosts-danger) 0%, #ff7875 100%); color: #fff; }
.hosts-os-refunded { background: linear-gradient(135deg, #8c8c8c 0%, #bfbfbf 100%); color: #fff; }
.hosts-os-failed { background: linear-gradient(135deg, #cf1322 0%, var(--hosts-danger) 100%); color: #fff; }
.hosts-os-muted { background: #f0f0f0; color: #999; }

.hosts-buy-modal-wrap .modal-body { padding: 0 !important; }

@media (max-width: 1100px) {
    .hosts-plans-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hosts-shop-advantages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hosts-shop-hero { padding: 20px 16px; }
    .hosts-hero-topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }
    .hosts-hero-badge {
        padding: 4px 8px;
        font-size: 10px;
        gap: 3px;
        flex-shrink: 0;
    }
    .hosts-hero-user-info {
        flex-direction: row;
        align-items: center;
        gap: 4px;
        margin-left: auto;
        flex-shrink: 1;
        min-width: 0;
    }
    .hosts-hero-user-badge {
        padding: 3px 8px;
        font-size: 10px;
        gap: 3px;
        white-space: nowrap;
    }
    .hosts-hero-user-badge strong {
        font-size: 12px;
    }
    .hosts-hero-manage-btn,
    .hosts-hero-login-btn {
        padding: 4px 8px;
        font-size: 10px;
        gap: 3px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .hosts-hero-title { font-size: 18px; margin-bottom: 10px; }
    .hosts-hero-desc {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px 10px;
        font-size: 12px;
    }
    .hosts-hero-desc i {
        margin-right: 3px;
        font-size: 11px;
    }
    .dot-sep { display: none; }
    .hosts-hero-stats {
        margin-top: 16px;
        padding: 10px 8px;
        gap: 2px;
        border-radius: 10px;
        flex-wrap: nowrap !important;
        justify-content: space-between;
    }
    .hosts-hstat {
        flex: 1 1 0 !important;
        min-width: 0;
    }
    .hosts-hstat-num {
        font-size: 15px;
        white-space: nowrap;
    }
    .hosts-hstat-num span {
        font-size: 8px;
        margin-left: 1px;
    }
    .hosts-hstat-label {
        font-size: 8px;
        margin-top: 2px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .hosts-hstat-divider {
        height: 24px;
        flex-shrink: 0;
    }
    .hosts-shop-trust {
        padding: 12px 14px;
        margin-top: 14px;
    }
    .hosts-trust-row {
        gap: 6px;
    }
    .hosts-trust-item {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }
    .hosts-plans-grid { grid-template-columns: 1fr; gap: 12px; }
    .hosts-shop-advantages { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
    .hosts-category-filter { padding: 12px; }
    .hosts-cf-tabs { gap: 6px; }
    .hosts-cf-tab { padding: 6px 10px; font-size: 12px; }
    .hosts-price-value { font-size: 24px; }
    .hosts-buy-periods { grid-template-columns: 1fr; }
    .hosts-buy-head { padding: 12px 14px; }
    .hosts-buy-body { padding: 12px 14px 16px; }
    .hosts-buy-amountbody { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hosts-buy-amountnum { align-self: flex-end; }
    .hosts-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 14px;
        gap: 2px;
    }
    .hosts-spec {
        padding: 8px 10px;
        gap: 8px;
        margin: 1px;
    }
    .hosts-spec-ic {
        width: 30px;
        height: 30px;
        border-radius: 7px;
        font-size: 12px;
    }
    .hosts-spec-val {
        font-size: 12px;
        line-height: 1.15;
    }
    .hosts-spec-label {
        font-size: 10px;
        margin-top: 1px;
    }
    .hosts-features {
        padding: 10px 16px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px 8px;
    }
    .hosts-feature {
        font-size: 12px;
        gap: 5px;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}
@media (max-width: 480px) {
    .hosts-hero-stats {
        padding: 6px 4px;
        gap: 1px;
        flex-wrap: nowrap !important;
    }
    .hosts-hstat {
        flex: 1 1 0 !important;
        min-width: 0;
        padding: 2px 0;
    }
    .hosts-hstat-num {
        font-size: 11px;
        letter-spacing: -0.3px;
    }
    .hosts-hstat-num span {
        font-size: 7px;
        margin-left: 0;
    }
    .hosts-hstat-label {
        font-size: 7px;
        margin-top: 1px;
    }
    .hosts-hstat-divider {
        height: 18px;
    }
    .hosts-hero-user-info {
        width: auto;
        justify-content: flex-end;
        flex: 1;
        min-width: 0;
    }
    .hosts-hero-badge {
        padding: 3px 6px;
        font-size: 9px;
        gap: 2px;
    }
    .hosts-hero-badge i {
        font-size: 9px;
    }
    .hosts-hero-user-badge {
        padding: 2px 6px;
        font-size: 9px;
        gap: 2px;
    }
    .hosts-hero-user-badge strong {
        font-size: 11px;
    }
    .hosts-hero-manage-btn,
    .hosts-hero-login-btn {
        padding: 2px 6px;
        font-size: 9px;
        gap: 2px;
    }
    .hosts-hero-manage-btn i,
    .hosts-hero-login-btn i {
        font-size: 9px;
    }
    .hosts-shop-advantages { grid-template-columns: 1fr; }
    .hosts-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 8px 10px;
        gap: 2px;
    }
    .hosts-spec {
        padding: 6px 8px;
        gap: 6px;
        margin: 1px;
    }
    .hosts-spec-ic {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        font-size: 11px;
    }
    .hosts-spec-val {
        font-size: 11px;
        font-weight: 700;
        line-height: 1.1;
    }
    .hosts-spec-label {
        font-size: 9px;
        margin-top: 1px;
    }
    .hosts-features {
        padding: 8px 14px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 4px 6px;
    }
    .hosts-feature {
        font-size: 11px;
        gap: 4px;
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .hosts-hero-title { font-size: 16px; }
    .hosts-shop-wrap { padding: 10px; }
}

.hosts-modal {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.hosts-modal-body {
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}
.hosts-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--hosts-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hosts-modal-title i {
    color: var(--hosts-primary);
    font-size: 22px;
}

.hosts-modal-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.hosts-modal-alert i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 16px;
}
.hosts-modal-alert.info {
    background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%);
    color: #0050b3;
    border: 1px solid #91d5ff;
}
.hosts-modal-alert.info i { color: var(--hosts-primary); }
.hosts-modal-alert.warn {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
    color: #874d00;
    border: 1px solid #ffd591;
}
.hosts-modal-alert.warn i { color: var(--hosts-warning); }

.hosts-form-item {
    margin-bottom: 20px;
}
.hosts-form-item:last-child { margin-bottom: 0; }
.hosts-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #434343;
    margin-bottom: 10px;
}
.hosts-form-label .required {
    color: var(--hosts-danger);
    margin-left: 2px;
    font-weight: 700;
}
.hosts-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    color: var(--hosts-text);
    font-family: inherit;
}
.hosts-form-input:focus {
    outline: none;
    border-color: var(--hosts-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,119,255,0.1);
}
.hosts-form-tip {
    margin-top: 8px;
    font-size: 12px;
    color: var(--hosts-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}
.hosts-pwd-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hosts-pay-methods {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}
.hosts-pay-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1.5px solid var(--hosts-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    position: relative;
    flex: 1;
    min-width: 120px;
    justify-content: flex-start;
}
.hosts-pay-item > div:last-child {
    flex: 1;
    min-width: 0;
}
.hosts-pay-desc {
    font-size: 11px;
    color: var(--hosts-text-light);
    margin-top: 2px;
    line-height: 1.3;
}
.hosts-pay-item:hover {
    border-color: #1677FF;
    background: #F5F8FF;
}
.hosts-pay-item.active {
    border-color: #1677FF;
    background: #F0F5FF;
    box-shadow: 0 2px 8px rgba(22,119,255,0.1);
}
.hosts-pay-item.active::after {
    content: '\f058';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #1677FF;
}
.hosts-pay-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}
.hosts-pay-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hosts-pay-icon svg {
    width: 20px;
    height: 20px;
}
.hosts-pay-icon.balance { background: #F9F0FF; color: #722ED1; }
.hosts-pay-icon.alipay  { background: #E6F4FF; color: #1677FF; }
.hosts-pay-icon.wechat  { background: #F6FFED; color: #00B42A; }
.hosts-pay-icon.default { background: #F2F3F5; color: #86909C; }
.hosts-pay-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--hosts-text);
    line-height: 1.3;
}

.hosts-order-summary {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    border: 1px solid #e4e9f0;
}
.hosts-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13.5px;
}
.hosts-order-row .label {
    color: var(--hosts-text-light);
    font-weight: 500;
}
.hosts-order-row .value {
    color: var(--hosts-text);
    font-weight: 600;
}
.hosts-order-row.total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1.5px dashed #cfd8dc;
}
.hosts-order-row.total .label {
    font-size: 15px;
    font-weight: 700;
    color: var(--hosts-text);
}
.hosts-order-row.total .value {
    font-size: 24px;
    font-weight: 900;
    color: var(--hosts-danger);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(255,77,79,0.1);
}

.hosts-submit-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hosts-primary) 0%, var(--hosts-primary-dark) 100%);
    color: #fff;
    border: none;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(22,119,255,0.38);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}
.hosts-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(22,119,255,0.48);
    background: linear-gradient(135deg, var(--hosts-primary-dark) 0%, #0050b3 100%);
}
.hosts-submit-btn:active { transform: translateY(0); }
.hosts-submit-btn.loading {
    position: relative !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.hosts-submit-btn.loading .hosts-btn-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(22, 119, 255, 0.9) !important;
    border-radius: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    cursor: not-allowed !important;
    transition: opacity 0.2s ease !important;
}

.hosts-submit-btn.loading .hosts-btn-overlay .fa-spinner {
    color: #ffffff !important;
    font-size: 16px !important;
    animation: fa-spin 1s infinite linear !important;
    display: inline-block !important;
}

.hosts-submit-btn.loading .hosts-btn-overlay span {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .hosts-modal-body { padding: 18px; }
    .hosts-modal-title { font-size: 17px; }
    .hosts-order-row.total .value { font-size: 20px; }
    .hosts-pay-item { padding: 12px; }
    .hosts-pay-icon { width: 36px; height: 36px; font-size: 16px; }
}

body.dark-theme .hosts-shop-wrap {
    background: linear-gradient(180deg, #0F172A 0%, #111827 160px, #1F2937 100%);
}
body.dark-theme .hosts-shop-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 45%, #3B82F6 100%);
    box-shadow: 0 14px 40px rgba(37,99,235,0.40);
}
body.dark-theme .hosts-period-tabs {
    background: linear-gradient(180deg, #1E293B 0%, #111827 100%);
}
body.dark-theme .hosts-period-tab {
    background: #1E3A5F;
    border-color: #2563EB;
    color: #E5E7EB;
}
body.dark-theme .hosts-period-tab:hover {
    background: #2563EB;
    border-color: #3B82F6;
}
body.dark-theme .hosts-specs-grid {
    background: #111827;
    border-bottom-color: #374151;
}
body.dark-theme .hosts-spec {
    background: #1F2937;
}
body.dark-theme .hosts-buy-modal {
    background: #1F2937;
}
body.dark-theme .hosts-buy-head {
    border-bottom-color: #374151;
}
body.dark-theme .hosts-buy-close {
    background: #374151;
    color: #9CA3AF;
}
body.dark-theme .hosts-buy-close:hover {
    background: #EF4444;
    color: #fff;
}
body.dark-theme .hosts-form-input {
    background: #111827;
    border-color: #374151;
    color: #F9FAFB;
}
body.dark-theme .hosts-form-input:focus {
    background: #1F2937;
    border-color: #3B82F6;
}
body.dark-theme .hosts-buy-period {
    background: #111827;
    border-color: #374151;
}
body.dark-theme .hosts-buy-period:hover {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-buy-period.active {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-pay-method {
    background: #111827;
    border-color: #374151;
}
body.dark-theme .hosts-pay-method:hover {
    background: #1F2937;
    border-color: #3B82F6;
}
body.dark-theme .hosts-pay-method.active {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-pay-method input[type="radio"] {
    background: #111827;
    border-color: #4B5563;
}
body.dark-theme .hosts-pay-method input[type="radio"]:checked {
    background: #3B82F6;
    border-color: #3B82F6;
}
body.dark-theme .hosts-buy-submitbtn {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 55%, #1D4ED8 100%) !important;
}
body.dark-theme .hosts-buy-submitbtn:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1E40AF 100%) !important;
}
body.dark-theme .hosts-buy-notice {
    background: linear-gradient(135deg, #422006 0%, #713F12 40%);
    border-color: #854D0E;
    color: #FDE68A;
}
body.dark-theme .hosts-buy-notice i {
    color: #FBBF24;
}
body.dark-theme .hosts-buy-notice strong {
    color: #FDE68A;
}
body.dark-theme .hosts-order-summary {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border-color: #374151;
}
body.dark-theme .hosts-host-card {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-host-card:hover {
    background: #374151;
}
body.dark-theme .hosts-my-head {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-st-ok {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
    border-color: #047857;
    color: #6EE7B7;
}
body.dark-theme .hosts-st-warn {
    background: linear-gradient(135deg, #78350F 0%, #92400E 100%);
    border-color: #B45309;
    color: #FCD34D;
}
body.dark-theme .hosts-st-err {
    background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
    border-color: #B91C1C;
    color: #FCA5A5;
}
body.dark-theme .hosts-st-muted {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-color: #4B5563;
    color: #9CA3AF;
}
body.dark-theme .hosts-modal-mask {
    background: rgba(0,0,0,0.75);
}
body.dark-theme .hosts-buy-amountsec {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border-color: #374151;
}
body.dark-theme .hosts-f-pwdgen {
    background: #1E3A5F;
    color: #3B82F6;
}
body.dark-theme .hosts-f-pwdgen:hover {
    background: #3B82F6;
    color: #fff;
}
body.dark-theme .hosts-category-filter {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-cf-tab {
    background: #111827;
    border-color: #374151;
    color: #E5E7EB;
}
body.dark-theme .hosts-cf-tab:hover {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-cf-tab.active {
    background: #2563EB;
    border-color: #3B82F6;
}
body.dark-theme .hosts-plan-card {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-plan-card:hover {
    background: #374151;
}
body.dark-theme .hosts-plan-header {
    border-bottom-color: #374151;
}
body.dark-theme .hosts-plan-name {
    color: #F9FAFB;
}
body.dark-theme .hosts-plan-desc {
    color: #9CA3AF;
}
body.dark-theme .hosts-features {
    border-top-color: #374151;
}
body.dark-theme .hosts-feature {
    color: #D1D5DB;
}
body.dark-theme .hosts-open-buy,
body.dark-theme .hosts-buy-btn {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #1D4ED8 100%) !important;
}
body.dark-theme .hosts-open-buy:hover,
body.dark-theme .hosts-buy-btn:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1E40AF 100%) !important;
}
body.dark-theme .hosts-adv-item:hover {
    background: #374151;
}
body.dark-theme .hosts-adv-item h4 {
    color: #F9FAFB;
}
body.dark-theme .hosts-adv-item p {
    color: #9CA3AF;
}
body.dark-theme .hosts-pay-methods-row .hosts-pay-method {
    background: #111827;
    border-color: #374151;
}
body.dark-theme .hosts-pay-methods-row .hosts-pay-method:hover {
    background: #1F2937;
    border-color: #3B82F6;
}
body.dark-theme .hosts-pay-methods-row .hosts-pay-method.active {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-hero-topbar {
    border-bottom-color: rgba(255,255,255,0.15);
}
body.dark-theme .hosts-hero-user-badge {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}
body.dark-theme .hosts-hero-manage-btn {
    background: rgba(255,255,255,0.9);
    color: #3B82F6 !important;
}
body.dark-theme .hosts-hero-manage-btn:hover {
    background: #fff;
}
body.dark-theme .hosts-hero-login-btn {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}
body.dark-theme .hosts-hero-login-btn:hover {
    background: rgba(255,255,255,0.25);
}
body.dark-theme .hosts-hero-badge {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}
body.dark-theme .hosts-category-filter {
    background: #1F2937;
}
body.dark-theme .hosts-cf-label {
    color: #E5E7EB;
}
body.dark-theme .hosts-cf-tab {
    background: #111827;
    border-color: #374151;
    color: #E5E7EB;
}
body.dark-theme .hosts-cf-tab:hover {
    background: #1E3A5F;
    border-color: #3B82F6;
}
body.dark-theme .hosts-cf-tab.active {
    background: #2563EB;
    border-color: #3B82F6;
}
body.dark-theme .hosts-cf-ic {
    background: #374151;
}
body.dark-theme .hosts-cf-count {
    background: #374151;
    color: #9CA3AF;
}
body.dark-theme .hosts-my-wrap {
    color: #E5E7EB;
}
body.dark-theme .hosts-my-head {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-host-card {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-host-card:hover {
    background: #374151;
    border-color: #4B5563;
}
body.dark-theme .hosts-host-meta {
    color: #9CA3AF;
}
body.dark-theme .hosts-host-actions {
    border-top-color: #374151;
}
body.dark-theme .hosts-order-card {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-order-card:hover {
    background: #374151;
}
body.dark-theme .hosts-order-meta {
    color: #9CA3AF;
}
body.dark-theme .hosts-pay-btn {
    background: #2563EB;
    border-color: #3B82F6;
    color: #fff;
}
body.dark-theme .hosts-pay-btn:hover {
    background: #3B82F6;
}
body.dark-theme .hosts-empty-tip {
    color: #9CA3AF;
}
body.dark-theme .hosts-section-title {
    color: #F9FAFB;
}
body.dark-theme .hosts-tabs {
    border-bottom-color: #374151;
}
body.dark-theme .hosts-tab {
    color: #9CA3AF;
    border-bottom-color: transparent;
}
body.dark-theme .hosts-tab:hover {
    color: #E5E7EB;
}
body.dark-theme .hosts-tab.active {
    color: #3B82F6;
    border-bottom-color: #3B82F6;
}
body.dark-theme .hosts-stats-item {
    background: #1F2937;
    border-color: #374151;
}
body.dark-theme .hosts-stats-item:hover {
    background: #374151;
}
body.dark-theme .hosts-stats-num {
    color: #F9FAFB;
}
body.dark-theme .hosts-stats-label {
    color: #9CA3AF;
}

.hosts-progress-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hosts-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #999;
    transition: all 0.3s ease;
}
.hosts-progress-step i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.hosts-progress-step.active {
    color: #1890ff;
}
.hosts-progress-step.active i {
    color: #1890ff;
}
.hosts-progress-step.done {
    color: #52c41a;
}
.hosts-progress-step.done i {
    color: #52c41a;
}
.hosts-progress-bar {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}
.hosts-progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #36cfc9);
    border-radius: 2px;
    transition: width 0.5s ease;
}
.hosts-progress-tip {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin-top: 12px;
}

body.dark-theme .hosts-progress-step {
    color: #666;
}
body.dark-theme .hosts-progress-step.active {
    color: #40a9ff;
}
body.dark-theme .hosts-progress-step.active i {
    color: #40a9ff;
}
body.dark-theme .hosts-progress-step.done {
    color: #73d13d;
}
body.dark-theme .hosts-progress-step.done i {
    color: #73d13d;
}
body.dark-theme .hosts-progress-bar {
    background: #333;
}
body.dark-theme .hosts-progress-tip {
    color: #666;
}

/* 强制覆盖弹窗定位，确保显示在页面上方 */
body .zib-modal.hosts-modal,
body .zib-modal.hosts-purchase-progress-modal,
body .zib-modal.hosts-renew-progress-modal,
body .zib-modal.hosts-purchase-success-modal,
body .zib-modal.hosts-renew-success-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
}
body .zib-modal.hosts-modal > div,
body .zib-modal.hosts-purchase-progress-modal > div,
body .zib-modal.hosts-renew-progress-modal > div,
body .zib-modal.hosts-purchase-success-modal > div,
body .zib-modal.hosts-renew-success-modal > div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
}

.hosts-hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding: 20px 28px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}
.hosts-hstat {
    flex: 1;
    text-align: center;
}
.hosts-hstat-num {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.hosts-hstat-num span {
    font-size: 15px;
    font-weight: 700;
    opacity: 0.9;
    margin-left: 2px;
}
.hosts-hstat-label {
    font-size: 12.5px;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    font-weight: 600;
}
.hosts-hstat-divider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.hosts-shop-trust {
    margin-top: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #fafcff 0%, #f5f8fc 100%) !important;
    border: 1px solid var(--hosts-border) !important;
    border-radius: var(--hosts-radius) !important;
}
.hosts-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.hosts-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hosts-text);
    transition: all 0.25s ease;
}
.hosts-trust-item:hover {
    border-color: var(--hosts-primary);
    color: var(--hosts-primary);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30,111,255,0.1);
}
.hosts-trust-item i {
    font-size: 14px;
    color: var(--hosts-primary);
}

.hosts-plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 18px 12px;
    border-top: 1px solid var(--hosts-border-light);
}
.hosts-plan-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.6;
}
.hosts-plan-tag.tag-sla {
    background: #E6F4FF;
    color: #1677FF;
    border: 1px solid #B9DCFF;
}
.hosts-plan-tag.tag-mig {
    background: #F6FFED;
    color: #389E0D;
    border: 1px solid #B7EB8F;
}
.hosts-plan-tag.tag-backup {
    background: #FFF7E6;
    color: #D46B08;
    border: 1px solid #FFD591;
}
.hosts-plan-tag.tag-refund {
    background: #FFF1F0;
    color: #CF1322;
    border: 1px solid #FFCCC7;
}

.hosts-section-head {
    text-align: center;
    margin-bottom: 24px;
}
.hosts-section-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--hosts-text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
}
.hosts-section-title i {
    color: var(--hosts-primary);
    font-size: 20px;
}
.hosts-section-sub {
    font-size: 13.5px;
    color: var(--hosts-text-light);
    margin: 0;
}

.hosts-shop-process {
    margin-top: 20px;
    padding: 30px 28px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: var(--hosts-radius) !important;
    border: 1px solid var(--hosts-border) !important;
}
.hosts-process-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
}
.hosts-step {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid var(--hosts-border-light);
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
}
.hosts-step:hover {
    transform: translateY(-4px);
    border-color: var(--hosts-primary-light);
    box-shadow: 0 12px 28px rgba(30,111,255,0.12);
}
.hosts-step-num {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hosts-primary) 0%, var(--hosts-primary-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(22,119,255,0.35);
}
.hosts-step-ic {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--hosts-primary-light) 0%, #bae0ff 100%);
    color: var(--hosts-primary);
}
.hosts-step h5 {
    font-size: 15px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 6px 0;
}
.hosts-step p {
    font-size: 12.5px;
    color: var(--hosts-text-light);
    line-height: 1.6;
    margin: 0;
}
.hosts-step-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hosts-primary);
    font-size: 28px;
    flex-shrink: 0;
    width: 28px;
    opacity: 0.6;
}

.hosts-shop-faq {
    margin-top: 20px;
    padding: 30px 28px !important;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%) !important;
    border-radius: var(--hosts-radius) !important;
    border: 1px solid var(--hosts-border) !important;
}
.hosts-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.hosts-faq-item {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--hosts-border-light);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.hosts-faq-item:hover {
    border-color: var(--hosts-primary-light);
    box-shadow: 0 6px 18px rgba(30,111,255,0.08);
}
.hosts-faq-q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--hosts-text);
    margin: 0 0 10px 0;
    line-height: 1.5;
}
.hosts-faq-q i {
    color: var(--hosts-primary);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}
.hosts-faq-a {
    font-size: 13px;
    color: var(--hosts-text-light);
    line-height: 1.75;
    margin: 0;
    padding-left: 25px;
}

body.dark-theme .hosts-hero-stats {
    background: rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.15);
}
body.dark-theme .hosts-hstat-divider {
    background: rgba(255,255,255,0.2);
}
body.dark-theme .hosts-shop-trust {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    border-color: #374151 !important;
}
body.dark-theme .hosts-trust-item {
    background: #111827;
    border-color: #374151;
    color: #E5E7EB;
}
body.dark-theme .hosts-trust-item:hover {
    border-color: #3B82F6;
    color: #3B82F6;
}
body.dark-theme .hosts-plan-tags {
    border-top-color: #374151;
}
body.dark-theme .hosts-plan-tag.tag-sla {
    background: rgba(59,130,246,0.15);
    color: #93C5FD;
    border-color: rgba(59,130,246,0.3);
}
body.dark-theme .hosts-plan-tag.tag-mig {
    background: rgba(34,197,94,0.15);
    color: #86EFAC;
    border-color: rgba(34,197,94,0.3);
}
body.dark-theme .hosts-plan-tag.tag-backup {
    background: rgba(245,158,11,0.15);
    color: #FCD34D;
    border-color: rgba(245,158,11,0.3);
}
body.dark-theme .hosts-plan-tag.tag-refund {
    background: rgba(239,68,68,0.15);
    color: #FCA5A5;
    border-color: rgba(239,68,68,0.3);
}
body.dark-theme .hosts-section-title {
    color: #F9FAFB;
}
body.dark-theme .hosts-section-sub {
    color: #9CA3AF;
}
body.dark-theme .hosts-shop-process {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%) !important;
    border-color: #374151 !important;
}
body.dark-theme .hosts-step {
    background: #111827;
    border-color: #374151;
}
body.dark-theme .hosts-step-ic {
    background: linear-gradient(135deg, rgba(59,130,246,0.2) 0%, rgba(30,64,175,0.3) 100%);
    color: #60A5FA;
}
body.dark-theme .hosts-step h5 {
    color: #F9FAFB;
}
body.dark-theme .hosts-step p {
    color: #9CA3AF;
}
body.dark-theme .hosts-step-arrow {
    color: #60A5FA;
}
body.dark-theme .hosts-shop-faq {
    background: linear-gradient(180deg, #111827 0%, #1F2937 100%) !important;
    border-color: #374151 !important;
}
body.dark-theme .hosts-faq-item {
    background: #111827;
    border-color: #374151;
}
body.dark-theme .hosts-faq-q {
    color: #F9FAFB;
}
body.dark-theme .hosts-faq-q i {
    color: #60A5FA;
}
body.dark-theme .hosts-faq-a {
    color: #9CA3AF;
}
body.dark-theme .hosts-shop-advantages {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    border-color: #374151 !important;
}

@media (max-width: 768px) {
    .hosts-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px;
    }
    .hosts-hstat {
        min-width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }
    .hosts-hstat:nth-child(2) ~ .hosts-hstat-divider { display: none; }
    .hosts-hstat-divider:nth-child(3) { display: none; }
    .hosts-hstat-num { font-size: 24px; }
    .hosts-hstat-label { font-size: 11.5px; }

    .hosts-trust-row {
        justify-content: flex-start;
    }
    .hosts-trust-item {
        padding: 7px 12px;
        font-size: 12px;
        flex: 0 0 calc(50% - 6px);
    }

    .hosts-plan-tags { padding: 12px 14px 10px; }
    .hosts-plan-tag { padding: 2px 7px; font-size: 11px; }

    .hosts-process-steps {
        flex-direction: column;
        gap: 12px;
    }
    .hosts-step-arrow {
        width: 100%;
        height: 20px;
        transform: rotate(90deg);
    }
    .hosts-shop-process,
    .hosts-shop-faq {
        padding: 22px 16px !important;
    }
    .hosts-section-title { font-size: 18px; }
    .hosts-faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hosts-faq-item { padding: 14px 16px; }
    .hosts-faq-a { padding-left: 23px; }
}