/* Ice-blue theme. Loaded last; presentation and explicit auth-shell visibility only. No business or mobile navigation changes. */
html { background: var(--xb-page); }
body, body.admin-console { background: var(--xb-page); color: var(--xb-navy); font-family: var(--xb-font); }
body { line-height: 1.55; }
button, input, select, textarea { font-family: var(--xb-font); }
h1, h2, h3, h4 { color: var(--xb-navy); letter-spacing: -.02em; }
p, li, dd { overflow-wrap: anywhere; }
a { color: var(--xb-primary-hover); text-underline-offset: 3px; }
button, a, summary { -webkit-tap-highlight-color: #2563eb18; }
button, input, select, textarea, a, summary { transition: color var(--xb-transition), background-color var(--xb-transition), border-color var(--xb-transition), box-shadow var(--xb-transition); }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--xb-focus); outline-offset: 3px; }
:is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):focus { border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-focus-ring); }
:is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--xb-primary); }
::selection { background: #baddff; color: var(--xb-navy); }
[hidden] { display: none !important; }

/* Brand assets keep one geometry in the top bar, sidebar and forms. */
.brand-logo { width: 138px; height: 53px; aspect-ratio: 34 / 13; object-fit: contain; }
.register-logo .brand-logo { width: 245px; max-width: 100%; height: 94px; }
.brand-row .brand-logo, .shell .brand-logo { width: 190px; height: 73px; }
.app-topbar { background: #ffffffed; backdrop-filter: blur(14px); border-bottom-color: var(--xb-line); }
.brand-button { background: transparent; }
.desktop-page-title { color: var(--xb-subtle); font-size: 16px; }
.page-header { color: var(--xb-navy); background: #fffffff5; border-bottom-color: var(--xb-line); }
.back { color: var(--xb-subtle); }
.app, .owned-page { background: var(--xb-page); }
.home-top { background: #fff; }
.search-box input { border-color: var(--xb-line); border-radius: var(--xb-radius); background: var(--xb-surface-soft); }
.search-results { border: 1px solid var(--xb-line); box-shadow: var(--xb-shadow-modal); }
.search-result:hover { background: var(--xb-selected); }
.search-result .tag { color: var(--xb-primary); }

/* Primary actions remain separate from secondary, danger and business-state controls. */
:is(.primary-action, .register-primary, .wallet-recharge, .order-bar button, .button, .admin-button.primary, .recharge-submit) {
  background: var(--xb-primary); color: #fff; border-color: var(--xb-primary); border-radius: var(--xb-radius-sm); box-shadow: 0 4px 12px #2563eb18;
}
:is(.primary-action, .register-primary, .wallet-recharge, .order-bar button, .button, .admin-button.primary, .recharge-submit):not(:disabled):hover { background: var(--xb-primary-hover); border-color: var(--xb-primary-hover); box-shadow: 0 6px 18px #2563eb26; }
:is(.secondary-action, .owned-button, .admin-button, .button.secondary, .register-cta, .admin-refresh, .admin-menu-toggle) {
  border-color: var(--xb-line-strong); border-radius: var(--xb-radius-sm); background: #fff; color: var(--xb-subtle); box-shadow: none;
}
:is(.secondary-action, .owned-button, .admin-button, .button.secondary, .register-cta):not(:disabled):hover { border-color: #92b2e3; background: var(--xb-surface-soft); color: var(--xb-primary-hover); }
.admin-button.primary:not(.danger) { background: var(--xb-primary); color: #fff; border-color: var(--xb-primary); }
.admin-button.primary:not(.danger):not(:disabled):hover { background: var(--xb-primary-hover); color: #fff; border-color: var(--xb-primary-hover); }
#adminLoginForm button[type="submit"] { background: var(--xb-primary) !important; color: #fff; }
#adminLoginForm button[type="submit"]:not(:disabled):hover { background: var(--xb-primary-hover) !important; }
:is(.owned-button.orange, .admin-button.inventory, .button.delivery-publish) { border-color: #b8d3ff; color: var(--xb-primary-hover); background: var(--xb-selected); }
.button.delivery-publish { color: #fff; background: var(--xb-primary); border-color: var(--xb-primary); }
:is(.owned-button.danger, .admin-button.danger, .button.danger) { border-color: #eac1ca; color: var(--xb-danger); background: var(--xb-danger-bg); box-shadow: none; }
:is(.owned-button.danger, .admin-button.danger, .button.danger):not(:disabled):hover { border-color: #d99aa7; color: var(--xb-danger); background: #ffe4e9; }
.wallet-pill { background: var(--xb-selected); border: 1px solid #dce9fc; }
.wallet-balance { color: var(--xb-brand-navy); }
.mail-button, .feedback-nav { color: var(--xb-subtle); }
.feedback-nav { background: var(--xb-selected); }
.mail-count { background: var(--xb-primary); color: #fff; }
.customer-avatar { background: var(--xb-brand-navy); color: #fff; }
.mobile-tabs { background: #ffffffed; border-color: var(--xb-line); }
.mobile-tabs button { color: var(--xb-subtle); }
.mobile-tabs button.active, .mobile-tabs button[aria-current="page"], .mobile-tabs button:hover { color: var(--xb-primary); }
.order-bar { border-top-color: var(--xb-line); background: #fffffff5; backdrop-filter: blur(12px); }
.toast { background: var(--xb-navy); color: #fff; box-shadow: var(--xb-shadow-modal); white-space: normal; }

/* Existing catalog hooks are intentionally retained for every supplier/category. */
:is(.ip-hero, .relay-hero, .vps-hero, .broadband-hero, .airport-hero, .account-hero, .guide-hero, .recharge-hero) { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
:is(.ip-hero, .relay-hero, .vps-hero, .broadband-hero, .airport-hero, .account-hero, .guide-hero, .recharge-hero) p { color: var(--xb-subtle); line-height: 1.8; }
:is(.provider-note, .relay-note, .vps-note, .broadband-note, .airport-note, .relay-condition, .relay-detail-note, .account-detail-note, .miya-line-note, .server-bandwidth-info, .credential-warning, .order-detail-note) { border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; border-radius: var(--xb-radius-sm); line-height: 1.75; }
:is(.provider-note b, .relay-note b, .vps-note b, .broadband-note b, .airport-note b, .relay-condition b, .miya-line-note b, .server-bandwidth-info b, .credential-warning b) { color: #0f172a; }
:is(.provider-note p, .credential-warning p) { color: inherit; }
:is(.guide-note, .client-note, .resip-step-empty) { border-color: #e2e8f0; background: #f8fafc; color: #334155; line-height: 1.75; }
.resip-tier-description { color: #64748b; }
:is(.provider-tab, .relay-tab, .vps-tab, .airport-tab, .tier-card, .period, .package, .pay-tab) { border-color: var(--xb-line); color: var(--xb-navy); }
:is(.provider-tab.active, .relay-tab.active, .vps-tab.active, .airport-tab.active, .tier-card.active, .period.selected, .package.selected, .pay-tab.active) { background: var(--xb-selected); color: var(--xb-primary-hover); border-color: var(--xb-primary); }
.resip-operator-card.active { outline-color: var(--xb-primary); background: var(--xb-selected); }
.resip-operator-card.active small { color: var(--xb-primary-hover); }
:is(.provider-tab, .relay-tab, .vps-tab, .airport-tab, .tier-card, .country-card, .relay-card, .vps-card, .account-card, .continent-row, .recommendation) { transition: border-color var(--xb-transition), box-shadow var(--xb-transition), background-color var(--xb-transition); }
:is(.provider-tab, .relay-tab, .vps-tab, .airport-tab, .tier-card, .country-card, .relay-card, .vps-card, .account-card, .continent-row, .recommendation):not(:disabled):hover { border-color: #b9d1f3; box-shadow: var(--xb-shadow-hover); }
:is(.country-card, .relay-card, .vps-card, .account-card, .continent-row, .recommendation, .detail-card, .app-card, .owned-card, .service-panel, .guide-card, .tutorial-step, .server-location-panel, .server-spec-panel, .contact-panel, .recharge-card, .pay-box, .feedback-form) { background: var(--xb-surface); border-color: var(--xb-line); border-radius: var(--xb-radius); box-shadow: var(--xb-shadow); }
.detail-head { align-items: flex-start; gap: 16px; border-color: var(--xb-line); }
.detail-head h1 { line-height: 1.55; }
:is(.country-card span, .vps-card b, .account-card b, .tier-card small, .recommendation .price, .price-row b, .package .pack-price, .owned-balance, .order-price) { color: var(--xb-primary-hover); }
.price-row { padding-block: 18px; gap: 14px; }
.period-selector { gap: 10px; }
.package { padding: 14px; gap: 14px; }
.package .pack-text small { line-height: 1.7; margin-top: 4px; }
:is(.info-chips span, .server-location-chips span, .tutorial-tags .overseas-tag, .step-number, .hot-rank-badge) { border-color: #cde0fa; background: var(--xb-selected); color: var(--xb-primary-hover); }
.server-location-chips { gap: 10px; }
.live-line-entry { background: linear-gradient(180deg, #dceeff 0%, #c8e2ff 100%); border-color: #8eb6e8; box-shadow: var(--xb-shadow); }
.live-line-entry strong {
  color: var(--xb-brand-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.live-line-entry small { color: var(--xb-subtle); }
.live-line-entry .live-title-break { display: none; }
.live-line-entry .live-line-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
}
@media (max-width: 759px) {
  .live-line-entry {
    align-items: flex-start;
    gap: 12px;
  }
  .live-line-entry .live-line-title {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    max-width: 4.2em;
  }
  .live-line-entry .live-title-break { display: block; }
  .live-line-entry small {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5em);
    text-align: right;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
}

.vps-spec, .airport-detail-nodes { background: var(--xb-surface-soft); color: var(--xb-subtle); line-height: 1.85; }
.airport-node-list { background: #fff; color: var(--xb-subtle); border: 1px solid var(--xb-line); box-shadow: var(--xb-shadow); }
.airport-node-list b { color: var(--xb-brand-navy); }
:is(.service small, .recommendation p, .provider-tab small, .compact-meta dt, .server-spec-grid dt, .order-detail-grid dt, .message-meta dt, .owned-footer, .owned-title p, .owned-card p) { color: var(--xb-muted); }
.service-panel { row-gap: 20px; }
.service-icon, .service:nth-child(n) .service-icon { background: linear-gradient(145deg, #eaf5ff, #d9f0ff); box-shadow: none; }
.service b { color: var(--xb-brand-navy); }
.service small { line-height: 1.7; }
.banner.banner-ip-check { background: linear-gradient(115deg, #e8f2ff, #f1fcff); border: 1px solid #dce9fa; }
.banner h2 { color: var(--xb-brand-navy); }
.banner p, .ip-check-link { color: #245d9a; }
.ip-check-link:hover { background: transparent; cursor: default; }
.ip-check-link:focus-visible { outline: none; }
.recommendation .thumb, .recommendation:nth-of-type(2) .thumb { background: linear-gradient(140deg, #50c6f6, #2563eb); }
.consult { background: var(--xb-navy); border-radius: var(--xb-radius-sm); }
.app-card p, .terms-page p, .tutorial-heading p { color: var(--xb-subtle); line-height: 1.85; }
.compact-meta { gap: 12px 16px; }
.compact-meta dd { color: var(--xb-navy); }
.app-card .card-actions { gap: 12px; }
.account-menu { border-color: var(--xb-line); }
.account-menu button { border-color: var(--xb-line); color: var(--xb-navy); }
.account-menu button:hover { background: var(--xb-surface-soft); }
.account-menu span { color: var(--xb-muted); }
.dashboard-wallet { background: linear-gradient(110deg, #103776, #175ca5); }
.dashboard-wallet span { color: #d3e5fb; }
.dashboard-wallet button { background: #fff; color: var(--xb-primary-hover); border-radius: var(--xb-radius-sm); }
.dashboard-stats article { background: #fff; border-color: var(--xb-line); }
.dashboard-stats b { color: var(--xb-brand-navy); }
.coupon-card { border-left-color: var(--xb-primary); }
.coupon-card > div > strong { color: var(--xb-primary); }
.coupon-card.locked { border-left-color: var(--xb-warning); }
.tutorial-filters button.active, .tutorial-toc button, .tutorial-step a { color: var(--xb-primary-hover); }
.tutorial-filters button.active { background: var(--xb-selected); border-color: #bad1f5; }
.tutorial-reader { line-height: 1.85; }
.tutorial-step p { color: var(--xb-navy); }
.contact-qr-tip, .subscription-value a { color: var(--xb-primary-hover); }

/* Long secondary prose is available in full via semantic details; required consent stays outside. */
.xb-info-disclosure { margin: 18px 0; border: 1px solid var(--xb-line); border-radius: var(--xb-radius-sm); background: var(--xb-surface-soft); overflow: visible; }
.xb-info-disclosure > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 13px 16px; cursor: pointer; list-style: none; color: var(--xb-brand-navy); font-size: 14px; font-weight: 700; line-height: 1.65; }
.xb-info-disclosure > summary::-webkit-details-marker { display: none; }
.xb-info-disclosure > summary::after { content: "+"; flex-shrink: 0; width: 22px; margin-left: auto; color: var(--xb-primary); text-align: center; font-size: 21px; font-weight: 400; }
.xb-info-disclosure[open] > summary { border-bottom: 1px solid var(--xb-line); }
.xb-info-disclosure[open] > summary::after { content: "-"; }
.xb-info-content { padding: 16px; color: var(--xb-subtle); font-size: 14px; line-height: 1.9; }
.xb-info-content p, .xb-info-content li { color: inherit; line-height: inherit; }
.xb-info-content p:first-child { margin-top: 0; }
.xb-info-content p:last-child { margin-bottom: 0; }
.xb-info-content ol, .xb-info-content ul { padding-left: 22px; }
.xb-info-content li + li { margin-top: 8px; }
.xb-info-content h3, .xb-info-content h4 { margin-top: 20px; font-size: 15px; }
.xb-copy-summary { margin: 0; color: var(--xb-subtle); font-size: 14px; line-height: 1.8; }
.xb-information-panel { color: var(--xb-subtle); line-height: 1.9; }
.xb-information-panel p { margin: 0 0 14px; white-space: pre-wrap; line-height: 1.9; }
.xb-information-panel p:last-child { margin-bottom: 0; }
.xb-info-paragraphs, .xb-info-required { white-space: pre-line; line-height: 1.9; }
.xb-info-paragraphs + .xb-info-paragraphs, .xb-info-required + .xb-info-required { margin-top: 14px; }
.xb-info-required { color: var(--xb-info-text); }

/* Tables retain horizontal scrolling and every existing column/action; no overflow clipping. */
:is(.owned-table-wrap, .client-order-table-wrap, .admin-table-wrap, .admin-product-table-wrap) { border-color: var(--xb-line); }
:is(.owned-table, .resource-table, .client-order-table, .admin-table) { background: #fff; color: var(--xb-navy); }
:is(.owned-table, .resource-table, .client-order-table, .admin-table) th { background: var(--xb-surface-soft); color: var(--xb-subtle); border-color: var(--xb-line); }
:is(.owned-table, .resource-table, .client-order-table, .admin-table) td { border-color: var(--xb-line); }
.client-order-table tr[data-action]:hover, .client-order-table tr.selected { background: var(--xb-selected); }
.owned-product-name { color: var(--xb-navy); }
.renew-price, .owned-table small { color: var(--xb-muted); }
.renew-switch[aria-checked="true"] { background: var(--xb-primary); border-color: var(--xb-primary); }
.renew-switch[aria-checked="false"] { background: #e5edf7; border-color: #cfdbea; }
.delivery-attention-label { color: var(--xb-subtle); }
.proxy-preview { color: var(--xb-navy); }
.proxy-icon-button { color: var(--xb-subtle) !important; border-color: var(--xb-line-strong) !important; background: #fff !important; }
.proxy-icon-button:hover, .proxy-icon-button:focus-visible { color: var(--xb-primary-hover) !important; border-color: #97b9ea !important; background: var(--xb-selected) !important; }
.proxy-complete, .mobile-service-identity { background: var(--xb-surface-soft); border-color: var(--xb-line); }
.desktop-qr-popover { border-color: var(--xb-line); background: #fff; color: var(--xb-navy); box-shadow: var(--xb-shadow-modal); }
.desktop-qr-tabs { background: #edf2f8; }
.qr-tabs { background: #edf2f8; }
.desktop-qr-tabs button { color: var(--xb-subtle); }
.desktop-qr-tabs button.active { color: var(--xb-navy); background: #fff; }
.qr-tabs button.active { color: var(--xb-primary-hover); background: #fff; }
.desktop-qr-content p { color: var(--xb-muted); }

/* Dialog/focus behavior is inherited: no new overlay trapping or sensitive data rendering. */
:is(.qr-dialog, .service-dialog, .admin-modal-panel, .terms-page) { border-color: var(--xb-line); background: #fff; border-radius: var(--xb-radius-lg); box-shadow: var(--xb-shadow-modal); color: var(--xb-navy); }
dialog::backdrop { background: #0f27445c; backdrop-filter: blur(3px); }
.admin-modal-backdrop { background: #0f27445c; }
:is(.qr-dialog-head, .service-dialog-actions, .proxy-detail-fields) { border-color: var(--xb-line); }
:is(.qr-dialog-head button, .admin-modal-close) { color: var(--xb-subtle); border-color: var(--xb-line); background: #fff; border-radius: var(--xb-radius-sm); }
:is(.feedback-form input, .feedback-form select, .feedback-form textarea, .field input, .field select, .field textarea, .coupon-picker select, .desktop-note-input) { border-color: var(--xb-line-strong); color: var(--xb-navy); background: #fff; border-radius: var(--xb-radius-sm); }
.feedback-form input:disabled { background: #edf2f9; color: var(--xb-muted); }
.feedback-form .dialog-message { color: var(--xb-subtle); }
.feedback-form label small { color: var(--xb-muted); }
.mobile-proxy-details > summary { color: var(--xb-primary-hover); background: var(--xb-surface-soft); border-color: var(--xb-line); }
.mobile-proxy-details > summary span { color: var(--xb-navy); }
.config-value summary { color: var(--xb-primary-hover); }
.desktop-note-input:focus { border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-focus-ring); }

/* Business states retain the visible words and semantic success/warning/error distinctions. */
.status-tag, .status-refunded, .status-cancelled { background: #eaf0f7; color: #4b617b; }
.status-awaiting_customer_wait_decision, .admin-status.pending { background: var(--xb-warning-bg); color: var(--xb-warning); }
.status-customer_agreed_wait, .admin-status.success { background: var(--xb-success-bg); color: var(--xb-success); }
.admin-status.danger, .recharge-feedback.error { color: var(--xb-danger); }
.admin-status.danger { background: var(--xb-danger-bg); }
.credit { color: var(--xb-success); }
.debit { color: var(--xb-danger) !important; }
.expiry-alert { color: var(--xb-warning) !important; }
.inventory-wait-card { border-color: #ecd8b4; background: var(--xb-warning-bg); }
.inventory-wait-title strong { color: var(--xb-warning); }
.inventory-wait-card.resolved { border-color: var(--xb-line); background: var(--xb-surface-soft); }
.inventory-wait-result, .inventory-message-result { background: #edf2f9; color: var(--xb-subtle) !important; }
.renewal-reminder { color: #334155; background: #f8fafc; border-color: #e2e8f0; }
.inventory-message { background: #fff; }
.inventory-message.unread { background: #f5f9ff; }
.inventory-message-note { background: var(--xb-surface-soft); color: var(--xb-subtle); }
.message-card { border: 1.5px solid #c5d3e8; border-left: 4px solid #b8c5d8; background: #fbfcfe; box-shadow: none; }
.message-card.unread { border-color: #7eb0f2; border-left-color: #2563eb; background: #f5f9ff; box-shadow: 0 6px 18px #2563eb18; }
.message-meta { border-color: var(--xb-line); background: var(--xb-surface-soft); }

/* Two-step recharge: exact calculations, flags and visible legal acknowledgements are untouched. */
.recharge-account-bar { color: var(--xb-muted); border-color: var(--xb-line); }
.recharge-account-bar strong { color: var(--xb-brand-navy); }
.recharge-steps { color: var(--xb-muted); }
.recharge-steps span { color: var(--xb-subtle); background: #e6eef9; }
.recharge-steps .active { color: var(--xb-primary-hover); }
.recharge-steps .active span { color: #fff; background: var(--xb-primary); }
.recharge-panel, .recharge-confirmed-card { border-color: var(--xb-line); box-shadow: var(--xb-shadow); }
.recharge-panel > p { color: var(--xb-subtle); }
.recharge-mode-tabs { background: #eaf0f8; }
.recharge-mode-tabs button { color: var(--xb-muted); }
.recharge-mode-tabs button.active { color: var(--xb-primary-hover); background: #fff; box-shadow: 0 3px 10px #1944780c; }
.recharge-edit-amount { color: var(--xb-primary-hover); background: var(--xb-selected); }
.recharge-campaign { background: linear-gradient(115deg, #edf6ff, #f6fcff); border-color: #cce1fa; padding: 22px; }
.recharge-campaign.inactive { background: var(--xb-surface-soft); border-color: var(--xb-line); }
.recharge-campaign-head small { color: #fff; background: var(--xb-primary); }
.recharge-campaign-icon { color: var(--xb-primary); box-shadow: var(--xb-shadow); }
.recharge-campaign-tiers { gap: 12px; }
.recharge-tier-poster { border-color: #d6e5f8; box-shadow: var(--xb-shadow); }
.recharge-tier-poster em { background: var(--xb-selected); color: var(--xb-primary-hover); }
.recharge-campaign-tiers b, .recharge-tier-poster b { color: var(--xb-primary-hover); }
.recharge-campaign-tiers em { color: var(--xb-primary-hover); }
.recharge-campaign > p, .recharge-poster-note { color: var(--xb-subtle); }
.recharge-campaign-summary div { border: 1px solid var(--xb-line); border-radius: var(--xb-radius-sm); }
.recharge-campaign-summary span { color: var(--xb-muted); }
.recharge-campaign-summary .total { background: #103b7c; color: #fff; border-color: #103b7c; }
.recharge-campaign-summary .total span { color: #d2e6ff; }
.recharge-campaign-summary .total b { color: #bde9ff; }
.recharge-amount-field span { color: var(--xb-subtle); }
.recharge-amount-input { border-color: var(--xb-line-strong); border-radius: var(--xb-radius-sm); }
.recharge-amount-input:focus-within { border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-focus-ring); }
.recharge-amount-input b { color: var(--xb-primary); }
/* One focus ring belongs to the currency/input wrapper, not its clipped input. */
.recharge-amount-input > #rechargeAmount,
.recharge-amount-input > #rechargeAmount:focus,
.recharge-amount-input > #rechargeAmount:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
  font-size: 18px;
  line-height: 1.5;
  caret-color: currentColor;
}
.recharge-payment { border-color: var(--xb-line); background: var(--xb-surface-soft); }
.recharge-payment > p, .recharge-contact-layout p { color: var(--xb-subtle); }
.recharge-upload { color: var(--xb-primary-hover); border-color: #a9c7f7; background: #fff; border-radius: var(--xb-radius-sm); }
.recharge-remove-proof, .recharge-contact-layout a { color: var(--xb-primary-hover); }
.recharge-notice, .recharge-nonrefundable { color: #334155 !important; border-color: #e2e8f0; background: #f8fafc; }
.recharge-compliance { color: #334155; border-color: #e2e8f0; background: #f8fafc; line-height: 1.9; }
.recharge-compliance h3, .recharge-compliance h4 { color: #0f172a; }
.recharge-consent { color: var(--xb-subtle); }
.recharge-consent input { accent-color: var(--xb-primary); }
.recharge-shell button:focus-visible, .recharge-consent input:focus-visible { outline-color: var(--xb-focus); }
.recharge-feedback { color: var(--xb-subtle) !important; }
.recharge-feedback.error { color: var(--xb-danger) !important; }
.recharge-feedback.success { color: var(--xb-success) !important; background: var(--xb-success-bg); }
.recharge-status { color: var(--xb-warning); }
.recharge-status.credited { color: var(--xb-success); }
.recharge-status.rejected { color: var(--xb-danger); }
.recharge-request-item div span, .recharge-request-item small { color: var(--xb-muted); }

/* Existing admin presentation receives the same palette, not a new admin permission/session system. */
.admin-notice { color: #334155; border-color: #e2e8f0; background: #f8fafc; }
.admin-stat, .admin-card, .request-card { border-color: var(--xb-line); border-radius: var(--xb-radius); box-shadow: var(--xb-shadow); }
.admin-stat:hover, .product-source-card-clickable:hover { border-color: #aacaf5; box-shadow: var(--xb-shadow-hover); }
.admin-stat em, .open-client { color: var(--xb-primary-hover); background: var(--xb-selected); }
.admin-nav-icon { color: var(--xb-primary); }
.admin-topbar { border-color: var(--xb-line); background: #ffffffed; }
.admin-product-input, .admin-search input, .admin-toolbar select { border-color: var(--xb-line-strong); background: #fff; }
.product-type-filter { color: var(--xb-subtle); border-color: var(--xb-line); background: var(--xb-surface-soft); }
.product-type-filter:hover, .product-type-filter.active { background: var(--xb-selected); color: var(--xb-primary-hover); border-color: #9fbff0; }
.product-type-filter.active span { background: var(--xb-primary); color: #fff; }
.delivery-editor { border-color: #bad6fa; }
.customer-detail, .resource-editor, .ranking-meta > div, .feedback-description { background: var(--xb-surface-soft); border-color: var(--xb-line); }
.customer-search-result.selected { border-color: #9fbff0; background: var(--xb-selected); }
.customer-detail-tabs .active { background: var(--xb-primary); color: #fff; }
.balance { background: linear-gradient(120deg, #0f3979, #246bb4); }
.credit-context { background: #f8fafc; color: #334155; border-color: #e2e8f0; }
.button.paste-qr { color: var(--xb-primary-hover); background: var(--xb-selected); border-color: #bdd4f6; }
.qr-upload:focus-within { border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-focus-ring); }
.delivery-feedback { color: var(--xb-subtle); }
.inventory-audit summary, .admin-customer-link { color: var(--xb-primary-hover); }
.inventory-audit-item { background: var(--xb-surface-soft); border-color: var(--xb-line); }
.service-source-label { color: var(--xb-primary-hover); background: var(--xb-selected); }

/* Sidebar is desktop-only; mobile keeps its original order, controls, grids and bottom navigation. */
.xb-desktop-sidebar { display: none; }
.xb-brand-icon { display: none; }
@media (min-width: 1024px) {
  body { --xb-layout-sidebar-width: var(--xb-sidebar-width); }
  body.xb-sidebar-collapsed { --xb-layout-sidebar-width: var(--xb-sidebar-collapsed-width); }
  .xb-desktop-sidebar {
    display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--xb-layout-sidebar-width);
    z-index: 35; gap: 0; padding: 20px 14px 14px; border-right: 1px solid var(--xb-line); background: #fff; color: var(--xb-navy);
    overflow: visible; transition: width var(--xb-transition), padding var(--xb-transition);
  }
  .xb-desktop-sidebar .xb-sidebar-brand { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 100%; min-height: 86px; margin-bottom: 16px; padding: 0 0 15px !important; border: 0; border-bottom: 1px solid var(--xb-line); border-radius: 0; background: transparent; box-shadow: none; }
  .xb-sidebar-brand button { background: transparent; border: 0; padding: 0; }
  .xb-legacy-sidebar-brand { display: none; }
  .xb-sidebar-brand .xb-brand-full, .xb-sidebar-brand .brand-logo { width: 206px; height: 79px; aspect-ratio: 34 / 13; filter: none; }
  .xb-sidebar-brand .xb-brand-icon { width: 42px; height: 46px; }
  .xb-sidebar-nav { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 0 14px; scrollbar-width: thin; scrollbar-color: #cfdef0 transparent; }
  .xb-sidebar-group { margin: 10px 0 16px; }
  .xb-desktop-sidebar .desktop-nav-caption, .xb-sidebar-group > span { display: block; margin: 0; padding: 0 12px 9px; color: var(--xb-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
  .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link, .xb-sidebar-group-toggle) { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px !important; margin: 4px 0; padding: 11px 12px !important; border: 0; border-radius: var(--xb-radius-sm); background: transparent; color: var(--xb-subtle); text-align: left; font-size: 14px; line-height: 1.45; cursor: pointer; box-shadow: none; }
  .xb-sidebar-group-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .xb-sidebar-group-row > .xb-sidebar-link { flex: 1; min-width: 0; width: auto; }
  .xb-desktop-sidebar .xb-sidebar-group-row > .xb-sidebar-group-toggle { flex: 0 0 28px; width: 28px; padding-inline: 4px !important; }
  .xb-sidebar-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 21px; width: 21px; height: 23px; color: #526d91; font-size: 20px; line-height: 1; }
  .xb-sidebar-icon svg, svg.xb-sidebar-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .xb-sidebar-text { min-width: 0; color: inherit; }
  .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link, .xb-sidebar-group-toggle):hover { color: var(--xb-primary-hover); background: var(--xb-surface-soft); }
  .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link).active, .xb-desktop-sidebar [aria-current="page"] { color: var(--xb-primary-hover); background: var(--xb-selected); box-shadow: inset 3px 0 var(--xb-primary); font-weight: 700; }
  .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link).active .xb-sidebar-icon, .xb-desktop-sidebar [aria-current="page"] .xb-sidebar-icon { color: var(--xb-primary); }
  .xb-desktop-sidebar .xb-sidebar-group-toggle::after { content: ">"; margin-left: auto; transform: rotate(90deg); font-size: 18px; color: var(--xb-muted); transition: transform var(--xb-transition); }
  .xb-desktop-sidebar .xb-sidebar-group-toggle[aria-expanded="true"]::after { transform: rotate(-90deg); }
  .xb-desktop-sidebar .xb-sidebar-sub-link { padding-left: 22px !important; font-size: 13px; }
  .xb-desktop-sidebar .xb-sidebar-sub-link .xb-sidebar-icon { font-size: 16px; }
  .xb-sidebar-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; min-height: 44px !important; margin-top: 10px; padding: 11px !important; border: 1px solid var(--xb-line) !important; border-radius: var(--xb-radius-sm); background: var(--xb-surface-soft) !important; color: var(--xb-subtle) !important; cursor: pointer; }
  .xb-sidebar-toggle:hover { color: var(--xb-primary-hover) !important; background: var(--xb-selected) !important; }
  .xb-sidebar-toggle svg { width: 18px; height: 18px; }
  .xb-sidebar-collapsed .xb-desktop-sidebar { padding-inline: 10px; }
  .xb-sidebar-collapsed .xb-brand-full, .xb-sidebar-collapsed .xb-sidebar-brand .brand-logo, .xb-sidebar-collapsed .xb-sidebar-text, .xb-sidebar-collapsed .desktop-nav-caption, .xb-sidebar-collapsed .xb-sidebar-group > span { display: none; }
  .xb-sidebar-collapsed .xb-brand-icon { display: block; }
  .xb-sidebar-collapsed .admin-nav-group > span { display: none; }
  .xb-sidebar-collapsed .xb-sidebar-brand { min-height: 86px; }
  .xb-sidebar-collapsed .xb-sidebar-group { margin: 6px 0 10px; }
  .xb-sidebar-collapsed .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link, .xb-sidebar-group-toggle) { justify-content: center; gap: 0; padding-inline: 10px !important; }
  .xb-sidebar-collapsed .xb-sidebar-group-toggle::after { display: none; }
  .xb-sidebar-collapsed .xb-sidebar-group-row > .xb-sidebar-group-toggle { display: none; }
  .xb-sidebar-collapsed .xb-desktop-sidebar .admin-nav-badge { display: none; }
  .xb-sidebar-collapsed .xb-sidebar-toggle svg { transform: rotate(180deg); }
  .app { margin-left: var(--xb-layout-sidebar-width); margin-right: 0; width: calc(100% - var(--xb-layout-sidebar-width)); transition: width var(--xb-transition), margin-left var(--xb-transition); }
  .app-topbar { left: var(--xb-layout-sidebar-width); padding-inline: 24px; transition: left var(--xb-transition); }
  /* Only the repeated desktop client topbar brand is hidden. Sidebar, mobile
   * header and independent login/register brands keep their original assets. */
  .app-topbar > .brand-button { display: none; }
  .app-topbar > .desktop-page-title { display: block; margin-left: 0; margin-right: auto; padding-left: 0; border-left: 0; color: #0f172a; font-size: 17px; font-weight: 650; }
  .content, .detail-wrap, .owned-page, .guide-view, .order-screen, .account-view, .vps-view, .relay-view, .broadband-view, .airport-view, .inbox-wrap { max-width: 1440px; padding-inline: 28px; }
  .home-top { padding-inline: max(28px, calc((100% - 1384px) / 2)); }
  .detail-wrap { max-width: 1120px; }
  .detail-card { padding: 28px; }
  .app-card { padding: 24px; }
  .country-card, .relay-card, .vps-card, .account-card { padding: 22px; }
  .country-grid, .relay-grid, .vps-grid, .account-grid { gap: 18px; }
  .owned-table-wrap { overflow-x: auto; overflow-y: visible; }
  .admin-main { margin-left: var(--xb-layout-sidebar-width); transition: margin-left var(--xb-transition); }
  .admin-sidebar .admin-brand-copy { display: none; }
  .admin-sidebar .admin-brand { border-bottom-color: var(--xb-line); }
  .admin-nav button { color: var(--xb-subtle); }
  .admin-nav button:hover, .admin-nav button.active { color: var(--xb-primary-hover); background: var(--xb-selected); }
  .delivery-attention:hover .delivery-attention-content, .delivery-attention:focus-within .delivery-attention-content,
  .proxy-info-hover:hover > .proxy-info-tooltip, .proxy-info-hover:focus > .proxy-info-tooltip { background: var(--xb-navy); color: #fff; }
}

/* Independent authentication layout. The auth shell is a sibling of main.app,
 * not a modal or an overlay over the site's sidebar/content frame. */
body.auth-screen { margin: 0; padding: 0; background: #edf3f9; }
body.auth-screen :is(main.app, .xb-desktop-sidebar, .desktop-sidebar, .app-topbar, #customerNav, #mobileTabs) { display: none !important; }
.auth-shell[hidden], .auth-shell .screen[hidden] { display: none !important; }
.auth-shell {
  display: flex; flex-direction: column; width: 100%; max-width: none; min-width: 0;
  min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0; border: 0;
  border-radius: 0; background: #edf3f9; box-shadow: none;
}
.auth-page-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 10px clamp(16px, 3vw, 42px); color: #d3e8fa; }
.auth-page-nav > button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 44px; min-height: 44px; padding: 9px 16px; border: 1px solid #1d5b9f;
  border-radius: var(--xb-radius-sm); background: #174a82; color: #fff;
  font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer;
}
.auth-page-nav > button:hover { border-color: #8ccced; background: #133653; color: #fff; }
.auth-page-nav > button:active { background: #0b2e52; border-color: #0b2e52; }
.auth-page-nav > button:focus-visible { outline-color: #7bd9f3; }
.auth-demo-indicator { max-width: 100%; font-size: 12px; line-height: 1.5; color: #c5dceb; overflow-wrap: anywhere; }
.auth-shell > .registration-screen.active { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; width: 100%; margin: 0; padding: 0; }
.auth-shell :is(#clientView, #registerView) { display: flex; flex: 1; flex-direction: column; min-width: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
.auth-shell .registration-shell {
  display: grid; flex: 1; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  min-width: 0; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; overflow: visible; box-shadow: none;
}
.auth-shell .registration-shell.xb-auth-surface { border-radius: 0; background: #edf3f9; box-shadow: none; }
.auth-shell :is(.register-promo, .register-form-panel) { min-width: 0; }
.auth-shell .register-promo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .88fr);
  grid-template-rows: auto auto; align-content: center; gap: 28px 24px;
  padding: clamp(28px, 3.2vw, 60px); color: #355876;
  background: linear-gradient(140deg, #edf3f9, #e6eef8);
}
.auth-shell .registration-shell.xb-auth-surface .register-promo { background: linear-gradient(140deg, #edf3f9, #e6eef8); color: #355876; }
.auth-shell .register-logo { grid-column: 1 / -1; align-self: start; }
.auth-shell .register-promo-copy { grid-column: 1; grid-row: 2; align-self: center; margin: 0; }
.auth-shell .register-promo-copy h1 { margin: 0; color: #174a82; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.45; }
.auth-shell .register-promo-copy strong { color: #1468b2; }
.auth-shell .register-points { display: grid; gap: 13px; margin: 23px 0 0 !important; padding: 0; color: #355876; }
.auth-shell .register-points li { color: inherit; }
.auth-shell .register-points .support-hours { color: #496781; }
.auth-shell .register-form-panel { padding: clamp(28px, 4vw, 66px); background: #f8fafd; }
.auth-shell .register-form-wrap { width: min(100%, 520px); min-width: 0; }
.auth-shell .xb-auth-art { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; width: min(100%, 260px); margin: 0; }
.auth-shell .xb-auth-art-mark { width: 74px; height: 79px; opacity: 1; }

/* Light-weight CSS-only network motion; no canvas, timers, external fonts or interactive decoration. */
.registration-screen { background: #edf3f9; }
.registration-shell.xb-auth-surface { background: #edf3f9; box-shadow: 0 20px 64px #07162621; }
.register-promo { background: linear-gradient(140deg, #edf3f9, #e6eef8); color: #355876; }
.register-promo::before { width: 260px; height: 260px; right: -80px; top: 28%; bottom: auto; border-radius: 50%; background: radial-gradient(circle, #c9def333, transparent 68%); box-shadow: none; transform: none; }
.register-promo::after { inset: 0; width: auto; height: auto; border-radius: 0; background-image: linear-gradient(#1b5f9e05 1px, transparent 1px), linear-gradient(90deg, #1b5f9e05 1px, transparent 1px); background-size: 40px 40px; box-shadow: none; transform: none; }
.register-promo-copy { z-index: 2; }
.register-promo-copy h1 { color: #174a82; }
.register-promo-copy strong { color: #1468b2; }
.register-points { color: #355876; font-size: 14px; line-height: 1.8; }
.register-points li::before { border-color: #2783b4; color: #1b6f9d; }
.register-points .support-hours { color: #496781; }
.register-form-panel { position: relative; z-index: 2; background: #fff; }
.register-form-wrap h1 { color: var(--xb-navy); }
.register-form-wrap > p, .register-login-link { color: var(--xb-muted); }
.register-form label { color: var(--xb-subtle); font-size: 14px; }
.register-form input { height: 54px; border-color: var(--xb-line-strong); border-radius: var(--xb-radius-sm); background: var(--xb-surface-soft); color: var(--xb-navy); padding-inline: 16px; }
.register-form input:focus { background: #fff; border-color: var(--xb-primary); box-shadow: 0 0 0 3px var(--xb-focus-ring); }
.register-form .terms-check input { accent-color: var(--xb-primary); }
.terms-link, .register-login-link button { color: var(--xb-primary-hover); }
.register-warning { color: var(--xb-warning); }
.terms-check { color: var(--xb-subtle); }
.xb-auth-art { position: relative; z-index: 1; width: min(100%, 260px); aspect-ratio: 1; margin: 0; pointer-events: none; }
.xb-auth-art-mark { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 66px; object-fit: contain; opacity: .86; }
.xb-auth-orbit { position: absolute; inset: 9%; border: 1px dashed #2a78a966; border-radius: 50%; animation: xb-orbit 42s linear infinite; }
body:not(.auth-screen) .auth-shell .xb-auth-orbit, .auth-shell[hidden] .xb-auth-orbit { animation-play-state: paused; }
.xb-auth-orbit::before { content: ""; position: absolute; inset: 29%; border: 1px solid #2788b670; border-radius: 25%; transform: rotate(45deg); background: linear-gradient(135deg, #2865b21c, #24b4d218); box-shadow: 0 0 34px #38bdf80a; }
.xb-auth-orbit::after { content: ""; position: absolute; left: 46%; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #218bb8; box-shadow: 0 0 10px #38bdf82a; }
.xb-auth-orbit span { position: absolute; inset: 13%; border: 1px solid #3b9bcd4d; border-radius: 29%; transform: rotate(22deg); }
.xb-auth-orbit span:nth-child(2) { transform: rotate(70deg); border-color: #6dc6e333; }
.xb-auth-orbit span:nth-child(3) { inset: 0; border-radius: 50%; transform: scaleY(.58) rotate(28deg); border-color: #37badd42; }
@keyframes xb-orbit { to { transform: rotate(360deg); } }
@media (min-width: 1024px) {
  .register-promo { padding: 35px; }
  .register-promo-copy { margin-top: 30px; }
  .register-promo-copy h1 { font-size: clamp(27px, 2.5vw, 36px); }
  .register-points { margin-top: 28px; gap: 14px; }
  .register-form-panel { padding: 38px clamp(28px, 3.5vw, 65px); }
}
@media (max-width: 1023px) {
  /* 20261116: client keeps its original bottom navigation; admin retains its drawer. */
  .desktop-sidebar.xb-desktop-sidebar { display: none !important; }
  .mobile-note-edit, .delivery-attention-label { border-color: var(--xb-line); color: var(--xb-subtle); }
  .delivery-attention.open .delivery-attention-content { background: #f8fafc; color: #334155; border-color: #e2e8f0; }
}
@media (max-width: 759px) {
  .auth-page-nav { padding: 8px 16px; }
  .auth-shell .registration-shell { display: flex; flex-direction: column; }
  .auth-shell .register-promo { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 20px; }
  .auth-shell .register-logo { grid-column: 1 / -1; }
  .auth-shell .register-promo-copy { grid-column: 1; grid-row: 2; margin: 0; }
  .auth-shell .register-promo-copy h1 { margin: 0; font-size: 23px; }
  .auth-shell .register-points { gap: 8px; margin-top: 15px !important; font-size: 13px; }
  .auth-shell .register-points li { font-size: 13px; line-height: 1.55; }
  .auth-shell .register-points li::before { margin-right: 7px; }
  .auth-shell .register-points .support-hours { margin-left: 26px; font-size: 12px; line-height: 1.6; }
  .auth-shell .register-form-panel { flex: 1; padding: 28px 20px 34px; }
  .auth-shell .register-form-wrap { margin: auto; }
  .auth-shell .xb-auth-art { position: relative; grid-column: 2; grid-row: 2; align-self: center; width: 104px; max-width: 100%; margin: 0; opacity: 1; }
  .auth-shell .xb-auth-art-mark { width: 40px; height: 43px; }
  .auth-shell .xb-auth-orbit { animation-duration: 48s; }
  .auth-shell .xb-auth-orbit::before { box-shadow: none; }
  .auth-shell .xb-auth-orbit::after { box-shadow: none; width: 5px; height: 5px; top: -3px; }
}
@media (max-width: 759px) {
  .brand-logo { width: 102px; height: 39px; }
  .register-logo .brand-logo { width: 190px; height: 73px; }
  .app-topbar { padding-left: 10px; }
  .register-promo { background: linear-gradient(140deg, #edf3f9, #e6eef8); }
  .register-promo-copy h1 { color: #174a82; }
  .register-form-wrap > p { line-height: 1.8; }
  .recharge-campaign { padding: 16px; }
  .recharge-campaign-tiers { gap: 10px; }
  .xb-info-disclosure > summary { padding: 12px 14px; }
  .xb-info-content { padding: 14px; }
  .owned-table td::before { color: var(--xb-muted); }
}
@media (max-width: 359px) { .brand-logo { width: 80px; height: 31px; } }
@media (min-width: 360px) and (max-width: 430px) {
  .app-topbar .brand-logo { width: 90px; height: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


@media (min-width: 1024px) {
  .banner.banner-ip-check-tech {
    border-color: #bfd6f5;
  }
  .banner.banner-ip-check-tech .ip-check-link:focus-visible { outline: none; }
}


@media (min-width: 1024px) {
  .banner.banner-ip-check-tech-v2 .banner-ip-copy h2 { color: #e8f6ff; }
  .banner.banner-ip-check-tech-v2 .banner-ip-copy p { color: #9ad7f0; }
  .banner.banner-ip-check-tech-v2 .ip-check-link:focus-visible { outline: none; }
}

/* Overview service-grid tech polish 鈥?soft cyan hairline + icon wells; equal row heights. */
.service-panel {
  align-items: stretch;
  gap: 12px;
  padding: 14px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.service-panel .service {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid #c8ddf0aa;
  background: #fff;
  box-shadow:
    0 0 0 1px #38bdf812,
    0 8px 18px #1d4ed80a,
    inset 0 1px 0 #ffffffd9;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}
.service-panel .service::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 0 1px #7dd3fc1f;
}
.service-panel .service > * {
  position: relative;
  z-index: 1;
}
.service-panel .service:hover,
.service-panel .service:active {
  border-color: #7dd3fc99;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px #22d3ee1f,
    0 0 16px #38bdf81f,
    0 10px 20px #1d4ed810,
    inset 0 1px 0 #fff;
}
.service-panel .service:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.service-panel .service .service-icon {
  border: 1px solid #b9e6fe77;
  box-shadow:
    0 0 0 1px #38bdf810,
    0 0 10px #67e8f924,
    inset 0 1px 0 #ffffffef,
    inset 0 -1px 0 #93c5fd18;
}
@media (min-width: 1024px) {
  .service-panel {
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }
  .service-panel .service {
    padding: 14px 12px;
    border-radius: 16px;
    height: 100%;
    align-content: start;
  }
}
@media (max-width: 759px) {
  .service-panel {
    align-items: stretch;
    gap: 10px;
    padding: 12px 8px;
  }
  .service-panel .service {
    padding: 10px 6px;
    border-radius: 13px;
    height: 100%;
  }
}

/* service-panel stretch lock 鈥?beat web-app align-items:start so row bottoms align */
.service-panel.service-panel {
  align-items: stretch;
}
.service-panel.service-panel .service {
  align-self: stretch;
  height: 100%;
}

/* message-card-mobile-polish */
@media (max-width: 720px) {
  .message-card { padding: 16px 14px 16px 14px; border-radius: 14px; }
  .message-card.unread { border-left-width: 5px; }
  .message-card h2 { font-size: 16px; }
}

/* 20261111-deskui1: desktop-only listing UI (min-width: 1024px). Mobile is unchanged. */
@media (min-width: 1024px) {
  :root { --catalog-card-accent: #5b9cf5; }
  #ipScreen > .page-header,
  #relayScreen > .page-header,
  #vpsScreen > .page-header,
  #broadbandScreen > .page-header,
  #airportScreen > .page-header,
  #accountScreen > .page-header {
    display: none !important;
  }
  #relayTabs,
  .relay-hero .relay-tabs {
    display: none !important;
  }
  .miya-isp-card,
  .relay-card.catalog-plus-card,
  .vps-card.catalog-plus-card {
    background: #ffffff;
    position: relative;
  }
  .relay-card.catalog-plus-card,
  .vps-card.catalog-plus-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 124px;
    padding: 14px 14px 12px;
    border: 1px solid #d0d7e2;
    border-radius: 16px;
    box-shadow: 0 2px 10px #617b9a0c;
    text-align: left;
  }
  .miya-isp-card .miya-isp-price,
  .catalog-plus-card .catalog-card-price {
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--catalog-card-accent, #5b9cf5);
  }
  .catalog-plus-card .catalog-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding-right: 48px;
    min-height: 36px;
  }
  .catalog-plus-card .catalog-card-plus {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--catalog-card-accent, #5b9cf5);
    color: #fff;
    border: 0;
    box-shadow: 0 1px 2px rgba(91,156,245,.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    line-height: 0;
    font-size: 0;
    pointer-events: none;
  }
  .catalog-plus-card .catalog-card-plus svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }
  .catalog-plus-card.is-oos .catalog-card-meta { padding-right: 76px; }
  .catalog-plus-card .catalog-card-oos {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #d14343;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    pointer-events: none;
  }
  .catalog-plus-card:disabled,
  .catalog-plus-card[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 1;
    color: #8a93a6;
    background: #f7f8fa;
    box-shadow: none;
  }
  .catalog-plus-card:disabled .catalog-card-price,
  .catalog-plus-card[aria-disabled="true"] .catalog-card-price {
    color: var(--catalog-card-accent, #5b9cf5);
    opacity: .85;
  }
}
@media (max-width: 1023px) {
  /* 20261112-mobi1: keep price, plus and out-of-stock visible on phones. */
  .catalog-plus-card .catalog-card-plus {
    display: inline-flex;
    width: 44px;
    height: 44px;
    right: 10px;
    bottom: 10px;
  }
  .catalog-plus-card .catalog-card-oos { display: inline-flex; }
  .catalog-plus-card .catalog-card-meta {
    display: flex;
    padding-right: 56px;
    min-height: 44px;
  }
}

/* 20261111-deskui2: desktop-only follow-up (min-width: 1024px). Mobile is unchanged. */
@media (min-width: 1024px) {
  html,
  body,
  .app {
    background: #ffffff;
    --page: #ffffff;
    --xb-page: #ffffff;
    --xb-line: #CBD5E1;
    --xb-line-strong: #94A3B8;
    --xb-navy: #172033;
    --xb-subtle: #475569;
    --xb-muted: #64748B;
    --ink: #172033;
    --muted: #64748B;
    --line: #CBD5E1;
  }
  .app {
    min-height: 100vh;
  }
  #ipScreen,
  #relayScreen,
  #vpsScreen,
  #broadbandScreen,
  #airportScreen,
  #accountScreen,
  #detailScreen,
  #detailContent,
  #ipScreen .ip-page,
  #relayScreen .relay-view,
  #vpsScreen .vps-view,
  #broadbandScreen .broadband-view,
  #airportScreen .airport-view,
  #accountScreen .account-view {
    background: #ffffff;
  }
  #ipScreen .ip-hero,
  #relayScreen .relay-hero,
  #vpsScreen .vps-hero,
  #broadbandScreen .broadband-hero,
  #airportScreen .airport-hero,
  #accountScreen .account-hero {
    background: #ffffff;
  }
  #ipScreen.active,
  #relayScreen.active,
  #vpsScreen.active,
  #broadbandScreen.active,
  #airportScreen.active,
  #accountScreen.active,
  #detailScreen.active {
    min-height: calc(100vh - 76px);
  }

  /* 美国顶级: hide listing-style back arrow only; keep the title and shared back-ip for other details / mobile. */
  #detailScreen.xb-resip-page > .page-header .back {
    display: none;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    pointer-events: none;
  }
  #detailScreen.xb-resip-page > .page-header {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: min(1280px, 100%);
    width: 100%;
    margin-inline: auto;
    padding: 10px 10px !important;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom-color: transparent;
  }
  #detailScreen.xb-resip-page > .page-header > span {
    margin: 0;
    padding: 0;
  }

  #vpsTabs,
  .vps-hero .vps-tabs,
  #airportTabs,
  .airport-hero .airport-tabs {
    display: none !important;
  }
  .vps-hero,
  .airport-hero {
    padding-bottom: 20px;
  }

  .broadband-product-card.catalog-plus-card,
  .airport-plan-card.catalog-plus-card,
  .account-card.catalog-plus-card {
    background: #ffffff;
    position: relative;
    min-height: 124px;
    padding: 14px 14px 12px;
    border: 1px solid #d0d7e2;
    border-radius: 16px;
    box-shadow: 0 2px 10px #617b9a0c;
    text-align: left;
  }
  .broadband-product-card.catalog-plus-card,
  .airport-plan-card.catalog-plus-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .account-card.catalog-plus-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
  }
  .account-card.catalog-plus-card .account-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    align-self: stretch;
  }

  /* Prefer a flex price row over more absolute positioning (applies to all catalog-plus-card). */
  .catalog-plus-card .catalog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    padding-right: 0;
    min-height: 36px;
    width: 100%;
    box-sizing: border-box;
  }
  .catalog-plus-card.is-oos .catalog-card-meta {
    padding-right: 0;
  }
  .catalog-plus-card .catalog-card-plus,
  .catalog-plus-card .catalog-card-oos {
    position: static;
    right: auto;
    bottom: auto;
    margin-left: auto;
  }
  .catalog-plus-card:not(:disabled):hover .catalog-card-plus {
    filter: brightness(1.08);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(91, 156, 245, 0.35);
  }

  /* 20261111-vendor1: in-card vendor picker for 顶级全球住宅IP (desktop only). */
  #relayScreen .relay-grid {
    align-items: start;
  }
  .relay-card--vendor-picker {
    padding: 14px 14px 12px;
  }
  .relay-card-purchase {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
  }
  .relay-card-purchase:disabled,
  .relay-card-purchase[aria-disabled="true"] {
    cursor: not-allowed;
  }
  .relay-vendor-picker {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.22s ease;
  }
  .relay-card.is-vendor-open .relay-vendor-picker,
  .relay-vendor-picker.is-open {
    grid-template-rows: 1fr;
    margin-top: 10px;
  }
  .relay-vendor-picker-inner {
    overflow: hidden;
    min-height: 0;
    padding: 10px 10px 8px;
    border: 1px solid #d4e2f5;
    border-radius: 12px;
    background: #f6f9ff;
  }
  .relay-vendor-picker:not(.is-open) .relay-vendor-picker-inner {
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
  .relay-vendor-picker-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }
  .relay-vendor-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .relay-vendor-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #d7deea;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    line-height: 1.45;
  }
  .relay-vendor-option input {
    margin: 3px 0 0;
    flex: 0 0 auto;
    accent-color: #1459eb;
  }
  .relay-vendor-option-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
  }
  .relay-vendor-option-meta {
    flex: 0 0 auto;
    color: #1459eb;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  .relay-vendor-option.is-selected {
    border-color: #1459eb;
    background: #eef4ff;
    box-shadow: 0 0 0 1px #1459eb33;
  }
  .relay-vendor-option.is-oos {
    cursor: not-allowed;
    color: #8a93a6;
    background: #f7f8fa;
  }
  .relay-vendor-option.is-oos .relay-vendor-option-meta {
    color: #d14343;
  }
  .relay-vendor-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 8px 0 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: #1459eb;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .relay-vendor-confirm:hover:not(:disabled) {
    filter: brightness(1.06);
  }
  .relay-vendor-confirm:disabled,
  .relay-vendor-confirm[aria-disabled="true"] {
    cursor: not-allowed;
    background: #c5d0e6;
    color: #f8fafc;
  }
}

@media (max-width: 1023px) {
  /* Mobile layout and purchase path stay unchanged; picker is desktop-only. */
  .relay-vendor-picker {
    display: none !important;
  }
  .relay-card-purchase {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
  }
}

/* 20261111-deskui3: desktop-only UI pack (min-width: 1024px). Mobile is unchanged. */
@media (min-width: 1024px) {
  .relay-card-spec-mobile,
  .catalog-card-meta-mobile { display: none !important; }

  html,
  body,
  .app {
    background: #ffffff;
    --page: #ffffff;
    --xb-page: #ffffff;
    --xb-line: #CBD5E1;
    --xb-line-strong: #94A3B8;
    --xb-navy: #172033;
    --xb-subtle: #475569;
    --xb-muted: #64748B;
    --ink: #172033;
    --muted: #64748B;
    --line: #CBD5E1;
  }

  #ownedScreen,
  #ownedDetailScreen,
  #serviceDetailScreen,
  #ordersScreen,
  #orderDetailScreen,
  #inboxScreen,
  #feedbackScreen,
  #ledgerScreen,
  #rechargeScreen,
  #personalScreen,
  #couponScreen,
  #productsScreen,
  #guideScreen,
  #contactScreen,
  #tutorialScreen,
  #ownedContent,
  #ownedDetailContent,
  #serviceDetailContent,
  #ordersContent,
  #inboxContent,
  #ledgerContent,
  #personalContent,
  #couponContent,
  .owned-page,
  .order-screen,
  .inbox-wrap,
  .feedback-page,
  #serviceDetailScreen .content,
  #ownedDetailScreen .owned-page,
  #orderDetailScreen .content,
  #ledgerScreen .content,
  #personalScreen .content,
  #couponScreen .content {
    background: #ffffff;
  }
  #ownedScreen.active,
  #ownedDetailScreen.active,
  #serviceDetailScreen.active,
  #ordersScreen.active,
  #orderDetailScreen.active,
  #inboxScreen.active,
  #feedbackScreen.active,
  #ledgerScreen.active,
  #rechargeScreen.active,
  #personalScreen.active,
  #couponScreen.active,
  #productsScreen.active,
  #guideScreen.active,
  #contactScreen.active,
  #tutorialScreen.active {
    min-height: calc(100vh - 76px);
    background: #ffffff;
  }
  .owned-page {
    min-height: calc(100vh - 76px);
  }

  #ownedScreen > .page-header .back,
  #ownedDetailScreen > .page-header .back,
  #serviceDetailScreen > .page-header .back,
  #ordersScreen > .page-header .back,
  #orderDetailScreen > .page-header .back,
  #inboxScreen > .page-header .back,
  #feedbackScreen > .page-header .back,
  #ledgerScreen > .page-header .back,
  #rechargeScreen > .page-header .back,
  #couponScreen > .page-header .back,
  #guideScreen > .page-header .back,
  #contactScreen > .page-header .back,
  #tutorialScreen > .page-header .back,
  #personalScreen > .page-header .back,
  #productsScreen > .page-header .back {
    display: none;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    pointer-events: none;
  }
  #ownedScreen > .page-header,
  #ownedDetailScreen > .page-header,
  #serviceDetailScreen > .page-header,
  #ordersScreen > .page-header,
  #orderDetailScreen > .page-header,
  #inboxScreen > .page-header,
  #feedbackScreen > .page-header,
  #ledgerScreen > .page-header,
  #rechargeScreen > .page-header,
  #couponScreen > .page-header,
  #guideScreen > .page-header,
  #contactScreen > .page-header,
  #tutorialScreen > .page-header,
  #personalScreen > .page-header,
  #productsScreen > .page-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: #ffffff;
  }
  #ownedScreen > .page-header > span,
  #ownedDetailScreen > .page-header > span,
  #serviceDetailScreen > .page-header > span,
  #ordersScreen > .page-header > span,
  #orderDetailScreen > .page-header > span,
  #inboxScreen > .page-header > span,
  #feedbackScreen > .page-header > span,
  #ledgerScreen > .page-header > span,
  #rechargeScreen > .page-header > span,
  #couponScreen > .page-header > span,
  #guideScreen > .page-header > span,
  #contactScreen > .page-header > span,
  #tutorialScreen > .page-header > span,
  #personalScreen > .page-header > span,
  #productsScreen > .page-header > span {
    margin: 0;
    padding: 0;
  }

  .inbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
  }
  .inbox-heading {
    margin: 0;
  }
  .inbox-heading p {
    margin-bottom: 0;
  }
  .message-card {
    margin: 0;
    border-radius: 18px;
    background: #fbfcfe;
    box-shadow: none;
  }
  .message-card.unread {
    background: #f5f9ff;
    box-shadow: 0 1px 2px #2563eb14;
  }
  .inbox-unread-toggle {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #E5484D;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    vertical-align: baseline;
  }
  .inbox-unread-toggle:hover {
    text-decoration: underline;
  }
  .inbox-read-label {
    color: #8a93a6;
    font-weight: 650;
  }

  #relayScreen .relay-view,
  #relayScreen .relay-continent,
  #relayScreen .relay-grid,
  #airportScreen .airport-view,
  #airportScreen .vps-grid {
    overflow: visible;
  }
  #vpsScreen .server-location-panel {
    display: none !important;
  }
  #vpsScreen .vps-view,
  #vpsScreen .vps-group,
  #vpsScreen .vps-grid {
    overflow: visible;
  }
  #vpsScreen .vps-card.catalog-plus-card {
    overflow: visible;
    position: relative;
  }
  .vps-card.is-menu-open {
    z-index: 30;
  }
  .catalog-inline-host {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    max-width: 100%;
    min-width: 0;
  }
  .catalog-inline-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3B82F6;
    font: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
  }
  .catalog-inline-trigger:hover,
  .catalog-inline-trigger[aria-expanded="true"] {
    color: #1D4ED8;
  }
  .catalog-inline-trigger-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .catalog-inline-trigger .catalog-dropdown-caret {
    margin-top: 0;
    color: inherit;
    font-size: 12px;
  }
  .vps-card-location-row {
    display: block;
    margin: 8px 0 0;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
  }
  .vps-card-location-row .catalog-inline-host {
    display: block;
  }
  :is(.catalog-plus-card, .relay-card, .vps-card, .account-card, .detail-card, .app-card, .owned-card, .service-panel, .message-card, .owned-table-wrap, .client-order-table-wrap) {
    border-color: var(--xb-line);
    box-shadow: 0 1px 2px #0f172a0a;
  }
  :is(.search-box input, .owned-filters select, .owned-filters input, .client-order-filters select, .client-order-filters input) {
    border-color: var(--xb-line);
    color: var(--xb-subtle);
  }
  :is(.search-box input, .owned-filters input, .client-order-filters input)::placeholder {
    color: #94A3B8;
    opacity: 1;
  }
  :is(.page-header, .desktop-page-title, .owned-title h1, .owned-title h2, #ownedScreen .page-header > span, #ownedDetailScreen .page-header > span, #serviceDetailScreen .page-header > span) {
    color: var(--xb-navy);
  }
  :is(.country-name, .vps-card > strong, .relay-card > strong, .account-card strong, .catalog-plus-card > strong) {
    color: #1e293b;
  }
  :is(.relay-card-spec-desktop, .catalog-vendor-static, .owned-title p, .owned-card p) {
    color: var(--xb-muted);
  }
  :is(.owned-table-wrap, .client-order-table-wrap, .admin-table-wrap) th,
  :is(.owned-table-wrap, .client-order-table-wrap, .admin-table-wrap) td,
  :is(.owned-table-wrap, .client-order-table-wrap, .admin-table-wrap) table {
    border-color: var(--xb-line);
  }
  #relayScreen .relay-grid {
    align-items: stretch;
  }
  #relayScreen .relay-card.catalog-plus-card,
  #airportScreen .airport-plan-card.catalog-plus-card {
    overflow: visible;
    min-height: 176px;
  }
  .relay-card.is-menu-open,
  .airport-plan-card.is-menu-open {
    z-index: 30;
  }
  .catalog-dropdown-host {
    position: relative;
    display: block;
    min-width: 0;
    z-index: 2;
  }
  .catalog-card-meta .catalog-dropdown-host {
    flex: 1 1 auto;
    width: auto;
  }
  .catalog-dropdown-trigger {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #62708b;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
  }
  .catalog-dropdown-trigger:hover,
  .catalog-dropdown-trigger[aria-expanded="true"] {
    color: #1459eb;
  }
  .catalog-dropdown-trigger-text {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
  }
  .catalog-dropdown-caret {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1;
    color: #1459eb;
  }
  .catalog-vendor-static {
    display: block;
    margin: 6px 0 0;
    color: #62708b;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .catalog-period-trigger {
    align-items: center;
    width: auto;
    margin: 0;
    color: inherit;
  }
  .catalog-overlay-menu {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 6px);
    z-index: 40;
    min-width: 100%;
    width: max-content;
    min-width: 260px;
    max-width: min(380px, 72vw);
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d4e2f5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 32px #19447824;
  }
  .catalog-overlay-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
  }
  .catalog-overlay-option + .catalog-overlay-option {
    margin-top: 4px;
  }
  .catalog-overlay-option span {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
  }
  .catalog-overlay-option b {
    flex: 0 0 auto;
    color: #1459eb;
    font-size: 12px;
    font-weight: 700;
    display: inline;
    margin: 0;
  }
  .catalog-overlay-option.is-selected {
    border-color: #1459eb;
    background: #eef4ff;
  }
  .catalog-overlay-option.is-oos,
  .catalog-overlay-option:disabled {
    cursor: not-allowed;
    color: #8a93a6;
    background: #f7f8fa;
  }
  .catalog-overlay-option.is-oos b,
  .catalog-overlay-option:disabled b {
    color: #d14343;
  }
}

@media (max-width: 1023px) {
  .relay-card-spec-desktop,
  .catalog-vendor-static,
  .catalog-dropdown-host,
  .catalog-overlay-menu,
  .catalog-dropdown-caret,
  .catalog-dropdown-trigger,
  .catalog-inline-host,
  .catalog-inline-trigger,
  .vps-card-location-row,
  .airport-card-period-row,
  .catalog-card-meta-desktop {
    display: none !important;
  }
  .inbox-unread-toggle {
    color: #E5484D;
    cursor: pointer;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    padding: 0;
  }
  .inbox-read-label { color: #8a93a6; }
}

/* 20261111-deskui6: desktop-only blue bubble language, period trigger, deeper borders. Mobile unchanged. */
@media (min-width: 1024px) {
  html, body, .app {
    --xb-bubble-fill: linear-gradient(180deg, #F7FAFF 0%, #F4F8FF 55%, #EEF5FF 100%);
    --xb-bubble-border: #BFD3F8;
    --xb-bubble-border-strong: #C9D8F2;
    --xb-bubble-shadow: 0 8px 24px #2563eb14;
    --xb-bubble-radius: 18px;
    --xb-bubble-title: #172554;
    --xb-bubble-body: #475569;
  }

  .airport-card-period-row {
    display: block;
    margin: 8px 0 0;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
  }
  .airport-card-period-row .catalog-inline-host {
    position: relative;
    z-index: 6;
    display: inline-flex;
    max-width: 100%;
  }
  .airport-plan-card.is-menu-open {
    z-index: 8;
    overflow: visible;
  }

  /* Shared bubble utility and page modules */
  #ownedScreen .owned-title .renewal-reminder,
  #rechargeScreen .recharge-hero,
  #guideScreen .guide-hero,
  #productsScreen .app-card-grid > .app-card,
  #personalScreen .app-card,
  #personalScreen .dashboard-stats > article,
  #personalScreen .account-menu,
  #couponScreen .app-card,
  #ledgerScreen .app-card,
  #feedbackScreen .feedback-form {
    border: 1px solid var(--xb-bubble-border);
    border-radius: var(--xb-bubble-radius);
    background: var(--xb-bubble-fill);
    box-shadow: var(--xb-bubble-shadow);
    color: var(--xb-bubble-body);
  }

  #ownedScreen .owned-title .renewal-reminder {
    max-width: none;
    margin-top: 12px;
    padding: 14px 18px 16px;
  }
  #ownedScreen .owned-title .renewal-reminder p {
    color: var(--xb-bubble-body);
  }

  #rechargeScreen .recharge-hero,
  #guideScreen .guide-hero {
    max-width: 1440px;
    margin: 8px 28px 20px;
    padding: 18px 22px 20px;
    border-bottom-color: var(--xb-bubble-border);
  }
  #rechargeScreen .recharge-hero h1,
  #guideScreen .guide-hero h1,
  #productsScreen .app-card-grid > .app-card h2,
  #personalScreen .app-card h1,
  #personalScreen .app-card h2,
  #feedbackScreen .feedback-form label {
    color: var(--xb-bubble-title);
  }
  #rechargeScreen .recharge-hero p,
  #guideScreen .guide-hero p,
  #rechargeScreen .recharge-nonrefundable {
    color: var(--xb-bubble-body) !important;
    background: transparent;
    border: 0;
  }
  #rechargeScreen .recharge-nonrefundable {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #D7E6FB;
  }

  #productsScreen .app-card-grid > .app-card {
    padding: 20px 20px 18px;
  }
  #productsScreen .app-card-grid > .app-card p {
    color: var(--xb-bubble-body);
  }

  #personalScreen .app-card,
  #couponScreen .app-card,
  #ledgerScreen .app-card {
    padding: 20px 22px;
  }
  #personalScreen .dashboard-stats > article {
    padding: 16px 18px;
    text-align: center;
  }
  #personalScreen .dashboard-stats b {
    color: #1D4ED8;
  }
  #personalScreen .dashboard-stats span {
    color: var(--xb-bubble-body);
  }
  #personalScreen .account-menu {
    padding: 8px 10px;
    overflow: hidden;
  }
  #personalScreen .account-menu button {
    background: transparent;
  }

  #feedbackScreen .feedback-form {
    padding: 22px 22px 20px;
  }
  #feedbackScreen .feedback-form input,
  #feedbackScreen .feedback-form select,
  #feedbackScreen .feedback-form textarea {
    background: #fff;
    border-color: var(--xb-bubble-border-strong);
    color: #1E293B;
  }
  #feedbackScreen .feedback-form .credential-warning {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #D7E6FB;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--xb-bubble-body);
    box-shadow: none;
  }
  #feedbackScreen .feedback-form .credential-warning b {
    color: var(--xb-bubble-title);
  }

  /* Fig7 — deepen download-card borders, keep white fill */
  #guideScreen .tutorial-videos .guide-card {
    border: 1px solid var(--xb-bubble-border-strong);
    background: #fff;
    box-shadow: 0 4px 14px #2563eb0d;
    border-radius: 16px;
  }
  #guideScreen .tutorial-videos .guide-card b {
    color: var(--xb-bubble-title);
  }
  #guideScreen .tutorial-videos .guide-card small {
    color: var(--xb-bubble-body);
  }

  /* Modest border deepen for remaining desktop cards / forms */
  :is(.catalog-plus-card, .relay-card, .vps-card, .account-card, .app-card, .owned-card, .guide-card, .tutorial-card, .message-card, .owned-table-wrap, .recharge-panel, .recharge-account-bar) {
    border-color: var(--xb-bubble-border-strong);
  }
  :is(.owned-filters select, .owned-filters input, .feedback-form input, .feedback-form select, .feedback-form textarea, .recharge-amount-input, .tutorial-tools input) {
    border-color: var(--xb-bubble-border-strong);
  }
}

/* 20261111-deskui7: desktop-only title cleanup and per-category bubble variants. Mobile unchanged. */
@media (min-width: 1024px) {
  /* Fig2 — hide content-area category titles that already appear in the top bar. */
  #ipScreen .ip-hero > h1,
  #relayScreen .relay-hero > h1,
  #vpsScreen .vps-hero > h1,
  #broadbandScreen .broadband-hero > h1,
  #airportScreen .airport-hero > h1,
  #accountScreen .account-hero > h1,
  #guideScreen .guide-hero > h1,
  #rechargeScreen .recharge-hero > h1,
  #contactScreen .contact-hero > h1,
  #feedbackScreen .feedback-heading > h1,
  #inboxScreen .inbox-heading > h1 {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  #personalScreen > .page-header,
  #productsScreen > .page-header,
  #guideScreen > .page-header,
  #rechargeScreen > .page-header,
  #feedbackScreen > .page-header,
  #inboxScreen > .page-header,
  #ownedScreen > .page-header,
  #ownedDetailScreen > .page-header,
  #serviceDetailScreen > .page-header,
  #ordersScreen > .page-header,
  #orderDetailScreen > .page-header,
  #ledgerScreen > .page-header,
  #couponScreen > .page-header,
  #contactScreen > .page-header,
  #tutorialScreen > .page-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  #ipScreen .ip-hero,
  #relayScreen .relay-hero,
  #vpsScreen .vps-hero,
  #broadbandScreen .broadband-hero,
  #airportScreen .airport-hero,
  #accountScreen .account-hero {
    padding-top: 16px;
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 0;
  }

  #guideScreen .guide-hero,
  #rechargeScreen .recharge-hero {
    margin-top: 8px;
    padding-top: 16px;
  }
  #guideScreen .guide-hero > p:first-child,
  #rechargeScreen .recharge-hero > p:first-child {
    margin-top: 0;
  }

  #feedbackScreen .feedback-heading,
  #inboxScreen .inbox-heading,
  #contactScreen .contact-hero {
    margin-top: 8px;
    padding-top: 4px;
  }
  #feedbackScreen .feedback-heading > p,
  #inboxScreen .inbox-heading > p,
  #contactScreen .contact-hero > p {
    margin-top: 0;
  }

  #productsScreen .content > h1 {
    margin-top: 8px;
  }

  /* Fig3 — shared blue-family tokens stay; each first-level category tweaks them. */
  #ipScreen,
  #detailScreen.xb-resip-page {
    --xb-bubble-fill: linear-gradient(90deg, #F8FBFF 0%, #F3F8FF 48%, #EDF4FF 100%);
    --xb-bubble-border: #B7D0F6;
    --xb-bubble-shadow: 0 8px 22px #2563eb14;
    --xb-bubble-radius: 18px;
  }
  #relayScreen {
    --xb-bubble-fill: #F7FAFF;
    --xb-bubble-border: #AFC8F0;
    --xb-bubble-shadow: 0 4px 14px #2563eb10;
    --xb-bubble-radius: 16px;
  }
  #vpsScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F5F8FE 0%, #EEF4FC 100%);
    --xb-bubble-border: #A8C3EC;
    --xb-bubble-shadow: 0 6px 16px #1e3a8a14;
    --xb-bubble-radius: 14px;
  }
  #broadbandScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F2F7FF 62%, #EEF5FF 100%);
    --xb-bubble-border: #C2D6F5;
    --xb-bubble-shadow: 0 12px 28px #2563eb12;
    --xb-bubble-radius: 22px;
  }
  #airportScreen {
    --xb-bubble-fill: linear-gradient(115deg, #F7FAFF 0%, #F1F6FF 46%, #EAF3FF 100%);
    --xb-bubble-border: #B6CFF4;
    --xb-bubble-shadow: 0 8px 20px #2563eb14;
    --xb-bubble-radius: 18px;
  }
  #accountScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FAFE 0%, #F4F7FC 100%);
    --xb-bubble-border: #C5D6F3;
    --xb-bubble-shadow: 0 6px 16px #2563eb10;
    --xb-bubble-radius: 16px;
  }
  #personalScreen,
  #ownedScreen,
  #rechargeScreen,
  #feedbackScreen,
  #couponScreen,
  #ledgerScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F4F8FF 58%, #EEF4FF 100%);
    --xb-bubble-border: #BDD3F6;
    --xb-bubble-shadow: 0 10px 26px #2563eb16;
    --xb-bubble-radius: 20px;
  }
  #productsScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FAFF 0%, #F3F7FF 100%);
    --xb-bubble-border: #C0D4F4;
    --xb-bubble-shadow: 0 8px 20px #2563eb12;
    --xb-bubble-radius: 18px;
  }
  #guideScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F7FAFF 0%, #F3F8FF 100%);
    --xb-bubble-border: #C1D5F5;
    --xb-bubble-shadow: 0 8px 22px #2563eb12;
    --xb-bubble-radius: 18px;
  }

  #ownedScreen .owned-title .renewal-reminder,
  #rechargeScreen .recharge-hero,
  #guideScreen .guide-hero,
  #productsScreen .app-card-grid > .app-card,
  #personalScreen .app-card,
  #personalScreen .dashboard-stats > article,
  #personalScreen .account-menu,
  #couponScreen .app-card,
  #ledgerScreen .app-card,
  #feedbackScreen .feedback-form,
  #ipScreen .xb-compact-info,
  #relayScreen .xb-compact-info,
  #vpsScreen .xb-compact-info,
  #broadbandScreen .xb-compact-info,
  #airportScreen .xb-compact-info,
  #accountScreen .xb-compact-info,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--xb-bubble-border);
    border-radius: var(--xb-bubble-radius);
    background: var(--xb-bubble-fill);
    box-shadow: var(--xb-bubble-shadow);
    color: var(--xb-bubble-body, #475569);
  }

  #ownedScreen .owned-title .renewal-reminder > *,
  #rechargeScreen .recharge-hero > *,
  #guideScreen .guide-hero > *,
  #productsScreen .app-card-grid > .app-card > *,
  #personalScreen .app-card > *,
  #personalScreen .dashboard-stats > article > *,
  #personalScreen .account-menu > *,
  #couponScreen .app-card > *,
  #ledgerScreen .app-card > *,
  #feedbackScreen .feedback-form > *,
  #ipScreen .xb-compact-info > *,
  #relayScreen .xb-compact-info > *,
  #vpsScreen .xb-compact-info > *,
  #broadbandScreen .xb-compact-info > *,
  #airportScreen .xb-compact-info > *,
  #accountScreen .xb-compact-info > *,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section > * {
    position: relative;
    z-index: 1;
  }

  #ipScreen .xb-compact-info::before,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::before,
  #relayScreen .xb-compact-info::before,
  #vpsScreen .xb-compact-info::before,
  #broadbandScreen .xb-compact-info::before,
  #airportScreen .xb-compact-info::before,
  #accountScreen .xb-compact-info::before,
  #ownedScreen .owned-title .renewal-reminder::before,
  #rechargeScreen .recharge-hero::before,
  #guideScreen .guide-hero::before,
  #productsScreen .app-card-grid > .app-card::before,
  #personalScreen .app-card::before,
  #personalScreen .dashboard-stats > article::before,
  #personalScreen .account-menu::before,
  #couponScreen .app-card::before,
  #ledgerScreen .app-card::before,
  #feedbackScreen .feedback-form::before,
  #ipScreen .xb-compact-info::after,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::after,
  #relayScreen .xb-compact-info::after,
  #vpsScreen .xb-compact-info::after,
  #broadbandScreen .xb-compact-info::after,
  #airportScreen .xb-compact-info::after,
  #accountScreen .xb-compact-info::after,
  #ownedScreen .owned-title .renewal-reminder::after,
  #rechargeScreen .recharge-hero::after,
  #guideScreen .guide-hero::after,
  #productsScreen .app-card-grid > .app-card::after,
  #personalScreen .app-card::after,
  #personalScreen .dashboard-stats > article::after,
  #personalScreen .account-menu::after,
  #couponScreen .app-card::after,
  #ledgerScreen .app-card::after,
  #feedbackScreen .feedback-form::after {
    pointer-events: none;
    z-index: 0;
  }

  /* A. 住宅IP含网络 — stable network: horizontal wash, soft ripple, tech highlight. */
  #ipScreen .xb-compact-info::before,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(90% 70% at 100% 0%, rgba(147, 197, 253, 0.22), transparent 58%),
      repeating-linear-gradient(180deg, transparent 0 12px, rgba(191, 219, 254, 0.22) 12px 13px);
    opacity: 0.5;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  }
  #ipScreen .xb-compact-info::after,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #93C5FD, #60A5FA 50%, #BFDBFE);
    opacity: 0.8;
  }

  /* B. 住宅IP需自备网络 — clean informational: sharper edge, left rail, no texture. */
  #relayScreen .xb-compact-info {
    box-shadow: var(--xb-bubble-shadow), inset 3px 0 0 #7AA7E8;
  }
  #relayScreen .xb-compact-info::before {
    content: none;
  }
  #relayScreen .xb-compact-info::after {
    content: none;
  }

  /* C. VPS机房 — tech/equipment: firmer edge, restrained grid, crisp top rule. */
  #vpsScreen .xb-compact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(148, 180, 224, 0.13) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 180, 224, 0.13) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: -1px -1px;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  }
  #vpsScreen .xb-compact-info::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, #7EA4DC, #B9D0F3);
    opacity: 0.9;
  }

  /* D. VPS家宽 — stable service: larger radius, softer shadow, gentle glow. */
  #broadbandScreen .xb-compact-info::before {
    content: "";
    position: absolute;
    inset: auto -20% 40% -20%;
    height: 90%;
    background: radial-gradient(ellipse at 50% 0%, rgba(191, 219, 254, 0.4), transparent 68%);
  }
  #broadbandScreen .xb-compact-info::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, rgba(147, 197, 253, 0.15), #93C5FD 50%, rgba(147, 197, 253, 0.15));
    opacity: 0.7;
  }

  /* E. 机场节点 — connection/route: light path and speed cue. */
  #airportScreen .xb-compact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(115deg, transparent 0 42%, rgba(147, 197, 253, 0.16) 50%, transparent 58%),
      radial-gradient(40% 80% at 92% 18%, rgba(96, 165, 250, 0.16), transparent 70%);
  }
  #airportScreen .xb-compact-info::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 28%;
    top: 7px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #60A5FA, rgba(96, 165, 250, 0));
    box-shadow: 2px 0 0 1.5px rgba(96, 165, 250, 0.35);
    opacity: 0.75;
  }

  /* F. 注册账号 — process/service: tidy, even, a slim regular top rule. */
  #accountScreen .xb-compact-info::before {
    content: none;
  }
  #accountScreen .xb-compact-info::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: #B4C9EC;
  }

  /* G. 我的账户 / 个人中心 — refined dashboard card with a soft top cap. */
  #personalScreen .app-card::before,
  #personalScreen .dashboard-stats > article::before,
  #personalScreen .account-menu::before,
  #ownedScreen .owned-title .renewal-reminder::before,
  #rechargeScreen .recharge-hero::before,
  #feedbackScreen .feedback-form::before,
  #couponScreen .app-card::before,
  #ledgerScreen .app-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
  }
  #personalScreen .app-card::after,
  #personalScreen .dashboard-stats > article::after,
  #personalScreen .account-menu::after,
  #ownedScreen .owned-title .renewal-reminder::after,
  #rechargeScreen .recharge-hero::after,
  #feedbackScreen .feedback-form::after,
  #couponScreen .app-card::after,
  #ledgerScreen .app-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #93C5FD 0%, #60A5FA 42%, #BFDBFE 100%);
    opacity: 0.75;
  }

  /* Hub / guide siblings of G: catalog left rail; guide soft cap; downloads stay white. */
  #productsScreen .app-card-grid > .app-card {
    box-shadow: var(--xb-bubble-shadow), inset 3px 0 0 #8FB4EA;
  }
  #productsScreen .app-card-grid > .app-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%);
  }
  #productsScreen .app-card-grid > .app-card::after {
    content: none;
  }
  #guideScreen .guide-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  }
  #guideScreen .guide-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #7DD3FC 0%, #60A5FA 50%, #93C5FD 100%);
    opacity: 0.7;
  }
  #guideScreen .tutorial-videos .guide-card {
    border: 1px solid #B7CCEE;
    background: #ffffff;
    box-shadow: 0 4px 14px #2563eb0d, inset 0 1px 0 #E8F1FC;
    border-radius: 16px;
  }

  #ipScreen .xb-compact-heading h2,
  #relayScreen .xb-compact-heading h2,
  #vpsScreen .xb-compact-heading h2,
  #broadbandScreen .xb-compact-heading h2,
  #airportScreen .xb-compact-heading h2,
  #accountScreen .xb-compact-heading h2,
  #personalScreen .app-card h1,
  #personalScreen .app-card h2,
  #rechargeScreen .recharge-hero h1,
  #guideScreen .guide-hero h1,
  #productsScreen .app-card-grid > .app-card h2,
  #feedbackScreen .feedback-form label,
  #ownedScreen .owned-title .renewal-reminder b {
    color: var(--xb-bubble-title, #172554);
  }
  #ipScreen .xb-compact-info,
  #relayScreen .xb-compact-info,
  #vpsScreen .xb-compact-info,
  #broadbandScreen .xb-compact-info,
  #airportScreen .xb-compact-info,
  #accountScreen .xb-compact-info {
    color: var(--xb-bubble-body, #475569);
  }
}

@media (max-width: 1023px) {
  /* deskui7 decorations and title hiding must not leak to mobile. */
}

/* 20261111-deskui8: refined blue-family bubbles + desktop hover life. Mobile unchanged. */
@media (min-width: 1024px) {
  html, body, .app {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F3F7FE 55%, #EEF4FC 100%);
    --xb-bubble-border: #B7CFF5;
    --xb-bubble-border-strong: #8FB4EA;
    --xb-bubble-shadow: 0 8px 22px #1e3a8a10, 0 1px 0 #ffffffd4 inset;
    --xb-bubble-shadow-hover: 0 18px 36px #1d4ed822, 0 0 0 1px #60a5fa40, 0 1px 0 #fffffff5 inset;
    --xb-bubble-highlight: #93C5FD99;
    --xb-bubble-radius: 18px;
    --xb-bubble-title: #172033;
    --xb-bubble-body: #475569;
  }

  /* A 住宅IP含网络 — stable network, soft horizontal wash */
  #ipScreen,
  #detailScreen.xb-resip-page {
    --xb-bubble-fill: linear-gradient(90deg, #F9FCFF 0%, #F2F7FF 48%, #EAF3FF 100%);
    --xb-bubble-border: #B4CEF4;
    --xb-bubble-shadow: 0 10px 24px #2563eb14, 0 1px 0 #ffffffd9 inset;
    --xb-bubble-radius: 18px;
  }
  /* B 住宅IP需自备网络 — cleaner, sharper */
  #relayScreen {
    --xb-bubble-fill: #F7FAFF;
    --xb-bubble-border: #A8C4EE;
    --xb-bubble-shadow: 0 4px 14px #1e3a8a10, 0 1px 0 #ffffffee inset;
    --xb-bubble-radius: 15px;
  }
  /* C VPS机房 — firmer equipment */
  #vpsScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F4F7FD 0%, #EEF3FA 100%);
    --xb-bubble-border: #9EBBE8;
    --xb-bubble-shadow: 0 6px 16px #1e3a8a16, 0 1px 0 #ffffffd0 inset;
    --xb-bubble-radius: 14px;
  }
  /* D VPS家宽 — softer than 机房 */
  #broadbandScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F9FCFF 0%, #F3F8FF 62%, #EEF5FF 100%);
    --xb-bubble-border: #C2D6F5;
    --xb-bubble-shadow: 0 14px 30px #2563eb14, 0 1px 0 #fffffff0 inset;
    --xb-bubble-radius: 22px;
  }
  /* E 机场节点 — route / speed cue */
  #airportScreen {
    --xb-bubble-fill: linear-gradient(115deg, #F8FBFF 0%, #F1F6FF 46%, #E8F2FF 100%);
    --xb-bubble-border: #B3CEF3;
    --xb-bubble-shadow: 0 8px 20px #2563eb14, 0 1px 0 #ffffffd6 inset;
    --xb-bubble-radius: 18px;
  }
  /* F 注册账号 — tidy process */
  #accountScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FAFE 0%, #F4F7FC 100%);
    --xb-bubble-border: #C5D6F3;
    --xb-bubble-shadow: 0 6px 16px #2563eb10, 0 1px 0 #ffffffee inset;
    --xb-bubble-radius: 16px;
  }
  /* G 我的账户 / 个人中心 */
  #personalScreen,
  #ownedScreen,
  #rechargeScreen,
  #feedbackScreen,
  #couponScreen,
  #ledgerScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F4F8FF 58%, #EEF4FF 100%);
    --xb-bubble-border: #B9D2F6;
    --xb-bubble-shadow: 0 12px 28px #2563eb16, 0 1px 0 #fffffff0 inset;
    --xb-bubble-radius: 20px;
  }
  #productsScreen,
  #homeScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F3F7FE 100%);
    --xb-bubble-border: #B7CFF5;
    --xb-bubble-shadow: 0 10px 24px #2563eb14, 0 1px 0 #ffffffea inset;
    --xb-bubble-radius: 18px;
  }
  #guideScreen {
    --xb-bubble-fill: linear-gradient(180deg, #F8FBFF 0%, #F3F8FF 100%);
    --xb-bubble-border: #C1D5F5;
    --xb-bubble-shadow: 0 8px 22px #2563eb12, 0 1px 0 #ffffffea inset;
    --xb-bubble-radius: 18px;
  }

  @keyframes xb-desk-bubble-awaken {
    0% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-3px) rotate(-0.28deg); }
    72% { transform: translateY(-1.5px) rotate(0.2deg); }
    100% { transform: translateY(-3px) rotate(0deg); }
  }
  @keyframes xb-desk-bubble-awaken-firm {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-2px) scale(1.008); }
    70% { transform: translateY(-3px) scale(1.003); }
    100% { transform: translateY(-2px) scale(1); }
  }
  @keyframes xb-desk-bubble-awaken-soft {
    0% { transform: translateY(0); }
    55% { transform: translateY(-4px); }
    100% { transform: translateY(-3px); }
  }
  @keyframes xb-desk-speed-sheen {
    0% { transform: translateX(-130%) skewX(-16deg); opacity: 0; }
    28% { opacity: .28; }
    100% { transform: translateX(130%) skewX(-16deg); opacity: 0; }
  }

  /* Refined resting language for first-look home cards + ranking + hub + notices */
  #homeScreen .service-panel .service,
  #homeScreen .recommendation.hot-ranking-card,
  #productsScreen .app-card-grid > .app-card,
  #ownedScreen .owned-title .renewal-reminder,
  #rechargeScreen .recharge-hero,
  #guideScreen .guide-hero,
  #personalScreen .app-card,
  #personalScreen .dashboard-stats > article,
  #personalScreen .account-menu,
  #couponScreen .app-card,
  #ledgerScreen .app-card,
  #feedbackScreen .feedback-form,
  #ipScreen .xb-compact-info,
  #relayScreen .xb-compact-info,
  #vpsScreen .xb-compact-info,
  #broadbandScreen .xb-compact-info,
  #airportScreen .xb-compact-info,
  #accountScreen .xb-compact-info,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section,
  .catalog-plus-card,
  #relayScreen .relay-card,
  #vpsScreen .vps-card,
  #broadbandScreen .vps-card,
  #airportScreen .vps-card,
  #accountScreen .account-card {
    position: relative;
    isolation: isolate;
    border: 1px solid var(--xb-bubble-border);
    border-radius: var(--xb-bubble-radius, 18px);
    background: var(--xb-bubble-fill);
    box-shadow: var(--xb-bubble-shadow);
    color: var(--xb-bubble-body, #475569);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background-color .22s ease;
  }

  #homeScreen .service-panel .service,
  #homeScreen .recommendation.hot-ranking-card,
  #productsScreen .app-card-grid > .app-card,
  .catalog-plus-card,
  #relayScreen .relay-card,
  #vpsScreen .vps-card,
  #broadbandScreen .vps-card,
  #airportScreen .vps-card,
  #accountScreen .account-card {
    overflow: visible;
  }

  #homeScreen .recommendation.hot-ranking-card {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 13px 12px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
  }
  #homeScreen .recommendation.hot-ranking-card[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 1;
  }
  #homeScreen #recommendations {
    overflow: visible;
  }
  #homeScreen .recommendation.hot-ranking-card .consult {
    pointer-events: none;
  }
  #homeScreen .recommendation.hot-ranking-card .catalog-inline-trigger {
    pointer-events: auto;
    position: relative;
    z-index: 8;
  }
  #homeScreen .recommendation.hot-ranking-card.is-menu-open {
    z-index: 20;
    overflow: visible !important;
  }
  #homeScreen .hot-ranking-picker {
    position: absolute !important;
    left: 12px;
    right: 12px;
    top: calc(100% - 4px);
    bottom: auto;
    width: auto;
    z-index: 21;
    pointer-events: auto;
  }
  #homeScreen .hot-ranking-picker .catalog-overlay-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 22;
    max-height: 260px;
    overflow-y: auto;
  }

  /* Dual-edge / inner highlight, no neon. pointer-events none. */
  #homeScreen .service-panel .service::before,
  #homeScreen .recommendation.hot-ranking-card::before,
  #productsScreen .app-card-grid > .app-card::before,
  #ipScreen .xb-compact-info::before,
  #relayScreen .xb-compact-info::before,
  #vpsScreen .xb-compact-info::before,
  #broadbandScreen .xb-compact-info::before,
  #airportScreen .xb-compact-info::before,
  #accountScreen .xb-compact-info::before,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::before,
  #ownedScreen .owned-title .renewal-reminder::before,
  #rechargeScreen .recharge-hero::before,
  #guideScreen .guide-hero::before,
  #personalScreen .app-card::before,
  #personalScreen .dashboard-stats > article::before,
  #couponScreen .app-card::before,
  #ledgerScreen .app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    box-shadow: inset 0 0 0 1px #ffffffa8, inset 0 1px 0 #ffffffef;
    background: linear-gradient(180deg, #ffffff55 0%, transparent 38%);
  }

  #homeScreen .service-panel .service::after,
  #homeScreen .recommendation.hot-ranking-card::after,
  #productsScreen .app-card-grid > .app-card::after,
  #ipScreen .xb-compact-info::after,
  #relayScreen .xb-compact-info::after,
  #vpsScreen .xb-compact-info::after,
  #broadbandScreen .xb-compact-info::after,
  #airportScreen .xb-compact-info::after,
  #accountScreen .xb-compact-info::after,
  #ownedScreen .owned-title .renewal-reminder::after,
  #rechargeScreen .recharge-hero::after,
  #guideScreen .guide-hero::after,
  #personalScreen .app-card::after,
  #personalScreen .dashboard-stats > article::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 2px;
    border-radius: 0 0 2px 2px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, transparent, var(--xb-bubble-highlight), transparent);
    opacity: .7;
  }

  #homeScreen .service-panel .service > *,
  #homeScreen .recommendation.hot-ranking-card > *,
  #productsScreen .app-card-grid > .app-card > * {
    position: relative;
    z-index: 1;
  }

  /* Category structure accents — restrained */
  #ipScreen .xb-compact-info::after,
  #homeScreen .service[data-action="open-ip"]::after {
    background: linear-gradient(90deg, #93c5fd00, #60a5faaa, #93c5fd33, transparent);
  }
  #relayScreen .xb-compact-info {
    box-shadow: var(--xb-bubble-shadow), inset 3px 0 0 #7FA6E8;
  }
  #relayScreen .xb-compact-info::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 2px;
    height: auto;
    border-radius: 0;
    background: #7FA6E8;
    opacity: .85;
  }
  #vpsScreen .xb-compact-info {
    background-image:
      linear-gradient(180deg, #F4F7FD 0%, #EEF3FA 100%),
      linear-gradient(#d7e4f655 1px, transparent 1px),
      linear-gradient(90deg, #d7e4f655 1px, transparent 1px);
    background-size: auto, 18px 18px, 18px 18px;
    background-blend-mode: normal, multiply, multiply;
  }
  #airportScreen .xb-compact-info::after,
  #homeScreen .service[data-action="open-airport"]::after {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #60a5fa00 8%, #3b82f6bb 50%, #60a5fa00 92%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
  }

  /* Unified hover life for clickable cards (not form frames). */
  #homeScreen .service-panel .service:hover,
  #homeScreen .recommendation.hot-ranking-card:hover,
  #productsScreen .app-card-grid > .app-card:hover,
  .catalog-plus-card:not(:disabled):hover,
  #relayScreen .relay-card:hover,
  #vpsScreen .vps-card:hover,
  #broadbandScreen .vps-card:hover,
  #airportScreen .vps-card:hover,
  #accountScreen .account-card:hover {
    border-color: #6F9FE6;
    box-shadow: var(--xb-bubble-shadow-hover);
    animation: xb-desk-bubble-awaken .46s cubic-bezier(.22,.84,.32,1) both;
  }
  #vpsScreen .vps-card:hover,
  #vpsScreen .catalog-plus-card:hover {
    animation-name: xb-desk-bubble-awaken-firm;
    animation-duration: .4s;
    border-color: #5B8FDC;
  }
  #broadbandScreen .vps-card:hover,
  #homeScreen .service[data-action="open-broadband"]:hover {
    animation-name: xb-desk-bubble-awaken-soft;
    animation-duration: .5s;
    border-color: #7AA7E8;
  }
  #relayScreen .relay-card:hover,
  #relayScreen .xb-compact-info:hover,
  #homeScreen .service[data-action="open-relay"]:hover {
    border-color: #4F86D6;
    box-shadow: 0 12px 26px #1e3a8a1c, inset 0 0 0 1px #3b82f655, 0 1px 0 #fff inset;
  }
  #airportScreen .vps-card:hover,
  #homeScreen .service[data-action="open-airport"]:hover {
    border-color: #5B93E3;
  }

  /* Speed-light on airport / route cards only */
  #airportScreen .vps-card:hover::after,
  #homeScreen .service[data-action="open-airport"]:hover::after {
    inset: 0 auto 0 -20%;
    left: -20%;
    width: 36%;
    height: auto;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #93c5fd55, transparent);
    opacity: 1;
    animation: xb-desk-speed-sheen .62s ease-out;
  }

  /* Edge highlight strengthens on 含网络 */
  #homeScreen .service[data-action="open-ip"]:hover,
  #ipScreen .xb-compact-info:hover {
    border-color: #6EA3EC;
    box-shadow: var(--xb-bubble-shadow-hover), 0 0 0 1px #93c5fd55;
  }

  /* Form / account frames: border + shadow only, no wobble */
  #rechargeScreen .recharge-hero:hover,
  #guideScreen .guide-hero:hover,
  #personalScreen .app-card:hover,
  #personalScreen .dashboard-stats > article:hover,
  #personalScreen .account-menu:hover,
  #ownedScreen .owned-title .renewal-reminder:hover,
  #couponScreen .app-card:hover,
  #ledgerScreen .app-card:hover,
  #ipScreen .xb-compact-info:hover,
  #relayScreen .xb-compact-info:hover,
  #vpsScreen .xb-compact-info:hover,
  #broadbandScreen .xb-compact-info:hover,
  #airportScreen .xb-compact-info:hover,
  #accountScreen .xb-compact-info:hover {
    border-color: #7AA7E8;
    box-shadow: var(--xb-bubble-shadow-hover);
  }
  #feedbackScreen .feedback-form:hover {
    border-color: #7AA7E8;
    box-shadow: var(--xb-bubble-shadow-hover);
  }

  /* Icon / plate linkage */
  #homeScreen .service-panel .service .service-icon,
  #homeScreen .recommendation.hot-ranking-card .thumb {
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background .22s ease;
  }
  #homeScreen .service-panel .service:hover .service-icon,
  #homeScreen .recommendation.hot-ranking-card:hover .thumb {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px #2563eb2e, 0 0 0 1px #93c5fd55, inset 0 1px 0 #fff;
    filter: saturate(1.06) brightness(1.04);
  }
  #homeScreen .recommendation.hot-ranking-card h3,
  #productsScreen .app-card-grid > .app-card h2,
  #homeScreen .service-panel .service b {
    color: var(--xb-bubble-title, #172033);
  }
  #homeScreen .recommendation.hot-ranking-card p,
  #homeScreen .service-panel .service small,
  #productsScreen .app-card-grid > .app-card p {
    color: var(--xb-bubble-body, #475569);
  }

  /* Download cards: keep white fill, refine border / hover only */
  #guideScreen .tutorial-videos .guide-card {
    background: #fff;
    border: 1px solid #B7C8E6;
    box-shadow: 0 4px 14px #2563eb0d;
  }
  #guideScreen .tutorial-videos .guide-card:hover {
    border-color: #7AA0D8;
    box-shadow: 0 10px 22px #1d4ed818;
    transform: translateY(-2px);
  }

  /* Keep listing overlays clickable; freeze motion while a menu is open */
  .catalog-plus-card.is-menu-open,
  #homeScreen .recommendation.hot-ranking-card.is-menu-open,
  .relay-card.is-menu-open,
  .vps-card.is-menu-open,
  .airport-plan-card.is-menu-open {
    animation: none !important;
    transform: none !important;
    z-index: 12;
    overflow: visible;
  }

  #personalScreen .dashboard-stats b {
    color: #1D4ED8;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  #homeScreen .service-panel .service:hover,
  #homeScreen .recommendation.hot-ranking-card:hover,
  #productsScreen .app-card-grid > .app-card:hover,
  .catalog-plus-card:not(:disabled):hover,
  #relayScreen .relay-card:hover,
  #vpsScreen .vps-card:hover,
  #broadbandScreen .vps-card:hover,
  #airportScreen .vps-card:hover,
  #accountScreen .account-card:hover,
  #guideScreen .tutorial-videos .guide-card:hover,
  #airportScreen .vps-card:hover::after,
  #homeScreen .service[data-action="open-airport"]:hover::after {
    animation: none !important;
    transform: none !important;
  }
  #homeScreen .service-panel .service:hover .service-icon,
  #homeScreen .recommendation.hot-ranking-card:hover .thumb {
    transform: none !important;
  }
}

@media (max-width: 1023px) {
  /* deskui8 decorations and hover motion must not leak to mobile. */
}

/* 20261112-deskui9: quieter notices, no wobble, no glow bloom, miya cards on the card language. Desktop only. */
@media (min-width: 1024px) {
  html, body, .app {
    /* 20261112-deskui11: replace deskui9 gray notice tokens at the source.
       Chrome (radius, inset highlight, restrained shadow) is reused from
       #personalScreen .app-card / .dashboard-stats > article (deskui8).
       Color is the 清透冰蓝 variant so notices differ from pale-blue-white country cards. */
    --xb-notice-fill: linear-gradient(165deg, #F4FCFF 0%, #EDF8FF 52%, #E4F5FF 100%);
    --xb-notice-border: #93CFEF;
    --xb-notice-shadow: 0 12px 28px #2563eb16, 0 1px 0 #fffffff0 inset;
    --xb-notice-radius: 20px;
    --xb-notice-title: #173D62;
    --xb-notice-body: #405D76;
    --xb-notice-highlight: #93C5FD99;
    --xb-notice-border-hover: #5BAEDC;
    --xb-card-fill: linear-gradient(180deg, #F8FBFF 0%, #F0F6FE 58%, #EAF2FC 100%);
    --xb-card-border: #8FB4EA;
    --xb-card-border-hover: #5B8FDC;
    --xb-card-shadow: 0 4px 12px #1e3a8a14, 0 1px 0 #ffffffee inset;
    --xb-card-shadow-hover: 0 8px 16px #1e3a8a18, 0 2px 6px #0f172a10, 0 1px 0 #fffffff0 inset;
    --xb-card-radius: 18px;
    --xb-bubble-shadow-hover: 0 8px 16px #1e3a8a18, 0 2px 6px #0f172a10, 0 1px 0 #fffffff0 inset;
  }

  /* ---- Task A + D1: unify service-page top notices to the fig1 template, quieter color, no decorations ---- */
  #ipScreen .xb-compact-info,
  #relayScreen .xb-compact-info,
  #vpsScreen .xb-compact-info,
  #broadbandScreen .xb-compact-info,
  #airportScreen .xb-compact-info,
  #accountScreen .xb-compact-info,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 14px;
    padding: 16px 20px 18px;
    border: 1px solid var(--xb-notice-border);
    border-radius: var(--xb-notice-radius);
    background: var(--xb-notice-fill);
    box-shadow: var(--xb-notice-shadow);
    color: var(--xb-notice-body);
    text-align: left;
    transform: none;
    animation: none;
    filter: none;
    transition: none;
  }
  /* 20261112-deskui11: restore the fig1 / 个人中心 bubble chrome that deskui9 had disabled.
     ::before and ::after are copied from #personalScreen .app-card / .dashboard-stats > article
     (ui-theme.css deskui8 inner-edge highlight + top highlight bar). Notices keep their own
     icy fill/border tokens; 个人中心 itself is not retargeted. */
  #ipScreen .xb-compact-info::before,
  #relayScreen .xb-compact-info::before,
  #vpsScreen .xb-compact-info::before,
  #broadbandScreen .xb-compact-info::before,
  #airportScreen .xb-compact-info::before,
  #accountScreen .xb-compact-info::before,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    display: block;
    width: auto;
    height: auto;
    opacity: 1;
    border: 0;
    animation: none;
    transform: none;
    box-shadow: inset 0 0 0 1px #ffffffa8, inset 0 1px 0 #ffffffef;
    background: linear-gradient(180deg, #ffffff55 0%, transparent 38%);
  }
  #ipScreen .xb-compact-info::after,
  #relayScreen .xb-compact-info::after,
  #vpsScreen .xb-compact-info::after,
  #broadbandScreen .xb-compact-info::after,
  #airportScreen .xb-compact-info::after,
  #accountScreen .xb-compact-info::after,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 2px;
    border-radius: 0 0 2px 2px;
    pointer-events: none;
    z-index: 1;
    display: block;
    opacity: .7;
    border: 0;
    animation: none;
    transform: none;
    box-shadow: none;
    background: linear-gradient(90deg, transparent, var(--xb-notice-highlight, #93C5FD99), transparent);
  }
  #ipScreen .xb-compact-info > *,
  #relayScreen .xb-compact-info > *,
  #vpsScreen .xb-compact-info > *,
  #broadbandScreen .xb-compact-info > *,
  #airportScreen .xb-compact-info > *,
  #accountScreen .xb-compact-info > *,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section > * {
    position: relative;
    z-index: 1;
  }
  #ipScreen .xb-compact-info:hover,
  #relayScreen .xb-compact-info:hover,
  #vpsScreen .xb-compact-info:hover,
  #broadbandScreen .xb-compact-info:hover,
  #airportScreen .xb-compact-info:hover,
  #accountScreen .xb-compact-info:hover,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section:hover {
    border-color: var(--xb-notice-border-hover, #5BAEDC);
    box-shadow: var(--xb-notice-shadow);
    transform: none;
    animation: none;
    filter: none;
  }
  #ipScreen .xb-compact-heading h2,
  #relayScreen .xb-compact-heading h2,
  #vpsScreen .xb-compact-heading h2,
  #broadbandScreen .xb-compact-heading h2,
  #airportScreen .xb-compact-heading h2,
  #accountScreen .xb-compact-heading h2,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section .xb-info-section-heading {
    color: var(--xb-notice-title);
    text-align: left;
  }

  /* ---- Task B + C + D: interactive cards — presence at rest, slight scale only, no bloom ---- */
  #homeScreen .service-panel .service,
  #homeScreen .recommendation.hot-ranking-card,
  #productsScreen .app-card-grid > .app-card,
  .catalog-plus-card,
  #relayScreen .relay-card,
  #vpsScreen .vps-card,
  #broadbandScreen .vps-card,
  #airportScreen .vps-card,
  #accountScreen .account-card,
  #ipScreen .miya-isp-card,
  #miyaView .miya-isp-card,
  #detailScreen.xb-resip-page .tier-card {
    border: 1px solid var(--xb-card-border);
    border-radius: var(--xb-card-radius, 18px);
    background: var(--xb-bubble-fill, var(--xb-card-fill));
    box-shadow: var(--xb-card-shadow);
    transform-origin: center center;
    animation: none;
    filter: none;
    transition:
      transform .25s cubic-bezier(.22, .7, .3, 1),
      border-color .22s ease,
      box-shadow .22s ease,
      background-color .22s ease;
  }
  #ipScreen .miya-isp-card,
  #miyaView .miya-isp-card,
  #detailScreen.xb-resip-page .tier-card {
    background: var(--xb-card-fill);
  }

  #homeScreen .service-panel .service:hover,
  #homeScreen .recommendation.hot-ranking-card:hover,
  #productsScreen .app-card-grid > .app-card:hover,
  .catalog-plus-card:not(:disabled):hover,
  #relayScreen .relay-card:hover,
  #vpsScreen .vps-card:hover,
  #broadbandScreen .vps-card:hover,
  #airportScreen .vps-card:hover,
  #accountScreen .account-card:hover,
  #ipScreen .miya-isp-card:not(:disabled):hover,
  #miyaView .miya-isp-card:not(:disabled):hover,
  #detailScreen.xb-resip-page .tier-card:not(:disabled):hover,
  #homeScreen .service[data-action="open-ip"]:hover,
  #homeScreen .service[data-action="open-relay"]:hover,
  #homeScreen .service[data-action="open-broadband"]:hover,
  #homeScreen .service[data-action="open-airport"]:hover,
  #vpsScreen .catalog-plus-card:hover,
  #vpsScreen .vps-card:hover,
  #broadbandScreen .vps-card:hover {
    animation: none !important;
    transform: scale(1.016);
    border-color: var(--xb-card-border-hover);
    box-shadow: var(--xb-card-shadow-hover);
    filter: none;
    z-index: 3;
  }

  /* Kill leftover category hover extras (relay inset glow ring, 含网络 extra ring, airport speed-sheen). */
  #relayScreen .relay-card:hover,
  #homeScreen .service[data-action="open-relay"]:hover {
    box-shadow: var(--xb-card-shadow-hover);
    border-color: var(--xb-card-border-hover);
  }
  #homeScreen .service[data-action="open-ip"]:hover {
    box-shadow: var(--xb-card-shadow-hover);
  }
  #airportScreen .vps-card::after,
  #airportScreen .vps-card:hover::after,
  #homeScreen .service[data-action="open-airport"]::after,
  #homeScreen .service[data-action="open-airport"]:hover::after {
    animation: none !important;
    transform: none !important;
    inset: auto !important;
    left: 14px !important;
    right: 14px !important;
    top: 0 !important;
    bottom: auto !important;
    width: auto !important;
    height: 2px !important;
    border-radius: 0 0 2px 2px !important;
    clip-path: none !important;
    background: linear-gradient(90deg, transparent, var(--xb-bubble-highlight, #93C5FD99), transparent) !important;
    opacity: .7;
  }

  /* Icon / plate: slight lift + brighten only, no blue bloom. */
  #homeScreen .service-panel .service:hover .service-icon,
  #homeScreen .recommendation.hot-ranking-card:hover .thumb {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 2px 6px #1e3a8a14, inset 0 1px 0 #fff;
  }

  /* Form / account / guide frames stay informational: no scale, no fig1 notice template. */
  #rechargeScreen .recharge-hero:hover,
  #guideScreen .guide-hero:hover,
  #personalScreen .app-card:hover,
  #personalScreen .dashboard-stats > article:hover,
  #personalScreen .account-menu:hover,
  #ownedScreen .owned-title .renewal-reminder:hover,
  #couponScreen .app-card:hover,
  #ledgerScreen .app-card:hover,
  #feedbackScreen .feedback-form:hover {
    transform: none;
    animation: none;
    filter: none;
  }

  /* Download cards: white fill, slight scale, no wobble. */
  #guideScreen .tutorial-videos .guide-card {
    background: #fff;
    border: 1px solid #B7C8E6;
    box-shadow: 0 4px 12px #1e3a8a0d;
    transform-origin: center center;
    transition: transform .25s cubic-bezier(.22, .7, .3, 1), border-color .22s ease, box-shadow .22s ease;
  }
  #guideScreen .tutorial-videos .guide-card:hover {
    animation: none !important;
    transform: scale(1.015);
    border-color: #7AA0D8;
    box-shadow: 0 6px 14px #1e3a8a14;
    background: #fff;
    z-index: 3;
  }

  /* OOS / disabled listing cards keep bubble presence, but do not scale (still clearly unavailable). */
  .catalog-plus-card:disabled,
  .catalog-plus-card[aria-disabled="true"],
  #ipScreen .miya-isp-card:disabled,
  #ipScreen .miya-isp-card[aria-disabled="true"],
  #miyaView .miya-isp-card:disabled,
  #miyaView .miya-isp-card[aria-disabled="true"] {
    background: #F4F7FB;
    border: 1px solid #B8C7DC;
    box-shadow: 0 2px 8px #1e3a8a0d, 0 1px 0 #ffffffee inset;
    transform: none;
    animation: none;
    filter: none;
    opacity: 1;
  }
  .catalog-plus-card:disabled:hover,
  .catalog-plus-card[aria-disabled="true"]:hover,
  #ipScreen .miya-isp-card:disabled:hover,
  #ipScreen .miya-isp-card[aria-disabled="true"]:hover,
  #miyaView .miya-isp-card:disabled:hover,
  #miyaView .miya-isp-card[aria-disabled="true"]:hover {
    transform: none !important;
    animation: none !important;
    border-color: #A7B9D2;
    box-shadow: 0 2px 8px #1e3a8a0d, 0 1px 0 #ffffffee inset;
    z-index: auto;
  }

  /* Keep pickers usable: no transform while a menu is open. */
  .catalog-plus-card.is-menu-open,
  #homeScreen .recommendation.hot-ranking-card.is-menu-open,
  .relay-card.is-menu-open,
  .vps-card.is-menu-open,
  .airport-plan-card.is-menu-open,
  #ipScreen .miya-isp-card.is-menu-open {
    animation: none !important;
    transform: none !important;
    z-index: 12;
    overflow: visible;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  #homeScreen .service-panel .service:hover,
  #homeScreen .recommendation.hot-ranking-card:hover,
  #productsScreen .app-card-grid > .app-card:hover,
  .catalog-plus-card:not(:disabled):hover,
  #relayScreen .relay-card:hover,
  #vpsScreen .vps-card:hover,
  #broadbandScreen .vps-card:hover,
  #airportScreen .vps-card:hover,
  #accountScreen .account-card:hover,
  #ipScreen .miya-isp-card:not(:disabled):hover,
  #miyaView .miya-isp-card:not(:disabled):hover,
  #detailScreen.xb-resip-page .tier-card:not(:disabled):hover,
  #guideScreen .tutorial-videos .guide-card:hover,
  #homeScreen .service-panel .service:hover .service-icon,
  #homeScreen .recommendation.hot-ranking-card:hover .thumb {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1023px) {
  /* 20261112-deskui9 decorations and hover motion must not leak to mobile. */
}


