/* ZD Test UI v9 — single visual authority for all test templates. */
:root {
  color-scheme: light;
  --v9-page:#f6f1e8; --v9-page-top:#fffaf1; --v9-surface:#fffdf9;
  --v9-soft:#faf5ec; --v9-soft-2:#f4ecdf; --v9-line:#e5d8c6;
  --v9-ink:#29241e; --v9-body:#514941; --v9-muted:#766b60;
  --v9-brand:#e89a38; --v9-brand-deep:#8b5d1d; --v9-brand-soft:#fff0d3;
  --v9-success:#397255; --v9-success-bg:#edf7f0; --v9-danger:#a84941;
  --v9-danger-bg:#fff1ef; --v9-warning:#94621d; --v9-warning-bg:#fff5df;
  --v9-info:#496c83; --v9-info-bg:#eef5f8;
  --v9-r-sm:10px; --v9-r:16px; --v9-r-lg:22px;
  --v9-shadow:0 12px 34px rgba(80,57,31,.08);
  --v9-shadow-lg:0 26px 72px rgba(70,49,25,.18);
  --v9-content:1120px; --v9-form:820px;
  --bg-dark:var(--v9-page); --card-bg:var(--v9-surface); --input-bg:#fffefa;
  --btn-bg:var(--v9-soft); --border:var(--v9-line); --text:var(--v9-ink);
  --text2:var(--v9-muted); --accent:var(--v9-brand); --gold:var(--v9-brand-deep);
  --red:var(--v9-danger); --accent-glow:rgba(232,154,56,.14);
}
*,*::before,*::after{box-sizing:border-box}
html{min-width:320px;background:var(--v9-page);color-scheme:light}
html body,body.ui-refresh,body.sub-page{
  min-height:100vh;margin:0;color:var(--v9-body)!important;
  background:radial-gradient(circle at 8% -8%,rgba(244,183,92,.24),transparent 28rem),linear-gradient(180deg,var(--v9-page-top),var(--v9-page) 46%,#f1ebe1) fixed!important;
  font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body::before{display:none!important}
img,video,canvas{max-width:100%}
a{color:var(--v9-brand-deep);text-decoration:none}
h1,h2,h3,h4,h5,h6,b,strong,legend,summary{color:var(--v9-ink)!important;text-shadow:none!important}
p,small,.muted,.subtitle,.hint,.desc,.detail,.meta,.form-hint,.footer-info{color:var(--v9-muted)!important;text-shadow:none!important}

/* Page shells */
.container,.wrap,main.wrap,.staff-shell,.game-lobby,.portal,.home-list-shell{
  width:min(var(--v9-content),calc(100% - 32px))!important;max-width:var(--v9-content)!important;
  margin-inline:auto!important;padding-top:24px;
}
.publish-page #page-register,.publish-page #page-history,.publish-page #page-list{width:min(var(--v9-form),calc(100% - 24px));margin-inline:auto}
.nav-bar,.nav,.topbar,.practice-nav,.page-header,.header{
  min-height:62px!important;border:0!important;border-bottom:1px solid var(--v9-line)!important;
  color:var(--v9-ink)!important;background:rgba(255,253,249,.95)!important;background-image:none!important;
  box-shadow:0 8px 28px rgba(80,57,31,.06)!important;backdrop-filter:blur(18px) saturate(130%);
}
.nav-bar .logo,.nav b,.practice-brand,.header h1{color:var(--v9-ink)!important;-webkit-text-fill-color:currentColor!important;background:none!important}

/* Surfaces */
.card,[class$="-card"],[class*="-card "],.panel,[class$="-panel"],.item,.order,.section,.box,
.hero,.account,.team,.notice,.history-item,.listing-card,.account-card,.resource-card,
.order-card,.worker-card,.staff-head,.staff-card,.online-panel,.modal-box,.modal-card,
.dialog,.dialog-card,.first-guide-card,.customer-service-card,.account-entry-modal-panel,
.practice-entry-modal-panel,.delta-detail-modal{
  border:1px solid var(--v9-line)!important;border-radius:var(--v9-r)!important;
  color:var(--v9-body)!important;background:var(--v9-surface)!important;background-image:none!important;
  box-shadow:var(--v9-shadow)!important;text-shadow:none!important;
}
.card,.item,.order,.section,.history-item,.listing-card,.account-card,.staff-card{padding:18px!important}
.info-item,.fact,.cell,.detail-cell,.skin-detail,.lc-block,.h-item,.pay-check,.agreement-box,
.breakdown>div,.pay-breakdown>div,.delta-pay-breakdown>div,.summary,.addon,.step,.quick a,
.contact-card,.member-summary,.agreement-content,.agreement-check,.acc-note{
  border:1px solid #eadfce!important;border-radius:var(--v9-r-sm)!important;
  color:var(--v9-body)!important;background:var(--v9-soft)!important;background-image:none!important;box-shadow:none!important;
}
.info-slide,.slide{border:1px solid var(--v9-line)!important;background:var(--v9-soft)!important;background-image:none!important}
.account-grid,.grid,.listing-grid,.cards-grid,.order-grid,.portal-grid,.staff-grid{gap:14px!important}

/* Typography */
.card-title,.page-title,.section-title,.head-title,.profile-name,.game-name,.title{color:var(--v9-ink)!important;font-weight:750!important;letter-spacing:-.01em}
.form-label,.h-value,.lc-val,.value,.name,td,th,label{color:var(--v9-body)!important}
.form-hint,.upload-hint,.upload-text,.h-label,.h-time,.lc-label,.lc-row-label,.count,.empty,.no-data{color:var(--v9-muted)!important}
.amount,.price,.gold,.hav,.lc-total{color:var(--v9-brand-deep)!important}

/* Forms */
input:not([type=checkbox]):not([type=radio]),select,textarea,.form-input,.form-select,.search,.field{
  width:100%;min-height:44px;border:1px solid #ddd0be!important;border-radius:var(--v9-r-sm)!important;
  color:var(--v9-ink)!important;background:#fffefa!important;-webkit-text-fill-color:var(--v9-ink)!important;
  caret-color:var(--v9-ink)!important;box-shadow:inset 0 1px 2px rgba(80,57,31,.04)!important;outline:0!important;
}
input:focus,select:focus,textarea:focus,.form-input:focus,.form-select:focus{
  border-color:var(--v9-brand)!important;background:#fffefa!important;box-shadow:0 0 0 4px rgba(232,154,56,.14)!important;
}
input::placeholder,textarea::placeholder{color:#9c9287!important;-webkit-text-fill-color:#9c9287!important}
select option{color:var(--v9-ink);background:#fffefa}input[type=checkbox],input[type=radio]{accent-color:var(--v9-brand)}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:var(--v9-ink)!important;-webkit-box-shadow:0 0 0 1000px #fffefa inset!important}
.form-group{min-width:0}.row{gap:12px!important}.btn-group{gap:7px!important}

/* Buttons and interactive controls */
button,.btn,[role=button],a[class*="btn"],a[class*="action"]{
  min-height:40px;border:1px solid #ddd0be!important;border-radius:var(--v9-r-sm)!important;
  color:#62584d!important;background:var(--v9-soft)!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important;font-family:inherit;cursor:pointer;
}
button:hover,.btn:hover,[role=button]:hover{border-color:#cfb98f!important;background:#fff8eb!important}
.btn-submit,.btn-primary,.primary,.confirm-btn,.start-pay,.pay,button[type=submit]{
  border-color:rgba(130,88,28,.12)!important;color:#392710!important;background:linear-gradient(135deg,#f4b75c,var(--v9-brand))!important;font-weight:750!important;
}
.btn-opt.active,.main-tab.active,.tab.active,.filter.active,.agreement-tab.active,.tab-btn.active,.package.active{
  border-color:#d6b16f!important;color:#654718!important;background:var(--v9-brand-soft)!important;font-weight:700!important;
}
.danger,.reject,.return,.refund,.btn-danger,.delete{border-color:#e7c4bf!important;color:var(--v9-danger)!important;background:var(--v9-danger-bg)!important}
button:disabled,.btn:disabled,[disabled]{opacity:.5!important;cursor:not-allowed!important;box-shadow:none!important}

/* Status system */
.success,.approved,.available,.done,.complete,.acc-on{color:var(--v9-success)!important;background-color:var(--v9-success-bg)!important}
.error,.danger,.rejected,.refund,.h-reason,.acc-off{color:var(--v9-danger)!important;background-color:var(--v9-danger-bg)!important}
.pending,.warning,.warn,.warn-badge{color:var(--v9-warning)!important;background-color:var(--v9-warning-bg)!important}
.badge,.pill,.chip,.status,.h-status,.test-badge{border-radius:999px!important;text-shadow:none!important}

/* Tables, filters, upload */
table,.acc-table,.list-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--v9-line)!important;border-radius:12px;overflow:hidden;background:var(--v9-surface)!important}
th{background:var(--v9-soft-2)!important;color:#62584d!important;font-weight:700!important}td,th{border-color:#eadfce!important}
.filters,.filter-bar,.main-tabs,.tab-bar,.practice-game-switch{border-color:var(--v9-line)!important;background:rgba(255,253,249,.96)!important;background-image:none!important;box-shadow:none!important}
.file-upload{min-height:94px;border:2px dashed #d9c8ae!important;border-radius:14px!important;background:var(--v9-soft)!important}
.file-upload.has-file{border-color:#8cad99!important;background:var(--v9-success-bg)!important}

/* Dialogs */
.overlay,.login-overlay,.qq-modal,.video-modal,.agreement-modal,.delta-detail-overlay,.practice-entry-modal,.account-entry-modal,.first-guide,.customer-service-modal{
  background:rgba(55,45,34,.48)!important;backdrop-filter:blur(8px)!important;
}
.overlay>.modal,.login-overlay>.login-box,.qq-modal>.modal-box,.agreement-modal>.modal-card,.delta-detail-modal{
  border:1px solid var(--v9-line)!important;border-radius:var(--v9-r-lg)!important;color:var(--v9-body)!important;background:var(--v9-surface)!important;box-shadow:var(--v9-shadow-lg)!important;
}
.modal-header,.modal-body,.modal-footer{border-color:#eadfce!important;color:var(--v9-body)!important;background:var(--v9-surface)!important}
.close,.close-btn,.btn-close,.detail-close,.account-entry-modal-close{color:#675d52!important;background:var(--v9-soft)!important}

/* Navigation */
.bottom-nav,.site-bottom-nav{border:1px solid rgba(164,119,52,.18)!important;border-bottom:0!important;background:rgba(255,253,249,.96)!important;box-shadow:0 -10px 34px rgba(80,57,31,.09)!important;backdrop-filter:blur(20px)}
.bottom-nav,.site-bottom-nav{display:flex!important;align-items:stretch!important;min-height:68px!important}
.bottom-nav a,.site-bottom-nav a{flex:1 1 0!important;min-width:0!important;height:68px!important;min-height:68px!important;padding:8px 4px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;color:#74695e!important;font-size:10px!important;line-height:1.15!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important}
.bottom-nav a>span,.site-bottom-nav a>span{display:block!important;font-size:18px!important;line-height:1!important}.bottom-nav a>em,.site-bottom-nav a>em{font-style:normal!important;line-height:1.15!important}
.nav-tab{color:#74695e!important}.bottom-nav a.active,.site-bottom-nav a.active{color:var(--v9-brand-deep)!important}.bottom-nav a.active>span,.site-bottom-nav a.active>span{filter:drop-shadow(0 2px 5px rgba(139,93,29,.22))}
.nav-publish i,.publish i{border-color:var(--v9-surface)!important;color:#392710!important;background:linear-gradient(145deg,#f4b75c,var(--v9-brand))!important}

/* SVG icon system */
.v9-icon{display:inline-grid;width:1.12em;height:1.12em;place-items:center;vertical-align:-.16em;margin-right:.28em;color:currentColor;flex:none}
.v9-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.v9-icon.v9-success{color:var(--v9-success)}.v9-icon.v9-danger{color:var(--v9-danger)}.v9-icon.v9-warning{color:var(--v9-warning)}

@media(min-width:900px){.account-grid,.grid,.listing-grid,.cards-grid,.order-grid,.portal-grid,.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.card,.item,.order,.section{padding:22px!important}}
@media(max-width:899px){.container,.wrap,main.wrap,.staff-shell,.game-lobby,.portal,.home-list-shell{width:min(100% - 22px,720px)!important;padding-top:16px}.row{flex-wrap:wrap}.row>.form-group{flex:1 1 220px!important}}
@media(max-width:520px){body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}.nav-bar,.nav,.header{padding-inline:10px!important;gap:6px!important}.card,.item,.order,.section,.history-item,.listing-card,.account-card,.staff-card{padding:15px!important;border-radius:14px!important}.account-grid,.grid,.listing-grid,.cards-grid,.order-grid,.portal-grid,.staff-grid{grid-template-columns:1fr!important;gap:10px!important}.btn-row,.actions{gap:8px!important}.btn-row>*{min-width:0}.modal-box,.modal-card,.overlay>.modal{width:min(100% - 20px,520px)!important;padding:18px 15px!important}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.table-wrap,.list-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}}

/* Black Advanced mode */
html[data-ui-theme="dark"]{color-scheme:dark;--v9-page:#090a0c;--v9-page-top:#111318;--v9-surface:#15171c;--v9-soft:#1b1e24;--v9-soft-2:#21252c;--v9-line:#30343c;--v9-ink:#f4f1ea;--v9-body:#d0ccc4;--v9-muted:#96928b;--v9-brand:#d6ad66;--v9-brand-deep:#e2bd7a;--v9-brand-soft:#2d271d;--v9-success:#75bc91;--v9-success-bg:#14251b;--v9-danger:#ee8b82;--v9-danger-bg:#2b1919;--v9-warning:#e0b76d;--v9-warning-bg:#2a2418;--v9-info:#83b4cf;--v9-info-bg:#17242b;--v9-shadow:0 14px 38px rgba(0,0,0,.28);--v9-shadow-lg:0 28px 80px rgba(0,0,0,.55);--bg-dark:var(--v9-page);--card-bg:var(--v9-surface);--input-bg:#111318;--btn-bg:var(--v9-soft);--border:var(--v9-line);--text:var(--v9-ink);--text2:var(--v9-muted);--accent:var(--v9-brand);--gold:var(--v9-brand-deep)}
html[data-ui-theme="dark"] body,html[data-ui-theme="dark"] body.ui-refresh,html[data-ui-theme="dark"] body.sub-page{background:radial-gradient(circle at 12% -10%,rgba(214,173,102,.12),transparent 32rem),linear-gradient(180deg,#111318,#090a0c 48%,#07080a) fixed!important}
html[data-ui-theme="dark"] .nav-bar,html[data-ui-theme="dark"] .nav,html[data-ui-theme="dark"] .topbar,html[data-ui-theme="dark"] .practice-nav,html[data-ui-theme="dark"] .page-header,html[data-ui-theme="dark"] .header{background:rgba(18,20,24,.94)!important;box-shadow:0 10px 32px rgba(0,0,0,.25)!important}
html[data-ui-theme="dark"] .info-item,html[data-ui-theme="dark"] .fact,html[data-ui-theme="dark"] .cell,html[data-ui-theme="dark"] .detail-cell,html[data-ui-theme="dark"] .skin-detail,html[data-ui-theme="dark"] .lc-block,html[data-ui-theme="dark"] .h-item,html[data-ui-theme="dark"] .pay-check,html[data-ui-theme="dark"] .agreement-box,html[data-ui-theme="dark"] .breakdown>div,html[data-ui-theme="dark"] .pay-breakdown>div,html[data-ui-theme="dark"] .delta-pay-breakdown>div,html[data-ui-theme="dark"] .summary,html[data-ui-theme="dark"] .addon,html[data-ui-theme="dark"] .step,html[data-ui-theme="dark"] .quick a,html[data-ui-theme="dark"] .contact-card,html[data-ui-theme="dark"] .member-summary,html[data-ui-theme="dark"] .agreement-content,html[data-ui-theme="dark"] .agreement-check,html[data-ui-theme="dark"] .acc-note{border-color:#30343c!important;background:var(--v9-soft)!important}
html[data-ui-theme="dark"] input:not([type=checkbox]):not([type=radio]),html[data-ui-theme="dark"] select,html[data-ui-theme="dark"] textarea,html[data-ui-theme="dark"] .form-input,html[data-ui-theme="dark"] .form-select,html[data-ui-theme="dark"] .search,html[data-ui-theme="dark"] .field{border-color:#3a3f48!important;color:var(--v9-ink)!important;background:#111318!important;-webkit-text-fill-color:var(--v9-ink)!important}
html[data-ui-theme="dark"] input:focus,html[data-ui-theme="dark"] select:focus,html[data-ui-theme="dark"] textarea:focus,html[data-ui-theme="dark"] .form-input:focus,html[data-ui-theme="dark"] .form-select:focus{border-color:var(--v9-brand)!important;background:#111318!important;box-shadow:0 0 0 4px rgba(214,173,102,.12)!important}
html[data-ui-theme="dark"] input::placeholder,html[data-ui-theme="dark"] textarea::placeholder{color:#777b83!important;-webkit-text-fill-color:#777b83!important}html[data-ui-theme="dark"] select option{color:var(--v9-ink);background:#111318}
html[data-ui-theme="dark"] input:-webkit-autofill,html[data-ui-theme="dark"] input:-webkit-autofill:hover,html[data-ui-theme="dark"] input:-webkit-autofill:focus{-webkit-text-fill-color:var(--v9-ink)!important;-webkit-box-shadow:0 0 0 1000px #111318 inset!important}
html[data-ui-theme="dark"] button,html[data-ui-theme="dark"] .btn,html[data-ui-theme="dark"] [role=button],html[data-ui-theme="dark"] a[class*="btn"],html[data-ui-theme="dark"] a[class*="action"]{border-color:#3a3f48!important;color:#c9c5bd!important;background:#1b1e24!important}
html[data-ui-theme="dark"] button:hover,html[data-ui-theme="dark"] .btn:hover,html[data-ui-theme="dark"] [role=button]:hover{border-color:#62583f!important;background:#22262d!important}
html[data-ui-theme="dark"] .btn-submit,html[data-ui-theme="dark"] .btn-primary,html[data-ui-theme="dark"] .primary,html[data-ui-theme="dark"] .confirm-btn,html[data-ui-theme="dark"] .start-pay,html[data-ui-theme="dark"] .pay,html[data-ui-theme="dark"] button[type=submit]{border-color:#8f7548!important;color:#15120d!important;background:linear-gradient(135deg,#e4c17f,#b88d49)!important}
html[data-ui-theme="dark"] table,html[data-ui-theme="dark"] .acc-table,html[data-ui-theme="dark"] .list-table{border-color:#30343c!important;background:var(--v9-surface)!important}html[data-ui-theme="dark"] th{background:#202329!important;color:#c9c5bd!important}html[data-ui-theme="dark"] td,html[data-ui-theme="dark"] th{border-color:#30343c!important}
html[data-ui-theme="dark"] .filters,html[data-ui-theme="dark"] .filter-bar,html[data-ui-theme="dark"] .main-tabs,html[data-ui-theme="dark"] .tab-bar,html[data-ui-theme="dark"] .practice-game-switch{border-color:#30343c!important;background:rgba(21,23,28,.96)!important}
html[data-ui-theme="dark"] .bottom-nav,html[data-ui-theme="dark"] .site-bottom-nav{border-color:rgba(214,173,102,.16)!important;background:rgba(18,20,24,.96)!important;box-shadow:0 -12px 38px rgba(0,0,0,.34)!important}html[data-ui-theme="dark"] .nav-publish i,html[data-ui-theme="dark"] .publish i{border-color:#15171c!important;color:#15120d!important;background:linear-gradient(145deg,#e4c17f,#b88d49)!important}
html[data-ui-theme="dark"] .overlay,html[data-ui-theme="dark"] .login-overlay,html[data-ui-theme="dark"] .qq-modal,html[data-ui-theme="dark"] .video-modal,html[data-ui-theme="dark"] .agreement-modal,html[data-ui-theme="dark"] .delta-detail-overlay,html[data-ui-theme="dark"] .practice-entry-modal,html[data-ui-theme="dark"] .account-entry-modal,html[data-ui-theme="dark"] .first-guide,html[data-ui-theme="dark"] .customer-service-modal{background:rgba(0,0,0,.7)!important}

/* v11: theme ownership for legacy page-specific components */
:root{--v9-overlay:rgba(55,45,34,.52);--v9-on-brand:#392710}
html[data-ui-theme="dark"]{--v9-overlay:rgba(0,0,0,.76);--v9-on-brand:#15120d}
.home-list-frame{border-color:var(--v9-line)!important;background:var(--v9-surface)!important}
.home-list-status{color:var(--v9-muted)!important}.home-list-status a{color:var(--v9-on-brand)!important;background:var(--v9-brand)!important}
.home-list-switch button{border-color:var(--v9-line)!important;color:var(--v9-muted)!important;background:var(--v9-soft)!important}.home-list-switch button.active{border-color:var(--v9-brand)!important;color:var(--v9-brand-deep)!important;background:var(--v9-brand-soft)!important}
.home-tool{border-color:var(--v9-line)!important;color:var(--v9-body)!important;background:var(--v9-surface)!important;box-shadow:var(--v9-shadow)!important}.home-tool span{color:var(--v9-brand-deep)!important}
.game-current{border-color:var(--v9-line)!important;color:var(--v9-muted)!important;background:var(--v9-surface)!important}.game-current b{color:var(--v9-brand-deep)!important}.game-current button{border-color:var(--v9-line)!important;color:var(--v9-brand-deep)!important;background:var(--v9-brand-soft)!important}
.account-entry-card,.practice-entry-card{border-color:var(--v9-line)!important;color:var(--v9-body)!important;background:var(--v9-surface)!important;box-shadow:var(--v9-shadow)!important}.account-entry-card p,.practice-entry-card p{color:var(--v9-muted)!important}
.account-entry-actions a,.practice-entry-actions a{border:1px solid var(--v9-line)!important;color:var(--v9-brand-deep)!important;background:var(--v9-brand-soft)!important}.account-entry-actions button,.practice-entry-actions button{border-color:var(--v9-brand)!important;color:var(--v9-on-brand)!important;background:var(--v9-brand)!important}
.account-entry-modal,.practice-entry-modal{background:var(--v9-overlay)!important;backdrop-filter:blur(8px)}.account-entry-modal-panel,.practice-entry-modal-panel{border-color:var(--v9-line)!important;background:var(--v9-surface)!important;box-shadow:var(--v9-shadow-lg)!important}.account-entry-modal-close,.practice-entry-modal-close{border-color:var(--v9-line)!important;color:var(--v9-ink)!important;background:var(--v9-soft)!important}
.first-guide{background:var(--v9-overlay)!important}.first-guide-card{border-color:var(--v9-line)!important;color:var(--v9-body)!important;background:var(--v9-surface)!important;box-shadow:var(--v9-shadow-lg)!important}.first-guide-card>div:first-child{color:var(--v9-brand-deep)!important}.first-guide-card h2{color:var(--v9-ink)!important}.first-guide-card>p{color:var(--v9-muted)!important}.first-guide-step{background:var(--v9-soft)!important}.first-guide-step b{color:var(--v9-on-brand)!important;background:var(--v9-brand)!important}.first-guide-step span{color:var(--v9-body)!important}.first-guide-actions button{border-color:var(--v9-line)!important;color:var(--v9-body)!important;background:var(--v9-soft)!important}.first-guide-actions a{border:1px solid var(--v9-brand)!important;color:var(--v9-on-brand)!important;background:var(--v9-brand)!important}
.portal-hero,.hot-order,.order-card,.portal-card,.order-cover,.empty-category{border-color:var(--v9-line)!important;color:var(--v9-body)!important;background:var(--v9-surface)!important;background-image:none!important;box-shadow:var(--v9-shadow)!important}.portal-tag,.hot-order small,.price-list span{color:var(--v9-brand-deep)!important}.portal p,.portal-card span,.empty-category{color:var(--v9-muted)!important}.price-list span{background:var(--v9-brand-soft)!important}.portal-action{color:var(--v9-on-brand)!important;background:var(--v9-brand)!important}
.practice-game-switch{border-color:var(--v9-line)!important;background:var(--v9-soft)!important}.practice-game-switch button{color:var(--v9-muted)!important;background:transparent!important}.practice-game-switch button.active{border-color:var(--v9-brand)!important;color:var(--v9-brand-deep)!important;background:var(--v9-brand-soft)!important}
#site-update-mask{background:var(--v9-overlay)!important}.site-update-card,.zd-compensation-card{border-color:var(--v9-line)!important;background:var(--v9-surface)!important;color:var(--v9-body)!important;box-shadow:var(--v9-shadow-lg)!important}.zd-compensation-mask{background:var(--v9-overlay)!important}.zd-compensation-card button{border-color:var(--v9-line)!important;background:var(--v9-soft)!important;color:var(--v9-body)!important}.zd-online-workers-link{border-color:var(--v9-line)!important;background:var(--v9-brand-soft)!important;color:var(--v9-brand-deep)!important}

/* v13: keep every primary touch target comfortably tappable. */
.service-actions>a,.service-actions>button,.entry-actions>a,.entry-actions>button,
.practice-entry-actions>a,.practice-entry-actions>button,
.account-entry-actions>a,.account-entry-actions>button,
.site-bottom-nav a[href="/publish"],.bottom-nav a[href="/publish"],
.site-bottom-nav .nav-publish,.bottom-nav .nav-publish{height:68px!important;min-height:68px!important}
.site-bottom-nav .nav-publish i,.bottom-nav .nav-publish i{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-height:38px!important;margin:-13px auto 0!important;border:4px solid var(--v9-surface)!important;border-radius:50%!important;font-style:normal!important;font-size:23px!important;line-height:1!important;box-shadow:0 7px 18px rgba(139,93,29,.22)!important}

/* Theme picker */
.ui-theme-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.ui-theme-option{position:relative;display:block!important;min-height:132px!important;padding:13px!important;border:1px solid var(--v9-line)!important;border-radius:15px!important;text-align:left;overflow:hidden}.ui-theme-option[aria-pressed="true"]{border-color:var(--v9-brand)!important;box-shadow:0 0 0 3px rgba(214,173,102,.15)!important}.ui-theme-preview{height:70px;margin-bottom:11px;padding:10px;border-radius:10px;display:grid;grid-template-columns:32% 1fr;gap:7px}.ui-theme-preview::before,.ui-theme-preview::after{content:"";display:block;border-radius:7px}.ui-theme-preview.light{background:#f4ecdf}.ui-theme-preview.light::before,.ui-theme-preview.light::after{background:#fff;box-shadow:0 4px 12px rgba(80,57,31,.1)}.ui-theme-preview.dark{background:#090a0c}.ui-theme-preview.dark::before,.ui-theme-preview.dark::after{background:#1b1e24;border:1px solid #30343c}.ui-theme-name{display:flex;align-items:center;justify-content:space-between;color:var(--v9-ink);font-weight:800}.ui-theme-check{opacity:0;color:var(--v9-brand-deep)}.ui-theme-option[aria-pressed="true"] .ui-theme-check{opacity:1}.ui-theme-note{margin-top:3px;color:var(--v9-muted);font-size:11px}@media(max-width:420px){.ui-theme-picker{grid-template-columns:1fr}.ui-theme-option{min-height:112px!important}.ui-theme-preview{height:52px}}

/* v15: compact, resilient settings controls. */
.ui-theme-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ui-theme-option{min-height:106px!important;padding:10px!important;border-radius:13px!important}.ui-theme-preview{height:44px!important;margin-bottom:8px!important;padding:7px!important}.ui-theme-name{font-size:13px!important}.ui-theme-note{font-size:10px!important;line-height:1.35!important}.wrap>.card>.entry{min-height:50px!important;margin:8px 0!important;padding:12px!important;border:1px solid var(--v9-line)!important;border-radius:11px!important;background:var(--v9-soft)!important}.wrap>.card>.entry:disabled{cursor:not-allowed!important;opacity:.66!important}.wrap>.card>.entry:disabled span{padding:3px 8px!important;border-radius:999px!important;background:rgba(118,107,96,.12)!important;font-size:11px!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:360px){.ui-theme-picker{grid-template-columns:1fr!important}.ui-theme-option{min-height:92px!important}.ui-theme-preview{height:38px!important}}

/* v16: fixed staff navigation and a distinct warm-light typographic voice. */
html.zd-staff-mode body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
html.zd-staff-mode body .site-bottom-nav,html.zd-staff-mode body .bottom-nav{position:fixed!important;z-index:2147483000!important;left:50%!important;right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:min(900px,calc(100% - 24px))!important;margin:0!important;transform:translateX(-50%)!important;border:1px solid var(--v9-line)!important;border-radius:17px!important;overflow:visible!important}
html:not([data-ui-theme="dark"]){--v9-ink:#38271f;--v9-body:#5d4739;--v9-muted:#846f60;--v9-brand:#d97832;--v9-brand-deep:#94491f;--v9-brand-soft:#fff0dc;--v9-line:#e8d5bf;--v9-page:#f8f0e4;--v9-surface:#fffdf8;--v9-soft:#fbf3e8}
html:not([data-ui-theme="dark"]) body{font-family:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif!important;font-weight:400;letter-spacing:.005em}
html:not([data-ui-theme="dark"]) h1,html:not([data-ui-theme="dark"]) h2,html:not([data-ui-theme="dark"]) h3,html:not([data-ui-theme="dark"]) .page-title,html:not([data-ui-theme="dark"]) .card-title,html:not([data-ui-theme="dark"]) .section-title{font-family:"Songti SC","STSong","SimSun",serif!important;color:#38271f!important;font-weight:700!important;letter-spacing:.035em!important}
html:not([data-ui-theme="dark"]) p,html:not([data-ui-theme="dark"]) .muted,html:not([data-ui-theme="dark"]) .hint,html:not([data-ui-theme="dark"]) .desc{color:#846f60!important}
html:not([data-ui-theme="dark"]) .ui-theme-option[aria-pressed="true"]{border-color:#d97832!important;background:#fff7eb!important;box-shadow:inset 4px 0 #d97832,0 8px 22px rgba(130,72,31,.10)!important}
@media(max-width:520px){body .portal .order-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body .portal .order-card{min-width:0!important;padding:10px!important;border-radius:12px!important}body .portal .order-cover{margin-bottom:9px!important}body .portal .order-card h3{font-size:13px!important;line-height:1.35!important}body .portal .price-list{gap:5px!important}body .portal .price-list span{padding:6px!important;font-size:9px!important;line-height:1.35!important}}
