/* AdPally v5.10 — app navigation and swipe discovery. Keeps established brand and legacy pages. */
.tc-root{--ap-v510-purple:#5935e8;--ap-v510-ink:#221535}
.tc-root .tc-home-layout .tc-hero-copy-v4{margin-left:0!important;margin-right:auto!important;padding-left:clamp(6px,.9vw,12px)!important;padding-right:clamp(12px,2vw,28px)!important;max-width:640px!important;width:min(640px,100%)!important;align-items:flex-start!important;text-align:left!important}
.tc-root .tc-home-layout .tc-hero-copy-v4 .tc-hero-quick{justify-content:flex-start!important;margin-left:0!important}
/* One search for buyer needs and seller adverts */
.tc-home-layout .tc-v510-unified-search{background:#fff!important;border:1px solid #e9e1fc;border-radius:14px;box-shadow:0 8px 30px rgba(32,16,67,.06);padding:17px 18px!important;margin:14px 0 20px!important;display:grid!important;gap:10px}
.tc-v510-search-heading{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.tc-v510-search-heading strong{font-size:16px;font-weight:850;color:#241539}
.tc-v510-search-heading span,.tc-v510-search-tip{font-size:11px;color:#75678e}
.tc-v510-search-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin}
.tc-v510-search-tabs button{border:1px solid #e6dcf6;background:#f6f2fc;padding:9px 15px;color:#57446f;font-size:12px;border-radius:40px;white-space:nowrap;cursor:pointer;font-weight:750}
.tc-v510-search-tabs button.on{background:#5935e8;color:#fff;border-color:#5935e8}
.tc-v510-search-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,2.5fr) auto;gap:9px;align-items:center}
.tc-v510-search-form select,.tc-v510-search-form input{min-width:0;width:100%;height:46px!important;border:1px solid #dfd5ed;background:#fff;color:#271d38;border-radius:9px;font-size:13px;padding:0 13px}
.tc-v510-search-form button{height:46px;padding:0 22px;border:0;border-radius:9px;background:#5935e8;color:#fff;font-size:13px;font-weight:850;cursor:pointer}
/* Native momentum scrolling makes each listing filter swipeable on mobile and desktop. */
.tc-v510-filter-rail{display:flex;gap:10px;align-items:center;margin:12px 0 17px;max-width:100%;min-width:0}
.tc-v510-filter-hint{font-size:10px;color:#6b548b;white-space:nowrap;font-weight:750}
.tc-v510-filter-track{display:flex;min-width:0;flex:1 1 auto;overflow-x:auto;white-space:nowrap;gap:8px;scrollbar-width:thin;padding:5px 2px 9px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;touch-action:pan-x}
.tc-v510-filter-pill{border:1px solid #e0d6f2;border-radius:50px;background:#fff;color:#4b3b66;font-size:11px;font-weight:750;padding:8px 13px;flex:0 0 auto;scroll-snap-align:start;cursor:pointer}
.tc-v510-filter-pill.active,.tc-v510-filter-pill:focus-visible{background:#5935e8;border-color:#5935e8;color:#fff}
.tc-v510-filter-pill:focus-visible,.tc-v510-titlelink:focus-visible,.tc-v510-carousel-controls button:focus-visible,.tc-v510-swipe-system button:focus-visible,.tc-v510-app-bottom button:focus-visible{outline:3px solid #ffa823;outline-offset:2px}
/* Homepage sections — each gets distinct card proportions and control placement. */
.tc-v510-titlelink{display:inline-block;cursor:pointer;text-align:left;background:none;border:0;padding:0;color:inherit;white-space:normal}
.tc-v510-titlelink h2{color:#241a3a!important;transition:color .16s}
.tc-v510-titlelink:hover h2{color:#5935e8!important}
.tc-v510-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.tc-v510-carousel-controls{display:flex;gap:6px;flex-shrink:0}
.tc-v510-carousel-controls button{border:1px solid #d9ceeb;color:#5935e8;background:white;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:17px;cursor:pointer}
.tc-v510-carousel-controls button:hover{background:#5935e8;color:white}
.tc-v510-carousel,.tc-v510-carousel-shell{width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:4px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:5px 3px 18px;scroll-behavior:smooth}
.tc-v510-carousel{display:flex;gap:14px;align-items:stretch}
.tc-v510-carousel>*{scroll-snap-align:start}
.tc-v510-carousel-shell .tc-v41-group-grid{display:flex!important;flex-wrap:nowrap!important;width:max-content;gap:11px;max-width:none!important}
.tc-v510-carousel-shell .tc-v41-group-tile{flex:0 0 290px;width:290px}
.tc-v510-request-card{flex:0 0 min(325px,88vw);display:flex;flex-direction:column;gap:11px;min-height:220px;background:linear-gradient(145deg,#faf7ff,#fff 58%);padding:22px;border:1px solid #e4d8f5;border-radius:15px;box-shadow:0 8px 25px #29185310;text-align:left;cursor:pointer;color:#2a1939}
.tc-v510-request-card>span{font-size:10px;letter-spacing:.12em;font-weight:850;color:#7c47df}
.tc-v510-request-card>b{font-size:16px;line-height:1.3}
.tc-v510-request-card>p{font-size:12px;line-height:1.55;color:#645770;flex:1;margin:0}
.tc-v510-request-card>small{font-size:11px;color:#756886}
.tc-v510-request-card>strong{font-size:13px;color:#5935e8}
.tc-v510-request-card>i{font-size:12px;color:#5935e8;font-style:normal;font-weight:800}
.tc-v510-auction-card{display:flex;flex-direction:column;flex:0 0 min(255px,74vw);background:#fff;border:1px solid #e8dced;border-radius:15px;box-shadow:0 6px 21px #32175215;overflow:hidden;cursor:pointer;text-align:left;padding:0;color:#281b40}
.tc-v510-auction-photo{height:172px;display:block;overflow:hidden;background:#f1e9fa}
.tc-v510-auction-photo img{width:100%;height:100%;object-fit:cover}
.tc-v510-auction-content{display:flex;flex-direction:column;gap:9px;padding:14px 15px;flex:1}
.tc-v510-auction-content small{font-size:10px;color:#dd6700;font-weight:900;letter-spacing:.08em}
.tc-v510-auction-content b{font-size:14px;line-height:1.3;flex:1}
.tc-v510-auction-content strong{font-size:14px;color:#5935e8}
.tc-v510-auction-content span{font-size:11px;color:#766781}
.tc-v510-advert-cards .tc-ad-card{flex:0 0 min(310px,86vw)!important;min-width:0;max-width:310px;margin:0!important}
.tc-v510-store-cards .tc-store-list{display:flex!important;gap:13px;flex-wrap:nowrap!important;width:max-content;max-width:none}
.tc-v510-store-cards .tc-store-item{flex:0 0 220px;min-width:220px;max-width:220px;background:linear-gradient(165deg,#fff,#f5f0ff);border:1px solid #e6def5;border-radius:15px;min-height:200px;box-shadow:0 7px 19px #31175315}
.tc-v510-auction-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:13px}
.tc-v510-auction-results .tc-ad-card{min-width:0}
/* Floating swipe discovery. Persistent on public pages; group chat retains its full-screen layout. */
.tc-v510-swipe-system{position:fixed;right:18px;bottom:24px;z-index:1250;pointer-events:none;display:flex;align-items:flex-end;flex-direction:column;gap:9px}
.tc-v510-swipe-system>*{pointer-events:auto}
.tc-v510-swipe-launcher{background:linear-gradient(145deg,#5b31e8,#8b3ed4);border:2px solid #fff;color:#fff;border-radius:40px;box-shadow:0 8px 23px #240d6e55;min-width:82px;min-height:52px;padding:5px 13px;display:flex;gap:5px;align-items:center;justify-content:center;cursor:pointer;font-weight:850}
.tc-v510-swipe-launcher span{font-size:23px}.tc-v510-swipe-launcher b{font-size:12px}
.tc-v510-swipe-panel{width:min(360px,calc(100vw - 22px));max-height:min(660px,calc(100dvh - 105px));overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;border-radius:18px;box-shadow:0 16px 58px #19064465;border:1px solid #ddd0f7;background:#fff;color:#271c39;padding:13px}
.tc-v510-swipe-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.tc-v510-swipe-panel header div{display:grid;gap:4px}
.tc-v510-swipe-panel header b{font-size:15px}.tc-v510-swipe-panel header small{font-size:10px;color:#76678c}
.tc-v510-swipe-panel header button{border:0;background:#f2ebfc;border-radius:50%;width:28px;height:28px;font-size:19px;cursor:pointer}
.tc-v510-swipe-kinds{display:flex;overflow-x:auto;gap:6px;scrollbar-width:thin;padding:3px 0 8px}
.tc-v510-swipe-kinds button{white-space:nowrap;border:1px solid #e2d8ef;background:#fff;color:#6b5984;border-radius:15px;padding:7px 9px;font-size:10px;font-weight:700;cursor:pointer}
.tc-v510-swipe-kinds button.on{color:#fff;background:#5935e8;border-color:#5935e8}
.tc-v510-swipe-card{display:block;overflow:hidden;border:1px solid #eee5f8;border-radius:14px;background:linear-gradient(135deg,#fff,#f8f5fe);touch-action:pan-y;outline-offset:2px}
.tc-v510-swipe-hero{height:165px;overflow:hidden;background:#eee7f9;display:grid;place-items:center}
.tc-v510-swipe-hero>img,.tc-v510-swipe-hero>div,.tc-v510-swipe-hero .tc-placeholder img{width:100%;height:100%;object-fit:cover}
.tc-v510-swipe-body{padding:13px 14px;display:grid;gap:9px}
.tc-v510-swipe-body>small{font-size:10px;color:#8854c2;font-weight:850;letter-spacing:.04em}
.tc-v510-swipe-body h3{font-size:17px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.tc-v510-swipe-body p{font-size:11px;color:#71647b;margin:0;line-height:1.4;overflow-wrap:anywhere}
.tc-v510-swipe-body>.tc-btn{min-height:38px;width:100%;font-size:12px;text-align:center}
.tc-v510-swipe-footer{display:flex;align-items:center;justify-content:space-between;gap:5px}
.tc-v510-swipe-footer button{padding:9px 10px;border:1px solid #d8cbed;border-radius:9px;background:#fff;color:#5935e8;font-weight:800;font-size:11px;cursor:pointer}
.tc-v510-swipe-footer span{font-size:10px;color:#86758e}
.tc-v510-app-bottom{display:none}
@media(max-width:700px){
 .tc-root .tc-home-layout .tc-hero-copy-v4{padding-left:5px!important;padding-right:10px!important;max-width:min(270px,80%)!important;width:min(270px,80%)!important}
 .tc-v510-search-form{grid-template-columns:1fr 1fr;gap:7px}
 .tc-v510-search-form input{grid-column:1/-1;order:0}
 .tc-v510-search-form select{grid-column:1/-1;order:1}
 .tc-v510-search-form button{grid-column:1/-1;order:2;width:100%}
 .tc-home-layout .tc-v510-unified-search{padding:12px!important;margin:8px 0 13px!important;gap:8px}
 .tc-v510-search-heading strong{font-size:14px}
 .tc-v510-search-heading span{font-size:10px}
 .tc-v510-search-tabs button{font-size:11px;padding:8px 12px}
 .tc-v510-search-form input,.tc-v510-search-form select,.tc-v510-search-form button{height:39px!important;font-size:11px!important}
 .tc-v510-filter-rail{gap:5px;margin:8px 0 13px}
 .tc-v510-filter-hint{font-size:9px;max-width:36px;white-space:normal;line-height:1.3}
 .tc-v510-head-actions{gap:5px}
 .tc-v510-carousel-controls button{width:27px;height:27px}
 .tc-v510-carousel{gap:10px}
 .tc-v510-carousel-shell .tc-v41-group-tile{flex-basis:245px;width:245px;padding:9px}
 .tc-v510-auction-photo{height:155px}
 .tc-v510-advert-cards .tc-ad-card{flex-basis:min(300px,83vw)!important}
 .tc-v510-request-card{flex-basis:min(280px,83vw);padding:15px;min-height:180px}
 .tc-v510-swipe-system{right:12px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:1350}
 .tc-v510-swipe-launcher{min-width:49px;min-height:44px;border-radius:26px;padding:6px 8px;box-shadow:0 6px 20px #2809535c}
 .tc-v510-swipe-launcher b{display:none}.tc-v510-swipe-launcher span{font-size:23px}
 .tc-v510-swipe-panel{width:min(355px,calc(100vw - 20px));max-height:calc(100dvh - 156px);padding:11px}
 .tc-v510-swipe-hero{height:125px}
 .tc-v510-swipe-body{gap:7px;padding:10px}
 .tc-v510-swipe-body h3{font-size:15px}
 .tc-v510-app-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;width:100%;align-items:center;justify-content:space-around;min-height:59px;padding:5px 6px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e5dbee;box-shadow:0 -3px 20px #1f105528;z-index:1300;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
 .tc-v510-app-bottom button{display:grid;place-items:center;gap:1px;flex:1 1 0;min-width:0;border:0;background:transparent;color:#6a5a80;padding:4px 1px;cursor:pointer}
 .tc-v510-app-bottom button.on{color:#5935e8}
 .tc-v510-app-bottom button span{font-size:21px;line-height:23px}
 .tc-v510-app-bottom button small{font-size:10px;font-weight:750;white-space:nowrap}
 .tc-v510-app-bottom .tc-v510-bottom-swipe span{color:#fff;background:linear-gradient(140deg,#5935e8,#9348f0);border-radius:50%;height:35px;width:43px;display:grid;place-items:center;font-size:20px;box-shadow:0 4px 12px #4d2baa55}
 .tc-root{padding-bottom:calc(63px + env(safe-area-inset-bottom))!important}
 .tc-v51-site-footer{margin-bottom:10px!important}
 .tc-root .tc-float-tools{bottom:calc(135px + env(safe-area-inset-bottom))!important;right:12px!important}
 .tc-root .tc-activity-drawer,.tc-root .tc-notification-panel{bottom:calc(130px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 170px)!important}
}
@media(prefers-reduced-motion:reduce){.tc-v510-carousel,.tc-v510-carousel-shell{scroll-behavior:auto!important}}
/* Shift past older container's inset so the actual hero copy sits close to the left photo edge. */
@media(min-width:701px){.tc-root .tc-home-layout .tc-hero-copy-v4{transform:translateX(-32px)!important}}
@media(max-width:700px){.tc-root .tc-home-layout .tc-hero-copy-v4{transform:translateX(-13px)!important}}
/* Keep the existing photographic hero legible across all rotating backgrounds. */
.tc-root .tc-home-layout .tc-hero-v4 .tc-hero-copy-v4 h1,
.tc-root .tc-home-layout .tc-hero-v4 .tc-hero-copy-v4 h1 em{color:#fff!important;text-shadow:0 2px 18px rgba(12,4,38,.54)!important}
.tc-root .tc-home-layout .tc-hero-v4 .tc-hero-copy-v4 h1 em{color:#ffb63d!important}
.tc-root .tc-home-layout .tc-hero-v4 .tc-hero-copy-v4 p{color:#fff!important;text-shadow:0 1px 8px rgba(12,4,38,.65)!important}
