/* Focused home corrections, after the owner's retained visual theme. */
html{scroll-padding-top:24px}
[hidden]{display:none!important}
#connector-mobile-actions{display:none!important}
body>.market-header #connector-brand{color:#fff!important;flex:0 1 auto;min-width:190px}
body>.market-header #connector-brand .brand-label{color:#fff!important;font-size:18px!important;white-space:nowrap!important;line-height:1.2!important}
body>.market-header #connector-brand img{width:48px!important;height:48px!important;background:#fff;border-radius:50%;padding:2px}
body>.market-header .actions{gap:9px}
body>.market-header nav{gap:2px}
body>.market-header nav a{padding:10px 8px;font-size:13px}
#account{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;font-size:12px!important;white-space:nowrap}
#account .account-label{font-size:12px}
body>.market-header .actions #post,body>.market-header .actions #header-signup{font-size:12px!important;padding-left:12px!important;padding-right:12px!important}
body>.wrap .chips{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
body>.wrap .chips .chip{width:100%!important;min-width:0!important;min-height:88px!important;margin:0!important}
.chips .chip.active{outline:2px solid #0b59d4;outline-offset:1px}
body>.wrap .searchbar .search-select-wrap{min-width:0}
body>.wrap .searchbar .search-select-wrap select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}
#results{font-variant-numeric:tabular-nums}
.feed-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#retry-feed{cursor:pointer;font-weight:700}
.empty .clear-search{display:block;margin:16px auto 0;min-height:44px}
.category-choices{display:grid;gap:10px;margin:24px 0}
.category-choices button{text-align:left;min-height:48px}
.home-contact{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:32px;margin:32px 0;background:#edf4ff;border:1px solid #d9e5f5;border-radius:20px}
.home-contact h2{font-size:28px!important;line-height:1.2;margin:8px 0 12px}
.home-contact p{max-width:65ch;color:#425b7e;line-height:1.7;margin-bottom:0}
.home-contact .btn{flex-shrink:0;min-height:48px}
.pilot-toolbar:has(#retry-feed:not([hidden])){border-color:#da9d49}
@media(min-width:701px) and (max-width:1150px){
 body>.market-header{height:auto!important;min-height:100px!important;flex-wrap:wrap!important;padding:14px 24px!important;gap:12px!important}
 body>.market-header nav{order:3;width:100%;justify-content:center}
 body>.market-header .actions{margin-left:auto}
 #account .account-label{display:none}
}
@media(max-width:700px){
 body>.market-header #connector-brand{align-self:flex-start!important;min-width:0!important;width:auto!important}
 body>.market-header #connector-brand .brand-label{font-size:21px!important;white-space:nowrap!important;word-break:normal!important}
 body>.market-header #connector-brand img{width:44px!important;height:44px!important;flex:0 0 44px!important}
 body>.market-header #account svg{display:none}
 body>.market-header #account .account-label{font-size:12px!important;display:inline}
 body>.market-header .actions #account,body>.market-header .actions #post,body>.market-header .actions #header-signup{padding:9px 5px!important;font-size:12px!important;min-height:46px!important;line-height:1.25!important}
 body>.market-header .actions #post{display:flex!important}
 body>.market-header nav{scrollbar-width:thin!important}
 body>.market-header nav a{min-height:40px!important;display:flex;align-items:center}
 body>.wrap .chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:0!important}
 body>.wrap .chips .chip{min-height:82px!important;padding:10px 5px!important;border-radius:13px!important;font-size:12px!important}
 body>.wrap .chips .cat-icon{font-size:24px!important}
 body>.wrap .searchbar{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:10px!important;padding:14px!important;margin-top:-12px!important;position:relative;z-index:2}
 body>.wrap .searchbar>.searchicon{grid-column:1!important;grid-row:1!important}
 body>.wrap .searchbar>input{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;font-size:16px!important;min-height:44px!important;padding:6px!important}
 body>.wrap .searchbar>.search-select-wrap{grid-column:1/-1!important;display:flex!important;align-items:center!important;border:1px solid #d9e3f1!important;border-radius:9px!important;min-width:0!important;padding:0 10px!important;background:#f8faff!important}
 body>.wrap .searchbar .search-select-wrap select{grid-column:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;border:0!important;background:transparent!important;font-size:16px!important;padding:8px!important}
 body>.wrap .searchbar>.btn{grid-column:1/-1!important;min-height:48px!important;font-size:15px!important;width:100%!important}
 .home-contact{display:block;padding:24px 20px;margin:24px 0}
 .home-contact .btn{margin-top:20px;width:100%}
 body>.wrap .section-head .tabs{display:flex!important;width:100%!important;flex-wrap:wrap!important;gap:3px}
 body>.wrap .section-head .tabs button{flex:1;min-width:0;font-size:12px!important;min-height:44px!important;padding:8px 6px!important}
 body>.wrap .card h3{font-size:15px;line-height:1.4}
 body>.wrap .card .card-bottom{display:flex;flex-direction:column;gap:7px}
 body>.wrap .card .card-bottom .price{margin:0;font-size:17px}
 .toast{bottom:80px!important}
}
@media(max-width:360px){body>.market-header #connector-brand .brand-label{font-size:18px!important}body>.market-header .actions #account,body>.market-header .actions #post,body>.market-header .actions #header-signup{font-size:11px!important}body>.wrap .chips .chip{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Reference composition: full panorama, compact hero, twelve aligned categories. */
body>.market-header #connector-brand .brand-label{text-transform:none!important;font-size:21px!important;letter-spacing:-.5px!important}
body>.market-header #connector-brand .brand-label small{display:block!important;font-size:10px!important;font-weight:400!important;letter-spacing:0!important;color:#cedcf1!important;margin-top:4px!important}
body>.wrap .hero{
 aspect-ratio:1520/356!important;min-height:0!important;height:auto!important;
 background-color:#07315b!important;
 background-image:linear-gradient(90deg,rgba(3,31,62,.82),rgba(3,31,62,.35) 48%,rgba(3,31,62,0) 78%),var(--connector-official-hero)!important;
 background-size:100% 100%,contain!important;background-position:center!important;background-repeat:no-repeat!important;
}
body>.wrap .hero-copy{padding:24px clamp(30px,5.2vw,80px) 60px!important;max-width:980px!important}
body>.wrap .hero-copy h1{font-size:clamp(38px,4.1vw,62px)!important;line-height:1.03!important;letter-spacing:-1.7px!important}
body>.wrap .hero-copy>p{font-size:clamp(16px,1.55vw,23px)!important;line-height:1.3!important}
body>.wrap .hero-copy .hero-subline{font-size:clamp(12px,1.12vw,17px)!important}
body>.wrap .hero-copy .mobile-hero-actions{display:none!important}
body>.wrap .chips{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:9px!important}
body>.wrap .chips .chip{max-width:none!important;min-height:78px!important;font-size:11px!important;line-height:1.3!important;gap:8px!important}
.cat-icon{display:flex;align-items:center;justify-content:center}
.cat-icon svg{display:block;width:30px;height:30px}
body>.wrap .card .picture .listing-card-photo{object-fit:contain!important;background:#f0f5fb}
body>.wrap .card .picture>svg{width:100%!important;height:100%!important;object-fit:contain}
body>.wrap .marketplace-promo{
 display:flex;flex-direction:column;align-items:stretch;padding:0!important;
 background:#07315b!important;min-height:0!important;
}
body>.wrap .marketplace-promo::before{
 content:'';display:block;flex:none;width:100%;aspect-ratio:1520/356;
 background:var(--connector-official-hero) center/contain no-repeat;
}
body>.wrap .marketplace-promo-inner{padding:22px}
body>.wrap .marketplace-promo h2{margin:0;font-size:30px!important}
body>.wrap .marketplace-promo p{margin:14px 0 0}
@media(min-width:1101px){
 body>.wrap .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body>.wrap .marketplace-bottom{grid-template-columns:minmax(160px,.85fr) minmax(0,3.2fr) minmax(200px,1.2fr)!important;gap:10px}
 body>.wrap .marketplace-promo{grid-column:auto!important}
 body>.wrap .marketplace-plan-intro{padding:24px 18px}
 body>.wrap .marketplace-plan-intro h2{font-size:28px!important}
 body>.wrap .marketplace-bottom .plan{padding:16px 10px!important}
 body>.wrap .marketplace-bottom .plan .amount{font-size:24px!important}
}
@media(min-width:701px) and (max-width:1100px){
 body>.wrap .hero{aspect-ratio:auto!important;min-height:260px!important}
 body>.wrap .hero-copy{padding:24px 32px 60px!important}
 body>.wrap .hero-copy h1{font-size:42px!important}
 body>.wrap .chips{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body>.wrap .marketplace-promo{flex-direction:row;align-items:center;gap:0}
 body>.wrap .marketplace-promo::before{width:45%;align-self:stretch;aspect-ratio:auto;background-color:#0b355b}
 body>.wrap .marketplace-promo-inner{flex:1}
}
@media(max-width:700px){
 body>.wrap .hero{aspect-ratio:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;background:#07315b!important;min-height:0!important}
 body>.wrap .hero::before{content:'';display:block!important;position:static!important;flex:none!important;width:100%!important;height:auto!important;aspect-ratio:1520/356;background:var(--connector-official-hero) center/contain no-repeat!important}
 body>.wrap .hero-copy{padding:20px 20px 32px!important;max-width:none!important}
 body>.wrap .hero-copy h1{font-size:clamp(32px,9vw,42px)!important;line-height:1.06!important;letter-spacing:-1px!important}
 body>.wrap .hero-copy>p{font-size:16px!important;line-height:1.4!important}
 body>.wrap .hero-copy .hero-subline{font-size:13px!important;line-height:1.5!important;margin-top:8px}
 body>.wrap .hero-copy .mobile-hero-actions{display:flex!important;margin-top:16px!important}
 body>.wrap .hero-copy .mobile-hero-actions .btn{font-size:12px!important;padding:10px!important;min-height:44px!important}
 body>.wrap .chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 body>.wrap .chips .chip{min-height:78px!important;font-size:12px!important}
 body>.wrap .marketplace-promo::before{aspect-ratio:1520/356}
 body>.market-header #connector-brand .brand-label{font-size:21px!important}
}
@media(max-width:360px){body>.market-header #connector-brand .brand-label{font-size:19px!important}}
/* Photos extracted from the owner's mockup belong only to marked examples. */
body>.wrap .reference-example .picture{aspect-ratio:185/99!important;height:auto!important;background:#eef3f9}
body>.wrap .reference-example .picture .reference-example-photo{display:block;width:100%;height:100%;object-fit:contain!important}
body>.wrap .reference-example .picture .heart{width:32px;min-width:32px;height:32px;min-height:32px;top:8px;right:8px;background:#ffffffeb}
.example-detail-photo{display:block;width:100%;height:100%;max-height:300px;object-fit:contain;background:#eef3f9}
/* One direct logout action in the main header on desktop and phone. */
body>.market-header #header-logout{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:9px 12px!important;border:1px solid #f3bfbd!important;border-radius:9px;background:transparent!important;color:#fff!important;font-size:12px!important;line-height:1.25;white-space:nowrap}
body>.market-header #header-logout:hover{background:#713245!important}
body>.market-header #header-logout:disabled{opacity:.6;cursor:wait}
body>.market-header #header-logout[hidden],body>.market-header #header-signup[hidden]{display:none!important}
@media(max-width:700px){body>.market-header #header-logout{grid-column:3/5!important;grid-row:2!important;width:100%!important;min-width:0!important;white-space:normal!important;padding:9px 5px!important}}
@media(max-width:360px){body>.market-header #header-logout{font-size:11px!important}}
@media(max-width:700px){body>.market-header .actions #header-logout{min-height:48px!important;height:48px!important}}
/* Compact mobile masthead: language at the top right, no header heart. */
@media(max-width:700px){
 body>.market-header{position:relative!important}
 body>.market-header #header-favorites{display:none!important}
 body>.market-header #connector-brand{max-width:calc(100% - 78px)!important;min-width:0!important}
 body>.market-header #connector-brand .brand-label{min-width:0!important;max-width:100%!important;font-size:19px!important}
 body>.market-header #connector-brand .brand-label small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8px!important}
 body>.market-header .actions .header-languages{position:absolute!important;right:14px!important;top:24px!important;display:flex!important;gap:3px!important;justify-content:flex-end!important;min-height:32px!important}
 body>.market-header .header-languages>span[aria-hidden]{display:none!important}
 body>.market-header .actions #account,
 body>.market-header .actions #header-signup,
 body>.market-header .actions #header-logout,
 body>.market-header .actions #post{grid-row:1!important}
 body>.market-header .actions #header-search{position:absolute!important;right:14px!important;bottom:10px!important;min-height:36px!important;width:36px!important;min-width:36px!important;padding:0!important}
 body>.market-header nav{width:calc(100% - 44px)!important;max-width:calc(100% - 44px)!important;margin:0!important}
}
@media(max-width:360px){
 body>.market-header #connector-brand{gap:7px!important}
 body>.market-header #connector-brand img{width:36px!important;height:36px!important;flex-basis:36px!important}
 body>.market-header #connector-brand .brand-label{font-size:16px!important}
 body>.market-header .actions .header-languages{top:17px!important}
}
/* Unobstructed landscape from the owner's model: keep the whole citadel in view. */
body>.wrap .hero{position:relative!important;isolation:isolate;min-height:0!important;aspect-ratio:auto!important;height:clamp(275px,23vw,350px)!important;background:#07315b!important;overflow:hidden!important}
body>.wrap .hero::before{display:none!important}
.hero-panorama{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:-2;overflow:hidden}
.hero-panorama img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#07315b}
body>.wrap .hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(2,28,57,.9),rgba(2,28,57,.65) 37%,rgba(2,28,57,.16) 65%,rgba(2,28,57,0) 85%)}
body>.wrap .hero-copy{position:relative;width:100%;max-width:100%!important;padding:20px clamp(30px,5.2vw,80px) 58px!important}
body>.wrap .hero-copy h1{font-size:clamp(38px,4vw,60px)!important}
body>.wrap .hero-copy>p{max-width:780px!important}
@media(min-width:701px) and (max-width:1100px){
 body>.wrap .hero{height:270px!important;min-height:0!important}
 body>.wrap .hero-copy{padding:20px 28px 58px!important}
 body>.wrap .hero-copy h1{font-size:38px!important}
}
@media(max-width:700px){
 body>.wrap .hero{width:calc(100% + 28px)!important;max-width:none!important;margin-left:-14px!important;margin-right:-14px!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;overflow:hidden!important}
 body>.wrap .hero::before,body>.wrap .hero::after{display:none!important}
 .hero-panorama{position:relative!important;inset:auto!important;z-index:auto!important;flex:none;width:100%!important;height:auto!important;aspect-ratio:780/221}
 .hero-panorama img{width:100%!important;height:auto!important;aspect-ratio:780/221;object-fit:contain!important}
 body>.wrap .hero-copy{padding:8px 20px 32px!important;max-width:100%!important}
 body>.wrap .hero-copy h1{font-size:clamp(32px,9vw,42px)!important}
}
body>.wrap .marketplace-promo::before{background-image:url('/banner-panorama.svg')!important;aspect-ratio:900/185}
/* Owner-marked mobile text area: light background, readable dark text. */
@media(max-width:700px){
 body>.wrap .hero,body>.wrap .hero-copy{background:#fff!important}
 body>.wrap .hero-copy h1{color:#102b4e!important}
 body>.wrap .hero-copy h1 em{color:#ed5b16!important}
 body>.wrap .hero-copy>p,body>.wrap .hero-copy .hero-subline{color:#40546d!important}
 body>.wrap .hero-copy .mobile-hero-actions .btn.light{border:1px solid #cfdbeb!important}
}
/* Keep the mobile slogan on one compact line. */
@media(max-width:700px){
 body>.wrap .hero-copy h1{font-size:clamp(17px,5.2vw,24px)!important;line-height:1.25!important;letter-spacing:-.35px!important;white-space:nowrap!important}
 body>.wrap .hero-copy h1 br{display:none!important}
 body>.wrap .hero-copy h1 em{display:inline!important}
}
/* Larger banner photography, with the full citadel preserved in both views. */
@media(min-width:1101px){body>.wrap .hero{height:clamp(330px,28.4vw,450px)!important}}
@media(min-width:701px) and (max-width:1100px){body>.wrap .hero{height:310px!important}}
@media(max-width:700px){.hero-panorama,.hero-panorama img{aspect-ratio:520/221!important}}
