﻿/* INS + liquid glass UI refresh for storefront, order page and user center. */
:root {
    --liquid-ink: #111827;
    --liquid-muted: #6b7280;
    --liquid-line: rgba(17, 24, 39, 0.10);
    --liquid-glass: rgba(255, 255, 255, 0.72);
    --liquid-glass-strong: rgba(255, 255, 255, 0.88);
    --liquid-shadow: 0 18px 42px rgba(17, 24, 39, 0.10);
    --liquid-soft-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
    --liquid-blue: #2563eb;
    --liquid-gold: #b7791f;
    --liquid-red: #dc2626;
    --liquid-gray: #64748b;
    --glax-bg-1: #667eea;
    --glax-bg-2: #764ba2;
    --glax-bg-3: #f093fb;
    --glax-bg-4: #f5576c;
    --glax-sky-1: #38bdf8;
    --glax-sky-2: #60a5fa;
    --glax-sky-3: #7dd3fc;
    --glax-sky-4: #bae6fd;
}

html {
    background: #f6f7fb;
}

body {
    color: var(--liquid-ink);
    letter-spacing: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 86% 10%, rgba(191, 219, 254, 0.42) 0, rgba(191, 219, 254, 0) 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255,255,255,0.92) 0, rgba(255,255,255,0) 24%),
        radial-gradient(circle at 86% 12%, rgba(102,126,234,0.24) 0, rgba(102,126,234,0) 28%),
        radial-gradient(circle at 22% 86%, rgba(245,87,108,0.16) 0, rgba(245,87,108,0) 26%),
        radial-gradient(circle at 78% 78%, rgba(240,147,251,0.18) 0, rgba(240,147,251,0) 24%);
    opacity: .95;
}

body::after {
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.42) 0, rgba(255,255,255,0) 18%),
        radial-gradient(circle at 70% 24%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0) 16%),
        radial-gradient(circle at 54% 72%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0) 16%);
    mix-blend-mode: screen;
}

body.site-subsite {
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 86% 10%, rgba(125, 211, 252, 0.46) 0, rgba(125, 211, 252, 0) 30%),
        linear-gradient(180deg, #f3fbff 0%, #e6f4ff 100%) !important;
}

body.theme-user {
    --liquid-accent: var(--liquid-blue);
    --liquid-accent-soft: rgba(37, 99, 235, 0.12);
    --liquid-accent-line: rgba(37, 99, 235, 0.22);
}

body.theme-agent {
    --liquid-accent: var(--liquid-gold);
    --liquid-accent-soft: rgba(183, 121, 31, 0.14);
    --liquid-accent-line: rgba(183, 121, 31, 0.25);
}

body.theme-authorizer {
    --liquid-accent: var(--liquid-red);
    --liquid-accent-soft: rgba(220, 38, 38, 0.12);
    --liquid-accent-line: rgba(220, 38, 38, 0.22);
}

body.theme-expired-agent {
    --liquid-accent: var(--liquid-gray);
    --liquid-accent-soft: rgba(100, 116, 139, 0.13);
    --liquid-accent-line: rgba(100, 116, 139, 0.24);
    filter: grayscale(0.2);
}

body:not(.theme-user):not(.theme-agent):not(.theme-authorizer):not(.theme-expired-agent) {
    --liquid-accent: var(--liquid-blue);
    --liquid-accent-soft: rgba(37, 99, 235, 0.11);
    --liquid-accent-line: rgba(37, 99, 235, 0.20);
}

body.site-subsite {
    --liquid-accent: #38bdf8;
    --liquid-accent-soft: rgba(56, 189, 248, 0.14);
    --liquid-accent-line: rgba(96, 165, 250, 0.28);
}

.app-container,
.wrap,
.pc-layout,
.app-view {
    position: relative;
    z-index: 1;
}

.header-section,
.header,
.hero,
.identity-banner,
.help-card,
.notice-card,
.confirm-card,
.product-card,
.promo-hints-container,
.pc-desc-scroll,
.desc-text,
.pay-option,
.input-group-custom,
.stat,
.order,
.subsite-panel,
.subsite-box,
.subsite-agent-panel,
.subsite-agent-card,
.detail-pop,
.detail-summary,
.detail-panel,
.detail-section,
.alert-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54)) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow: var(--liquid-soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(24px) saturate(1.45);
    -webkit-backdrop-filter: blur(24px) saturate(1.45);
}

.product-card,
.help-card,
.hero,
.stat,
.order,
.subsite-panel,
.subsite-box,
.subsite-agent-panel,
.subsite-agent-card,
.detail-summary,
.detail-panel,
.detail-section,
.promo-hints-container,
.pc-desc-scroll,
.desc-text,
.alert-box,
.notice-card,
.confirm-card {
    border-radius: 8px !important;
}

.app-container {
    max-width: 1160px !important;
    padding-bottom: 56px !important;
}

.header-section {
    margin: 18px auto 18px !important;
    padding: 18px 18px !important;
    border-radius: 8px;
}

.header-title,
.title,
.hero h3,
.product-name,
.p-name {
    letter-spacing: 0 !important;
}

.header-title {
    font-size: clamp(26px, 4vw, 40px) !important;
    line-height: 1.12 !important;
}

.user-btn,
.query-btn,
.btnx,
.n-btn,
.alert-btn,
.pc-btn-pay,
.pc-btn-back,
.btn-pay,
.tabx,
.identity-action-link,
.detail-inline-btn,
.qty-btn,
.detail-close {
    border-radius: 999px !important;
}

.user-btn,
.query-btn,
.tabx,
.pc-btn-back,
.btn.btn-outline-secondary,
.btn.btn-outline-primary,
.btn.btn-outline-danger {
    background: rgba(255, 255, 255, 0.68) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    color: #334155 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.user-btn:hover,
.query-btn:hover,
.tabx:hover,
.btn.btn-outline-secondary:hover,
.btn.btn-outline-primary:hover,
.btn.btn-outline-danger:hover {
    color: var(--liquid-accent) !important;
    border-color: var(--liquid-accent-line) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.btnx,
.n-btn,
.alert-btn,
.pc-btn-pay,
.btn-pay,
.tabx.active {
    background: var(--liquid-accent) !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--liquid-accent) 88%, #ffffff), var(--liquid-accent)) !important;
    border: 1px solid rgba(255, 255, 255, 0.48) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--liquid-accent) 22%, transparent) !important;
}

.identity-banner {
    background: linear-gradient(135deg, var(--liquid-accent-soft), rgba(255, 255, 255, 0.58)) !important;
    color: var(--liquid-accent) !important;
    border-color: var(--liquid-accent-line) !important;
}

.cat-tag {
    margin-top: 30px !important;
    color: #0f172a !important;
    font-size: 17px !important;
}

.cat-tag::before {
    width: 6px !important;
    height: 22px !important;
    background: linear-gradient(180deg, var(--liquid-accent), rgba(255, 255, 255, 0.65)) !important;
    box-shadow: 0 8px 18px var(--liquid-accent-soft);
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)) !important;
    gap: 16px !important;
}

.app-container > .product-grid,
.product-grid .product-card {
    min-height: 172px;
}

.product-card {
    color: inherit !important;
    padding: 22px 16px !important;
    overflow: hidden;
}

.product-card::before,
.hero::before,
.stat::before,
.order::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 44%),
        radial-gradient(circle at 85% 12%, var(--liquid-accent-soft), rgba(255, 255, 255, 0) 34%);
}

.product-card:hover,
.stat:hover,
.order:hover {
    transform: translateY(-3px);
    border-color: var(--liquid-accent-line) !important;
    box-shadow: var(--liquid-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

.p-name,
.product-name {
    color: #111827 !important;
    font-weight: 800 !important;
}

.p-price,
.price-tag,
.detail-summary-price,
.subsite-value {
    color: var(--liquid-accent) !important;
}

.p-daily,
.p-stock,
.badgex,
.subsite-pill,
.daily-hint {
    background: rgba(255, 255, 255, 0.64) !important;
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #64748b !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rec-badge {
    background: linear-gradient(135deg, #111827, var(--liquid-accent)) !important;
    border-bottom-left-radius: 8px !important;
}

.mobile-container {
    background: transparent !important;
}

.header {
    position: sticky !important;
    top: 10px !important;
    z-index: 50 !important;
    margin: 10px auto 0 !important;
    width: min(100% - 24px, 1180px);
    border-radius: 999px !important;
}

.content {
    position: relative;
}

@media (min-width: 768px) {
    .pc-layout {
        max-width: 1240px !important;
        gap: 22px !important;
        min-height: auto !important;
    }

    .pc-left,
    .pc-right {
        min-width: 0;
    }
}

.pay-list {
    gap: 12px !important;
}

.pay-option {
    border-radius: 8px !important;
    min-height: 104px;
}

.pay-option.active {
    border-color: var(--liquid-accent-line) !important;
    box-shadow: 0 14px 32px var(--liquid-accent-soft) !important;
}

.pay-option.active::before,
.pay-option.active::after {
    background: var(--liquid-accent) !important;
}

.input-group-custom {
    border-color: rgba(255, 255, 255, 0.72) !important;
    overflow: hidden;
}

.input-group-custom:focus-within {
    border-color: var(--liquid-accent-line) !important;
    box-shadow: 0 0 0 4px var(--liquid-accent-soft), var(--liquid-soft-shadow) !important;
}

.field-frosted input {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), var(--liquid-accent-soft)) !important;
    border-color: var(--liquid-accent-line) !important;
}

.field-frosted::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 44%);
}

.qty-box {
    background: rgba(255, 255, 255, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.qty-btn {
    color: var(--liquid-accent) !important;
}

.bottom-nav {
    background: rgba(255, 255, 255, 0.74) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 999px !important;
    box-shadow: var(--liquid-shadow) !important;
    backdrop-filter: blur(24px) saturate(1.35);
    -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.wrap {
    max-width: 1120px !important;
}

.hero,
.subsite-panel {
    position: relative;
    overflow: hidden;
    border-top: 0 !important;
}

.stats {
    gap: 16px !important;
}

.stat {
    min-height: 120px;
}

.tabbar {
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.order-top,
.detail-summary-top {
    position: relative;
    z-index: 1;
}

.detail-mask,
.pop-mask,
.overlay {
    background: rgba(248, 250, 252, 0.42) !important;
    backdrop-filter: blur(26px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.25) !important;
}

.card-info-box {
    background: linear-gradient(135deg, #0f172a, #1f2937) !important;
    border-radius: 8px !important;
}

@media (max-width: 768px) {
    body {
        background:
            radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 32%),
            linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
    }

    .app-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .header-section {
        margin-top: 12px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-card {
        min-height: 158px;
        padding: 18px 12px !important;
    }

    .p-price {
        font-size: 23px !important;
    }

    .header {
        top: 8px !important;
        width: calc(100% - 20px);
    }

    .content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tabbar {
        border-radius: 8px;
    }

    .tabx {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
}

/* INS liquid-glass card store layout. */
body {
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.98), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(252, 211, 77, 0.18), transparent 24%),
        radial-gradient(circle at 18% 82%, rgba(244, 114, 182, 0.12), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 52%, #f9fafb 100%) !important;
}

.ins-shell {
    max-width: 1180px !important;
    padding: 18px 16px 54px !important;
}

.ins-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    margin: 14px 0 18px;
}

body.site-index .ins-hero {
    min-height: calc(100vh - 56px);
    align-items: stretch;
    grid-template-columns: minmax(0, 1.15fr) 360px;
    gap: 22px;
}

.ins-panel,
.ins-side,
.ins-toolbar,
.ins-section,
.ins-empty {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.84), rgba(255,255,255,0.48)) !important;
    border: 1px solid rgba(255,255,255,0.76) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.78) !important;
    backdrop-filter: blur(26px) saturate(1.35);
    -webkit-backdrop-filter: blur(26px) saturate(1.35);
}

.ins-panel {
    min-height: 300px;
    padding: 28px;
}

body.site-index .ins-panel,
body.site-index .ins-side {
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.site-index .ins-panel {
    padding: 36px;
}

.ins-panel::before,
.ins-side::before,
.ins-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.54), transparent 42%),
        radial-gradient(circle at 88% 10%, var(--liquid-accent-soft), transparent 34%);
}

.ins-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.ins-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.site-index .ins-topbar {
    margin-bottom: 42px;
}

.ins-mini-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ins-mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    text-decoration: none !important;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.74);
}

.ins-brand i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--liquid-accent), #ec4899);
    box-shadow: 0 12px 24px var(--liquid-accent-soft);
}

body.site-index .ins-brand i {
    background: linear-gradient(135deg, var(--liquid-accent), #a855f7);
}

.ins-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ins-action,
.ins-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    color: #334155 !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 8px 20px rgba(15,23,42,0.06);
    font-size: 13px;
    font-weight: 800;
}

.ins-action.primary,
.ins-tab.is-special,
.ins-card-arrow {
    color: #fff !important;
    background: linear-gradient(135deg, var(--liquid-accent), #ec4899);
}

.ins-title-wrap {
    position: relative;
    z-index: 1;
}

body.site-index .ins-title-wrap {
    max-width: 720px;
}

.ins-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--liquid-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ins-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 5.6vw, 62px);
    line-height: 1.02;
    font-weight: 900;
}

body.site-index .ins-title {
    letter-spacing: -.04em;
    text-wrap: balance;
}

.ins-subtitle {
    max-width: 620px;
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

body.site-index .ins-subtitle {
    font-size: 15px;
    line-height: 1.9;
}

.ins-highlight-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ins-highlight-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.78);
}

.ins-statline {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

body.site-index .ins-statline {
    margin-top: 32px;
}

.ins-stat {
    min-height: 78px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.78);
}

.ins-stat span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ins-stat strong {
    display: block;
    margin-top: 8px;
    color: var(--liquid-accent);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.ins-side {
    min-height: 300px;
    padding: 20px;
}

.ins-phone {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 260px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.44)),
        radial-gradient(circle at 70% 18%, var(--liquid-accent-soft), transparent 36%);
    border: 1px solid rgba(255,255,255,0.82);
    padding: 18px;
}

body.site-index .ins-phone {
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.ins-phone-feed {
    display: grid;
    gap: 10px;
}

body.site-index .ins-phone-feed {
    width: 100%;
    gap: 14px;
}

.ins-feed-card {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(255,255,255,0.72);
}

.ins-feed-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ins-feed-card strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

body.site-index .ins-feed-card {
    padding: 14px;
    border-radius: 18px;
}

.ins-feed-card.is-quote {
    background: linear-gradient(135deg, rgba(255,255,255,0.66), var(--liquid-accent-soft));
    border-color: var(--liquid-accent-line);
}

.ins-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px;
    margin-bottom: 16px;
}

body.site-index .ins-toolbar {
    border-radius: 18px;
    padding: 14px 16px;
}

.ins-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.ins-tab {
    white-space: nowrap;
    min-height: 36px;
    font-size: 12px;
}

.ins-section {
    padding: 16px;
    margin-bottom: 16px;
}

