:root{--ink:#171717;--pink:#f34ca8;--orange:#ff7a2f;--yellow:#ffd82e;--blue:#24a7ff;--green:#49cf73;--purple:#8b5cf6;--cream:#fff9ee}.tot-app{font-family:Arial,Helvetica,sans-serif;color:var(--ink);max-width:1500px;margin:auto;background:#fff}.tot-header{display:flex;align-items:center;justify-content:space-between;padding:14px 3%;position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);z-index:20;border-bottom:1px solid #eee}.tot-brand{display:flex;align-items:center;gap:12px;color:#111;text-decoration:none;font-weight:900}.tot-brand img{width:58px;height:58px;border-radius:50%;object-fit:cover}.tot-header nav{display:flex;gap:8px}.tot-header button,.tot-account button{border:0;background:#111;color:#fff;border-radius:999px;padding:11px 16px;font-weight:800;cursor:pointer}.tot-header nav button:nth-child(2){background:var(--pink)}.tot-header nav button:nth-child(3){background:var(--blue)}.tot-header nav button:nth-child(4){background:var(--green);color:#111}.tot-hero{min-height:480px;padding:65px 6%;display:grid;grid-template-columns:1.4fr .8fr;align-items:center;background:linear-gradient(135deg,#fff7d6,#ffe8f4 42%,#e3f5ff 72%,#e9ffe9);border-radius:0 0 40px 40px;overflow:hidden}.tot-hero h1{font-size:clamp(54px,8vw,126px);line-height:.84;margin:15px 0;letter-spacing:-.07em}.tot-hero p{font-size:19px;max-width:650px}.tot-hero img{width:min(430px,90%);justify-self:center;filter:drop-shadow(0 24px 30px rgba(0,0,0,.13))}.tot-kicker{display:inline-block;background:#111;color:#fff;border-radius:999px;padding:9px 14px;font-weight:800}.tot-toolbar{display:grid;grid-template-columns:repeat(6,1fr) auto;gap:10px;padding:28px 3% 12px}.tot-toolbar select,.tot-toolbar button{padding:13px 12px;border:2px solid #111;border-radius:14px;background:white;font-weight:700;min-width:0}.tot-toolbar button{background:var(--yellow);cursor:pointer}.tot-results{padding:0 3% 18px;color:#555}.tot-results strong{font-size:24px;color:#111}.tot-results span{float:right}.tot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:0 3% 55px}.tot-card{border:2px solid #111;border-radius:22px;overflow:hidden;background:white;box-shadow:7px 7px 0 #111;transition:.2s}.tot-card:hover{transform:translate(-2px,-2px);box-shadow:10px 10px 0 #111}.tot-card-img{aspect-ratio:4/4.7;background:#eee;position:relative;overflow:hidden}.tot-card-img img{width:100%;height:100%;object-fit:cover}.tot-badge{position:absolute;left:12px;top:12px;border-radius:999px;padding:7px 10px;font-weight:900;background:var(--yellow)}.tot-status{position:absolute;right:12px;top:12px;background:#111;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.tot-card-body{padding:16px}.tot-card h3{font-size:20px;margin:0 0 8px}.tot-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.tot-tags span{font-size:12px;background:#f2f2f2;padding:6px 8px;border-radius:999px}.tot-price-row{display:flex;justify-content:space-between;align-items:end;margin-top:14px}.tot-price-row small{display:block;color:#666}.tot-price{font-size:28px;font-weight:900}.tot-timer{font-weight:900;font-size:17px}.tot-bid{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.tot-bid input{border:2px solid #111;border-radius:12px;padding:11px;font-size:16px;min-width:0}.tot-bid button{border:2px solid #111;border-radius:12px;background:var(--pink);padding:11px 15px;font-weight:900;cursor:pointer}.tot-card:nth-child(4n+2) .tot-bid button{background:var(--blue)}.tot-card:nth-child(4n+3) .tot-bid button{background:var(--orange)}.tot-card:nth-child(4n+4) .tot-bid button{background:var(--green)}.tot-winning{color:#0a8b3f;font-weight:900}.tot-wins{padding:50px 6%;background:#111;color:white;border-radius:40px 40px 0 0}.tot-wins h2{font-size:42px;margin-top:0}.tot-empty{padding:25px;border:1px solid #555;border-radius:20px}.tot-order-card{background:#fff;color:#111;padding:24px;border-radius:22px;max-width:800px}.tot-order-card>div:first-child{display:flex;justify-content:space-between}.tot-order-card>div:first-child strong{font-size:24px}.tot-order-items{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.tot-order-items span{background:#f2f2f2;border-radius:999px;padding:8px 10px}.tot-order-totals{display:grid;gap:5px;border-top:1px solid #ddd;padding-top:15px}.tot-order-totals span{display:flex;justify-content:space-between}.tot-order-totals span:nth-child(3){font-size:22px}.tot-pay{width:100%;margin-top:18px;padding:14px;border:2px solid #111;border-radius:14px;background:var(--green);font-size:17px;font-weight:900;cursor:pointer}.tot-modal[hidden]{display:none}.tot-modal{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:99;display:grid;place-items:center;padding:20px}.tot-dialog{background:#fff;border:3px solid #111;border-radius:28px;padding:30px;width:min(440px,95vw);position:relative;text-align:center;box-shadow:12px 12px 0 var(--pink)}.tot-account-dialog{text-align:left;width:min(560px,95vw)}.tot-x{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.tot-modal-logo{width:115px;border-radius:50%}.tot-google,.tot-email{display:block;border:2px solid #111;border-radius:14px;padding:13px;margin:10px 0;text-decoration:none;color:#111;font-weight:800}.tot-google span{font-size:20px;margin-right:10px}.tot-email{background:#111;color:white}.tot-small{font-size:13px}.tot-address-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tot-address-form h3,.tot-address-form button,.tot-address-form [data-address-msg]{grid-column:1/-1}.tot-address-form label{font-size:12px;font-weight:700}.tot-address-form input{display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid #aaa;border-radius:10px;margin-top:4px}.tot-address-form button{padding:12px;background:var(--yellow);border:2px solid #111;border-radius:12px;font-weight:900}.tot-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:120;background:#111;color:#fff;padding:12px 18px;border-radius:999px;font-weight:800}.tot-no-results{grid-column:1/-1;padding:50px;text-align:center;background:#f7f7f7;border-radius:20px}@media(max-width:1100px){.tot-grid{grid-template-columns:repeat(3,1fr)}.tot-toolbar{grid-template-columns:repeat(3,1fr)}.tot-results span{float:none;display:block;margin-top:5px}}@media(max-width:800px){.tot-header nav{display:none}.tot-brand span{display:none}.tot-hero{grid-template-columns:1fr;min-height:auto;padding:45px 7%}.tot-hero img{width:230px;margin-top:25px}.tot-grid{grid-template-columns:repeat(2,1fr)}.tot-toolbar{grid-template-columns:repeat(2,1fr)}.tot-wins{padding:35px 5%}.tot-wins h2{font-size:32px}}@media(max-width:540px){.tot-grid{grid-template-columns:1fr;padding:0 5% 45px}.tot-toolbar{grid-template-columns:1fr 1fr;padding:20px 5%}.tot-header{padding:10px 5%}.tot-brand img{width:48px;height:48px}.tot-hero h1{font-size:58px}.tot-address-form{grid-template-columns:1fr}.tot-results{padding:0 5% 15px}}
.tot-register-form{display:grid;gap:9px}.tot-register-form input{padding:12px;border:2px solid #111;border-radius:12px;font:inherit}.tot-register-form .tot-email{width:100%;cursor:pointer}.tot-or{display:flex;align-items:center;gap:10px;color:#777;font-size:12px;margin:8px 0}.tot-or:before,.tot-or:after{content:"";height:1px;background:#ddd;flex:1}

/* Buyer authentication */
.tot-account{display:flex;align-items:center;gap:8px}.tot-account .tot-header-login,.tot-account .tot-header-signup{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:2px solid #111;border-radius:999px;padding:10px 16px;font-weight:900;line-height:1}.tot-account .tot-header-login{background:#fff;color:#111}.tot-account .tot-header-signup{background:var(--pink);color:#111;box-shadow:3px 3px 0 #111}.tot-auth-page{font-family:Arial,Helvetica,sans-serif;min-height:75vh;padding:40px 18px 70px;display:grid;place-items:start center;background:linear-gradient(135deg,#fff7d6,#ffe8f4 42%,#e3f5ff 72%,#e9ffe9);color:#171717}.tot-auth-card{width:min(620px,100%);box-sizing:border-box;background:#fff;border:3px solid #111;border-radius:30px;padding:34px;box-shadow:10px 10px 0 #111;text-align:center}.tot-signup-card{width:min(720px,100%)}.tot-auth-brand{display:inline-flex}.tot-auth-card>img,.tot-auth-brand img{width:118px;height:118px;border-radius:50%;object-fit:cover}.tot-auth-kicker{display:table;margin:14px auto 8px;padding:7px 11px;border-radius:999px;background:#ffd82e;border:2px solid #111;font-size:11px;font-weight:900;letter-spacing:.08em}.tot-auth-card h1{font-size:clamp(38px,6vw,64px);line-height:.95;margin:12px 0;letter-spacing:-.045em}.tot-auth-intro{max-width:520px;margin:0 auto 22px;color:#555;font-size:16px;line-height:1.5}.tot-auth-error{padding:12px 14px;margin:0 0 16px;border:2px solid #9d1736;border-radius:12px;background:#ffe5ec;color:#7c0b27;font-weight:800;text-align:left}.tot-buyer-signup-form,.tot-buyer-login-form{display:grid;gap:13px;text-align:left}.tot-buyer-signup-form label,.tot-buyer-login-form label{font-size:13px;font-weight:900}.tot-buyer-signup-form input,.tot-buyer-login-form input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:13px 14px;border:2px solid #111;border-radius:13px;background:#fff;font:inherit;outline:none}.tot-buyer-signup-form input:focus,.tot-buyer-login-form input:focus{box-shadow:0 0 0 3px rgba(36,167,255,.18)}.tot-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tot-auth-section-title{display:flex;justify-content:space-between;gap:10px;align-items:end;margin-top:8px;padding-top:17px;border-top:2px dashed #ddd;text-align:left}.tot-auth-section-title strong{font-size:18px}.tot-auth-section-title span{font-size:12px;color:#777}.tot-auth-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:700!important;line-height:1.4}.tot-auth-check input{width:18px!important;height:18px;margin:1px 0 0!important;flex:0 0 auto}.tot-auth-primary{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;border:2px solid #111;border-radius:14px;padding:14px 18px;background:#f34ca8;color:#111;text-decoration:none;font:inherit;font-weight:900;cursor:pointer;box-shadow:4px 4px 0 #111}.tot-buyer-signup-form .tot-auth-primary{margin-top:4px}.tot-login-card .tot-auth-primary{background:#24a7ff}.tot-google-large{padding:14px 16px;background:#fff;text-align:center;box-shadow:3px 3px 0 #111}.tot-auth-foot{margin:20px 0 0;font-weight:700}.tot-auth-foot a,.tot-auth-card .tot-forgot{color:#111;font-weight:900}.tot-auth-card .tot-forgot{display:inline-block;margin-top:14px}.tot-auth-card .tot-or{margin:14px 0}.tot-auth-card .tot-or span{white-space:nowrap}.tot-auth-card .tot-or:before,.tot-auth-card .tot-or:after{background:#bbb}
@media(max-width:640px){.tot-account{gap:5px}.tot-account .tot-header-login,.tot-account .tot-header-signup{padding:9px 11px;font-size:13px}.tot-auth-page{padding:20px 10px 45px;place-items:start center}.tot-auth-card{padding:24px 18px;border-radius:24px;box-shadow:6px 6px 0 #111}.tot-auth-card>img,.tot-auth-brand img{width:92px;height:92px}.tot-auth-grid{grid-template-columns:1fr}.tot-auth-section-title{display:block}.tot-auth-section-title span{display:block;margin-top:3px}.tot-auth-card h1{font-size:42px}}


/* v0.5.1 buyer navigation + responsive account improvements */
.tot-account .tot-header-logout{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:2px solid #111;border-radius:999px;padding:10px 16px;font-weight:900;line-height:1;background:#111;color:#fff}
.tot-account-dialog>p:first-of-type{overflow-wrap:anywhere}
.tot-account-dialog .tot-address-form{width:100%;box-sizing:border-box}
.tot-account-dialog .tot-address-form label{min-width:0}
.tot-account-dialog .tot-address-form input{min-width:0}
.tot-account-dialog>p:last-child a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:2px solid #111;border-radius:999px;padding:10px 16px;background:#111;color:#fff;font-weight:900}

@media(max-width:1024px){
  /* Keep a consistent 10px gutter around the complete buyer experience on tablets and phones. */
  .tot-app{width:auto;max-width:none;margin:10px;box-sizing:border-box;border-radius:22px;overflow:hidden}
  .tot-header{padding:10px;gap:8px}
  .tot-hero{padding-left:10px;padding-right:10px}
  .tot-toolbar{padding-left:10px;padding-right:10px}
  .tot-results{padding-left:10px;padding-right:10px}
  .tot-grid{padding-left:10px;padding-right:10px}
  .tot-wins{margin-left:0;margin-right:0;padding-left:10px;padding-right:10px}
  .tot-modal{padding:10px}
  .tot-dialog,.tot-account-dialog{width:100%;max-width:calc(100vw - 20px);box-sizing:border-box}
  .tot-auth-page{padding-left:10px;padding-right:10px;box-sizing:border-box}
  .tot-auth-card{width:100%;max-width:720px}
}

@media(max-width:700px){
  .tot-account{gap:5px;flex-wrap:nowrap}
  .tot-account button,.tot-account .tot-header-login,.tot-account .tot-header-signup,.tot-account .tot-header-logout{padding:9px 10px;font-size:12px;white-space:nowrap}
  .tot-account-dialog{padding:22px 14px;border-radius:22px}
  .tot-account-dialog .tot-address-form{grid-template-columns:1fr}
  .tot-account-dialog .tot-address-form h3,.tot-account-dialog .tot-address-form button,.tot-account-dialog .tot-address-form [data-address-msg]{grid-column:1}
  .tot-account-dialog h2{padding-right:34px}
}

@media(max-width:430px){
  .tot-header{align-items:center}
  .tot-account button,.tot-account .tot-header-login,.tot-account .tot-header-signup,.tot-account .tot-header-logout{padding:8px 8px;font-size:11px}
  .tot-brand img{width:42px;height:42px}
}

/* v0.5.2 app install banner */
.tot-app-install{margin:0 24px 18px;padding:18px 20px;border:2px solid #111;border-radius:20px;background:linear-gradient(110deg,#fff3c4 0%,#ffd1eb 45%,#caefff 100%);display:flex;align-items:center;gap:16px;box-shadow:5px 5px 0 #111}
.tot-app-install-copy{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.tot-app-install-copy strong{display:block;font-size:20px}.tot-app-install-copy p{margin:3px 0 0;line-height:1.35}.tot-app-icon{width:48px;height:48px;border:2px solid #111;border-radius:14px;background:#f34ca8;display:grid;place-items:center;font-size:28px;font-weight:900;flex:0 0 auto}.tot-app-install button{border:2px solid #111;border-radius:999px;background:#111;color:#fff;font:inherit;font-weight:900;padding:12px 18px;cursor:pointer;white-space:nowrap}.tot-app-install small{display:block;max-width:270px;line-height:1.35}
/* Hide the WordPress theme's public header/page title on the dedicated auction-app page. */
body.tot-auction-page .wp-site-blocks>header,
body.tot-auction-page #masthead,
body.tot-auction-page .site-header:not(.tot-header),
body.tot-auction-page .site-branding,
body.tot-auction-page main>.entry-header,
body.tot-auction-page .page-header,
body.tot-auction-page .wp-block-post-title,
body.tot-auction-page .entry-title{display:none!important}
body.tot-auction-page .wp-site-blocks,body.tot-auction-page .site,body.tot-auction-page .site-main{padding-top:0!important;margin-top:0!important}
@media(max-width:1024px){.tot-app-install{margin:0 10px 14px;padding:14px}.tot-app-install-copy strong{font-size:17px}}
@media(max-width:700px){.tot-app-install{display:grid;grid-template-columns:1fr}.tot-app-install button{width:100%}.tot-app-install small{max-width:none}.tot-app-icon{width:42px;height:42px;font-size:24px}}

/* v0.5.3 buyer auction tabs, sorting and winner celebration */
.tot-viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 12px;flex-wrap:wrap}
.tot-buyer-tabs{display:flex;gap:8px;flex-wrap:wrap}
.tot-buyer-tabs button{border:1px solid rgba(17,17,34,.14);background:#fff;color:#17152b;border-radius:999px;padding:11px 17px;font-weight:800;cursor:pointer}
.tot-buyer-tabs button.is-active{background:#17152b;color:#fff;border-color:#17152b}
.tot-sort-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:#4b4860}
.tot-sort-label select{min-height:44px;border:1px solid rgba(17,17,34,.14);border-radius:12px;background:#fff;padding:0 38px 0 13px;font:inherit;color:#17152b}
.tot-bid-active{display:inline-block;margin-top:5px;font-size:12px;font-weight:800;color:#5b47c7}
.tot-win-overlay[hidden]{display:none!important}
.tot-win-overlay{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px;background:rgba(15,12,27,.72);overflow:hidden}
.tot-win-card{position:relative;z-index:2;width:min(520px,100%);padding:38px 26px;text-align:center;border-radius:28px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.3);animation:totWinPop .45s cubic-bezier(.2,.85,.32,1.25)}
.tot-win-emoji{font-size:58px;line-height:1;margin-bottom:10px}.tot-win-card h2{font-size:clamp(34px,8vw,58px);line-height:.95;margin:0 0 14px;color:#17152b}.tot-win-card p{font-size:17px;color:#58536e}.tot-win-price{font-size:28px;font-weight:950;color:#d20e55;margin:18px 0}.tot-win-note{font-size:14px!important}.tot-win-card button{min-height:48px;border:0;border-radius:14px;padding:0 24px;background:linear-gradient(135deg,#ff2d7a,#ff8a00);color:#fff;font-weight:900;cursor:pointer}
.tot-confetti{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}.tot-confetti i{position:absolute;top:-24px;width:11px;height:18px;border-radius:2px;opacity:.95;animation:totConfetti linear forwards;transform:translateX(0) rotate(0)}
@keyframes totConfetti{0%{transform:translate3d(0,-30px,0) rotate(0);opacity:1}100%{transform:translate3d(var(--x),110vh,0) rotate(var(--r));opacity:.9}}
@keyframes totWinPop{from{transform:scale(.72);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.tot-confetti i,.tot-win-card{animation:none!important}.tot-confetti{display:none}}
@media(max-width:900px){.tot-viewbar{align-items:stretch}.tot-buyer-tabs{width:100%}.tot-buyer-tabs button{flex:1}.tot-sort-label{width:100%;justify-content:space-between}.tot-sort-label select{flex:1;min-width:0}.tot-win-overlay{padding:10px}.tot-win-card{border-radius:20px;padding:30px 18px}}

/* v0.6.0 payment + notification account panels */
.tot-account-section{margin-top:18px;padding:16px;border:1px solid #ece7df;border-radius:16px;background:#fffaf3}.tot-account-section h3{margin:0 0 6px}.tot-account-section p{margin:0 0 12px}.tot-add-card,.tot-card-saved button{min-height:44px;border:0;border-radius:12px;padding:0 16px;font-weight:800;cursor:pointer}.tot-add-card{background:#111;color:#fff}.tot-card-saved{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;background:#fff}.tot-card-saved button{background:#f4f1ec;color:#111}.tot-notify-toggle{display:flex;align-items:center;gap:10px;font-weight:700}.tot-notify-toggle input{width:20px;height:20px}.tot-payment-method #tot-sumup-card{margin-top:12px;min-height:220px}.tot-payment-method [data-card-msg],[data-push-msg]{margin-top:10px;font-size:13px}.tot-paid{display:block;margin-top:12px;padding:12px;border-radius:12px;background:#eefbf3;color:#176b3a;font-size:13px}@media(max-width:1024px){.tot-account-section{margin-left:0;margin-right:0}.tot-card-saved{flex-direction:column;align-items:stretch}.tot-card-saved button,.tot-add-card{width:100%}}

/* v0.6.1 buyer short-video player */
.tot-card-img{position:relative;overflow:hidden}
.tot-card-img .tot-card-photo,.tot-card-img .tot-card-video{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}
.tot-card-img .tot-card-video{background:#111;object-fit:contain}
.tot-card-img [hidden]{display:none!important}
.tot-video-play{position:absolute;left:14px;bottom:14px;z-index:4;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:10px 14px;background:rgba(17,24,39,.88);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;backdrop-filter:blur(6px);box-shadow:0 6px 18px rgba(0,0,0,.16)}
.tot-video-play span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:#111;font-size:10px;padding-left:2px}
.tot-video-play:focus-visible{outline:3px solid #ffd400;outline-offset:2px}
@media (max-width:1024px){.tot-video-play{left:10px;bottom:10px;min-height:44px}.tot-card-img .tot-card-photo,.tot-card-img .tot-card-video{min-height:220px}}

/* v0.6.4 seller/buyer view switch — only rendered for seller-capable users */
.tot-view-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:2px solid #111;border-radius:999px;background:#fff;box-shadow:2px 2px 0 #111}
.tot-view-switch a,.tot-view-switch span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;font-size:11px;font-weight:900;line-height:1;text-decoration:none!important;color:#111!important;white-space:nowrap}
.tot-view-switch .is-active{background:var(--tot-pink,#f34ca8)}
@media(max-width:900px){.tot-view-switch{order:-1;width:100%;box-sizing:border-box}.tot-view-switch a,.tot-view-switch span{flex:1}.tot-account{flex-wrap:wrap}}
@media(max-width:700px){.tot-view-switch{margin-bottom:4px}.tot-view-switch a,.tot-view-switch span{min-height:38px;font-size:11px}}

/* v0.6.5.2 personalised buyer greeting */
.tot-user-greeting{max-width:1500px;margin:10px auto 0;padding:0 20px;font-weight:800;font-size:16px;color:#111827}
@media (max-width:1024px){.tot-user-greeting{margin:10px 10px 0;padding:0}}