/* 20261112-deskui11: supplier notices reuse 个人中心 bubble chrome with a 清透冰蓝 color variant.
   Shared shell is the real #personalScreen .app-card / .dashboard-stats > article language
   (20px radius, 1px stroke, inset highlight, restrained inset+drop shadow, top highlight bar).
   Color tokens are notice-only so 个人中心 and country/service cards stay on their existing fills.
   Desktop only. Copy, catalog, and order math are unchanged. */
@media (min-width: 1024px) {
  html, body, .app {
    --xb-notice-fill: linear-gradient(165deg, #F4FCFF 0%, #EDF8FF 52%, #E4F5FF 100%);
    --xb-notice-border: #93CFEF;
    --xb-notice-shadow: 0 12px 28px #2563eb16, 0 1px 0 #fffffff0 inset;
    --xb-notice-radius: 20px;
    --xb-notice-title: #173D62;
    --xb-notice-body: #405D76;
    --xb-notice-highlight: #93C5FD99;
    --xb-notice-border-hover: #5BAEDC;
  }

  #ipScreen .xb-compact-info,
  #relayScreen .xb-compact-info,
  #vpsScreen .xb-compact-info,
  #broadbandScreen .xb-compact-info,
  #airportScreen .xb-compact-info,
  #accountScreen .xb-compact-info,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 14px;
    padding: 16px 20px 18px;
    border: 1px solid var(--xb-notice-border);
    border-radius: var(--xb-notice-radius);
    background: var(--xb-notice-fill);
    box-shadow: var(--xb-notice-shadow);
    color: var(--xb-notice-body);
    text-align: left;
    transform: none;
    animation: none;
    filter: none;
    transition: border-color .22s ease, box-shadow .22s ease;
  }

  #ipScreen .xb-compact-info::before,
  #relayScreen .xb-compact-info::before,
  #vpsScreen .xb-compact-info::before,
  #broadbandScreen .xb-compact-info::before,
  #airportScreen .xb-compact-info::before,
  #accountScreen .xb-compact-info::before,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    display: block;
    width: auto;
    height: auto;
    opacity: 1;
    border: 0;
    animation: none;
    transform: none;
    box-shadow: inset 0 0 0 1px #ffffffa8, inset 0 1px 0 #ffffffef;
    background: linear-gradient(180deg, #ffffff55 0%, transparent 38%);
  }

  #ipScreen .xb-compact-info::after,
  #relayScreen .xb-compact-info::after,
  #vpsScreen .xb-compact-info::after,
  #broadbandScreen .xb-compact-info::after,
  #airportScreen .xb-compact-info::after,
  #accountScreen .xb-compact-info::after,
  #detailScreen.xb-resip-page .detail-card > .xb-required-section::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 2px;
    border-radius: 0 0 2px 2px;
    pointer-events: none;
    z-index: 1;
    display: block;
    opacity: .7;
    border: 0;
    animation: none;
    transform: none;
    box-shadow: none;
    background: linear-gradient(90deg, transparent, var(--xb-notice-highlight, #93C5FD99), transparent);
  }
}

@media (max-width: 1023px) {
  /* 20261112-deskui11: supplier-notice icy chrome must not leak to mobile. */
}

/* 20261112-deskui10: serve resip pricing preview.css from qa-artifacts/resip-pricing-preview/preview.css. Same whitelist reason as the JS copy. Unchanged widget rules; not wrapped in a desktop-only query because the original sheet was global. */
/* Resip.net/pricing template — soft slate cards (#12161f) + vertical ISP stack (preview only, not deployed) */
.xb-resip-pricing{
  --xb-resip-bg:#12161f;
  --xb-resip-fg:#f1f5f9;
  --xb-resip-muted:#94a3b8;
  --xb-resip-border:rgba(255,255,255,.08);
  --xb-resip-soft:rgba(255,255,255,.04);
  padding:10px 0 22px;
  color:var(--xb-resip-fg);
}
.xb-resip-pricing-head{text-align:center;margin:0 0 18px}
.xb-resip-pricing-head .eyebrow{
  font-size:11px;font-weight:700;letter-spacing:2.5px;color:#60a5fa;text-transform:uppercase
}
.xb-resip-pricing-head h1{margin:8px 0 6px;font-size:24px;color:#0a1b4e;letter-spacing:-.02em}
.xb-resip-pricing-head p{margin:0;font-size:13px;color:#6f7c9d}
.xb-resip-grid{
  display:grid;gap:16px;grid-template-columns:1fr;
  max-width:1280px;margin:0 auto;
}
@media (min-width:960px){
  .xb-resip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
}
/* Keep SPA detail width close to resip max-w-[1280px] — not ultra-wide */
#detailContent .detail-wrap:has(#xbResipPricingHost),
#detailContent .detail-wrap:has(.xb-resip-pricing){
  max-width:min(1280px,100%);
  width:100%;
  padding:10px 10px 24px;
}
#detailContent .detail-card:has(#xbResipPricingHost),
#detailContent .detail-card:has(.xb-resip-pricing){
  padding:8px 6px 14px!important;
  max-width:none;
  background:transparent;
  border:0;
  box-shadow:none;
}

/* 20261110-miya-livewhite1: page canvas around resip pricing title matches miya white */
#detailScreen:has(#xbResipPricingHost),
#detailScreen:has(.xb-resip-pricing),
#detailScreen:has(#xbResipPricingHost) .page-header,
#detailScreen:has(.xb-resip-pricing) .page-header,
#detailContent:has(#xbResipPricingHost),
#detailContent:has(.xb-resip-pricing),
#detailContent .detail-wrap:has(#xbResipPricingHost),
#detailContent .detail-wrap:has(.xb-resip-pricing){
  background:#ffffff;
}