.ins-section-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.ins-section-title {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.ins-section-meta {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ins-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

body.site-index .ins-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.ins-card {
    min-height: 210px;
    display: flex !important;
    flex-direction: column;
    text-align: left !important;
    align-items: stretch;
    padding: 0 !important;
    border-radius: 20px !important;
}

body.site-index .ins-card {
    min-height: 224px;
    border-radius: 24px !important;
}

body.site-index .ins-card-top {
    padding: 18px 18px 0;
}

body.site-index .ins-card-body {
    padding: 16px 18px 0;
}

body.site-index .ins-card-foot {
    padding: 16px 18px 18px;
}

.ins-card-top,
.ins-card-body,
.ins-card-foot {
    position: relative;
    z-index: 1;
}

.ins-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px 0;
}

.ins-card-code {
    color: var(--liquid-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ins-card-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--liquid-accent), #ec4899);
}

body.site-subsite .ins-card-icon,
body.site-subsite .ins-brand i,
body.site-subsite .ins-action.primary,
body.site-subsite .ins-tab.is-special,
body.site-subsite .ins-card-arrow {
    background: linear-gradient(135deg, #38bdf8, #60a5fa) !important;
}

.ins-card-body {
    flex: 1;
    padding: 12px 16px 0;
}

.ins-card .p-name {
    min-height: 42px;
    margin: 0;
    color: #0f172a !important;
    font-size: 15px;
    line-height: 1.38;
}

.ins-card .p-price {
    margin: 14px 0 10px;
    color: var(--liquid-accent) !important;
    font-size: 28px !important;
    line-height: 1;
}

.ins-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ins-card-meta .p-daily,
.ins-card-meta .p-stock {
    margin: 0;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
}

.ins-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 16px;
}

.ins-card-action {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.ins-card-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.ins-empty {
    padding: 48px 20px;
    text-align: center;
    color: #64748b;
}

body.site-order .mobile-container {
    background: transparent !important;
}

body.site-order .header,
body.site-query .section-box,
body.site-query .order-card,
body.site-query .pop-box,
body.site-query .pop-box-card,
body.site-query .notice-card,
body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .input-group-custom,
body.site-order .pay-option {
    border-radius: 24px !important;
}

body.site-order .header {
    width: min(100% - 24px, 1180px);
    margin: 10px auto 0 !important;
}

body.site-order .pc-layout {
    position: relative;
}

body.site-order .pc-left,
body.site-order .pc-right {
    position: relative;
    z-index: 1;
}

body.site-query .app-view {
    max-width: 540px;
    padding-top: 16px;
}

body.site-query .section-box:first-of-type {
    padding: 24px;
}

body.site-query {
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,0.94) 0, rgba(255,255,255,0) 26%),
        radial-gradient(circle at 86% 12%, rgba(102,126,234,0.22) 0, rgba(102,126,234,0) 28%),
        linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%) !important;
}

body.site-query .app-view::before {
    content: "";
    display: block;
    height: 1px;
}

body.site-query .section-box,
body.site-query .order-card {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.site-order .product-card,
body.site-order .pc-desc-scroll,
body.site-order .promo-hints-container {
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

@media (max-width: 900px) {
    .ins-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ins-shell {
        padding: 12px 10px 42px !important;
    }

    .ins-panel {
        min-height: auto;
        padding: 20px;
    }

    body.site-index .ins-panel {
        padding: 24px;
    }

    .ins-topbar,
    .ins-toolbar,
    .ins-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .ins-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ins-statline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ins-stat {
        min-height: 70px;
        padding: 12px 8px;
    }

    .ins-stat strong {
        font-size: 20px;
    }

    .ins-grid {
        grid-template-columns: 1fr;
    }

    .ins-highlight-row {
        gap: 8px;
    }
}

/* Cleanup pass: compact layout, remove large blank areas, and fix overlay positioning. */
body.site-index .pop-mask.active#noticeBox {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding: 18px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
}

body.site-index .pop-mask.active#noticeBox .notice-card {
    width: min(360px, 100%) !important;
    max-height: min(66vh, 520px) !important;
    margin: 0 !important;
    pointer-events: auto;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16) !important;
}

body.site-index .pop-mask.active#noticeBox .notice-body {
    overflow-y: auto !important;
}

body.site-index .ins-hero {
    min-height: auto !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 18px !important;
    margin: 18px 0 20px !important;
    align-items: start !important;
}

body.site-index .ins-panel,
body.site-index .ins-side {
    border-radius: 22px !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

body.site-index .ins-panel {
    min-height: auto !important;
    padding: 24px !important;
}

body.site-index .ins-topbar {
    margin-bottom: 20px !important;
}

body.site-index .ins-title-wrap {
    max-width: 560px !important;
}

body.site-index .ins-title {
    font-size: clamp(34px, 4.6vw, 50px) !important;
    line-height: 1.02 !important;
}

body.site-index .ins-subtitle {
    max-width: 540px !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

body.site-index .ins-statline {
    margin-top: 18px !important;
    gap: 10px !important;
}

body.site-index .ins-stat {
    min-height: 68px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
}

body.site-index .ins-stat strong {
    margin-top: 6px !important;
    font-size: 20px !important;
}

body.site-index .ins-side {
    min-height: auto !important;
    padding: 14px !important;
}

body.site-index .ins-phone {
    min-height: auto !important;
    padding: 14px !important;
    display: block !important;
}

body.site-index .ins-phone-feed {
    gap: 10px !important;
}

body.site-index .ins-feed-card {
    padding: 12px !important;
    border-radius: 14px !important;
}

body.site-index .ins-toolbar {
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
}

body.site-index .ins-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

body.site-index .ins-card {
    flex: 0 0 188px !important;
    width: 188px !important;
    min-height: 176px !important;
    border-radius: 18px !important;
}

body.site-index .ins-card-top {
    padding: 14px 14px 0 !important;
}

body.site-index .ins-card-body {
    padding: 12px 14px 0 !important;
}

body.site-index .ins-card .p-name {
    min-height: 34px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
}

body.site-index .ins-card .p-price {
    margin: 12px 0 8px !important;
    font-size: 24px !important;
}

body.site-index .ins-card-foot {
    padding: 12px 14px 14px !important;
}

body.site-index .ins-section {
    padding: 14px !important;
    margin-bottom: 14px !important;
}

body.site-index .ins-section-head {
    margin-bottom: 10px !important;
}

body.site-subsite.site-index .ins-panel,
body.site-subsite.site-index .ins-side,
body.site-subsite.site-index .ins-toolbar,
body.site-subsite.site-index .ins-section {
    background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(240,249,255,0.78)) !important;
    border-color: rgba(186, 230, 253, 0.96) !important;
}

body.site-subsite.site-index .ins-title {
    color: #15324a !important;
}

body.site-subsite.site-index .ins-subtitle {
    color: #557087 !important;
}

body.site-query .section-box,
body.site-query .order-card {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

@media (max-width: 900px) {
    body.site-index .pop-mask.active#noticeBox {
        justify-content: center !important;
        background: rgba(224, 234, 252, 0.34) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        pointer-events: auto;
    }

    body.site-index .pop-mask.active#noticeBox .notice-card {
        max-height: 80vh !important;
    }

    body.site-index .ins-hero {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.site-index .ins-card {
        flex: 1 1 100% !important;
        width: auto !important;
    }
}

/* Mobile corrective pass */
@media (max-width: 640px) {
    body.site-index .app-container {
        padding: 0 10px 36px !important;
    }

    body.site-index .pop-mask.active#noticeBox {
        justify-content: center !important;
        align-items: center !important;
        padding: 14px !important;
        background: rgba(224,234,252,.34) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        pointer-events: auto;
    }

    body.site-index .pop-mask.active#noticeBox .notice-card {
        width: 100% !important;
        max-width: 340px !important;
        max-height: 76vh !important;
        border-radius: 24px !important;
        padding: 20px 16px !important;
    }

    body.site-index .ins-shell {
        padding: 10px 0 30px !important;
    }

    body.site-index .ins-hero {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 12px 0 14px !important;
    }

    body.site-index .ins-panel,
    body.site-index .ins-side,
    body.site-index .ins-toolbar,
    body.site-index .ins-section {
        border-radius: 18px !important;
    }

    body.site-index .ins-panel {
        padding: 16px !important;
    }

    body.site-index .ins-topbar {
        margin-bottom: 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    body.site-index .ins-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    body.site-index .ins-action {
        min-height: 38px !important;
        justify-content: center !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    body.site-index .ins-title {
        font-size: 34px !important;
    }

    body.site-index .ins-subtitle {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    body.site-index .ins-statline {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 8px !important;
    }

    body.site-index .ins-stat {
        min-height: 58px !important;
        padding: 10px 10px !important;
    }

    body.site-index .ins-stat span {
        font-size: 10px !important;
    }

    body.site-index .ins-stat strong {
        font-size: 18px !important;
    }

    body.site-index .ins-side {
        padding: 10px !important;
    }

    body.site-index .ins-phone {
        padding: 10px !important;
        min-height: auto !important;
    }

    body.site-index .ins-feed-card strong {
        font-size: 15px !important;
    }

    body.site-index .ins-toolbar {
        padding: 10px !important;
        gap: 10px !important;
    }

    body.site-index .ins-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
    }

    body.site-index .ins-tab {
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    body.site-index .ins-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    body.site-index .ins-card {
        width: auto !important;
        min-height: 164px !important;
        flex: none !important;
        border-radius: 16px !important;
    }

    body.site-index .ins-card-top {
        padding: 12px 12px 0 !important;
    }

    body.site-index .ins-card-body {
        padding: 10px 12px 0 !important;
    }

    body.site-index .ins-card .p-name {
        min-height: 32px !important;
        font-size: 13px !important;
    }

    body.site-index .ins-card .p-price {
        font-size: 20px !important;
        margin: 10px 0 6px !important;
    }

    body.site-index .ins-card-foot {
        padding: 10px 12px 12px !important;
    }

    body.site-index .ins-card-action {
        font-size: 11px !important;
    }

    body.site-index .ins-card-arrow {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Day/Night mode: default dark */
:root[data-site-mode="dark"] {
    --mode-bg: #08111f;
    --mode-bg-soft: #101d31;
    --mode-surface: rgba(9, 19, 34, 0.82);
    --mode-surface-strong: rgba(12, 24, 42, 0.92);
    --mode-line: rgba(148, 163, 184, 0.18);
    --mode-text: #e5eefb;
    --mode-muted: #9fb0c9;
    --mode-chip: rgba(255,255,255,0.06);
}

:root[data-site-mode="light"] {
    --mode-bg: #f8fbff;
    --mode-bg-soft: #eef4fb;
    --mode-surface: rgba(255,255,255,0.82);
    --mode-surface-strong: rgba(255,255,255,0.94);
    --mode-line: rgba(148, 163, 184, 0.20);
    --mode-text: #0f172a;
    --mode-muted: #64748b;
    --mode-chip: rgba(255,255,255,0.58);
}

body.mode-dark {
    color: var(--mode-text) !important;
    background:
        radial-gradient(circle at 18% 10%, rgba(56, 189, 248, 0.10) 0, rgba(56, 189, 248, 0) 22%),
        radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.12) 0, rgba(168, 85, 247, 0) 24%),
        linear-gradient(180deg, var(--mode-bg) 0%, var(--mode-bg-soft) 100%) !important;
}

body.mode-dark .ins-panel,
body.mode-dark .ins-side,
body.mode-dark .ins-toolbar,
body.mode-dark .ins-section,
body.mode-dark .ins-empty,
body.mode-dark .section-box,
body.mode-dark .order-card,
body.mode-dark .pop-box,
body.mode-dark .pop-box-card,
body.mode-dark .notice-card,
body.mode-dark .product-card,
body.mode-dark .promo-hints-container,
body.mode-dark .pc-desc-scroll,
body.mode-dark .input-group-custom,
body.mode-dark .pay-option,
body.mode-dark .header,
body.mode-dark .alert-box,
body.mode-dark .confirm-card {
    background: linear-gradient(145deg, rgba(9,19,34,0.88), rgba(14,27,48,0.76)) !important;
    border-color: var(--mode-line) !important;
    color: var(--mode-text) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

body.mode-dark .ins-title,
body.mode-dark .ins-section-title,
body.mode-dark .p-name,
body.mode-dark .product-name,
body.mode-dark .title,
body.mode-dark .header-title,
body.mode-dark .notice-card h5,
body.mode-dark .confirm-card h5,
body.mode-dark .ins-feed-card strong,
body.mode-dark .ins-card-action {
    color: var(--mode-text) !important;
}

body.mode-dark .ins-subtitle,
body.mode-dark .ins-section-meta,
body.mode-dark .ins-stat span,
body.mode-dark .p-stock,
body.mode-dark .p-tip,
body.mode-dark .help-card,
body.mode-dark .notice-body,
body.mode-dark .p-meta,
body.mode-dark .back-link,
body.mode-dark .query-btn,
body.mode-dark .user-btn,
body.mode-dark .ins-brand,
body.mode-dark .ins-action,
body.mode-dark .ins-tab {
    color: var(--mode-muted) !important;
}

body.mode-dark .ins-action,
body.mode-dark .ins-tab,
body.mode-dark .ins-mini-link,
body.mode-dark .ins-highlight-chip,
body.mode-dark .ins-feed-card,
body.mode-dark .p-daily,
body.mode-dark .daily-hint,
body.mode-dark .badge,
body.mode-dark .btn-sub,
body.mode-dark [data-theme-toggle] {
    background: var(--mode-chip) !important;
    border-color: var(--mode-line) !important;
    color: var(--mode-text) !important;
}

body.mode-dark .input-u,
body.mode-dark .input-group-custom input,
body.mode-dark select,
body.mode-dark textarea {
    background: rgba(255,255,255,0.04) !important;
    color: var(--mode-text) !important;
    border-color: var(--mode-line) !important;
}

body.mode-dark .input-u::placeholder,
body.mode-dark .input-group-custom input::placeholder {
    color: rgba(229,238,251,0.42) !important;
}

body.mode-dark .ins-card .p-price,
body.mode-dark .price-tag,
body.mode-dark .ins-stat strong,
body.mode-dark .p-price {
    color: #7dd3fc !important;
}

body.mode-dark .footer-section,
body.mode-dark .copyright {
    color: rgba(229,238,251,0.52) !important;
}

[data-theme-toggle] {
    cursor: pointer;
}

/* Main site slow chromatic gradient and stronger glass pass */
body.site-main.site-index::before {
    background:
        radial-gradient(circle at 14% 16%, rgba(255,255,255,0.22) 0, rgba(255,255,255,0) 20%),
        radial-gradient(circle at 82% 18%, rgba(255,255,255,0.12) 0, rgba(255,255,255,0) 22%),
        linear-gradient(120deg, #f4d7e7 0%, #d9e7f4 26%, #d8efe7 52%, #f3ecd6 78%, #f4d7e7 100%);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    opacity: .22;
    animation: mainChromaticShift 600s linear infinite;
}

body.site-main.site-index::after {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.24) 0, rgba(255,255,255,0) 18%),
        radial-gradient(circle at 76% 28%, rgba(255,255,255,0.16) 0, rgba(255,255,255,0) 16%),
        radial-gradient(circle at 48% 78%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0) 16%);
    mix-blend-mode: screen;
}

@keyframes mainChromaticShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

body.site-main.site-index .ins-panel,
body.site-main.site-index .ins-side,
body.site-main.site-index .ins-toolbar,
body.site-main.site-index .ins-section,
body.site-main.site-index .ins-empty,
body.site-main.site-index .notice-card,
body.site-main.site-index .confirm-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.74), rgba(255,255,255,0.42)) !important;
    border: 1px solid rgba(255,255,255,0.52) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(32px) saturate(1.65) !important;
    -webkit-backdrop-filter: blur(32px) saturate(1.65) !important;
}

body.site-main.site-index .ins-action,
body.site-main.site-index .ins-tab,
body.site-main.site-index .ins-feed-card,
body.site-main.site-index .ins-stat,
body.site-main.site-index .ins-card,
body.site-main.site-index .ins-highlight-chip,
body.site-main.site-index .p-daily,
body.site-main.site-index .p-stock,
body.site-main.site-index .btn-sub {
    background: linear-gradient(145deg, rgba(255,255,255,0.66), rgba(255,255,255,0.34)) !important;
    border-color: rgba(255,255,255,0.54) !important;
    backdrop-filter: blur(26px) saturate(1.45) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45) !important;
}

