/* Approved Xinghuo palette: warm red-brown, pale gold; cinnabar is an accent. */
:root{--navy:#3e1b17;--blue:#8a3317;--red:#962617;--gold:#d9a45c;--ink:#3e1b17;--muted:#966039;--line:#e9d8c3;--paper:#f8f1e7}
html,body{background:#3e1b17;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif}
.app-shell,.auth-shell{background:var(--paper)}
.ui-icon{filter:url(#finance-warm-gold);object-fit:contain;flex-shrink:0;vertical-align:middle}
.x-home-head{height:68px;background:#fdfaf4;border-bottom:1px solid #ead8bf}
.x-brand strong{font-size:20px;font-weight:600;letter-spacing:1px;color:#3e1b17}
.x-brand .x-mark{width:33px;height:33px;border-radius:9px}
.x-home-head .icon-button .ui-icon{width:28px;height:28px}
.x-home-body{padding-top:16px}
.x-media-window{border-radius:12px;background:#3e1b17;box-shadow:0 8px 22px #3e1b1716}
.x-media-shade{background:linear-gradient(90deg,#29120ddd 0%,#3e1b1750 44%,transparent 70%)}
.x-media-slide .rg-hero-copy{padding:25px}
.x-media-slide h1{color:#fbf3d9;font-weight:600;letter-spacing:.5px;text-shadow:0 1px 8px #3e1b1730}
.x-media-slide .rg-hero-link{color:#edd89d}
.x-media-dots button{background:#dcc4a0}.x-media-dots button.active{background:#8a3317}
.x-home-services{background:#fdfaf4;border-color:#e9d8c3;border-radius:12px;box-shadow:0 5px 18px #5c291806}
.x-shortcuts{gap:21px 4px;padding:22px 6px 20px}
.x-shortcuts button{font-size:11px;gap:8px;color:#5c2918;min-height:72px}
.x-shortcuts button>span{width:49px;height:49px;border-radius:0;background:transparent!important;box-shadow:none!important;border:0}
.x-shortcuts button .ui-icon{width:49px;height:49px;filter:url(#finance-warm-gold) drop-shadow(0 3px 3px #5c291810)}
.x-ticker{margin:0 17px;padding:15px 0;border-color:#e9d8c3}
.x-ticker>strong{color:#8a3317}.x-ticker>strong .ui-icon{width:21px;height:21px}
.x-home-news .section-head{margin-top:25px}
.section-head h2{display:flex;align-items:center;gap:7px;color:#3e1b17}
.section-head h2:before{content:"";width:17px;height:22px;display:inline-block;background:url('/h5/assets/finance-icons/spark.webp') center/contain no-repeat;flex-shrink:0}
.x-news,.card{background:#fdfaf4;border-color:#e9d8c3}
.news-copy h3{color:#3e1b17;font-size:14px;font-weight:500}
.news-copy>span{color:#946039}.news-copy small{color:#a18464}
.news-card img{border:1px solid #dfc59b}
.bottom-nav{height:76px;background:#fdfaf4f7;border-color:#e4cfb0;padding-top:8px;box-shadow:0 -4px 20px #5c291806;backdrop-filter:blur(16px)}
.nav-glyph,.nav-item.active .nav-glyph{background:none!important;box-shadow:none!important;width:39px;height:34px;overflow:visible;position:relative}
.nav-glyph .ui-icon{width:33px;height:33px}.nav-item{color:#a08563;font-size:10px;gap:4px}.nav-item.active{color:#8a3317;font-weight:600}
.nav-item:not(.active) .nav-glyph .ui-icon{filter:url(#finance-warm-gold) brightness(.86);opacity:.58}
.nav-item.active .nav-glyph:before{content:"";position:absolute;width:27px;height:3px;border-radius:3px;background:linear-gradient(90deg,#8a3317,#d9a45c);bottom:-25px;left:6px}
.row-icon{background:transparent!important;border-radius:0;box-shadow:none!important}.row-icon .ui-icon{width:29px;height:29px}
.x-service-grid .ui-icon{width:35px;height:35px}.x-service-grid{gap:25px 3px;padding-top:25px;padding-bottom:25px}
.x-person h2{color:#3e1b17}.x-avatar{background:#f4e6ce;border-color:#e0c391;color:#8a3317}
.rg-wallet-label>.ui-icon{width:22px;height:22px}.x-wallet-box{border-color:#e8d8c0;background:#fdfaf4}
.x-wallet-box strong{color:#5c2918}.x-wallet-box.total{background:linear-gradient(135deg,#5c2918,#3e1b17);border-color:#b9874b;position:relative;overflow:hidden}
.x-wallet-box.total:after{content:"";position:absolute;right:-5px;bottom:-4px;width:65px;height:65px;background:url('/h5/assets/finance-icons/spark.webp') center/contain no-repeat;opacity:.16;pointer-events:none}
.x-wallet-box.total strong{color:#edd89d}.x-wallet-box.total small,.x-wallet-box.total p{color:#d9b776}
.x-ucard{background-image:url('/h5/assets/rg-lines.svg'),linear-gradient(120deg,#5c2918,#3e1b17);border-color:#b9874b;background-repeat:no-repeat;background-size:cover;position:relative}
.x-ucard:after{content:"";position:absolute;right:22px;bottom:22px;width:72px;height:88px;background:url('/h5/assets/finance-icons/spark.webp') center/contain no-repeat;opacity:.14;pointer-events:none}
.token-card{background:#3e1b17 url('/h5/assets/balance-card.webp') center/cover no-repeat;border-color:#ab7944}
.primary{background:linear-gradient(135deg,#8a3317,#6b2817);color:#fbf3d9;border-color:#8a3317}
.topbar{background:#fdfaf4;color:#3e1b17;border-color:#e9d8c3}.topbar .icon-button .ui-icon{width:27px;height:27px}
.input-wrap{background:#fdfaf4;border-color:#e1c8a6}.input-wrap:focus-within{border-color:#b78445}.input-wrap>.ui-icon{width:24px;height:24px}
.captcha-trigger{background:#fdfaf4;border-color:#e1c8a6;color:#5c2918}.captcha-trigger .ui-icon{width:29px;height:29px}
.auth-shell .auth-wordmark span{background-color:#3e1b17}.auth-shell .primary{background:linear-gradient(135deg,#8a3317,#6b2817)}
.x-service-contact>span{background:transparent}.x-service-contact .ui-icon{width:45px;height:45px}
@media(max-width:355px){.x-shortcuts button>span,.x-shortcuts button .ui-icon{width:44px;height:44px}.x-shortcuts{gap:18px 2px;padding-top:20px}.x-shortcuts button{font-size:10px;min-height:68px}.x-media-slide .rg-hero-copy{padding:20px}.x-media-slide h1{font-size:24px}.nav-glyph .ui-icon{width:30px;height:30px}.x-service-grid .ui-icon{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #d9a45c;outline-offset:3px}
input[type=checkbox],input[type=radio]{accent-color:#8a3317}
::selection{background:#edd89d;color:#3e1b17}

.empty-illustration,.section-head h2:before,.x-ucard:after,.x-wallet-box.total:after{filter:url(#finance-warm-gold)}

.x-media-slide>img[src$='xinghuo-rg-cover.png'],.x-media-slide>img[src$='spark-orbit.webp'],.news-card img[src$='xinghuo-rg-cover.png'],.news-card img[src$='spark-orbit.webp'],img[src$='brand-mark.webp'],.x-mark,.auth-wordmark span{filter:url(#finance-spark-grade)}
.token-card{position:relative;isolation:isolate;background:#3e1b17;overflow:hidden}.token-card:before{content:'';position:absolute;inset:0;z-index:-1;background:url('/h5/assets/balance-card.webp') center/cover no-repeat;filter:url(#finance-spark-grade);pointer-events:none}

.x-media-slide>.x-media-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.x-film-badge{position:absolute;right:17px;bottom:17px;display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #edd89d66;border-radius:20px;background:#3e1b17bb;color:#fbf3d9;font-size:9px;pointer-events:none}.x-film-badge .ui-icon{width:17px;height:17px}@media(max-width:355px){.x-film-badge{right:12px;bottom:12px;padding:5px 8px;font-size:8px}}