.xb-resip-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  border-radius:16px;
  padding:16px 14px 18px;
  background:
    linear-gradient(var(--xb-resip-bg),var(--xb-resip-bg)) padding-box,
    var(--xb-card-grad) border-box;
  border:2px solid transparent;
  color:var(--xb-resip-fg);
  box-shadow:0 16px 36px rgba(15,23,42,.18);
}
@media (min-width:640px){
  .xb-resip-card{border-radius:20px;padding:22px 20px 24px}
}
.xb-resip-card[data-tier="pro"]{
  --xb-card-grad:linear-gradient(135deg,#3b82f6,#06b6d4,#8b5cf6,#3b82f6);
  --xb-accent:#3b82f6;
  --xb-accent-soft:rgba(59,130,246,.10);
  --xb-accent-text:#60a5fa;
  --xb-accent-border:rgba(59,130,246,.35);
  --xb-cta:linear-gradient(90deg,#3b82f6,#2563eb);
}
.xb-resip-card[data-tier="max"]{
  --xb-card-grad:linear-gradient(135deg,#10b981,#14b8a6,#06b6d4,#10b981);
  --xb-accent:#10b981;
  --xb-accent-soft:rgba(16,185,129,.10);
  --xb-accent-text:#34d399;
  --xb-accent-border:rgba(16,185,129,.35);
  --xb-cta:linear-gradient(90deg,#10b981,#059669);
}
.xb-resip-card[data-tier="ultra"]{
  --xb-card-grad:linear-gradient(135deg,#8b5cf6,#ec4899,#60a5fa,#8b5cf6);
  --xb-accent:#a855f7;
  --xb-accent-soft:rgba(168,85,247,.10);
  --xb-accent-text:#c084fc;
  --xb-accent-border:rgba(168,85,247,.35);
  --xb-cta:linear-gradient(90deg,#a855f7,#db2777);
}

/* Popular badge slot kept for optional use; Max remains without it per Bai Xiao */
.xb-resip-badge{
  position:absolute;top:-12px;left:18px;z-index:2;
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 12px;border-radius:999px;
  border:1px solid rgba(16,185,129,.3);
  background:rgba(2,44,34,.85);
  color:#6ee7b7;font-size:11px;font-weight:700;
  backdrop-filter:blur(8px);
  box-shadow:0 8px 20px rgba(16,185,129,.2);
}
.xb-resip-badge i{width:7px;height:7px;border-radius:50%;background:linear-gradient(90deg,#34d399,#2dd4bf);display:inline-block}

.xb-resip-card-body{display:flex;flex-direction:column;flex:1;min-height:0}
.xb-resip-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 6px}
.xb-resip-card-title h2{margin:0;font-size:18px;font-weight:800;color:#fff;letter-spacing:-.01em}
@media (min-width:640px){.xb-resip-card-title h2{font-size:20px}}
.xb-resip-card-title h2 span{color:var(--xb-accent-text);font-weight:700}
.xb-resip-pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:3px 9px;border-radius:8px;
  border:1px solid rgba(16,185,129,.22);
  background:rgba(16,185,129,.06);
  font-size:11px;font-weight:600;color:#6ee7b7;
}
.xb-resip-pill i{width:6px;height:6px;border-radius:50%;background:#34d399}
.xb-resip-desc{margin:0;font-size:12.5px;color:var(--xb-resip-muted);line-height:1.55}
.xb-resip-meta{margin:8px 0 14px;font-size:11.5px;color:var(--xb-accent-text);line-height:1.55}

.xb-resip-price{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.xb-resip-price .num{font-size:36px;font-weight:800;line-height:1;color:#fff;font-variant-numeric:tabular-nums}
.xb-resip-price .curr{font-size:17px;font-weight:700;color:#fff;margin-right:2px}
.xb-resip-price .unit{font-size:12px;color:var(--xb-resip-muted);margin-bottom:5px}
.xb-resip-chips{display:flex;gap:6px;flex-wrap:wrap}
.xb-resip-chip{
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 8px;border-radius:8px;
  border:1px solid var(--xb-accent-border);
  background:var(--xb-accent-soft);
  color:var(--xb-accent-text);
  font-size:10px;font-weight:700;
}

.xb-resip-step{margin:0 0 12px}
.xb-resip-step label{
  display:block;margin:0 0 7px;
  font-size:11px;font-weight:700;color:var(--xb-resip-muted);
}

/* Region + ISP: vertical stack, one per line (resip long labels) */
.xb-resip-opts{
  display:flex;flex-direction:column;gap:6px;
}
.xb-resip-opt{
  appearance:none;width:100%;
  position:relative;
  border:1px solid var(--xb-resip-border);
  background:rgba(255,255,255,.03);
  color:var(--xb-resip-muted);
  border-radius:10px;
  padding:8px 10px;
  font-size:11px;font-weight:600;line-height:1.35;
  cursor:pointer;text-align:left;
  transition:border-color .15s,background .15s,color .15s,box-shadow .15s;
}
.xb-resip-opt:hover{border-color:rgba(255,255,255,.16);color:#e2e8f0}
.xb-resip-opt.active{
  border-color:var(--xb-accent);
  background:var(--xb-accent-soft);
  color:var(--xb-accent-text);
  box-shadow:0 0 10px color-mix(in srgb, var(--xb-accent) 18%, transparent);
}
.xb-resip-opt:disabled,.xb-resip-opt.sold{opacity:.45;cursor:not-allowed}
.xb-resip-sold{
  margin-left:6px;padding:1px 5px;border-radius:4px;
  background:rgba(239,68,68,.15);color:#f87171;font-size:9px;font-weight:700
}
.xb-resip-region{display:inline-flex;align-items:center;gap:8px}
.xb-resip-region .flag{font-size:14px}

.xb-resip-select{
  width:100%;
  border:1px solid var(--xb-resip-border);
  border-radius:12px;
  background:#161b26;
  color:#e2e8f0;
  padding:10px 12px;
  font-size:12.5px;font-weight:650;
}
.xb-resip-select:focus{
  outline:2px solid color-mix(in srgb, var(--xb-accent) 45%, transparent);
  border-color:var(--xb-accent);
}
.xb-resip-select option{background:#12161f;color:#e2e8f0}

.xb-resip-periods{
  display:flex;gap:4px;padding:3px;
  border:1px solid var(--xb-resip-border);
  border-radius:12px;background:rgba(255,255,255,.03);
}
.xb-resip-period{
  position:relative;flex:1;border:0;background:transparent;
  border-radius:9px;padding:9px 2px;
  font-size:11px;font-weight:700;color:var(--xb-resip-muted);cursor:pointer;
}
.xb-resip-period.active{
  background:var(--xb-accent);color:#fff;
  box-shadow:0 6px 14px color-mix(in srgb, var(--xb-accent) 35%, transparent);
}
.xb-resip-save{
  position:absolute;top:-8px;right:2px;
  padding:1px 5px;border-radius:4px;
  background:rgba(16,185,129,.18);color:#34d399;
  font-size:8px;font-weight:700;white-space:nowrap;
}

.xb-resip-card-tail{margin-top:auto}
.xb-resip-buy{
  margin-top:4px;width:100%;border:0;border-radius:12px;
  padding:12px 14px;font-size:14px;font-weight:750;color:#fff;cursor:pointer;
  background:var(--xb-cta);
  box-shadow:0 10px 22px color-mix(in srgb, var(--xb-accent) 28%, transparent);
  transition:transform .15s,opacity .15s;
}
.xb-resip-buy:hover{transform:translateY(-1px)}
.xb-resip-buy:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}

/* Footer tip under CTA — match resip copy */
.xb-resip-foot{
  margin:10px 0 0;text-align:center;
  font-size:10px;color:var(--xb-resip-muted);line-height:1.4;
}

.xb-resip-note{
  margin:16px auto 0;max-width:1280px;
  padding:12px 14px;border-radius:12px;
  background:#f4f7ff;border:1px solid #e0e8fb;color:#445277;
  font-size:12px;line-height:1.5;
}

@media (max-width:959px){
  .xb-resip-pricing-head h1{font-size:20px}
  .xb-resip-price .num{font-size:32px}
}

/* Out-of-stock: badge in the bottom-right corner INSIDE the ISP card. */
.xb-resip-opt.is-oos{
  padding-bottom:22px;
}
.xb-resip-oos-label{
  position:absolute;
  right:8px;
  bottom:5px;
  margin:0;
  padding:0;
  border:0;
  background:none;
  color:#f87171;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1;
  white-space:nowrap;
  pointer-events:none;
}

/* Gray package/period/buy when the selected combo is out of stock.
   Package and period stay clickable for viewing; only the buy button is disabled. */
.xb-resip-card.is-oos .xb-resip-pack-step,
.xb-resip-card.is-oos .xb-resip-select{
  opacity:.48;
  filter:grayscale(.25);
  color:#94a3b8;
}
.xb-resip-card.is-oos .xb-resip-select{
  cursor:pointer;
  pointer-events:auto;
}
.xb-resip-card.is-oos .xb-resip-period-step,
.xb-resip-card.is-oos .xb-resip-periods,
.xb-resip-card.is-oos .xb-resip-period{
  opacity:.55;
  filter:grayscale(.35);
}
.xb-resip-card.is-oos .xb-resip-period{
  cursor:pointer;
  pointer-events:auto;
}
.xb-resip-card.is-oos .xb-resip-period.active{
  background:#64748b;
  color:#e2e8f0;
  box-shadow:none;
}
.xb-resip-card.is-oos .xb-resip-buy,
.xb-resip-card.is-oos .xb-resip-buy:disabled{
  opacity:.4;
  filter:grayscale(.4);
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
  background:#64748b;
  color:#e2e8f0;
}

/* 20261112-deskui12: desktop-only temporary focus for a ranking-located listing card. */
@media (min-width: 1024px) {
  #ipScreen .miya-isp-card,
  #ipScreen .tier-card,
  #relayScreen .relay-card,
  #vpsScreen .vps-card,
  #broadbandScreen .broadband-product-card,
  #airportScreen .airport-plan-card,
  #accountScreen .account-card,
  #detailScreen .xb-resip-card {
    transition: border-color .35s ease, box-shadow .35s ease;
  }
  #ipScreen .miya-isp-card.hot-ranking-focus,
  #ipScreen .tier-card.hot-ranking-focus,
  #relayScreen .relay-card.hot-ranking-focus,
  #vpsScreen .vps-card.hot-ranking-focus,
  #broadbandScreen .broadband-product-card.hot-ranking-focus,
  #airportScreen .airport-plan-card.hot-ranking-focus,
  #accountScreen .account-card.hot-ranking-focus,
  #detailScreen .xb-resip-card.hot-ranking-focus {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-color: #2F7FE8;
    box-shadow: 0 0 0 2px #3B82F6, 0 4px 8px #2563eb33, inset 0 1px 0 #ffffffd9;
    outline: none;
    transform: none;
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  #ipScreen .miya-isp-card,
  #ipScreen .tier-card,
  #relayScreen .relay-card,
  #vpsScreen .vps-card,
  #broadbandScreen .broadband-product-card,
  #airportScreen .airport-plan-card,
  #accountScreen .account-card,
  #detailScreen .xb-resip-card,
  #ipScreen .miya-isp-card.hot-ranking-focus,
  #relayScreen .relay-card.hot-ranking-focus,
  #vpsScreen .vps-card.hot-ranking-focus,
  #broadbandScreen .broadband-product-card.hot-ranking-focus,
  #airportScreen .airport-plan-card.hot-ranking-focus,
  #accountScreen .account-card.hot-ranking-focus,
  #detailScreen .xb-resip-card.hot-ranking-focus {
    transition: none;
  }
}
/* 20261112-deskui13: desktop-only logo, recharge emphasis, QR popover, and button states. Mobile unchanged. */
@media (min-width: 1024px) {
  /* Fig1 — logo area stays white. Native appearance:auto was painting #FFF4E6 on hover/active. */
  .xb-desktop-sidebar .xb-sidebar-brand,
  .xb-desktop-sidebar .xb-sidebar-brand:hover,
  .xb-desktop-sidebar .xb-sidebar-brand:active,
  .xb-desktop-sidebar .xb-sidebar-brand:focus,
  body.xb-sidebar-collapsed .xb-desktop-sidebar .xb-sidebar-brand,
  body.xb-sidebar-collapsed .xb-desktop-sidebar .xb-sidebar-brand:hover,
  body.xb-sidebar-collapsed .xb-desktop-sidebar .xb-sidebar-brand:active,
  body.xb-sidebar-collapsed .xb-desktop-sidebar .xb-sidebar-brand:focus {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    background-color: #fff;
    background-image: none;
    color: inherit;
    box-shadow: none;
    filter: none;
    border: 0;
    border-bottom: 1px solid var(--xb-line);
    border-radius: 0;
    transition: none;
  }
  .xb-desktop-sidebar .xb-sidebar-brand:focus-visible {
    outline: 3px solid var(--xb-focus);
    outline-offset: 3px;
  }

  /* Fig2 — only the specified substring is red. */
  #rechargeScreen .recharge-proof-emphasis {
    color: #E5484D;
  }

  /* Fig3/Fig4 — capsule tabs inside a unified rounded popover; restrained shadow; no decorative leak. */
  #desktopQrPopover.desktop-qr-popover {
    height: auto;
    max-height: calc(100vh - 24px);
    overflow: visible;
    padding: 16px;
    border: 1px solid #B9D2F6;
    border-radius: 20px;
    background: #fff;
    color: var(--xb-navy);
    box-shadow: 0 8px 24px rgba(16, 37, 70, 0.10);
    gap: 18px;
  }
  #desktopQrPopover.desktop-qr-popover::before,
  #desktopQrPopover.desktop-qr-popover::after {
    content: none;
    display: none;
    box-shadow: none;
    background: none;
  }
  #desktopQrPopover .desktop-qr-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 40px;
    margin: 0 auto;
    padding: 3px;
    box-sizing: border-box;
    overflow: visible;
    gap: 2px;
    border: 1px solid #D7E4F4;
    border-radius: 100px;
    background: #EDF3FA;
  }
  #desktopQrPopover .desktop-qr-tabs button {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    color: var(--xb-subtle);
    border: 1px solid transparent;
    border-radius: 100px;
    box-shadow: none;
    transform: none;
    gap: 6px;
    padding: 4px 8px;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  #desktopQrPopover .desktop-qr-tabs button:hover:not(.active) {
    background: #E2EEFB;
    border-color: #9BC2EA;
    color: #1d4ed8;
  }
  #desktopQrPopover .desktop-qr-tabs button:active:not(.active) {
    background: #D0E4F8;
    border-color: #7AA7E8;
    color: #163EAE;
  }
  #desktopQrPopover .desktop-qr-tabs button.active {
    background: #fff;
    color: var(--xb-navy);
    border-color: #C5D8F0;
    box-shadow: 0 1px 2px rgba(16, 37, 70, 0.10);
  }
  #desktopQrPopover .desktop-qr-tabs button.active:hover,
  #desktopQrPopover .desktop-qr-tabs button.active:active {
    background: #fff;
    border-color: #9BC2EA;
    color: var(--xb-navy);
  }
  #desktopQrPopover .desktop-qr-content {
    width: 100%;
    height: auto;
    min-height: 148px;
    overflow: visible;
  }
  #desktopQrPopover .desktop-qr-content img {
    width: 165px;
    height: 165px;
    max-width: 100%;
  }
  #desktopQrPopover .desktop-qr-content .qr-empty-region {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 148px;
    padding: 16px 12px;
    color: #405D76;
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
  }

  /* Fig5 / Fig6 — explicit deepen states, never opacity on the whole button. */
  #personalScreen .secondary-action,
  #personalScreen .owned-button:not(.orange):not(.danger),
  #personalScreen .owned-button.orange,
  #ownedDetailScreen .owned-button.orange[data-action="renew-service"],
  #serviceDetailScreen .owned-button.orange[data-action="renew-service"] {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  #personalScreen .secondary-action:not(:disabled):hover,
  #personalScreen .owned-button:not(.orange):not(.danger):not(:disabled):hover {
    background: #E8F2FF;
    background-color: #E8F2FF;
    border-color: #7AA7E8;
    color: #1d4ed8;
    box-shadow: none;
  }
  #personalScreen .secondary-action:not(:disabled):active,
  #personalScreen .owned-button:not(.orange):not(.danger):not(:disabled):active {
    background: #D7E8FF;
    background-color: #D7E8FF;
    border-color: #5B8FDC;
    color: #163EAE;
  }

  #personalScreen .owned-button.orange:not(:disabled):hover,
  #ownedDetailScreen .owned-button.orange[data-action="renew-service"]:not(:disabled):hover,
  #serviceDetailScreen .owned-button.orange[data-action="renew-service"]:not(:disabled):hover {
    background: #D5E6FF;
    background-color: #D5E6FF;
    border-color: #7AA7E8;
    color: #163EAE;
    box-shadow: none;
  }
  #personalScreen .owned-button.orange:not(:disabled):active,
  #ownedDetailScreen .owned-button.orange[data-action="renew-service"]:not(:disabled):active,
  #serviceDetailScreen .owned-button.orange[data-action="renew-service"]:not(:disabled):active {
    background: #BFD8FF;
    background-color: #BFD8FF;
    border-color: #4F86D6;
    color: #12378F;
  }

  #personalScreen .secondary-action:disabled:hover,
  #personalScreen .owned-button:disabled:hover,
  #ownedDetailScreen .owned-button.orange[data-action="renew-service"]:disabled:hover,
  #serviceDetailScreen .owned-button.orange[data-action="renew-service"]:disabled:hover {
    background: inherit;
    border-color: inherit;
    color: inherit;
  }
}