body.site-main.site-index .ins-brand i,
body.site-main.site-index .ins-action.primary,
body.site-main.site-index .ins-tab.is-special,
body.site-main.site-index .ins-card-icon,
body.site-main.site-index .ins-card-arrow,
body.site-main.site-index .n-btn,
body.site-main.site-index .btn-golden {
    background: rgba(255,255,255,0.58) !important;
    color: #203044 !important;
    border: 1px solid rgba(255,255,255,0.58) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.62) !important;
    backdrop-filter: blur(18px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
}

body.site-main.site-index .ins-title,
body.site-main.site-index .ins-card .p-price,
body.site-main.site-index .ins-stat strong,
body.site-main.site-index .price-tag {
    background: linear-gradient(135deg, #cc9bb8 0%, #96aec8 34%, #8fb4a1 68%, #c8b27c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-main.site-index .ins-subtitle,
body.site-main.site-index .ins-brand,
body.site-main.site-index .ins-section-meta,
body.site-main.site-index .ins-stat span,
body.site-main.site-index .ins-card-action,
body.site-main.site-index .p-tip,
body.site-main.site-index .footer-section {
    color: rgba(15, 23, 42, 0.72) !important;
}

body.site-main.mode-dark.site-index::before {
    opacity: .28;
}

body.site-main.mode-dark.site-index .ins-panel,
body.site-main.mode-dark.site-index .ins-side,
body.site-main.mode-dark.site-index .ins-toolbar,
body.site-main.mode-dark.site-index .ins-section,
body.site-main.mode-dark.site-index .ins-empty,
body.site-main.mode-dark.site-index .notice-card,
body.site-main.mode-dark.site-index .confirm-card {
    background: linear-gradient(145deg, rgba(7,12,23,0.78), rgba(15,25,42,0.52)) !important;
    border-color: rgba(255,255,255,0.10) !important;
}

body.site-main.mode-dark.site-index .ins-action,
body.site-main.mode-dark.site-index .ins-tab,
body.site-main.mode-dark.site-index .ins-feed-card,
body.site-main.mode-dark.site-index .ins-stat,
body.site-main.mode-dark.site-index .ins-card,
body.site-main.mode-dark.site-index .ins-highlight-chip,
body.site-main.mode-dark.site-index .p-daily,
body.site-main.mode-dark.site-index .p-stock,
body.site-main.mode-dark.site-index .btn-sub {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
    border-color: rgba(255,255,255,0.10) !important;
}


/* Final dark-mode override for main site */
body.site-main.mode-dark.site-index {
    color: #e8eef8 !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(92, 123, 166, 0.12) 0, rgba(92,123,166,0) 24%),
        radial-gradient(circle at 82% 18%, rgba(148, 120, 160, 0.10) 0, rgba(148,120,160,0) 24%),
        linear-gradient(180deg, #08111c 0%, #101b2a 100%) !important;
}

body.site-main.mode-dark.site-index::before {
    background:
        radial-gradient(circle at 18% 14%, rgba(90, 112, 142, 0.20) 0, rgba(90,112,142,0) 24%),
        radial-gradient(circle at 82% 18%, rgba(126, 107, 132, 0.18) 0, rgba(126,107,132,0) 24%),
        linear-gradient(120deg, #3f3547 0%, #2d3a4f 28%, #223f3a 54%, #4a4633 78%, #3f3547 100%);
    background-size: 100% 100%, 100% 100%, 400% 400%;
    opacity: .32;
    animation: mainChromaticShift 420s linear infinite;
}

body.site-main.mode-dark.site-index::after {
    background:
        radial-gradient(circle at 22% 24%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0) 18%),
        radial-gradient(circle at 74% 30%, rgba(255,255,255,0.06) 0, rgba(255,255,255,0) 16%);
    mix-blend-mode: screen;
}

body.site-main.mode-dark.site-index .ins-panel,
body.site-main.mode-dark.site-index .ins-side,
body.site-main.mode-dark.site-index .ins-toolbar,
body.site-main.mode-dark.site-index .ins-section,
body.site-main.mode-dark.site-index .ins-empty,
body.site-main.mode-dark.site-index .notice-card,
body.site-main.mode-dark.site-index .confirm-card,
body.site-main.mode-dark.site-index .ins-card,
body.site-main.mode-dark.site-index .ins-feed-card,
body.site-main.mode-dark.site-index .ins-stat,
body.site-main.mode-dark.site-index .ins-action,
body.site-main.mode-dark.site-index .ins-tab {
    background: linear-gradient(145deg, rgba(9, 16, 28, 0.84), rgba(16, 28, 44, 0.68)) !important;
    border-color: rgba(255,255,255,0.10) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
    color: #d7e2f1 !important;
}

body.site-main.mode-dark.site-index .ins-title,
body.site-main.mode-dark.site-index .ins-section-title,
body.site-main.mode-dark.site-index .p-name,
body.site-main.mode-dark.site-index .ins-feed-card strong,
body.site-main.mode-dark.site-index .ins-card-action,
body.site-main.mode-dark.site-index .price-tag,
body.site-main.mode-dark.site-index .ins-stat strong,
body.site-main.mode-dark.site-index .p-price {
    color: #eef4ff !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

body.site-main.mode-dark.site-index .ins-subtitle,
body.site-main.mode-dark.site-index .ins-section-meta,
body.site-main.mode-dark.site-index .ins-stat span,
body.site-main.mode-dark.site-index .p-stock,
body.site-main.mode-dark.site-index .p-tip,
body.site-main.mode-dark.site-index .footer-section,
body.site-main.mode-dark.site-index .ins-brand {
    color: rgba(215,226,241,0.68) !important;
}

body.site-main.mode-dark.site-index .ins-action.primary,
body.site-main.mode-dark.site-index .ins-tab.is-special,
body.site-main.mode-dark.site-index .ins-card-icon,
body.site-main.mode-dark.site-index .ins-card-arrow,
body.site-main.mode-dark.site-index .n-btn {
    background: linear-gradient(135deg, rgba(240,244,255,0.20), rgba(182,205,242,0.14)) !important;
    border-color: rgba(255,255,255,0.16) !important;
    color: #eef4ff !important;
}

/* Chromatic rollout for order, center and recharge pages */
@keyframes chromaticPageShift {
    0% { background-position: 0% 50%, 100% 20%, 0% 50%; }
    25% { background-position: 18% 42%, 82% 18%, 100% 52%; }
    50% { background-position: 100% 50%, 10% 86%, 100% 100%; }
    75% { background-position: 82% 24%, 90% 18%, 0% 100%; }
    100% { background-position: 0% 50%, 100% 20%, 0% 50%; }
}

@keyframes chromaticAuraFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -2%, 0) scale(1.03); }
}

body.site-order,
body.site-center,
body.site-recharge {
    --page-shell-border: rgba(255, 255, 255, 0.58);
    --page-shell-shadow: 0 24px 60px rgba(92, 108, 158, 0.12);
    --page-soft-shadow: 0 14px 34px rgba(106, 118, 176, 0.10);
    --page-primary-grad: linear-gradient(135deg, #d9ecff 0%, #ddf7ff 32%, #efe6ff 68%, #ffe2d2 100%);
    --page-primary-ink: #23374c;
    --page-muted: rgba(35, 55, 76, 0.68);
    --page-chip-bg: linear-gradient(145deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52));
    color: #18283d !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,0.94) 0, rgba(255,255,255,0) 26%),
        radial-gradient(circle at 88% 14%, rgba(213,226,255,0.52) 0, rgba(213,226,255,0) 28%),
        linear-gradient(135deg, #eff7ff 0%, #eef1ff 32%, #f7f1ff 68%, #fff7ef 100%) !important;
    background-size: 100% 100%, 100% 100%, 280% 280% !important;
    animation: chromaticPageShift 150s ease infinite;
}

body.site-subsite.site-order,
body.site-subsite.site-center,
body.site-subsite.site-recharge {
    --page-shell-shadow: 0 24px 60px rgba(32, 115, 166, 0.12);
    --page-soft-shadow: 0 14px 34px rgba(38, 134, 204, 0.10);
    --page-primary-grad: linear-gradient(135deg, #d6f0ff 0%, #dff8ff 32%, #e5f4ff 68%, #eefcff 100%);
    --page-primary-ink: #14466c;
    --page-muted: rgba(20, 70, 108, 0.68);
    background:
        radial-gradient(circle at 14% 10%, rgba(255,255,255,0.96) 0, rgba(255,255,255,0) 28%),
        radial-gradient(circle at 84% 16%, rgba(125,211,252,0.36) 0, rgba(125,211,252,0) 30%),
        linear-gradient(135deg, #eef9ff 0%, #ebf6ff 38%, #f5fbff 100%) !important;
}

body.site-order::before,
body.site-center::before,
body.site-recharge::before {
    background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,0.42) 0, rgba(255,255,255,0) 22%),
        radial-gradient(circle at 82% 24%, rgba(208, 218, 255, 0.22) 0, rgba(208,218,255,0) 24%),
        radial-gradient(circle at 26% 86%, rgba(255, 223, 205, 0.18) 0, rgba(255,223,205,0) 22%);
    opacity: .72;
    animation: chromaticAuraFloat 60s ease-in-out infinite;
}

body.site-order::after,
body.site-center::after,
body.site-recharge::after {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22) 0, rgba(255,255,255,0) 18%),
        radial-gradient(circle at 74% 30%, rgba(255,255,255,0.16) 0, rgba(255,255,255,0) 18%),
        radial-gradient(circle at 52% 74%, rgba(255,255,255,0.12) 0, rgba(255,255,255,0) 16%);
    opacity: .88;
}

body.site-subsite.site-order::before,
body.site-subsite.site-center::before,
body.site-subsite.site-recharge::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255,255,255,0.38) 0, rgba(255,255,255,0) 22%),
        radial-gradient(circle at 82% 20%, rgba(125,211,252,0.24) 0, rgba(125,211,252,0) 26%),
        radial-gradient(circle at 24% 82%, rgba(186,230,253,0.18) 0, rgba(186,230,253,0) 22%);
}

body.site-order,
body.site-center,
body.site-recharge,
body.site-order .muted,
body.site-center .muted,
body.site-recharge .text-muted,
body.site-recharge .small.text-muted {
    color: var(--page-muted) !important;
}

body.site-order {
    --order-accent: #7189a4;
    --order-accent-strong: #23374c;
    --order-accent-soft: rgba(113, 137, 164, 0.16);
    --order-accent-line: rgba(176, 193, 214, 0.46);
    --order-accent-grad: var(--page-primary-grad);
}

body.site-subsite.site-order {
    --order-accent: #2586cc;
    --order-accent-strong: #0f5f9e;
    --order-accent-soft: rgba(37, 134, 204, 0.14);
    --order-accent-line: rgba(125, 211, 252, 0.36);
    --order-accent-grad: linear-gradient(135deg, #d9f2ff 0%, #d8f7ff 34%, #e6fbff 100%);
}

body.site-center .wrap,
body.site-recharge .wrap {
    width: min(100% - 16px, 1120px) !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.site-recharge .wrap {
    max-width: 760px !important;
}

body.site-center .hero,
body.site-center .subsite-panel,
body.site-recharge .wrap,
body.site-center .stat,
body.site-center .order,
body.site-center .subsite-box,
body.site-center .subsite-agent-panel,
body.site-center .subsite-agent-card,
body.site-center .detail-pop,
body.site-center .detail-summary,
body.site-center .detail-panel,
body.site-center .detail-section,
body.site-recharge .summary-box,
body.site-recharge .identity-bar,
body.site-recharge .alert,
body.site-recharge form,
body.site-order .header,
body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .desc-text,
body.site-order .alert-box,
body.site-order .input-group-custom,
body.site-order .pay-option,
body.site-order .bottom-nav {
    background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)) !important;
    border: 1px solid var(--page-shell-border) !important;
    box-shadow: var(--page-shell-shadow), inset 0 1px 0 rgba(255,255,255,0.82) !important;
    backdrop-filter: blur(28px) saturate(1.35) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.35) !important;
}

body.site-center .hero,
body.site-center .subsite-panel,
body.site-recharge .wrap,
body.site-order .header,
body.site-center .detail-pop,
body.site-order .alert-box {
    position: relative;
    overflow: hidden;
}

body.site-center .hero::before,
body.site-center .subsite-panel::before,
body.site-recharge .wrap::before,
body.site-order .header::before,
body.site-center .detail-pop::before,
body.site-order .alert-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 118px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0) 100%),
        var(--page-primary-grad);
    opacity: .54;
    pointer-events: none;
}

body.site-center .hero > *,
body.site-center .subsite-panel > *,
body.site-recharge .wrap > *,
body.site-order .header > *,
body.site-center .detail-pop > *,
body.site-order .alert-box > * {
    position: relative;
    z-index: 1;
}

body.site-center .hero,
body.site-recharge .wrap {
    border-radius: 34px !important;
    padding: 28px !important;
}

body.site-center .stat,
body.site-center .order,
body.site-center .subsite-box,
body.site-center .subsite-agent-panel,
body.site-center .subsite-agent-card,
body.site-center .detail-summary,
body.site-center .detail-panel,
body.site-center .detail-section,
body.site-recharge .summary-box,
body.site-recharge .identity-bar,
body.site-recharge form,
body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .pay-option {
    border-radius: 26px !important;
}

body.site-center .detail-pop,
body.site-order .alert-box {
    border-radius: 30px !important;
}

body.site-center .stats,
body.site-recharge .summary {
    gap: 16px !important;
}

body.site-center .tabbar,
body.site-center .subsite-actions,
body.site-center .subsite-agent-toolbar,
body.site-center .subsite-agent-actions,
body.site-center .order-actions {
    gap: 12px !important;
}

