/* Additive mobile UI: desktop layout and all payment rules remain unchanged. */
.mobile-bottom-nav,.mobile-property-actions,.mobile-tools,.mobile-compare-bar,.mobile-compare-toggle,.mobile-only,#mobile-network { display:none; }
.editor-step-group,.editor-mobile-footer,.editor-step-actions { display:contents; }
.mobile-dialog { width:min(760px,calc(100% - 24px)); color:var(--ink); background:var(--surface); }
.mobile-dialog > header { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.mobile-dialog > header h2 { flex:1; margin:0; font-size:20px; }
.mobile-icon { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; padding:10px; border:1px solid var(--line); border-radius:50%; background:var(--surface-soft); color:var(--ink); }
.mobile-icon svg,.mobile-dialog svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mobile-table-scroll { overflow-x:auto; max-width:100%; border:1px solid var(--line); border-radius:12px; }
.mobile-table-scroll table { width:100%; min-width:430px; border-collapse:collapse; font-size:12px; }
.mobile-table-scroll th,.mobile-table-scroll td { padding:12px; border-bottom:1px solid var(--line); border-right:1px solid var(--line); text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.mobile-table-scroll thead th { min-width:145px; max-width:210px; background:var(--surface-soft); }
.mobile-table-scroll thead th:first-child { min-width:100px; }
.mobile-table-scroll tbody th { color:var(--muted); background:var(--surface-soft); }
.mobile-table-scroll th a { display:grid; gap:8px; }
.mobile-table-scroll th img { width:100%; height:96px; object-fit:cover; border-radius:8px; }
.mobile-table-scroll th button { margin-top:10px; border:0; border-radius:8px; padding:8px 12px; background:var(--danger-soft); color:var(--danger); }
.mobile-saved-row { display:flex; gap:8px; align-items:center; border:1px solid var(--line); border-radius:12px; margin-top:12px; padding:10px; }
.mobile-saved-row button { padding:10px; border:0; border-radius:8px; background:var(--surface-soft); color:var(--ink); min-height:44px; }
.mobile-saved-row > button:first-child { display:grid; gap:6px; flex:1; min-width:0; text-align:left; background:transparent; }
.mobile-saved-row strong { overflow-wrap:anywhere; font-size:13px; }
.mobile-saved-row small { color:var(--muted); font-size:11px; }
.mobile-saved-row [aria-pressed="true"] { color:var(--brand-bright); background:var(--brand-soft); }
.mobile-inline-actions { display:flex; flex-wrap:wrap; gap:8px; }
.mobile-inline-actions button { display:flex; gap:8px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:10px 12px; color:var(--ink); background:var(--surface-soft); font-size:12px; }
.mobile-checkbox { display:flex; align-items:flex-start; gap:10px; margin:18px 0; line-height:1.8; }
.mobile-checkbox input { width:20px; min-width:20px; margin-top:4px; }
#mobile-status { position:fixed; left:50%; bottom:100px; transform:translate(-50%,15px); z-index:1000; max-width:calc(100% - 30px); padding:14px 20px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--surface); box-shadow:var(--shadow-md); opacity:0; pointer-events:none; font-size:13px; }
#mobile-status.show { opacity:1; transform:translate(-50%,0); }
@media(max-width:820px) {
  html.mobile-dialog-open { overflow:hidden; }
  html.mobile-dialog-open body { overflow:hidden; }
  html { scroll-padding-top:90px; }
  body.has-mobile-nav { min-width:0; padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)); }
  body.has-property-actions { padding-bottom:calc(155px + env(safe-area-inset-bottom,0px)); }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea { font-size:16px; }
  input,select,textarea { min-width:0; max-width:100%; color:var(--ink); background-color:var(--surface-soft); }
  option { background-color:var(--surface); color:var(--ink); }
  button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
  button:focus-visible,a:focus-visible { outline:3px solid var(--brand-bright); outline-offset:3px; }
  .mobile-only { display:inline-flex; }
  .mobile-bottom-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; position:fixed; z-index:120; left:0; right:0; bottom:0; height:calc(68px + env(safe-area-inset-bottom,0px)); padding:5px 6px env(safe-area-inset-bottom,0px); border-top:1px solid var(--line); background:var(--surface); box-shadow:0 -6px 24px rgba(0,0,0,.07); }
  .mobile-bottom-nav > a,.mobile-bottom-nav > button { min-width:0; min-height:55px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; border:0; border-radius:12px; padding:5px 2px; background:transparent; color:var(--muted); text-decoration:none; font-size:9px; font-weight:700; line-height:1.3; }
  .mobile-bottom-nav svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-bottom-nav [aria-current="page"] { color:var(--brand-bright); background:var(--brand-soft); }
  .mobile-bottom-nav > .mobile-nav-add { color:var(--on-primary); background:var(--brand); margin:0 4px; }
  :root[data-theme="dark"] .mobile-bottom-nav > .mobile-nav-add { background:var(--brand-bright); }
  .home-page .header-shell { width:calc(100% - 24px); min-height:64px; flex-wrap:nowrap; justify-content:space-between; gap:8px; }
  .home-page .menu-toggle,.home-page .main-nav,.home-page .header-actions > :not(select):not(.theme-toggle) { display:none!important; }
  .home-page .site-header .header-actions,body.menu-open .site-header .header-actions { display:flex; width:auto; max-height:none; margin:0; padding:0; order:0; flex:0 0 auto; flex-wrap:nowrap; overflow:visible; gap:5px; background:none; }
  .home-page .brand-logo { gap:7px; }
  .home-page .brand-symbol { width:29px; height:29px; }
  .home-page .brand-name { font-size:16px; letter-spacing:.08em; }
  #language,#info-language,.listing-page > header .header-actions select { width:112px; min-width:112px; padding-inline:9px 24px; font-size:11px; flex:0 0 112px; }
  .home-page .theme-toggle { width:38px; min-width:38px; height:40px; }
  .home-page > main { width:calc(100% - 24px); margin-top:12px; }
  .hero { border-radius:20px; grid-template-columns:1fr; min-height:0; }
  .hero-copy { min-height:0; padding:28px 22px; }
  .hero-kicker { font-size:9px; letter-spacing:.07em; margin-bottom:6px; }
  .hero h1 { font-size:clamp(26px,7vw,36px); line-height:1.4; margin:12px 0; }
  .hero-copy > p { font-size:12px; line-height:1.8; margin:10px 0 0; }
  .hero .hero-actions { gap:8px; flex-wrap:nowrap; flex-direction:row; width:100%; margin-top:18px; }
  .hero .hero-actions > * { flex:1 1 0; width:auto; min-width:0; padding:10px; min-height:46px; font-size:10px; }
  .hero-features,.hero-info-card { display:none; }
  .hero-picture { min-height:185px; height:185px; margin:0 8px 8px; }
  .hero-image-label { font-size:9px; }
  .search-panel { margin-top:18px; padding:16px; border-radius:16px; }
  .search-tabs { gap:3px; margin-bottom:14px; }
  .search-tabs button { flex:1; padding:9px 5px; min-height:42px; font-size:9px; white-space:normal; }
  .search-tabs > span { display:none; }
  #search { grid-template-columns:1fr 1fr; gap:12px 10px; }
  #search label span,#extra-fields label span { font-size:10px; }
  #search select,#search input,#extra-fields select,#extra-fields input { min-height:46px; font-size:16px; }
  #search .filter-button,#search .search-button { grid-column:auto; min-height:44px; font-size:10px; }
  #extra-fields { grid-template-columns:1fr 1fr; gap:12px 10px; }
  .quick-types { margin-top:16px; display:flex; flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; gap:7px; }
  .quick-types > span { display:none; }
  .quick-types button { flex:0 0 auto; min-height:38px; font-size:9px; }
  .mobile-tools { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0 20px; }
  .mobile-tools button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:9px 6px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font-size:10px; }
  .mobile-tools svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
  .mobile-tools [data-search-alert-count] { position:absolute; right:7px; top:7px; background:var(--danger); color:#fff; border-radius:20px; font-size:10px; padding:2px 6px; pointer-events:none; }
  .ad-slot { min-height:96px; margin:22px 0; }
  .ad-slot strong { font-size:15px; }
  .listings { margin-top:32px; }
  .section-heading { margin-bottom:14px; gap:12px; }
  .section-heading h2 { font-size:23px; }
  .section-heading p { font-size:10px; }
  .section-label { font-size:8px; }
  .promotion-section { padding:18px 12px 12px; }
  .promotion-section > .cards { grid-auto-columns:min(78vw,300px); scroll-snap-type:x proximity; padding-bottom:8px; }
  .promotion-section > .cards > .card { scroll-snap-align:start; }
  .cards,.standard-section > .cards { grid-template-columns:1fr; gap:14px; }
  .card { border-radius:16px; }
  .card-photo { aspect-ratio:16/10; }
  .card-body { min-height:0; padding:15px; }
  .card .price { font-size:25px; }
  .card-title { font-size:15px; line-height:1.6; }
  .card .location { font-size:11px; line-height:1.7; }
  .card .specs { font-size:11px; gap:10px; }
  .card .unit-price,.card-topline,.card-footer { font-size:10px; }
  .card-footer { margin-top:14px; padding-top:12px; }
  .card .heart { width:42px; height:42px; }
  .mobile-compare-toggle { display:flex; position:absolute; left:12px; bottom:12px; align-items:center; gap:5px; min-height:35px; padding:6px 10px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); font-size:9px; }
  .mobile-compare-toggle svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; }
  .mobile-compare-toggle[aria-pressed="true"] { background:var(--brand); border-color:var(--brand); color:var(--on-primary); }
  .mobile-compare-bar { display:flex; position:fixed; left:12px; right:12px; bottom:calc(78px + env(safe-area-inset-bottom,0px)); z-index:125; gap:8px; padding:9px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow-md); }
  .mobile-compare-bar button { display:flex; gap:9px; justify-content:center; align-items:center; min-height:42px; border:0; border-radius:9px; padding:8px 12px; background:var(--brand); color:var(--on-primary); font-size:12px; }
  .mobile-compare-bar button:first-child { flex:1; }
  .mobile-compare-bar button:last-child { background:var(--surface-soft); color:var(--ink); }
  .mobile-compare-bar svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; }
  .mobile-dialog { max-height:calc(var(--mobile-viewport,100dvh) - 24px); padding:20px 16px; border-radius:18px; }
  .mobile-dialog header { position:sticky; top:-20px; z-index:2; background:var(--surface); padding:6px 0; }
  .mobile-dialog .muted { font-size:11px; line-height:1.8; }
  .mobile-dialog label { font-size:12px; }
  .mobile-dialog .primary { min-height:46px; }
  .mobile-filter-sheet { width:100%; max-width:720px; max-height:calc(var(--mobile-viewport,100dvh) - 20px); margin:auto auto 0; border-radius:22px 22px 0 0; padding-bottom:calc(22px + env(safe-area-inset-bottom,0px)); }
  #mobile-filter-fields #search,#mobile-filter-fields #extra-fields { display:grid; grid-template-columns:1fr 1fr; gap:15px 10px; margin:0 0 18px; }
  #mobile-filter-fields .search-button,#mobile-filter-fields #extra { display:none; }
  #mobile-filter-fields #reset { grid-column:1/-1; min-height:44px; }
  #mobile-filter-apply { width:100%; position:sticky; bottom:0; }
  .dashboard-shell { width:calc(100% - 24px); margin-top:16px; }
  .dashboard-welcome { padding:22px 18px; gap:16px; border-radius:18px; }
  .profile-summary h1 { font-size:23px; overflow-wrap:anywhere; }
  .profile-summary > div { min-width:0; }
  #profile-email { overflow-wrap:anywhere; font-size:11px; }
  .dashboard-nav { top:64px; overflow-x:auto; flex-wrap:nowrap; gap:6px; padding:8px; margin-top:16px; }
  .dashboard-nav button { white-space:nowrap; min-height:42px; padding:8px 12px; font-size:10px; }
  .dashboard-listing-row { grid-template-columns:94px minmax(0,1fr); gap:12px; padding:14px; }
  .dashboard-listing-photo { width:94px; height:86px; }
  .dashboard-listing-info h3 { font-size:13px; }
  .dashboard-listing-info p,.dashboard-listing-info small { font-size:10px; overflow-wrap:anywhere; }
  .dashboard-listing-actions { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:7px; width:100%; }
  .dashboard-listing-actions > *,.history-actions > * { min-height:44px; padding:9px; font-size:10px; white-space:normal; text-align:center; }
  .dashboard-listing-price { grid-column:1/-1; padding-top:10px; }
  .dashboard-order-row { display:flex; align-items:stretch; flex-direction:column; gap:9px; padding:15px; }
  .history-listing-row { grid-template-columns:62px minmax(0,1fr); gap:10px; padding:12px; }
  .history-listing-row img { width:62px; height:56px; }
  .history-listing-row > div { min-width:0; }
  .history-listing-row strong { white-space:normal; font-size:11px; }
  .history-reason,.history-listing-row time,.history-actions { grid-column:1/-1; }
  .history-actions { display:flex; flex-wrap:wrap; gap:8px; }
  .promotion-options { grid-template-columns:1fr 1fr; gap:9px; }
  .promotion-options > button { min-width:0; padding:14px 10px; }
  .promotion-options .package-daily { font-size:20px; }
  .package-monthly { font-size:12px; line-height:1.7; }
  .promotion-options small { font-size:9px; line-height:1.8; }
  .billing-switch button { min-height:54px; padding:10px 7px; font-size:11px; white-space:normal; line-height:1.6; }
  body.dashboard-page > header { width:calc(100% - 24px); min-height:64px; }
  .dashboard-page > header .brand-name,.listing-page > header .brand-name,.auth-page > header .brand-name { font-size:15px; }
  .dashboard-page > header .brand-symbol,.listing-page > header .brand-symbol,.auth-page > header .brand-symbol { width:28px; height:28px; }
  .dashboard-page > header .brand-logo,.listing-page > header .brand-logo,.auth-page > header .brand-logo { gap:7px; }
  .dashboard-page > header .theme-toggle,.listing-page > header .theme-toggle,.auth-page > header .theme-toggle { width:38px; min-width:38px; height:40px; }
  #dashboard-signout { display:none; }
  .mobile-profile-signout { margin-top:20px; min-height:44px; padding:12px 16px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--danger); font-size:12px; }
  .dashboard-panel h2 { font-size:clamp(20px,5vw,26px); overflow-wrap:anywhere; }
  .dashboard-listing-focus { outline:2px solid var(--brand-bright); outline-offset:3px; }
  body.dashboard-page > header .header-actions .theme-toggle { display:grid; }
  .profile-form input,.profile-form textarea { font-size:16px; }
  .transfer-shell { width:calc(100% - 24px); margin-top:20px; }
  .transfer-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
  .transfer-form-panel,.transfer-summary { min-width:0; position:static; padding:20px 16px; border-radius:17px; }
  .transfer-heading { padding:18px 0; }
  .transfer-heading h1 { font-size:25px; line-height:1.5; }
  .transfer-heading p { font-size:12px; }
  .bank-card strong { font-size:17px; overflow-wrap:anywhere; user-select:all; }
  .transfer-details { grid-template-columns:1fr; gap:12px; }
  #payment-reference { overflow-wrap:anywhere; font-size:13px; }
  .receipt-upload { padding:22px 14px; font-size:13px; }
  .receipt-consent { font-size:12px; align-items:flex-start; }
  .transfer-page > header { width:calc(100% - 24px); min-height:64px; padding:10px 0; }
  .transfer-page > header .header-actions { gap:7px; }
  .transfer-page > header .brand-name { font-size:17px; }
  .transfer-page > header .header-actions .plain { font-size:9px; min-height:42px; padding:7px 9px; max-width:120px; white-space:normal; text-align:center; }
  .transfer-summary h2 { font-size:14px; margin:7px 0; }
  .transfer-summary dl { margin:10px 0; }
  .transfer-summary dl > div { padding:6px 0; gap:10px; }
  .transfer-summary .summary-total { padding-top:12px; }
  .transfer-summary > p { margin-top:10px; font-size:9px; line-height:1.6; }
  .property { width:calc(100% - 24px); margin:18px auto 30px; }
  .property-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .property-info { position:static; padding:22px 17px; min-width:0; }
  .property-info h1 { font-size:25px; line-height:1.5; }
  .property-info .description { font-size:13px; line-height:1.9; overflow-wrap:anywhere; }
  .property-info .location { font-size:12px; }
  .property-actions { grid-template-columns:1fr 1fr; gap:8px; }
  .property-actions .plain { min-height:44px; font-size:10px; }
  .mobile-property-actions { display:flex; align-items:center; gap:7px; position:fixed; left:0; right:0; bottom:calc(68px + env(safe-area-inset-bottom,0px)); z-index:121; padding:9px 12px; border-top:1px solid var(--line); background:var(--surface); }
  .mobile-property-actions .mobile-call { flex:1; min-width:0; min-height:46px; padding:11px; font-size:12px; }
  .mobile-property-actions > button { width:44px; height:46px; flex:0 0 44px; display:grid; place-items:center; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface-soft); }
  .mobile-property-actions svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-property-actions [aria-pressed="true"] { color:var(--brand-bright); background:var(--brand-soft); }
  #mobile-network:not([hidden]) { display:block; position:fixed; z-index:170; left:10px; right:10px; top:70px; padding:10px 14px; border:1px solid var(--danger); border-radius:10px; background:var(--surface); color:var(--danger); font-size:11px; }
  #toast { bottom:calc(145px + env(safe-area-inset-bottom,0px)); max-width:calc(100vw - 24px); font-size:12px; overflow-wrap:anywhere; }
  body.keyboard-open .mobile-bottom-nav,body.keyboard-open .mobile-property-actions,body.keyboard-open .mobile-compare-bar { display:none; }
  #editor.mobile-wizard { position:fixed; top:var(--mobile-viewport-top,0px); right:0; bottom:auto; left:0; width:100%; max-width:720px; box-sizing:border-box; min-height:0; height:var(--mobile-viewport,100dvh); max-height:var(--mobile-viewport,100dvh); margin:0 auto; padding:22px 17px calc(20px + env(safe-area-inset-bottom,0px)); border-radius:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; scroll-behavior:auto; scroll-padding-block:16px 24px; overflow-anchor:none; }
  body.keyboard-open dialog[open]:not(#editor):not(.photo-viewer) { position:fixed; top:calc(var(--mobile-viewport-top,0px) + 8px); bottom:auto; margin:0 auto; max-height:calc(var(--mobile-viewport,100dvh) - 16px); overflow-y:auto; overscroll-behavior-y:contain; scroll-behavior:auto; }
  .mobile-wizard .add-form { display:flex; flex-direction:column; gap:16px; }
  .mobile-wizard .add-form > * { flex-shrink:0; }
  .mobile-wizard .editor-step-group { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
  .mobile-wizard .editor-mobile-footer { display:block; margin-top:auto; }
  .editor-step-indicator { list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; padding:0; margin:20px 0; }
  .editor-step-indicator button { display:grid; justify-items:center; gap:6px; width:100%; min-height:58px; padding:7px 2px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); color:var(--muted); font-size:9px; }
  .editor-step-indicator b { font-size:14px; }
  .editor-step-indicator [aria-current="step"] { background:var(--brand-soft); color:var(--brand-bright); border-color:var(--brand-bright); }
  .editor-step-actions { display:flex; gap:10px; padding-top:14px; }
  .editor-step-actions > button { flex:1; min-height:48px; padding:12px 10px; font-size:12px; }
  .editor-draft-tools { display:flex; align-items:center; gap:12px; margin:18px 0 2px; padding-top:14px; border-top:1px solid var(--line); }
  #editor-save-draft { flex:0 0 auto; min-height:42px; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); color:var(--ink); padding:9px; font-size:10px; }
  #editor-draft-status { font-size:9px; line-height:1.7; color:var(--muted); }
  #editor-draft-offer { padding:13px; margin:12px 0; background:var(--brand-soft); border:1px solid var(--line); border-radius:12px; font-size:11px; }
  #editor-draft-offer button { min-height:42px; border:1px solid var(--line); border-radius:8px; padding:9px; margin:0 5px 5px 0; background:var(--surface); color:var(--ink); font-size:10px; }
  .editor-upload-status progress { width:100%; margin-top:12px; accent-color:var(--brand-bright); }
  .editor-upload-status p { font-size:11px; color:var(--muted); }
  #editor-mobile-review { min-width:0; display:grid; gap:12px; }
  #editor-mobile-review h3 { font-size:18px; margin:0; }
  .editor-review-cover { width:100%; max-height:200px; object-fit:cover; border-radius:12px; }
  #editor-mobile-review dl { display:grid; gap:9px; margin:0; }
  #editor-mobile-review dl > div { display:flex; gap:12px; justify-content:space-between; padding-bottom:8px; border-bottom:1px solid var(--line); font-size:12px; }
  #editor-mobile-review dt { flex:0 0 90px; color:var(--muted); }
  #editor-mobile-review dd { margin:0; text-align:right; overflow-wrap:anywhere; }
  #editor-mobile-review .description { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
  .listing-media-editor .cover-picker { gap:12px; }
  .listing-media-editor .cover-file-button { min-height:44px; font-size:11px; }
  .seller-panel { gap:8px; padding:12px; }
  .seller-copy > strong { font-size:11px; }
  .seller-panel .plain { font-size:9px; padding:7px; }
  .rating-stars small { font-size:8px; }
  .site-footer { margin-top:30px; }
  .footer-shell { grid-template-columns:1fr 1fr; gap:24px 16px; }
  .footer-contact { grid-column:1/-1; }
  .home-page:has(.mobile-compare-bar:not([hidden])) { padding-bottom:calc(145px + env(safe-area-inset-bottom,0px)); }
  #listing-map { min-height:360px; height:60dvh; }
}
@media(min-width:600px) and (max-width:820px) {
  .cards,.standard-section > .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero { grid-template-columns:1fr 1fr; }
  .hero-picture { height:auto; min-height:280px; }
  .mobile-tools { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) {
  .mobile-dialog,.mobile-bottom-nav { scroll-behavior:auto; }
}
/* Keep the existing desktop header within medium desktop widths. */
@media(min-width:981px) and (max-width:1400px) {
  .site-header .header-icon-button > span { display:none; }
  .site-header .account-actions .auth-login[data-no-translate] { display:block; max-width:128px; overflow:hidden; text-overflow:ellipsis; line-height:40px; }
}