@media (max-width: 1023px) {
  /* deskui13 desktop styles must not leak to mobile, including the recharge emphasis color. */
  #rechargeScreen .recharge-proof-emphasis {
    color: inherit;
    font-weight: inherit;
  }
}

/* 20261112-deskui15: inset the whole QR capsule bar; enlarge desktop scan QR images. Mobile unchanged. */
@media (min-width: 1024px) {
  #desktopQrPopover .desktop-qr-tabs button,
  #desktopQrPopover .desktop-qr-tabs button > span:last-child {
    white-space: nowrap;
    flex: none;
  }
  #rechargeScanPanel .recharge-scan-shared-proof-hint {
    display: block;
    margin: 0 0 18px;
    color: var(--xb-subtle, #51647b);
    line-height: 1.7;
  }
  #rechargeScanPanel .recharge-scan-shared-proof-hint .recharge-proof-emphasis,
  #rechargeScreen .recharge-scan-shared-proof-hint .recharge-proof-emphasis {
    color: #E5484D;
  }
  #rechargeScanPanel[data-active-payment] .recharge-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 8px;
  }
  #rechargeScanPanel[data-active-payment] .recharge-payment {
    display: none;
    width: min(100%, 440px);
    margin: 0 auto;
    opacity: 1;
    transition: opacity 180ms ease;
  }
  #rechargeScanPanel[data-active-payment="alipay"] .recharge-payments .recharge-payment:nth-child(2),
  #rechargeScanPanel[data-active-payment="wechat"] .recharge-payments .recharge-payment:nth-child(1) {
    display: flex;
    flex-direction: column;
  }
  #rechargeScanPanel[data-active-payment] .recharge-payment > p {
    display: none;
  }
  #rechargeScanPanel[data-active-payment] .recharge-code {
    width: min(100%, 300px);
    max-width: 300px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    margin-top: 8px;
    margin-bottom: 16px;
  }
  #rechargeScanPanel[data-active-payment] .recharge-upload {
    width: 100%;
    box-sizing: border-box;
  }
  #rechargeScanPanel.is-platform-fading[data-active-payment] .recharge-payment {
    opacity: 0;
  }
  #rechargeScanPanel .recharge-platform-switch-row {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin: 14px 0 0;
  }
  #rechargeScanPanel .recharge-switch-platform {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: #E8F2FF;
    color: #2B6CB0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: none;
    transition: color 180ms ease, background-color 180ms ease;
  }
  #rechargeScanPanel .recharge-switch-platform:hover {
    background: #D7E8FF;
    color: #163EAE;
  }
  #rechargeScanPanel .recharge-switch-platform:active {
    background: #C5DCFF;
    color: #12378F;
  }
  #rechargeScanPanel .recharge-switch-platform:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}