body.site-center .hero h3,
body.site-center .h3,
body.site-center .h4,
body.site-center .subsite-value,
body.site-center .modal-title-wrap,
body.site-center .detail-summary-title,
body.site-recharge h3,
body.site-recharge .summary-box .v,
body.site-order .title,
body.site-order .section-title,
body.site-order .price-tag,
body.site-order .price-tag small,
body.site-order .product-name,
body.site-order .daily-hint {
    background: linear-gradient(135deg, #6f88a6 0%, #88a4bf 28%, #96b5a9 58%, #cda880 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none !important;
}

body.site-subsite.site-center .hero h3,
body.site-subsite.site-center .h3,
body.site-subsite.site-center .h4,
body.site-subsite.site-center .subsite-value,
body.site-subsite.site-center .modal-title-wrap,
body.site-subsite.site-center .detail-summary-title,
body.site-subsite.site-recharge h3,
body.site-subsite.site-recharge .summary-box .v,
body.site-subsite.site-order .title,
body.site-subsite.site-order .section-title,
body.site-subsite.site-order .price-tag,
body.site-subsite.site-order .price-tag small,
body.site-subsite.site-order .product-name,
body.site-subsite.site-order .daily-hint {
    background: linear-gradient(135deg, #2e80bb 0%, #2e97d3 36%, #4cb7dc 100%) !important;
}

body.site-center .btnx,
body.site-center .tabx.active,
body.site-center .detail-inline-btn,
body.site-recharge .btn-primary,
body.site-recharge button[type="submit"],
body.site-order .pc-btn-pay,
body.site-order .btn-pay,
body.site-order .alert-btn,
body.site-order .detail-inline-btn,
body.site-order #couponCheckBtn {
    background: var(--page-primary-grad) !important;
    color: var(--page-primary-ink) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    box-shadow: 0 16px 34px rgba(121, 141, 193, 0.18) !important;
    text-shadow: none !important;
}

body.site-center .tabx,
body.site-center .btn-outline-secondary,
body.site-center .detail-close,
body.site-center .subsite-pill,
body.site-center .badgex,
body.site-center .pending,
body.site-center .completed,
body.site-center .cancelled,
body.site-center .reordered,
body.site-center .subsite-input,
body.site-recharge .btn-outline-secondary,
body.site-recharge .form-control,
body.site-recharge select.form-control,
body.site-order .pc-btn-back,
body.site-order .pay-option,
body.site-order .input-group-custom,
body.site-order .identity-action-link,
body.site-order .qty-btn {
    background: var(--page-chip-bg) !important;
    border-color: rgba(255,255,255,0.62) !important;
    color: #31455c !important;
    box-shadow: var(--page-soft-shadow), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

body.site-center .tabx,
body.site-center .btnx,
body.site-center .btn-outline-secondary,
body.site-center .detail-inline-btn,
body.site-center .detail-close,
body.site-center .subsite-pill,
body.site-center .pending,
body.site-center .completed,
body.site-center .cancelled,
body.site-center .reordered,
body.site-recharge .btn,
body.site-order .pc-btn-back,
body.site-order .pc-btn-pay,
body.site-order .btn-pay,
body.site-order .alert-btn,
body.site-order .detail-inline-btn,
body.site-order .identity-action-link,
body.site-order .qty-btn {
    border-radius: 999px !important;
}

body.site-center .subsite-input,
body.site-recharge .form-control,
body.site-recharge select.form-control {
    min-height: 50px !important;
}

body.site-center .subsite-input,
body.site-recharge .form-control,
body.site-recharge select.form-control,
body.site-order .input-group-custom input {
    background: rgba(255,255,255,0.52) !important;
    color: #23374c !important;
}

body.site-center .subsite-input::placeholder,
body.site-recharge .form-control::placeholder,
body.site-order .input-group-custom input::placeholder {
    color: rgba(35,55,76,0.46) !important;
}

body.site-center .hero .muted,
body.site-center .order .muted,
body.site-center .subsite-tip,
body.site-center .subsite-label,
body.site-center .detail-summary-meta,
body.site-center .detail-panel-title,
body.site-center .detail-section-title,
body.site-recharge .identity-bar,
body.site-recharge .summary-box .k,
body.site-order .identity-banner,
body.site-order .banner-subline,
body.site-order .promo-hints-title,
body.site-order .promo-hints-list,
body.site-order .stock-info,
body.site-order .p-meta {
    color: var(--page-muted) !important;
}

body.site-center .click-card:hover,
body.site-center .order:hover,
body.site-center .subsite-agent-card:hover,
body.site-order .pay-option:hover,
body.site-order .product-card:hover,
body.site-order .pc-desc-scroll:hover,
body.site-recharge .summary-box:hover {
    transform: translateY(-2px);
}

body.site-center .detail-mask {
    background: rgba(231, 238, 252, 0.44) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
}

body.site-order .header {
    width: min(100% - 16px, 1180px);
    margin: 12px auto 0 !important;
    border-radius: 26px !important;
}

body.site-order .bottom-nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(247,249,255,0.98)) !important;
    border-top-color: rgba(255,255,255,0.58) !important;
}

body.site-order .pay-option.active,
body.site-order .identity-banner,
body.site-recharge .identity-bar {
    background: linear-gradient(135deg, rgba(217,236,255,0.44), rgba(255,255,255,0.64), rgba(255,226,210,0.36)) !important;
    border-color: rgba(183, 201, 224, 0.68) !important;
    box-shadow: 0 16px 30px rgba(121,141,193,0.12) !important;
}

body.site-subsite.site-order .pay-option.active,
body.site-subsite.site-order .identity-banner,
body.site-subsite.site-recharge .identity-bar {
    background: linear-gradient(135deg, rgba(214,240,255,0.52), rgba(255,255,255,0.66), rgba(229,244,255,0.42)) !important;
    border-color: rgba(125, 211, 252, 0.62) !important;
}

body.site-order .pay-option.active span,
body.site-order .pay-option.active i,
body.site-order .qty-btn,
body.site-order .back-link {
    color: var(--page-primary-ink) !important;
}

body.site-center .subsite-panel,
body.site-center .subsite-agent-panel {
    margin-top: 18px !important;
}

body.site-recharge form {
    padding: 22px !important;
    margin-top: 18px !important;
}

body.site-recharge .alert {
    border-radius: 22px !important;
    border-color: rgba(255,255,255,0.62) !important;
}

body.site-recharge .alert-info,
body.site-center .alertx {
    background: linear-gradient(145deg, rgba(255,255,255,0.80), rgba(245,248,255,0.56)) !important;
}

@media (max-width: 768px) {
    body.site-center,
    body.site-recharge {
        padding: 14px !important;
    }

    body.site-center .hero,
    body.site-center .subsite-panel,
    body.site-recharge .wrap {
        padding: 18px !important;
        border-radius: 28px !important;
    }

    body.site-center .stats {
        gap: 10px !important;
    }

    body.site-center .stat,
    body.site-center .order,
    body.site-center .subsite-box,
    body.site-center .subsite-agent-panel,
    body.site-center .subsite-agent-card,
    body.site-center .detail-summary,
    body.site-center .detail-panel,
    body.site-center .detail-section,
    body.site-recharge .summary-box,
    body.site-recharge form,
    body.site-order .product-card,
    body.site-order .promo-hints-container,
    body.site-order .pc-desc-scroll,
    body.site-order .pay-option,
    body.site-order .bottom-nav {
        border-radius: 22px !important;
    }

    body.site-center .detail-pop,
    body.site-order .alert-box {
        border-radius: 26px !important;
    }

    body.site-order .header {
        width: calc(100% - 16px);
        margin-top: 8px !important;
    }
}

/* Final high-contrast UI pass for order/center/recharge/auth */
@keyframes codexSurfaceShift {
    0% { background-position: 0% 50%, 100% 14%, 0% 50%; }
    50% { background-position: 100% 50%, 0% 86%, 100% 100%; }
    100% { background-position: 0% 50%, 100% 14%, 0% 50%; }
}

body.site-order,
body.site-center,
body.site-recharge,
body.site-auth {
    --codex-page-bg: linear-gradient(125deg, #ffe6f1 0%, #edf3ff 24%, #eaf8ff 46%, #effcec 70%, #fff0df 100%);
    --codex-page-bg-subsite: linear-gradient(125deg, #def4ff 0%, #e7f8ff 32%, #effcff 100%);
    --codex-card-bg: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.92));
    --codex-card-border: rgba(255,255,255,0.82);
    --codex-card-shadow: 0 22px 54px rgba(108, 124, 176, 0.16);
    --codex-soft-shadow: 0 12px 28px rgba(108, 124, 176, 0.12);
    --codex-ink: #1b2c42;
    --codex-ink-soft: #425671;
    --codex-line: rgba(183, 197, 220, 0.64);
    --codex-chip: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(246,249,255,0.86));
    background:
        radial-gradient(circle at 10% 12%, rgba(255,255,255,0.95) 0, rgba(255,255,255,0) 26%),
        radial-gradient(circle at 88% 16%, rgba(183, 222, 255, 0.28) 0, rgba(183,222,255,0) 30%),
        var(--codex-page-bg) !important;
    background-size: 100% 100%, 100% 100%, 260% 260% !important;
    animation: codexSurfaceShift 16s ease-in-out infinite !important;
    color: var(--codex-ink) !important;
}

body.site-subsite.site-order,
body.site-subsite.site-center,
body.site-subsite.site-recharge,
body.site-subsite.site-auth {
    background:
        radial-gradient(circle at 10% 12%, rgba(255,255,255,0.96) 0, rgba(255,255,255,0) 26%),
        radial-gradient(circle at 88% 16%, rgba(118, 216, 255, 0.28) 0, rgba(118,216,255,0) 30%),
        var(--codex-page-bg-subsite) !important;
}

body.site-order::before,
body.site-center::before,
body.site-recharge::before,
body.site-auth::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 168, 210, 0.18) 0, rgba(255,168,210,0) 24%),
        radial-gradient(circle at 82% 20%, rgba(157, 219, 255, 0.18) 0, rgba(157,219,255,0) 24%),
        radial-gradient(circle at 34% 84%, rgba(255, 224, 188, 0.14) 0, rgba(255,224,188,0) 22%);
    opacity: .92;
}

body.site-subsite.site-order::before,
body.site-subsite.site-center::before,
body.site-subsite.site-recharge::before,
body.site-subsite.site-auth::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(141, 225, 255, 0.18) 0, rgba(141,225,255,0) 24%),
        radial-gradient(circle at 82% 20%, rgba(184, 241, 255, 0.18) 0, rgba(184,241,255,0) 24%),
        radial-gradient(circle at 34% 84%, rgba(220, 247, 255, 0.14) 0, rgba(220,247,255,0) 22%);
}

body.site-order,
body.site-center,
body.site-recharge,
body.site-auth,
body.site-order .muted,
body.site-center .muted,
body.site-recharge .text-muted,
body.site-auth .hint,
body.site-auth .footer-link,
body.site-auth label,
body.site-order .promo-hints-list,
body.site-order .desc-text,
body.site-order .stock-info,
body.site-order .alert-box,
body.site-recharge .identity-bar,
body.site-center .detail-summary-meta,
body.site-center .subsite-tip {
    color: var(--codex-ink-soft) !important;
}

body.site-order .header,
body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .desc-text,
body.site-order .input-group-custom,
body.site-order .pay-option,
body.site-order .alert-box,
body.site-order .bottom-nav,
body.site-center .hero,
body.site-center .stat,
body.site-center .order,
body.site-center .subsite-panel,
body.site-center .subsite-box,
body.site-center .subsite-agent-panel,
body.site-center .subsite-agent-card,
body.site-center .detail-pop,
body.site-center .detail-summary,
body.site-center .detail-panel,
body.site-center .detail-section,
body.site-recharge .wrap,
body.site-recharge .summary-box,
body.site-recharge .identity-bar,
body.site-recharge form,
body.site-recharge .alert,
body.site-auth .wrap,
body.site-auth .switch-btn,
body.site-auth .form-control,
body.site-auth .btn,
body.site-auth img[alt="captcha"] {
    background: var(--codex-card-bg) !important;
    border: 1px solid var(--codex-card-border) !important;
    box-shadow: var(--codex-card-shadow), inset 0 1px 0 rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(28px) saturate(1.18) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.18) !important;
}

body.site-order .header,
body.site-center .hero,
body.site-center .subsite-panel,
body.site-center .detail-pop,
body.site-recharge .wrap,
body.site-auth .wrap {
    position: relative;
    overflow: hidden;
}

body.site-order .header::before,
body.site-center .hero::before,
body.site-center .subsite-panel::before,
body.site-center .detail-pop::before,
body.site-recharge .wrap::before,
body.site-auth .wrap::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 120px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0) 100%),
        linear-gradient(135deg, rgba(255, 224, 238, 0.56) 0%, rgba(215, 232, 255, 0.54) 34%, rgba(224, 249, 239, 0.46) 68%, rgba(255, 235, 210, 0.42) 100%);
    opacity: .88;
    pointer-events: none;
}

body.site-subsite.site-order .header::before,
body.site-subsite.site-center .hero::before,
body.site-subsite.site-center .subsite-panel::before,
body.site-subsite.site-center .detail-pop::before,
body.site-subsite.site-recharge .wrap::before,
body.site-subsite.site-auth .wrap::before {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0) 100%),
        linear-gradient(135deg, rgba(216, 244, 255, 0.54) 0%, rgba(203, 236, 255, 0.52) 48%, rgba(233, 251, 255, 0.42) 100%);
}

body.site-order .header > *,
body.site-center .hero > *,
body.site-center .subsite-panel > *,
body.site-center .detail-pop > *,
body.site-recharge .wrap > *,
body.site-auth .wrap > * {
    position: relative;
    z-index: 1;
}

body.site-order .title,
body.site-order .section-title,
body.site-order .product-name,
body.site-order .price-tag,
body.site-order .price-tag small,
body.site-order .daily-hint,
body.site-center .hero h3,
body.site-center .h3,
body.site-center .h4,
body.site-center .subsite-value,
body.site-center .detail-summary-title,
body.site-center .modal-title-wrap,
body.site-recharge h3,
body.site-recharge .summary-box .v,
body.site-auth h3,
body.site-auth .switch-btn.active {
    color: var(--codex-ink) !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
    text-shadow: none !important;
}

body.site-order .product-name,
body.site-order .title,
body.site-order .section-title,
body.site-center .hero h3,
body.site-recharge h3,
body.site-auth h3 {
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

body.site-order .price-tag,
body.site-order .price-tag small {
    color: #243a54 !important;
    font-weight: 800 !important;
}

body.site-order .product-name,
body.site-order .desc-text,
body.site-order .desc-text p,
body.site-order .desc-text li,
body.site-order .desc-text span,
body.site-order .promo-hint-item span,
body.site-order .pay-option span,
body.site-order .alert-box,
body.site-order .input-group-custom input,
body.site-order .qty-num,
body.site-order .stock-info,
body.site-order .stock-info span,
body.site-order .nav-item span {
    color: #31455f !important;
}

body.site-order .desc-text strong,
body.site-order .promo-hints-title span,
body.site-order .pay-option.active span,
body.site-order .pay-option.active i,
body.site-order .qty-btn,
body.site-order .back-link,
body.site-order .section-title,
body.site-order .daily-hint,
body.site-order .promo-hint-item i {
    color: #26384f !important;
}

body.site-order .header {
    width: min(100% - 16px, 1180px);
    margin: 12px auto 0 !important;
    border-radius: 28px !important;
}

body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .input-group-custom,
body.site-order .pay-option,
body.site-order .alert-box,
body.site-order .bottom-nav,
body.site-center .stat,
body.site-center .order,
body.site-center .subsite-box,
body.site-center .subsite-agent-card,
body.site-center .detail-summary,
body.site-center .detail-panel,
body.site-center .detail-section,
body.site-recharge .summary-box,
body.site-recharge .identity-bar,
body.site-recharge form,
body.site-auth .switch-btn,
body.site-auth .form-control,
body.site-auth .btn {
    border-radius: 26px !important;
}

body.site-order .pay-option.active,
body.site-center .tabx.active,
body.site-center .btnx,
body.site-center .detail-inline-btn,
body.site-recharge .btn-primary,
body.site-recharge button[type="submit"],
body.site-auth .btn-primary,
body.site-auth .btn-outline-primary:hover {
    background: linear-gradient(135deg, #ffe4ef 0%, #dff1ff 34%, #e6faf1 68%, #ffe9d8 100%) !important;
    color: #24354c !important;
    border-color: rgba(255,255,255,0.86) !important;
    box-shadow: 0 16px 34px rgba(108, 124, 176, 0.18) !important;
}

body.site-subsite.site-order .pay-option.active,
body.site-subsite.site-center .tabx.active,
body.site-subsite.site-center .btnx,
body.site-subsite.site-center .detail-inline-btn,
body.site-subsite.site-recharge .btn-primary,
body.site-subsite.site-recharge button[type="submit"],
body.site-subsite.site-auth .btn-primary,
body.site-subsite.site-auth .btn-outline-primary:hover {
    background: linear-gradient(135deg, #dcf3ff 0%, #e4f8ff 40%, #eefcff 100%) !important;
}

body.site-order .pc-btn-pay,
body.site-order .btn-pay,
body.site-order .alert-btn,
body.site-order .detail-inline-btn,
body.site-order #couponCheckBtn,
body.site-center .btnx,
body.site-center .detail-inline-btn,
body.site-recharge .btn-primary,
body.site-recharge button[type="submit"],
body.site-auth .btn-primary {
    color: #24354c !important;
    text-shadow: none !important;
    border-radius: 999px !important;
}

body.site-order .pay-option,
body.site-order .input-group-custom,
body.site-order .bottom-nav,
body.site-order .pc-btn-back,
body.site-order .qty-btn,
body.site-center .tabx,
body.site-center .btn-outline-secondary,
body.site-center .subsite-pill,
body.site-center .detail-close,
body.site-recharge .btn-outline-secondary,
body.site-recharge .form-control,
body.site-auth .switch-btn,
body.site-auth .form-control,
body.site-auth .btn-outline-primary {
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(247,249,255,0.88)) !important;
    color: #31455f !important;
    border-color: rgba(255,255,255,0.82) !important;
    box-shadow: var(--codex-soft-shadow), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

body.site-order .input-group-custom input,
body.site-auth .form-control,
body.site-recharge .form-control {
    background: transparent !important;
    color: #31455f !important;
}

body.site-order .input-group-custom input::placeholder,
body.site-auth .form-control::placeholder,
body.site-recharge .form-control::placeholder {
    color: rgba(49,69,95,0.46) !important;
}

body.site-auth .wrap {
    max-width: 620px !important;
    border-radius: 34px !important;
    padding: 28px !important;
}

body.site-auth .switch-bar {
    gap: 12px !important;
}

body.site-auth .switch-btn {
    min-height: 58px !important;
    font-size: 16px !important;
}

body.site-auth .hint,
body.site-auth .footer-link,
body.site-auth a,
body.site-auth label {
    color: #536881 !important;
}

body.site-auth a {
    font-weight: 700 !important;
}

body.site-auth .btn,
body.site-center .btnx,
body.site-center .btn-outline-secondary,
body.site-center .tabx,
body.site-center .detail-inline-btn,
body.site-recharge .btn,
body.site-order .pc-btn-pay,
body.site-order .btn-pay,
body.site-order .pc-btn-back,
body.site-order .alert-btn,
body.site-order .detail-inline-btn,
body.site-order .qty-btn {
    min-height: 52px !important;
}

body.site-order .alert-box {
    color: #31455f !important;
}

body.site-order .alert-box [style*="color:#666"],
body.site-order .alert-box [style*="color: #666"],
body.site-order .alert-box [style*="color:#374151"],
body.site-order .alert-box [style*="color: #374151"] {
    color: #425671 !important;
}

body.site-order .bottom-nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.94)) !important;
}

