:root{color-scheme:dark;--bg:#0b0f16;--panel:#121720;--surface:#1a202b;--surface2:#222a36;--border:#283240;--text:#f6f8fc;--muted:#9aa8b9;--blue:#2473f6;--blue2:#0bbefa;--danger:#f97171;--green:#46d7a0;--round:15px;--navh:75px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif}body{background:radial-gradient(ellipse at 75% -15%,#0d2d522f,transparent 45%),var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{background:#151d29;border:1px solid #344053;color:var(--text);border-radius:12px;padding:12px 13px;outline:none;width:100%;min-width:0}input:focus,select:focus,textarea:focus{border-color:#438cff;box-shadow:0 0 0 3px #176ef323}textarea{resize:vertical;min-height:100px}input::placeholder,textarea::placeholder{color:#8593a6}a{color:inherit;text-decoration:none}.svg-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;stroke:currentColor;stroke-width:1.85;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-icon.sm{width:17px;height:17px}.svg-icon.lg{width:27px;height:27px}
.shell{min-height:100vh;max-width:1100px;margin:auto;box-shadow:0 0 85px #0004;background:var(--bg)}.desktop-rail{display:none}.main{min-height:100vh;padding-bottom:calc(var(--navh) + env(safe-area-inset-bottom) + 14px)}.topbar{height:67px;display:flex;align-items:center;gap:12px;padding:11px 14px;background:#0e131b;position:sticky;top:0;z-index:25;border-bottom:1px solid #1e2732}.topbar .brand{font-size:24px;font-weight:820;letter-spacing:-1.1px;white-space:nowrap}.brand b{font-weight:850;color:#3097ff}.icon-btn{border:none;background:transparent;padding:7px;border-radius:11px;display:grid;place-items:center;position:relative;transition:background .15s}.icon-btn:hover,.nav-item:hover{background:#27313d}.spacer{flex:1}.dot{position:absolute;right:1px;top:2px;background:#fd4a63;color:#fff;border-radius:20px;min-width:16px;height:16px;font:700 10px/16px Arial;text-align:center;padding:0 3px}.tabs{display:flex;gap:5px;align-items:center;padding:13px 11px 13px;position:relative;overflow:auto;scrollbar-width:none;background:#10151d}.tabs::-webkit-scrollbar,.chip-scroll::-webkit-scrollbar{display:none}.tab{border:0;background:transparent;padding:10px 15px;color:#d3dce7;white-space:nowrap;border-radius:40px;font-weight:750;font-size:14px}.tab.active{color:white;background:#1c5bb8}.tab:hover{background:#283a55}.location-chip{border:none;border-left:1px solid var(--border);margin-left:auto;background:none;color:#c9d8ea;display:flex;align-items:center;gap:3px;padding:7px;font-size:12px;white-space:nowrap}.content{padding:10px 12px 20px}.searchbar{display:flex;gap:8px;padding:8px 12px 12px;background:#10151d}.search-field{position:relative;flex:1}.search-field input{padding-left:39px}.search-field>.svg-icon{position:absolute;left:12px;top:12px;color:var(--muted)}.filter-btn{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:0 12px}.feed-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 0 12px;gap:8px}.feed-heading h2{margin:0;font-size:16px;font-weight:760}.feed-heading span{color:var(--muted);font-size:12px}.listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 9px}.listing-card{min-width:0;cursor:pointer}.listing-image{aspect-ratio:1/1;background:#1c2838;position:relative;overflow:hidden;border-radius:11px}.listing-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.listing-card:active .listing-image img{transform:scale(.98)}.listing-card:hover .listing-image img{transform:scale(1.03)}.listing-meta{padding:7px 3px 0}.listing-price{font-size:19px;font-weight:820;letter-spacing:-.5px}.listing-title{font-size:14px;color:#e3ebf5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:23px}.listing-location{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:3px;line-height:19px}.image-badge{position:absolute;left:8px;top:9px;background:#f0f6ff;color:#111c2b;font-size:10px;font-weight:760;padding:5px 7px;border-radius:6px}.image-badge.sold{background:#15291e;color:#67e9ad}.fav{position:absolute;right:7px;top:7px;width:31px;height:31px;background:#10151db0;border:1px solid #fff2;display:grid;place-items:center;border-radius:50%;z-index:2}.fav.active{color:#ff628a}.fav.active svg{fill:#ff628a}.small-ad{margin:20px 2px 0;padding:12px 14px;border:1px solid #1f3952;background:#10203570;border-radius:12px;display:flex;align-items:center;gap:10px;color:#bacbda;font-size:12px}.small-ad b{color:#e5f0ff}.bottom-nav{position:fixed;bottom:0;left:0;right:0;max-width:1100px;margin:auto;z-index:40;display:flex;align-items:center;justify-content:space-around;height:calc(var(--navh) + env(safe-area-inset-bottom));padding:4px 6px calc(6px + env(safe-area-inset-bottom));background:#111823f7;border-top:1px solid #293544;backdrop-filter:blur(18px)}.nav-item{flex:1;border:0;background:transparent;color:#8e9caf;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:10px;border-radius:12px;position:relative;height:60px}.nav-item.active{color:#4797ff}.nav-item .svg-icon{width:23px;height:23px}.nav-action{height:52px;width:52px;background:linear-gradient(130deg,#1260e9,#319bff);border-radius:50%;box-shadow:0 7px 24px #0758d947;display:grid;place-items:center;color:white}.nav-action svg{width:27px;height:27px}.nav-item .dot{right:24%;top:0}.page{padding:12px 15px 25px}.page-title{font-size:24px;font-weight:830;margin:5px 0 16px;letter-spacing:-.7px}.page-sub{color:var(--muted);font-size:13px;margin-top:-9px;margin-bottom:18px}.panel{border:1px solid var(--border);border-radius:16px;background:var(--panel);padding:15px;margin-bottom:13px}.section-title{font-size:19px;font-weight:800;margin:21px 0 12px;letter-spacing:-.3px}.btn{border:0;background:var(--surface2);border-radius:12px;padding:12px 16px;font-weight:750;display:inline-flex;gap:7px;align-items:center;justify-content:center}.btn.primary{background:linear-gradient(105deg,#1766ed,#2985ff);color:white}.btn.outline{background:transparent;border:1px solid #3b5775;color:#bad8ff}.btn.danger{background:#4d2028;color:#ffb6bc}.btn.full{width:100%}.btn.small{font-size:12px;padding:8px 10px}.btn:active{transform:scale(.988)}.chip-scroll{display:flex;gap:8px;overflow:auto;scrollbar-width:none;margin:3px 0 15px}.chip{white-space:nowrap;border:1px solid #344254;background:#1b2430;color:#c7d4e4;padding:9px 13px;border-radius:999px;font-size:13px;font-weight:650}.chip.selected{background:#185fce;border-color:#2376ee;color:white}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.category-card{border:1px solid #2a3443;border-radius:14px;background:linear-gradient(150deg,#202a38,#121922);min-height:119px;padding:14px 5px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:11px;text-align:center;font-size:12px;font-weight:690}.category-emoji{font-size:34px;filter:drop-shadow(0 5px 10px #1669ff40)}.info-line{color:var(--muted);display:flex;align-items:center;gap:5px;font-size:12px;margin:6px 0}.product-photo{width:100%;aspect-ratio:1.12;max-height:520px;object-fit:cover;display:block;border-radius:14px}.detail-price{font-weight:850;font-size:29px;letter-spacing:-1px;margin-top:13px}.detail-name{font-size:21px;font-weight:750;margin-top:5px}.detail-pills{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.pill{padding:9px 12px;background:#1e2734;border-radius:10px;font-size:12px;color:#d4e1ed}.detail-actions{position:sticky;bottom:calc(var(--navh) + env(safe-area-inset-bottom) + 5px);background:#0b0f16eb;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0;z-index:10}.seller{display:flex;gap:12px;align-items:center}.avatar{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2064d8,#0cc7e7);font-weight:850;color:#fff;flex:none}.seller strong{font-size:15px}.seller small{color:var(--muted);display:block;margin-top:3px}.seller .btn{margin-left:auto}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{border:1px solid #3a4656;border-radius:15px;padding:16px 13px;min-height:108px;background:#151b24}.stat .num{font-size:32px;font-weight:850;letter-spacing:-1px;line-height:1}.stat .lbl{font-size:12px;margin-top:8px;font-weight:700;color:#dbe4f0}.stat .hint{color:var(--muted);font-size:11px;margin-top:5px}.selling-tabs{margin:0 0 14px}.owned-row{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid #28313d}.owned-row img{height:63px;width:63px;object-fit:cover;border-radius:9px}.owned-title{font-size:13px;font-weight:750}.owned-price{font-size:13px;color:#d9e9ff;margin-top:3px}.owned-meta{font-size:11px;color:var(--muted);margin-top:3px}.owned-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.owned-info{flex:1;min-width:0}.status{display:inline-block;background:#134334;color:#8ef5bc;border-radius:100px;padding:5px 8px;font-size:11px}.status.reserved{background:#3a321c;color:#ffdc75}.status.sold{background:#323844;color:#adb9ca}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:block;color:#d9e2ef;font-size:12px;font-weight:750;margin:12px 0}.field input,.field select,.field textarea{margin-top:7px;font-weight:400}.field.wide{grid-column:1/-1}.photo-upload{border:1.5px dashed #2d71c6;border-radius:15px;background:#122035;min-height:100px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:8px;color:#c9dfff;cursor:pointer}.photo-upload input{display:none}.preview-thumb{width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin-top:11px}.inbox-row{width:100%;border:0;border-bottom:1px solid #2b3543;background:transparent;display:flex;text-align:left;gap:12px;align-items:center;padding:15px 2px}.inbox-row img{width:55px;height:55px;object-fit:cover;border-radius:10px}.inbox-row small{color:var(--muted);display:block;margin-top:5px}.chat-area{min-height:310px;display:flex;flex-direction:column;gap:12px;padding:20px 4px;justify-content:flex-end}.bubble{max-width:82%;width:fit-content;padding:11px 13px;line-height:1.43;font-size:13px;border-radius:15px;background:#27303c}.bubble.mine{align-self:flex-end;background:#1d6ae6}.bubble.theirs{align-self:flex-start}.chat-compose{display:flex;gap:7px;position:sticky;bottom:calc(var(--navh) + env(safe-area-inset-bottom));background:var(--bg);padding:10px 0}.empty{padding:45px 22px;text-align:center;color:var(--muted);background:#121923;border-radius:15px;border:1px dashed #2c394a;font-size:13px}.empty .svg-icon{width:31px;height:31px;color:#65a5fd;margin-bottom:11px}.settings-row{width:100%;background:none;border:0;color:#e4edf8;padding:17px 3px;display:flex;gap:10px;text-align:left;align-items:center;border-bottom:1px solid #273340;font-weight:640;font-size:14px}.settings-row span:last-child{margin-left:auto;color:#8d9eaf}.notice{padding:13px 14px;background:#102a43;border:1px solid #1f5b89;border-radius:12px;color:#b5dfff;font-size:12px;line-height:1.5;margin:15px 0}.toggle{padding:11px 16px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--border);border-radius:12px;margin-bottom:9px;background:#141c27}.toggle input{width:19px;height:19px;accent-color:var(--blue)}.modal-backdrop{position:fixed;inset:0;background:#02050bc9;z-index:100;display:flex;align-items:end;justify-content:center;backdrop-filter:blur(3px)}.modal{background:#141b27;border:1px solid #344459;box-shadow:0 20px 60px #0009;width:100%;max-width:580px;max-height:90dvh;overflow-y:auto;border-radius:22px 22px 0 0;padding:20px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:19px;font-weight:820;margin-bottom:13px}.modal p{color:#a9b7c7;font-size:13px;line-height:1.5}.overlay-link{color:#7bb3ff;border:0;background:transparent;font-weight:750}.blank-card{height:100%;display:grid;place-items:center;font-size:56px;background:linear-gradient(130deg,#1b3c61,#141924)}.toast{position:fixed;bottom:calc(var(--navh) + 18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:150;min-width:220px;max-width:85vw;background:#263c55;border:1px solid #3b6ba4;border-radius:12px;padding:13px 17px;color:#fff;text-align:center;box-shadow:0 7px 30px #0009;font-size:13px}.tiny{font-size:12px;color:var(--muted)}.logo-showcase{width:min(100%,290px);display:block;margin:10px auto 18px;border-radius:18px}.horizontal-space{display:flex;align-items:center;justify-content:space-between;gap:7px}.muted{color:var(--muted)}.text-blue{color:#65a7ff}.home-hero{padding:0 2px 12px}.home-hero h2{font-size:20px;margin:8px 0}.home-hero p{color:var(--muted);font-size:13px;line-height:1.6}.thin-divider{height:1px;background:#27303c;margin:17px 0}.hidden{display:none!important}
@media(min-width:700px){.shell{display:grid;grid-template-columns:220px minmax(0,1fr)}.desktop-rail{display:flex;flex-direction:column;gap:5px;padding:25px 12px;border-right:1px solid var(--border);position:sticky;top:0;height:100vh}.rail-head{font-size:25px;font-weight:900;margin-bottom:25px;padding:0 10px}.rail-head b{color:#338fff}.rail-item{background:none;border:0;border-radius:12px;padding:14px 13px;display:flex;align-items:center;gap:11px;color:#aebed0;font-weight:680;text-align:left}.rail-item.active{background:#153e75;color:white}.rail-item .svg-icon{width:19px;height:19px}.rail-bottom{margin-top:auto}.topbar{padding-left:25px;padding-right:25px}.tabs{padding-left:24px;padding-right:24px}.content{padding:16px 24px 30px}.page{padding:20px 26px 40px}.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 14px}.bottom-nav{display:none}.main{padding-bottom:30px}.detail-actions{bottom:0}.chat-compose{bottom:0}.toast{bottom:25px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.modal-backdrop{align-items:center}.modal{border-radius:20px;max-height:84vh}.searchbar{padding-left:24px;padding-right:24px}}
@media(min-width:1000px){.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:430px){.tab{padding:10px 12px}.location-chip{font-size:0;padding:9px 7px;margin-left:auto}.location-chip .svg-icon{width:21px;height:21px}}

.brand-img{display:block;width:136px;max-height:39px;object-fit:contain}.rail-brand-img{width:188px;max-width:100%;height:auto;margin:4px 3px 25px;object-fit:contain}

/* TregZone original dark/blue profile design — no changes to the Explore feed */
.tz-profile-page{padding-top:18px}
.tz-profile-hero{position:relative;overflow:hidden;border:1px solid #29486d;border-radius:21px;padding:26px 22px 20px;text-align:center;background:radial-gradient(circle at 50% -30%,#166ddb35,transparent 68%),linear-gradient(155deg,#172539,#101823 72%)}
.tz-profile-hero::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#187afe,#34c4ff,transparent);opacity:.75}
.tz-profile-orb{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;margin:0 auto 14px;border:2px solid #4aa7ff;background:linear-gradient(135deg,#1158dc,#14bce5);box-shadow:0 0 0 5px #1f65ce20,0 12px 28px #0b53b337;color:white;font-size:31px;font-weight:860}
.tz-profile-hero h1{font-size:23px;font-weight:820;margin:0 0 4px;overflow-wrap:anywhere}
.tz-profile-handle{font-size:14px;color:#73b2ff;overflow-wrap:anywhere}
.tz-profile-counts{display:flex;justify-content:center;align-items:center;gap:17px;color:#b3c3d6;font-size:12px;margin:20px 0}
.tz-profile-counts b{color:#f5f9ff;font-size:15px}
.tz-profile-separator{width:1px;height:19px;background:#3a4c65}
.tz-profile-edit{font-size:13px;max-width:340px;margin:auto;padding:13px}
.tz-profile-links{margin-top:12px}.tz-profile-links .settings-row{padding:19px 10px}
.tz-profile-note{margin:20px 5px}
.tz-edit-page{padding-top:23px;max-width:640px;margin-inline:auto}
.tz-edit-heading{text-align:center;margin:0 0 25px}
.tz-edit-heading-icon{width:62px;height:62px;margin:0 auto 13px;display:grid;place-items:center;border-radius:18px;color:#88c4ff;background:linear-gradient(145deg,#1c4774,#11243a);border:1px solid #316298;box-shadow:0 10px 30px #0a68e51c}
.tz-edit-heading-icon svg{width:29px;height:29px}
.tz-edit-heading h1{font-size:22px;letter-spacing:-.5px;margin:0 0 7px}
.tz-edit-heading p{font-size:13px;line-height:1.5;color:#9bb0c5;margin:0 auto;max-width:310px}
.tz-profile-form{border:1px solid #2a3b50;border-radius:19px;background:#141c27;padding:9px 19px 19px;box-shadow:0 12px 45px #0003}
.tz-edit-field{display:block;margin:18px 0 22px;font-weight:730;font-size:14px}
.tz-edit-field>span:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:10px}
.tz-edit-field small{font-size:11px;font-weight:500;color:#7f97ad}
.tz-edit-field>input,.tz-edit-field>select,.tz-username-input{height:49px;width:100%;border:1px solid #354862;border-radius:12px;background:#0d1621;color:#fff;outline:none}
.tz-edit-field>input,.tz-edit-field>select{padding:0 13px;font-size:14px}
.tz-edit-field>input:focus,.tz-edit-field>select:focus,.tz-username-input:focus-within{border-color:#398cff;box-shadow:0 0 0 3px #2975f222}
.tz-username-input{display:flex;align-items:center;overflow:hidden}
.tz-username-input>span{font-size:16px;font-weight:800;color:#69adff;margin-left:15px}
.tz-username-input input{height:100%;min-width:0;flex:1;border:0;outline:none;background:transparent;font-size:14px;color:#fff;padding:0 13px 0 5px}
.tz-profile-save{margin-top:5px;min-height:49px;font-size:15px}
.tz-edit-privacy{font-size:11px;line-height:1.6;color:#8196aa;margin:15px 4px}
@media(min-width:700px){.tz-profile-hero{max-width:580px;margin-inline:auto}.tz-profile-links{max-width:580px;margin-inline:auto}}
/* TregZone v0.3 refinement: same approved branding; cleaner, more capable UI. */
:root{--bg:#080d14;--panel:#121a25;--surface:#17212d;--surface2:#202b3a;--border:#273648;--muted:#99abbf;--blue:#176cf4;--blue2:#0dc5ff;--navh:72px}
html{scroll-behavior:smooth}
body{background:#070b12}
.shell{background:linear-gradient(170deg,#0a111b,#090d14 24%)}
.topbar{height:65px;background:#0b1119;border-bottom:0;padding:10px 13px;gap:9px}
.topbar .brand-img{width:143px;max-height:38px}
.tz-title{font-size:19px!important;font-weight:820!important;letter-spacing:-.35px!important}
.topbar .icon-btn{min-width:38px;min-height:38px}
.topbar .is-liked{color:#ff6891}
.tabs{background:#0b1119;padding:5px 11px 8px;gap:6px;border-bottom:1px solid #182433}
.tab{font-size:13px;padding:9px 13px;color:#b8c8db;font-weight:760}
.tab.active{background:linear-gradient(115deg,#1354c1,#287dff);box-shadow:0 3px 14px #126afa33}
.location-chip{color:#89bdf4;margin-left:auto;gap:5px;font-size:11px}
.searchbar{background:#0b1119;padding:10px 13px 8px;gap:9px}
.search-field input{height:43px;background:#1a2330;border:1px solid #202e3e;border-radius:11px;color:#edf6ff;font-size:13px}
.search-field .svg-icon{top:11px}
.filter-btn{padding:0 14px;border-radius:11px;background:#1a2330;border-color:#26364a;color:#d2e7ff}
.filter-btn.has-filters{color:#44a2ff;border-color:#2769b8}
.content.tz-feed{padding:9px 12px 26px}
.tz-quick{margin:1px 0 12px;gap:7px;padding:0 0 3px}
.tz-quick .chip{font-size:12px;padding:8px 11px;background:#151e29;border-color:#243448}
.tz-quick .chip.selected{background:#185fe0;border-color:#176bf8;color:#fff}
.active-filter{border:1px solid #2b5e9b;background:#122743;padding:6px 8px 6px 12px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:9px}
.active-filter button{border:0;background:transparent;color:#9cc9ff;padding:4px}
.feed-heading{padding:0 1px 11px}
.feed-heading h2{font-size:15px;font-weight:770;letter-spacing:-.15px}
.feed-heading span{font-size:11px}
.listing-grid{gap:16px 8px}
.listing-card{transition:transform .18s;outline:none}
.listing-card:focus-visible .listing-image{outline:2px solid #3a95ff;outline-offset:2px}
.listing-image{border-radius:10px;aspect-ratio:1.04;background:#1c2735}
.listing-image img{object-fit:cover}
.listing-meta{padding:8px 1px 0}
.listing-price{font-size:18px;line-height:1.13;font-weight:840}
.listing-title{font-size:12.5px;line-height:22px;font-weight:600}
.listing-location{font-size:11px;line-height:16px;color:#98a8b9}
.listing-location .svg-icon{width:12px;height:12px}
.image-badge{left:6px;top:7px;padding:4px 6px;background:#f9fbff;color:#172134;font-size:10px;box-shadow:0 2px 8px #0003}
.fav{width:30px;height:30px;border:1px solid #ffffff24;right:6px;top:6px;background:#0b111bb8}
.bottom-nav{border:1px solid #2b3a49;background:#101924f5;border-radius:24px 24px 0 0;box-shadow:0 -10px 35px #0007;height:calc(var(--navh) + env(safe-area-inset-bottom));padding:5px 7px calc(6px + env(safe-area-inset-bottom))}
.nav-item{font-size:10px;gap:3px}
.nav-item.active{color:#4996ff}
.nav-action{width:49px;height:49px;box-shadow:0 8px 22px #0b53e25e}
.page{padding:14px 15px 26px}
.tz-section-heading{display:flex;align-items:end;justify-content:space-between;gap:8px;margin:9px 0 19px}
.tz-section-heading h1{margin:0 0 5px;font-size:22px;letter-spacing:-.5px}
.tz-section-heading p{margin:0;font-size:13px;color:#98abc0}
.tz-count{font-size:11px;font-weight:720;border-radius:40px;padding:5px 9px;background:#1d2a39;color:#97bee8;white-space:nowrap}
.tz-categories .category-grid{gap:10px}
.tz-categories .category-card{position:relative;min-height:118px;gap:7px;background:radial-gradient(circle at 85% 8%,#2759a22c,transparent 65%),linear-gradient(145deg,#1c2a3b,#111924);border-color:#28384a;overflow:hidden;transition:transform .15s,border-color .15s}
.tz-categories .category-card:hover{border-color:#2c81f3;transform:translateY(-2px)}
.tz-categories .category-emoji{font-size:32px;background:linear-gradient(155deg,#1c3b5a,#0e1929);border:1px solid #274b72;border-radius:15px;width:63px;height:63px;display:grid;place-items:center;filter:none;box-shadow:0 4px 15px #0b4b9633}
.tz-categories .category-name{font-weight:740;color:#f2f7ff;line-height:1.15;font-size:12px}
.tz-categories .category-count{font-size:10px;color:#8da4bc}
.tz-cat-1 .category-emoji,.tz-cat-5 .category-emoji{background:linear-gradient(140deg,#342847,#151b32)}
.tz-cat-2 .category-emoji,.tz-cat-4 .category-emoji{background:linear-gradient(140deg,#154d56,#172438)}
.tz-detail-page{padding:0 0 25px}
.tz-gallery{background:#0b1119;padding-bottom:11px}
.tz-hero-media{width:100%;aspect-ratio:1.13;max-height:540px;position:relative;background:#171f2c;overflow:hidden}
.tz-hero-media>img{display:block;width:100%;height:100%;object-fit:cover}
.tz-photo-count{position:absolute;bottom:12px;right:12px;background:#08101fc9;color:#fff;border:1px solid #ffffff25;padding:6px 10px;font-weight:730;font-size:12px;border-radius:10px}
.tz-gallery-arrow{width:37px;height:37px;border:1px solid #ffffff50;background:#0c1529b8;color:white;border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center}
.tz-gallery-arrow.left{left:9px}.tz-gallery-arrow.right{right:9px}
.tz-thumbnails{display:flex;gap:7px;overflow-x:auto;padding:10px 14px 2px;scrollbar-width:thin}
.tz-thumb{padding:0;border:2px solid transparent;flex:0 0 60px;height:58px;border-radius:9px;overflow:hidden;background:#152034}
.tz-thumb.selected{border-color:#3a92ff}
.tz-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tz-detail-body{padding:17px 17px 90px}
.tz-detail-body h1{font-size:24px;line-height:1.3;letter-spacing:-.7px;margin:0 0 7px}
.tz-price{font-size:29px;font-weight:880;letter-spacing:-1px;color:#fff}
.tz-detail-muted{color:#8fa2b8;font-size:12px;display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin:8px 0 18px}
.tz-detail-muted .svg-icon{width:14px;height:14px}
.tz-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0 22px}
.tz-spec{border:1px solid #253448;background:#141f2c;border-radius:12px;padding:11px;min-width:0}
.tz-spec small{display:block;font-size:11px;color:#9eacc0;margin-bottom:5px}
.tz-spec b{font-size:12px;color:#f4f9ff;line-height:1.4;overflow-wrap:anywhere}
.tz-detail-h3{font-size:17px;margin:20px 0 11px;letter-spacing:-.1px}
.tz-description{color:#c8d3df;font-size:13px;line-height:1.65;white-space:pre-wrap}
.tz-seller{padding:13px;border-radius:14px;border:1px solid #2a3a4c;background:#121c29}
.tz-seller .btn{white-space:nowrap}
.tz-detail-foot{display:flex;justify-content:space-between;padding:17px 3px 20px;gap:8px}
.tz-detail-foot .overlay-link{display:flex;align-items:center;gap:6px}
.tz-detail-page .detail-actions{position:fixed;bottom:calc(var(--navh) + env(safe-area-inset-bottom));left:0;right:0;margin:auto;max-width:1100px;border-top:1px solid #263749;background:#0c141fec;padding:9px 12px;z-index:28;box-shadow:0 -7px 27px #0004}
.tz-detail-page .detail-actions .btn{padding:13px}
.tz-selling{padding-top:13px}
.tz-selling .selling-tabs{margin:0 0 16px;gap:8px}
.tz-selling .selling-tabs .chip{font-size:12px}
.tz-create-cta{min-height:54px;font-size:16px;border-radius:13px;margin:2px 0 11px}
.tz-selling .section-title{font-size:19px;margin:22px 0 11px}
.tz-selling-empty{border:1px dashed #315077;background:radial-gradient(circle at 50% 5%,#174a8629,transparent 60%),#121b28;border-radius:15px;display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;padding:21px 16px 20px}
.tz-selling-empty>svg{width:30px;height:30px;color:#4c9fff}
.tz-selling-empty strong{font-size:14px}
.tz-selling-empty p{font-size:12px;line-height:1.5;color:#91a4ba;margin:0 0 2px;max-width:255px}
.tz-selling .stat{min-height:117px;background:linear-gradient(150deg,#192431,#111923);border-color:#34465a;position:relative;padding:15px}
.tz-selling .stat .num{font-size:30px}
.tz-selling .stat .lbl{font-size:12px;margin-top:8px}
.tz-stat-icon{position:absolute;top:13px;right:11px;color:#b6cce5;opacity:.8}
.tz-stat-icon .svg-icon{width:21px;height:21px}
.tz-upload-section{border:1px solid #283d54;background:#121b28;border-radius:15px;padding:12px;margin-top:13px}
.tz-upload-section .photo-upload{margin:0;border-radius:12px;min-height:123px;gap:5px;font-size:13px;cursor:pointer}
.tz-upload-section .photo-upload small{color:#87a2c0}
.tz-photo-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.tz-preview-item{height:76px;position:relative;border-radius:8px;overflow:hidden;background:#1b2b3f}
.tz-preview-item img{width:100%;height:100%;object-fit:cover;display:block}
.tz-preview-item button{position:absolute;right:3px;top:3px;width:24px;height:24px;border:0;border-radius:50%;background:#070d17cc;color:white;padding:4px}
.tz-preview-item button svg{height:15px;width:15px}
.tz-create-page .field{font-size:12px}
.tz-submit-listing{min-height:51px;margin-top:11px}
.tz-chat-head{display:flex;gap:11px;align-items:center}
.tz-chat-head img{height:52px;width:52px;object-fit:cover;border-radius:9px}
.tz-chat-head .btn{margin-left:auto}
.tz-chat .chat-area{min-height:38vh}
.tz-chat .bubble{max-width:83%;line-height:1.45;overflow-wrap:anywhere}
.tz-chat-photo{display:block;max-width:220px;width:100%;height:auto;border-radius:9px;margin:0 0 5px}
.tz-chat-add-photo{display:grid;place-items:center;min-width:41px;min-height:43px;border:1px solid #2d4461;border-radius:11px;background:#172438;color:#a8c9f5;cursor:pointer}
.tz-chat .chat-compose{align-items:center}
.tz-chat .chat-compose input[name=message]{min-height:43px}
.local-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 1px 12px}
.local-switch b{display:block;font-size:15px}.local-switch small{display:block;color:#93a9be;font-size:11px;margin-top:3px}
.segment-mini{display:flex;border-radius:10px;background:#172232;padding:3px;gap:3px}
.segment-mini button{border:0;background:transparent;color:#94acc7;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:740}
.segment-mini button.selected{background:#1c70f5;color:white}
.tz-map-wrap{border:1px solid #2e4462;border-radius:16px;overflow:hidden;background:#13202d}
.tz-map-info{background:#192a3b;display:flex;align-items:center;gap:5px;padding:11px 12px;color:#b4c6da;font-size:10px}
.tz-map{height:340px;position:relative;overflow:hidden;background:repeating-linear-gradient(0deg,transparent 0 48px,#24354b6a 49px 50px),repeating-linear-gradient(90deg,transparent 0 48px,#24354b77 49px 50px),radial-gradient(circle at 30% 50%,#24526b99,transparent 60%),linear-gradient(135deg,#182b3c,#182a31 63%,#243348)}
.tz-map::before{content:"";position:absolute;top:-30%;left:40%;width:55px;height:160%;border-radius:50%;background:#0c466089;transform:rotate(40deg);box-shadow:0 0 0 7px #157a8b20}
.tz-map::after{content:"";position:absolute;left:-18%;top:40%;height:12px;width:140%;transform:rotate(-23deg);border:5px solid #9ba9b41e;border-left:0;border-right:0}
.tz-map-roads{position:absolute;left:-20%;top:55%;width:140%;height:9px;transform:rotate(16deg);background:#b1c0d325;box-shadow:0 34px 0 #b1c0d315}
.tz-map-label{position:absolute;color:#dce7f055;font-size:11px;letter-spacing:2px;font-weight:900}
.tz-map-l1{top:45%;left:40%}.tz-map-l2{top:12%;left:63%}.tz-map-l3{top:75%;left:11%}
.tz-map-pin{width:34px;height:34px;display:grid;place-items:center;position:absolute;transform:translate(-50%,-50%);border:2px solid #b1daff;background:#166df0;color:white;border-radius:50%;z-index:2;box-shadow:0 4px 12px #0006;transition:transform .2s}
.tz-map-pin.selected{transform:translate(-50%,-50%) scale(1.2);background:#02a1ee}
.tz-map-bottom{padding:12px;background:#15202c}
.tz-map-bottom>small{display:block;color:#91acc7;margin:0 0 9px;font-size:11px}
.tz-map-card{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #354c61;background:#1c2b3b;color:white;border-radius:12px;padding:8px}
.tz-map-card img{height:66px;width:75px;object-fit:cover;border-radius:8px}
.tz-map-card span{flex:1;display:grid;gap:4px}.tz-map-card strong{font-size:15px}.tz-map-card b{font-size:13px}.tz-map-card small{font-size:11px;color:#9facbf}
@media(min-width:700px){.bottom-nav{display:none}.tz-detail-page .detail-actions{position:sticky;bottom:0;max-width:none}.tz-detail-body{padding:22px 27px 80px}.tz-detail-page{max-width:800px;margin:0 auto}.tz-gallery{border-radius:20px;overflow:hidden}.tz-map{height:430px}.tz-categories .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content.tz-feed{padding:15px 25px}.searchbar{padding-left:24px;padding-right:24px}}
@media(max-width:375px){.tab{padding:8px 10px}.tz-quick .chip{font-size:11px;padding:7px 10px}.category-grid{gap:8px}.tz-categories .category-card{min-height:113px}.tz-detail-body{padding-left:13px;padding-right:13px}}
/* Screen changes should return to top instantly, not scroll under the sticky header. */
html{scroll-behavior:auto}
/* Keep the selected location accessible without obscuring the other navigation tabs. */
.location-chip{position:sticky;right:0;z-index:2;background:#0b1119;padding-right:7px}

/* v0.4 – Only inner screens upgraded. HOME/Explore grid, colors, header and spacing intentionally untouched. */
.shell-detail .bottom-nav,.shell-chat .bottom-nav,.shell-create .bottom-nav,.shell-edit-profile .bottom-nav,.shell-filters .bottom-nav,.shell-seller-page .bottom-nav{display:none!important}
.shell-detail .main,.shell-chat .main,.shell-create .main,.shell-edit-profile .main,.shell-filters .main,.shell-seller-page .main{padding-bottom:0}
.shell-detail .tz-detail-page .detail-actions{bottom:env(safe-area-inset-bottom)}
.shell-detail .tz-detail-body{padding-bottom:84px}
.shell-chat .chat-compose{bottom:env(safe-area-inset-bottom)}
.tz-icon-tile{height:49px;width:54px;display:grid;place-items:center;margin:0 auto 12px;border-radius:14px;background:linear-gradient(140deg,#123d80,#07589a29);border:1px solid #2975d344;color:#59b7ff}
.tz-category-icon{width:35px;height:35px;filter:drop-shadow(0 2px 10px #1880e83c)}
.tz-categories .category-card{min-height:130px;padding:14px 5px}
.tz-categories .category-name{font-size:12px;white-space:normal}
.tz-detail-page .tz-gallery{background:#0c1119}
.tz-detail-page .tz-hero-media{max-height:430px}
.tz-detail-page .tz-thumbnails{margin:0 0 4px}
.tz-detail-body .tz-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tz-detail-body .tz-seller{background:#141f2b;border:1px solid #293c52;padding:12px;border-radius:14px;gap:10px}
.tz-detail-body .tz-seller .btn{white-space:nowrap}
.tz-selling .owned-actions{flex-wrap:wrap}
.tz-selling .owned-actions .btn{min-width:auto}
.tz-profile-v4{padding-top:10px}
.tz-profile-banner{height:125px;border-radius:16px 16px 0 0;background:linear-gradient(0deg,#0e1728dd,#0e172808),linear-gradient(90deg,#0f1727aa,#0f172710),url('assets/bmw-f30.jpg') center 51% /cover;border:1px solid #233e5f;border-bottom:0}
.tz-profile-v4-head{margin-top:-31px;position:relative;text-align:center;padding:0 12px 15px;background:linear-gradient(180deg,transparent,#0b131d 32%)}
.tz-profile-v4-avatar,.tz-public-avatar{width:76px;height:76px;display:grid;place-items:center;border-radius:50%;margin:auto;background:linear-gradient(140deg,#176be8,#05c7f8);border:4px solid #111c2c;font-size:30px;font-weight:850;box-shadow:0 8px 32px #0b72ff44;color:white}
.tz-profile-v4 h1,.tz-public-seller h1{margin:10px 0 5px;font-size:22px}
.tz-profile-v4-stats,.tz-public-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:320px;margin:20px auto}
.tz-profile-v4-stats div,.tz-public-stats div{display:flex;flex-direction:column;align-items:center;gap:3px}
.tz-profile-v4-stats b,.tz-public-stats b{font-size:19px}.tz-profile-v4-stats span,.tz-public-stats small{font-size:11px;color:#97aac0}
.tz-profile-v4 .tz-profile-edit{max-width:320px}
.tz-profile-switch{display:flex;border-bottom:1px solid #324154;gap:10px;margin:10px 0 17px}
.tz-profile-switch button{background:none;border:0;color:#9cadbf;padding:12px 16px;font-size:13px;font-weight:750}
.tz-profile-switch button.selected{border-bottom:2px solid #287bff;color:#4aabff}
.tz-profile-v4-empty{display:flex;align-items:center;gap:14px;flex-direction:column;padding:25px 12px;border:1px solid #243c59;border-radius:14px;background:#141e2d;text-align:center;margin-bottom:18px}
.tz-profile-v4-empty svg{height:30px;width:30px;color:#54a8ff}
.tz-profile-v4-links{margin-top:16px}
.tz-public-seller{padding-top:10px}
.tz-cover-seller{height:125px;border-radius:15px;background:radial-gradient(ellipse at 70% 0,#117bf352,transparent 58%),linear-gradient(140deg,#152f55,#0b1725)}
.tz-public-head{text-align:center;margin-top:-34px;position:relative;padding:0 13px 8px}
.tz-public-head p{font-size:12px;color:#93a8bf;display:flex;align-items:center;gap:4px;justify-content:center}
.tz-public-stats{grid-template-columns:repeat(2,1fr);max-width:240px}
.tz-public-buttons{display:flex;gap:10px;max-width:350px;margin:10px auto 20px}.tz-public-buttons .btn{flex:1}
.tz-public-grid{padding:0 2px}
.tz-filters-screen{max-width:650px;margin:auto;padding-bottom:95px}
.tz-filters-screen h1{font-size:23px;margin:7px 0}
.tz-filter-group{border-top:1px solid #29394e;padding:20px 0}
.tz-filter-group>small{font-size:11px;color:#8fa8c1;line-height:1.6}
.tz-filter-title{font-size:14px;font-weight:800;margin-bottom:12px;display:flex;justify-content:space-between;gap:12px}
.tz-filter-title b{color:#57acff}
.tz-filter-location{border:1px solid #344b66;border-radius:10px;padding:15px;color:#c7e0fa;background:#151e2b;width:100%;display:flex;align-items:center;gap:8px;text-align:left;margin-bottom:7px}.tz-filter-location svg:last-child{margin-left:auto}
.tz-range{width:100%;accent-color:#1977ff;margin:4px 0 15px}
.tz-select{width:100%;border:1px solid #344b66;border-radius:10px;padding:13px;background:#15202d;color:#fff}
.tz-filter-pills{display:flex;gap:7px}
.tz-filter-pills button{flex:1;background:#1d2938;border:1px solid #304154;color:#cad8ea;padding:12px 6px;border-radius:12px;font-size:12px}
.tz-filter-pills button.selected{background:#1768e9;border-color:#1768e9;color:white}
.tz-filter-actions{display:flex;gap:10px;padding:12px 0 24px;position:sticky;bottom:0;background:#090f17}
.tz-filter-actions .btn{flex:1}
.tz-splash{min-height:calc(100dvh - 4px);display:grid;place-items:center;background:radial-gradient(circle at 52% 27%,#12448e4f,transparent 51%),#070c16;padding:28px}
.tz-splash-inner{width:min(100%,340px);display:grid;justify-items:center;text-align:center;gap:12px}
.tz-splash-inner img{width:min(100%,300px);aspect-ratio:1/1;object-fit:contain;border-radius:20px}
.tz-splash-inner p{font-size:17px;font-weight:650;margin:0 0 28px}
.tz-splash-inner .btn{width:100%}
.tz-splash-inner small{color:#89a6c2;font-size:11px}
@media(min-width:700px){.tz-profile-v4,.tz-public-seller{max-width:770px;margin:auto}.tz-detail-page .detail-actions{bottom:0}}

/* TregZone v0.4.1: profile-only redesign according to approved phone reference. HOME remains byte-for-byte unchanged. */
.tz-profile-v5{width:100%;background:#090e15;min-height:calc(100dvh - var(--navh));overflow:hidden;color:#f5f8ff}
.tz-profile-v5 .tz-profile-cover{height:169px;position:relative;background-image:linear-gradient(180deg,#060c16aa 0%,#09111a00 40%,#08111dde 100%),url('assets/profile-blue-car-cover.jpg');background-size:cover;background-position:center 52%;border-bottom:1px solid #1d354f}
.tz-profile-v5 .tz-profile-back{position:absolute;top:19px;left:17px;display:grid;place-items:center;width:40px;height:40px;background:#0b132080;border:1px solid #ffffff44;border-radius:50%;color:white;backdrop-filter:blur(6px)}
.tz-profile-v5 .tz-profile-content{position:relative;margin-top:-36px;padding:0 18px 24px;background:linear-gradient(180deg,transparent 0,#090e15 41px);text-align:center;max-width:680px;margin-left:auto;margin-right:auto}
.tz-profile-v5 .tz-profile-avatar{height:108px;width:108px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(135deg,#0b6cfa,#0dbffb);border:4px solid #0b111a;box-shadow:0 6px 28px #0009;display:grid;place-items:center;overflow:hidden;color:white;font-size:42px;font-weight:850}
.tz-profile-v5 .tz-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.tz-profile-v5 h1{font-size:26px;font-weight:825;letter-spacing:-.55px;margin:7px 0 2px;color:#fff}
.tz-profile-v5 .tz-profile-user{font-size:12px;color:#8dabc9;margin:0 0 8px}
.tz-profile-v5 .tz-profile-rating{display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 0 8px;color:#b8c3d2;font-size:13px}
.tz-profile-v5 .tz-rating-star{color:#ffc145;font-size:17px;line-height:1}
.tz-profile-v5 .tz-profile-place{display:flex;gap:5px;align-items:center;justify-content:center;font-size:13px;color:#bdc9d9;margin:7px 0 18px}
.tz-profile-v5 .tz-profile-place svg{width:16px;height:16px;color:#b5c4d7}
.tz-profile-v5 .tz-profile-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #1d2633;border-bottom:1px solid #1d2633;padding:13px 0 14px;margin:0 -18px 16px}
.tz-profile-v5 .tz-profile-numbers div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}
.tz-profile-v5 .tz-profile-numbers strong{font-weight:835;font-size:22px;line-height:1.1}
.tz-profile-v5 .tz-profile-numbers span{font-size:12px;color:#8d9aab}
.tz-profile-v5 .tz-profile-controls{display:grid;grid-template-columns:1fr 54px;gap:10px;margin:0 0 22px}
.tz-profile-v5 .tz-profile-edit-btn,.tz-profile-v5 .tz-profile-settings-btn{border:1px solid #263441;color:#fff;background:#1b2632;min-height:50px;border-radius:11px;font-size:15px;font-weight:765;display:flex;align-items:center;justify-content:center}
.tz-profile-v5 .tz-profile-settings-btn svg{height:24px;width:24px}
.tz-profile-v5 .tz-profile-edit-btn:active,.tz-profile-v5 .tz-profile-settings-btn:active{background:#253851}
.tz-profile-v5 .tz-profile-follow-btn{background:linear-gradient(120deg,#165fdd,#3085fc);border-color:#2979e7}
.tz-profile-v5 .tz-profile-section-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-bottom:1px solid #2b394c;margin:0 -18px 16px}
.tz-profile-v5 .tz-profile-section-tabs button{height:49px;border:0;background:transparent;color:#c0c9d6;font-size:15px;font-weight:700;position:relative}
.tz-profile-v5 .tz-profile-section-tabs button.selected{color:#51a7ff}
.tz-profile-v5 .tz-profile-section-tabs button.selected::after{position:absolute;bottom:-1px;left:7%;width:86%;height:3px;border-radius:3px 3px 0 0;background:#2479f9;content:''}
.tz-profile-v5 .tz-profile-listings{gap:12px 9px;text-align:left}
.tz-profile-v5 .tz-profile-listings .listing-card{min-width:0}
.tz-profile-v5 .tz-profile-empty{min-height:178px;border:1px solid #24374b;border-radius:14px;background:#121c29;padding:20px 15px;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column}
.tz-profile-v5 .tz-profile-empty svg{height:29px;width:29px;color:#71b8ff}
.tz-profile-v5 .tz-profile-empty strong{font-size:14px}
.tz-profile-v5 .tz-profile-empty p{font-size:12px;color:#8fa3b9;margin:0 0 6px}
.tz-profile-v5 .tz-profile-empty .btn{font-size:13px}
.tz-profile-v5 .tz-profile-disclaimer{font-size:10px;color:#657d97;text-align:center;margin:18px 0 0}
@media(min-width:700px){.tz-profile-v5 .tz-profile-cover{height:210px}.tz-profile-v5 .tz-profile-content{margin-top:-48px;padding-left:30px;padding-right:30px}.tz-profile-v5 .tz-profile-numbers,.tz-profile-v5 .tz-profile-section-tabs{margin-left:-30px;margin-right:-30px}}

/* v0.4.2 — branded startup and inter-screen loading: outside the Explore layout. */
.tz-loader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse 88% 35% at 80% -10%,#0c3b8e80,transparent 80%),linear-gradient(160deg,#040a14 10%,#071327 54%,#030915 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease;isolation:isolate}
.tz-loader.is-visible{opacity:1;visibility:visible;pointer-events:all}
.tz-loader-halo--top{position:absolute;right:-130px;top:-170px;height:360px;width:410px;border-radius:50%;border:2px solid #065bd3;box-shadow:0 1px 26px #067bfe46,inset 0 0 60px #062559;transform:rotate(-21deg);opacity:.6}
.tz-loader-center{position:relative;z-index:3;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:0;width:min(86vw,360px);transform:translateY(-38px)}
.tz-loader-logo-motion{position:relative;width:min(75vw,315px);aspect-ratio:900/745;animation:tz-drive-bob 1.3s ease-in-out infinite;will-change:transform}
.tz-loader-mark{position:relative;display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 0 20px #0e79fb28);user-select:none}
.tz-loader-speed{position:absolute;left:-5%;height:3px;border-radius:20px;background:linear-gradient(90deg,transparent,#00c8ff 35%,#0481ff 75%,transparent);filter:drop-shadow(0 0 6px #04aaff);z-index:1;animation:tz-speed-rail 1.05s linear infinite}
.tz-loader-speed.speed-one{width:45%;top:55%}
.tz-loader-speed.speed-two{width:37%;top:66%;animation-delay:-.36s}
.tz-loader-speed.speed-three{width:26%;top:75%;animation-delay:-.68s}
.tz-loader-wordmark{width:min(83vw,330px);height:auto;margin-top:10px;mix-blend-mode:screen}
.tz-loader-tagline{color:#d9e8f9;letter-spacing:1.15px;font-size:16px;font-weight:500;margin:6px 0 23px;text-align:center}
.tz-loader-indicator{height:4px;width:min(58vw,230px);border-radius:7px;background:#203451;overflow:hidden;position:relative;box-shadow:0 0 12px #0a8cff22}
.tz-loader-indicator>span{display:block;height:100%;width:35%;background:linear-gradient(90deg,#0655ff,#00d5ff);border-radius:7px;box-shadow:0 0 11px #0ecfff;animation:tz-progress 2.5s ease-in-out infinite}
.tz-loader-message{display:block;color:#96b1d3;font-size:12px;letter-spacing:.2px;margin-top:16px;min-height:1.4em}
.tz-loader-wave{position:absolute;bottom:-3%;left:0;width:100%;height:34%;opacity:.98;z-index:1;filter:drop-shadow(0 -8px 18px #084fe833)}
.tz-loader[data-mode="navigation"]{background:#04122564;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.tz-loader[data-mode="navigation"] .tz-loader-wave,.tz-loader[data-mode="navigation"] .tz-loader-halo{display:none}
.tz-loader[data-mode="navigation"] .tz-loader-center{width:186px;padding:19px 18px 18px;box-sizing:border-box;transform:none;border-radius:23px;border:1px solid #1b426c;background:linear-gradient(160deg,#0b192be9,#09111ef2);box-shadow:0 18px 60px #000b,0 0 35px #005cf121}
.tz-loader[data-mode="navigation"] .tz-loader-logo-motion{width:116px}
.tz-loader[data-mode="navigation"] .tz-loader-wordmark{width:130px;margin-top:3px}
.tz-loader[data-mode="navigation"] .tz-loader-tagline{font-size:9px;letter-spacing:.45px;margin:3px 0 13px}
.tz-loader[data-mode="navigation"] .tz-loader-indicator{height:3px;width:118px}
.tz-loader[data-mode="navigation"] .tz-loader-message{font-size:11px;text-align:center;margin-top:11px;color:#bbd9fa}
.tz-noscript{z-index:2000;position:fixed;bottom:15px;left:8px;right:8px;background:#1b2b40;border:1px solid #287eff;color:#fff;text-align:center;padding:15px;border-radius:10px}
@keyframes tz-drive-bob{0%,100%{transform:translate(0,0)}25%{transform:translate(3px,-3px)}50%{transform:translate(6px,0)}75%{transform:translate(3px,2px)}}
@keyframes tz-speed-rail{0%{transform:translateX(34px) scaleX(.58);opacity:0}22%{opacity:1}75%{opacity:.95}100%{transform:translateX(-60px) scaleX(1.15);opacity:0}}
@keyframes tz-progress{0%{transform:translateX(-115%)}100%{transform:translateX(390%)}}
@media(prefers-reduced-motion:reduce){.tz-loader-logo-motion,.tz-loader-speed,.tz-loader-indicator>span{animation:none!important}.tz-loader-indicator>span{transform:none;width:45%}}

/* v0.5 — navigation loader floats freely over the blurred current screen. */
.tz-loader[data-mode="navigation"]{background:rgba(3,10,23,.42);-webkit-backdrop-filter:blur(14px) brightness(.7);backdrop-filter:blur(14px) brightness(.7)}
.tz-loader[data-mode="navigation"] .tz-loader-center{width:min(76vw,320px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;}
.tz-loader[data-mode="navigation"] .tz-loader-logo-motion{width:min(53vw,208px)}
.tz-loader[data-mode="navigation"] .tz-loader-wordmark{width:min(58vw,225px);margin-top:0}
.tz-loader[data-mode="navigation"] .tz-loader-tagline{font-size:12px;letter-spacing:.65px;margin:4px 0 19px}
.tz-loader[data-mode="navigation"] .tz-loader-indicator{width:min(56vw,205px);height:3px}
.tz-loader[data-mode="navigation"] .tz-loader-message{font-size:13px;margin-top:14px;text-align:center;color:#e2efff}
.tz-notification{display:flex;align-items:center;gap:12px;font-size:13px}
.tz-notification svg:last-child{color:#389afe;margin-left:auto;flex-shrink:0}
.tz-setting-value{color:#fff;font-weight:700;text-align:right}
.tz-setting-value small{display:block;font-weight:400;color:#879cb2;font-size:11px}
.tz-setting-info{display:flex;align-items:start;gap:13px;font-size:13px;line-height:1.5}
.tz-draft-banner{color:#c2e0ff;border:1px solid #2364b2!important;margin-bottom:14px}
.tz-create-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px;margin:16px 0 26px}
.tz-create-actions .btn{min-width:0;font-size:13px}
.tz-distance-city{margin-top:12px;margin-bottom:12px}

/* v0.6: account-first flow; the approved Home / Explore selectors remain untouched. */
.shell-auth{max-width:100%;background:radial-gradient(ellipse at 50% -15%,#0a3975 0%,#070d18 54%,#060a12 100%)}
.shell-auth .main{padding-bottom:0;min-height:100dvh}
.tz-auth-page{min-height:100dvh;position:relative;overflow:hidden;padding:23px 20px max(30px,env(safe-area-inset-bottom));background:linear-gradient(165deg,#07182e 0%,#080d16 37%,#080d16 100%);display:flex;flex-direction:column;align-items:center}
.tz-auth-glow{position:absolute;pointer-events:none;top:-140px;right:-180px;width:400px;height:390px;border:1px solid #144e99;border-radius:50%;box-shadow:0 0 70px #0e5bef25,inset 0 0 100px #0b379a55}
.tz-auth-header{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;margin:6px 0 17px;z-index:1}
.tz-auth-logo{width:112px;height:103px;object-fit:contain;filter:drop-shadow(0 0 15px #0a91ff55)}
.tz-auth-wordmark{width:185px;height:44px;object-fit:contain}
.tz-auth-header p{color:#acc8e4;font-size:12px;letter-spacing:1.1px;margin:0}
.tz-auth-panel{width:min(100%,455px);position:relative;z-index:1;border:1px solid #203853;border-radius:23px;padding:20px 20px 17px;background:linear-gradient(145deg,#101b29e8,#09111cf2);box-shadow:0 20px 75px #0007}
.tz-auth-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;font-weight:780;color:#53a9ff;margin-bottom:9px}
.tz-auth-panel h1{font-size:25px;line-height:1.18;letter-spacing:-.6px;margin:0 0 8px}
.tz-auth-sub{color:#99aec5;font-size:12.5px;line-height:1.48;margin:0 0 16px}
.tz-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#08111d;border:1px solid #283b51;border-radius:12px;padding:4px;margin-bottom:14px}
.tz-auth-tabs button{border:0;background:transparent;border-radius:9px;min-height:36px;font-size:13px;font-weight:750;color:#8fa5bd}
.tz-auth-tabs button.selected{background:#206dea;color:#fff;box-shadow:0 4px 13px #0e55e94b}
.tz-auth-disabled-notice{display:flex;align-items:start;gap:9px;padding:10px 11px;margin-bottom:13px;border:1px solid #205381;background:#0d2a47b2;border-radius:11px;font-size:11.5px;line-height:1.4;color:#bbdbff}
.tz-auth-form{display:grid;gap:10px}
.tz-auth-form label{font-size:12px;font-weight:690;color:#e7f0fe}
.tz-auth-form input{display:block;margin-top:6px;background:#0b1421;border:1px solid #324861;min-height:41px;font-size:13px}
.tz-auth-form input:disabled{opacity:.65;cursor:not-allowed}
.tz-auth-submit{margin-top:3px;min-height:45px}
.tz-auth-separator{display:flex;align-items:center;gap:12px;color:#73869d;font-size:11px;margin:15px 0}
.tz-auth-separator::before,.tz-auth-separator::after{content:'';height:1px;flex:1;background:#304057}
.tz-demo-entry{width:100%;min-height:44px;color:#d5e9ff!important}
.tz-auth-caution{font-size:11px;color:#90a4ba;line-height:1.47;margin:14px 0 0}
.tz-auth-back{border:0;background:transparent;color:#75b5ff;font-size:12px;font-weight:750;display:flex;align-items:center;gap:4px;justify-content:center;margin:13px auto 0;padding:4px}
.tz-account-settings{display:flex;gap:12px;align-items:center;padding:15px}
.tz-account-icon{width:42px;height:42px;border-radius:50%;background:#154a8c;display:grid;place-items:center;flex:none;color:#8dccff}
.tz-account-description{display:flex;flex-direction:column;gap:3px}.tz-account-description strong{font-size:14px}
.tz-account-description small{font-size:11px;color:#9db0c5;line-height:1.5}
.tz-language-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;margin-bottom:10px;background:#141c27;border:1px solid var(--border);border-radius:13px}
.tz-language-setting>div:first-child{display:flex;flex-direction:column;gap:4px}
.tz-language-setting strong{font-size:14px}.tz-language-setting small{color:#93a9c2;font-size:11px}
.tz-language-switch{flex:none;display:flex;gap:4px;background:#0a1220;border-radius:12px;padding:4px;border:1px solid #2c4563}
.tz-language-switch label{position:relative;cursor:pointer}
.tz-language-switch input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.tz-language-switch span{display:grid;place-items:center;width:49px;min-height:35px;border-radius:9px;font-size:12px;font-weight:820;color:#96a9c3}
.tz-language-switch input:checked+span{color:#fff;background:#246ff4;box-shadow:0 3px 10px #1769ff44}
.tz-language-switch input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
@media(min-width:700px){.shell-auth{display:block!important}.tz-auth-page{justify-content:center;padding:30px}.tz-auth-header{margin-top:0}.tz-auth-panel{padding:25px}.tz-auth-logo{width:126px;height:115px}}
@media(max-height:720px){.tz-auth-page{padding-top:8px}.tz-auth-header{margin:2px 0 8px}.tz-auth-logo{width:75px;height:65px}.tz-auth-wordmark{height:30px;width:142px}.tz-auth-panel{padding:14px 15px}.tz-auth-panel h1{font-size:21px}.tz-auth-form{gap:6px}.tz-auth-form input{min-height:34px;padding:8px 10px}.tz-auth-disabled-notice{margin-bottom:8px}}