@media (max-width: 1023px) {
  #rechargeScanPanel .recharge-scan-shared-proof-hint {
    display: none !important;
  }
  #rechargeScanPanel .recharge-platform-switch-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    margin: 14px 0 16px;
    padding: 0;
  }
  #rechargeScanPanel .recharge-switch-platform,
  #rechargeScanPanel [data-switch-recharge-platform] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #7EB0E8;
    border-radius: 14px;
    background: #E8F2FF;
    color: #1B5FBF;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }
  #rechargeScanPanel .recharge-switch-platform:hover,
  #rechargeScanPanel .recharge-switch-platform:active {
    background: #C5DCFF;
    color: #12378F;
    border-color: #4F8FD6;
  }
  #rechargeScanPanel .recharge-switch-platform:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  body:not(.admin-console) #rechargeScreen .recharge-panel {
    padding-bottom: 12px;
  }
  body:not(.admin-console) #rechargeScreen {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  body:not(.admin-console) #ownedDetailScreen .owned-page {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== 20261112-mobi1: first-round mobile adaptation (max-width: 1023px only). Desktop ≥1024 stays deskui19. ===== */
@media (max-width: 1023px) {
  :where(body.admin-console) {
    --xb-mobi-topbar: 60px;
    --xb-mobi-drawer: min(86vw, 320px);
    --xb-mobi-offset: calc(var(--xb-mobi-topbar) + env(safe-area-inset-top, 0px));
  }
  body:where(.admin-console), body:where(.admin-console) {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  body:where(.admin-console).xb-mobile-nav-open,
  body:where(.admin-console).xb-admin-nav-open {
    overflow: hidden;
  }
  :where(body.admin-console) #mobileTabs.mobile-tabs {
    display: none;
  }
  :where(body.admin-console) .app {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding-top: var(--xb-mobi-offset);
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  :where(body.admin-console) .app-topbar {
    left: 0;
    right: 0;
    top: 0;
    height: var(--xb-mobi-offset);
    min-height: var(--xb-mobi-offset);
    padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 8px 10px;
    box-sizing: border-box;
    overflow: visible;
    z-index: 40;
    gap: 8px;
  }
  :where(body.admin-console) .app-topbar > .brand-button {
    display: inline-flex;
    align-items: center;
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  :where(body.admin-console) .app-topbar .brand-logo {
    width: 86px;
    height: 33px;
  }
  :where(body.admin-console) .app-topbar > .desktop-page-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  :where(body.admin-console) #customerNav.bottom-nav.customer-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    height: var(--xb-mobi-offset) !important;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 8px 6px 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 45;
    overflow: visible !important;
  }
  :where(body.admin-console) #customerNav .feedback-nav,
  :where(body.admin-console) #customerNav .wallet-pill {
    display: none !important;
  }
  :where(body.admin-console) #customerNav .mail-button,
  :where(body.admin-console) #customerNav .customer-avatar,
  :where(body.admin-console) #customerNav .xb-mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    flex: none;
  }
  :where(body.admin-console) #customerNav .customer-avatar.membership-avatar,
  :where(body.admin-console) #customerNav .customer-avatar {
    width: 36px;
    height: 36px;
    min-height: 0;
    font-size: 13px;
  }
  :where(body.admin-console) .xb-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #d7e3f4;
    border-radius: 10px;
    background: #fff;
    color: #1d4f91;
    cursor: pointer;
    box-shadow: none;
  }
  :where(body.admin-console) .xb-mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
  }
  :where(body.admin-console) .xb-mobile-nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    padding: 0;
    margin: 0;
    background: #17203366;
    cursor: pointer;
  }
  body:where(.admin-console).xb-mobile-nav-open .xb-mobile-nav-mask,
  body:where(.admin-console).xb-admin-nav-open .xb-mobile-nav-mask {
    display: block;
  }
  :where(body.admin-console) .desktop-sidebar.xb-desktop-sidebar,
  :where(body.admin-console) .xb-desktop-sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--xb-mobi-drawer);
    max-width: calc(100vw - 36px);
    height: 100dvh;
    height: 100%;
    z-index: 80;
    gap: 0;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px max(16px, env(safe-area-inset-bottom, 0px));
    border-right: 1px solid var(--xb-line, #dbe4f0);
    background: #fff;
    color: var(--xb-navy, #172033);
    overflow: hidden;
    transform: translateX(-105%);
    transition: transform .24s ease-out;
    box-shadow: none;
  }
  body:where(.admin-console).xb-mobile-nav-open .desktop-sidebar.xb-desktop-sidebar,
  body:where(.admin-console).xb-mobile-nav-open .xb-desktop-sidebar {
    transform: translateX(0);
    box-shadow: 8px 0 28px #17203322;
  }
  body:where(.admin-console).xb-sidebar-collapsed .xb-desktop-sidebar {
    width: var(--xb-mobi-drawer);
    padding-inline: 14px;
  }
  body:where(.admin-console).xb-sidebar-collapsed .xb-desktop-sidebar .xb-sidebar-text,
  body:where(.admin-console).xb-sidebar-collapsed .xb-desktop-sidebar .desktop-nav-caption,
  body:where(.admin-console).xb-sidebar-collapsed .xb-sidebar-group-toggle::after {
    display: initial;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-toggle {
    display: none;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    min-height: 56px;
    margin-bottom: 8px;
    padding: 0 4px 10px;
    border: 0;
    border-bottom: 1px solid var(--xb-line, #dbe4f0);
    background: transparent;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-brand .xb-brand-full,
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-brand .brand-logo {
    width: 160px;
    height: 62px;
  }
  :where(body.admin-console) .xb-sidebar-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  :where(body.admin-console) .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link, .xb-sidebar-group-toggle, [data-action], [data-admin-module]) {
    min-height: 44px;
  }
  :where(body.admin-console) .xb-mobile-drawer-account {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 14px;
    padding: 12px;
    border: 1px solid #d7e6f6;
    border-radius: 14px;
    background: #f5f9ff;
  }
  :where(body.admin-console) .xb-mobile-drawer-account .wallet-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 0;
    background: transparent;
  }
  :where(body.admin-console) .xb-mobile-drawer-account .wallet-recharge,
  :where(body.admin-console) .xb-mobile-drawer-account .feedback-nav {
    min-height: 44px;
    min-width: 44px;
  }
  :where(body.admin-console) .xb-mobile-drawer-account .feedback-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    color: #1d4f91;
    justify-content: flex-start;
  }
  :where(body.admin-console) .page-header {
    top: var(--xb-mobi-offset);
  }
  :where(body.admin-console) .search-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  :where(body.admin-console) .search-box input {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  :where(body.admin-console) .search-results {
    max-width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  :where(body.admin-console) .home-top {
    padding: 12px 14px 8px;
  }
  :where(body.admin-console) .home-top .brand-row,
  :where(body.admin-console) .home-top .status {
    display: none;
  }
  :where(body.admin-console) #homeScreen .service-panel,
  :where(body.admin-console) .service-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px 12px 16px;
  }
  :where(body.admin-console) .service-panel .service {
    min-width: 0;
    min-height: 96px;
    padding: 12px 10px;
  }
  :where(body.admin-console) .service-panel .service b {
    overflow-wrap: anywhere;
  }
  :where(body.admin-console) .service-panel .service:hover {
    transform: none;
    box-shadow:
      0 0 0 1px #38bdf812,
      0 8px 18px #1d4ed80a,
      inset 0 1px 0 #ffffffd9;
  }
  :where(body.admin-console) .service-panel .service:active {
    transform: scale(0.98);
  }
  :where(body.admin-console) .banner.banner-ip-check,
  :where(body.admin-console) .banner.banner-ip-check-tech,
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 0;
    margin: 0 12px 14px;
    padding: 16px 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .banner-ip-copy,
  :where(body.admin-console) .banner .banner-ip-copy {
    min-width: 0;
  }
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .banner-ip-copy h2,
  :where(body.admin-console) .banner .banner-ip-copy h2 {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .banner-copy-l1,
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .banner-copy-l2,
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .banner-copy-l3 {
    display: block;
  }
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .ip-check-earth,
  :where(body.admin-console) .banner .ip-check-earth,
  :where(body.admin-console) .ip-check-earth {
    width: 92px;
    height: 92px;
    max-width: 30vw;
    object-fit: contain;
  }
  :where(body.admin-console) .banner-signal-wave {
    animation: none;
    opacity: 0.28;
  }
  :where(body.admin-console) #recommendations,
  :where(body.admin-console) .recommendation-grid,
  :where(body.admin-console) #homeScreen #recommendations {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 0 12px 20px;
  }
  :where(body.admin-console) #homeScreen .recommendation.hot-ranking-card,
  :where(body.admin-console) .recommendation.hot-ranking-card {
    width: 100%;
    min-width: 0;
  }
  :where(body.admin-console) #homeScreen .recommendation.hot-ranking-card:hover {
    transform: none;
  }
  :where(body.admin-console) #homeScreen .recommendation.hot-ranking-card:active {
    transform: scale(0.99);
  }
  :where(body.admin-console) .country-grid,
  :where(body.admin-console) .relay-grid,
  :where(body.admin-console) .vps-grid,
  :where(body.admin-console) .account-grid,
  :where(body.admin-console) .airport-grid,
  :where(body.admin-console) .broadband-group .vps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :where(body.admin-console) .country-card,
  :where(body.admin-console) .relay-card,
  :where(body.admin-console) .vps-card,
  :where(body.admin-console) .account-card,
  :where(body.admin-console) .airport-plan-card,
  :where(body.admin-console) .broadband-product-card,
  :where(body.admin-console) .miya-isp-card,
  :where(body.admin-console) .tier-card,
  :where(body.admin-console) .catalog-plus-card,
  :where(body.admin-console) .xb-resip-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  :where(body.admin-console) .catalog-plus-card .catalog-card-plus {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    right: 10px;
    bottom: 10px;
  }
  :where(body.admin-console) .catalog-plus-card .catalog-card-plus svg {
    width: 20px;
    height: 20px;
  }
  :where(body.admin-console) .catalog-plus-card .catalog-card-oos {
    display: inline-flex !important;
  }
  :where(body.admin-console) .catalog-plus-card .catalog-card-meta {
    display: flex;
    padding-right: 56px;
    min-height: 44px;
    align-items: center;
  }
  :where(body.admin-console) .catalog-card-price {
    font-weight: 800;
    color: var(--xb-primary, #155bd7);
  }
  :where(body.admin-console) .xb-info-disclosure,
  :where(body.admin-console) .xb-info-content,
  :where(body.admin-console) .relay-vendor-note,
  :where(body.admin-console) .provider-note {
    overflow-wrap: anywhere;
    padding: 10px 12px;
  }
  :where(body.admin-console) .catalog-overlay-menu,
  :where(body.admin-console) .hot-ranking-picker .catalog-overlay-menu,
  :where(body.admin-console) .relay-vendor-picker,
  :where(body.admin-console) [data-picker-sheet] {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 0;
    top: auto;
    width: auto;
    max-height: min(70dvh, 480px);
    overflow: auto;
    border-radius: 16px 16px 0 0;
    z-index: 90;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  :where(body.admin-console) .catalog-inline-trigger,
  :where(body.admin-console) .catalog-overlay-option,
  :where(body.admin-console) .provider-tab,
  :where(body.admin-console) .period,
  :where(body.admin-console) [data-action$="-menu"] {
    min-height: 44px;
  }
  :where(body.admin-console) #ipScreen .miya-isp-card.hot-ranking-focus,
  :where(body.admin-console) #ipScreen .tier-card.hot-ranking-focus,
  :where(body.admin-console) #relayScreen .relay-card.hot-ranking-focus,
  :where(body.admin-console) #vpsScreen .vps-card.hot-ranking-focus,
  :where(body.admin-console) #broadbandScreen .broadband-product-card.hot-ranking-focus,
  :where(body.admin-console) #airportScreen .airport-plan-card.hot-ranking-focus,
  :where(body.admin-console) #accountScreen .account-card.hot-ranking-focus,
  :where(body.admin-console) #detailScreen .xb-resip-card.hot-ranking-focus,
  :where(body.admin-console) .hot-ranking-focus {
    scroll-margin-top: calc(var(--xb-mobi-offset) + 12px);
  }
  :where(body.admin-console) dialog.qr-dialog,
  :where(body.admin-console) dialog.service-dialog,
  :where(body.admin-console) dialog.membership-dialog,
  :where(body.admin-console) dialog.tutorial-image-dialog {
    width: calc(100% - 16px);
    max-width: 100%;
    max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 8px));
    margin: auto 8px 0 8px;
    border-radius: 16px 16px 0 0;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow: auto;
  }
  :where(body.admin-console) .qr-dialog-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
  }
  :where(body.admin-console) .qr-dialog img,
  :where(body.admin-console) .tutorial-image-dialog img,
  :where(body.admin-console) #configQrDialog img,
  :where(body.admin-console) .desktop-qr-popover img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  :where(body.admin-console) .desktop-qr-tabs,
  :where(body.admin-console) .qr-app-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  :where(body.admin-console) .desktop-qr-tabs button,
  :where(body.admin-console) .qr-app-tabs button {
    min-height: 44px;
    padding: 8px 12px;
  }
  body:where(.admin-console):has(dialog[open]) {
    overflow: hidden;
  }
  :where(body.admin-console) .service-dialog-actions,
  :where(body.admin-console) #purchaseDialog .service-dialog-actions,
  :where(body.admin-console) #renewalDialog .service-dialog-actions {
    position: sticky;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
  }
  :where(body.admin-console) .service-dialog-actions button,
  :where(body.admin-console) [data-action="confirm-purchase"],
  :where(body.admin-console) [data-action="confirm-renew"] {
    min-height: 44px;
  }
  :where(body.admin-console) .owned-table-wrap {
    overflow-x: visible;
  }
  :where(body.admin-console) .owned-table {
    display: block;
    width: 100%;
    min-width: 0;
  }
  :where(body.admin-console) .owned-table thead {
    display: none;
  }
  :where(body.admin-console) .owned-table tbody,
  :where(body.admin-console) .owned-table tr {
    display: block;
    width: 100%;
  }
  :where(body.admin-console) .owned-table tbody > tr {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid var(--xb-line, #dbe4f0);
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
  }
  :where(body.admin-console) .owned-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    min-width: 0;
    padding: 6px 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  :where(body.admin-console) .owned-table td::before {
    content: attr(data-label);
    flex: none;
    max-width: 42%;
    color: var(--xb-muted, #64748b);
    font-size: 12px;
  }
  :where(body.admin-console) .order-list,
  :where(body.admin-console) #ordersContent,
  :where(body.admin-console) .ledger-list,
  :where(body.admin-console) .coupon-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  :where(body.admin-console) .order-card,
  :where(body.admin-console) .message-card,
  :where(body.admin-console) .ledger-item,
  :where(body.admin-console) .coupon-card,
  :where(body.admin-console) .personal-card {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  :where(body.admin-console) .message-card,
  :where(body.admin-console) .inbox-heading button,
  :where(body.admin-console) [data-action="read-messages"] {
    min-height: 44px;
  }
  :where(body.admin-console) #personalContent,
  :where(body.admin-console) .personal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :where(body.admin-console) .guide-grid,
  :where(body.admin-console) .tutorial-grid,
  :where(body.admin-console) .app-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :where(body.admin-console) .guide-card img,
  :where(body.admin-console) .tutorial-step img,
  :where(body.admin-console) #tutorialScreen img {
    max-width: 100%;
    height: auto;
  }
  :where(body.admin-console) .feedback-form,
  :where(body.admin-console) .feedback-form label,
  :where(body.admin-console) #feedbackForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  :where(body.admin-console) .feedback-form input,
  :where(body.admin-console) .feedback-form select,
  :where(body.admin-console) .feedback-form textarea,
  :where(body.admin-console) #feedbackForm input,
  :where(body.admin-console) #feedbackForm select,
  :where(body.admin-console) #feedbackForm textarea {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    box-sizing: border-box;
  }
  :where(body.admin-console) .feedback-form textarea,
  :where(body.admin-console) #feedbackForm textarea {
    min-height: 120px;
  }
  :where(body.admin-console) .recharge-shell,
  :where(body.admin-console) .recharge-card,
  :where(body.admin-console) .pay-box,
  :where(body.admin-console) #rechargeScanPanel {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
  :where(body.admin-console) .recharge-code,
  :where(body.admin-console) #rechargeScanPanel img.recharge-code {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }
  :where(body.admin-console) #rechargeScanPanel .recharge-payment {
    text-align: center;
  }
  :where(body.admin-console) [data-action="switch-payment"],
  :where(body.admin-console) #rechargePaymentSwitch,
  :where(body.admin-console) .recharge-switch {
    min-height: 44px;
    margin-inline: auto;
  }
  :where(body.admin-console) .recharge-upload,
  :where(body.admin-console) .qr-upload {
    min-height: 44px;
  }
  :where(body.admin-console) .toast {
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
  }
  :where(body.admin-console) .order-bar {
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (max-width: 359px) {
  :where(body.admin-console) .app-topbar > .desktop-page-title {
    display: none;
  }
  :where(body.admin-console) .app-topbar .brand-logo {
    width: 76px;
    height: 29px;
  }
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 .ip-check-earth,
  :where(body.admin-console) .ip-check-earth {
    width: 72px;
    height: 72px;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  :where(body.admin-console) .country-grid,
  :where(body.admin-console) .account-grid,
  :where(body.admin-console) .guide-grid,
  :where(body.admin-console) .app-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :where(body.admin-console) #personalContent,
  :where(body.admin-console) .personal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) and (orientation: landscape) {
  :where(body.admin-console) { --xb-mobi-topbar: 52px; }
  :where(body.admin-console) .banner.banner-ip-check,
  :where(body.admin-console) .banner.banner-ip-check-tech-v2 {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  :where(body.admin-console) .desktop-sidebar.xb-desktop-sidebar,
  :where(body.admin-console) .xb-desktop-sidebar,
  :where(body.admin-console) .service-panel .service,
  :where(body.admin-console) .recommendation.hot-ranking-card {
    transition: none;
  }
}


@media (max-width: 1023px) {
  /* 20261112-mobi1 fix: storefront drawer must use expanded nav styles, not the desktop collapsed rail or unstyled SVGs. */
  body:where(.admin-console).xb-mobi.xb-sidebar-collapsed,
  body:where(.admin-console).xb-mobi {
    --xb-layout-sidebar-width: 0px;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-icon,
  :where(body.admin-console) .desktop-sidebar .xb-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    height: 23px;
    color: #526d91;
    font-size: 20px;
    line-height: 1;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-icon svg,
  :where(body.admin-console) .xb-desktop-sidebar svg.xb-sidebar-icon {
    width: 21px;
    height: 21px;
    max-width: 21px;
    max-height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-nav button,
  :where(body.admin-console) .xb-desktop-sidebar :is(.xb-sidebar-link, .xb-sidebar-sub-link, .xb-sidebar-group-toggle, .xb-sidebar-group-parent) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 2px 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-text,
  :where(body.admin-console) .xb-desktop-sidebar .desktop-nav-caption,
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-group > span,
  :where(body.admin-console) .xb-desktop-sidebar .xb-brand-full {
    display: block;
  }
  body:where(.admin-console).xb-mobi.xb-sidebar-collapsed .xb-sidebar-children {
    display: block;
  }
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-link.active,
  :where(body.admin-console) .xb-desktop-sidebar .xb-sidebar-sub-link.active,
  :where(body.admin-console) .xb-desktop-sidebar [aria-current="page"] {
    color: #1d4f91;
    background: #eef5ff;
    font-weight: 700;
  }
  :where(body.admin-console) .miya-isp-grid,
  :where(body.admin-console) .xb-resip-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :where(body.admin-console) .miya-isp-card .miya-isp-plus {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :where(body.admin-console) .miya-isp-grid,
  :where(body.admin-console) .xb-resip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 1023px) {
  /* 20261112-mobi1: keep desktop single-QR recharge logic on phones. Default Alipay, switch WeChat, only one QR visible. */
  :where(body.admin-console) #rechargeScanPanel[data-active-payment] .recharge-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  :where(body.admin-console) #rechargeScanPanel[data-active-payment] .recharge-payment {
    display: none;
    width: min(100%, 440px);
    margin: 0 auto;
  }
  :where(body.admin-console) #rechargeScanPanel[data-active-payment="alipay"] .recharge-payments .recharge-payment:nth-child(2),
  :where(body.admin-console) #rechargeScanPanel[data-active-payment="wechat"] .recharge-payments .recharge-payment:nth-child(1) {
    display: flex;
    flex-direction: column;
  }
  :where(body.admin-console) .recharge-switch-platform,
  :where(body.admin-console) [data-switch-recharge-platform] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 12px auto;
  }
}

/* Preserve the existing customer single-code payment panel while retiring the
   previous global phone reflow (20261116 visual-only scope). */
@media (max-width: 1023px) {
  /* 20261112-mobi1: keep desktop single-QR recharge logic on phones. Default Alipay, switch WeChat, only one QR visible. */
  #rechargeScanPanel[data-active-payment] .recharge-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  #rechargeScanPanel[data-active-payment] .recharge-payment {
    display: none;
    width: min(100%, 440px);
    margin: 0 auto;
  }
  #rechargeScanPanel[data-active-payment="alipay"] .recharge-payments .recharge-payment:nth-child(2),
  #rechargeScanPanel[data-active-payment="wechat"] .recharge-payments .recharge-payment:nth-child(1) {
    display: flex;
    flex-direction: column;
  }
  .recharge-switch-platform,
  [data-switch-recharge-platform] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 12px auto;
  }
}