@media (max-width: 768px) {
    body.site-order,
    body.site-center,
    body.site-recharge,
    body.site-auth {
        background-size: 320% 320% !important;
        animation: codexSurfaceShift 10s ease-in-out infinite !important;
    }

    body.site-auth .wrap,
    body.site-recharge .wrap,
    body.site-center .hero,
    body.site-center .subsite-panel {
        padding: 20px !important;
        border-radius: 28px !important;
    }

    body.site-order .header {
        width: calc(100% - 16px);
        margin-top: 8px !important;
    }

    body.site-order .title,
    body.site-order .product-name,
    body.site-recharge h3,
    body.site-auth h3 {
        font-size: clamp(18px, 6vw, 24px) !important;
    }
}

/* Compact UI pass for order and auth views. */
body.site-order,
body.site-auth {
    background-size: 100% 100%, 100% 100%, 100% 100% !important;
    animation: none !important;
}

body.site-order .header {
    width: min(100% - 20px, 1120px) !important;
    min-height: 60px !important;
    padding: 0 22px !important;
    border-radius: 22px !important;
}

body.site-order .pc-layout {
    gap: 22px !important;
    padding: 22px 28px !important;
}

body.site-order .product-card,
body.site-order .promo-hints-container,
body.site-order .pc-desc-scroll,
body.site-order .order-desc-card,
body.site-order .input-group-custom,
body.site-order .pay-option,
body.site-order .alert-box,
body.site-order .bottom-nav {
    border-radius: 20px !important;
}

body.site-order .order-summary-card {
    padding: 20px 22px !important;
}

body.site-order .order-summary-card.with-image {
    gap: 18px !important;
}

body.site-order .product-image-container {
    width: 112px !important;
    height: 112px !important;
}

body.site-order .product-name {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
}

body.site-order .price-tag {
    font-size: 30px !important;
}

body.site-order .price-tag small {
    font-size: 16px !important;
}

body.site-order .daily-hint,
body.site-order .stock-info,
body.site-order .stock-info span {
    font-size: 12px !important;
}

body.site-order .promo-hints-container {
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
}

body.site-order .promo-hints-title {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

body.site-order .promo-hints-title i {
    font-size: 15px !important;
}

body.site-order .promo-hints-list {
    gap: 8px !important;
}

body.site-order .promo-hint-item {
    font-size: 12px !important;
}

body.site-order .section-title {
    font-size: 13px !important;
    margin: 16px 0 10px 2px !important;
    letter-spacing: 0.06em !important;
}

body.site-order .order-desc-panel,
body.site-order .order-desc-card {
    padding: 16px 18px !important;
    overflow: hidden !important;
}

body.site-order .order-desc-panel {
    max-height: min(62vh, 720px) !important;
    margin-top: 0 !important;
}

body.site-order .order-desc-panel .desc-text,
body.site-order .order-desc-card .desc-text {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.72 !important;
}

body.site-order .order-desc-panel .desc-text p,
body.site-order .order-desc-panel .desc-text li,
body.site-order .order-desc-panel .desc-text span,
body.site-order .order-desc-card .desc-text p,
body.site-order .order-desc-card .desc-text li,
body.site-order .order-desc-card .desc-text span,
body.site-order .order-desc-panel .desc-text td,
body.site-order .order-desc-panel .desc-text th,
body.site-order .order-desc-card .desc-text td,
body.site-order .order-desc-card .desc-text th {
    font-size: 13px !important;
}

body.site-order .order-desc-panel .desc-text > :first-child,
body.site-order .order-desc-card .desc-text > :first-child {
    margin-top: 0 !important;
}

body.site-order .order-desc-panel .desc-text > :last-child,
body.site-order .order-desc-card .desc-text > :last-child {
    margin-bottom: 0 !important;
}

body.site-order .order-coupon-card {
    padding: 13px 14px !important;
}

body.site-order .order-coupon-card i,
body.site-order .order-coupon-card div,
body.site-order #couponDiscountBox .product-card div {
    font-size: 12px !important;
}

body.site-order .order-qty-card {
    padding: 14px 16px !important;
}

body.site-order .order-qty-card > span {
    font-size: 14px !important;
}

body.site-order .qty-box {
    padding: 4px !important;
    border-radius: 18px !important;
}

body.site-order .qty-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 17px !important;
}

body.site-order .qty-num {
    width: 44px !important;
    font-size: 18px !important;
    line-height: 34px !important;
}

body.site-order .pay-list {
    gap: 10px !important;
}

body.site-order .pay-option {
    padding: 14px 8px !important;
}

body.site-order .pay-option i {
    font-size: 24px !important;
    margin-bottom: 8px !important;
}

body.site-order .pay-option img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 8px !important;
}

body.site-order .pay-option span {
    font-size: 13px !important;
}

body.site-order .input-group-custom {
    padding: 4px 14px !important;
    margin-bottom: 12px !important;
}

body.site-order .input-group-custom i {
    width: 24px !important;
    font-size: 16px !important;
}

body.site-order .input-group-custom input {
    height: 42px !important;
    font-size: 14px !important;
}

body.site-order #couponCheckBtn {
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
}

body.site-order .pc-btn-pay,
body.site-order .btn-pay,
body.site-order .pc-btn-back,
body.site-order .alert-btn {
    min-height: 44px !important;
    font-size: 14px !important;
}

body.site-order .pc-helper-link,
body.site-order .nav-item {
    font-size: 13px !important;
}

body.site-order .nav-item i {
    font-size: 17px !important;
}

body.site-order .bottom-nav {
    padding: 10px 12px !important;
    border-radius: 18px !important;
}

body.site-auth {
    padding: 18px 14px !important;
}

body.site-auth .wrap {
    max-width: 520px !important;
    padding: 20px !important;
    border-radius: 26px !important;
    box-shadow: 0 16px 36px rgba(108, 124, 176, 0.14), inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.site-auth h3 {
    font-size: 22px !important;
    margin-bottom: 6px !important;
}

body.site-auth .hint,
body.site-auth .footer-link,
body.site-auth label {
    font-size: 12px !important;
    line-height: 1.6 !important;
}

body.site-auth .switch-bar {
    gap: 8px !important;
    margin-bottom: 12px !important;
}

body.site-auth .switch-btn {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
}

body.site-auth .form-group {
    margin-bottom: 12px !important;
}

body.site-auth .form-control {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0.375rem 0.8rem !important;
    font-size: 13px !important;
    border-radius: 12px !important;
}

body.site-auth .btn,
body.site-auth .btn-primary,
body.site-auth .btn-outline-primary {
    min-height: 42px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
}

body.site-auth .code-row {
    grid-template-columns: minmax(0, 1fr) 132px !important;
    gap: 8px !important;
}

body.site-auth img[alt="captcha"] {
    height: 42px !important;
    border-radius: 12px !important;
}

body.site-auth .alert {
    padding: 0.6rem 0.8rem !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

body.site-center .wrap,
body.site-recharge .wrap {
    max-width: 960px !important;
}

body.site-center .hero,
body.site-recharge .wrap {
    padding: 20px !important;
    border-radius: 26px !important;
}

body.site-center .hero h3,
body.site-recharge h3 {
    font-size: 22px !important;
    margin-bottom: 6px !important;
}

body.site-center .stats,
body.site-recharge .summary {
    gap: 10px !important;
    margin: 14px 0 18px !important;
}

body.site-center .stat,
body.site-center .order,
body.site-center .subsite-box,
body.site-center .subsite-agent-panel,
body.site-center .subsite-agent-card,
body.site-center .detail-summary,
body.site-center .detail-panel,
body.site-center .detail-section,
body.site-recharge .summary-box,
body.site-recharge .identity-bar,
body.site-recharge form,
body.site-recharge .alert {
    border-radius: 18px !important;
    padding: 14px 16px !important;
}

body.site-center .tabbar,
body.site-center .order-actions,
body.site-center .subsite-actions,
body.site-center .subsite-agent-toolbar,
body.site-center .subsite-agent-actions {
    gap: 8px !important;
    margin: 16px 0 12px !important;
}

body.site-center .tabx,
body.site-center .btnx,
body.site-center .btn-outline-secondary,
body.site-center .detail-inline-btn,
body.site-center .detail-close,
body.site-recharge .btn,
body.site-recharge .btn-primary,
body.site-recharge .btn-outline-secondary {
    min-height: 40px !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
}

body.site-center .tabx,
body.site-center .subsite-pill,
body.site-center .badgex,
body.site-center .pending,
body.site-center .completed,
body.site-center .cancelled,
body.site-center .reordered {
    font-size: 11px !important;
}

body.site-center .stat,
body.site-center .order,
body.site-center .detail-item,
body.site-center .muted,
body.site-center .subsite-tip,
body.site-center .subsite-label,
body.site-center .detail-summary-meta,
body.site-center .detail-panel-title,
body.site-center .detail-section-title,
body.site-recharge .identity-bar,
body.site-recharge .summary-box .k,
body.site-recharge .small.text-muted,
body.site-recharge label {
    font-size: 12px !important;
    line-height: 1.55 !important;
}

body.site-center .detail-item {
    padding: 9px 0 !important;
}

body.site-center .summary-box .v,
body.site-center .subsite-value,
body.site-center .detail-summary-title,
body.site-recharge .summary-box .v {
    font-size: 18px !important;
}

body.site-center .card-info-box pre {
    font-size: 12px !important;
    line-height: 1.65 !important;
}

body.site-center .copy-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
}

body.site-recharge .form-group {
    margin-bottom: 12px !important;
}

body.site-recharge .form-control,
body.site-recharge select.form-control {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0.375rem 0.8rem !important;
    font-size: 13px !important;
    border-radius: 12px !important;
}

@media (max-width: 767px) {
    body.site-order .content {
        padding: 14px 14px 88px !important;
    }

    body.site-order .product-card {
        padding: 16px !important;
        margin-bottom: 14px !important;
        border-radius: 18px !important;
    }

    body.site-order .order-summary-card.with-image {
        gap: 12px !important;
    }

    body.site-order .product-image-container {
        width: 76px !important;
        height: 76px !important;
    }

    body.site-order .product-name {
        font-size: 17px !important;
    }

    body.site-order .price-tag {
        font-size: 26px !important;
    }

    body.site-order .price-tag small {
        font-size: 15px !important;
    }

    body.site-order .daily-hint,
    body.site-order .stock-info,
    body.site-order .stock-info span {
        font-size: 11px !important;
    }

    body.site-order .section-title {
        font-size: 12px !important;
        margin: 14px 0 9px 2px !important;
    }

    body.site-order .order-desc-card {
        padding: 14px 14px 16px !important;
    }

    body.site-order .order-desc-card .desc-text {
        font-size: 12px !important;
    }

    body.site-order .order-qty-card {
        padding: 12px 14px !important;
    }

    body.site-order .bottom-nav {
        width: calc(100% - 20px) !important;
        bottom: 10px !important;
    }

    body.site-order .nav-left {
        gap: 12px !important;
    }

    body.site-order .nav-item {
        font-size: 12px !important;
    }

    body.site-order .nav-item i {
        font-size: 16px !important;
    }

    body.site-order .btn-pay {
        min-width: 104px !important;
        max-width: 128px !important;
        font-size: 13px !important;
    }

    body.site-auth {
        padding: 12px !important;
    }

    body.site-auth .wrap {
        padding: 16px !important;
        border-radius: 22px !important;
    }

    body.site-auth h3 {
        font-size: 20px !important;
    }

    body.site-auth .switch-bar,
    body.site-auth .code-row {
        grid-template-columns: 1fr !important;
    }

    body.site-auth .switch-btn,
    body.site-auth .form-control,
    body.site-auth .btn,
    body.site-auth .btn-primary,
    body.site-auth .btn-outline-primary {
        min-height: 40px !important;
        font-size: 12px !important;
    }

    body.site-center .wrap,
    body.site-recharge .wrap {
        padding: 14px !important;
    }

    body.site-center .hero,
    body.site-recharge .wrap {
        border-radius: 22px !important;
    }

    body.site-center .hero h3,
    body.site-recharge h3 {
        font-size: 20px !important;
    }

    body.site-center .stats,
    body.site-recharge .summary {
        gap: 8px !important;
    }

    body.site-center .stat,
    body.site-center .order,
    body.site-center .subsite-box,
    body.site-center .subsite-agent-panel,
    body.site-center .subsite-agent-card,
    body.site-center .detail-summary,
    body.site-center .detail-panel,
    body.site-center .detail-section,
    body.site-recharge .summary-box,
    body.site-recharge .identity-bar,
    body.site-recharge form,
    body.site-recharge .alert {
        padding: 12px 13px !important;
        border-radius: 16px !important;
    }

    body.site-center .tabx,
    body.site-center .btnx,
    body.site-center .btn-outline-secondary,
    body.site-center .detail-inline-btn,
    body.site-recharge .btn,
    body.site-recharge .btn-primary,
    body.site-recharge .btn-outline-secondary {
        min-height: 38px !important;
        font-size: 11px !important;
    }

    body.site-recharge .form-control,
    body.site-recharge select.form-control {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
    }
}

/* Codex full rollout pass: main-site aurora UI for order, center, recharge, auth, query. */
@keyframes codexUiAuroraDrift {
    0% { background-position: 0% 48%, 100% 12%, 0% 50%; }
    26% { background-position: 18% 34%, 82% 18%, 72% 44%; }
    54% { background-position: 86% 60%, 12% 84%, 100% 76%; }
    78% { background-position: 48% 86%, 76% 28%, 24% 100%; }
    100% { background-position: 0% 48%, 100% 12%, 0% 50%; }
}

@keyframes codexUiGlowFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .78; }
    50% { transform: translate3d(2%, -8px, 0) scale(1.06); opacity: .96; }
}

