/* Shared black-and-gold UI: readable controls, consistent spacing and focus. */
:root{--zx-ui-bg:#0b0d11;--zx-ui-card:#12161d;--zx-ui-line:#2c333f;--zx-ui-text:#f2f4f8;--zx-ui-muted:#a6afbd;--zx-ui-gold:#f1c451;--zx-ui-radius:18px;--zx-ui-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body{font-family:var(--zx-ui-font)!important}
button,input,select,textarea{font-family:inherit}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--zx-ui-gold);outline-offset:4px}
html body .sub,html body .df-description,html body .notice-modal p,html body .empty{font-size:14px;line-height:1.7}
html body .notice-modal{border-radius:var(--zx-ui-radius);max-height:calc(100dvh - 32px);overflow:auto}
html body .notice-modal h3{font-size:21px;line-height:1.35}
html body .notice-modal .notice-icon:after,html body .notice-modal .notice-symbol{animation:none}
.zx-notice-context{font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:var(--zx-ui-gold)!important;margin:4px 0 10px!important}
.zx-notice-actions{display:grid;gap:10px;margin:18px 0 10px}
.zx-notice-actions a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 14px;border:1px solid var(--zx-ui-line);border-radius:12px;background:#171c25;color:var(--zx-ui-text);text-decoration:none;font-size:14px;font-weight:650}
.zx-notice-actions a:first-child{background:var(--zx-ui-gold);border-color:var(--zx-ui-gold);color:#1b1609}
.zx-notice-hint{font-size:13px!important;color:var(--zx-ui-muted)!important}
html body.zx-theme .zx-bottom-nav.zx-nav-v2{height:72px!important;padding:6px 4px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;border-radius:18px!important}
html body.zx-theme .zx-bottom-nav.zx-nav-v2 a{min-height:56px!important;height:56px!important;gap:5px!important;font-size:12px!important}
html body.zx-theme .zx-bottom-nav.zx-nav-v2 a>span:not(.zx-icon){font-size:11px!important;line-height:1.2!important;font-weight:650!important}
html body.zx-theme .zx-bottom-nav.zx-nav-v2 a.active{color:var(--zx-ui-gold)!important;background:#f1c45112!important}
html body.zx-theme .zx-bottom-nav.zx-nav-v2 a>.zx-icon{width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;flex-basis:21px!important;font-size:21px!important}
body:has(.zx-bottom-nav){padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
html body .as-store-page{font-family:var(--zx-ui-font)}
html body.as-store-page .as-plan{border-radius:var(--zx-ui-radius);min-height:114px}
html body.as-store-page .as-plan strong{font-size:16px}
html body.as-store-page .as-plan small{font-size:13px;line-height:1.6}
html body.as-store-page .as-plan>b{font-size:20px}
html body.as-store-page .as-plan:has(input[value="reseller"]){border-color:#846b35;background:linear-gradient(130deg,#282318,#11161e)}
html body.as-store-page .df-field,html body.as-store-page .df-field small{font-size:14px;line-height:1.6}
html body.as-store-page .df-field input,html body.as-store-page .df-field select{font-size:16px;min-height:50px}
@media(max-width:600px){html body.as-store-page .as-plans{grid-template-columns:1fr;gap:12px}html body.as-store-page .as-plan{min-height:96px;padding:17px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px}html body.as-store-page .as-plan>span{min-width:0}html body.as-store-page .as-plan>b{width:auto;padding:0;text-align:right;font-size:18px}html body.as-store-page .as-plan input{margin:0}html body.as-store-page .as-plan small{font-size:13px}}
@media(max-width:360px){html body.as-store-page .as-plan{grid-template-columns:20px minmax(0,1fr)}html body.as-store-page .as-plan>b{grid-column:2;text-align:left}}
@media(prefers-reduced-motion:reduce){.notice-overlay,.notice-modal,.notice-icon,.notice-symbol{animation:none!important;transition:none!important}}

html body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]),html body select,html body textarea{font-size:16px!important}