/* 20261112-mobi2: the live mobile QR uses .qr-tabs, not .qr-app-tabs.
   Stack each logo above its full label so all three clients fit at 320px. */
@media (max-width: 768px) {
  #configQrDialog .qr-dialog-head {
    align-items: flex-start;
    gap: 8px;
  }
  #configQrDialog .qr-dialog-head h2 {
    min-width: 0;
    align-self: center;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  .qr-dialog .qr-dialog-head > button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }
  #configQrTabs.qr-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    height: auto;
    gap: 4px;
    margin: 16px 0;
    padding: 4px;
    border-radius: 16px;
  }
  #configQrTabs.qr-tabs > button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 56px;
    height: auto;
    padding: 7px 3px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
    touch-action: manipulation;
  }
  #configQrTabs.qr-tabs > button > span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  #configQrTabs .qr-app-logo,
  #configQrTabs .qr-app-logo img {
    width: 20px;
    height: 20px;
  }
  #configQrTabs.qr-tabs > button:active,
  #configQrTabs.qr-tabs > button.active {
    background: #dfeeff;
    color: #164d8a;
  }
  #configQrTabs.qr-tabs > button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
  }
}

/* 20261116-card1: unify mobile/tablet service cards to the fig1 bubble
   template and restore in-card pickers. Desktop ≥1024 stays deskui19. */