body.site-main.site-order,
body.site-main.site-center,
body.site-main.site-recharge,
body.site-main.site-auth,
body.site-main.site-query {
    --codex-ui-accent: #7f8fff;
    --codex-ui-accent-2: #ff8db8;
    --codex-ui-accent-3: #7de0d3;
    --codex-ui-accent-soft: rgba(255, 187, 223, 0.26);
    background:
        radial-gradient(circle at 10% 8%, rgba(255,255,255,0.98) 0, rgba(255,255,255,0) 24%),
        radial-gradient(circle at 88% 14%, rgba(175, 220, 255, 0.30) 0, rgba(175,220,255,0) 28%),
        linear-gradient(125deg, #ffdceb 0%, #eef2ff 24%, #e9fbff 46%, #eefbe7 68%, #fff1df 100%) !important;
    background-size: 100% 100%, 100% 100%, 360% 360% !important;
    animation: codexUiAuroraDrift 26s ease-in-out infinite !important;
}

body.site-main.site-order::before,
body.site-main.site-center::before,
body.site-main.site-recharge::before,
body.site-main.site-auth::before,
body.site-main.site-query::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255,255,255,0.86) 0, rgba(255,255,255,0) 20%),
        radial-gradient(circle at 84% 18%, rgba(255, 186, 222, 0.20) 0, rgba(255,186,222,0) 24%),
        radial-gradient(circle at 76% 76%, rgba(171, 222, 255, 0.20) 0, rgba(171,222,255,0) 24%),
        radial-gradient(circle at 24% 78%, rgba(126, 224, 211, 0.18) 0, rgba(126,224,211,0) 22%) !important;
    opacity: 1 !important;
}

body.site-main.site-order::after,
body.site-main.site-center::after,
body.site-main.site-recharge::after,
body.site-main.site-auth::after,
body.site-main.site-query::after {
    background:
        radial-gradient(circle at 24% 28%, rgba(255,255,255,0.34) 0, rgba(255,255,255,0) 16%),
        radial-gradient(circle at 68% 24%, rgba(255,255,255,0.22) 0, rgba(255,255,255,0) 14%),
        radial-gradient(circle at 56% 72%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0) 14%) !important;
    mix-blend-mode: screen !important;
}

body.site-main.site-order .mobile-container,
body.site-main.site-query .app-view,
body.site-main.site-auth .wrap,
body.site-main.site-center .wrap,
body.site-main.site-recharge .wrap {
    position: relative !important;
    z-index: 1 !important;
}

body.site-main.site-order .header,
body.site-main.site-order .product-card,
body.site-main.site-order .promo-hints-container,
body.site-main.site-order .pc-desc-scroll,
body.site-main.site-order .order-desc-card,
body.site-main.site-order .input-group-custom,
body.site-main.site-order .pay-option,
body.site-main.site-order .alert-box,
body.site-main.site-order .bottom-nav,
body.site-main.site-center .hero,
body.site-main.site-center .stat,
body.site-main.site-center .order,
body.site-main.site-center .subsite-panel,
body.site-main.site-center .subsite-box,
body.site-main.site-center .subsite-agent-panel,
body.site-main.site-center .subsite-agent-card,
body.site-main.site-center .detail-pop,
body.site-main.site-center .detail-summary,
body.site-main.site-center .detail-panel,
body.site-main.site-center .detail-section,
body.site-main.site-recharge .wrap,
body.site-main.site-recharge .summary-box,
body.site-main.site-recharge .identity-bar,
body.site-main.site-recharge .alert,
body.site-main.site-auth .wrap,
body.site-main.site-query .section-box,
body.site-main.site-query .help-card,
body.site-main.site-query .order-card,
body.site-main.site-query .pop-box,
body.site-main.site-query .pop-box-card,
body.site-main.site-query .notice-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.42)) !important;
    border: 1px solid rgba(255,255,255,0.56) !important;
    box-shadow: 0 20px 42px rgba(102, 111, 155, 0.12), inset 0 1px 0 rgba(255,255,255,0.74) !important;
    backdrop-filter: blur(18px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
}

body.site-main.site-order .header,
body.site-main.site-order .product-card,
body.site-main.site-order .promo-hints-container,
body.site-main.site-order .pc-desc-scroll,
body.site-main.site-order .order-desc-card,
body.site-main.site-order .input-group-custom,
body.site-main.site-order .pay-option,
body.site-main.site-order .alert-box,
body.site-main.site-order .bottom-nav,
body.site-main.site-center .hero,
body.site-main.site-center .stat,
body.site-main.site-center .order,
body.site-main.site-center .subsite-panel,
body.site-main.site-center .subsite-box,
body.site-main.site-center .subsite-agent-panel,
body.site-main.site-center .subsite-agent-card,
body.site-main.site-center .detail-pop,
body.site-main.site-center .detail-summary,
body.site-main.site-center .detail-panel,
body.site-main.site-center .detail-section,
body.site-main.site-recharge .wrap,
body.site-main.site-recharge .summary-box,
body.site-main.site-recharge .identity-bar,
body.site-main.site-auth .wrap,
body.site-main.site-query .section-box,
body.site-main.site-query .help-card,
body.site-main.site-query .order-card {
    overflow: hidden !important;
    position: relative !important;
}

body.site-main.site-order .header::before,
body.site-main.site-order .product-card::before,
body.site-main.site-order .promo-hints-container::before,
body.site-main.site-order .pc-desc-scroll::before,
body.site-main.site-center .hero::before,
body.site-main.site-center .stat::before,
body.site-main.site-center .order::before,
body.site-main.site-center .subsite-panel::before,
body.site-main.site-center .detail-pop::before,
body.site-main.site-recharge .wrap::before,
body.site-main.site-auth .wrap::before,
body.site-main.site-query .section-box::before,
body.site-main.site-query .order-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(140deg, rgba(255,255,255,0.52) 0, rgba(255,255,255,0) 38%),
        radial-gradient(circle at 88% 12%, rgba(171, 222, 255, 0.20) 0, rgba(171,222,255,0) 30%),
        radial-gradient(circle at 10% 90%, rgba(255, 188, 223, 0.18) 0, rgba(255,188,223,0) 28%) !important;
}

body.site-main.site-order .title,
body.site-main.site-order .back-link,
body.site-main.site-order .section-title,
body.site-main.site-order .product-name,
body.site-main.site-order .price-tag,
body.site-main.site-order .price-tag small,
body.site-main.site-center .hero h3,
body.site-main.site-center .subsite-value,
body.site-main.site-center .detail-summary-title,
body.site-main.site-recharge h3,
body.site-main.site-recharge .summary-box .v,
body.site-main.site-auth h3,
body.site-main.site-query .section-title,
body.site-main.site-query .p-name,
body.site-main.site-query .p-status {
    color: #20304a !important;
}

body.site-main.site-order .price-tag,
body.site-main.site-order .price-tag small,
body.site-main.site-order .daily-hint,
body.site-main.site-order .stock-info span,
body.site-main.site-center .subsite-value,
body.site-main.site-center .detail-summary-title,
body.site-main.site-recharge .summary-box .v,
body.site-main.site-query .p-status {
    background: linear-gradient(135deg, #ff8ab5 0%, #7c92ff 52%, #6fd8cb 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.site-main.site-order .section-title::after {
    background: linear-gradient(90deg, rgba(255, 143, 188, 0.92), rgba(125, 145, 255, 0.88), rgba(114, 220, 208, 0.84)) !important;
}

body.site-main.site-order .pc-btn-pay,
body.site-main.site-order .btn-pay,
body.site-main.site-order .alert-btn,
body.site-main.site-order .detail-inline-btn,
body.site-main.site-order #couponCheckBtn,
body.site-main.site-center .btnx,
body.site-main.site-center .tabx.active,
body.site-main.site-center .detail-inline-btn,
body.site-main.site-recharge .btn-primary,
body.site-main.site-recharge button[type="submit"],
body.site-main.site-auth .btn-primary,
body.site-main.site-auth .switch-btn.active,
body.site-main.site-query .btn-main,
body.site-main.site-query .n-btn {
    background: linear-gradient(135deg, #ff90ba 0%, #8398ff 56%, #79ddd1 100%) !important;
    border: 1px solid rgba(255,255,255,0.66) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(124, 136, 212, 0.24) !important;
}

body.site-main.site-order .pc-btn-back,
body.site-main.site-order .qty-btn,
body.site-main.site-order .pay-option,
body.site-main.site-center .btn-outline-secondary,
body.site-main.site-center .tabx,
body.site-main.site-center .subsite-pill,
body.site-main.site-center .detail-close,
body.site-main.site-recharge .btn-outline-secondary,
body.site-main.site-auth .btn-outline-primary,
body.site-main.site-auth .switch-btn,
body.site-main.site-query .btn-sub,
body.site-main.site-query .input-u {
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.56)) !important;
    border: 1px solid rgba(255,255,255,0.58) !important;
    color: #304156 !important;
    box-shadow: 0 10px 24px rgba(102, 111, 155, 0.10) !important;
}

body.site-main.site-order .pay-option.active {
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(245,250,255,0.66)) !important;
    border-color: rgba(132, 153, 255, 0.42) !important;
    box-shadow: 0 16px 30px rgba(124, 136, 212, 0.18) !important;
}

body.site-main.site-order .pay-option.active span,
body.site-main.site-order .pay-option.active i {
    color: #325792 !important;
}

body.site-main.site-order .pc-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr) !important;
    gap: 24px !important;
    padding: 22px 24px !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.54), rgba(255,255,255,0.22)) !important;
}

body.site-main.site-order .content {
    width: min(100%, 1180px) !important;
    margin: 0 auto !important;
    padding: 16px 16px 100px !important;
}

body.site-main.site-order .header {
    width: min(calc(100% - 24px), 1180px) !important;
    margin: 14px auto 0 !important;
    border-radius: 24px !important;
}

body.site-main.site-order .product-card,
body.site-main.site-order .promo-hints-container,
body.site-main.site-order .pc-desc-scroll,
body.site-main.site-order .order-desc-card,
body.site-main.site-order .input-group-custom,
body.site-main.site-order .pay-option,
body.site-main.site-order .bottom-nav {
    border-radius: 22px !important;
}

body.site-main.site-order .order-summary-card {
    padding: 22px 22px !important;
}

body.site-main.site-order .product-name {
    font-size: 21px !important;
    line-height: 1.38 !important;
}

body.site-main.site-order .price-tag {
    font-size: 32px !important;
}

body.site-main.site-order .price-tag small {
    font-size: 17px !important;
}

body.site-main.site-order .daily-hint,
body.site-main.site-order .stock-info,
body.site-main.site-order .stock-info span {
    font-size: 12px !important;
}

body.site-main.site-order .order-desc-panel,
body.site-main.site-order .order-desc-card {
    padding: 18px 18px !important;
}

body.site-main.site-order .order-desc-panel .desc-text,
body.site-main.site-order .order-desc-card .desc-text {
    font-size: 13px !important;
    line-height: 1.74 !important;
}

body.site-main.site-order .pay-list {
    gap: 12px !important;
}

body.site-main.site-order .pay-option {
    padding: 15px 10px !important;
}

body.site-main.site-order .pay-option i {
    font-size: 24px !important;
}

body.site-main.site-order .pay-option span {
    font-size: 13px !important;
}

body.site-main.site-order .input-group-custom {
    padding: 4px 14px !important;
}

body.site-main.site-order .input-group-custom input {
    height: 44px !important;
    font-size: 14px !important;
}

body.site-main.site-order .qty-box {
    border-radius: 18px !important;
    padding: 4px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.36)) !important;
    border: 1px solid rgba(255,255,255,0.56) !important;
}

body.site-main.site-order .qty-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
}

body.site-main.site-order .qty-num {
    width: 46px !important;
    font-size: 18px !important;
}

body.site-main.site-query .app-view {
    width: min(100%, 860px) !important;
    margin: 0 auto !important;
}

body.site-main.site-query .section-box,
body.site-main.site-query .help-card,
body.site-main.site-query .order-card {
    border-radius: 24px !important;
}

body.site-main.site-query .input-u {
    min-height: 46px !important;
    border-radius: 16px !important;
}

body.site-main.site-query .btn-main {
    border-radius: 18px !important;
}

body.site-main.site-auth .wrap {
    max-width: 560px !important;
    padding: 24px !important;
    border-radius: 28px !important;
}

body.site-main.site-auth .hint,
body.site-main.site-auth label,
body.site-main.site-auth .footer-link {
    color: rgba(48, 65, 86, 0.76) !important;
}

body.site-main.site-auth .form-control {
    min-height: 44px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.56)) !important;
    border: 1px solid rgba(255,255,255,0.58) !important;
}

body.site-main.site-recharge .wrap,
body.site-main.site-center .wrap {
    max-width: 1020px !important;
}

body.site-main.site-recharge .summary,
body.site-main.site-center .stats,
body.site-main.site-center .subsite-grid {
    gap: 12px !important;
}

body.site-main.site-recharge .form-control,
body.site-main.site-recharge select.form-control,
body.site-main.site-center .subsite-input {
    min-height: 44px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.56)) !important;
    border: 1px solid rgba(255,255,255,0.58) !important;
}

body.site-main.site-center .subsite-agent-card:hover,
body.site-main.site-center .order:hover,
body.site-main.site-query .order-card:hover,
body.site-main.site-order .pay-option:hover,
body.site-main.site-order .pc-desc-scroll:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 24px 46px rgba(108, 120, 176, 0.18) !important;
}

