/* Listit discovery experience — progressive enhancement, no external dependencies */
:root{--engage-accent:#a44ff0;--engage-ink:#241333;--engage-shadow:0 16px 42px rgba(52,20,86,.14)}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#fbf8ff 0,#fff 680px)}
.masthead{background:rgba(255,255,255,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 2px 18px rgba(39,19,61,.06)}
.brand{transition:transform .2s ease}.brand:hover{transform:scale(1.035)}
.button,.cat,.listing-card,.photo-cat{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
.button:active,.cat:active{transform:scale(.97)}
.button.primary{background:linear-gradient(115deg,#a44ff0,#e65a9b);border-color:transparent;box-shadow:0 8px 20px rgba(164,79,240,.2)}
.button.primary:hover{background:linear-gradient(115deg,#9237dc,#d94b8c);box-shadow:0 12px 26px rgba(164,79,240,.27);transform:translateY(-2px)}
.hero{background:radial-gradient(circle at 10% 10%,rgba(198,158,255,.28),transparent 38%),radial-gradient(circle at 88% 78%,rgba(255,160,193,.25),transparent 42%),linear-gradient(125deg,#f8f2ff,#f5f9ff 58%,#fff4f6)}
.hero h1{color:var(--engage-ink)}.hero h1 em{color:#a44ff0}
.hero-search{border:1px solid #e8d9f4;box-shadow:0 20px 50px rgba(77,36,114,.14)}
.section-head h2{color:var(--engage-ink)}
.photo-cat{overflow:hidden;isolation:isolate;box-shadow:0 8px 24px rgba(48,22,71,.13)}
.photo-cat:hover{transform:translateY(-5px);box-shadow:var(--engage-shadow)}
.photo-cat .cat-shade{background:linear-gradient(0deg,rgba(18,8,30,.88),transparent 70%)}
.listing-card{overflow:hidden;border:1px solid #eee5f3;box-shadow:0 4px 16px rgba(38,19,55,.07);background:#fff}
.listing-card:hover{transform:translateY(-5px);box-shadow:var(--engage-shadow);border-color:#e0c7f4}
.listing-image{overflow:hidden}
.listing-image img{transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.listing-card:hover .listing-image img{transform:scale(1.045)}
.listing-price{color:#6f2daf;font-weight:850}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible,[role="link"]:focus-visible{outline:3px solid #9a5ce8;outline-offset:3px}
@media(max-width:600px){.listing-card:hover,.photo-cat:hover{transform:none}.hero-search{box-shadow:0 10px 30px rgba(77,36,114,.12)}.button{min-height:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}}

/* Auth pages: consistent centered spacing on desktop and mobile. */
.auth-page{min-height:calc(100dvh - 150px);display:grid;place-items:start center;padding:clamp(28px,6vh,72px) 0 60px}
.auth-page .auth-panel{width:min(100%,480px);max-width:480px;margin:0;padding:clamp(22px,4vw,36px);box-shadow:0 16px 48px rgba(39,19,61,.09)}
.auth-page .auth-panel h1{margin:0 0 10px;line-height:1.18;font-size:clamp(27px,4vw,35px)}
.auth-page .auth-panel .page-sub{margin:0 0 26px;line-height:1.5}
.auth-page .auth-panel .form{gap:18px}
.auth-page .auth-panel .form label{line-height:1.45}
.auth-page .auth-panel .form input:not([type=checkbox]){min-height:48px}
.auth-page .auth-panel .form input[type=checkbox]{width:18px!important;height:18px;flex:0 0 18px;margin:2px 0 0!important}
.auth-page .auth-panel .form label:has(input[type=checkbox]){display:flex!important;align-items:flex-start!important;gap:10px!important;font-weight:450}
.auth-page .auth-panel .form button[type=submit]{width:100%;min-height:48px}
.auth-page .auth-panel a{color:#7732c0;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.auth-page{padding:22px 0 48px}.auth-page .auth-panel{padding:24px 20px;border-radius:16px}}

/* Keep consent text as one wrapping flex item, not separate words/links. */
.auth-page .auth-panel .form label:has(input[type=checkbox])>span{display:block;min-width:0;flex:1;line-height:1.55;overflow-wrap:break-word}
.auth-page .auth-panel .form label:has(input[type=checkbox])>span a{display:inline;white-space:normal}
.auth-page .auth-panel .form label:has(input[type=checkbox]){justify-content:flex-start;text-align:left}
.brand{white-space:nowrap;word-spacing:0;letter-spacing:-1.5px}

/* Prominent, accessible top navigation actions */
.nav-actions .nav-feature{border:1.5px solid #6e26b6;border-radius:12px;background:#f4eaff;color:#4d158e;font-weight:800;box-shadow:0 2px 8px rgba(72,20,137,.10);transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.nav-actions .nav-about{background:#55219e;color:#fff;border-color:#55219e}
.nav-actions .nav-browse{background:#ede1ff;color:#48148c;border-color:#b68aeb}
.nav-actions .nav-signin{background:#fff;color:#55219e;border-color:#7135b6}
.nav-actions .nav-feature:hover{background:#7535c3;color:#fff;border-color:#7535c3;transform:translateY(-1px);box-shadow:0 4px 12px rgba(72,20,137,.18)}
.nav-actions .nav-feature:focus-visible{outline:3px solid #f0a943;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.nav-actions .nav-feature{transition:none}.nav-actions .nav-feature:hover{transform:none}}

/* Centered, stronger List it wordmark; retain usable controls on small screens. */
.masthead .nav{position:relative;min-height:112px;height:auto;padding-top:14px;padding-bottom:14px}
.masthead .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(43px,4vw,60px);font-weight:950;letter-spacing:-2.8px;line-height:1;white-space:nowrap;text-shadow:0 2px 4px rgba(65,23,107,.09);z-index:1}
.masthead .loc-head{margin-right:auto}
.masthead .nav-actions{margin-left:auto}
@media(max-width:1250px){.masthead .nav{padding-top:80px;min-height:154px}.masthead .brand{top:12px;transform:translateX(-50%)}.masthead .loc-head{align-self:center}}
@media(max-width:700px){.masthead .nav{padding-top:72px;min-height:0;gap:8px}.masthead .brand{font-size:46px;top:12px}.masthead .loc-head{margin-right:auto}.masthead .nav-actions{width:100%;margin-left:0;justify-content:center}}

/* Balanced six-action navigation beneath the centered wordmark. */
.masthead .nav{display:grid;grid-template-columns:1fr;justify-items:center;gap:14px;padding:16px 0 20px;min-height:0;height:auto}
.masthead .brand{position:static;left:auto;top:auto;transform:none;grid-row:1;justify-self:center;font-size:clamp(46px,5vw,64px);font-weight:950}
.masthead .loc-head{grid-row:2;justify-self:center;margin:0}
.masthead .nav-actions{grid-row:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:12px;margin:0;align-items:stretch;justify-content:stretch}
.masthead .nav-actions>.button{box-sizing:border-box;width:100%;height:49px;min-height:49px;min-width:0;padding:8px 7px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;font-size:clamp(11px,1.08vw,14px);font-weight:800;line-height:1.2;order:0}
.masthead .nav-actions .donate-cta{order:0}
.masthead .nav-actions .nav-dating{background:#fbe8f3;color:#86145e;border-color:#e6a1ca}
.masthead .nav-actions .nav-dating:hover{background:#a82b7e;color:#fff;border-color:#a82b7e}
.masthead .nav-actions .nav-account{background:#fff;color:#55219e;border:1.5px solid #7135b6}
@media(max-width:900px){.masthead .nav-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.masthead .nav-actions>.button{font-size:13px}}
@media(max-width:480px){.masthead .nav{padding-top:13px;gap:12px}.masthead .brand{font-size:48px}.masthead .nav-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.masthead .nav-actions>.button{font-size:12px;height:45px;min-height:45px;padding:7px 5px}}

/* All six actions remain in one horizontal row on tablets and phones. */
@media(max-width:900px){.masthead .nav-actions{grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(2px,.6vw,7px);width:100%;flex-wrap:nowrap}.masthead .nav-actions>.button{width:100%;min-width:0;min-height:42px;height:42px;padding:5px 2px;font-size:clamp(7px,1.65vw,12px);letter-spacing:-.2px;white-space:normal;overflow-wrap:normal;line-height:1.05;border-radius:9px}.masthead .nav-actions .donate-cta{padding:5px 2px;font-size:clamp(7px,1.65vw,12px)}}
@media(max-width:480px){.masthead .nav-actions{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.masthead .nav-actions>.button{height:42px;min-height:42px;padding:4px 1px;font-size:clamp(7px,2vw,9px);letter-spacing:-.3px;border-radius:7px}.masthead .nav-actions .donate-cta{padding:4px 1px;font-size:clamp(7px,2vw,9px)}}

/* Distinct glossy community category treatments */
.photo-cat:has(.community-icon){border:2px solid #a84eff;box-shadow:0 5px 18px rgba(94,26,153,.24),inset 0 0 0 1px rgba(255,255,255,.28);overflow:hidden;isolation:isolate}
.photo-cat:has(.community-icon) .cat-shade{background:linear-gradient(180deg,rgba(12,4,26,.04) 12%,rgba(18,5,32,.44) 48%,rgba(19,3,34,.98) 100%)}
.photo-cat:has(.community-icon) strong{bottom:38px;text-shadow:0 2px 8px #10051e,0 0 14px rgba(158,63,244,.5);font-weight:900;text-transform:uppercase;letter-spacing:.2px;padding-left:44px;font-size:clamp(12px,1.15vw,19px)}
.photo-cat .community-icon{position:absolute;bottom:40px;left:11px;z-index:2;color:#fff;font-size:27px;line-height:1;text-shadow:0 0 6px #ad50ff,0 0 16px #9b30f0}
.photo-cat .community-subtitle{position:absolute;bottom:12px;left:10px;right:10px;z-index:2;color:#f5e9ff;font-size:clamp(9px,.85vw,12px);font-weight:600;text-shadow:0 1px 5px #10051e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
