/* Second pass: intentionally mirrors the restrained Dujiao-Next visual system. */
.dujiao-theme body{--market-primary:#1677ff;--market-primary-dark:#0958d9;--market-bg:#f5f5f7;--market-line:#e5e5e7;--market-text:#1d1d1f;--market-muted:#6e6e73;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;background:#f5f5f7;color:#1d1d1f}
.dujiao-theme .market-header{height:72px;padding:0 max(28px,calc((100vw - 1258px)/2));gap:44px;border-bottom:1px solid #dedee2;box-shadow:none;background:rgba(255,255,255,.96)}
.dujiao-theme .market-brand{min-width:240px;width:auto}.dujiao-theme .market-brand-mark{display:none}.dujiao-theme .market-brand>span:last-child{border:1px solid #b9d4ee;border-radius:24px;padding:9px 17px;display:block}.dujiao-theme .market-brand strong{font-size:17px}.dujiao-theme .market-brand small{display:none}
.dujiao-theme .market-header-nav{gap:21px}.dujiao-theme .market-header-nav a,.dujiao-theme .market-console-link,.dujiao-theme .market-theme-switch{font-size:14px;color:#6e6e73;background:transparent;padding:8px 0;border-radius:0}.dujiao-theme .market-header-nav a:hover{background:transparent;color:#1d1d1f}.dujiao-theme .market-console-link{color:#6e6e73;margin-left:auto}.dujiao-theme .market-theme-switch{font-size:13px}.dujiao-theme .market-header svg{width:16px;height:16px;color:#8e8e93}
.dujiao-theme .shop-hero{width:min(1258px,100%);margin:0 auto;height:430px;min-height:430px;border-radius:0;background:#f5f5f7;box-shadow:none}.dujiao-theme .shop-hero::after{content:"拼车吧 · AI 合租服务平台";left:50%;top:94px;transform:translateX(-50%);color:#1d1d1f;font-size:34px;font-weight:700;letter-spacing:0;white-space:nowrap}.dujiao-theme .shop-hero::before{content:"稳定、安全、省心的 ChatGPT 与 Codex 合租服务";position:absolute;left:50%;top:151px;transform:translateX(-50%);color:#6e6e73;font-size:15px;z-index:3;white-space:nowrap}.dujiao-theme .shop-hero-copy{align-items:center;justify-content:flex-start;padding:198px 20px 0}.dujiao-theme .shop-brand-combo,.dujiao-theme .shop-sticker-layer,.dujiao-theme .shop-notice-sticker-link{display:none}.dujiao-theme .shop-actions{justify-content:center;gap:10px}.dujiao-theme .shop-button{min-height:38px;padding:8px 15px;border-radius:7px;border:1px solid #d2d2d7;background:#fff!important;color:#515154!important;font-size:13px;box-shadow:none}.dujiao-theme .shop-button:hover{border-color:#a7c7e7;color:#1677ff!important;transform:none}
.dujiao-theme .market-announcement{width:min(1258px,calc(100% - 48px));margin:-85px auto 20px;border:1px solid #e5e5e7;border-radius:7px;box-shadow:none;min-height:44px;font-size:13px;background:#fff}.dujiao-theme .market-announcement svg{color:#8e8e93}.dujiao-theme .market-announcement a{color:#1677ff}
.dujiao-theme .shop-notice{width:min(1258px,calc(100% - 48px));max-height:230px;margin:0 auto 34px;border:1px solid #e5e5e7;border-radius:8px;box-shadow:none;background:#fff}.dujiao-theme .notice-slide-viewport{max-height:230px}
.dujiao-theme .market-products{width:min(1258px,calc(100% - 48px));margin:0 auto 52px}.dujiao-theme .market-section-head{align-items:center;margin-bottom:22px}.dujiao-theme .market-section-head>div:first-child span{display:none}.dujiao-theme .market-section-head h2{font-size:23px;font-weight:650;margin:0 0 7px}.dujiao-theme .market-section-head p{font-size:13px}.dujiao-theme .market-filters button{padding:7px 17px;border-radius:6px;border-color:#d8d8dc;color:#6e6e73;font-size:13px}.dujiao-theme .market-filters button.active{background:#1d1d1f;border-color:#1d1d1f}
.dujiao-theme .market-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dujiao-theme .market-product-card{border:1px solid #e0e0e3;border-radius:8px;box-shadow:none}.dujiao-theme .market-product-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000d}.dujiao-theme .market-product-cover{height:138px;background:#f5f5f7!important;color:#8e8e93!important;border-bottom:1px solid #e8e8eb}.dujiao-theme .market-product-cover>span{left:12px;top:12px;background:#1d1d1f;border-radius:4px;padding:3px 8px}.dujiao-theme .market-product-cover>svg{width:40px;height:40px}.dujiao-theme .market-product-content{padding:15px}.dujiao-theme .market-product-content>small{color:#8e8e93;font-size:10px}.dujiao-theme .market-product-content h3{font-size:16px;margin:5px 0 8px}.dujiao-theme .market-product-content p{font-size:12px;line-height:1.55}.dujiao-theme .market-product-meta{gap:9px;font-size:11px}.dujiao-theme .market-product-bottom b{font-size:20px;color:#1d1d1f}.dujiao-theme .market-product-bottom button{background:#fff;color:#1d1d1f;border:1px solid #cfcfd4;border-radius:5px;padding:7px 11px;font-size:12px}.dujiao-theme .market-product-bottom button:hover{background:#1d1d1f;color:#fff}
.dujiao-theme .shop-redeem{padding:48px max(24px,calc((100vw - 1258px)/2));background:#f5f5f7;border-top:1px solid #e1e1e4}.dujiao-theme .shop-section-heading h2{font-size:23px}.dujiao-theme .shop-redeem-panel{border:1px solid #dedee2;border-radius:8px;box-shadow:none;background:#fff}.dujiao-theme .top-nav-tabs{background:#fafafa}.dujiao-theme .top-tab{font-size:13px}.dujiao-theme .top-tab.active,.dujiao-theme .btn-primary{background:#1d1d1f!important;border-color:#1d1d1f!important}.dujiao-theme .btn,.dujiao-theme .form-input{border-radius:5px}.dujiao-theme .form-input:focus{border-color:#8e8e93;box-shadow:0 0 0 2px #0000000d}
.dujiao-theme .market-services{width:min(1258px,calc(100% - 48px));margin:40px auto;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid #dedee2;background:#fff;border-radius:8px}.dujiao-theme .market-services article{border:0;border-right:1px solid #e5e5e7;border-radius:0;padding:22px}.dujiao-theme .market-services article:last-child{border-right:0}.dujiao-theme .market-services svg{width:24px;color:#8e8e93}.dujiao-theme .market-services strong{font-size:14px}.dujiao-theme .market-services span{font-size:11px}
.dujiao-theme .faq-section{padding:48px 24px 65px;background:#f5f5f7}.dujiao-theme .faq-inner{max-width:900px}.dujiao-theme .faq-list details{border:1px solid #dedee2;border-radius:7px;box-shadow:none}.dujiao-theme .faq-list summary{font-size:14px}.dujiao-theme .faq-list p{font-size:13px;color:#6e6e73}
.unicorn-footer{background:#fff;border-top:1px solid #dedee2;padding:62px max(28px,calc((100vw - 1258px)/2)) 30px}.unicorn-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:80px;min-height:210px}.unicorn-footer-brand{display:flex;align-items:center;gap:12px}.unicorn-footer-brand b{width:32px;height:32px;display:grid;place-items:center;border-radius:7px;background:#1677e8;color:#fff}.unicorn-footer-brand strong{font-size:19px}.unicorn-footer p{font-size:13px;color:#6e6e73;margin-top:24px}.unicorn-footer h3{font-size:16px;margin:0 0 22px}.unicorn-footer section{display:flex;flex-direction:column;align-items:flex-start}.unicorn-footer section a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#6e6e73;font-size:13px;margin-bottom:13px}.unicorn-footer section a:hover{color:#1677e8}.unicorn-footer svg{width:15px}.unicorn-footer-bottom{border-top:1px solid #e5e5e7;padding-top:26px;display:flex;justify-content:space-between;color:#6e6e73;font-size:12px}
.dujiao-theme .market-account .shop-redeem{background:#f5f5f7}.dujiao-theme .account-page-panel{border-radius:8px!important}.dujiao-theme .account-dashboard-sidebar{width:220px;background:#fff;color:#1d1d1f;border-right:1px solid #dedee2}.dujiao-theme .account-sidebar-profile{border-bottom:1px solid #e5e5e7;padding-bottom:20px}.dujiao-theme .account-menu-button{color:#6e6e73;border-radius:5px;font-size:13px}.dujiao-theme .account-menu-button:hover,.dujiao-theme .account-menu-button.active{background:#f0f6ff;color:#1677ff}.dujiao-theme .account-dashboard-main{background:#fff}.dujiao-theme .account-dashboard-head{border-bottom:1px solid #e5e5e7}
.dujiao-theme .market-admin{background:#f5f5f7}.dujiao-theme .market-admin .admin-page{padding-left:216px}.dujiao-theme .market-admin-sidebar{width:216px;background:#fff;color:#1d1d1f;border-right:1px solid #dedee2;padding:18px 12px}.dujiao-theme .market-admin-title{border-bottom:1px solid #e5e5e7}.dujiao-theme .market-admin-title>span{background:#1677e8;border-radius:7px}.dujiao-theme .market-admin-sidebar nav a{color:#6e6e73;border-radius:5px;font-size:13px}.dujiao-theme .market-admin-sidebar nav a:hover,.dujiao-theme .market-admin-sidebar nav a.active{color:#1677ff;background:#f0f6ff}.dujiao-theme .market-admin-foot{color:#8e8e93;border-top:1px solid #e5e5e7}.dujiao-theme .market-admin .admin-topbar{background:rgba(245,245,247,.96);border-bottom:1px solid #dedee2}.dujiao-theme .market-admin .admin-topbar h1{font-size:22px}.dujiao-theme .market-admin .admin-settings{border:1px solid #dedee2;border-radius:7px;box-shadow:none}.dujiao-theme .market-admin table{font-size:12px}.dujiao-theme .market-admin table thead{background:#fafafa}
@media(max-width:1000px){.dujiao-theme .market-product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.dujiao-theme .market-header{padding:0 16px}.dujiao-theme .market-brand{min-width:0}.dujiao-theme .shop-hero{height:350px;min-height:350px}.dujiao-theme .market-announcement{margin-top:-55px}.dujiao-theme .market-services{grid-template-columns:1fr 1fr}.dujiao-theme .market-services article{border-bottom:1px solid #e5e5e7}.dujiao-theme .market-admin .admin-page{padding-left:0}.unicorn-footer-grid{grid-template-columns:1fr;gap:30px}.unicorn-footer-bottom{gap:15px;flex-direction:column}}
@media(max-width:560px){.dujiao-theme .shop-hero::after{font-size:25px}.dujiao-theme .shop-hero::before{font-size:12px}.dujiao-theme .market-product-grid{grid-template-columns:1fr}.dujiao-theme .market-services{grid-template-columns:1fr}.dujiao-theme .market-section-head{align-items:flex-start}.unicorn-footer{padding:42px 20px 24px}}

/* v3: compact Dujiao proportions and corrected carousel/help interactions. */
.dujiao-theme .market-header{padding-left:max(24px,calc((100vw - 1320px)/2));padding-right:max(24px,calc((100vw - 1320px)/2))}
.dujiao-theme .shop-hero{width:min(1320px,100%);height:286px;min-height:286px}
.dujiao-theme .shop-hero::after{top:58px;font-size:30px}
.dujiao-theme .shop-hero::before{top:108px}
.dujiao-theme .shop-hero-copy{padding-top:165px}
.dujiao-theme .market-announcement,.dujiao-theme .shop-notice,.dujiao-theme .market-products,.dujiao-theme .market-services{width:min(1320px,calc(100% - 40px))}
.dujiao-theme .market-announcement{margin:-20px auto 16px}
.dujiao-theme .shop-notice{height:260px;max-height:260px}
.dujiao-theme .notice-slide-viewport,.dujiao-theme .notice-slide-track{height:260px;max-height:260px;width:100%;overflow:hidden}
.dujiao-theme .notice-slide-track{display:flex!important;align-items:stretch;transform-style:flat}
.dujiao-theme .notice-slide{display:block!important;flex:0 0 100%!important;width:100%!important;min-width:100%!important;height:260px!important;overflow:hidden}
.dujiao-theme .notice-slide img{display:block!important;width:100%!important;height:260px!important;max-width:none!important;object-fit:cover!important;object-position:center!important}
.dujiao-theme .notice-slide.is-disabled{pointer-events:none}
.dujiao-theme .shop-redeem{padding-left:max(20px,calc((100vw - 1320px)/2));padding-right:max(20px,calc((100vw - 1320px)/2))}
.dujiao-theme .shop-redeem-shell,.dujiao-theme .shop-redeem-panel{max-width:1320px}
.dujiao-theme .top-tab.active,.dujiao-theme .btn-primary{background:#1677e8!important;border-color:#1677e8!important;color:#fff!important}
.dujiao-theme .top-tab.active svg{color:#fff!important}
.dujiao-theme .market-filters button.active{background:#1677e8;border-color:#1677e8;color:#fff}
.dujiao-theme .market-product-bottom button:hover{background:#1677e8;border-color:#1677e8}
.dujiao-theme .unicorn-faq-placeholder{display:none!important}
.unicorn-help-dialog{width:min(820px,calc(100% - 32px));max-height:min(760px,calc(100vh - 48px));padding:0;border:0;border-radius:10px;box-shadow:0 24px 80px #0003;background:#f5f5f7;color:#1d1d1f;overflow:hidden}
.unicorn-help-dialog::backdrop{background:#0006;backdrop-filter:blur(2px)}
.unicorn-help-head{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#fff;border-bottom:1px solid #dedee2}
.unicorn-help-head small{font-size:10px;letter-spacing:1.8px;color:#8e8e93}.unicorn-help-head h2{font-size:21px;margin:3px 0 0}
.unicorn-help-head button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #dedee2;border-radius:6px;background:#fff;color:#6e6e73;cursor:pointer}.unicorn-help-head button:hover{color:#1677e8;border-color:#91caff}.unicorn-help-head svg{width:18px}
.unicorn-help-body{max-height:calc(min(760px,100vh - 48px) - 78px);overflow:auto;padding:24px}
.unicorn-help-body .faq-inner{max-width:none;margin:0}.unicorn-help-body .shop-section-heading{display:none}.unicorn-help-body .faq-list details{background:#fff;border:1px solid #dedee2;border-radius:7px;margin-bottom:10px}.unicorn-help-body .faq-list summary{padding:16px 18px}.unicorn-help-body .faq-list p{padding:0 18px 17px;margin:0}
@media(max-width:850px){.dujiao-theme .shop-hero{height:250px;min-height:250px}.dujiao-theme .shop-hero::after{top:45px}.dujiao-theme .shop-hero::before{top:90px}.dujiao-theme .shop-hero-copy{padding-top:140px}.dujiao-theme .market-announcement{margin:-12px auto 14px}.dujiao-theme .shop-notice,.dujiao-theme .notice-slide-viewport,.dujiao-theme .notice-slide-track,.dujiao-theme .notice-slide,.dujiao-theme .notice-slide img{height:210px!important;max-height:210px}.unicorn-help-body{padding:16px}}

/* v4: move former hero actions into the Dujiao-style top navigation. */
.dujiao-theme .market-home .market-header{gap:34px}
.dujiao-theme .market-home .market-brand{min-width:220px}
.dujiao-theme .market-home .market-header-nav{gap:19px;overflow:visible}
.dujiao-theme .market-header-nav .market-nav-action{display:flex;align-items:center;gap:7px;width:auto;min-width:0;min-height:0;height:auto;margin:0;padding:8px 0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#6e6e73!important;font-size:14px;font-weight:400;white-space:nowrap;text-decoration:none}
.dujiao-theme .market-header-nav .market-nav-action:hover{color:#1d1d1f!important;transform:none}
.dujiao-theme .market-header-nav a.login-guide-pulse,
.dujiao-theme .shop-account-entry.login-guide-pulse{
  position:relative;
  z-index:2;
  color:#1677ff!important;
  font-weight:700!important;
  animation:loginGuidePulse .62s ease-in-out 5;
}
.dujiao-theme .market-header-nav a.login-guide-pulse::after,
.dujiao-theme .shop-account-entry.login-guide-pulse::after{
  content:"请先登录";
  position:absolute;
  left:50%;
  top:calc(100% + 8px);
  transform:translateX(-50%);
  padding:6px 10px;
  border-radius:8px;
  background:#1677ff;
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(22,119,255,.28);
}
@keyframes loginGuidePulse{
  0%,100%{transform:translateY(0);filter:none}
  50%{transform:translateY(-4px);filter:drop-shadow(0 5px 8px rgba(22,119,255,.35))}
}
.dujiao-theme .market-header-nav .market-nav-action svg{width:16px;height:16px;color:#8e8e93}
.dujiao-theme .market-home .market-console-link{margin-left:auto}
.dujiao-theme .market-home .market-agent-link{position:relative;color:#6d28d9;font-weight:700;animation:marketAgentPulse 1.8s ease-in-out infinite}
.dujiao-theme .market-home .market-agent-link::after{content:"";position:absolute;inset:1px -10px;border-radius:999px;background:linear-gradient(90deg,rgba(37,99,235,.08),rgba(147,51,234,.16),rgba(37,99,235,.08));z-index:-1;opacity:.75}
.dujiao-theme .market-home .market-agent-link svg{color:#7c3aed}
@keyframes marketAgentPulse{0%,100%{opacity:1;filter:drop-shadow(0 0 0 rgba(124,58,237,0))}50%{opacity:.58;filter:drop-shadow(0 0 6px rgba(124,58,237,.5))}}
@media (prefers-reduced-motion:reduce){.dujiao-theme .market-home .market-agent-link{animation:none}}
.agent-application-block{padding:18px 16px 22px;border-bottom:1px solid #e5e7eb}.agent-application-block h4{margin:0 0 14px;font-size:16px}.agent-application-table{min-width:980px}.agent-application-table td{vertical-align:middle}.agent-application-table a{color:#1677ff;text-decoration:none}
.dujiao-theme .market-home .shop-hero{height:205px;min-height:205px}
.dujiao-theme .market-home .shop-hero::after{top:44px;font-size:28px}
.dujiao-theme .market-home .shop-hero::before{top:90px}
.dujiao-theme .market-home .shop-hero-copy{display:none}
.dujiao-theme .market-home .market-announcement{margin:-18px auto 16px}
@media(max-width:1150px){.dujiao-theme .market-home .market-header-nav{gap:12px}.dujiao-theme .market-home .market-brand{min-width:150px}.dujiao-theme .market-header-nav .market-nav-action{font-size:13px}}
@media(max-width:850px){.dujiao-theme .market-home .market-brand{min-width:0}.dujiao-theme .market-home .market-header-nav{display:none}.dujiao-theme .market-home .shop-hero{height:190px;min-height:190px}.dujiao-theme .market-home .shop-hero::after{top:38px;font-size:24px}.dujiao-theme .market-home .shop-hero::before{top:78px}.dujiao-theme .market-home .market-announcement{margin:-14px auto 14px}}

/* v5: separate announcement, preserve full 2200x720 banner ratio, add contact column. */
.dujiao-theme .market-home .market-announcement{margin:0 auto 16px;position:relative;z-index:2}
.dujiao-theme .shop-notice{height:auto;max-height:none;aspect-ratio:3.075/1;background:#fff}
.dujiao-theme .notice-slide-viewport,.dujiao-theme .notice-slide-track{height:100%;max-height:none;aspect-ratio:3.075/1}
.dujiao-theme .notice-slide{height:100%!important;aspect-ratio:3.075/1}
.dujiao-theme .notice-slide img{height:100%!important;object-fit:contain!important;background:#fff}
.unicorn-footer-grid{grid-template-columns:2fr 1fr 1fr 1.35fr;gap:54px}
.unicorn-contact>span{display:flex;align-items:center;gap:9px;color:#6e6e73;font-size:13px;margin-bottom:13px}.unicorn-contact>span svg{width:15px}.unicorn-contact small{color:#8e8e93;font-size:11px;line-height:1.6;margin-top:6px}
@media(max-width:1000px){.unicorn-footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:36px}.unicorn-contact{grid-column:1/-1;border-top:1px solid #e5e5e7;padding-top:25px}}
@media(max-width:850px){.dujiao-theme .market-home .market-announcement{margin:0 auto 14px}.dujiao-theme .shop-notice,.dujiao-theme .notice-slide-viewport,.dujiao-theme .notice-slide-track,.dujiao-theme .notice-slide,.dujiao-theme .notice-slide img{height:auto!important;max-height:none;aspect-ratio:3.075/1}.unicorn-footer-grid{grid-template-columns:1fr;gap:28px}.unicorn-contact{grid-column:auto}}

/* v6: remove redundant blocks and give the compact hero a richer split composition. */
.dujiao-theme .market-announcement,.dujiao-theme #market-products{display:none!important}
.dujiao-theme .market-home .shop-hero{height:246px;min-height:246px;position:relative;overflow:hidden;background:linear-gradient(112deg,#f3f9ff 0%,#fff 54%,#f4f1ff 100%);border-bottom:1px solid #e2e8f0}
.dujiao-theme .market-home .shop-hero::after{left:max(44px,calc((100% - 1180px)/2));top:56px;transform:none;font-size:31px;background:linear-gradient(90deg,#172033,#2459a8);-webkit-background-clip:text;background-clip:text;color:transparent}
.dujiao-theme .market-home .shop-hero::before{left:max(44px,calc((100% - 1180px)/2));top:106px;transform:none;color:#697386}
.dujiao-theme .shop-hero-shade{display:block!important;position:absolute;inset:0;background:radial-gradient(circle at 72% 35%,#dcecff 0,transparent 24%),radial-gradient(circle at 88% 85%,#ebe4ff 0,transparent 26%);opacity:.75}
.unicorn-hero-visual{position:absolute;right:max(48px,calc((100% - 1160px)/2));top:34px;width:430px;height:175px}
.unicorn-platform-card{position:absolute;width:178px;height:112px;display:flex;align-items:center;gap:13px;padding:19px;background:#ffffffd9;border:1px solid #dbe3ee;border-radius:15px;box-shadow:0 14px 35px #34517a12;backdrop-filter:blur(8px)}
.unicorn-platform-card img{width:43px;height:43px;object-fit:contain}.unicorn-platform-card span{font-size:18px;font-weight:700;color:#263349}.unicorn-platform-card.card-chatgpt{left:12px;top:0;transform:rotate(-3deg)}.unicorn-platform-card.card-codex{right:10px;top:14px;transform:rotate(3deg)}
.unicorn-hero-features{position:absolute;left:34px;right:20px;bottom:5px;display:flex;justify-content:center;gap:11px}.unicorn-hero-features span{display:flex;align-items:center;gap:5px;padding:7px 10px;background:#fff;border:1px solid #dfe5ed;border-radius:999px;color:#5e6b7e;font-size:11px;box-shadow:0 5px 16px #34517a0d}.unicorn-hero-features svg{width:13px;color:#2878d0}
.dujiao-theme .market-home .shop-notice{margin-top:18px}
@media(max-width:1050px){.unicorn-hero-visual{right:25px;width:380px}.unicorn-platform-card{width:158px}.dujiao-theme .market-home .shop-hero::after,.dujiao-theme .market-home .shop-hero::before{left:40px}}
@media(max-width:850px){.dujiao-theme .market-home .shop-hero{height:220px;min-height:220px}.dujiao-theme .market-home .shop-hero::after{left:24px;top:45px;font-size:25px}.dujiao-theme .market-home .shop-hero::before{left:24px;top:88px}.unicorn-hero-visual{opacity:.22;right:-90px;transform:scale(.85)}.unicorn-hero-features{display:none}.dujiao-theme .market-home .shop-notice{margin-top:12px}}

/* v7: Dujiao-like compact typography for the complete admin workspace. */
.dujiao-theme .market-admin .admin-page,.dujiao-theme .market-admin .admin-page input,.dujiao-theme .market-admin .admin-page select,.dujiao-theme .market-admin .admin-page textarea,.dujiao-theme .market-admin .admin-page button{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:13px;font-weight:400;line-height:1.5}
.dujiao-theme .market-admin .admin-shell{padding:22px 28px 40px}
.dujiao-theme .market-admin .admin-topbar{padding:12px 0 14px;margin-bottom:14px}
.dujiao-theme .market-admin .admin-topbar .shop-kicker{font-size:11px;line-height:1.2;letter-spacing:.5px;font-weight:650;color:#1677e8;margin-bottom:7px}
.dujiao-theme .market-admin .admin-topbar h1{font-size:20px;line-height:1.35;font-weight:650;letter-spacing:0;margin:0}
.dujiao-theme .market-admin .admin-topbar .btn{font-size:13px;font-weight:500;min-height:34px;padding:6px 13px;border-radius:5px;box-shadow:none}
.dujiao-theme .market-admin .admin-login,.dujiao-theme .market-admin .admin-settings{padding:18px 20px;margin-bottom:14px}
.dujiao-theme .market-admin .panel-head{margin-bottom:14px}.dujiao-theme .market-admin .panel-head h3,.dujiao-theme .market-admin .admin-settings>h3{font-size:16px;line-height:1.4;font-weight:650;margin:0}.dujiao-theme .market-admin .panel-head h4,.dujiao-theme .market-admin .settings-subhead h4,.dujiao-theme .market-admin h4{font-size:14px;line-height:1.45;font-weight:600}
.dujiao-theme .market-admin p,.dujiao-theme .market-admin .single-line-note,.dujiao-theme .market-admin .form-message,.dujiao-theme .market-admin .stock-import-help,.dujiao-theme .market-admin .mail-provider-tip{font-size:12px;line-height:1.65;color:#6e6e73}
.dujiao-theme .market-admin .form-group>span,.dujiao-theme .market-admin label,.dujiao-theme .market-admin .checkbox-field{font-size:12px;font-weight:500;color:#3a3a3c}
.dujiao-theme .market-admin .form-input,.dujiao-theme .market-admin input,.dujiao-theme .market-admin select,.dujiao-theme .market-admin textarea{font-size:13px;line-height:1.5;font-weight:400;min-height:36px;border-radius:5px;padding:8px 11px}
.dujiao-theme .market-admin textarea.form-input{min-height:92px}.dujiao-theme .market-admin .card-textarea{font-size:12px;line-height:1.6}
.dujiao-theme .market-admin .btn,.dujiao-theme .market-admin button.btn{font-size:12px;font-weight:500;min-height:34px;padding:6px 12px;border-radius:5px;gap:6px}.dujiao-theme .market-admin .compact-btn{min-height:32px;padding:5px 11px}.dujiao-theme .market-admin .btn svg{width:15px;height:15px}
.dujiao-theme .market-admin table{font-size:12px;line-height:1.5}.dujiao-theme .market-admin th{font-size:12px;font-weight:600;color:#3a3a3c;padding:10px 9px}.dujiao-theme .market-admin td{font-size:12px;font-weight:400;color:#515154;padding:10px 9px}.dujiao-theme .market-admin .table-wrap,.dujiao-theme .market-admin .card-table-wrap{border-radius:5px}
.dujiao-theme .market-admin .summary-card strong,.dujiao-theme .market-admin .finance-summary-card strong{font-size:20px;font-weight:650}.dujiao-theme .market-admin .summary-card span,.dujiao-theme .market-admin .finance-summary-card span{font-size:11px;color:#6e6e73}
.dujiao-theme .market-admin-sidebar .market-admin-title strong{font-size:17px;font-weight:650}.dujiao-theme .market-admin-sidebar .market-admin-title small{font-size:10px}.dujiao-theme .market-admin-sidebar nav a{font-size:12px;font-weight:400;padding:10px 12px}.dujiao-theme .market-admin-sidebar nav a svg{width:15px;height:15px}.dujiao-theme .market-admin-sidebar .market-admin-foot{font-size:10px}
@media(max-width:850px){.dujiao-theme .market-admin .admin-shell{padding:14px}.dujiao-theme .market-admin .admin-topbar h1{font-size:18px}.dujiao-theme .market-admin .admin-login,.dujiao-theme .market-admin .admin-settings{padding:15px}}

/* v8: match Dujiao typography throughout account login and personal center. */
.dujiao-theme .market-account,.dujiao-theme .market-account input,.dujiao-theme .market-account select,.dujiao-theme .market-account textarea,.dujiao-theme .market-account button{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:13px;font-weight:400;line-height:1.5}
.dujiao-theme .market-account .account-redeem>.shop-section-heading .shop-kicker{font-size:10px;line-height:1.2;letter-spacing:.8px;font-weight:650;color:#6e6e73;margin-bottom:7px}.dujiao-theme .market-account .account-redeem>.shop-section-heading h2{font-size:20px;line-height:1.35;font-weight:650;letter-spacing:0}
.dujiao-theme .market-account #customerAccountPanel{padding:20px 22px}.dujiao-theme .market-account #customerAccountPanel .panel-head{margin-bottom:14px}.dujiao-theme .market-account #customerAccountPanel .panel-head h3{font-size:17px;line-height:1.4;font-weight:650;margin:0 0 4px}.dujiao-theme .market-account #customerAccountPanel .single-line-note{font-size:12px;line-height:1.6;font-weight:400;color:#6e6e73}
.dujiao-theme .market-account .auth-tabs{gap:4px;margin-bottom:10px}.dujiao-theme .market-account .auth-tabs button{font-size:12px;line-height:1.4;font-weight:500;min-height:32px;padding:6px 13px;border-radius:5px}.dujiao-theme .market-account .auth-tabs button.active{font-weight:550;color:#1677e8;background:#f0f6ff;border-color:#91caff}
.dujiao-theme .market-account .customer-auth-form{gap:12px}.dujiao-theme .market-account .form-group>span{font-size:12px;line-height:1.45;font-weight:500;color:#3a3a3c;margin-bottom:6px}.dujiao-theme .market-account .form-group em{font-size:11px}.dujiao-theme .market-account .form-input{font-size:13px;line-height:1.5;font-weight:400;min-height:40px;padding:9px 12px;border-radius:5px}.dujiao-theme .market-account .form-input::placeholder{font-size:12px;font-weight:400;color:#a0a0a5}
.dujiao-theme .market-account .auth-mail-tip{font-size:11px;line-height:1.6;font-weight:400;color:#6e6e73;margin:0}.dujiao-theme .market-account .customer-auth-actions{margin-top:2px}.dujiao-theme .market-account .customer-auth-actions .btn{font-size:13px;font-weight:500;min-height:38px;padding:8px 14px;border-radius:5px;box-shadow:none}.dujiao-theme .market-account .customer-auth-actions .btn svg{width:15px;height:15px}.dujiao-theme .market-account .form-message{font-size:11px;line-height:1.5}
.dujiao-theme .market-account .account-dashboard-head h3{font-size:18px;font-weight:650}.dujiao-theme .market-account .account-dashboard-head span{font-size:11px;color:#8e8e93}.dujiao-theme .market-account .account-dashboard-content h4{font-size:15px;font-weight:600}.dujiao-theme .market-account .account-dashboard-content p,.dujiao-theme .market-account .account-dashboard-content span,.dujiao-theme .market-account .account-dashboard-content label{font-size:12px;line-height:1.6}.dujiao-theme .market-account .account-dashboard-content strong{font-weight:600}.dujiao-theme .market-account .account-dashboard-content .btn{font-size:12px;min-height:33px;padding:6px 11px}.dujiao-theme .market-account .account-menu-button{font-size:12px;font-weight:400;padding:10px 12px}.dujiao-theme .market-account .account-sidebar-profile strong{font-size:14px;font-weight:600}
@media(max-width:850px){.dujiao-theme .market-account #customerAccountPanel{padding:16px}.dujiao-theme .market-account .account-redeem>.shop-section-heading h2{font-size:18px}.dujiao-theme .market-account #customerAccountPanel .panel-head h3{font-size:16px}}

/* v10: subdued Dujiao table-caption typography. */
.dujiao-theme .market-admin .referral-ledger-table caption{caption-side:top;text-align:left;padding:8px 10px;font-size:11px;line-height:1.45;font-weight:400;letter-spacing:.1px;color:#6e6e73;background:#fafafa;border:1px solid #e5e5e7;border-bottom:0;border-radius:5px 5px 0 0}

/* v11: cleaner stacked FAQ editor cards. */
.dujiao-theme .market-admin .faq-editor{display:grid;gap:12px}
.dujiao-theme .market-admin .faq-editor-row{position:relative;display:grid;grid-template-columns:1fr;gap:12px;padding:17px 18px 16px;border:1px solid #e2e5ea;border-radius:8px;background:#fff;box-shadow:0 2px 8px #00000008}
.dujiao-theme .market-admin .faq-editor-row:hover{border-color:#cfd6df;box-shadow:0 4px 14px #0000000d}
.dujiao-theme .market-admin .faq-editor-field{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:start;gap:10px;margin:0;color:#3a3a3c}
.dujiao-theme .market-admin .faq-editor-field>span{padding-top:9px;font-size:12px;font-weight:600;color:#6e6e73}
.dujiao-theme .market-admin .faq-editor-row .faq-question{height:38px;min-height:38px;background:#fafafa;border-color:#dfe3e8}
.dujiao-theme .market-admin .faq-editor-row .faq-answer{min-height:86px;resize:vertical;background:#fafafa;border-color:#dfe3e8;line-height:1.65}
.dujiao-theme .market-admin .faq-editor-row .faq-question:focus,.dujiao-theme .market-admin .faq-editor-row .faq-answer:focus{background:#fff;border-color:#91caff;box-shadow:0 0 0 2px #1677ff14}
.dujiao-theme .market-admin .faq-editor-row>.danger-link{position:absolute;right:17px;top:14px;z-index:2;padding:4px 8px!important;min-height:26px!important;border:1px solid #ffd8d3;border-radius:5px;background:#fff7f6;color:#d84a3a;font-size:11px;font-weight:500}
.dujiao-theme .market-admin .faq-editor-row>.danger-link:hover{background:#fff0ed;border-color:#ffb8ae;color:#c93627}
.dujiao-theme .market-admin .faq-question-field{padding-right:58px}
@media(max-width:650px){.dujiao-theme .market-admin .faq-editor-row{padding:15px}.dujiao-theme .market-admin .faq-editor-field{grid-template-columns:1fr;gap:5px}.dujiao-theme .market-admin .faq-editor-field>span{padding-top:0}.dujiao-theme .market-admin .faq-question-field{padding-right:54px}}

/* v12: make matched-but-undelivered pairs impossible to miss. */
.dujiao-theme .market-admin tr.matched-undelivered-row>td{background:#fff8e6!important;border-top-color:#ffd591!important;border-bottom-color:#ffd591!important;color:#613400}
.dujiao-theme .market-admin tr.matched-undelivered-row>td:first-child{border-left:4px solid #fa8c16!important;font-weight:700;color:#ad4e00}
.dujiao-theme .market-admin tr.matched-undelivered-row:hover>td{background:#fff1cc!important}
.dujiao-theme .market-admin .pending-delivery-badge{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid #ffbb5c;border-radius:999px;background:#fff0d2;color:#d45d00;font-size:11px;font-weight:700;line-height:1.35;white-space:nowrap}
.dujiao-theme .market-admin .pending-delivery-badge::before{content:"";width:6px;height:6px;margin-right:5px;border-radius:50%;background:#fa8c16;box-shadow:0 0 0 3px #ffd59180}
.dujiao-theme .market-admin tr.matched-undelivered-row td:nth-child(8){font-weight:700;color:#ad4e00}
.dujiao-theme .market-admin tr.matched-undelivered-row td:nth-child(9) small{display:block;margin-top:4px;font-size:10px;color:#ad6800}

.site-announcement-history{display:grid;gap:10px;margin-top:14px}
.site-announcement-history-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.site-announcement-history-item div{min-width:0}
.site-announcement-history-item strong{margin-right:10px;color:#17243a}
.site-announcement-history-item time{font-size:12px;color:#8290a5}
.site-announcement-history-item p{margin:8px 0 0;white-space:pre-wrap;line-height:1.65;color:#526176}
.site-announcement-history-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.site-announcement-empty{margin:0;color:#8290a5}
.unicorn-notice-latest{box-shadow:0 12px 30px rgba(36,107,253,.08)}
.unicorn-notice-latest small{display:block;margin-bottom:6px;color:#246bfd;font-weight:700}
.unicorn-notice-history{margin-top:16px}
.unicorn-notice-history h3{margin:0 0 10px;font-size:14px;color:#526176}
.unicorn-notice-history-scroll{display:grid;gap:10px;max-height:180px;overflow-y:auto;padding-right:6px}
.unicorn-notice-history-scroll article{padding:12px 14px;border:1px solid #e7edf6;border-radius:10px;background:#f8fafc}
.unicorn-notice-history-scroll time{font-size:11px;color:#8290a5}
.unicorn-notice-history-scroll p{margin:5px 0 0;white-space:pre-wrap;line-height:1.6;color:#526176}

/* v13: keep stock import controls on one line after removing cost/warranty inputs. */
.dujiao-theme .market-admin .account-stock-form.voucher-form{grid-template-columns:minmax(240px,300px) minmax(0,1fr);column-gap:12px;align-items:end}
.dujiao-theme .market-admin .account-stock-form.voucher-form>.form-group:first-child{grid-column:1;grid-row:1}
.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:9px;min-width:0}
.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions .btn{white-space:nowrap;flex:0 0 auto}
.dujiao-theme .market-admin .account-stock-form.voucher-form>.card-textarea,.dujiao-theme .market-admin .account-stock-form.voucher-form>.stock-import-help,.dujiao-theme .market-admin .account-stock-form.voucher-form>.form-message{grid-column:1/-1}
@media(max-width:900px){.dujiao-theme .market-admin .account-stock-form.voucher-form{grid-template-columns:1fr}.dujiao-theme .market-admin .account-stock-form.voucher-form>.form-group:first-child,.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions{grid-column:1;grid-row:auto}.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions{overflow-x:auto;padding-bottom:3px}}

/* v14: make the admin heading a normal white card like the sections below. */
.dujiao-theme .market-admin .admin-topbar{position:relative;top:auto;z-index:auto;display:flex;align-items:center;justify-content:space-between;min-height:72px;margin:0 0 14px;padding:14px 18px;background:#fff;border:1px solid #dedee2;border-radius:7px;box-shadow:none;backdrop-filter:none;overflow:visible}
.dujiao-theme .market-admin .admin-topbar>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:0}
.dujiao-theme .market-admin .admin-topbar .shop-kicker{display:block;margin:0 0 5px;line-height:1.2}
.dujiao-theme .market-admin .admin-topbar h1{display:block;margin:0;line-height:1.45;overflow:visible;white-space:normal}
.dujiao-theme.market-admin .admin-settings{scroll-margin-top:22px}
.dujiao-theme .market-admin .admin-topbar .admin-return-link{flex:0 0 auto;margin-left:20px}

/* v15: custom uploaded shop logo in footer. */
.unicorn-footer-brand img{display:block;width:42px;height:42px;object-fit:contain;flex:0 0 42px}

/* v16: faithful reconstruction of the supplied hero artwork. */
.dujiao-theme .market-home .shop-hero{width:min(1500px,calc(100% - 28px));height:610px;min-height:610px;margin:14px auto 0;border:0;border-radius:22px;background:linear-gradient(118deg,#edf7ff 0%,#fff 47%,#f0edff 100%);box-shadow:0 10px 35px #527bb214;overflow:hidden}
.dujiao-theme .market-home .shop-hero::before,.dujiao-theme .market-home .shop-hero::after,.dujiao-theme .market-home .shop-hero-shade{display:none!important}
.hero-replica{position:absolute;inset:0;padding:80px 80px 125px;color:#172033;overflow:hidden}
.hero-replica::before{content:"";position:absolute;width:740px;height:740px;right:-110px;top:-250px;border-radius:50%;background:radial-gradient(circle,#e4e0ff 0,#edf0ff 38%,transparent 69%);opacity:.8}.hero-replica::after{content:"";position:absolute;left:46%;right:-4%;bottom:80px;height:175px;border:2px solid #cedeff;border-radius:50%;transform:skewX(-12deg);box-shadow:0 0 0 28px #dce8ff55,0 0 0 58px #e9efff66}
.hero-replica-copy{position:relative;z-index:4;width:54%}.hero-replica-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #d9e6f7;border-radius:999px;background:#ffffffaa;color:#2172e6;font-size:14px}.hero-replica-kicker svg{width:15px}
.hero-replica h1{display:flex;align-items:baseline;gap:20px;margin:31px 0 17px;font-size:52px;line-height:1.16;letter-spacing:1px;white-space:nowrap}.hero-replica h1 span{font-weight:800;color:#121d35}.hero-replica h1 i{font-style:normal;font-weight:500}.hero-replica h1 strong{font-weight:800;background:linear-gradient(90deg,#3478ef,#6844ef);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-replica-copy>p{font-size:18px;color:#53627a;letter-spacing:1px}.hero-replica-copy>p b{color:#16a87b}.hero-replica-copy>p em{font-style:normal;color:#6553eb}
.hero-replica-benefits{display:flex;gap:38px;margin-top:38px}.hero-replica-benefits>div{display:flex;align-items:center;gap:12px}.hero-replica-benefits>div>svg{width:48px;height:48px;padding:12px;border:1px solid #dce5f2;border-radius:13px;background:#fff;color:#4d68ef;box-shadow:0 8px 24px #5679a512}.hero-replica-benefits span{display:flex;flex-direction:column}.hero-replica-benefits b{font-size:15px}.hero-replica-benefits small{margin-top:4px;color:#748198;font-size:11px;white-space:nowrap}
.hero-replica-actions{display:flex;gap:18px;margin-top:36px}.hero-replica-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-width:155px;padding:13px 22px;border-radius:999px;text-decoration:none;font-size:14px;font-weight:650}.hero-replica-actions a:first-child{color:#fff;background:linear-gradient(105deg,#2768ec,#7e3fec);box-shadow:0 12px 28px #5a53ef44}.hero-replica-actions a:last-child{color:#243047;background:#fff;box-shadow:0 9px 25px #405a7a16}.hero-replica-actions svg{width:16px}
.hero-replica-scene{position:absolute;z-index:3;right:4%;top:55px;width:43%;height:420px}.scene-platform{position:absolute;left:2%;right:-10%;bottom:2px;height:115px;border-radius:50%;background:linear-gradient(180deg,#fff,#d7e3ff 45%,#617fee);box-shadow:0 30px 60px #4566d533,inset 0 7px 0 #fff}.scene-card{position:absolute;top:90px;width:45%;height:190px;display:grid;grid-template-columns:62px 1fr;align-items:center;padding:28px 25px;border:1px solid #d4dcf6;border-radius:28px;background:#fffffff0;box-shadow:0 21px 43px #5f78b229;transform:perspective(600px) rotateY(-5deg)}.scene-card img{width:58px;height:58px;object-fit:contain}.scene-card>strong{font-size:21px}.scene-card>small{grid-column:2;display:flex;align-items:center;gap:5px;color:#26b982;background:#eafaf3;border-radius:999px;padding:5px 9px;width:max-content;font-size:11px}.scene-card>small svg{width:12px}.scene-card>b{grid-column:1/-1;justify-self:center;margin-top:8px;padding:7px 20px;border-radius:999px;background:#f3efff;color:#6553dd;font-size:12px}.scene-chatgpt{left:0}.scene-codex{right:0;top:105px;transform:perspective(600px) rotateY(5deg);border-color:#dfd4fa}.scene-float{position:absolute;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ffffffc9;color:#5d73ed;box-shadow:0 12px 30px #6178ad26;transform:rotate(15deg)}.scene-float svg{width:25px}.scene-shield{left:35%;top:0}.scene-users{right:17%;top:0;border-radius:50%;background:linear-gradient(145deg,#c8b8ff,#6553ef);color:#fff}
.hero-replica-strip{position:absolute;z-index:6;left:9.5%;right:9.5%;bottom:22px;height:105px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:0 34px;border:1px solid #e0e7f3;border-radius:22px;background:#ffffffee;box-shadow:0 15px 38px #45658c18}.hero-replica-strip>div{display:flex;align-items:center;justify-content:center;gap:14px;min-height:58px;border-right:1px solid #e7ebf2}.hero-replica-strip>div:last-child{border-right:0}.hero-replica-strip svg{width:34px;height:34px;color:#3478ef}.hero-replica-strip span{display:flex;flex-direction:column}.hero-replica-strip b{font-size:14px}.hero-replica-strip small{margin-top:5px;font-size:10px;color:#7b8799}
.dujiao-theme .market-home .shop-notice{margin-top:18px}
@media(max-width:1200px){.hero-replica{padding-left:45px;padding-right:45px}.hero-replica h1{font-size:40px;gap:12px}.hero-replica-benefits{gap:18px}.hero-replica-scene{right:2%;width:44%}.scene-card{padding:22px 18px}.scene-card img{width:48px;height:48px}}
@media(max-width:850px){.dujiao-theme .market-home .shop-hero{height:540px;min-height:540px;border-radius:15px}.hero-replica{padding:45px 24px 125px}.hero-replica-copy{width:100%}.hero-replica h1{font-size:31px;white-space:normal;flex-wrap:wrap;gap:6px 10px;margin-top:22px}.hero-replica-copy>p{font-size:14px}.hero-replica-benefits{gap:12px;margin-top:25px}.hero-replica-benefits small{display:none}.hero-replica-benefits>div>svg{width:40px;height:40px;padding:10px}.hero-replica-scene{display:none}.hero-replica-actions{margin-top:25px}.hero-replica-strip{left:18px;right:18px;bottom:18px;height:90px;padding:0 10px}.hero-replica-strip>div{gap:6px}.hero-replica-strip svg{width:24px}.hero-replica-strip small{display:none}.hero-replica-strip b{font-size:11px}}

/* v17: rebalance and refine the right-side platform composition. */
.hero-replica-scene{right:3.2%;top:43px;width:43.5%;height:435px}
.scene-platform{left:8%;right:1%;bottom:35px;height:88px;border:1px solid #cbdcff;border-radius:50%;background:linear-gradient(180deg,#fdfefe 0%,#e8f0ff 27%,#bdd1ff 51%,#6d89ef 72%,#d8e5ff 100%);box-shadow:0 28px 50px #526fd42e,inset 0 7px 0 #fff,inset 0 -8px 18px #6380dc38}
.scene-platform::before{content:"";position:absolute;left:5%;right:5%;top:-26px;height:74px;border:1px solid #d2e0ff;border-radius:50%;background:linear-gradient(180deg,#ffffffee,#eef4ffcc);box-shadow:0 12px 22px #536fc51f,inset 0 -10px 22px #9bb3f233}
.scene-platform::after{content:"";position:absolute;left:-15%;right:-15%;top:-52px;height:132px;border:1px solid #dce7ff;border-radius:50%;background:transparent;box-shadow:0 0 0 24px #e8efff45;z-index:-1}
.scene-card{top:82px;width:46%;height:188px;padding:27px 24px;border-radius:25px;background:linear-gradient(145deg,#fff,#f9fbff);box-shadow:0 25px 48px #536ca833;border-width:1px;transform-origin:center bottom;transition:transform .25s ease,box-shadow .25s ease}
.scene-card:hover{box-shadow:0 30px 58px #536ca842}.scene-chatgpt{left:1%;transform:perspective(700px) rotateY(-7deg) rotateZ(-1.5deg)}.scene-chatgpt:hover{transform:perspective(700px) rotateY(-3deg) translateY(-4px)}.scene-codex{right:0;top:94px;transform:perspective(700px) rotateY(7deg) rotateZ(1.5deg);border-color:#d9cef9}.scene-codex:hover{transform:perspective(700px) rotateY(3deg) translateY(-4px)}
.scene-card img{width:62px;height:62px}.scene-card>strong{font-size:22px;letter-spacing:.2px}.scene-card>small{padding:5px 10px;background:#e8faf3;color:#20ad7a}.scene-card>b{padding:7px 22px;background:linear-gradient(90deg,#f4f0ff,#eeeaff);box-shadow:inset 0 0 0 1px #e3dcfb}
.scene-float{z-index:4;width:44px;height:44px;box-shadow:0 14px 30px #526da22b}.scene-shield{left:31%;top:0;transform:rotate(12deg)}.scene-users{right:16%;top:-4px;transform:rotate(8deg);box-shadow:0 14px 32px #5d4fd341}
.hero-replica::after{left:49%;right:-2%;bottom:100px;height:150px;border-color:#dbe6ff;box-shadow:0 0 0 24px #e6edff4d,0 0 0 52px #eef2ff70}
@media(max-width:1200px){.hero-replica-scene{right:1%;width:45%}.scene-card{padding:22px 17px}.scene-card img{width:52px;height:52px}.scene-card>strong{font-size:18px}}

/* v18: stronger perspective and true floating composition from the reference. */
.hero-replica-scene{top:38px;height:448px;perspective:1000px;overflow:visible}
.scene-platform{left:13%;right:2%;bottom:14px;height:82px;transform:perspective(700px) rotateX(8deg);box-shadow:0 30px 55px #526fd438,inset 0 8px 0 #fff,inset 0 -9px 20px #5574d94a}
.scene-platform::before{left:4%;right:4%;top:-20px;height:68px}.scene-platform::after{left:-18%;right:-18%;top:-54px}
.scene-card{top:88px;height:196px;border-width:1px 1px 6px;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform;box-shadow:0 27px 45px #536ca83b}
.scene-chatgpt{left:0;top:79px;border-bottom-color:#91baff;transform:rotateZ(4deg) rotateY(-9deg) translateZ(25px);animation:scene-float-left 4.6s ease-in-out infinite}
.scene-codex{right:-1%;top:97px;border-bottom-color:#aa76ed;transform:rotateZ(-2.5deg) rotateY(8deg) translateZ(12px);animation:scene-float-right 5.1s ease-in-out infinite}
.scene-chatgpt:hover{animation-play-state:paused;transform:rotateZ(2deg) rotateY(-5deg) translateY(-7px) translateZ(32px)}.scene-codex:hover{animation-play-state:paused;transform:rotateZ(-1deg) rotateY(4deg) translateY(-7px) translateZ(22px)}
@keyframes scene-float-left{0%,100%{transform:rotateZ(4deg) rotateY(-9deg) translateY(0) translateZ(25px)}50%{transform:rotateZ(4deg) rotateY(-9deg) translateY(-9px) translateZ(25px)}}
@keyframes scene-float-right{0%,100%{transform:rotateZ(-2.5deg) rotateY(8deg) translateY(0) translateZ(12px)}50%{transform:rotateZ(-2.5deg) rotateY(8deg) translateY(-11px) translateZ(12px)}}
.scene-float{animation:scene-icon-bob 4s ease-in-out infinite}.scene-shield{left:31%;top:0;animation-delay:-.7s}.scene-users{right:14%;top:-3px;animation-delay:-1.8s}.scene-check{left:-7%;bottom:75px;width:50px;height:50px;border:3px solid #7186f3;border-radius:50%;background:#ffffffc4;color:#647af0;transform:rotate(-12deg);animation-delay:-2.4s}.scene-chart{right:-2%;bottom:42px;width:56px;height:56px;border-radius:15px;background:#ffffffc9;color:#6b75ee;transform:rotate(14deg);animation-delay:-1.2s}.scene-chart svg{width:31px;height:31px}
@keyframes scene-icon-bob{0%,100%{translate:0 0}50%{translate:0 -8px}}
.scene-card::after{content:"";position:absolute;left:15%;right:15%;bottom:-22px;height:18px;border-radius:50%;background:#5873bd24;filter:blur(9px);transform:rotateX(65deg)}
.hero-replica::after{bottom:76px}
@media(max-width:1200px){.scene-check{left:-2%}.scene-chart{right:1%}.scene-card{height:182px}}

/* v19: replace the image carousel with a timed announcement dialog. */
.dujiao-theme .market-header-nav .market-nav-notice{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:9px;background:transparent;color:#6e6e73;padding:8px 11px;font:inherit;cursor:pointer;white-space:nowrap}
.dujiao-theme .market-header-nav .market-nav-notice:hover{color:#1677ff;background:#eaf3ff}
.dujiao-theme .market-header-nav .market-nav-notice svg{width:16px;height:16px}
.unicorn-notice-dialog{width:min(760px,calc(100% - 32px));padding:0;border:0;border-radius:18px;background:#fff;color:#182033;box-shadow:0 28px 90px #102a5640;overflow:hidden}
.unicorn-notice-dialog::backdrop{background:#13233f66;backdrop-filter:blur(5px)}
.unicorn-notice-head{display:flex;align-items:center;gap:14px;padding:20px 22px;border-bottom:1px solid #e9edf4;background:linear-gradient(115deg,#f7fbff,#f7f5ff)}
.unicorn-notice-head>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#2687ff,#7255f5);color:#fff;box-shadow:0 10px 24px #2679e83d}
.unicorn-notice-head>span svg{width:23px;height:23px}.unicorn-notice-head>div{flex:1}.unicorn-notice-head small{display:block;color:#2375e8;font-size:10px;font-weight:800;letter-spacing:1.5px}.unicorn-notice-head h2{margin:2px 0 0;font-size:21px}
.unicorn-notice-close{display:inline-flex;align-items:center;gap:6px;min-width:92px;justify-content:center;padding:9px 12px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#566174;cursor:pointer}.unicorn-notice-close svg{width:16px}.unicorn-notice-close:disabled{cursor:not-allowed;background:#f2f4f7;color:#9aa3b1}.unicorn-notice-close:not(:disabled):hover{border-color:#8ebcff;color:#1677ff}
.unicorn-notice-body{min-height:250px;padding:28px;background:#f7f8fa}.unicorn-notice-empty{height:194px;border:1px dashed #d6dbe4;border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9a9fa8}.unicorn-notice-empty svg{width:50px;height:50px;margin-bottom:13px}.unicorn-notice-empty strong{font-size:17px;color:#555d69}.unicorn-notice-empty p{margin:7px 0 0;font-size:13px}
.unicorn-notice-content{display:flex;gap:16px;padding:22px;border:1px solid #dfe7f3;border-radius:14px;background:#fff;box-shadow:0 8px 28px #315b9510}.unicorn-notice-content>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#eaf3ff;color:#1677ff}.unicorn-notice-content h3{margin:2px 0 10px;font-size:18px}.unicorn-notice-content p{margin:0;color:#606b7b;font-size:14px;line-height:1.9;white-space:pre-wrap}
@media(max-width:850px){.unicorn-notice-dialog{border-radius:14px}.unicorn-notice-head{padding:16px}.unicorn-notice-head>span{width:40px;height:40px}.unicorn-notice-head h2{font-size:18px}.unicorn-notice-close{min-width:74px}.unicorn-notice-close span{font-size:11px}.unicorn-notice-body{padding:16px;min-height:220px}}

/* v21: use the standalone service bar below the hero. */
.hero-replica-strip{display:none!important}
.dujiao-theme .market-home .shop-hero{height:500px;min-height:500px}
.dujiao-theme .market-home .market-services{width:min(1320px,calc(100% - 40px));margin:26px auto 34px;border-radius:0}
.dujiao-theme .market-home .market-services article{min-height:96px;padding:22px 28px}
@media(max-width:850px){.dujiao-theme .market-home .shop-hero{height:430px;min-height:430px}.hero-replica{padding-bottom:35px}.dujiao-theme .market-home .market-services{margin:18px auto 26px}.dujiao-theme .market-home .market-services article{min-height:82px;padding:18px}}

.unicorn-footer-bottom>span:last-child{display:flex;gap:16px}.unicorn-footer-bottom button{padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.unicorn-footer-bottom button:hover{color:#1677ff}
.unicorn-policy-dialog{width:min(820px,calc(100% - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:16px;background:#fff;color:#182033;box-shadow:0 28px 90px #102a5640;overflow:hidden}.unicorn-policy-dialog::backdrop{background:#13233f66;backdrop-filter:blur(5px)}
.unicorn-policy-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e7ebf2;background:linear-gradient(115deg,#f7fbff,#f7f5ff)}.unicorn-policy-head small{color:#2375e8;font-size:10px;font-weight:800;letter-spacing:1.5px}.unicorn-policy-head h2{margin:2px 0 0;font-size:22px}.unicorn-policy-head button{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#566174;cursor:pointer}.unicorn-policy-head button:hover{color:#1677ff;border-color:#8ebcff}.unicorn-policy-head svg{width:17px}
.unicorn-policy-body{max-height:calc(100vh - 150px);overflow:auto;padding:30px;color:#566174;font-size:14px;line-height:1.95;white-space:pre-wrap}
.policy-settings-editor{display:grid;grid-template-columns:1fr 1fr;gap:14px}.policy-settings-editor .account-order-notice-actions{grid-column:1/-1}@media(max-width:850px){.policy-settings-editor{grid-template-columns:1fr}.unicorn-policy-body{padding:20px}}

.dujiao-theme .market-home #rental-center>.shop-section-heading{width:100%;max-width:1320px;margin-left:auto;margin-right:auto}
.dujiao-theme .market-home #rental-center{scroll-margin-top:78px}
.hero-replica-copy>p em{font-weight:700}
.carpool-intro{scroll-margin-top:78px;padding:74px 24px;background:linear-gradient(180deg,#f8fbff,#fff)}.carpool-intro-inner{max-width:1120px;margin:auto;padding:52px;border:1px solid #dce7f7;border-radius:28px;background:radial-gradient(circle at 8% 0,#e9f3ff 0,transparent 34%),radial-gradient(circle at 95% 10%,#f1eaff 0,transparent 34%),#fff;box-shadow:0 24px 65px #41699914}.carpool-intro-heading{text-align:center;max-width:760px;margin:auto}.carpool-intro-heading>span{font-size:12px;font-weight:800;letter-spacing:1.7px;color:#5378df}.carpool-intro-heading h2{margin:10px 0 14px;font-size:38px;color:#14264a}.carpool-intro-heading p{margin:0;color:#62708a;line-height:1.8}.carpool-role-grid{display:grid;grid-template-columns:1fr 100px 1fr;align-items:center;gap:20px;margin:38px 0}.carpool-role-card{display:flex;align-items:center;gap:20px;min-height:140px;padding:28px;border:1px solid #dce8fb;border-radius:20px;background:#ffffffc9}.carpool-role-card>svg{width:52px;height:52px;padding:13px;border-radius:16px;color:#fff;background:linear-gradient(145deg,#2386ef,#3c63e8);box-shadow:0 12px 25px #2f70dc38}.carpool-role-card.codex-role{border-color:#e7dafb}.carpool-role-card.codex-role>svg{background:linear-gradient(145deg,#7756ed,#9c45df)}.carpool-role-card strong{font-size:19px;color:#172b52}.carpool-role-card p{margin:8px 0 0;color:#66758c;line-height:1.65}.carpool-role-plus{display:flex;flex-direction:column;align-items:center;gap:7px;color:#7555db;font-size:12px;font-weight:800}.carpool-role-plus svg{width:38px;height:38px;padding:9px;border-radius:50%;background:#efeaff}.carpool-intro-points{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.carpool-intro-points>div{display:grid;grid-template-columns:38px 1fr;column-gap:11px;padding:19px;border-radius:15px;background:#f6f9fe}.carpool-intro-points svg{grid-row:1/3;width:38px;height:38px;padding:9px;border-radius:11px;background:#e7efff;color:#3769de}.carpool-intro-points strong{font-size:14px}.carpool-intro-points span{font-size:12px;color:#758196;margin-top:4px}.carpool-intro blockquote{margin:30px auto 22px;padding:17px 22px;max-width:760px;border:0;border-radius:14px;background:linear-gradient(90deg,#e9f2ff,#f1ebff);color:#254d9b;text-align:center;font-size:17px;font-weight:800}.carpool-intro-action{display:flex;width:max-content;align-items:center;gap:8px;margin:auto;padding:13px 24px;border-radius:999px;color:#fff;text-decoration:none;background:linear-gradient(105deg,#2768ec,#7e3fec);box-shadow:0 12px 28px #5a53ef38}.carpool-intro-action svg{width:16px}@media(max-width:780px){.carpool-intro{padding:38px 14px}.carpool-intro-inner{padding:32px 18px;border-radius:20px}.carpool-intro-heading h2{font-size:29px}.carpool-role-grid{grid-template-columns:1fr;margin:28px 0}.carpool-role-plus{flex-direction:row;justify-content:center}.carpool-role-plus svg{width:30px;height:30px}.carpool-intro-points{grid-template-columns:1fr}.carpool-role-card{min-height:auto;padding:22px}.carpool-intro blockquote{font-size:15px}}
.carpool-intro-dialog{width:min(1120px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 42px);margin:auto;padding:0;border:0;border-radius:28px;background:transparent;overflow:auto}.carpool-intro-dialog:not([open]){display:none}.carpool-intro-dialog::backdrop{background:#17233b99;backdrop-filter:blur(7px)}.carpool-intro-dialog .carpool-intro-inner{position:relative;padding:44px}.carpool-intro-close{position:absolute;right:19px;top:19px;z-index:3;display:grid;place-items:center;width:38px;height:38px;border:1px solid #dbe4f2;border-radius:50%;background:#fff;color:#53637d;cursor:pointer}.carpool-intro-close svg{width:19px}.carpool-intro-actions{display:flex;justify-content:center;align-items:center;gap:12px}.carpool-intro-actions .carpool-intro-action{margin:0}.carpool-intro-dismiss{padding:12px 24px;border:1px solid #dbe4f2;border-radius:999px;background:#fff;color:#465673;font:inherit;font-weight:700;cursor:pointer}@media(max-width:780px){.carpool-intro-dialog{width:calc(100% - 18px);max-height:calc(100vh - 18px)}.carpool-intro-dialog .carpool-intro-inner{padding:46px 18px 28px}.carpool-intro-actions{flex-direction:column-reverse}.carpool-intro-actions>*{width:100%!important;justify-content:center}}
.unicorn-contact .contact-qq .contact-color-icon{background:#eaf4ff}.unicorn-contact .contact-qq .qq-penguin{font-size:20px!important;font-weight:400!important;line-height:1;filter:drop-shadow(0 2px 2px #1f5fa333)}
.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions .btn{width:auto!important;min-width:108px;max-width:none;flex:0 1 auto!important;padding-left:15px;padding-right:15px}.dujiao-theme .market-admin .account-stock-form.voucher-form>.account-stock-import-actions{overflow:visible}
.dujiao-theme .market-admin #adminSettingsForm>button[type="submit"]{display:flex;grid-column:1/-1!important;justify-self:start!important;width:305px;max-width:100%;margin-left:0!important;margin-right:0!important}
.dujiao-theme .market-admin .referral-management-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:12px 0 26px;padding:16px;border:1px solid #e1e6ee;border-radius:8px;background:#f8fafc}.dujiao-theme .market-admin .referral-management-form .form-group{margin:0}.dujiao-theme .market-admin .referral-management-form .btn{min-height:40px;white-space:nowrap}.dujiao-theme .market-admin .referral-management-form .form-message{grid-column:1/-1;margin:0}.dujiao-theme .market-admin .referral-withdrawal-divider{margin-top:28px;padding-top:22px;border-top:1px solid #e1e5eb}.dujiao-theme .market-admin #referralWithdrawalSection{scroll-margin-top:18px}@media(max-width:850px){.dujiao-theme .market-admin .referral-management-form{grid-template-columns:1fr}.dujiao-theme .market-admin .referral-management-form .form-message{grid-column:1}}
.dujiao-theme .market-admin .admin-user-blocked-row>td{background:#fff1f0!important;color:#8c2f25}.dujiao-theme .market-admin .admin-user-blocked-row>td:first-child{border-left:3px solid #e5484d}.dujiao-theme .market-admin .admin-user-block-button{min-width:76px;white-space:nowrap}
.dujiao-theme .market-admin .store-content-settings{margin-top:14px}.dujiao-theme .market-admin .store-content-settings:first-of-type{margin-top:24px}.dujiao-theme .market-admin .store-content-settings .account-order-notice-actions{justify-content:center}
.dujiao-theme .market-admin #adminForm .password-field .form-input{padding-left:46px!important;padding-right:50px!important}.dujiao-theme .market-admin #adminForm .field-icon{left:15px;display:block;color:#6d86a8}.dujiao-theme .market-admin #adminForm .password-toggle{right:7px;width:34px;height:34px;cursor:pointer}
.dujiao-theme .market-admin .store-content-settings.policy-settings-editor{grid-template-columns:1fr}.dujiao-theme .market-admin .store-content-settings .account-order-notice-actions{grid-column:1;justify-content:flex-start}.dujiao-theme .market-admin .store-content-settings .account-order-notice-actions .btn{background:#1f7ae5!important;border-color:#1f7ae5!important;color:#fff!important;box-shadow:0 8px 20px #1f7ae52b}.dujiao-theme .market-admin .store-content-settings .account-order-notice-actions .btn:hover{background:#1769c9!important;border-color:#1769c9!important}
.dujiao-theme .market-admin .after-sale-management{scroll-margin-top:18px}.dujiao-theme .market-admin .after-sale-management>.panel-head{margin-bottom:8px}.dujiao-theme .market-admin .after-sale-subsection{margin:0;padding:18px 0;border:0;border-top:1px solid #e1e5eb;border-radius:0;box-shadow:none;background:transparent}.dujiao-theme .market-admin .after-sale-subsection>.panel-head{margin-bottom:10px}.dujiao-theme .market-admin .after-sale-subsection>.panel-head h3{font-size:15px}
.dujiao-theme .market-admin .voucher-management-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(430px,1.2fr);gap:16px;margin-bottom:18px}.dujiao-theme .market-admin .voucher-management-pane{min-width:0;padding:16px;border:1px solid #e1e6ee;border-radius:8px;background:#f8fafc}.dujiao-theme .market-admin .voucher-management-pane>.panel-head{margin:0 0 12px;padding:0}.dujiao-theme .market-admin .voucher-management-pane>.panel-head h3,.dujiao-theme .market-admin .voucher-management-title h4{margin:0;font-size:15px}.dujiao-theme .market-admin .voucher-management-title{margin-bottom:12px}.dujiao-theme .market-admin .voucher-management-pane .trace-form{grid-template-columns:minmax(0,1fr) auto}.dujiao-theme .market-admin .voucher-management-pane .trace-result{margin-top:12px}.dujiao-theme .market-admin .voucher-deposit-pane .voucher-form{grid-template-columns:minmax(0,1fr) auto}.dujiao-theme .market-admin .voucher-deposit-pane .card-textarea{min-height:104px}@media(max-width:980px){.dujiao-theme .market-admin .voucher-management-grid{grid-template-columns:1fr}}
.dujiao-theme .market-admin .admin-ledger-wrap{max-height:none;overflow-x:auto;overflow-y:visible}.dujiao-theme .market-admin .admin-ledger-pager{display:flex;justify-content:flex-end;margin:10px 0 24px}
.dujiao-theme .market-admin .admin-ledger-wrap table{min-width:1480px}.dujiao-theme .market-admin .admin-ledger-wrap th,.dujiao-theme .market-admin .admin-ledger-wrap td{white-space:nowrap}.dujiao-theme .market-admin .admin-ledger-wrap td:nth-child(3){max-width:220px;overflow:hidden;text-overflow:ellipsis}.dujiao-theme .market-admin .admin-ledger-wrap td:nth-child(4){max-width:210px;overflow:hidden;text-overflow:ellipsis}
.unicorn-contact .contact-card{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;margin:0 0 9px;padding:7px 11px;border:1px solid #dde1e8;border-radius:9px;background:#f6f7f9;color:#5f6672;text-decoration:none;box-sizing:border-box}.unicorn-contact .contact-card b{font-size:12px;font-weight:500}.unicorn-contact .contact-color-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;color:#fff;box-shadow:0 5px 12px #526b9d24}.unicorn-contact .contact-color-icon svg{width:15px;height:15px;color:#fff}.unicorn-contact .contact-email .contact-color-icon{background:linear-gradient(135deg,#ff5d69,#ff8a45 52%,#4a8df6 53%,#4268e8)}.unicorn-contact .contact-qq .contact-color-icon{background:linear-gradient(145deg,#58b8ff,#2479ed)}.unicorn-contact .contact-qq .contact-color-icon b{font-size:14px;font-weight:800;color:#fff}.unicorn-contact .contact-email:hover{border-color:#ff9d9d;background:#fff9f9}.unicorn-contact>small{display:block;margin-top:8px}

/* v9: seamless hero-to-carousel spacing and identical four-corner rounding. */
.dujiao-theme .market-home .shop-notice{margin-top:0;border-radius:12px;overflow:hidden}
.dujiao-theme .notice-slide-viewport,.dujiao-theme .notice-slide-track,.dujiao-theme .notice-slide,.dujiao-theme .notice-slide img{border-radius:inherit}
.dujiao-theme .notice-slide img{clip-path:inset(0 round 11px)}
.dujiao-theme .market-home .shop-hero{margin-bottom:0}
@media(max-width:850px){.dujiao-theme .market-home .shop-notice{margin-top:0;border-radius:9px}.dujiao-theme .notice-slide img{clip-path:inset(0 round 8px)}}
.market-admin .user-mail-subsection {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #e6ebf2;
  border-radius: 0;
  box-shadow: none;
}
.market-admin .direct-customer-mail {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.market-admin .direct-customer-mail .panel-head {
  margin-bottom: 14px;
}
.market-admin .direct-mail-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}
.market-admin .direct-mail-content { grid-column: 1 / -1; }
.market-admin .direct-mail-members {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.market-admin .direct-mail-members > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
}
.market-admin .direct-mail-members b { color: #1769c9; }
.market-admin .direct-mail-members em { color: #59677a; font-style: normal; overflow-wrap: anywhere; }
.market-admin .direct-mail-content textarea { min-height: 132px; resize: vertical; }
.market-admin .direct-mail-form > button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: center;
  width: 300px;
  max-width: 100%;
}
.market-admin .direct-mail-form .form-message { grid-column: 1 / -1; justify-self: center; margin: 0; }
.dujiao-theme .market-admin .mail-toggle-row {
  grid-template-columns: repeat(5, minmax(104px, 1fr));
  align-items: center;
}
.dujiao-theme .market-admin .admin-user-tools {
  grid-template-columns: minmax(220px, 320px) auto minmax(160px, 1fr);
}
@media (max-width: 760px) {
  .market-admin .direct-mail-form { grid-template-columns: 1fr; }
  .market-admin .direct-mail-content { grid-column: auto; }
  .market-admin .direct-mail-members { grid-column: auto; grid-template-columns: 1fr; }
  .market-admin .direct-mail-form > button[type="submit"],
  .market-admin .direct-mail-form .form-message { grid-column: auto; }
  .dujiao-theme .market-admin .mail-toggle-row,
  .dujiao-theme .market-admin .admin-user-tools { grid-template-columns: 1fr; }
}

/* Voucher management: keep both panes readable and let trace details use full lines. */
.dujiao-theme .market-admin .voucher-management-grid {
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  align-items: stretch;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-grid > div {
  min-width: 0;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-grid strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-account pre,
.dujiao-theme .market-admin .voucher-trace-pane .trace-history p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 1180px) {
  .dujiao-theme .market-admin .voucher-management-grid { grid-template-columns: 1fr; }
  .dujiao-theme .market-admin .voucher-trace-pane .trace-grid { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
}
@media (max-width: 760px) {
  .dujiao-theme .market-admin .voucher-trace-pane .trace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dujiao-theme .market-admin .admin-ledger-wrap table { min-width: 1680px; }
.dujiao-theme .market-admin .renewal-progress-cell {
  min-width: 190px;
  white-space: normal !important;
  line-height: 1.45;
  font-weight: 700;
}
.dujiao-theme .market-admin .renewal-waiting { color: #a26100; background: #fff8df !important; }
.dujiao-theme .market-admin .renewal-accepted { color: #087a55; background: #eaf9f2 !important; }
.dujiao-theme .market-admin .renewal-rejected,
.dujiao-theme .market-admin .renewal-expired { color: #b34332; background: #fff0ed !important; }
.dujiao-theme .market-admin .renewal-matching { color: #1769c9; background: #edf5ff !important; }
.dujiao-theme .market-admin .contact-settings-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.dujiao-theme .market-admin .contact-settings-actions .form-message { margin: 0; }
.dujiao-theme .market-admin .voucher-management-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px 22px;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-result {
  overflow-x: auto;
}
.dujiao-theme .market-admin .voucher-trace-pane .trace-account,
.dujiao-theme .market-admin .voucher-trace-pane .trace-history {
  margin-top: 14px;
}
.dujiao-theme .market-admin .trace-renewal {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #d9e5f5;
  border-radius: 12px;
  background: #f8fbff;
}
.dujiao-theme .market-admin .trace-renewal.is-pending {
  border-color: #f1d792;
  background: #fffbef;
}
.dujiao-theme .market-admin .trace-renewal.is-approved {
  border-color: #b9e7d5;
  background: #f1fbf7;
}
.dujiao-theme .market-admin .trace-renewal.is-rejected {
  border-color: #f2c7c0;
  background: #fff5f3;
}
.dujiao-theme .market-admin .trace-renewal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(120, 145, 175, .2);
}
.dujiao-theme .market-admin .trace-renewal-head > div {
  display: grid;
  gap: 5px;
}
.dujiao-theme .market-admin .trace-renewal-head span,
.dujiao-theme .market-admin .trace-renewal-grid span,
.dujiao-theme .market-admin .trace-renewal-person span {
  color: #718096;
  font-size: 12px;
}
.dujiao-theme .market-admin .trace-renewal-head strong {
  color: #102644;
  font-size: 17px;
}
.dujiao-theme .market-admin .trace-renewal-head > b {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #9a5d00;
  background: #fff0bf;
  font-size: 12px;
}
.dujiao-theme .market-admin .trace-renewal.is-approved .trace-renewal-head > b {
  color: #087a55;
  background: #dff6ec;
}
.dujiao-theme .market-admin .trace-renewal.is-rejected .trace-renewal-head > b {
  color: #b34332;
  background: #ffe4df;
}
.dujiao-theme .market-admin .trace-renewal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 14px 18px;
  padding-top: 16px;
}
.dujiao-theme .market-admin .trace-renewal-grid > div,
.dujiao-theme .market-admin .trace-renewal-person {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dujiao-theme .market-admin .trace-renewal-grid strong,
.dujiao-theme .market-admin .trace-renewal-person strong,
.dujiao-theme .market-admin .trace-renewal-person small {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.dujiao-theme .market-admin .trace-renewal-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.dujiao-theme .market-admin .trace-renewal-account {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
}
.dujiao-theme .market-admin .trace-renewal-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dujiao-theme .market-admin .trace-renewal-account-head > span {
  color: #102644;
  font-size: 14px;
  font-weight: 800;
}
.dujiao-theme .market-admin .trace-renewal-account-head > small,
.dujiao-theme .market-admin .trace-renewal-account-empty {
  color: #64748b;
}
.dujiao-theme .market-admin .trace-renewal-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dujiao-theme .market-admin .trace-renewal-account-grid > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fbff;
}
.dujiao-theme .market-admin .trace-renewal-account-grid span {
  grid-column: 1 / -1;
  color: #718096;
  font-size: 12px;
}
.dujiao-theme .market-admin .trace-renewal-account-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #102644;
}
.dujiao-theme .market-admin .trace-renewal-person {
  padding: 12px 14px;
  border: 1px solid rgba(120, 145, 175, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .72);
}
.dujiao-theme .market-admin .trace-renewal-person small {
  color: #5f6f83;
  line-height: 1.5;
}
.dujiao-theme .market-admin .trace-renewal-note,
.dujiao-theme .market-admin .trace-empty-delivery {
  margin: 14px 0 0;
  color: #64748b;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .dujiao-theme .market-admin .trace-renewal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .dujiao-theme .market-admin .trace-renewal-head { flex-direction: column; }
  .dujiao-theme .market-admin .trace-renewal-grid,
  .dujiao-theme .market-admin .trace-renewal-people,
  .dujiao-theme .market-admin .trace-renewal-account-grid { grid-template-columns: 1fr; }
  .dujiao-theme .market-admin .trace-renewal-account-head { align-items: flex-start; flex-direction: column; }
}
.dujiao-theme .market-admin .voucher-deposit-pane .voucher-form {
  grid-template-columns: minmax(260px, .75fr) minmax(420px, 1.25fr) !important;
  align-items: start;
}
@media (max-width: 980px) {
  .dujiao-theme .market-admin .voucher-trace-pane .trace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dujiao-theme .market-admin .voucher-deposit-pane .voucher-form { grid-template-columns: 1fr !important; }
}
.dujiao-theme .market-admin .voucher-deposit-pane #depositCardForm > button[type="submit"] {
  width: 300px !important;
  max-width: 100%;
  justify-self: start;
}
.dujiao-theme .market-admin #accountStockRows > .card-pager {
  justify-content: flex-end;
  width: 100%;
  position: sticky;
  left: 0;
  box-sizing: border-box;
}

.dujiao-theme .market-admin .stock-warranty-remaining.soon {
  color: #ed0c0c !important;
}

/* Keep every prediction-card price equally prominent in the market theme. */
.dujiao-theme .match-prediction-card-head b {
  font-size: 30px !important;
  line-height: 1 !important;
}

@media (max-width: 720px) {
  .dujiao-theme .match-prediction-card-head b {
    font-size: 24px !important;
  }
}

/* Unicorn typography scale for the complete customer account center. */
.dujiao-theme .market-account {
  --account-font-xs: 11px;
  --account-font-sm: 12px;
  --account-font-md: 13px;
  --account-font-lg: 15px;
  --account-font-xl: 18px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: var(--account-font-md);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
.dujiao-theme .market-account :where(input, select, textarea, button) {
  font: inherit;
  letter-spacing: 0;
}
.dujiao-theme .market-account :where(.account-menu-button, .btn, .auth-tabs button, .account-order-notice-button) {
  font-size: var(--account-font-sm) !important;
  font-weight: 500 !important;
  line-height: 1.4;
}
.dujiao-theme .market-account :where(.form-input, input, select, textarea) {
  font-size: var(--account-font-md) !important;
  font-weight: 400 !important;
  line-height: 1.5;
}
.dujiao-theme .market-account :where(.form-group > span, .account-field-label, .account-meta-label, th) {
  font-size: var(--account-font-xs) !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.dujiao-theme .market-account :where(td, .account-section p, .account-section span, .account-section label, .account-card-meta, .form-message) {
  font-size: var(--account-font-sm) !important;
  font-weight: 400;
  line-height: 1.6;
}
.dujiao-theme .market-account :where(.account-dashboard-head h3) {
  font-size: var(--account-font-xl) !important;
  font-weight: 650 !important;
  line-height: 1.4;
}
.dujiao-theme .market-account :where(.account-section h4, .account-profile-card h4, .account-wallet-card h4) {
  font-size: var(--account-font-lg) !important;
  font-weight: 600 !important;
  line-height: 1.45;
}
.dujiao-theme .market-account :where(.account-sidebar-profile strong, .account-card-title, td strong) {
  font-size: var(--account-font-md);
  font-weight: 600 !important;
}
.dujiao-theme .market-account :where(.account-dashboard-head > span, .single-line-note, .auth-mail-tip, small, time) {
  font-size: var(--account-font-xs) !important;
  font-weight: 400 !important;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .dujiao-theme .market-account {
    --account-font-xl: 17px;
    --account-font-lg: 14px;
  }
}

/* v28: make the personal-center sidebar follow the admin sidebar rhythm. */
.dujiao-theme .market-account .account-page-panel {
  padding: 18px !important;
}
.dujiao-theme .market-account .account-dashboard {
  grid-template-columns: 216px minmax(0, 1fr) !important;
  gap: 18px !important;
  font-size: 13px !important;
}
.dujiao-theme .market-account .account-dashboard-sidebar {
  width: 216px !important;
  padding: 18px 12px !important;
  gap: 14px !important;
  border: 1px solid #dedee2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}
.dujiao-theme .market-account .account-sidebar-profile {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  justify-items: start !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid #e5e5e7 !important;
  text-align: left !important;
}
.dujiao-theme .market-account .account-sidebar-profile .account-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 7px !important;
}
.dujiao-theme .market-account .account-sidebar-profile strong {
  color: #1d1d1f !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}
.dujiao-theme .market-account .account-menu {
  gap: 4px !important;
}
.dujiao-theme .market-account .account-menu-button {
  min-height: 36px !important;
  padding: 8px 12px !important;
  gap: 9px !important;
  border-radius: 5px !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}
.dujiao-theme .market-account .account-menu-button svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}
.dujiao-theme .market-account .account-menu-button:hover,
.dujiao-theme .market-account .account-menu-button.active {
  color: #1677ff !important;
  background: #f0f6ff !important;
}
.dujiao-theme .market-account .logout-button {
  margin-top: 8px !important;
  background: #fff2ed !important;
  color: #d4380d !important;
}
.dujiao-theme .market-account .account-dashboard-main {
  padding: 22px 24px !important;
  border: 1px solid #dedee2 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
@media (max-width: 850px) {
  .dujiao-theme .market-account .account-page-panel {
    padding: 14px !important;
  }
  .dujiao-theme .market-account .account-dashboard {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .dujiao-theme .market-account .account-dashboard-sidebar {
    width: 100% !important;
    padding: 14px !important;
  }
  .dujiao-theme .market-account .account-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .dujiao-theme .market-account .account-menu-button {
    justify-content: flex-start !important;
  }
}

/* v29: trim the signup card to end right after the voucher/submit area. */
.dujiao-theme .market-home #rental-center .shop-redeem-panel {
  padding-bottom: 14px !important;
}
.dujiao-theme .market-home #signupView .signup-pane,
.dujiao-theme .market-home #signupView .stack-form {
  margin-bottom: 0 !important;
}
.dujiao-theme .market-home #signupView #signupSubmitButton {
  margin-bottom: 0 !important;
}
.dujiao-theme .market-home #signupView #signupMessage:empty {
  display: none;
}
@media (max-width: 850px) {
  .dujiao-theme .market-home #rental-center .shop-redeem-panel {
    padding-bottom: 12px !important;
  }
}

/* v31: keep every login/register field aligned to the same height. */
.dujiao-theme .market-account .customer-auth-form .form-input {
  height: 54px;
  min-height: 54px;
}

/* v32: use the uploaded Yushukeji shop logo in the admin sidebar. */
.dujiao-theme .market-admin-sidebar .market-admin-shop-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border-radius: 7px;
}

/* Keep voucher lookup compact and left-aligned. */
.dujiao-theme .market-admin #voucherTraceForm {
  grid-template-columns: 300px auto !important;
  justify-content: start;
  gap: 10px;
}
.dujiao-theme .market-admin #voucherTraceInput {
  width: 300px;
  max-width: 100%;
}
@media (max-width: 650px) {
  .dujiao-theme .market-admin #voucherTraceForm {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .dujiao-theme .market-admin #voucherTraceInput {
    width: 100%;
  }
}