@media (max-width: 900px) {
    body.site-main.site-order .pc-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    body.site-main.site-order,
    body.site-main.site-center,
    body.site-main.site-recharge,
    body.site-main.site-auth,
    body.site-main.site-query {
        background-size: 100% 100%, 100% 100%, 320% 320% !important;
        animation: codexUiAuroraDrift 22s ease-in-out infinite !important;
    }

    body.site-main.site-order {
        padding: 0 !important;
    }

    body.site-main.site-order .header {
        width: calc(100% - 20px) !important;
        min-height: 56px !important;
        padding: 0 16px !important;
        margin-top: 10px !important;
        border-radius: 20px !important;
    }

    body.site-main.site-order .content {
        padding: 12px 12px 92px !important;
    }

    body.site-main.site-order .product-card,
    body.site-main.site-order .promo-hints-container,
    body.site-main.site-order .order-desc-card,
    body.site-main.site-order .input-group-custom,
    body.site-main.site-order .pay-option,
    body.site-main.site-center .stat,
    body.site-main.site-center .order,
    body.site-main.site-center .subsite-box,
    body.site-main.site-center .subsite-agent-panel,
    body.site-main.site-center .subsite-agent-card,
    body.site-main.site-center .detail-summary,
    body.site-main.site-center .detail-panel,
    body.site-main.site-center .detail-section,
    body.site-main.site-recharge .summary-box,
    body.site-main.site-recharge .identity-bar,
    body.site-main.site-recharge .alert,
    body.site-main.site-auth .wrap,
    body.site-main.site-query .section-box,
    body.site-main.site-query .help-card,
    body.site-main.site-query .order-card {
        border-radius: 18px !important;
    }

    body.site-main.site-order .product-card {
        padding: 16px !important;
        margin-bottom: 14px !important;
    }

    body.site-main.site-order .order-summary-card.with-image {
        gap: 12px !important;
    }

    body.site-main.site-order .product-image-container {
        width: 78px !important;
        height: 78px !important;
    }

    body.site-main.site-order .product-name {
        font-size: 17px !important;
    }

    body.site-main.site-order .price-tag {
        font-size: 27px !important;
    }

    body.site-main.site-order .price-tag small {
        font-size: 15px !important;
    }

    body.site-main.site-order .section-title {
        font-size: 12px !important;
        margin: 14px 0 8px 2px !important;
    }

    body.site-main.site-order .order-desc-card,
    body.site-main.site-order .order-desc-panel {
        padding: 14px 14px 16px !important;
    }

    body.site-main.site-order .order-desc-card .desc-text,
    body.site-main.site-order .order-desc-panel .desc-text {
        font-size: 12px !important;
        line-height: 1.7 !important;
    }

    body.site-main.site-order .pay-list {
        gap: 9px !important;
    }

    body.site-main.site-order .pay-option {
        padding: 13px 8px !important;
    }

    body.site-main.site-order .pay-option i {
        font-size: 22px !important;
        margin-bottom: 7px !important;
    }

    body.site-main.site-order .pay-option span {
        font-size: 12px !important;
    }

    body.site-main.site-order .input-group-custom {
        padding: 3px 12px !important;
        margin-bottom: 11px !important;
    }

    body.site-main.site-order .input-group-custom input {
        height: 40px !important;
        font-size: 13px !important;
    }

    body.site-main.site-order .order-qty-card {
        padding: 12px 14px !important;
    }

    body.site-main.site-order .bottom-nav {
        width: calc(100% - 18px) !important;
        left: 9px !important;
        right: 9px !important;
        bottom: 8px !important;
        padding: 9px 10px !important;
        border-radius: 16px !important;
    }

    body.site-main.site-order .btn-pay {
        min-width: 108px !important;
        font-size: 13px !important;
    }

    body.site-main.site-auth {
        padding: 12px !important;
    }

    body.site-main.site-auth .wrap {
        padding: 16px !important;
        border-radius: 22px !important;
    }

    body.site-main.site-auth h3 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    body.site-main.site-auth .switch-bar,
    body.site-main.site-auth .code-row {
        grid-template-columns: 1fr !important;
    }

    body.site-main.site-auth .switch-btn,
    body.site-main.site-auth .form-control,
    body.site-main.site-auth .btn,
    body.site-main.site-auth .btn-primary,
    body.site-main.site-auth .btn-outline-primary {
        min-height: 40px !important;
        font-size: 12px !important;
    }

    body.site-main.site-center .wrap,
    body.site-main.site-recharge .wrap {
        padding: 14px !important;
    }

    body.site-main.site-center .hero,
    body.site-main.site-recharge .wrap {
        border-radius: 20px !important;
        padding: 16px !important;
    }

    body.site-main.site-center .stats,
    body.site-main.site-recharge .summary,
    body.site-main.site-center .subsite-grid {
        gap: 8px !important;
    }

    body.site-main.site-center .stat,
    body.site-main.site-center .order,
    body.site-main.site-center .subsite-box,
    body.site-main.site-center .subsite-agent-panel,
    body.site-main.site-center .subsite-agent-card,
    body.site-main.site-center .detail-summary,
    body.site-main.site-center .detail-panel,
    body.site-main.site-center .detail-section,
    body.site-main.site-recharge .summary-box,
    body.site-main.site-recharge .identity-bar,
    body.site-main.site-recharge .alert {
        padding: 12px 13px !important;
    }

    body.site-main.site-center .tabx,
    body.site-main.site-center .btnx,
    body.site-main.site-center .btn-outline-secondary,
    body.site-main.site-center .detail-inline-btn,
    body.site-main.site-recharge .btn,
    body.site-main.site-recharge .btn-primary,
    body.site-main.site-recharge .btn-outline-secondary {
        min-height: 38px !important;
        font-size: 11px !important;
    }

    body.site-main.site-recharge .form-control,
    body.site-main.site-recharge select.form-control,
    body.site-main.site-center .subsite-input {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
    }

    body.site-main.site-query {
        padding: 14px 12px 28px !important;
    }

    body.site-main.site-query .section-box,
    body.site-main.site-query .help-card,
    body.site-main.site-query .order-card {
        padding: 16px !important;
    }

body.site-main.site-query .btn-main,
body.site-main.site-query .btn-sub,
body.site-main.site-query .input-u {
    min-height: 42px !important;
    font-size: 13px !important;
}
}

/* Clean per-subsite palette. This deliberately avoids overlay filters and glass blur on customer pages. */
body.site-subsite.palette-red {
    --subsite-accent: #ef4444;
    --subsite-accent-strong: #b91c1c;
    --subsite-accent-soft: rgba(239, 68, 68, 0.08);
    --subsite-accent-line: rgba(239, 68, 68, 0.18);
    --subsite-page-bg: #fff7f7;
}

body.site-subsite.palette-orange {
    --subsite-accent: #f97316;
    --subsite-accent-strong: #c2410c;
    --subsite-accent-soft: rgba(249, 115, 22, 0.09);
    --subsite-accent-line: rgba(249, 115, 22, 0.18);
    --subsite-page-bg: #fff8f1;
}

body.site-subsite.palette-yellow {
    --subsite-accent: #ca8a04;
    --subsite-accent-strong: #854d0e;
    --subsite-accent-soft: rgba(202, 138, 4, 0.09);
    --subsite-accent-line: rgba(202, 138, 4, 0.20);
    --subsite-page-bg: #fffdf1;
}

body.site-subsite.palette-green {
    --subsite-accent: #16a34a;
    --subsite-accent-strong: #15803d;
    --subsite-accent-soft: rgba(22, 163, 74, 0.09);
    --subsite-accent-line: rgba(22, 163, 74, 0.18);
    --subsite-page-bg: #f3fff7;
}

body.site-subsite.palette-cyan {
    --subsite-accent: #0891b2;
    --subsite-accent-strong: #0e7490;
    --subsite-accent-soft: rgba(8, 145, 178, 0.09);
    --subsite-accent-line: rgba(8, 145, 178, 0.18);
    --subsite-page-bg: #f0fcff;
}

body.site-subsite.palette-blue {
    --subsite-accent: #2563eb;
    --subsite-accent-strong: #1d4ed8;
    --subsite-accent-soft: rgba(37, 99, 235, 0.08);
    --subsite-accent-line: rgba(37, 99, 235, 0.18);
    --subsite-page-bg: #f5f9ff;
}

body.site-subsite.palette-purple {
    --subsite-accent: #7c3aed;
    --subsite-accent-strong: #6d28d9;
    --subsite-accent-soft: rgba(124, 58, 237, 0.08);
    --subsite-accent-line: rgba(124, 58, 237, 0.18);
    --subsite-page-bg: #fbf8ff;
}

body.site-subsite.palette-white {
    --subsite-accent: #111827;
    --subsite-accent-strong: #020617;
    --subsite-accent-soft: rgba(15, 23, 42, 0.06);
    --subsite-accent-line: rgba(15, 23, 42, 0.14);
    --subsite-page-bg: #f8fafc;
}