@media (max-width: 1023px) {
  body:not(.admin-console) {
    --xb-card-fill: linear-gradient(180deg, #f8fbff 0%, #f0f6fe 58%, #eaf2fc 100%);
    --xb-card-border: #8fb4ea;
    --xb-card-title: #0f172a;
    --xb-card-spec: #51647b;
    --xb-card-price: #1d4ed8;
    --xb-card-plus: #2563eb;
    --xb-card-plus-press: #1d4ed8;
    --xb-card-radius: 18px;
  }

  /* Force two-column bubble grids. Overrides the 760px four-column rules. */
  body:not(.admin-console) #relayScreen .relay-grid,
  body:not(.admin-console) #vpsScreen .vps-grid,
  body:not(.admin-console) #airportScreen .vps-grid,
  body:not(.admin-console) #broadbandScreen .vps-grid,
  body:not(.admin-console) #broadbandScreen .broadband-group .vps-grid,
  body:not(.admin-console) #accountScreen .account-grid,
  body:not(.admin-console) #resipView .resip-mobile-grid,
  body:not(.admin-console) #miyaView .miya-isp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fig1 bubble chrome for every service listing card. */
  body:not(.admin-console) :is(
    .catalog-plus-card,
    .miya-isp-card,
    .relay-card,
    .vps-card,
    .account-card,
    .tier-card,
    .broadband-product-card,
    .airport-plan-card,
    .resip-mobile-card
  ) {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 112px;
    margin: 0;
    padding: 12px 12px 10px;
    text-align: left;
    color: var(--xb-card-title);
    border: 1px solid var(--xb-card-border);
    border-radius: var(--xb-card-radius);
    outline: 1px solid var(--xb-card-border);
    outline-offset: -1px;
    background: var(--xb-card-fill);
    box-shadow: 0 4px 12px #1e3a8a0c, inset 0 1px 0 #ffffffee;
    box-sizing: border-box;
    overflow: hidden;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card.is-menu-open,
    .relay-card.is-menu-open,
    .vps-card.is-menu-open,
    .resip-mobile-card.is-menu-open
  ) {
    overflow: visible;
    z-index: 12;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card > strong,
    .catalog-plus-card .country-name,
    .miya-isp-card .miya-isp-title,
    .miya-isp-card .miya-isp-title span,
    .account-card-body strong,
    .resip-mobile-card .resip-mobile-title
  ) {
    color: var(--xb-card-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card small,
    .relay-card-spec-desktop,
    .catalog-vendor-static,
    .airport-card-config,
    .account-card-body small,
    .resip-mobile-card .resip-mobile-spec
  ) {
    display: block;
    color: var(--xb-card-spec);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 4px;
    overflow-wrap: anywhere;
  }

  /* Show the real desktop picker/spec row on phones; hide the old dump list. */
  body:not(.admin-console) .relay-card-spec-desktop,
  body:not(.admin-console) .catalog-vendor-static,
  body:not(.admin-console) .catalog-dropdown-host,
  body:not(.admin-console) .catalog-dropdown-caret,
  body:not(.admin-console) .catalog-inline-host,
  body:not(.admin-console) .catalog-inline-trigger,
  body:not(.admin-console) .vps-card-location-row,
  body:not(.admin-console) .vps-card-period-row,
  body:not(.admin-console) .airport-card-period-row,
  body:not(.admin-console) .catalog-card-meta-desktop,
  body:not(.admin-console) .resip-mobile-pickers {
    display: block !important;
  }

  body:not(.admin-console) .catalog-inline-host,
  body:not(.admin-console) .catalog-dropdown-host.catalog-inline-host {
    display: inline-flex !important;
    position: relative;
    max-width: 100%;
    margin-top: 4px;
    vertical-align: top;
    z-index: 2;
  }

  body:not(.admin-console) .relay-card-spec-mobile,
  body:not(.admin-console) .catalog-card-meta-mobile {
    display: none !important;
  }

  body:not(.admin-console) .catalog-inline-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #1d4ed8;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
  }

  body:not(.admin-console) .catalog-inline-trigger-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body:not(.admin-console) .catalog-inline-trigger .catalog-dropdown-caret {
    display: inline-block !important;
    flex: none;
    font-size: 11px;
    line-height: 1;
  }

  body:not(.admin-console) .vps-card-location-row,
  body:not(.admin-console) .vps-card-period-row,
  body:not(.admin-console) .airport-card-period-row {
    margin-top: 2px;
    min-width: 0;
  }

  /* Price left, circular plus right — same language as fig1 miya cards. */
  body:not(.admin-console) .catalog-plus-card .catalog-card-meta,
  body:not(.admin-console) .miya-isp-card .miya-isp-meta,
  body:not(.admin-console) .resip-mobile-card .resip-mobile-meta {
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    padding-right: 52px;
    min-height: 40px;
    box-sizing: border-box;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card .catalog-card-price,
    .miya-isp-card .miya-isp-price,
    .resip-mobile-card .resip-mobile-price
  ) {
    color: var(--xb-card-price);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card .catalog-card-plus,
    .miya-isp-card .miya-isp-plus,
    .resip-mobile-card .resip-mobile-plus
  ) {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--xb-card-plus);
    color: #fff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.28);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-size: 0;
    pointer-events: none;
    flex: none;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card .catalog-card-plus svg,
    .miya-isp-card .miya-isp-plus svg,
    .resip-mobile-card .resip-mobile-plus svg
  ) {
    display: block;
    width: 18px;
    height: 18px;
    stroke: #fff;
    color: #fff;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card,
    .miya-isp-card,
    .resip-mobile-card
  ):not(:disabled):not(.is-oos):not([aria-disabled="true"]):active :is(
    .catalog-card-plus,
    .miya-isp-plus,
    .resip-mobile-plus
  ) {
    background: var(--xb-card-plus-press);
    box-shadow: inset 0 1px 3px #0b3d8826;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card .catalog-card-oos,
    .miya-isp-card .miya-isp-oos,
    .resip-mobile-card .resip-mobile-oos
  ) {
    position: absolute;
    right: 10px;
    bottom: 12px;
    width: auto;
    max-width: 46%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #8a93a6;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    overflow-wrap: anywhere;
    pointer-events: none;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card.is-oos,
    .catalog-plus-card:disabled,
    .catalog-plus-card[aria-disabled="true"],
    .miya-isp-card.is-oos,
    .miya-isp-card:disabled,
    .resip-mobile-card.is-oos
  ) {
    cursor: not-allowed;
    color: #8a93a6;
    background: #f7f8fa;
    box-shadow: none;
    filter: grayscale(.12);
  }

  body:not(.admin-console) :is(
    .catalog-plus-card.is-oos,
    .catalog-plus-card:disabled,
    .catalog-plus-card[aria-disabled="true"],
    .miya-isp-card.is-oos,
    .miya-isp-card:disabled,
    .resip-mobile-card.is-oos
  ) :is(.catalog-card-plus, .miya-isp-plus, .resip-mobile-plus) {
    display: none !important;
  }

  /* Account cards stay a stacked bubble; icon sits with the title. */
  body:not(.admin-console) .account-card.catalog-plus-card {
    flex-direction: column;
    gap: 8px;
  }

  body:not(.admin-console) .account-card.catalog-plus-card .account-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  body:not(.admin-console) .account-card.catalog-plus-card .account-card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    flex: 1;
  }

  /* In-card menus: popover (few) or bottom sheet (many). Never stretch the card. */
  body:not(.admin-console) .catalog-overlay-menu {
    display: block !important;
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 40;
    width: max-content;
    min-width: 168px;
    max-width: min(280px, calc(100vw - 24px));
    max-height: 240px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 6px;
    border: 1px solid #b9d1f3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px #1e3a8a24;
    box-sizing: border-box;
  }

  body:not(.admin-console) .catalog-overlay-menu.is-sheet,
  body:not(.admin-console) .catalog-overlay-menu.is-sheet.catalog-overlay-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: min(68dvh, 520px);
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 18px 18px 0 0;
    z-index: 90;
  }

  body:not(.admin-console) .catalog-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    margin: 0;
    padding: 0;
    border: 0;
    background: #10182866;
    cursor: pointer;
  }

  body:not(.admin-console) .catalog-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 4px 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
  }

  body:not(.admin-console) .catalog-sheet-head button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: #334155;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  body:not(.admin-console) .catalog-overlay-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
  }

  body:not(.admin-console) .catalog-overlay-option + .catalog-overlay-option {
    margin-top: 2px;
  }

  body:not(.admin-console) .catalog-overlay-option.is-selected {
    background: #eef4ff;
    color: #1d4ed8;
    font-weight: 650;
  }

  body:not(.admin-console) .catalog-overlay-option.is-oos,
  body:not(.admin-console) .catalog-overlay-option:disabled {
    cursor: not-allowed;
    color: #8a93a6;
    background: #f7f8fa;
  }

  /* Confirm-order dialog: one inner scroller, clear of the tab bar and safe area.
     display:flex must be gated to [open]/:modal — a bare display rule overrides the UA
     dialog:not([open]){display:none} and leaves the modal visible after close(). */
  body:not(.admin-console) #purchaseDialog.qr-dialog:not([open]) {
    display: none !important;
  }
  body:not(.admin-console) #purchaseDialog.qr-dialog[open],
  body:not(.admin-console) #purchaseDialog.qr-dialog:modal {
    width: calc(100% - 24px);
    max-width: 520px;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    margin: auto;
    padding: 16px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  body:not(.admin-console) #purchaseDialog .qr-dialog-head {
    flex: none;
    gap: 8px;
  }

  body:not(.admin-console) #purchaseDialog .qr-dialog-head button {
    width: 36px;
    height: 36px;
    flex: none;
  }

  body:not(.admin-console) #purchaseDialog #purchaseContent {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.admin-console) #purchaseDialog #purchaseError,
  body:not(.admin-console) #purchaseDialog .service-dialog-actions {
    flex: none;
  }

  body:not(.admin-console) #purchaseDialog .service-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
  }

  body:not(.admin-console) #purchaseDialog .service-dialog-actions button {
    min-height: 44px;
  }

  body:not(.admin-console) #purchaseDialog #purchaseConfirm {
    flex: 1 1 160px;
  }
}

