/* Marketplace surfaces and consistent advert cards. */
:root {--ink:#242424;--muted:#717171;--line:#e6e6e6;--soft:#f7f7f7;--tint:#f2f2f2}
body {color:var(--ink);background:#fff}
.topline {background:#fafafa;color:#737373;border-bottom:1px solid var(--line)}
.topline .wrap > span:first-child {color:#626262}
.site-header {background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
.brand {letter-spacing:-.8px}
.brand-mark {border-radius:10px}
.category-nav {border-bottom:1px solid var(--line)}
.category-nav a {color:#555}
.category-nav a.active {color:var(--ink);border-bottom-color:var(--ink)}
.page-browse {background:var(--soft)}
.search-band,.page-home .search-band {background:#fff;border-bottom:1px solid var(--line)}
.browse-heading p {color:#727272}
.main-search {border-color:#dcdcdc;box-shadow:0 2px 8px #00000004;border-radius:12px}
.main-search input::placeholder,.search-field-control > .icon,.search-field-label {color:#777}
.button {box-shadow:none}
.button:hover {filter:brightness(.9)}
.button.secondary,.mobile-filter,.sort-label select {border-color:#dedede;background:#fff;color:var(--ink)}
.button.secondary:hover {background:#f5f5f5;border-color:#bdbdbd}
input:not([type=checkbox]):not([type=radio]),textarea,select {border-color:#dedede}
input:focus,textarea:focus,select:focus {outline-color:#38383826;border-color:#858585}
:focus-visible {outline:3px solid #61616166;outline-offset:3px}
.category-shortcuts > a:hover,.page-home .category-shortcuts > .category-tile:hover {background:#fff;border-color:#bdbdbd;box-shadow:0 4px 14px #00000005}
.page-home .category-icon-art {background:#f0f0f0;color:#6a6a6a}
.category-photo {background:#eee}
.group-categories a,.sidebar-safety,.save-search-bar,.badge.pale {background:#f2f2f2;color:#555;border-color:var(--line)}
.filters,.panel,.seller-card,.advert-sidebar {border-color:var(--line);box-shadow:none}
.filters .sidebar-safety {background:#f7f7f7}
.results-heading p,.card-category,.card-meta,.card-meta time {color:#737373}
.listing-grid {align-items:stretch}
.listing-card {display:flex;flex-direction:column;min-width:0;border:1px solid #e3e3e3;border-radius:12px;background:#fff;box-shadow:none;overflow:hidden}
.listing-card:hover {border-color:#bcbcbc;box-shadow:0 4px 16px #00000005}
.listing-card .card-photo {position:relative;display:block;flex:none;width:100%;aspect-ratio:4/3;background:#ededed;overflow:hidden}
.listing-card .card-photo > img {display:block;width:100%;height:100%;object-fit:cover;transform:none}
.listing-card:hover .card-photo > img {transform:none}
.listing-card .card-photo-count {position:absolute;right:10px;bottom:10px;z-index:1;padding:3px 7px;border-radius:5px;background:#151515b8;color:#fff;font-size:12px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;pointer-events:none}
.listing-card .card-body {display:grid;flex:1;grid-template-rows:16px 42px 28px 32px 28px;gap:6px;min-width:0;padding:16px}
.listing-card .card-category {display:block;min-width:0;margin:0;font-size:12px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listing-card .card-body h3 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;min-width:0;margin:0;overflow:hidden;font-size:16px;line-height:21px;font-weight:600;letter-spacing:-.2px}
.listing-card .card-price {display:block;min-width:0;margin:0;font-size:22px;line-height:28px;color:var(--ink);letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.listing-card .card-price small {font-size:11px;font-weight:400;letter-spacing:0;color:#777}
.listing-card .card-facts {display:flex;flex-wrap:wrap;align-content:flex-start;gap:2px 0;list-style:none;min-width:0;min-height:32px;max-height:32px;margin:0;padding:0;overflow:hidden;color:#737373;font-size:12px;line-height:15px}
.card-facts li {white-space:nowrap}
.card-facts li+li::before {content:"·";padding-inline:6px;color:#aaa}
.listing-card .card-meta {display:flex;justify-content:space-between;align-items:end;gap:8px;min-width:0;margin:0;padding:8px 0 0;border-top:1px solid #f0f0f0;font-size:12px;line-height:18px}
.listing-card .card-meta > span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listing-card .card-meta time {flex:none;font-size:12px;line-height:18px}
.listing-card .card-badges {top:10px;left:10px;max-width:calc(100% - 64px)}
.listing-card .badge {background:#ffffffed;color:#353535;border:1px solid #00000008;font-size:11px;font-weight:500;padding:4px 7px}
.listing-card .badge.reduced {background:#fff;color:#555;border-color:#e7e7e7}
.listing-card .save-button {width:34px;height:34px;top:10px;right:10px;border:1px solid #ffffff80;box-shadow:0 1px 5px #0000000a}
.listing-card .save-button .icon {width:19px;height:19px}
.listing-card .save-button.is-saved {color:#dc3545}
.page-advert .advert-sidebar,.page-advert .advert-contact {background:#fff;border-color:var(--line);box-shadow:none}
.advert-vehicle-details,.advert-summary,.seller-contact {border-color:var(--line)}
.offer-label,.advert-category {background:#f2f2f2;color:#575757;border-color:var(--line)}
.trust-strip {background:#f4f4f4;border-color:var(--line)}
.trust-strip .icon {color:#5f5f5f}
.back-top {background:#fff;color:var(--ink);border-color:#ddd;box-shadow:0 2px 10px #00000008}
.cookie-note {background:#fff;border-color:var(--line);box-shadow:0 -2px 16px #00000006}
.posting-page .choice-card:has(input:checked) {background:#f4f4f4;border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.posting-page .photo-drop {background:#fafafa;border-color:#bdbdbd}
.posting-page .price-input:focus-within {outline-color:#38383826}
@media(max-width:600px){
 .listing-card .card-body {padding:15px;grid-template-rows:16px 42px 28px 32px 28px}
 .listing-card .card-body h3 {font-size:17px;line-height:21px}
 .listing-card .card-price {font-size:23px}
}

/* A compact blue header and a direct path from categories to adverts. */
:root {--ink:#223149;--muted:#69778a;--line:#e2e7ef;--soft:#f6f8fc;--tint:#eef2fa}
.topline {display:none}
.site-header {background:var(--navy);border:0;color:#fff}
.site-header .header-row {min-height:86px;flex-wrap:nowrap;justify-content:space-between;gap:24px}
.site-header .brand {color:#fff;flex:none;font-size:24px;letter-spacing:-.6px}
.site-header .brand-mark {background:transparent;color:var(--accent);width:36px;height:36px;border:1px solid #ffffff40;border-radius:10px}
.site-header .brand-name {line-height:1.1}
.site-header .header-actions {display:flex;align-items:center;gap:24px;flex-wrap:nowrap}
.header-action,.site-header .account-menu > summary {position:relative;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;font-weight:500;line-height:1.2}
.header-action .icon,.site-header .account-menu > summary .icon {width:23px;height:23px;flex:none}
.header-action:hover,.site-header .account-menu > summary:hover {color:var(--accent)}
.site-header .account-menu > summary::marker {content:""}
.site-header .account-menu > summary::after {display:none}
.site-header .menu-panel {color:var(--ink);z-index:40;min-width:205px}
.menu-greeting {display:block;padding:10px 14px;border-bottom:1px solid var(--line);font-size:14px}
.header-search {display:none;position:relative;align-items:center;margin-bottom:0;padding-bottom:20px}
.page-home .header-search {display:flex}
.header-search input[type=search] {height:50px;min-width:0;width:100%;margin:0;padding:12px 16px 12px 50px;border:1px solid #ffffff80;border-radius:8px;background:#fff;color:var(--ink);font-size:16px;box-shadow:none}
.header-search input::placeholder {color:#8a949a;font-weight:400}
.header-search button {position:absolute;left:0;top:0;display:grid;place-items:center;width:48px;height:50px;margin:0;padding:0;background:transparent;border:0;color:#6e7f87}
.header-search button .icon {display:block;width:21px;height:21px;margin:0}
.site-header .counter {top:-7px;right:0;background:var(--accent);color:#0d3b66;border:1px solid var(--navy)}
.page-home {background:#fff}
.page-home .home-categories {padding-top:26px}
.page-home .home-categories .section-heading {margin-bottom:14px}
.page-home .home-categories h2 {font-size:22px;font-weight:650;letter-spacing:-.5px}
.page-home .home-see-all {display:flex;justify-content:center;min-height:44px;width:100%;margin-top:14px;border:1px solid #bfcee8;border-radius:8px;background:#f1f5fd;color:var(--navy);font-size:15px;font-weight:600}
.page-home .home-see-all:hover {background:#e9effb;border-color:#94add8}
.page-home .home-marketplace {margin-top:28px}
.page-home .home-marketplace:not(.filters-visible) .listing-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.page-home .category-icon-art {color:#70809a;background:#eef2fa}
.page-home .category-shortcuts > .category-tile:hover {border-color:#a8bcdf}
.category-nav a.active {color:var(--navy);border-bottom-color:var(--navy)}
.button.secondary {color:var(--navy)}
.site-header [hidden],#auth-dialog [hidden],[data-message-composer][hidden],[data-seller-message-form][hidden],[data-message-verification][hidden],[data-message-login][hidden] {display:none!important}
@media(max-width:800px){
 .site-header .header-row {width:calc(100% - 32px);min-height:72px;gap:12px;padding-block:13px}
 .site-header .brand {max-width:100px;gap:6px;font-size:14px;letter-spacing:-.25px}
 .site-header .brand img {max-width:100px;max-height:38px;width:auto;height:auto;object-fit:contain}
 .site-header .brand-mark {width:31px;height:34px;border:0;flex:none}
 .site-header .brand-mark .icon {width:28px;height:28px}
 .site-header .brand-name {max-width:59px;white-space:normal;line-height:1.05}
 .site-header .header-actions {gap:12px;flex:none}
 .header-action,.site-header .account-menu > summary {flex-direction:column;gap:4px;min-width:34px;font-size:11px;line-height:14px}
 .header-action .icon,.site-header .account-menu > summary .icon {width:22px;height:22px}
 .site-header .account-menu > summary > span {display:block}
 .site-header .menu-panel {top:calc(100% + 15px)}
 .site-header .header-search {display:flex;width:calc(100% - 32px);padding-bottom:16px}
 .header-search input[type=search] {height:46px;padding-left:43px;border-radius:6px}
 .header-search button {height:46px;width:43px}
 .category-nav {display:none}
 .page-browse:not(.page-home) .main-search {display:none}
 .page-browse:not(.page-home) .search-band {padding:18px 0 4px;background:#fff;border:0}
 .page-browse:not(.page-home) .browse-heading h1 {font-size:25px;margin-bottom:7px}
 .page-browse:not(.page-home) .browse-heading .eyebrow,.page-browse:not(.page-home) .free-label {display:none}
 .page-browse:not(.page-home) .browse-heading p {font-size:14px;margin-bottom:10px}
 .page-home .home-categories {width:calc(100% - 32px);padding-top:20px}
 .page-home .home-categories h2 {font-size:21px}
 .page-home .category-shortcuts {display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px) / 2.5);gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 0 5px;align-items:stretch}
 .page-home .category-shortcuts::-webkit-scrollbar {display:none}
 .page-home .category-shortcuts > .category-tile {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 48px;min-width:0;min-height:0;padding:0;gap:0;aspect-ratio:auto;border-radius:9px;scroll-snap-align:start;flex:none}
 .page-home .category-shortcuts > .category-tile-text {display:flex;aspect-ratio:1}
 .page-home .category-photo,.page-home .category-icon-art {aspect-ratio:1}
 .page-home .category-photo img {width:100%;height:auto;aspect-ratio:1;object-fit:contain}
 .page-home .category-caption {display:flex;align-items:center;min-width:0;min-height:48px;margin:0;padding:7px 8px}
 .page-home .category-caption strong,.page-home .category-tile[href="/watches"] .category-caption strong {font-size:12px;line-height:16px;letter-spacing:-.15px;overflow-wrap:normal}
 .page-home .category-icon-art .icon {width:35px;height:35px}
 .page-home .home-see-all {margin-top:10px}
 .page-home .home-marketplace {width:calc(100% - 32px);margin-top:25px}
 .page-home .results-heading {gap:12px;margin-bottom:15px}
 .page-home .results-heading h2 {font-size:23px}
 .page-home .results-heading p {font-size:12px}
 .page-home .results-controls {width:100%;justify-content:space-between}
 .page-home .listing-grid,.page-home .home-marketplace:not(.filters-visible) .listing-grid,.page-home .home-marketplace.filters-visible .listing-grid,.listing-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}
 .listing-card .card-body {padding:10px;grid-template-rows:14px 36px 25px 30px 24px;gap:5px}
 .listing-card .card-category {font-size:11px;line-height:14px}
 .listing-card .card-body h3 {font-size:14px;line-height:18px;letter-spacing:-.15px}
 .listing-card .card-price {font-size:19px;line-height:25px;letter-spacing:-.4px}
 .listing-card .card-price small {display:none}
 .listing-card .card-facts {font-size:11px;line-height:14px;min-height:30px;max-height:30px}
 .card-facts li+li::before {padding-inline:4px}
 .listing-card .card-meta {font-size:11px;line-height:16px;gap:5px;padding-top:6px;align-items:end}
 .listing-card .card-meta time {font-size:10px;line-height:16px}
 .listing-card .save-button {width:28px;height:28px;top:7px;right:7px}
 .listing-card .save-button .icon {width:17px;height:17px}
 .listing-card .card-photo-count {right:7px;bottom:7px;padding:2px 5px;font-size:10px}
 .listing-card .card-badges {top:7px;left:7px;max-width:calc(100% - 45px)}
 .listing-card .badge {font-size:9px;line-height:1.4;padding:3px 5px}
}
@media(max-width:360px){.site-header .header-actions {gap:9px}.site-header .brand {font-size:13px;max-width:92px}.site-header .brand-name {max-width:53px}.header-action,.site-header .account-menu > summary {min-width:30px;font-size:10px}.listing-card .card-price {font-size:17px}}

/* Login, registration and password recovery stay in one accessible native dialog. */
#auth-dialog {width:min(440px,calc(100% - 28px));max-width:440px;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 20px 70px #20325d33;overflow-y:auto;overscroll-behavior:contain}
#auth-dialog:not([open]) {display:none}
#auth-dialog::backdrop {background:#1d2e5880}
.auth-dialog-heading {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--line);background:#fff}
.auth-dialog-brand {display:flex;align-items:center;gap:7px;color:var(--navy);font-size:15px;font-weight:650}
.auth-dialog-brand .icon {width:21px;height:21px;color:var(--accent)}
.auth-dialog-close {display:grid;place-items:center;width:32px;height:32px;padding:0;background:#f0f3fa;border:0;border-radius:50%;color:var(--navy)}
.auth-dialog-close .icon {width:21px;height:21px;transform:rotate(45deg)}
.auth-dialog-content {padding:23px 25px 26px}
#auth-dialog h2 {margin:0 0 8px;font-size:26px;line-height:1.2;letter-spacing:-.6px}
#auth-dialog #inline-auth-intro {margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.5}
.auth-dialog-tabs {display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;margin-bottom:20px;background:#edf1f9;border-radius:8px}
.auth-dialog-tabs button {min-height:39px;padding:8px;border:0;border-radius:5px;background:transparent;color:#6b7890;font-size:14px;font-weight:600}
.auth-dialog-tabs button[aria-pressed=true] {background:#fff;color:var(--navy);box-shadow:0 1px 5px #254f9c10}
#auth-dialog label {display:block;margin:0 0 15px;font-size:14px;font-weight:500}
#auth-dialog input:not([type=checkbox]),#auth-dialog select {width:100%;min-height:46px;margin-top:6px;padding:10px 12px;border:1px solid #dce3ee;border-radius:7px;background:#fff;font-size:16px}
#auth-dialog .check {display:flex;align-items:flex-start;gap:9px;margin-top:13px;font-size:12px;line-height:1.6;font-weight:400}
#auth-dialog .check input {margin-top:4px;flex:none}
#auth-dialog .check a {text-decoration:underline}
#auth-dialog small {font-size:12px;color:var(--muted)}
#auth-dialog .button {min-height:46px;margin-top:4px;font-size:15px}
.auth-forgot {display:block;margin:15px auto 0;font-size:13px;color:var(--navy)}
.auth-dialog-error,.auth-dialog-status {margin:0 0 14px;padding:10px 12px;border-radius:6px;font-size:13px;line-height:1.5}
.auth-dialog-error {background:#fff1f1;color:#9d3030}
.auth-dialog-status {background:#eaf6f1;color:#236448}
@media(max-width:480px){#auth-dialog {max-height:calc(100dvh - 24px);margin:auto}.auth-dialog-content {padding:20px}.auth-dialog-heading {padding:13px 18px}#auth-dialog h2 {font-size:24px}}

/* Keep the compact wordmark intact and reserve room for the search icon. */
.site-header .header-search input:not([type=checkbox]):not([type=radio]):not([type=file]) {padding-left:50px;font-weight:400;margin:0;min-height:50px;height:50px}
@media(max-width:800px){
 .site-header .brand {max-width:110px}
 .site-header .brand-name {min-width:64px;max-width:64px;overflow-wrap:normal;word-break:normal}
 .site-header .header-search input:not([type=checkbox]):not([type=radio]):not([type=file]) {padding-left:44px;min-height:46px;height:46px}
}
@media(max-width:360px){.site-header .brand {max-width:99px}.site-header .brand-name {min-width:58px;max-width:58px}}

/* Tighter header, a free-posting invitation and full-width mobile adverts. */
.site-header .header-row {min-height:72px;padding-block:8px 5px}
.site-header .header-search {margin-top:0;padding-bottom:14px}
.listing-card .card-photo-count {left:10px;right:auto}
.listing-card .card-body {grid-template-rows:16px 42px 28px 56px 28px}
.listing-card .card-facts {gap:6px;min-height:56px;max-height:56px;color:#58636d;font-size:12px;line-height:16px}
.listing-card .card-facts li {display:inline-flex;align-items:center;gap:5px;max-width:100%;min-width:0;padding:4px 7px;border-radius:5px;background:#f0f3f7;white-space:nowrap}
.listing-card .card-facts li .icon {flex:none;width:15px;height:15px;stroke-width:1.6}
.listing-card .card-facts li span {min-width:0;overflow:hidden;text-overflow:ellipsis}
.listing-card .card-facts li+li::before {display:none;content:none;padding:0}
.home-post-promo {display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:22px;padding:22px 25px;border:1px solid #eadab0;border-radius:13px;background:#fff9e9}
.post-promo-copy {min-width:0}
.post-promo-label {display:block;color:#64502b;font-size:11px;font-weight:650;letter-spacing:.45px;text-transform:uppercase;line-height:1.5;margin-bottom:5px}
.home-post-promo h2 {font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:0 0 7px;color:var(--navy)}
.home-post-promo p {margin:0;color:#596678;font-size:14px;line-height:1.5}
.post-promo-button {flex:none;min-height:44px;font-size:14px;padding:11px 16px;border-radius:8px;background:var(--accent);color:var(--navy)}
.post-promo-button .icon {width:18px;height:18px}
@media(max-width:800px){
 .site-header .header-row {min-height:58px;padding-block:8px 5px}
 .site-header .header-search {margin-top:0;padding-bottom:10px}
 .listing-grid,.page-home .listing-grid,.page-home .home-marketplace:not(.filters-visible) .listing-grid,.page-home .home-marketplace.filters-visible .listing-grid {grid-template-columns:minmax(0,1fr);gap:18px}
 .listing-card .card-body {padding:15px;grid-template-rows:16px 42px 30px 56px 28px;gap:6px}
 .listing-card .card-category {font-size:12px;line-height:16px}
 .listing-card .card-body h3 {font-size:17px;line-height:21px}
 .listing-card .card-price {font-size:24px;line-height:30px}
 .listing-card .card-facts {font-size:12px;line-height:16px;min-height:56px;max-height:56px}
 .listing-card .card-meta,.listing-card .card-meta time {font-size:12px;line-height:18px}
 .listing-card .card-meta {gap:8px;padding-top:8px}
 .listing-card .card-photo-count {left:9px;right:auto;bottom:9px;font-size:11px;padding:3px 6px}
 .listing-card .save-button {width:33px;height:33px;top:9px;right:9px}
 .listing-card .save-button .icon {width:19px;height:19px}
 .listing-card .card-badges {top:9px;left:9px}
 .listing-card .badge {font-size:11px;padding:4px 7px}
 .home-post-promo {width:calc(100% - 32px);margin-top:16px;padding:18px;gap:15px;flex-wrap:wrap}
 .home-post-promo h2 {font-size:22px}
 .home-post-promo p {font-size:14px}
 .post-promo-label {font-size:10px}
 .post-promo-button {min-height:43px;font-size:14px}
}
@media(max-width:480px){.home-post-promo {gap:14px}.home-post-promo .post-promo-copy {width:100%}.post-promo-button {width:100%;justify-content:center}}

/* Compact desktop category strip, matching the mobile cards without enlarging images. */
@media(min-width:801px){
 .page-home .category-shortcuts {display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(140px,calc((100% - 60px) / 6),172px);gap:12px;justify-content:start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#becbe0 transparent;padding:0 0 8px;align-items:stretch}
 .page-home .category-shortcuts > .category-tile {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 48px;min-width:0;min-height:0;aspect-ratio:auto;padding:0;gap:0;border-radius:10px;scroll-snap-align:start;flex:none}
 .page-home .category-shortcuts > .category-tile-text {display:flex;aspect-ratio:1}
 .page-home .category-photo,.page-home .category-icon-art {aspect-ratio:1}
 .page-home .category-photo img {height:auto;width:100%;aspect-ratio:1;object-fit:contain}
 .page-home .category-caption {display:flex;align-items:center;min-height:48px;padding:8px 10px}
 .page-home .category-caption strong {font-size:13px;line-height:17px;letter-spacing:-.1px;overflow-wrap:normal}
 .page-home .category-icon-art .icon {width:38px;height:38px}
}

.post-promo-button:hover {filter:none;background:var(--accent);color:var(--navy);border-color:var(--navy)}

/* The main menu is a modal sheet sliding in from the right. */
.site-header .site-menu-toggle {appearance:none;background:transparent;border:0;padding:0;font-family:inherit;cursor:pointer}
#site-menu {position:fixed;inset:0 0 0 auto;width:min(360px,calc(100vw - 32px));max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:var(--ink);box-shadow:-12px 0 45px #0d3b6626;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transform:translateX(100%);transition:transform .22s cubic-bezier(.2,.7,.3,1)}
#site-menu:not([open]) {display:none}
#site-menu.is-open {transform:translateX(0)}
#site-menu::backdrop {background:#0d3b6600;transition:background-color .22s ease}
#site-menu.is-open::backdrop {background:#0d3b6673}
.site-menu-panel {display:flex;flex-direction:column;min-height:100%;padding:0 22px max(22px,env(safe-area-inset-bottom))}
.site-menu-heading {display:flex;align-items:center;justify-content:flex-end;gap:16px;position:sticky;top:0;z-index:1;padding:21px 0 15px;border-bottom:1px solid var(--line);background:#fff}
.site-menu-heading button {display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#f0f3fa;color:var(--navy);cursor:pointer}
.site-menu-heading button .icon {width:22px;height:22px;transform:rotate(45deg)}
.site-menu-greeting {margin:17px 0 12px;font-size:14px;color:var(--muted);line-height:1.5}
.site-menu-links {display:flex;flex-direction:column;gap:3px;margin:0 0 22px}
.site-menu-links > a {display:flex;align-items:center;min-height:49px;padding:11px 12px;border-radius:7px;color:var(--ink);font-size:16px;line-height:1.5;font-weight:500}
.site-menu-links > a:hover {background:#f0f4fa;color:var(--navy)}
.site-menu-links > a[aria-current=page] {background:#edf2fa;color:var(--navy);font-weight:650}
.site-menu-links > a[href="/post-advert"] {color:#fff;background:var(--navy)}
.site-menu-links > a[href="/post-advert"]:hover {color:#fff;background:var(--navy);filter:brightness(1.12)}
.site-menu-account {margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.site-menu-account form {margin:0}
.site-menu-account .button {width:100%;justify-content:center;min-height:45px;background:var(--accent);border-color:var(--accent);color:var(--navy);font-size:15px}
.site-menu-account .button:hover {filter:none;background:var(--accent);border-color:var(--navy);color:var(--navy)}
@media(max-width:480px){.site-menu-panel {padding-inline:19px}.site-menu-heading {padding-top:max(18px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){#site-menu,#site-menu::backdrop {transition:none}}

/* Compact advert text follows its content without reserved blank rows. */
.listing-card .card-body {display:flex;flex-direction:column;padding:8px 11px;gap:3px}
.listing-card .card-category {font-size:11px;line-height:14px}
.listing-card .card-body h3 {min-height:0;font-size:16px;line-height:19px}
.listing-card .card-price {font-size:22px;line-height:25px}
.listing-card .card-facts {min-height:0;max-height:none;gap:4px;font-size:11px;line-height:16px}
.listing-card .card-facts:empty {display:none}
.listing-card .card-facts li {gap:4px;padding:2px 6px;border-radius:4px}
.listing-card .card-facts li .icon {width:14px;height:14px}
.listing-card .card-meta {margin-top:2px;padding-top:4px;font-size:11px;line-height:16px}
.listing-card .card-meta time {font-size:11px;line-height:16px}

/* Small navigation and currency-choice refinements. */
.page-breadcrumbs{padding-top:14px;padding-bottom:0;font-size:12px;color:var(--muted)}.page-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px 9px;list-style:none;margin:0;padding:0}.page-breadcrumbs li{display:flex;align-items:center;gap:9px}.page-breadcrumbs li+li:before{content:'/';color:#96a2b3}.page-breadcrumbs a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}.currency-choice{max-width:440px;margin:0 auto}.currency-choice h1{font-size:26px}#price-currency-dialog{width:min(420px,calc(100vw - 28px));padding:22px}#price-currency-dialog h2{margin-top:0}#price-currency-dialog select{font-size:16px;min-height:44px}#price-currency-dialog .actions{margin-top:16px;gap:8px}#price-currency-dialog .button{min-height:44px}[aria-busy=true] input:disabled,[aria-busy=true] select:disabled,[aria-busy=true] textarea:disabled{opacity:.75}


/* A lightweight, responsive welcome for the new marketplace. */
.home-welcome{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 170px;column-gap:32px;row-gap:14px;margin-top:20px;padding:27px 32px;overflow:hidden;border:1px solid #185482;border-radius:16px;background:radial-gradient(ellipse at 80% 0%,#104e7e 0,transparent 65%),linear-gradient(120deg,#062b4c,#0d3b66);color:#fff}
.home-welcome::before,.home-welcome::after{content:"";position:absolute;z-index:-1;right:-30px;bottom:-45px;width:37%;height:125px;transform:rotate(-12deg);border-radius:100% 0 0;background:#168fca;pointer-events:none}
.home-welcome::after{right:-45px;bottom:-65px;width:31%;height:130px;background:#4ac6f2}
.welcome-heading{min-width:0}
.welcome-label{position:relative;display:inline-flex;align-items:center;gap:8px;margin:0 0 15px;padding:6px 14px;border-radius:18px 18px 18px 7px;background:var(--accent);color:var(--navy);font-size:14px;font-weight:750;line-height:1.3;text-transform:uppercase;letter-spacing:.3px;transform:rotate(-3deg)}
.welcome-label::before{content:"";width:9px;height:9px;flex:none;background:currentColor;border-radius:50%}
.welcome-label svg{position:absolute;left:calc(100% - 5px);top:-2px;width:35px;height:33px;transform:rotate(3deg)}
.home-welcome h2{margin:0;font-size:38px;font-weight:750;line-height:1.12;letter-spacing:-1.2px;color:#fff}
.home-welcome h2 span{position:relative;display:inline-block;color:#51c7f3}
.home-welcome h2 span::after{content:"";position:absolute;left:2px;right:1px;bottom:-6px;height:3px;border-radius:50%;background:currentColor;transform:rotate(-5deg)}
.home-welcome p{grid-column:1;margin:0;max-width:690px;color:#f4f8fc;font-size:16px;line-height:1.45}
.welcome-art{grid-column:2;grid-row:1 / 3;align-self:center;justify-self:center;display:block;width:170px;max-width:100%;height:auto}
.home-welcome + .home-post-promo{margin-top:14px}
@media(max-width:800px){
 .home-welcome{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) 100px;column-gap:12px;row-gap:16px;margin-top:12px;padding:20px;border-radius:14px}
 .home-welcome h2{font-size:30px;letter-spacing:-.9px}
 .welcome-label{font-size:12px;margin-bottom:14px;padding:5px 11px}
 .welcome-label svg{width:29px;height:29px;top:-3px}
 .welcome-art{width:100px;grid-row:1;align-self:end;margin-bottom:1px}
 .home-welcome p{grid-column:1 / -1;font-size:14px;line-height:1.45}
 .home-welcome::before{width:44%;height:65px;bottom:-40px}
 .home-welcome::after{width:37%;height:65px;bottom:-47px}
 .home-welcome + .home-post-promo{margin-top:12px}
}
@media(max-width:390px){.home-welcome{grid-template-columns:minmax(0,1fr) 86px;padding:18px;column-gap:8px}.home-welcome h2{font-size:27px;letter-spacing:-.8px}.welcome-art{width:86px}}
@media(max-width:340px){.home-welcome{grid-template-columns:minmax(0,1fr) 68px;padding:16px;column-gap:6px}.home-welcome h2{font-size:24px}.welcome-art{width:68px}.home-welcome p{font-size:14px}}


/* Editorial feed promotions, using existing lightweight category photography. */
.feed-promo{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 208px;grid-template-rows:auto auto 1fr;gap:12px 36px;align-items:start;min-width:0;margin:4px 0;padding:28px;border:1px solid #d2dfec;border-radius:16px;background:#edf3f9;color:var(--navy);overflow:hidden}
.feed-promo-heading{grid-column:1;grid-row:1;min-width:0}
.feed-promo-label{display:block;margin:0 0 10px;color:#496786;font-size:.8125rem;line-height:1.3;letter-spacing:.1em;font-weight:650;text-transform:uppercase}
.feed-promo h3{margin:0;color:var(--navy);font-size:2.125rem;line-height:1.07;letter-spacing:-1px;font-weight:730}
.feed-promo h3 span{display:block;color:var(--navy)}
.feed-promo .feed-promo-description{grid-column:1;grid-row:2;max-width:510px;margin:0;color:#405b73;font-size:1rem;line-height:1.45}
.feed-promo-actions{grid-column:1;grid-row:3;align-self:end;padding-top:4px;min-width:0}
.feed-promo .feed-promo-button{min-height:46px;padding:11px 22px;border:1px solid var(--accent);border-radius:7px;background:var(--accent);color:var(--navy);font-size:.9375rem;font-weight:700;line-height:1.4;transition:background-color .16s,border-color .16s}
.feed-promo .feed-promo-button:hover{background:#f8d788;border-color:#f8d788;color:var(--navy);filter:none}
.feed-promo .feed-promo-button:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.feed-promo .feed-promo-button .icon{width:18px;height:18px}
.feed-promo-media{grid-column:2;grid-row:1 / 4;align-self:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-width:0;min-height:208px;gap:4px;border-radius:9px;overflow:hidden;background:#dde7ef}
.feed-promo-media img{width:100%;height:100%;min-height:0;object-fit:cover}
.feed-promo-share .feed-promo-button{background:var(--navy);border-color:var(--navy);color:#fff}
.feed-promo-share .feed-promo-button:hover{background:#185080;border-color:#185080;color:#fff}
@media(max-width:800px){
 .feed-promo{grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:auto auto auto;gap:16px;padding:22px;align-items:center;border-radius:12px}
 .feed-promo-label{font-size:.75rem;letter-spacing:.08em;margin-bottom:10px}
 .feed-promo h3{font-size:1.75rem;line-height:1.08;letter-spacing:-.8px}
 .feed-promo-media{grid-row:1;align-self:center;min-height:0;aspect-ratio:1;border-radius:7px;gap:3px}
 .feed-promo .feed-promo-description{grid-column:1 / -1;max-width:none}
 .feed-promo-actions{grid-column:1 / -1;padding-top:0;align-self:stretch}
 .feed-promo .feed-promo-button{width:100%;min-height:46px;padding-inline:12px}
}
@media(max-width:360px){.feed-promo{grid-template-columns:minmax(0,1fr) 80px;padding:18px;gap:14px}.feed-promo h3{font-size:1.5625rem;letter-spacing:-.7px}}
@media(prefers-reduced-motion:reduce){.feed-promo .feed-promo-button{transition:none}}

/* Small count anchored to the message icon, independent of the link width. */
.header-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:none}
.site-header .header-icon-wrap .counter{position:absolute;inset:-5px -7px auto auto;display:grid;place-items:center;min-width:16px;width:auto;max-width:29px;height:16px;padding:0 4px;margin:0;border:1px solid var(--navy);border-radius:9px;background:var(--accent);color:var(--navy);font-size:10px;line-height:14px;font-weight:750;white-space:nowrap}
.site-header .header-icon-wrap .counter[hidden]{display:none}
/* Separate inbox cards and high-contrast conversation bubbles. */
.messages-page{max-width:1180px;padding-block:24px 36px}
.messages-page-heading{display:flex;align-items:baseline;gap:15px;margin:0 0 19px}
.messages-page-heading h1{margin:0;font-size:29px;letter-spacing:-.7px}
.messages-page-heading>span{font-size:14px;color:#5b7086}
.messages-page .inbox-layout{grid-template-columns:340px minmax(0,1fr);min-height:570px;align-items:stretch;overflow:visible;border:1px solid #d5dfea;border-radius:12px;background:#fff}
.messages-page .inbox-list{min-width:0;max-height:900px;overflow-y:auto;padding:18px 12px;background:#f5f7fa;border-right:1px solid #d5dfea;border-radius:12px 0 0 12px}
.inbox-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 5px 16px}
.messages-page .inbox-title h2{margin:0;font-size:16px;font-weight:650}
.inbox-title>span{font-size:13px;color:#63788c}
.messages-page .conversation-link{display:flex;align-items:center;gap:11px;min-width:0;margin:0 0 9px;padding:13px 11px;border:1px solid #dde4ed;border-radius:9px;background:#fff;color:var(--navy)}
.messages-page .conversation-link:hover{border-color:#8ba9c6;background:#f9fbfd}
.messages-page .conversation-link.active{border-color:var(--navy);box-shadow:inset 3px 0 var(--navy);background:#eaf2fa}
.messages-page .conversation-link.is-unread{border-color:#b2c8df}
.messages-page .conversation-link span,.messages-page .conversation-link small{margin:0}
.conversation-thumb{display:flex!important;align-items:center;justify-content:center;width:54px;height:54px;flex:none;border-radius:7px;overflow:hidden;background:#e5edf5;color:#36536d}
.conversation-thumb img{width:100%;height:100%;object-fit:cover}
.conversation-thumb>span{font-size:21px!important;font-weight:700}
.conversation-copy{display:block;flex:1;min-width:0}
.conversation-top,.conversation-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:8px}
.messages-page .conversation-top strong{font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-top time{font-size:11px;white-space:nowrap;color:#657b90}
.messages-page .conversation-advert{display:block;font-size:13px;line-height:1.4;margin-top:3px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#415a73}
.conversation-bottom{margin-top:5px!important}
.messages-page .conversation-preview{font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#62768a}
.messages-page .is-unread .conversation-preview{color:#274663;font-weight:650}
.conversation-unread{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;flex:none;border-radius:10px;background:var(--navy);color:#fff;font-size:10px;line-height:1}
.inbox-empty{padding:8px;color:#50667d;font-size:14px}
.inbox-empty strong{display:block;color:var(--navy);font-size:17px;margin-bottom:7px}
.messages-page .conversation-panel{background:#edf2f7;border-radius:0 12px 12px 0;overflow:hidden;min-width:0}
.inbox-placeholder{margin:auto;max-width:330px;padding:45px 25px;text-align:center;color:#5c7288}
.inbox-placeholder>span{display:grid;place-items:center;margin:0 auto 16px;width:55px;height:55px;border-radius:12px;background:#fff;color:var(--navy)}
.inbox-placeholder>span .icon{width:27px;height:27px}
.inbox-placeholder h2{font-size:21px;line-height:1.3;color:var(--navy);margin:0 0 10px}
.inbox-placeholder p{font-size:15px;margin:0;line-height:1.5}
.messages-page .conversation-heading{align-items:center;gap:13px;padding:17px 21px;background:#fff;border-bottom:1px solid #dde5ee}
.messages-page .conversation-back{display:none;align-items:center;gap:1px;margin:0;color:var(--navy);font-size:13px;min-height:40px}
.conversation-person{min-width:0;flex:1}
.messages-page .conversation-person strong{font-size:17px;line-height:1.3;color:var(--navy)}
.conversation-person>span{display:block;font-size:12px;color:#60778d;margin-top:3px}
.conversation-menu>summary{font-size:13px;padding:9px 4px;color:var(--navy);cursor:pointer}
.messages-page .conversation-options{top:42px;width:min(270px,calc(100vw - 60px));padding:18px;background:#fff}
.messages-page .conversation-options button,.messages-page .conversation-options summary{font-size:14px}
.messages-page .conversation-options form{margin-top:14px}
.conversation-item{display:flex;align-items:center;gap:11px;padding:12px 21px;border-bottom:1px solid #d8e2ec;background:#f9fbfd;color:var(--navy)}
.conversation-item>img{width:44px;height:44px;border-radius:5px;object-fit:cover;flex:none}
.conversation-item>span{min-width:0}
.conversation-item strong{display:block;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-item small{display:block;color:#526d86;font-size:12px;margin-top:3px}
.messages-page .history-link{display:block;padding:9px 20px;text-align:center;font-size:13px;background:#edf2f7;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.messages-page .message-list{gap:12px;min-height:280px;height:min(52vh,560px);max-height:none;padding:20px 22px;background:#edf2f7;overflow-y:auto;flex:1;scrollbar-gutter:stable}
.message-day{align-self:stretch;display:flex;align-items:center;justify-content:center;gap:13px;padding:9px 0;font-size:11px;color:#536d84}
.message-day:before,.message-day:after{content:"";height:1px;background:#d5e0ea;flex:1}
.message-day span{white-space:nowrap}
.messages-page .message{width:fit-content;min-width:110px;max-width:85%;margin:0;align-self:flex-start;padding:12px 15px;background:#fff;color:#213c55;border:1px solid #d5dfeb;border-radius:11px 11px 11px 3px;box-shadow:0 1px 1px #0d3b6605}
.messages-page .message.mine{align-self:flex-end;background:var(--navy);color:#fff;border-color:var(--navy);border-radius:11px 11px 3px 11px}
.message-author{display:block;margin:0 0 5px;font-size:12px;line-height:1.3;font-weight:650;color:#4d6881}
.message.mine .message-author{color:#d4e4f4}
.messages-page .message p{margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.messages-page .message img{max-width:100%;margin-top:7px;border-radius:6px}
.messages-page .message audio{display:block;width:260px;max-width:100%;margin-top:8px}
.messages-page .message-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-height:0;margin:8px 0 0;padding:0;border:0;background:transparent;font-size:11px;line-height:1.4;color:#65798d}
.message.mine .message-meta{color:#d4e4f4}
.messages-page .message-compose{padding:17px 21px;background:#fff;border-top:1px solid #d5dfea}
.message-compose>label{display:block;font-size:13px;font-weight:600;color:var(--navy);margin-bottom:7px}
.messages-page .message-compose textarea{display:block;min-height:76px;max-height:180px;padding:11px 12px;border:1px solid #bdcddd;border-radius:7px;background:#fff;font-size:16px;line-height:1.4;resize:vertical}
.messages-page .compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}
.chat-attachment{position:relative;display:flex;align-items:center;gap:6px;min-width:0;min-height:42px;margin:0;color:#375777;font-size:13px;cursor:pointer;flex-wrap:wrap}
.chat-attachment .icon{width:19px;height:19px}
.chat-attachment input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.chat-attachment:focus-within{outline:3px solid #8bb9df;outline-offset:3px}
.chat-attachment [data-attachment-name]{display:block;flex-basis:100%;max-width:160px;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.messages-page .compose-actions .button{flex:none;min-height:42px;padding:9px 15px;font-size:14px}
.messages-page .conversation-closed{margin:0;padding:18px 21px;border:0;border-top:1px solid #d5dfea;border-radius:0;background:#fff9e9;color:#614d25;font-size:14px}
@media(max-width:800px){
 .messages-page{padding-block:17px 24px}
 .messages-page-heading{display:block;margin-bottom:15px}
 .messages-page-heading h1{font-size:26px}
 .messages-page-heading>span{display:block;font-size:13px;margin-top:4px}
 .messages-page .inbox-layout{display:block;min-height:0}
 .messages-page .inbox-list{max-height:none;overflow:visible;padding:15px 10px;border:0;border-radius:12px}
 .messages-page.is-inbox .conversation-panel{display:none}
 .messages-page.has-thread .inbox-list{display:none}
 .messages-page .conversation-panel{border-radius:12px}
 .messages-page .conversation-link{gap:12px;padding:14px 12px;margin-bottom:10px}
 .messages-page .conversation-top strong{font-size:15px}
 .messages-page .conversation-preview{font-size:13px}
 .messages-page.has-thread .messages-page-heading>span{display:none}
 .messages-page .conversation-heading{gap:12px;padding:11px 14px}
 .messages-page .conversation-back{display:flex}
 .messages-page .conversation-back .icon{width:18px;height:18px}
 .messages-page .conversation-person strong{font-size:16px}
 .conversation-item{padding:11px 15px}
 .messages-page .message-list{height:clamp(260px,48dvh,520px);min-height:260px;padding:12px 14px 18px;gap:12px;scrollbar-gutter:auto}
 .messages-page .message{max-width:88%;padding:11px 12px}
 .messages-page .message-compose{padding:13px 14px}
 .messages-page .message-compose textarea{min-height:70px}
}
@media(max-width:360px){.messages-page .conversation-link{padding-inline:9px;gap:9px}.conversation-thumb{width:46px;height:46px}.messages-page .conversation-top strong{font-size:14px}.conversation-top time{font-size:10px}.messages-page .conversation-back{font-size:12px}.messages-page .conversation-heading{gap:8px}.messages-page .conversation-person strong{font-size:14px}}

.message-receipt{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.receipt-ticks{position:relative;display:inline-block;width:23px;height:16px}
.receipt-ticks .icon{position:absolute;left:0;top:0;width:16px;height:16px;stroke-width:2}
.receipt-ticks .icon+ .icon{left:7px}
.message-receipt[data-state=sent] .receipt-ticks{width:16px}
.message-receipt[data-state=sent] .receipt-ticks .icon+ .icon{display:none}
.message.mine .message-receipt[data-state=read]{color:#7dd3ff}
.chat-new-messages{align-self:center;min-height:38px;padding:7px 15px;border:1px solid #a6bbd2;border-radius:20px;background:#fff;color:var(--navy);font-size:13px;margin:-45px 0 9px;position:relative;z-index:1;box-shadow:0 2px 7px #0d3b661a}
.chat-new-messages[hidden]{display:none}

/* A mobile thread is a contained chat screen. The message list, not the page,
   scrolls between its header and the keyboard-aware reply bar. */
.chat-send-short{display:none}
.chat-attachment-name{display:block;min-width:0;font-size:12px;color:#526d86;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-attachment-name:empty{display:none}
@media(max-width:800px),(max-width:1100px) and (pointer:coarse){
 body.page-chat{overflow:hidden;overscroll-behavior:none}
 .page-chat>.development-banner,.page-chat>.site-header,.page-chat>.category-nav,.page-chat>.trust-strip,.page-chat>footer,.page-chat>.back-top,.page-chat>.cookie-note{display:none}
 .page-chat #main{padding:0}
 .page-chat .messages-page.has-thread{position:fixed;z-index:45;top:var(--chat-top,0px);inset-inline:0;width:100%;max-width:none;height:100vh;height:var(--chat-height,100dvh);margin:0;padding:0;display:flex;flex-direction:column;background:#edf2f7;overflow:hidden}
 .page-chat .messages-page-heading{display:none}
 .page-chat .inbox-layout{display:flex;flex:1;min-height:0;max-height:100%;width:100%;margin:0;border:0;border-radius:0;overflow:hidden}
 .page-chat .inbox-list{display:none}
 .page-chat .conversation-panel{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;height:100%;max-height:100%;border:0;border-radius:0;overflow:hidden}
 .page-chat .conversation-heading{flex:none;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;min-height:57px}
 .page-chat .conversation-back{display:flex;min-height:40px}
 .page-chat .conversation-person strong{font-size:16px}
 .page-chat .conversation-item{flex:none;padding:8px 14px;min-height:58px}
 .page-chat .conversation-item>img{width:38px;height:38px}
 .page-chat .conversation-item strong{font-size:13px}
 .page-chat .conversation-item small{font-size:12px}
 .page-chat .history-link{flex:none;padding-block:7px}
 .page-chat .message-list{flex:1 1 0;min-height:0;height:auto;max-height:none;padding:12px 14px 16px;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;overflow-anchor:none}
 .page-chat .message-compose{flex:none;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:end;gap:8px;margin:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-top:1px solid #cbd9e7;background:#fff}
 .page-chat .message-compose>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .page-chat .message-compose textarea{grid-column:2;grid-row:1;min-height:44px;max-height:132px;height:44px;margin:0;padding:10px 11px;resize:none;font-size:16px;line-height:22px;border-radius:9px;overflow-y:auto;scroll-margin-bottom:12px}
 .page-chat .compose-actions{display:contents;margin:0}
 .page-chat .chat-attachment{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;min-height:44px;height:44px;width:40px;margin:0;border:1px solid #d5e0eb;border-radius:8px;background:#f1f5f9;color:var(--navy)}
 .page-chat .chat-attachment .attachment-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .page-chat .chat-attachment .icon{width:20px;height:20px}
 .page-chat .compose-actions .button{grid-column:3;grid-row:1;min-height:44px;height:44px;margin:0;padding:9px 13px;font-size:14px;border-radius:8px}
 .page-chat .chat-send-full{display:none}
 .page-chat .chat-send-short{display:inline}
 .page-chat .chat-attachment-name{grid-column:1 / -1;grid-row:2}
 .page-chat .conversation-options{max-height:calc(var(--chat-height,100dvh) - 75px);overflow-y:auto;overscroll-behavior:contain}
 .page-chat .conversation-closed{flex:none;padding:13px 14px max(13px,env(safe-area-inset-bottom))}
 .page-chat [data-chat-keyboard=true] .conversation-item{min-height:33px;padding-block:6px}
 .page-chat [data-chat-keyboard=true] .conversation-item>img,.page-chat [data-chat-keyboard=true] .conversation-item small{display:none}
 .page-chat [data-chat-keyboard=true] .message-compose{padding-bottom:10px}
}

/* New-message preview while browsing, with no page navigation or focus stealing. */
.message-notice{position:fixed;z-index:85;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));width:min(365px,calc(100vw - 28px));border:1px solid #c4d3e2;border-left:4px solid var(--accent);border-radius:11px;background:#fff;color:var(--navy);box-shadow:0 8px 32px #0d3b6626;opacity:0;transform:translateX(30px);pointer-events:none;transition:transform .2s ease-out,opacity .2s ease-out}
.message-notice[hidden]{display:none}
.message-notice.is-visible{opacity:1;transform:translateX(0);pointer-events:auto}
.message-notice-link{display:flex;align-items:flex-start;gap:12px;min-height:116px;padding:17px 45px 17px 15px;color:var(--navy)}
.message-notice-link:hover{color:var(--navy);background:#f8fbfe}
.message-notice-symbol{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:8px;background:#fff5d8;color:var(--navy)}
.message-notice-symbol .icon{width:21px;height:21px}
.message-notice-copy{display:block;min-width:0;flex:1}
.message-notice-label{display:block;margin:0 0 5px;font-size:11px;line-height:1.2;font-weight:650;color:#526d87;text-transform:uppercase;letter-spacing:.5px}
.message-notice-copy strong{display:block;font-size:16px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.message-notice-item{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#5a7085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-notice-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:7px;font-size:14px;line-height:1.4;color:#29455e;overflow-wrap:anywhere}
.message-notice-close{position:absolute;top:6px;right:5px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:6px;background:transparent;color:#5a7085}
.message-notice-close:hover{background:#edf3f9}
.message-notice-close .icon{width:21px;height:21px;transform:rotate(45deg)}
@media(max-width:480px){.message-notice{width:calc(100vw - 24px);right:12px;top:max(12px,env(safe-area-inset-top))}.message-notice-link{padding:15px 43px 15px 12px;gap:10px}.message-notice-symbol{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.message-notice{transition:none;transform:none}}

/* A shared image keeps photo-free adverts the same size as photographed ones. */
.gallery-empty.gallery-placeholder{min-height:0;aspect-ratio:4/3;overflow:hidden;background:#eef3f8}
.gallery-placeholder>img{display:block;width:100%;height:100%;object-fit:contain}

/* Direct seller actions, with a deliberate confirmation before marking sold. */
.seller-controls{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.seller-controls>.button{width:100%}
.seller-controls>form{display:block;min-width:0;width:100%;margin:0}
.seller-controls .button{min-height:44px;font-size:14px}
.seller-sold-button{background:var(--accent);border-color:var(--accent);color:var(--navy);font-weight:700}
.seller-sold-button:hover{background:#edbc4c;border-color:#edbc4c;color:var(--navy)}
.seller-staff-actions{font-size:13px;text-align:left}
.seller-staff-actions>form{display:flex;gap:8px;margin-top:8px}
.sold-confirm{max-width:620px;margin-inline:auto}
.sold-confirm h1{font-size:clamp(25px,5vw,32px);line-height:1.2;margin-bottom:24px}
.sold-confirm h2{font-size:20px;overflow-wrap:anywhere}
.sold-confirm>p{margin-block:20px;line-height:1.6}
.sold-confirm .actions{justify-content:flex-end}
@media(max-width:800px){.seller-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.seller-controls .button{font-size:13px;padding-inline:10px}.seller-staff-actions{grid-column:1/-1}.sold-confirm .actions>*{flex:1}}

#sold-confirm-dialog,#account-delete-dialog{width:min(440px,calc(100vw - 32px));max-width:440px;max-height:calc(100dvh - 32px);padding:26px;border:1px solid #dae3ec;border-radius:16px;background:#fff;color:var(--navy);box-shadow:0 24px 70px #0d3b6633;overflow:auto}
#sold-confirm-dialog::backdrop,#account-delete-dialog::backdrop{background:#0d3b667a;backdrop-filter:blur(3px)}
#sold-confirm-dialog h2,#account-delete-dialog h2{margin:0 0 16px;font-size:24px;line-height:1.2;color:var(--navy)}
#sold-confirm-dialog .sold-dialog-advert,#account-delete-dialog .sold-dialog-advert{font-size:16px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;margin:0 0 12px}
#sold-confirm-description,#account-delete-description{font-size:16px;line-height:1.5;color:#526479;margin:0}
.sold-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.sold-dialog-actions .button{min-height:46px;font-size:14px;padding:10px}

/* Sold status stays visible over the image while photographs can still be opened. */
.gallery-placeholder{position:relative}
.sold-ribbon{position:absolute;top:0;left:0;width:136px;height:136px;overflow:hidden;z-index:3;pointer-events:none}
.sold-ribbon>span{position:absolute;top:27px;left:-45px;width:190px;padding:9px 0;transform:rotate(-45deg);background:#c52430;color:#fff;text-align:center;font-size:19px;font-weight:800;letter-spacing:.12em;line-height:1.15;box-shadow:0 2px 5px #0003}
@media(max-width:600px){.sold-ribbon{width:116px;height:116px}.sold-ribbon>span{top:23px;left:-42px;width:170px;font-size:17px;padding:8px 0}}

/* Useful help pages and illustrated buying guides. */
.content-page,.guide-library{max-width:1120px}
.content-hero{display:grid;gap:24px;margin:22px 0 30px;align-items:center}
.content-hero.has-image{grid-template-columns:minmax(0,1fr) 300px;gap:48px}
.content-hero h1{margin:0 0 16px;font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-1.1px;color:var(--navy)}
.content-hero .eyebrow{font-size:12px;letter-spacing:1.2px;color:#486b8c}
.content-intro{max-width:740px;font-size:18px;line-height:1.6;color:#526479;margin:0}
.content-read-time{display:block;font-size:13px;color:#617185;margin-top:18px}
.content-hero-image{width:100%;aspect-ratio:1;object-fit:contain;border-radius:12px;background:#edf2f7}
.content-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:start}
.content-layout:not(:has(.content-sidebar)){grid-template-columns:minmax(0,780px)}
.content-sidebar{position:sticky;top:24px}
.content-contents{padding:18px;border:1px solid #dce5ed;border-radius:10px;background:#f6f8fb}
.content-contents summary{font-size:15px;font-weight:700;color:var(--navy)}
.content-contents nav{display:grid;gap:12px;margin-top:16px}
.content-contents a{font-size:14px;line-height:1.4;color:#4e6177;text-decoration:none}
.content-contents a:hover{color:var(--navy);text-decoration:underline}
.content-main{min-width:0}
.content-prose{font-size:16px;line-height:1.8;color:#374b60}
.content-prose h2,.content-prose h3,.content-sources h2,.content-note h2,.content-support h2{color:var(--navy);line-height:1.25;scroll-margin-top:20px}
.content-prose h2{font-size:23px;margin:34px 0 12px;letter-spacing:-.4px}
.content-prose h2:first-child{margin-top:0}
.content-prose h3{font-size:19px;margin:24px 0 10px}
.content-prose p{margin:0 0 18px}
.content-prose ul,.content-sources ul{padding-left:23px;margin:0 0 22px}
.content-prose li{padding-left:3px;margin:8px 0}
.content-prose a,.content-sources a{color:#155b95;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.content-sources,.content-note{margin-top:30px;padding:24px;background:#f4f7fb;border:1px solid #dce5ee;border-radius:10px;font-size:16px;line-height:1.65}
.content-sources h2,.content-note h2{font-size:21px;margin:0 0 12px}
.content-note .button{margin:8px 12px 0 0}
.content-draft{margin-bottom:28px;font-size:14px}
.content-updated{font-size:13px;color:#65778a;margin-top:30px}
.help-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 36px}
.help-topics>a{display:grid;gap:8px;padding:20px;border:1px solid #dbe4ed;border-radius:10px;background:#fff;text-decoration:none}
.help-topics>a:hover{border-color:#6d96b9;background:#f7faff}
.help-topics strong{font-size:16px;color:var(--navy)}
.help-topics span{font-size:14px;line-height:1.5;color:#607086}
.faq-list{display:grid;gap:10px}
.faq-list>details{padding:0;border:1px solid #dce5ed;border-radius:10px;background:#fff;overflow:hidden}
.faq-list summary{padding:20px 22px;font-size:17px;line-height:1.5;font-weight:650;color:var(--navy);cursor:pointer}
.faq-list details[open] summary{background:#f3f7fb;border-bottom:1px solid #e1e8ef}
.faq-list details>div{padding:20px 22px;font-size:16px;line-height:1.75;color:#40556a}
.faq-list details p{margin:0 0 14px}.faq-list details p:last-child{margin:0}
.faq-list a{color:#155b95;text-decoration:underline}
.content-support{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:32px;padding:25px;border:1px solid #dce5ed;border-radius:12px;background:#eef4fa}
.content-support h2{font-size:24px;margin:0 0 8px}
.content-support p{font-size:16px;line-height:1.6;margin:0 0 8px;color:#4b627a}
.content-support small{font-size:13px;color:#65778a}
.support-button{flex:none;white-space:nowrap;min-height:46px}
.support-button>.icon{width:21px;height:21px}
footer .footer-support-button{display:inline-flex!important;width:fit-content!important;max-width:100%;margin-top:14px;padding:10px 14px;border-color:var(--accent);background:var(--accent);color:var(--navy);font-weight:700;text-decoration:none}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.guide-card{overflow:hidden;border:1px solid #dbe4ed;border-radius:12px;background:#fff}
.guide-card>a{display:block;height:100%;text-decoration:none}
.guide-card img{width:100%;height:210px;object-fit:cover}
.guide-card>a>div{padding:22px}
.guide-label{font-size:11px;font-weight:750;letter-spacing:1px;color:#527494}
.guide-card h2{font-size:22px;line-height:1.3;margin:10px 0;color:var(--navy);letter-spacing:-.5px}
.guide-card p{font-size:15px;line-height:1.65;color:#52677e;margin:0 0 20px}
.guide-read{font-size:14px;font-weight:650;color:#155b95}
#support-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid #dbe4ed;border-radius:14px;background:#fff;color:var(--navy);overflow:auto}
#support-dialog::backdrop{background:#0d3b667a;backdrop-filter:blur(3px)}
#support-dialog h2{font-size:25px;margin:0 0 18px}
#support-dialog p{font-size:16px;line-height:1.65;margin:0 0 16px;color:#52677e}
#support-dialog .actions{justify-content:flex-end;margin-top:22px}
.home-welcome{grid-template-columns:minmax(0,1fr) 390px;column-gap:28px}
.welcome-vehicles{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-items:center}
.welcome-vehicles img{display:block;width:100%;height:112px;object-fit:contain;filter:drop-shadow(0 7px 7px #001a3538)}
@media(max-width:1000px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-welcome{grid-template-columns:minmax(0,1fr) 300px}.welcome-vehicles img{height:90px}.content-layout{gap:28px;grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:700px){.content-page,.guide-library{width:calc(100% - 32px);padding-block:24px}.content-hero{margin-top:20px;margin-bottom:24px}.content-hero.has-image{grid-template-columns:1fr;gap:22px}.content-hero h1{font-size:32px;letter-spacing:-.8px}.content-intro{font-size:17px}.content-hero-image{width:100%;max-height:280px;aspect-ratio:4/3;object-fit:contain}.content-layout{grid-template-columns:1fr;gap:24px}.content-sidebar{position:static}.content-contents{padding:16px}.content-contents nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.help-topics>a{padding:16px}.help-topics strong{font-size:15px}.content-support{flex-direction:column;align-items:stretch;padding:22px}.content-support .button{width:100%}.content-sources,.content-note{padding:20px}.faq-list summary{padding:17px;font-size:16px}.faq-list details>div{padding:17px}.guide-grid{grid-template-columns:1fr;gap:18px}.guide-card img{height:210px}.guide-card>a>div{padding:20px}}
@media(max-width:600px){.home-welcome{grid-template-columns:1fr;padding:20px;gap:12px}.home-welcome h2{font-size:30px}.home-welcome p{grid-column:1;grid-row:2;font-size:14px}.welcome-vehicles{grid-column:1;grid-row:3;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-inline:-5px}.welcome-vehicles img{height:58px}.welcome-label{margin-bottom:12px}.home-welcome::before{width:55%;height:100px;bottom:-62px}.home-welcome::after{width:40%;height:90px;bottom:-62px}}
@media(max-width:360px){.home-welcome{padding:17px}.home-welcome h2{font-size:27px}.welcome-vehicles img{height:48px}.content-contents nav{grid-template-columns:1fr}.help-topics{grid-template-columns:1fr}.content-hero h1{font-size:29px}}

/* SnapYards play logo: show the full artwork at its original aspect ratio. */
.brand .brand-logo {display:block;flex:none;width:224px;height:auto;aspect-ratio:3/1;line-height:0;letter-spacing:0}
.brand .brand-logo img {display:block;width:100%;max-width:none;height:auto;object-fit:contain}
.site-header .brand:has(.brand-logo) {max-width:none;gap:0}
.site-header .brand-logo {width:244px;background:transparent}
.site-header .brand .brand-logo img {width:100%;max-width:none;max-height:none;height:auto}
@media(max-width:800px){
 .site-header .brand:has(.brand-logo) {max-width:124px}
 .site-header .brand .brand-logo {width:124px}
}
@media(max-width:360px){
 .site-header .brand:has(.brand-logo) {max-width:108px}
 .site-header .brand .brand-logo {width:108px}
}

/* Screenshot-friendly advert identity and a separate phone control at the far-right edge. */
.advert-summary-top{display:flex;align-items:flex-start;justify-content:space-between;width:100%;height:48px;min-width:0}
.advert-summary-logo{position:relative;top:-12px;display:block;flex:0 0 108px;width:108px;height:36px;object-fit:contain;object-position:left center}
.advert-summary-phone{position:relative;top:-6px;right:-6px;display:grid;grid-template-columns:20px max-content;column-gap:7px;row-gap:3px;align-items:center;justify-content:end;flex:0 0 auto;margin-left:auto;min-height:48px;max-width:62%;padding:0 0 0 7px;border:0;background:transparent;color:var(--navy);text-align:right;cursor:pointer}
.advert-summary-phone>.icon{grid-column:1;grid-row:1;align-self:center;width:20px;height:20px}
.advert-summary-phone>span{display:contents}
.advert-summary-phone strong{grid-column:2;grid-row:1;display:block;font-size:15px;line-height:1.4;font-weight:750;white-space:nowrap}
.advert-summary-phone small{grid-column:2;grid-row:2;display:block;margin-top:0;color:#526b82;font-size:12px;line-height:1.4}
.advert-summary-phone:hover strong{text-decoration:underline;text-underline-offset:3px}
.advert-summary-phone:focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:5px}
#seller-contact{scroll-margin-top:24px}
#seller-contact:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
@media(max-width:360px){.advert-summary-top{gap:10px}.advert-summary-phone{grid-template-columns:17px max-content;column-gap:4px}.advert-summary-phone>.icon{width:17px;height:17px}.advert-summary-phone strong{font-size:14px}.advert-summary-phone small{font-size:11px}}

/* Keep the title, price and phone close to the top of the advert card. */
.page-advert .advert-sidebar{padding-top:18px}
.page-advert .advert-sidebar h1{margin-top:-6px;margin-bottom:10px}
.page-advert .advert-price-row{margin-top:0}

@media(max-width:360px){.advert-summary-logo{top:-10px;flex-basis:92px;width:92px;height:31px}}

/* Bottom privacy notice: safe-area aware, with its height reserved in the page. */
body.has-cookie-note{padding-bottom:var(--cookie-note-height,180px)}
.cookie-note{position:fixed;inset:auto 0 0;z-index:90;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:20px;padding:16px max(24px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));max-height:60dvh;overflow:auto;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 22px #0d3b6614}
.cookie-note p{max-width:850px;width:auto;text-align:left;font-size:13px;line-height:1.55}
.cookie-note-actions{display:flex;gap:10px;flex-shrink:0}
.cookie-note .button{min-height:44px;font-size:13px;padding:10px 16px;white-space:normal}
.has-cookie-note .community-welcome{bottom:calc(var(--cookie-note-height,180px) + 16px);max-height:calc(100dvh - var(--cookie-note-height,180px) - 40px)}
.has-cookie-note .back-top{bottom:calc(var(--cookie-note-height,180px) + 18px)}
@media(max-width:700px){.cookie-note{display:block;padding:14px max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.cookie-note p{margin:0 0 12px;font-size:12px}.cookie-note-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cookie-note .button{width:100%;padding-inline:10px}.has-cookie-note .community-welcome{bottom:calc(var(--cookie-note-height,180px) + 12px)}}