body.site-subsite[class*="palette-"] {
    --liquid-accent: var(--subsite-accent);
    --liquid-accent-soft: var(--subsite-accent-soft);
    --liquid-accent-line: var(--subsite-accent-line);
    background: linear-gradient(180deg, var(--subsite-page-bg) 0%, #ffffff 46%, #f8fafc 100%) !important;
}

body.site-subsite[class*="palette-"]::before,
body.site-subsite[class*="palette-"]::after {
    content: none !important;
    display: none !important;
}

body.site-subsite[class*="palette-"] .header-section,
body.site-subsite[class*="palette-"] .header,
body.site-subsite[class*="palette-"] .hero,
body.site-subsite[class*="palette-"] .identity-banner,
body.site-subsite[class*="palette-"] .help-card,
body.site-subsite[class*="palette-"] .notice-card,
body.site-subsite[class*="palette-"] .confirm-card,
body.site-subsite[class*="palette-"] .product-card,
body.site-subsite[class*="palette-"] .promo-hints-container,
body.site-subsite[class*="palette-"] .pc-desc-scroll,
body.site-subsite[class*="palette-"] .desc-text,
body.site-subsite[class*="palette-"] .pay-option,
body.site-subsite[class*="palette-"] .input-group-custom,
body.site-subsite[class*="palette-"] .stat,
body.site-subsite[class*="palette-"] .order,
body.site-subsite[class*="palette-"] .subsite-panel,
body.site-subsite[class*="palette-"] .subsite-box,
body.site-subsite[class*="palette-"] .subsite-agent-panel,
body.site-subsite[class*="palette-"] .subsite-agent-card,
body.site-subsite[class*="palette-"] .detail-pop,
body.site-subsite[class*="palette-"] .detail-summary,
body.site-subsite[class*="palette-"] .detail-panel,
body.site-subsite[class*="palette-"] .detail-section,
body.site-subsite[class*="palette-"] .alert-box,
body.site-subsite[class*="palette-"] .wrap,
body.site-subsite[class*="palette-"] .section-box,
body.site-subsite[class*="palette-"] .order-card,
body.site-subsite[class*="palette-"] .summary-box,
body.site-subsite[class*="palette-"] .identity-bar {
    background: #ffffff !important;
    border-color: rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.site-subsite[class*="palette-"] .header,
body.site-subsite[class*="palette-"] .hero,
body.site-subsite[class*="palette-"] .wrap {
    border-top-color: var(--subsite-accent-line) !important;
}

body.site-subsite[class*="palette-"] .title,
body.site-subsite[class*="palette-"] .header-title,
body.site-subsite[class*="palette-"] .section-title,
body.site-subsite[class*="palette-"] .back-link,
body.site-subsite[class*="palette-"] .price-tag,
body.site-subsite[class*="palette-"] .price-tag small,
body.site-subsite[class*="palette-"] .product-name,
body.site-subsite[class*="palette-"] .p-name,
body.site-subsite[class*="palette-"] .p-price,
body.site-subsite[class*="palette-"] .subsite-preview,
body.site-subsite[class*="palette-"] .promo-hints-title i,
body.site-subsite[class*="palette-"] .stock-info span,
body.site-subsite[class*="palette-"] .card-display {
    color: var(--subsite-accent-strong) !important;
}

body.site-subsite[class*="palette-"] .btnx,
body.site-subsite[class*="palette-"] .n-btn,
body.site-subsite[class*="palette-"] .alert-btn,
body.site-subsite[class*="palette-"] .pc-btn-pay,
body.site-subsite[class*="palette-"] .btn-pay,
body.site-subsite[class*="palette-"] .btn-main,
body.site-subsite[class*="palette-"] .detail-inline-btn,
body.site-subsite[class*="palette-"] .btn.btn-primary,
body.site-subsite[class*="palette-"] #couponCheckBtn {
    background: var(--subsite-accent) !important;
    border-color: var(--subsite-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
}

body.site-subsite[class*="palette-"] .tabx.active,
body.site-subsite[class*="palette-"] .switch-btn.active,
body.site-subsite[class*="palette-"] .pay-option.active,
body.site-subsite[class*="palette-"] .daily-hint,
body.site-subsite[class*="palette-"] .p-daily,
body.site-subsite[class*="palette-"] .badgex,
body.site-subsite[class*="palette-"] .identity-banner,
body.site-subsite[class*="palette-"] .identity-action-link,
body.site-subsite[class*="palette-"] .identity-bar {
    background: var(--subsite-accent-soft) !important;
    border-color: var(--subsite-accent-line) !important;
    color: var(--subsite-accent-strong) !important;
}

body.site-subsite[class*="palette-"] .tabx.active {
    background: var(--subsite-accent) !important;
    border-color: var(--subsite-accent) !important;
    color: #ffffff !important;
}

body.site-subsite[class*="palette-"] .form-control,
body.site-subsite[class*="palette-"] .input-u,
body.site-subsite[class*="palette-"] .subsite-input,
body.site-subsite[class*="palette-"] .input-group-custom input,
body.site-subsite[class*="palette-"] .field-frosted input {
    background: #ffffff !important;
    border-color: rgba(203, 213, 225, 0.96) !important;
    color: #0f172a !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.site-subsite[class*="palette-"] .form-control:focus,
body.site-subsite[class*="palette-"] .input-u:focus,
body.site-subsite[class*="palette-"] .input-group-custom:focus-within {
    border-color: var(--subsite-accent-line) !important;
    box-shadow: 0 0 0 3px var(--subsite-accent-soft) !important;
}

body.site-subsite[class*="palette-"] .detail-mask,
body.site-subsite[class*="palette-"] .pop-mask {
    background: rgba(15, 23, 42, 0.28) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.site-subsite.site-center[class*="palette-"] .wrap,
body.site-subsite.site-query[class*="palette-"] .app-view,
body.site-subsite.site-order[class*="palette-"] .mobile-container {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.site-subsite.site-auth[class*="palette-"] .wrap,
body.site-subsite.site-recharge[class*="palette-"] .wrap {
    border-top: 4px solid var(--subsite-accent) !important;
}

body.site-subsite[class*="palette-"] .badgex.pending {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

body.site-subsite[class*="palette-"] .badgex.completed {
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

body.site-subsite[class*="palette-"] .badgex.cancelled {
    background: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #4b5563 !important;
}

body.site-subsite[class*="palette-"] .badgex.reordered {
    background: #e0e7ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}

body.site-subsite.site-order[class*="palette-"] .title,
body.site-subsite.site-order[class*="palette-"] .section-title,
body.site-subsite.site-order[class*="palette-"] .product-name,
body.site-subsite.site-order[class*="palette-"] .price-tag,
body.site-subsite.site-order[class*="palette-"] .price-tag small,
body.site-subsite.site-order[class*="palette-"] .daily-hint,
body.site-subsite.site-center[class*="palette-"] .hero h3,
body.site-subsite.site-center[class*="palette-"] .h3,
body.site-subsite.site-center[class*="palette-"] .h4,
body.site-subsite.site-center[class*="palette-"] .subsite-value,
body.site-subsite.site-center[class*="palette-"] .detail-summary-title,
body.site-subsite.site-center[class*="palette-"] .modal-title-wrap,
body.site-subsite.site-recharge[class*="palette-"] h3,
body.site-subsite.site-recharge[class*="palette-"] .summary-box .v,
body.site-subsite.site-auth[class*="palette-"] h3,
body.site-subsite.site-auth[class*="palette-"] .switch-btn.active {
    background: transparent !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

body.site-subsite.site-order[class*="palette-"] .title,
body.site-subsite.site-order[class*="palette-"] .back-link,
body.site-subsite.site-order[class*="palette-"] .section-title,
body.site-subsite.site-order[class*="palette-"] .price-tag,
body.site-subsite.site-order[class*="palette-"] .price-tag small,
body.site-subsite.site-order[class*="palette-"] .daily-hint {
    color: var(--subsite-accent-strong) !important;
}

body.site-subsite.site-order[class*="palette-"] .product-name {
    color: #0f172a !important;
}

body.site-subsite.site-order[class*="palette-"] .section-title::after {
    background: linear-gradient(90deg, var(--subsite-accent-line) 0%, transparent 100%) !important;
    height: 1px !important;
}

/* Polished subsite order page pass. Reduce empty space and keep controls calm. */
body.site-subsite.site-order[class*="palette-"] {
    background: #f6f8fb !important;
}

body.site-subsite.site-order[class*="palette-"] .mobile-container {
    max-width: 520px !important;
    background: transparent !important;
}

body.site-subsite.site-order[class*="palette-"] .header {
    width: calc(100% - 20px) !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 10px auto 0 !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055) !important;
}

body.site-subsite.site-order[class*="palette-"] .title {
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

body.site-subsite.site-order[class*="palette-"] .back-link {
    left: 14px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.site-subsite.site-order[class*="palette-"] .content {
    padding: 12px 14px 92px !important;
}

body.site-subsite.site-order[class*="palette-"] .product-card,
body.site-subsite.site-order[class*="palette-"] .order-desc-card,
body.site-subsite.site-order[class*="palette-"] .order-desc-panel,
body.site-subsite.site-order[class*="palette-"] .input-group-custom,
body.site-subsite.site-order[class*="palette-"] .pay-option {
    border-radius: 16px !important;
    border-color: rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045) !important;
}

body.site-subsite.site-order[class*="palette-"] .header::before,
body.site-subsite.site-order[class*="palette-"] .product-card::before,
body.site-subsite.site-order[class*="palette-"] .order-desc-card::before,
body.site-subsite.site-order[class*="palette-"] .order-desc-panel::before,
body.site-subsite.site-order[class*="palette-"] .pay-option::before,
body.site-subsite.site-order[class*="palette-"] .input-group-custom::before,
body.site-subsite.site-order[class*="palette-"] .bottom-nav::before {
    content: none !important;
    display: none !important;
}

body.site-subsite.site-order[class*="palette-"] .order-summary-card {
    min-height: 0 !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
}

body.site-subsite.site-order[class*="palette-"] .order-summary-card.with-image {
    gap: 12px !important;
}

body.site-subsite.site-order[class*="palette-"] .product-info {
    min-height: 0 !important;
}

body.site-subsite.site-order[class*="palette-"] .product-image-container {
    width: 78px !important;
    height: 78px !important;
}

body.site-subsite.site-order[class*="palette-"] .product-name {
    margin-bottom: 7px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
}

body.site-subsite.site-order[class*="palette-"] .price-container {
    margin-bottom: 5px !important;
}

body.site-subsite.site-order[class*="palette-"] .price-tag {
    font-size: 27px !important;
    line-height: 1.05 !important;
}

body.site-subsite.site-order[class*="palette-"] .price-tag small {
    font-size: 15px !important;
}

body.site-subsite.site-order[class*="palette-"] .stock-info,
body.site-subsite.site-order[class*="palette-"] .stock-info span {
    font-size: 12px !important;
    color: #64748b !important;
}

body.site-subsite.site-order[class*="palette-"] .section-title {
    margin: 13px 0 8px 2px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

body.site-subsite.site-order[class*="palette-"] .order-desc-card,
body.site-subsite.site-order[class*="palette-"] .order-desc-panel {
    min-height: 0 !important;
    max-height: none !important;
    padding: 13px 14px !important;
    margin-bottom: 13px !important;
}

body.site-subsite.site-order[class*="palette-"] .desc-text {
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
}

body.site-subsite.site-order[class*="palette-"] .product-name,
body.site-subsite.site-order[class*="palette-"] .price-tag,
body.site-subsite.site-order[class*="palette-"] .price-tag small,
body.site-subsite.site-order[class*="palette-"] .stock-info,
body.site-subsite.site-order[class*="palette-"] .stock-info span,
body.site-subsite.site-order[class*="palette-"] .desc-text,
body.site-subsite.site-order[class*="palette-"] .desc-text * {
    opacity: 1 !important;
    filter: none !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-list {
    gap: 9px !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option {
    min-height: 88px !important;
    padding: 13px 8px !important;
    background: #ffffff !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option i {
    font-size: 24px !important;
    margin-bottom: 7px !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 7px !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option span {
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option.active {
    background: var(--subsite-accent-soft) !important;
    border-color: var(--subsite-accent-line) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055) !important;
}

body.site-subsite.site-order[class*="palette-"] .pay-option.active::before,
body.site-subsite.site-order[class*="palette-"] .pay-option.active::after {
    display: none !important;
    content: none !important;
}

body.site-subsite.site-order[class*="palette-"] .order-qty-card {
    min-height: 76px !important;
    padding: 14px 16px !important;
    margin-bottom: 13px !important;
}

body.site-subsite.site-order[class*="palette-"] .order-qty-card > span {
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.site-subsite.site-order[class*="palette-"] .qty-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    font-size: 18px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

body.site-subsite.site-order[class*="palette-"] .qty-num {
    width: 42px !important;
    font-size: 18px !important;
    line-height: 34px !important;
}

body.site-subsite.site-order[class*="palette-"] .input-group-custom {
    min-height: 48px !important;
    padding: 4px 14px !important;
    margin-bottom: 10px !important;
}

body.site-subsite.site-order[class*="palette-"] .input-group-custom i {
    width: 24px !important;
    font-size: 17px !important;
}

body.site-subsite.site-order[class*="palette-"] .input-group-custom input {
    height: 40px !important;
    font-size: 14px !important;
}

body.site-subsite.site-order[class*="palette-"] .bottom-nav {
    width: calc(100% - 20px) !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    min-height: 62px !important;
    padding: 8px 10px !important;
    border-radius: 17px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13) !important;
}

body.site-subsite.site-order[class*="palette-"] .btn-pay {
    min-height: 42px !important;
    min-width: 108px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

/* Subsite order layout guard: keep image products readable and desktop usable. */
@media (min-width: 768px) {
    body.site-subsite.site-order[class*="palette-"] {
        min-height: 100vh !important;
        background: #f6f8fb !important;
    }

    body.site-subsite.site-order[class*="palette-"] .mobile-container {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        background: transparent !important;
        overflow: visible !important;
    }

    body.site-subsite.site-order[class*="palette-"] .header {
        position: sticky !important;
        top: 10px !important;
        z-index: 50 !important;
        max-width: 1180px !important;
    }

    body.site-subsite.site-order[class*="palette-"] .content {
        max-width: 1180px !important;
        margin: 0 auto !important;
        padding: 18px 18px 56px !important;
    }

    body.site-subsite.site-order[class*="palette-"] .pc-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr) !important;
        gap: 18px !important;
        align-items: start !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.site-subsite.site-order[class*="palette-"] .pc-left,
    body.site-subsite.site-order[class*="palette-"] .pc-right {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        display: block !important;
    }

    body.site-subsite.site-order[class*="palette-"] .pc-right {
        position: sticky !important;
        top: 84px !important;
    }

    body.site-subsite.site-order[class*="palette-"] .order-summary-card {
        display: block !important;
        padding: 18px !important;
        overflow: hidden !important;
    }

    body.site-subsite.site-order[class*="palette-"] .order-summary-card.with-image {
        display: grid !important;
        grid-template-columns: 132px minmax(0, 1fr) !important;
        gap: 16px !important;
        align-items: center !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-image-container {
        width: 132px !important;
        height: 132px !important;
        max-width: 132px !important;
        flex: 0 0 132px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #f8fafc !important;
        border: 1px solid rgba(226,232,240,.96) !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        position: static !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-info {
        min-width: 0 !important;
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-name {
        display: block !important;
        margin: 0 0 10px !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
        font-size: 18px !important;
        line-height: 1.38 !important;
    }

    body.site-subsite.site-order[class*="palette-"] .price-container {
        display: block !important;
        min-width: 0 !important;
        margin: 0 0 8px !important;
    }

    body.site-subsite.site-order[class*="palette-"] .price-tag {
        display: flex !important;
        align-items: baseline !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(26px, 3.4vw, 38px) !important;
        line-height: 1.05 !important;
    }

    body.site-subsite.site-order[class*="palette-"] .stock-info {
        display: block !important;
        margin-top: 8px !important;
    }

    body.site-subsite.site-order[class*="palette-"] .pc-desc-scroll {
        max-height: 46vh !important;
        overflow: auto !important;
    }

    body.site-subsite.site-order[class*="palette-"] .pay-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.site-subsite.site-order[class*="palette-"] .order-summary-card.with-image {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: center !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-image-container {
        width: 82px !important;
        height: 82px !important;
        max-width: 82px !important;
        flex: 0 0 82px !important;
        overflow: hidden !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-info,
    body.site-subsite.site-order[class*="palette-"] .price-container {
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.site-subsite.site-order[class*="palette-"] .product-name {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    body.site-subsite.site-order[class*="palette-"] .price-tag {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
}

@media (max-width: 767px) {
    body.site-main.site-order .bottom-nav {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
        width: auto !important;
        transform: none !important;
        padding: 8px 10px !important;
        min-height: 0 !important;
        max-width: none !important;
        gap: 10px !important;
        align-items: center !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
    }

    body.site-main.site-order .nav-left {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        gap: 10px !important;
        overflow: visible !important;
    }

    body.site-main.site-order .nav-item {
        font-size: 13px !important;
        gap: 4px !important;
    }

    body.site-main.site-order .nav-item i {
        font-size: 16px !important;
    }

    body.site-main.site-order .btn-pay {
        height: 42px !important;
        min-height: 42px !important;
        min-width: 108px !important;
        max-width: 44vw !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        align-self: center !important;
    }
}

@media (max-width: 767px) {
    body.site-main.site-order {
        background:
            radial-gradient(circle at 20% 0%, rgba(219, 234, 254, 0.45) 0, rgba(219, 234, 254, 0) 34%),
            radial-gradient(circle at 100% 22%, rgba(204, 251, 241, 0.28) 0, rgba(204, 251, 241, 0) 30%),
            linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%) !important;
    }

    body.site-main.site-order .mobile-container {
        max-width: 460px !important;
        background: transparent !important;
    }

    body.site-main.site-order .header {
        width: calc(100% - 18px) !important;
        height: 52px !important;
        min-height: 52px !important;
        margin: 8px auto 0 !important;
        padding: 0 12px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(226, 232, 240, 0.92) !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.site-main.site-order .title {
        font-size: 18px !important;
        font-weight: 900 !important;
        color: #1e293b !important;
        letter-spacing: 0 !important;
    }

    body.site-main.site-order .back-link {
        left: 12px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #1e293b !important;
        font-size: 18px !important;
    }

    body.site-main.site-order .content {
        padding: 10px 12px 116px !important;
    }

    body.site-main.site-order .pc-layout {
        padding: 0 !important;
        gap: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    body.site-main.site-order .product-card,
    body.site-main.site-order .promo-hints-container,
    body.site-main.site-order .order-desc-card,
    body.site-main.site-order .order-desc-panel,
    body.site-main.site-order .input-group-custom,
    body.site-main.site-order .pay-option {
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(226, 232, 240, 0.94) !important;
        box-shadow: 0 7px 18px rgba(15, 23, 42, 0.055) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.site-main.site-order .product-card::before,
    body.site-main.site-order .promo-hints-container::before,
    body.site-main.site-order .order-desc-card::before,
    body.site-main.site-order .order-desc-panel::before,
    body.site-main.site-order .input-group-custom::before,
    body.site-main.site-order .pay-option::before {
        display: none !important;
        content: none !important;
    }

    body.site-main.site-order .product-card {
        padding: 13px !important;
        margin-bottom: 10px !important;
    }

    body.site-main.site-order .order-summary-card {
        min-height: 0 !important;
        padding: 14px !important;
    }

    body.site-main.site-order .order-summary-card.with-image {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
    }

    body.site-main.site-order .product-image-container {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        flex: 0 0 72px !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
        overflow: hidden !important;
    }

    body.site-main.site-order .product-info,
    body.site-main.site-order .price-container {
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.site-main.site-order .product-name {
        margin-bottom: 5px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 900 !important;
        color: #1e293b !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    body.site-main.site-order .price-container {
        display: block !important;
        margin-bottom: 4px !important;
    }

    body.site-main.site-order .price-tag {
        display: flex !important;
        align-items: baseline !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        font-size: 24px !important;
        line-height: 1.05 !important;
        color: #2563eb !important;
    }

    body.site-main.site-order .price-tag small {
        font-size: 13px !important;
        margin-right: 0 !important;
    }

    body.site-main.site-order .daily-hint,
    body.site-main.site-order .stock-info,
    body.site-main.site-order .stock-info span {
        font-size: 11px !important;
        color: #64748b !important;
    }

    body.site-main.site-order .stock-info {
        margin-top: 4px !important;
    }

    body.site-main.site-order .section-title {
        margin: 10px 0 6px 2px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        color: #334155 !important;
        letter-spacing: 0 !important;
    }

    body.site-main.site-order .section-title::after {
        margin-left: 9px !important;
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(45, 212, 191, 0.14), transparent) !important;
    }

    body.site-main.site-order .order-desc-card,
    body.site-main.site-order .order-desc-panel {
        min-height: 0 !important;
        max-height: 136px !important;
        overflow: auto !important;
        padding: 10px 12px !important;
        margin-bottom: 10px !important;
    }

    body.site-main.site-order .order-desc-card .desc-text,
    body.site-main.site-order .order-desc-panel .desc-text {
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        color: #334155 !important;
        font-size: 12px !important;
        line-height: 1.58 !important;
    }

    body.site-main.site-order .pay-list {
        gap: 8px !important;
    }

    body.site-main.site-order .pay-option {
        min-height: 66px !important;
        padding: 9px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.site-main.site-order .pay-option i {
        font-size: 21px !important;
        margin-bottom: 5px !important;
    }

    body.site-main.site-order .pay-option img {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 5px !important;
    }

    body.site-main.site-order .pay-option span {
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    body.site-main.site-order .pay-option.active::before {
        display: block !important;
        content: "" !important;
        width: 13px !important;
        height: 13px !important;
        right: 8px !important;
        top: 8px !important;
        border-width: 2px !important;
    }

    body.site-main.site-order .pay-option.active::after {
        display: none !important;
        content: none !important;
    }

    body.site-main.site-order .order-qty-card {
        min-height: 0 !important;
        padding: 10px 12px !important;
        margin-bottom: 10px !important;
    }

    body.site-main.site-order .order-qty-card > span {
        font-size: 13px !important;
        font-weight: 900 !important;
        color: #334155 !important;
    }

    body.site-main.site-order .qty-box {
        padding: 3px !important;
        border-radius: 999px !important;
        background: #f8fafc !important;
        border: 1px solid rgba(226, 232, 240, 0.94) !important;
        box-shadow: none !important;
    }

    body.site-main.site-order .qty-btn {
        width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        border-radius: 999px !important;
        font-size: 16px !important;
        box-shadow: none !important;
    }

    body.site-main.site-order .qty-num {
        width: 38px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 16px !important;
    }

    body.site-main.site-order .input-group-custom {
        min-height: 42px !important;
        padding: 3px 12px !important;
        margin-bottom: 8px !important;
    }

    body.site-main.site-order .input-group-custom i {
        width: 22px !important;
        font-size: 15px !important;
    }

    body.site-main.site-order .input-group-custom input {
        height: 36px !important;
        font-size: 13px !important;
    }

    body.site-main.site-order #couponCheckBtn {
        min-height: 28px !important;
        padding: 0 9px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
    }

    body.site-main.site-order .bottom-nav {
        left: 10px !important;
        right: 10px !important;
        bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
        min-height: 56px !important;
        padding: 7px 9px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(226, 232, 240, 0.94) !important;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14) !important;
    }

    body.site-main.site-order .nav-left {
        gap: 8px !important;
    }

    body.site-main.site-order .nav-item {
        font-size: 12px !important;
    }

    body.site-main.site-order .btn-pay {
        height: 40px !important;
        min-height: 40px !important;
        min-width: 104px !important;
        padding: 0 14px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22) !important;
    }
}

@media (max-width: 640px) {
    body.site-order .order-desc-card.mobile-desc-collapsed {
        max-height: 128px !important;
        overflow: hidden !important;
        position: relative !important;
        margin-bottom: 8px !important;
    }

    body.site-order .order-desc-card.mobile-desc-expanded {
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
        margin-bottom: 8px !important;
    }

    body.site-order .order-desc-card.mobile-desc-collapsed::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 42px !important;
        pointer-events: none !important;
        border-radius: 0 0 14px 14px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98)) !important;
    }

    body.site-order .order-desc-card.mobile-desc-expanded::after {
        display: none !important;
        content: none !important;
    }

    body.site-order .mobile-desc-toggle {
        width: 100% !important;
        min-height: 38px !important;
        margin: -2px 0 14px !important;
        border: 1px solid rgba(37, 99, 235, 0.16) !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92)) !important;
        color: var(--order-accent-strong, #1d4ed8) !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
    }

    body.site-order .mobile-desc-toggle i {
        font-size: 11px !important;
        line-height: 1 !important;
    }
}

@media (min-width: 641px) {
    body.site-order .mobile-desc-toggle {
        display: none !important;
    }
}