@media (max-width: 359px) {
  body:not(.admin-console) :is(
    .catalog-plus-card > strong,
    .catalog-plus-card .country-name,
    .miya-isp-card .miya-isp-title,
    .account-card-body strong,
    .resip-mobile-card .resip-mobile-title
  ) {
    font-size: 13px;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card,
    .miya-isp-card,
    .resip-mobile-card,
    .account-card
  ) {
    padding: 10px 10px 8px;
  }

  body:not(.admin-console) :is(
    .catalog-plus-card .catalog-card-price,
    .miya-isp-card .miya-isp-price,
    .resip-mobile-card .resip-mobile-price
  ) {
    font-size: 15px;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  body:not(.admin-console) :is(
    .catalog-plus-card,
    .miya-isp-card,
    .resip-mobile-card,
    .account-card
  ) {
    padding: 14px 14px 12px;
  }
}

/* New mobile-only period row must not appear on the desktop listing. */
@media (min-width: 1024px) {
  .vps-card-period-row,
  .catalog-sheet-backdrop,
  .catalog-sheet-head,
  .resip-mobile-grid,
  .resip-mobile-card {
    display: none !important;
  }
}


/* mobile-card-unify hotfix4: readable sheet options + portaled sheets */
@media (max-width: 1023px) {
  body:not(.admin-console) .app > .catalog-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    margin: 0;
    border: 0;
    background: #10182866;
    cursor: pointer;
  }
  body:not(.admin-console) .app > .catalog-overlay-menu.is-sheet {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: min(68dvh, 520px);
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -8px 28px #10203a22;
    z-index: 90;
    overflow: auto;
  }
  body:not(.admin-console) .catalog-overlay-option,
  body:not(.admin-console) .catalog-overlay-option span,
  body:not(.admin-console) .catalog-overlay-option b {
    color: #0f172a !important;
  }
  body:not(.admin-console) .catalog-overlay-option.is-selected,
  body:not(.admin-console) .catalog-overlay-option.is-selected span,
  body:not(.admin-console) .catalog-overlay-option.is-selected b {
    color: #1d4ed8 !important;
  }
  body:not(.admin-console) .catalog-overlay-option.is-oos,
  body:not(.admin-console) .catalog-overlay-option:disabled,
  body:not(.admin-console) .catalog-overlay-option.is-oos span,
  body:not(.admin-console) .catalog-overlay-option:disabled span,
  body:not(.admin-console) .catalog-overlay-option.is-oos b,
  body:not(.admin-console) .catalog-overlay-option:disabled b {
    color: #475569 !important;
  }
}


/* mobile-card-unify hotfix5: keep page title above scrolling provider notes */
@media (max-width: 1023px) {
  body:not(.admin-console) .screen.active > .page-header,
  body:not(.admin-console) .app .screen.active .page-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffff;
    background: var(--page, #ffffff);
  }
}

/* modal-close-20261116: sheet close animation + no leftover pointer-events */
@media (max-width: 1023px) {
  body:not(.admin-console) .catalog-sheet-backdrop,
  body:not(.admin-console) .app > .catalog-sheet-backdrop {
    transition: opacity 180ms ease;
  }
  body:not(.admin-console) .catalog-overlay-menu.is-sheet,
  body:not(.admin-console) .app > .catalog-overlay-menu.is-sheet {
    transition: transform 180ms ease, opacity 180ms ease;
  }
  body:not(.admin-console) .catalog-sheet-backdrop.is-closing,
  body:not(.admin-console) .app > .catalog-sheet-backdrop.is-closing,
  body:not(.admin-console) .catalog-overlay-menu.is-sheet.is-closing,
  body:not(.admin-console) .app > .catalog-overlay-menu.is-sheet.is-closing {
    opacity: 0;
    pointer-events: none;
  }
  body:not(.admin-console) .catalog-overlay-menu.is-sheet.is-closing,
  body:not(.admin-console) .app > .catalog-overlay-menu.is-sheet.is-closing {
    transform: translateY(16px);
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  body:not(.admin-console) .catalog-sheet-backdrop,
  body:not(.admin-console) .app > .catalog-sheet-backdrop,
  body:not(.admin-console) .catalog-overlay-menu.is-sheet,
  body:not(.admin-console) .app > .catalog-overlay-menu.is-sheet {
    transition: none;
  }
}
/* 20261116-bubble1: visible light-blue product bubbles + restore ice-blue
   服务须知 / 供应商说明 bubbles on mobile/tablet. Desktop ≥1024 stays deskui19.

   Root cause of the missing notice bubble on the official 8765 preview:
   ui-information.css defaults .xb-compact-info to background:transparent
   with only a top border (plain text on a white page). The completed
   ice-blue notice chrome lives in ui-theme.css and ui-information.css
   inside @media (min-width: 1024px) only. The mobile restore was written
   into mobile-visual.css, but 8765's static allowlist does not serve that
   file (404). card-unify appended mobile card layout to ui-theme.css but
   did not port the notice bubble, so 8765 phones kept the transparent
   default. This block restores the notice on the file 8765 actually loads
   and strengthens product-card fills so they are no longer near-white. */

@media (max-width: 1023px) {
  body:not(.admin-console) {
    --xb-card-fill: linear-gradient(145deg, #F8FCFF 0%, #EEF6FF 55%, #E5F1FF 100%);
    --xb-card-border: #8FB8FF;
    --xb-card-shadow: 0 5px 16px rgba(45, 105, 190, 0.08);
    --xb-card-radius: 20px;
    --xb-card-oos-fill: linear-gradient(145deg, #F5F7FA 0%, #EEF1F5 55%, #E6EAEF 100%);
    --xb-card-oos-border: #B7C4D6;
    --xb-card-oos-shadow: 0 4px 12px rgba(71, 85, 105, 0.06);
    --xb-notice-fill: linear-gradient(145deg, #F5FCFF 0%, #EAF7FF 55%, #DFF1FF 100%);
    --xb-notice-border: #93CFEF;
    --xb-notice-shadow: 0 6px 18px rgba(40, 115, 170, 0.07);
    --xb-notice-radius: 18px;
    --xb-notice-title: #173D62;
    --xb-notice-body: #405D76;
    --xb-bubble-fill: linear-gradient(160deg, #F7FBFF 0%, #F1F7FF 58%, #EAF3FF 100%);
    --xb-bubble-border: #B7D0F5;
    --xb-bubble-shadow: 0 5px 14px rgba(45, 105, 190, 0.06);
    --xb-bubble-radius: 18px;
    --xb-bubble-title: #172554;
    --xb-bubble-body: #475569;
  }

  /* Product listing cards: keep the card1 two-column layout, only retint. */
  body:not(.admin-console) :is(
    .catalog-plus-card,
    .miya-isp-card,
    .relay-card,
    .vps-card,
    .account-card,
    .tier-card,
    .broadband-product-card,
    .airport-plan-card,
    .resip-mobile-card
  ) {
    border: 1px solid var(--xb-card-border);
    border-radius: var(--xb-card-radius);
    outline: 1px solid var(--xb-card-border);
    outline-offset: -1px;
    background: var(--xb-card-fill);
    box-shadow: var(--xb-card-shadow);
  }

  /* Sold-out cards keep the same rounded bubble silhouette, grey-blue, no plus. */
  body:not(.admin-console) :is(
    .catalog-plus-card.is-oos,
    .catalog-plus-card:disabled,
    .catalog-plus-card[aria-disabled="true"],
    .miya-isp-card.is-oos,
    .miya-isp-card:disabled,
    .relay-card.is-oos,
    .vps-card.is-oos,
    .account-card.is-oos,
    .broadband-product-card.is-oos,
    .airport-plan-card.is-oos,
    .resip-mobile-card.is-oos
  ) {
    border-color: var(--xb-card-oos-border);
    outline-color: var(--xb-card-oos-border);
    background: var(--xb-card-oos-fill);
    box-shadow: var(--xb-card-oos-shadow);
    filter: grayscale(0.14);
  }

  /* Restore 服务须知 / 供应商说明 as a distinct aqua bubble, not a thin rule. */
  body:not(.admin-console) :is(
    #ipScreen,
    #relayScreen,
    #vpsScreen,
    #broadbandScreen,
    #airportScreen,
    #accountScreen
  ) .xb-compact-info,
  body:not(.admin-console) #detailScreen.xb-resip-page .detail-card > .xb-required-section {
    margin: 10px 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--xb-notice-border);
    border-radius: var(--xb-notice-radius);
    outline: 0;
    background: var(--xb-notice-fill);
    box-shadow: var(--xb-notice-shadow);
    color: var(--xb-notice-body);
    text-align: left;
    overflow: visible;
    isolation: isolate;
  }

  body:not(.admin-console) :is(
    #ipScreen,
    #relayScreen,
    #vpsScreen,
    #broadbandScreen,
    #airportScreen,
    #accountScreen
  ) .xb-compact-info :is(h2, .xb-prose-label, .xb-supplier-note > b, .server-bandwidth-info b, .xb-info-section-heading),
  body:not(.admin-console) #detailScreen.xb-resip-page .detail-card > .xb-required-section :is(h2, h3, .xb-prose-label, .xb-info-section-heading, b, strong) {
    color: var(--xb-notice-title);
    font-weight: 700;
    text-align: left;
  }

  body:not(.admin-console) :is(
    #ipScreen,
    #relayScreen,
    #vpsScreen,
    #broadbandScreen,
    #airportScreen,
    #accountScreen
  ) .xb-compact-info :is(
    .xb-information-panel,
    .xb-topic-original,
    .xb-info-row-body,
    .xb-supplier-note,
    .xb-supplier-source,
    .xb-info-required,
    .xb-guide-source,
    p
  ),
  body:not(.admin-console) #detailScreen.xb-resip-page .detail-card > .xb-required-section :is(
    p,
    .xb-information-panel,
    .xb-topic-original,
    .xb-info-row-body
  ) {
    color: var(--xb-notice-body);
    text-align: left;
  }

  /* Inner notes stay typography, not a second nested bubble. */
  body:not(.admin-console) :is(
    #ipScreen,
    #relayScreen,
    #vpsScreen,
    #broadbandScreen,
    #airportScreen,
    #accountScreen
  ) .xb-compact-info :is(
    .provider-note,
    .relay-note,
    .vps-note,
    .broadband-note,
    .airport-note,
    .server-bandwidth-info
  ) {
    width: auto;
    max-width: none;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--xb-notice-body);
  }

  /* Softer information bubbles: 我的服务 / 个人中心 / related modules.
     Do not restyle form controls, QR images, toasts, or #purchaseDialog. */
  body:not(.admin-console) :is(
    #ownedScreen .owned-card,
    #ownedScreen .owned-title,
    #ownedDetailScreen .owned-card,
    #ownedDetailScreen .detail-card,
    #serviceDetailScreen .detail-card,
    #serviceDetailScreen .owned-card,
    #personalScreen .app-card,
    #personalScreen .dashboard-stats > article,
    #personalScreen .account-menu,
    #personalScreen .invite-card,
    #ordersScreen .app-card,
    #ordersScreen .owned-card,
    #ordersScreen .owned-table-wrap,
    #ordersScreen .client-order-table-wrap,
    #orderDetailScreen .detail-card,
    #ledgerScreen .app-card,
    #couponScreen .app-card,
    #guideScreen .guide-card,
    #tutorialScreen .guide-card,
    #feedbackScreen .feedback-form,
    #rechargeScreen .recharge-hero,
    #rechargeScreen .recharge-panel,
    #rechargeScreen .recharge-account-bar,
    #contactScreen .app-card,
    #productsScreen .app-card
  ) {
    border: 1px solid var(--xb-bubble-border);
    border-radius: var(--xb-bubble-radius);
    outline: 0;
    background: var(--xb-bubble-fill);
    box-shadow: var(--xb-bubble-shadow);
  }

  body:not(.admin-console) :is(
    #personalScreen .personal-identity h1,
    #personalScreen .app-card h1,
    #personalScreen .app-card h2,
    #personalScreen .app-card h3,
    #personalScreen .dashboard-stats b,
    #personalScreen .invite-card strong,
    #ownedScreen .owned-title h1,
    #ownedScreen .owned-title h2,
    #ownedScreen .owned-card h2,
    #ownedScreen .owned-card h3
  ) {
    color: var(--xb-bubble-title);
  }

  body:not(.admin-console) :is(
    #personalScreen .app-card p,
    #personalScreen .dashboard-stats span,
    #ownedScreen .owned-card p,
    #ownedScreen .owned-title p
  ) {
    color: var(--xb-bubble-body);
  }

  /* Inbox stays a reading surface: light bubble, not a product card. */
  body:not(.admin-console) #inboxScreen .message-card {
    border: 1px solid var(--xb-bubble-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #F8FBFF 0%, #F4F8FF 100%);
    box-shadow: 0 3px 10px rgba(45, 105, 190, 0.05);
  }

  /* Keep inputs, QR, toasts and the confirm-order dialog off this language. */
  body:not(.admin-console) :is(
    #purchaseDialog,
    #purchaseDialog *,
    input,
    textarea,
    select,
    .qr-dialog,
    .config-qr,
    img[src*="qr"],
    .toast,
    .app-toast
  ) {
    /* no bubble fill inherited through these exceptions — left unforced */
  }
}

/* Sticky title bar stays opaque so notice text cannot punch through. */
@media (max-width: 1023px) {
  body:not(.admin-console) .screen.active > .page-header,
  body:not(.admin-console) .app .screen.active .page-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #ffffff;
    background: #ffffff;
    background: var(--page, #ffffff);
  }
}

/* 20261116-white1: mobile storefront main backgrounds → #FFFFFF.
   Desktop (≥1024px) is unchanged. Shared tokens in design-tokens.css are not edited.
   Product cards, notice/aqua bubbles, selected chips, prices, plus buttons,
   account info cards and status tags keep their existing blue-family fills. */
@media (max-width: 1023px) {
  html,
  body:not(.admin-console) {
    --page: #ffffff;
    --xb-page: #ffffff;
    background: #ffffff;
    background-color: #ffffff;
  }

  body:not(.admin-console) .app,
  body:not(.admin-console) .screen,
  body:not(.admin-console) .screen.active,
  body:not(.admin-console) .owned-page,
  body:not(.admin-console) .order-screen,
  body:not(.admin-console) .inbox-wrap,
  body:not(.admin-console) .feedback-page,
  body:not(.admin-console) .content,
  body:not(.admin-console) .terms-page,
  body:not(.admin-console) .ip-page,
  body:not(.admin-console) .relay-view,
  body:not(.admin-console) .vps-view,
  body:not(.admin-console) .broadband-view,
  body:not(.admin-console) .airport-view,
  body:not(.admin-console) .account-view,
  body:not(.admin-console) .registration-screen,
  body:not(.admin-console) .registration-shell,
  body:not(.admin-console) .registration-shell.xb-auth-surface,
  body:not(.admin-console).auth-screen,
  body:not(.admin-console) #homeScreen,
  body:not(.admin-console) #ipScreen,
  body:not(.admin-console) #relayScreen,
  body:not(.admin-console) #vpsScreen,
  body:not(.admin-console) #broadbandScreen,
  body:not(.admin-console) #airportScreen,
  body:not(.admin-console) #accountScreen,
  body:not(.admin-console) #guideScreen,
  body:not(.admin-console) #contactScreen,
  body:not(.admin-console) #detailScreen,
  body:not(.admin-console) #detailContent,
  body:not(.admin-console) #termsScreen,
  body:not(.admin-console) #rechargeScreen,
  body:not(.admin-console) #ordersScreen,
  body:not(.admin-console) #ordersContent,
  body:not(.admin-console) #orderDetailScreen,
  body:not(.admin-console) #inboxScreen,
  body:not(.admin-console) #inboxContent,
  body:not(.admin-console) #feedbackScreen,
  body:not(.admin-console) #ownedScreen,
  body:not(.admin-console) #ownedContent,
  body:not(.admin-console) #ownedDetailScreen,
  body:not(.admin-console) #productsScreen,
  body:not(.admin-console) #personalScreen,
  body:not(.admin-console) #personalContent,
  body:not(.admin-console) #couponScreen,
  body:not(.admin-console) #couponContent,
  body:not(.admin-console) #ledgerScreen,
  body:not(.admin-console) #ledgerContent,
  body:not(.admin-console) #serviceDetailScreen,
  body:not(.admin-console) #serviceDetailContent,
  body:not(.admin-console) #tutorialScreen,
  body:not(.admin-console) #clientScreen,
  body:not(.admin-console) #registerScreen,
  body:not(.admin-console) #registerView,
  body:not(.admin-console) #vpsView,
  body:not(.admin-console) #broadbandView,
  body:not(.admin-console) #airportView,
  body:not(.admin-console) #ipScreen .ip-page,
  body:not(.admin-console) #relayScreen .relay-view,
  body:not(.admin-console) #vpsScreen .vps-view,
  body:not(.admin-console) #broadbandScreen .broadband-view,
  body:not(.admin-console) #airportScreen .airport-view,
  body:not(.admin-console) #accountScreen .account-view,
  body:not(.admin-console) #ipScreen .ip-hero,
  body:not(.admin-console) #relayScreen .relay-hero,
  body:not(.admin-console) #vpsScreen .vps-hero,
  body:not(.admin-console) #broadbandScreen .broadband-hero,
  body:not(.admin-console) #airportScreen .airport-hero,
  body:not(.admin-console) #accountScreen .account-hero,
  body:not(.admin-console) #guideScreen .guide-hero,
  body:not(.admin-console) #rechargeScreen .recharge-hero,
  body:not(.admin-console) #contactScreen .contact-hero,
  body:not(.admin-console) #clientScreen .client-hero,
  body:not(.admin-console) #ownedDetailScreen .owned-page,
  body:not(.admin-console) #serviceDetailScreen .content,
  body:not(.admin-console) #orderDetailScreen .content,
  body:not(.admin-console) #ledgerScreen .content,
  body:not(.admin-console) #personalScreen .content,
  body:not(.admin-console) #couponScreen .content {
    background: #ffffff;
    background-color: #ffffff;
  }

  /* Sticky page title stays opaque and now matches the white page surface.
     Layout, position and z-index are unchanged. */
  body:not(.admin-console) .screen.active > .page-header,
  body:not(.admin-console) .app .screen.active .page-header {
    background-color: #ffffff;
    background: #ffffff;
    background: var(--page, #ffffff);
  }

  /* Hide the mid-page standalone 带宽说明 slot on mobile (it is moved into
     the top 服务须知 bubble). Once moved, this child selector no longer matches. */
  body:not(.admin-console) :is(#vpsView, #broadbandView) > .server-bandwidth-info {
    display: none;
  }

  /* Merged 带宽说明 typography: same level as other bold labels, no nested box,
     no extra rule, no first-line indent. Bubble height grows with content. */
  body:not(.admin-console) :is(#vpsScreen, #broadbandScreen) .xb-compact-info .server-bandwidth-info {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    border-top: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    color: var(--xb-notice-body, #334155);
    text-align: left;
  }
  body:not(.admin-console) :is(#vpsScreen, #broadbandScreen) .xb-compact-info .server-bandwidth-info b {
    display: inline;
    margin: 0;
    padding: 0;
    color: var(--xb-notice-title, #0f172a);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 700;
    text-align: left;
  }
  body:not(.admin-console) :is(#vpsScreen, #broadbandScreen) .xb-compact-info .server-bandwidth-info p {
    display: inline;
    margin: 0;
    padding: 0;
    text-indent: 0;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
    color: var(--xb-notice-body, #334155);
    text-align: left;
  }
}


/* ===== 20261117-fix1: mobile recharge/VPS/service-detail/hot-focus (max-width 1023; highlight duration shared). ===== */
@media (max-width: 1023px) {
  /* Item 2: hide the duplicate top 可选机房 panel on VPS list pages only.
     Card-level pickers and location data stay intact. Desktop ≥1024 unchanged. */
  body:not(.admin-console) #vpsView > .server-location-panel,
  body:not(.admin-console) #vpsScreen #vpsView > section.server-location-panel {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }
}

@keyframes xb-hot-ranking-focus-glow {
  0% {
    border-color: #8BB7E8;
    box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent, inset 0 0 0 0 transparent;
  }
  8% {
    border-color: #1D6FD6;
    box-shadow: 0 0 0 2px #3B82F6, 0 6px 16px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  90% {
    border-color: #1D6FD6;
    box-shadow: 0 0 0 2px #3B82F6, 0 6px 16px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  100% {
    border-color: var(--xb-bubble-border, #cde0fa);
    box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent, inset 0 0 0 0 transparent;
  }
}

#ipScreen .miya-isp-card.hot-ranking-focus,
#ipScreen .tier-card.hot-ranking-focus,
#relayScreen .relay-card.hot-ranking-focus,
#vpsScreen .vps-card.hot-ranking-focus,
#broadbandScreen .broadband-product-card.hot-ranking-focus,
#airportScreen .airport-plan-card.hot-ranking-focus,
#accountScreen .account-card.hot-ranking-focus,
#detailScreen .xb-resip-card.hot-ranking-focus,
#ipScreen .resip-mobile-card.hot-ranking-focus,
.catalog-plus-card.hot-ranking-focus {
  position: relative;
  z-index: 2;
  overflow: visible;
  border-color: #1D6FD6;
  box-shadow: 0 0 0 2px #3B82F6, 0 6px 16px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  outline: none;
  transform: none;
  animation: xb-hot-ranking-focus-glow 5s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  #ipScreen .miya-isp-card.hot-ranking-focus,
  #ipScreen .tier-card.hot-ranking-focus,
  #relayScreen .relay-card.hot-ranking-focus,
  #vpsScreen .vps-card.hot-ranking-focus,
  #broadbandScreen .broadband-product-card.hot-ranking-focus,
  #airportScreen .airport-plan-card.hot-ranking-focus,
  #accountScreen .account-card.hot-ranking-focus,
  #detailScreen .xb-resip-card.hot-ranking-focus,
  #ipScreen .resip-mobile-card.hot-ranking-focus,
  .catalog-plus-card.hot-ranking-focus {
    animation: none;
  }
}
