/* --- znahodka-5191-bundle.css --- */
/* ZNAHODKA v5.189.0: ordered stylesheet bundle. Existing files retained for old versions. */

/* ---------- Source: style.css ---------- */
:root{--accent:#fa2b3a;--ink:#17191c;--muted:#737b84;--bg:#f4f5f6;--card:#fff;--line:#e3e6e9;--soft:#f7f8f9;--ok:#1a9c62;--bad:#c52d4d;--shadow:0 8px 26px rgba(25,31,38,.07);--radius:14px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.shell{width:min(1260px,calc(100% - 28px));margin:auto}.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.top-in{min-height:66px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;white-space:nowrap}.brand-wordmark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#1b1d20;color:#fff;font-size:12px}.main-nav{display:flex;gap:18px;font-weight:650;color:#4f565e}.main-nav a:hover,.section-in a:hover,.footer a:hover{color:var(--accent)}.top-search{margin-left:auto;display:flex;width:min(360px,34vw);background:#f2f3f4;border:1px solid #ebedef;border-radius:9px;overflow:hidden}.top-search input{flex:1;border:0;background:transparent;padding:10px 12px;outline:0;font:inherit}.top-search button{border:0;background:transparent;padding:0 13px;font-size:20px}.top-actions{display:flex;align-items:center;gap:11px}.action-link{font-weight:700;white-space:nowrap;position:relative}.notif-dot{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border:0;border-radius:9px;padding:11px 16px;font-weight:750;cursor:pointer}.btn.secondary{background:#eef0f2;color:#222}.btn.small{padding:8px 12px}.link-muted{color:var(--muted);font-size:13px}.section-bar{background:#fff}.section-in{display:flex;align-items:center;gap:20px;overflow:auto;white-space:nowrap;height:44px;border-top:1px solid #f5f6f7}.section-in a{font-size:13px;color:#626a73}.section-in .all-link{margin-left:auto;font-weight:800;color:var(--accent)}.main{padding:22px 0 70px}.flashes{padding-top:12px}.flash{padding:12px 14px;border-radius:10px;margin-bottom:8px}.flash.success{background:#eaf9f1;color:#0f7a47}.flash.error{background:#fff0f2;color:#a21e3d}.flash.info{background:#eef5ff;color:#1f5eaa}.portal-intro{display:grid;grid-template-columns:1.8fr 1fr;gap:18px;align-items:end;margin-bottom:22px}.portal-intro h1{font-size:clamp(34px,4vw,54px);line-height:1.02;margin:5px 0 10px;letter-spacing:-.02em}.lead{max-width:780px;font-size:17px;color:#5d6670;margin:0}.quick-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-cards a{display:block;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;box-shadow:var(--shadow)}.quick-cards strong{display:block;font-size:16px}.quick-cards span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.hero-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:18px}.hero{position:relative;min-height:440px;border-radius:18px;overflow:hidden;background:#23262a;color:#fff}.hero img{width:100%;height:100%;object-fit:cover;opacity:.78}.hero .hero-overlay{position:absolute;inset:auto 0 0;padding:30px;background:linear-gradient(transparent,rgba(0,0,0,.9))}.eyebrow{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;color:var(--accent)}.hero h2{font-size:clamp(28px,3.8vw,52px);line-height:1.02;margin:7px 0 10px;max-width:900px;letter-spacing:-.025em}.hero p{font-size:15px;color:#e7eaed;max-width:720px}.side-stack{display:grid;gap:10px}.small-story{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;grid-template-columns:115px 1fr;gap:13px;min-height:135px}.small-story img{width:115px;height:105px;object-fit:cover;border-radius:10px;background:#e9ecef}.small-story h3{margin:4px 0 5px;font-size:18px;line-height:1.18}.meta{color:var(--muted);font-size:12px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:28px 0 12px}.section-head h2{margin:0;font-size:26px;letter-spacing:-.02em}.section-head a{color:var(--accent);font-weight:750}.content-grid{display:grid;grid-template-columns:1.9fr 1fr;gap:20px}.news-list{display:grid;gap:10px}.news-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;grid-template-columns:210px 1fr;gap:15px}.news-card> a:first-child img{width:210px;height:140px;object-fit:cover;border-radius:10px;background:#e9ecef}.news-card h3{margin:4px 0 7px;font-size:20px;line-height:1.22}.news-card p{color:#5b636c;margin:0 0 7px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}.sticky-panel{position:sticky;top:125px}.trend-item{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.trend-item:last-child{border-bottom:0}.trend-num{font-weight:900;color:#b4bac0}.trend-item h4{margin:0;font-size:15px;line-height:1.3}.trend-item small{color:var(--muted);font-size:11px}.article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:var(--shadow)}.article-title{font-size:clamp(34px,5vw,58px);max-width:980px;margin:0 0 12px;line-height:1.03;letter-spacing:-.03em}.article-cover{width:100%;max-height:580px;object-fit:cover;border-radius:14px;margin:22px 0}.article-body{max-width:900px;font-size:18px;line-height:1.75}.article-body p{margin:0 0 1em}.article-body img{border-radius:10px}.comments{margin-top:25px}.comment{border-top:1px solid var(--line);padding:16px 0}.comment-head{display:flex;justify-content:space-between;gap:12px}.comment-text{margin:8px 0}.form{display:grid;gap:12px}.field{display:grid;gap:6px}.field label{font-weight:700;font-size:13px}.field input,.field textarea,.field select{width:100%;border:1px solid #ccd2d8;border-radius:10px;background:#fff;padding:12px 13px;font:inherit;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8e98a3;box-shadow:0 0 0 3px rgba(20,30,40,.06)}textarea{min-height:145px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-hero{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;align-items:center;gap:18px;box-shadow:var(--shadow)}.profile-big{width:76px;height:76px;border-radius:50%;background:#eceff2;display:grid;place-items:center;font-size:26px;font-weight:850}.profile-info h1{margin:0;font-size:30px;line-height:1.05}.profile-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.account-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:18px}.account-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.account-stat{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:#f7f8f9;border:1px solid var(--line);border-radius:11px;padding:14px}.stat b{display:block;font-size:25px;margin-top:5px}.admin-layout{display:grid;grid-template-columns:220px 1fr;gap:18px}.side-nav{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;align-self:start;position:sticky;top:125px}.side-nav a{display:block;padding:10px 11px;border-radius:9px;color:#5b626b;font-weight:650}.side-nav a:hover,.side-nav a.active{background:#f0f2f4;color:#111}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);vertical-align:top}.table th{color:#667079;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#eef1f3}.badge.ok{background:#e7f8ef;color:#0a7d4b}.badge.warn{background:#fff5dd;color:#916700}.badge.bad{background:#fdebee;color:#ad1d3e}.auth-card{max-width:560px;margin:45px auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}.auth-card h1{font-size:34px;margin-top:0}.notice{padding:14px;border-radius:12px;background:#f7f8f9;color:#59616a}.support-fab{position:fixed;right:18px;bottom:18px;z-index:40;display:flex;align-items:center;gap:8px;background:#1b1d20;color:#fff;border-radius:999px;padding:10px 14px;box-shadow:0 12px 28px rgba(0,0,0,.18)}.support-fab span{display:grid;place-items:center;width:25px;height:25px;background:var(--accent);border-radius:50%;font-weight:900}.support-fab b{font-size:13px}.support-list{display:grid;gap:10px}.ticket{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}.ticket h3{margin:0 0 5px}.ticket-meta{font-size:12px;color:var(--muted)}.chat-box{max-height:440px;overflow:auto;padding:4px}.message{max-width:82%;padding:11px 13px;border-radius:12px;margin:8px 0}.message.user{background:#eef1f4;margin-left:auto}.message.admin{background:#fbecef}.message.ai{background:#eef6ff;border:1px solid #d6e6fb}.footer{background:#fff;border-top:1px solid var(--line);padding:28px 0 70px}.footer-in{display:flex;gap:30px;align-items:flex-start;justify-content:space-between}.footer p{color:var(--muted);margin:5px 0}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer small{color:#9aa1a8}.empty{padding:44px;text-align:center;color:var(--muted)}.searchbar{display:flex;gap:8px;margin-bottom:15px}.searchbar input{flex:1}.pager{display:flex;gap:6px;margin-top:16px}.page{padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:#fff}.page.active{background:#1b1d20;color:#fff}.dropzone{border:2px dashed #cdd3d9;border-radius:12px;padding:24px;text-align:center;color:var(--muted)}.cover-preview{max-height:250px;border-radius:10px}.ai-box{border:1px solid #dfe8f5;border-radius:14px;background:#f7fbff;padding:16px}.danger-note{padding:12px;border-radius:11px;background:#fff7e8;border:1px solid #f1d69a;color:#72510d;font-size:13px}@media(max-width:1050px){.portal-intro{grid-template-columns:1fr}.top-search{width:280px}.content-grid{grid-template-columns:1fr}.sticky-panel{position:static}.admin-layout{grid-template-columns:1fr}.side-nav{position:static}.stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.shell{width:calc(100% - 16px)}.top-in{min-height:58px;gap:10px}.main-nav{display:none}.top-search{order:4;width:100%}.top-in{flex-wrap:wrap;padding:8px 0}.top-actions{margin-left:auto}.action-link{font-size:13px}.section-in{height:40px;gap:15px}.hero-grid{grid-template-columns:1fr}.hero{min-height:350px}.small-story{grid-template-columns:92px 1fr}.small-story img{width:92px;height:82px}.news-card{grid-template-columns:1fr}.news-card>a:first-child img{width:100%;height:210px}.account-grid{grid-template-columns:1fr}.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-actions{margin-left:0}.two{grid-template-columns:1fr}.article{padding:20px}.article-body{font-size:16px}.support-fab{right:12px;bottom:12px}.footer-in{flex-direction:column}}@media(max-width:470px){.brand span:last-child{max-width:135px;overflow:hidden;text-overflow:ellipsis}.top-actions .link-muted{display:none}.stats{grid-template-columns:1fr 1fr}.quick-cards{grid-template-columns:1fr}.hero h2{font-size:30px}.article-title{font-size:32px}}
.mobile-nav{display:none}
@media(max-width:760px){.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:45;background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(12px);padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 18px rgba(20,25,30,.06)}.mobile-nav a{text-align:center;font-size:11px;font-weight:750;color:#626a72;padding:5px}.mobile-nav a:hover{color:var(--accent)}.support-fab{bottom:68px}.footer{padding-bottom:112px}}
/* Admin workspace */
.admin-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}
.admin-main{min-width:0}.admin-sidebar{position:sticky;top:114px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow)}
.admin-sidebar-title{padding:10px 11px 8px;color:#929aa2;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.admin-sidebar-nav{display:grid;gap:3px}.admin-sidebar-nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;color:#5d6670;font-weight:700;transition:.18s ease}.admin-sidebar-nav a:hover{background:#f5f6f7;color:#111;transform:translateX(2px)}.admin-sidebar-nav a.active{background:#17191c;color:#fff}.nav-ico{width:24px;height:24px;display:grid;place-items:center;font-size:13px;border-radius:7px;background:#f1f2f3}.admin-sidebar-nav a.active .nav-ico{background:rgba(255,255,255,.14);color:#fff}.admin-sidebar-help{margin-top:10px;padding:12px;border-radius:11px;background:#f6f7f8;display:grid;gap:5px}.admin-sidebar-help strong{font-size:12px}.admin-sidebar-help span{font-size:11px;color:var(--muted);line-height:1.4}
.admin-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.admin-page-head h1{margin:3px 0 6px;font-size:34px;line-height:1.04;letter-spacing:-.03em}.admin-page-head p{margin:0;color:var(--muted)}.admin-head-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.admin-stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px;display:grid;gap:3px;min-height:128px;transition:.18s ease}.admin-stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.admin-stat-card span{font-size:12px;color:#6e7680;font-weight:750}.admin-stat-card strong{font-size:34px;line-height:1}.admin-stat-card small{color:var(--muted)}.admin-stat-card.danger strong{color:var(--accent)}.admin-grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-bottom:14px}.admin-panel{box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h2{margin:4px 0 0;font-size:21px}.quick-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-action-grid a{padding:14px;border:1px solid var(--line);border-radius:11px;background:#fafbfb;display:grid;gap:4px;transition:.18s ease}.quick-action-grid a:hover{background:#fff;transform:translateY(-1px);box-shadow:var(--shadow)}.quick-action-grid b{font-size:14px}.quick-action-grid span{font-size:12px;color:var(--muted);line-height:1.4}.ai-status-card{display:flex;gap:13px;padding:14px;border:1px solid #dfe8f5;background:#f7fbff;border-radius:12px}.ai-orb{width:46px;height:46px;border-radius:12px;background:#17191c;color:#fff;display:grid;place-items:center;font-weight:900;font-size:13px}.ai-status-card strong{font-size:15px}.ai-status-card p{margin:3px 0 8px;color:var(--muted);font-size:13px}.ai-chips{display:flex;gap:6px;flex-wrap:wrap}.ai-chips span{font-size:10px;padding:5px 7px;border-radius:999px;background:#fff;border:1px solid #d9e3ef;color:#536171}.admin-list{display:grid}.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.admin-list-item:last-child{border-bottom:0}.admin-list-item strong{display:block;font-size:13px;line-height:1.35}.admin-list-item span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.admin-list-item>.badge,.admin-list-item>.meta{flex:0 0 auto}.admin-list-item.static{cursor:default}.compact .admin-list-item{padding:9px 0}.health-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px;align-items:center}.health-panel h2{margin:4px 0}.health-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.health-grid a{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafbfb;font-size:12px;display:flex;justify-content:space-between;gap:8px}.health-grid span{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafbfb;font-size:12px;display:flex;justify-content:space-between;gap:8px}.health-grid b{font-weight:800;color:#68717a}
@media(max-width:1000px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;overflow:auto}.admin-sidebar-nav{display:flex;gap:5px;min-width:max-content}.admin-sidebar-title,.admin-sidebar-help{display:none}.admin-grid-2{grid-template-columns:1fr}.admin-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-panel{grid-template-columns:1fr}}
@media(max-width:620px){.admin-page-head{align-items:flex-start;flex-direction:column}.admin-page-head h1{font-size:28px}.admin-stats-grid{grid-template-columns:1fr 1fr}.quick-action-grid{grid-template-columns:1fr}.health-grid{grid-template-columns:1fr}.admin-stat-card{min-height:112px}.admin-stat-card strong{font-size:28px}.admin-shell{gap:10px}.admin-sidebar-nav a{padding:10px}.admin-sidebar{border-radius:12px}.admin-main .panel{padding:14px}}

/* 2.1 portal/admin refinement */
html,body{max-width:100%;overflow-x:hidden}.top-profile-link,.admin-top-link{display:inline-flex;align-items:center;gap:7px;font-weight:750;white-space:nowrap}.admin-top-link{background:#17191c;color:#fff;padding:9px 12px;border-radius:9px}.admin-top-link:hover{background:#30343a}.admin-top-ico,.avatar-mini{display:grid;place-items:center}.avatar-mini{width:28px;height:28px;border-radius:50%;background:#eef0f2;color:#25292e;font-size:12px}.avatar-support{background:#17191c;color:#fff}.admin-brand{display:flex;align-items:center;gap:11px;padding:12px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:8px}.admin-brand-mark{width:38px;height:38px;border-radius:11px;background:#17191c;color:#fff;display:grid;place-items:center;font-weight:900}.admin-brand strong{display:block;font-size:14px}.admin-brand span{display:block;color:var(--muted);font-size:11px;margin-top:2px}.admin-sidebar-nav a{display:flex!important;align-items:center;gap:10px}.admin-sidebar-nav a small{display:block;color:var(--muted);font-size:10px;font-weight:500}.admin-sidebar-nav a.active small,.admin-sidebar-nav a:hover small{color:inherit;opacity:.8}.admin-main{min-width:0}.support-chat-page{max-width:980px;margin:0 auto}.support-chat-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.support-chat-head h1{margin:4px 0 4px;font-size:clamp(32px,4vw,46px);letter-spacing:-.03em}.support-agent{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;box-shadow:var(--shadow)}.support-agent span{display:block;color:var(--muted);font-size:11px}.support-chat-panel{padding:0;overflow:hidden}.support-messages{padding:18px;display:grid;gap:10px;max-height:62vh;overflow:auto;background:linear-gradient(#fafbfc,#f4f5f6)}.message{max-width:min(78%,680px);padding:12px 14px;border-radius:14px;box-shadow:0 1px 0 rgba(0,0,0,.03);border:1px solid var(--line);background:#fff}.message.user{margin-left:auto;background:#17191c;color:#fff;border-color:#17191c;border-bottom-right-radius:5px}.message.admin{margin-right:auto;border-bottom-left-radius:5px}.message-author{font-weight:800;font-size:12px;margin-bottom:5px}.message.user .ticket-meta{color:#bfc4ca}.chat-attachment{display:block;margin-top:8px}.chat-attachment img{max-width:300px;max-height:240px;border-radius:10px}.chat-composer{padding:14px;border-top:1px solid var(--line);background:#fff}.composer-row{display:flex;align-items:flex-end;gap:8px}.composer-row textarea{min-height:44px;max-height:130px;resize:vertical;flex:1;padding:11px 12px}.attach-btn{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:23px;background:#f7f8f9}.attach-btn input{display:none}.guest-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.guest-fields input{border:1px solid #ccd2d8;border-radius:10px;padding:11px;font:inherit}.profile-hero{background:linear-gradient(135deg,#fff,#f5f6f7)}.profile-big{box-shadow:inset 0 0 0 1px #dde1e5}.account-card{box-shadow:var(--shadow)}.admin-sidebar{position:sticky;top:88px}.table-wrap{overflow:auto}.support-list .ticket:hover,.quick-action-grid a:hover,.admin-stat-card:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(20,25,30,.09)}
@media (max-width:900px){.main-nav{display:none}.top-in{gap:10px;min-height:58px}.brand{font-size:17px}.top-search{width:auto;flex:1;min-width:0}.top-actions .link-muted{display:none}.section-in{gap:16px}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;overflow:auto}.admin-sidebar-nav{display:flex;gap:6px;overflow:auto;padding-bottom:4px}.admin-sidebar-nav a{min-width:max-content}.admin-sidebar-help{display:none}.admin-main{width:100%}.support-chat-head{align-items:flex-start;flex-direction:column}.support-agent{width:100%}.support-messages{max-height:58vh}.message{max-width:88%}}
@media (max-width:640px){.shell{width:min(100% - 18px,1260px)}.top-in{flex-wrap:wrap;padding:8px 0}.brand{flex:1}.top-search{order:3;flex-basis:100%;width:100%}.top-actions{gap:6px}.admin-top-link{font-size:12px;padding:8px 9px}.section-bar{overflow:hidden}.section-in{height:40px}.section-in .all-link{margin-left:4px}.hero-grid,.content-grid,.account-grid,.portal-intro{grid-template-columns:1fr}.hero{min-height:330px}.small-story{grid-template-columns:92px 1fr}.small-story img{width:92px;height:84px}.news-card{grid-template-columns:108px 1fr}.news-card>a:first-child img{width:108px;height:80px}.article{padding:20px}.profile-hero{flex-wrap:wrap}.profile-actions{margin-left:0;width:100%}.profile-actions .btn{flex:1}.guest-fields{grid-template-columns:1fr}.composer-row{align-items:stretch}.composer-row .btn{padding:10px 12px}.support-chat-panel{border-radius:12px}.support-messages{padding:12px}.message{max-width:92%}}

.ads-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}.ad-card{position:relative;display:flex;min-height:92px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.ad-card img{width:42%;object-fit:cover}.ad-copy{padding:12px;display:flex;flex-direction:column;justify-content:center;gap:3px}.ad-copy small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.ad-copy strong{font-size:15px;line-height:1.2}@media(max-width:640px){.ads-strip{grid-template-columns:1fr}.ad-card{min-height:78px}.ad-card img{width:34%}}

/* Final release hardening/responsive polish */
html{overflow-x:hidden;scrollbar-gutter:stable}body{overflow-x:hidden;max-width:100%;-webkit-text-size-adjust:100%}img,video,iframe,svg{max-width:100%;height:auto}.main,.shell{min-width:0}.table-wrap{max-width:100%;overscroll-behavior-x:contain}.ads-strip{content-visibility:auto;contain-intrinsic-size:160px}.ad-card{contain:layout paint}.support-messages{overscroll-behavior:contain}.admin-main{min-width:0}.admin-sidebar-nav{scrollbar-width:thin}@media(max-width:480px){.top-in{gap:7px}.brand-wordmark{width:32px;height:32px}.top-actions .link-muted{display:none}.btn{min-height:42px}.field input,.field textarea,.field select{font-size:16px}.ad-card{min-height:76px}.ad-card img{width:32%}}

/* Editorial polish v2.3 */
:root{--accent:#e51f2a;--accent-strong:#c81925;--ink:#171a1f;--muted:#747b84;--line:#e4e7ea;--paper:#fff;--bg:#f4f5f6;--shadow:0 8px 28px rgba(15,20,25,.07)}
body{background:var(--bg);color:var(--ink);overflow-x:clip}.shell{width:min(100% - 28px,1260px);margin-inline:auto}.top{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.top-in{min-height:66px}.brand-wordmark{background:var(--accent)!important;color:#fff!important;border-radius:9px!important}.main-nav a{font-weight:750}.main-nav a:hover,.section-in a:hover{color:var(--accent)}.top-search{border-color:#d9dde2;box-shadow:0 1px 0 rgba(0,0,0,.02)}.top-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(229,31,42,.08)}.btn{background:var(--accent);border-color:var(--accent)}.btn:hover{background:var(--accent-strong);border-color:var(--accent-strong)}.btn.secondary{color:var(--ink);background:#fff;border:1px solid #d8dde2}.eyebrow{color:#7d838a}.portal-intro{padding:22px 0 10px}.portal-intro h1{letter-spacing:-.035em}.hero{border-radius:18px;box-shadow:var(--shadow)}.hero:after{background:linear-gradient(180deg,transparent 34%,rgba(0,0,0,.78))}.small-story,.news-card,.trend-item{border-color:var(--line)}.small-story:hover,.news-card:hover,.trend-item:hover{background:#fff;box-shadow:var(--shadow);transform:translateY(-1px)}.news-card{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.news-card-media{display:block;min-width:0}.more-link{display:inline-block;margin-top:9px;color:var(--accent);font-weight:800;font-size:13px}.more-link:hover{text-decoration:underline}.panel{border-radius:16px}.section-head h2{letter-spacing:-.02em}.source-box{margin-top:24px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ecd0d3;background:#fff7f7;border-radius:14px}.source-box span{color:var(--muted);margin-right:auto}.admin-shell{gap:18px}.admin-sidebar{background:#fff;border-color:var(--line);box-shadow:var(--shadow);border-radius:16px}.admin-sidebar-nav a{border-radius:11px}.admin-sidebar-nav a.active{background:var(--ink);color:#fff}.admin-page-head h1{letter-spacing:-.04em}.admin-stat-card{border-radius:16px}.admin-stat-card.danger{border-color:#f0c6ca}.admin-priority{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}.priority-item{padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow)}.priority-item strong{font-size:22px}.priority-item span{color:var(--muted);font-size:12px;line-height:1.35}.table{min-width:760px}.product-editor .btn{min-height:48px}.product-editor .btn.secondary{margin-top:4px}.table th{background:#f8f9fa;position:sticky;top:0}.support-chat-page{padding-bottom:24px}.support-chat-panel{border-radius:18px}.support-messages{background:linear-gradient(180deg,#f8f9fa,#f1f3f5)}.message{border-radius:16px}.message.user{background:var(--accent);border-color:var(--accent)}.attach-btn{transition:.18s ease}.attach-btn:hover{background:#fff0f1;border-color:#efabb0}.mobile-nav{height:64px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -6px 25px rgba(10,15,20,.06)}.mobile-nav a{font-size:11px}.mobile-nav a:hover{color:var(--accent)}.support-fab{background:var(--accent);box-shadow:0 10px 28px rgba(229,31,42,.28)}
@media(max-width:900px){.admin-priority{grid-template-columns:1fr}.admin-sidebar{box-shadow:none}.main{padding-bottom:78px}.support-fab{right:12px;bottom:78px}.top{position:sticky}.section-bar{overflow:hidden}.section-in{overflow-x:auto;scrollbar-width:none}.section-in::-webkit-scrollbar{display:none}}
@media(max-width:640px){.shell{width:min(100% - 18px,1260px)}.portal-intro{padding-top:14px}.portal-intro h1{font-size:30px}.hero{min-height:290px}.source-box{align-items:flex-start;flex-direction:column}.source-box span{margin-right:0}.source-box .btn{width:100%;text-align:center}.admin-page-head{gap:10px}.admin-stats-grid{gap:8px}.admin-stat-card{padding:14px}.top-in{min-height:58px}.brand-wordmark{width:32px!important;height:32px!important}.top-actions .admin-top-link span:not(.admin-top-ico):not(.notif-dot){display:none}.admin-top-link{padding:9px!important}.support-messages{min-height:46vh;max-height:58vh}.chat-composer{position:sticky;bottom:0}.news-card{grid-template-columns:112px 1fr}.news-card-media img{width:112px;height:84px;object-fit:cover}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.moderation-thumb{width:74px;height:52px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:9px;border:1px solid var(--line)}
.verified-badge{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e51f2a;color:#fff;font-size:13px;font-weight:900;vertical-align:7px;box-shadow:0 0 0 3px #fff}.public-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:28px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);margin:22px 0}.public-profile-avatar{width:88px;height:88px;border-radius:22px;display:grid;place-items:center;background:#171a1f;color:#fff;font-size:34px;font-weight:900}.public-profile-main h1{margin:2px 0 8px;font-size:clamp(30px,4vw,44px);letter-spacing:-.04em}.public-profile-main p{max-width:720px;color:#454b52;margin:10px 0}.profile-metrics{display:flex;gap:20px;margin-top:13px;color:var(--muted);font-size:13px}.profile-metrics b{color:var(--ink);font-size:16px}.public-profile-actions{align-self:center}.follow-btn{min-width:150px}.main-nav a{position:relative}.main-nav a:hover:after{width:100%}.main-nav a:after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:2px;background:var(--accent);transition:width .18s ease}.category-chip{border:1px solid var(--line);border-radius:999px;padding:8px 11px;background:#fff}
@media(max-width:700px){.public-profile-hero{grid-template-columns:auto 1fr;padding:18px;gap:14px}.public-profile-actions{grid-column:1/-1}.public-profile-actions .btn{width:100%}.public-profile-avatar{width:68px;height:68px;border-radius:18px;font-size:26px}.profile-metrics{gap:12px;flex-wrap:wrap}}

/* Release 2.4 UX polish */
.nav-divider{width:1px;height:18px;background:var(--line);margin:0 1px}.nav-avatar{font-size:11px}
.top-search{min-width:260px}.top-search .search-icon{display:grid;place-items:center;width:28px;color:#8b929a}.top-search button{font-size:12px;font-weight:800;padding:0 10px}.admin-top-text{font-size:13px;font-weight:800}.top-profile-link{position:relative}.link-muted:hover{color:var(--accent)}
.auth-card{overflow:hidden}.password-wrap{display:flex;align-items:center;border:1px solid #ccd2d8;border-radius:10px;background:#fff}.password-wrap:focus-within{border-color:#8e98a3;box-shadow:0 0 0 3px rgba(20,30,40,.06)}.password-wrap input{border:0!important;box-shadow:none!important;min-width:0}.password-toggle{border:0;background:#f4f5f6;color:#525960;border-radius:8px;padding:8px 10px;margin-right:4px;cursor:pointer;font-weight:700;font-size:12px}.password-meter{height:5px;background:#eceff1;border-radius:99px;overflow:hidden;margin-top:2px}.password-meter span{display:block;height:100%;width:0;background:var(--accent);transition:width .2s ease}.auth-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.btn-wide{width:100%}.login-tip{display:grid;gap:2px;padding:11px 13px;border:1px solid var(--line);background:#f8f9fa;border-radius:11px;margin-top:12px}.login-tip strong{font-size:12px}.login-tip span{font-size:12px;color:var(--muted)}
.searchbar-advanced{display:grid;grid-template-columns:minmax(260px,1fr) 180px 190px auto;align-items:stretch}.search-main-input{display:flex;align-items:center;background:#fff;border:1px solid #ccd2d8;border-radius:11px;overflow:hidden}.search-main-input span{padding:0 10px;color:#8a9199}.search-main-input input{border:0;outline:0;flex:1;padding:12px 10px;font:inherit;min-width:0}.searchbar-advanced select{min-width:0}.searchbar-advanced .btn{white-space:nowrap}
.mobile-nav{display:none}
.ads-strip{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));contain:layout paint;min-height:0}.ad-card{content-visibility:auto;contain:content;min-width:0}.ad-card img{aspect-ratio:2.5/1}.ad-card .ad-copy{min-width:0}.ad-card .ad-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.update-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#fff4d6;color:#8b6500;font-size:11px;font-weight:850}.admin-update-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;margin:0 0 16px;border:1px solid #f0ddb0;background:#fffbef;border-radius:14px}
@media(max-width:1100px){.main-nav{gap:12px}.main-nav a:nth-of-type(n+6){display:none}.top-search{width:min(330px,30vw)}}
@media(max-width:900px){.top-in{flex-wrap:wrap;padding:9px 0;gap:10px}.brand{font-size:18px}.main-nav{order:3;width:100%;overflow:auto;padding-bottom:2px;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.top-search{order:2;flex:1;width:auto;min-width:0}.top-actions{margin-left:auto}.top-actions .link-muted{display:none}.admin-top-text{display:none}.section-bar{display:none}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:90;height:66px;padding:6px 8px max(6px,env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(15,20,25,.08);justify-content:space-around;backdrop-filter:blur(14px)}.mobile-nav a{position:relative;min-width:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#7a8188;font-weight:700}.mobile-nav a span{display:grid;place-items:center;width:30px;height:26px;font-size:19px;border-radius:9px}.mobile-nav a small{font-size:10px}.mobile-nav a.active,.mobile-nav a:hover{color:var(--ink)}.mobile-nav a.active span{background:#f1f2f4;color:var(--accent)}.mobile-nav i{position:absolute;top:1px;right:10px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center}.main{padding-bottom:94px}.support-fab{bottom:82px!important}.searchbar-advanced{grid-template-columns:1fr 1fr}.search-main-input{grid-column:1/-1}.searchbar-advanced .btn{min-height:44px}.ads-strip{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.shell{width:min(100% - 16px,1260px)}.top-in{min-height:0}.brand span:last-child{max-width:150px;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:6px}.top-search button{display:none}.top-search input{padding:11px 10px}.main-nav a{font-size:13px}.hero{min-height:280px}.hero .hero-overlay{padding:20px}.news-card{grid-template-columns:96px 1fr}.news-card>a:first-child img{width:96px;height:74px}.searchbar-advanced{grid-template-columns:1fr}.searchbar-advanced .search-main-input{grid-column:auto}.searchbar-advanced select,.searchbar-advanced .btn{width:100%}.ads-strip{grid-template-columns:1fr}.auth-card{margin:22px auto;padding:20px}.auth-card h1{font-size:29px}.two{grid-template-columns:1fr}.profile-hero,.public-profile-hero{padding:16px}.admin-priority{grid-template-columns:1fr}.admin-main{padding-bottom:88px}}
/* Search v2 + stable layout */
html,body{max-width:100%;overflow-x:hidden}.main{min-width:0}.search-hero{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:22px;box-shadow:var(--shadow)}.search-hero h1{font-size:clamp(34px,5vw,48px);line-height:1.03;margin:4px 0 6px;letter-spacing:-.035em}.search-hero>p{margin:0 0 18px;color:var(--muted)}.searchbar-pretty{display:block;margin:0}.search-main-input{min-width:0;display:flex;background:#f5f6f7;border:1px solid #dfe3e6;border-radius:12px;overflow:hidden}.search-main-input span{display:grid;place-items:center;width:48px;color:#7c848b;font-size:24px}.search-main-input input{flex:1;min-width:0;border:0;background:transparent;padding:14px 8px;font:inherit;font-size:16px;outline:0}.search-main-input button{border:0;background:var(--ink);color:#fff;padding:0 22px;font-weight:800;cursor:pointer}.search-filters{display:flex;gap:8px;margin-top:10px}.search-filters select{flex:1;min-width:0;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;font:inherit}.search-chips{display:flex;gap:7px;overflow:auto;padding-top:12px;scrollbar-width:none}.search-chips::-webkit-scrollbar{display:none}.category-chip{white-space:nowrap;color:#606870}.category-chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.search-results{gap:12px}.hero-empty{background:linear-gradient(135deg,#202329,#343941)}.hero-empty .hero-overlay{inset:0;display:flex;flex-direction:column;justify-content:flex-end}.news-card-media{min-width:0}.news-card-media img{display:block}@media(max-width:640px){.search-hero{padding:18px}.search-main-input button{padding:0 16px}.search-filters{display:grid;grid-template-columns:1fr}.search-hero h1{font-size:32px}.news-card{grid-template-columns:100px 1fr;gap:12px}.news-card-media img,.news-card>a:first-child img{width:100px;height:78px}.news-card h3{font-size:17px}.news-card p{font-size:13px}.quick-cards{grid-template-columns:1fr}}

/* Final portal polish */
html,body{width:100%;max-width:100%;overflow-x:hidden}.top-in{min-width:0}.main-nav{min-width:0;overflow-x:auto;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.main-nav a{white-space:nowrap}.top-search{flex:0 1 390px}.top-actions{flex:0 0 auto}.section-in{gap:18px}.section-news-active{font-weight:850!important;color:var(--ink)!important;border-bottom:2px solid var(--accent);height:100%;display:flex;align-items:center}.bell-mini{font-size:18px;line-height:1}.admin-top-link{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:800}.top-profile-link{display:none!important}.password-wrap{display:flex;align-items:center;position:relative}.password-wrap input{padding-right:92px}.password-toggle{position:absolute;right:6px;top:5px;bottom:5px;border:0;background:#eef0f2;border-radius:7px;padding:0 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;color:#34393f}.password-toggle:hover{background:#e3e6e9}.auth-card{animation:cardIn .36s ease both}.auth-card .btn-wide{transition:transform .15s ease,box-shadow .15s ease}.auth-card .btn-wide:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(250,43,58,.18)}@keyframes cardIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:900px){.top-in{padding:8px 0}.main-nav{order:2;width:100%;flex-basis:100%;gap:14px}.top-search{order:1;flex:1}.top-actions{order:1}.section-bar{display:block}.section-in{overflow-x:auto}.section-in .all-link{margin-left:0}.top{position:sticky;top:0}.news-card{min-width:0}.news-card h3,.small-story h3{overflow-wrap:anywhere}}
@media(max-width:560px){.top-in{display:grid;grid-template-columns:1fr auto;gap:8px}.brand{min-width:0}.top-search{grid-column:1/-1;width:100%}.main-nav{grid-column:1/-1;order:3}.top-actions{justify-self:end}.top-actions .admin-top-text{display:none}.admin-top-link{padding:8px}.section-bar{display:block}.section-in{height:42px}.section-in a{font-size:12px}.shell{width:calc(100% - 16px)}.search-hero{border-radius:12px}.search-main-input button{padding:0 14px}.article-title{font-size:34px}.article{padding:18px}.footer{padding-bottom:108px}}

/* 2.6 portal UI refinement */
.main-nav a,.section-in a,.mobile-nav a,.top-actions a{transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.main-nav a:hover{transform:translateY(-1px)}.main-nav-home{font-weight:800;color:var(--ink)!important}.section-in{height:46px}.section-in a{padding:0 2px;height:100%;display:flex;align-items:center}.section-in a:hover{color:var(--ink)}.section-news-active{position:relative}.section-news-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent)}.top-search:focus-within{border-color:#cbd0d5;background:#fff;box-shadow:0 0 0 3px rgba(20,30,40,.05)}.top-search button{cursor:pointer;font-size:14px;font-weight:800}.top-actions .link-muted{display:flex;align-items:center;gap:3px}.notif-dot{box-shadow:0 0 0 2px #fff}.news-card,.small-story,.panel,.article,.auth-card,.profile-hero,.account-card{transition:transform .16s ease,box-shadow .16s ease}.news-card:hover,.small-story:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(20,25,30,.08)}
@media(max-width:900px){.section-in{height:42px}.main-nav{padding-bottom:0}.top-search{order:1}.top-actions{order:1}}
/* subscriptions + onliner-like top utility bar */
.top-notify,.top-subscriptions{position:relative;display:inline-flex;align-items:center;gap:5px;font-weight:800;color:#454b52;padding:8px 6px;border-radius:8px;transition:background .15s ease,color .15s ease}.top-notify:hover,.top-subscriptions:hover{background:#f2f3f4;color:var(--ink)}.notify-icon{font-size:18px;line-height:1}.notify-label{font-size:13px}.top-notify .notif-dot{position:absolute;top:1px;right:-2px;margin:0}.top-subscriptions:before{content:'★';font-size:12px;color:#9aa0a6}.subscriptions-page{display:grid;grid-template-columns:1.8fr 1fr;gap:20px}.subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subscription-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:var(--shadow)}.subscription-user{display:flex;align-items:center;gap:11px;min-width:0}.subscription-avatar{width:42px;height:42px;border-radius:50%;background:#eef0f2;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.subscription-user strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subscription-user small{color:var(--muted)}.notification-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;gap:10px}.notification-item.unread{box-shadow:inset 3px 0 0 var(--accent)}
@media(max-width:900px){.top-notify .notify-label{display:none}.top-subscriptions{display:none}.subscriptions-page{grid-template-columns:1fr}.subscription-grid{grid-template-columns:1fr}}

/* PORTAL POLISH v3 */
html,body{width:100%;max-width:100%;overflow-x:hidden}body{min-width:320px}.top{box-shadow:0 1px 0 rgba(20,25,30,.04)}
.main-nav{min-width:0;overflow-x:auto;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.top-search{min-width:190px}.top-actions{gap:7px}
.top-notify-v2{display:inline-flex;align-items:center;gap:8px;position:relative;padding:9px 11px;border:1px solid #e5e8eb;border-radius:11px;background:#fff;color:#2b3035;font-weight:800}.top-notify-v2:hover{background:#f7f8f9;border-color:#d5dae0}.notify-bell{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#f1f2f4;color:#1f2327;font-size:11px}.top-notify-v2 .notif-dot{top:2px;right:3px;box-shadow:0 0 0 3px #fff}.top-subscriptions{display:none!important}
.admin-sidebar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow)}.admin-brand{padding:5px 4px 14px;border-bottom:1px solid var(--line)}.admin-quick{display:grid;gap:7px;padding:12px 0}.admin-quick a{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafbfb;font-weight:800}.admin-quick a span{color:var(--accent)}.admin-sidebar-nav{gap:4px}.admin-sidebar-nav a{border-radius:11px}.admin-sidebar-nav a.active{box-shadow:inset 3px 0 0 var(--accent);background:#f4f5f6}
.news-card,.small-story,.panel,.article,.profile-hero,.account-card{min-width:0}.table-wrap,.admin-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}img,video,iframe{max-width:100%}
.mobile-nav{display:none}
@media(max-width:900px){.top-in{display:grid;grid-template-columns:auto minmax(0,1fr);padding:8px 0}.main-nav{grid-column:1/-1;order:4}.top-search{grid-column:1/-1;order:3;width:100%}.top-actions{justify-content:flex-end}.top-notify-v2 .notify-label{display:none}.top-notify-v2{padding:8px}.section-bar{display:block}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:sticky;top:70px;z-index:30;overflow-x:auto}.admin-sidebar-nav{display:flex;overflow-x:auto;scrollbar-width:none}.admin-sidebar-nav::-webkit-scrollbar{display:none}.admin-sidebar-nav a{min-width:max-content}.admin-quick,.admin-sidebar-help{display:none}.admin-brand{display:none}.mobile-nav{display:flex;position:fixed;left:6px;right:6px;bottom:6px;z-index:90;height:68px;border:1px solid var(--line);border-radius:18px;padding:6px 8px max(6px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);box-shadow:0 14px 34px rgba(22,28,34,.16);justify-content:space-around;backdrop-filter:blur(16px)}.mobile-nav a{position:relative;min-width:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:12px;color:#70777e;font-weight:800}.mobile-nav a span{font-size:18px;line-height:1}.mobile-nav a small{font-size:9px}.mobile-nav a:hover,.mobile-nav a:focus{background:#f3f4f5;color:var(--ink)}.mobile-nav i{position:absolute;top:4px;right:7px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--accent);color:#fff;font-size:8px;font-style:normal;display:grid;place-items:center}.main{padding-bottom:102px}.support-fab{bottom:86px!important}}
@media(max-width:560px){.shell{width:calc(100% - 14px)}.brand{font-size:17px}.section-in{gap:16px}.section-in a{font-size:12px}.hero-grid,.content-grid{grid-template-columns:1fr}.hero{min-height:320px}.news-card{grid-template-columns:96px 1fr}.news-card>a:first-child img{width:96px;height:74px}.admin-stats-grid{grid-template-columns:1fr 1fr}.mobile-nav a{min-width:43px}.mobile-nav a small{font-size:8px}.support-fab{right:12px!important}}
@media(max-width:380px){.admin-stats-grid{grid-template-columns:1fr}.mobile-nav a{min-width:39px}.mobile-nav a small{font-size:7px}.support-fab b{display:none}.support-fab{width:48px;height:48px;padding:0;display:grid;place-items:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Site logo upload / image wordmark */
.site-logo-image{display:block;width:auto;max-width:220px;height:38px;object-fit:contain;object-position:left center}.site-logo-preview{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafbfb;margin-bottom:10px}.site-logo-preview img{display:block;max-width:220px;max-height:64px;width:auto;height:auto;border-radius:8px;object-fit:contain}.site-logo-preview .meta{display:block}.site-logo-placeholder{display:flex;align-items:center;gap:10px}.site-logo-placeholder>span{width:44px;height:44px;border-radius:10px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:900;font-size:18px}.checkline{display:flex!important;align-items:center;gap:8px;margin-top:9px!important}.checkline input{width:auto!important}.brand{min-width:0}.brand>span:last-child{min-width:0}.brand:has(.site-logo-image){gap:0}.brand:has(.site-logo-image) .site-logo-image{max-width:min(220px,32vw)}
@media(max-width:560px){.site-logo-image{max-width:150px;height:32px}.brand:has(.site-logo-image) .site-logo-image{max-width:150px}}

/* Support polish */
.support-chat-page{max-width:1080px;margin:0 auto}.support-chat-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.support-chat-head h1{margin:2px 0 4px;font-size:clamp(28px,4vw,42px);letter-spacing:-.02em}.support-agent{display:flex;align-items:center;gap:10px;flex:0 0 auto}.support-agent strong{display:block}.support-agent span{display:block;color:var(--muted);font-size:12px}.avatar-mini{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:900}.avatar-support{background:#fbecef;color:#c52237}.support-chat-panel{padding:0;overflow:hidden}.support-messages{padding:18px;max-height:none;min-height:360px;background:linear-gradient(#fbfcfc,#f7f8f9)}.message{position:relative;max-width:78%;box-shadow:0 3px 12px rgba(25,31,38,.05)}.message.user{border:1px solid #e2e6ea;background:#fff;border-top-right-radius:4px}.message.admin{border:1px solid #f2cfd5;background:#fff8f9;border-top-left-radius:4px}.chat-composer{padding:14px;border-top:1px solid var(--line);background:#fff}.composer-row{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:end}.composer-row textarea{min-height:44px;max-height:140px;resize:vertical;border:1px solid #d6dbe0;border-radius:12px;padding:11px 12px}.attach-btn{width:44px;height:44px;border:1px solid #dfe3e7;background:#f7f8f9;border-radius:12px;display:grid;place-items:center;font-size:22px;cursor:pointer;position:relative}.attach-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.support-contacts{margin:0 0 12px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;background:#fff;border-color:#dfe4e8}.support-contacts-title{display:flex;gap:10px;align-items:flex-start;min-width:190px}.contacts-icon{width:34px;height:34px;border-radius:10px;background:#f0f2f4;display:grid;place-items:center;font-weight:900}.support-contacts-text{white-space:normal;color:#4e565e;line-height:1.55}@media(max-width:700px){.support-chat-head{align-items:flex-start;flex-direction:column}.support-agent{width:100%;padding:10px 0}.message{max-width:90%}.support-contacts{display:block}.support-contacts-title{margin-bottom:10px;min-width:0}.composer-row{grid-template-columns:auto 1fr}.composer-row .btn{grid-column:1/-1;width:100%}.support-messages{padding:12px}}

/* UX polish: loader, connectivity, install prompt, active category line */
.section-in a.section-news-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent)}
.site-loader{position:fixed;inset:0;z-index:9999;background:rgba(255,255,255,.94);display:grid;place-items:center;transition:opacity .25s ease,visibility .25s ease}.site-loader.is-hidden{opacity:0;visibility:hidden}.site-loader-card{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 16px 45px rgba(20,25,30,.12)}.site-loader-mark{width:38px;height:38px;border-radius:11px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:900}.site-loader-spinner{width:22px;height:22px;border:3px solid #e6e9ec;border-top-color:#252a2f;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.connection-warning{position:fixed;left:50%;top:12px;transform:translateX(-50%);z-index:120;display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100% - 24px));padding:10px 14px;border:1px solid #f0d7db;border-radius:12px;background:#fff8f9;box-shadow:0 10px 28px rgba(20,25,30,.12);color:#4b3035}.connection-warning-icon{width:26px;height:26px;border-radius:8px;background:#f6d9de;color:#a21d31;display:grid;place-items:center;font-weight:900}.connection-warning strong,.connection-warning span{display:block}.connection-warning span{font-size:12px;color:#76666a;margin-top:2px}
.install-app-banner{position:fixed;left:16px;right:16px;bottom:18px;z-index:110;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 48px rgba(20,25,30,.18)}.install-app-banner strong,.install-app-banner span{display:block}.install-app-banner span{font-size:12px;color:var(--muted);margin-top:3px}.install-close{border:0;background:transparent;font-size:22px;color:#7c838a;cursor:pointer}@media(max-width:600px){.install-app-banner{left:8px;right:8px;bottom:82px}.connection-warning{top:8px}.connection-warning span{max-width:260px}}
body{overscroll-behavior-x:none} .shell{max-width:1180px} .main-nav,.section-in{scroll-behavior:smooth}

/* 2.8 portal refinement */
html,body{max-width:100%;overflow-x:hidden}.top-search{flex:0 1 390px;min-width:0}.top-search input{min-width:0}.section-in{-webkit-overflow-scrolling:touch;scrollbar-width:none}.section-in::-webkit-scrollbar{display:none}.section-in a{position:relative;padding:12px 0;transition:color .18s ease,transform .18s ease}.section-in a:active{transform:translateY(1px)}
.section-news-active{color:var(--ink)!important;font-weight:850}.section-news-active:after{content:"";position:absolute;left:0;right:0;bottom:5px;height:3px;border-radius:99px;background:var(--accent);animation:sectionSlide .22s ease both}@keyframes sectionSlide{from{transform:scaleX(.25);opacity:.2}to{transform:scaleX(1);opacity:1}}
.portal-rail{margin:28px 0}.portal-rail-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.portal-rail-head h2{margin:0;font-size:26px;letter-spacing:-.02em}.portal-rail-head a{color:var(--accent);font-weight:800}.portal-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.portal-category{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;min-height:86px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.portal-category strong,.portal-category span{display:block}.portal-category strong{font-size:17px}.portal-category span{margin-top:4px;color:var(--muted);font-size:12px}.portal-category b{position:absolute;right:15px;bottom:13px;color:#aeb4ba;transition:transform .18s ease,color .18s ease}.portal-category:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,25,30,.09);border-color:#d7dbe0}.portal-category:hover b{transform:translateX(3px);color:var(--accent)}.feature-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.feature-tile{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.feature-tile img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#eceff1}.feature-tile>div{padding:12px}.feature-tile strong{display:block;font-size:15px;line-height:1.25;margin:4px 0 7px}.feature-tile span{font-size:11px;color:var(--muted)}.feature-tile:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,25,30,.09)}
.mobile-nav{position:fixed!important;left:50%!important;right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;transform:translateX(-50%);width:min(760px,calc(100% - 18px));height:66px;padding:7px 9px!important;display:flex;align-items:stretch;justify-content:space-between;gap:4px;background:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:22px!important;box-shadow:0 18px 48px rgba(20,25,30,.18),0 2px 8px rgba(20,25,30,.08)!important;backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);z-index:100}.mobile-nav a{position:relative;flex:1;min-width:0;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#6d747c;transition:transform .16s ease,background .18s ease,color .18s ease}.mobile-nav a span{font-size:19px;line-height:1;transition:transform .16s ease}.mobile-nav a small{font-size:9px;font-weight:800;white-space:nowrap}.mobile-nav a:hover{background:rgba(244,245,247,.8);color:#1d2024}.mobile-nav a:active{transform:scale(.93)}.mobile-nav a:active span{transform:scale(.88)}.mobile-nav a.is-active{background:rgba(27,29,32,.94);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 5px 14px rgba(27,29,32,.2)}.mobile-nav a.is-active span{transform:translateY(-1px)}.mobile-notify i{position:absolute;right:24%;top:7px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:9px;font-style:normal;border:2px solid rgba(255,255,255,.8)}.support-fab{bottom:88px!important;transition:transform .18s ease,box-shadow .18s ease}.support-fab:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.2)}
.subscription-summary{display:flex;align-items:center;justify-content:flex-end;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}.subscription-summary strong{display:block;font-size:26px;line-height:1}.subscription-summary span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.subscription-tools{display:flex;align-items:center;gap:10px;margin:0 0 12px}.subscription-tools input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 13px;font:inherit;outline:0}.subscription-tools input:focus{border-color:#bbc2c9;box-shadow:0 0 0 3px rgba(20,25,30,.05)}.subscription-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recommendation-card{min-height:78px}.subscription-card .follow-btn{white-space:nowrap}.site-loader{background:rgba(255,255,255,.9)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
@media(max-width:1050px){.main-nav{gap:12px}.portal-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-row{grid-template-columns:repeat(2,minmax(0,1fr))}.top-search{width:300px}}@media(max-width:780px){.top-in{min-height:58px;gap:8px}.brand{font-size:17px}.brand-wordmark{width:31px;height:31px}.main-nav{display:none}.top-search{order:3;width:100%;flex-basis:100%;margin:0}.top-in{flex-wrap:wrap;padding:8px 0}.top-actions{margin-left:auto}.section-in{height:40px;gap:17px}.section-in a{font-size:12px;padding:10px 0}.main{padding-top:16px}.portal-intro{grid-template-columns:1fr;gap:12px}.portal-intro h1{font-size:36px}.hero-grid{grid-template-columns:1fr}.hero{min-height:360px}.content-grid{grid-template-columns:1fr}.portal-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-summary{justify-content:space-between}.subscriptions-page{grid-template-columns:1fr}.subscription-recommendations{grid-template-columns:1fr}.support-fab b{display:none}.support-fab{width:48px;height:48px;justify-content:center;padding:0;right:12px}.footer{padding-bottom:98px}.footer-in{display:grid;gap:14px}.footer-links{gap:10px}.searchbar{flex-direction:column}.article{padding:20px}.news-card{grid-template-columns:150px 1fr}.news-card> a:first-child img{width:150px;height:105px}.small-story{grid-template-columns:95px 1fr}.small-story img{width:95px;height:85px}}@media(max-width:520px){.shell{width:min(100% - 18px,1180px)}.top-in{padding:8px 0}.top-actions .admin-top-text{display:none}.top-search button{font-size:17px}.portal-category-grid{grid-template-columns:1fr 1fr;gap:8px}.portal-category{padding:13px;min-height:78px}.portal-category strong{font-size:15px}.feature-row{grid-template-columns:1fr 1fr}.feature-tile strong{font-size:14px}.hero{min-height:300px;border-radius:14px}.hero .hero-overlay{padding:18px}.hero h2{font-size:28px}.news-card{grid-template-columns:1fr;gap:10px}.news-card> a:first-child img{width:100%;height:auto;aspect-ratio:16/10}.mobile-nav{height:62px;border-radius:20px!important;padding:6px!important}.mobile-nav a small{font-size:8px}.mobile-nav a span{font-size:18px}.mobile-notify i{right:18%;top:5px}.subscription-tools{display:block}.subscription-tools .meta{display:block;margin-top:5px}.profile-hero{flex-wrap:wrap}.profile-actions{margin-left:0;width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}

/* 2.9 search/account polish */
.search-portal{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 24px 18px;box-shadow:var(--shadow);margin-bottom:24px}.search-portal h1{margin:4px 0 8px;font-size:clamp(30px,4vw,44px);letter-spacing:-.035em}.portal-search-form{margin:18px 0 14px}.portal-search-box{display:flex;gap:8px;align-items:center;background:#f2f3f4;border:1px solid #e5e8eb;border-radius:12px;padding:5px}.portal-search-box>span{width:34px;text-align:center;color:#7f8790;font-size:24px}.portal-search-box input{flex:1;min-width:0;border:0;background:transparent;outline:0;padding:11px 8px;font:inherit}.portal-search-box .btn{min-width:92px}.search-tabs{display:flex;gap:4px;overflow:auto;scrollbar-width:none;margin-bottom:12px}.search-tabs::-webkit-scrollbar{display:none}.search-tabs a{padding:9px 13px;border-radius:9px;color:#69717a;font-weight:750;white-space:nowrap}.search-tabs a span{margin-left:4px;color:#a1a7ad;font-size:12px}.search-tabs a.active{background:#17191c;color:#fff}.search-tools{display:flex;align-items:center;gap:8px}.search-tools select{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 11px;font:inherit}.search-tools a{margin-left:auto;color:var(--accent);font-weight:750}.search-block{margin:0 0 28px}.account-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-search-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;transition:transform .16s ease,box-shadow .16s ease}.account-search-card:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(20,25,30,.08)}.account-search-card strong{font-size:16px}.account-search-card p{margin:5px 0 0;color:#616970;font-size:13px}.public-profile-avatar.small{width:52px;height:52px;border-radius:16px;font-size:22px}.auth-lead{max-width:600px}.profile-hero,.account-card{overflow:hidden}.profile-info h1{letter-spacing:-.035em}.profile-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.search-portal{padding:18px}.portal-search-box{padding:4px}.portal-search-box .btn{min-width:76px;padding-left:12px;padding-right:12px}.search-tools{display:grid;grid-template-columns:1fr 1fr}.search-tools a{margin-left:0;grid-column:1/-1}.account-search-grid{grid-template-columns:1fr}}

/* Support conversation + admin workspace refresh */
.support-admin-grid{display:grid;grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:16px;align-items:start}.support-inbox,.support-admin-conversation{padding:0;overflow:hidden}.support-inbox-title{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid var(--line)}.support-ticket-list{display:grid}.support-ticket-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #edf0f2;color:inherit;transition:background .16s ease,transform .16s ease}.support-ticket-row:hover{background:#f6f7f8}.support-ticket-row.is-active{background:#f1f2f3;box-shadow:inset 3px 0 var(--accent)}.support-ticket-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef0f2;font-weight:900}.support-ticket-body{min-width:0;display:grid;gap:2px}.support-ticket-body strong,.support-ticket-body span,.support-ticket-body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-ticket-body span{font-size:13px}.support-ticket-body small{font-size:10px;color:var(--muted)}.support-ticket-row time{font-size:10px;color:var(--muted);white-space:nowrap}.support-conv-header{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px;border-bottom:1px solid var(--line)}.support-conv-header h2{margin:3px 0}.admin-chat-scroll{height:min(62vh,680px);overflow:auto;padding:18px;display:grid;gap:10px;background:linear-gradient(#fafbfc,#f3f5f6)}.admin-chat-message{max-width:min(78%,680px);padding:11px 13px;border-radius:14px;border:1px solid var(--line);background:#fff;box-shadow:0 3px 14px rgba(25,30,35,.04)}.admin-chat-message.from-user{margin-left:auto;background:#17191c;color:#fff;border-color:#17191c;border-bottom-right-radius:5px}.admin-chat-message.from-support{margin-right:auto;border-bottom-left-radius:5px}.admin-chat-author{font-weight:850;font-size:12px;margin-bottom:4px}.admin-chat-text{line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.admin-chat-message.from-user .ticket-meta{color:#b9bec4}.admin-composer{padding:13px;border-top:1px solid var(--line)}.admin-composer textarea{width:100%;min-height:76px;max-height:220px;resize:vertical;padding:12px 13px;border:1px solid #cfd5da;border-radius:12px;font:inherit;line-height:1.45;display:block}.composer-tools{display:flex;align-items:center;gap:10px;margin-top:9px}.composer-tools .btn{margin-left:auto}.support-status-form{display:flex;align-items:center;gap:10px;padding:10px 13px;border-top:1px solid var(--line);background:#fbfcfc}.support-status-form label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.support-status-form select{min-height:36px}.support-empty-state{min-height:540px;display:grid;place-items:center;text-align:center;padding:40px}.support-empty-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#f0f2f4;font-size:24px;margin:0 auto 12px}.admin-sidebar-status{display:flex;align-items:flex-start;gap:9px;margin:10px 0;padding:11px 12px;border-radius:11px;background:#f6f8f7;border:1px solid #e6ebe8}.admin-sidebar-status strong{display:block;font-size:11px}.admin-sidebar-status small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:2px}.status-dot{width:8px;height:8px;flex:0 0 8px;margin-top:4px;border-radius:50%;background:#2c9b63;box-shadow:0 0 0 4px rgba(44,155,99,.1)}.admin-log-table pre{max-width:360px;white-space:pre-wrap;overflow:auto;font-size:10px}.user-detail-hero{display:flex;gap:18px;align-items:flex-start;padding:20px;margin-bottom:16px}.detail-avatar{width:74px;height:74px;border-radius:20px;display:grid;place-items:center;background:#17191c;color:#fff;font-size:30px;font-weight:900;flex:0 0 74px}.detail-main{min-width:0;flex:1}.detail-grid{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px;margin-top:14px}.detail-grid>div{padding:11px;border:1px solid #e5e9ec;border-radius:11px;background:#fafbfb}.detail-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.detail-grid strong{font-size:12px;overflow-wrap:anywhere}.inline-form{display:flex;align-items:center;gap:8px}.log-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
@media(max-width:1050px){.support-admin-grid{grid-template-columns:1fr}.admin-chat-scroll{height:52vh}.detail-grid{grid-template-columns:repeat(3,minmax(110px,1fr))}}
@media(max-width:620px){.support-admin-grid{display:block}.support-inbox{margin-bottom:10px}.support-ticket-row{grid-template-columns:34px minmax(0,1fr)}.support-ticket-row time{display:none}.support-conv-header{align-items:flex-start;flex-direction:column}.admin-chat-scroll{height:52vh;padding:12px}.admin-chat-message{max-width:90%}.composer-tools{flex-wrap:wrap}.composer-tools .btn{width:100%;margin-left:0}.support-status-form{align-items:stretch;flex-wrap:wrap}.support-status-form label{width:100%;justify-content:space-between}.user-detail-hero{padding:14px}.detail-grid{grid-template-columns:1fr 1fr}.log-tools{align-items:stretch;flex-direction:column}.inline-form{width:100%}.inline-form select{flex:1}}
.admin-editor-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:16px;align-items:start}.editor-side{position:sticky;top:90px}.editor-checks{margin:12px 0 18px;padding-left:19px;color:#535c65}.editor-checks li{margin:9px 0}.check-row{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fafbfb;cursor:pointer}.check-row input{margin-top:3px}.check-row strong,.check-row small{display:block}.check-row small{color:var(--muted);font-size:11px;margin-top:2px}.admin-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.admin-sidebar-nav a:nth-child(2){margin-bottom:4px}.admin-sidebar-nav a[href="news_create.php"]{border:1px dashed #d7dce1;background:#fafbfc;margin-bottom:5px}.admin-sidebar-nav a[href="news_create.php"] .nav-ico{background:#17191c;color:#fff;border-radius:8px;padding:3px 7px}@media(max-width:900px){.admin-editor-layout{grid-template-columns:1fr}.editor-side{position:static}}@media(max-width:620px){.admin-form-actions{display:grid;grid-template-columns:1fr}.admin-form-actions .btn{width:100%}}

.admin-nav-create{display:flex;gap:9px;align-items:flex-start;padding:11px 12px;border:1px solid #dfe4e8;border-radius:11px;background:#fafbfc;margin:0 0 6px;color:#1b1e22}.admin-nav-create:hover,.admin-nav-create.active{background:#f1f2f3;border-color:#d4d9de}.admin-nav-create .nav-ico{font-size:16px;font-weight:900}

/* Final polish: support readability, section avatars, admin isolation, and touch feedback */
.admin-body .top,.admin-body .section-bar,.admin-body .footer,.admin-body .mobile-nav,.admin-body .support-fab{display:none!important}
.admin-body .main{padding-top:22px;max-width:1440px}
.admin-body{background:#eef0f2}
.section-in a{display:inline-flex;align-items:center;gap:6px}
.section-avatar{width:22px;height:22px;border-radius:7px;object-fit:cover;vertical-align:middle;background:#e9ecef}
.support-messages{color:var(--ink)}
.message .message-body{color:var(--ink);font-size:15px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
.message.user .message-body{color:#fff}
.message.admin .message-body{color:#2d3338}
.support-ai-card{margin-top:14px;border-color:#dfe6ef;background:linear-gradient(180deg,#fff,#f8fbff)}
.support-ai-card h2{margin:4px 0 7px}
.btn,.attach-btn,.mobile-nav a,.admin-sidebar-nav a{transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}
.btn:active,.attach-btn:active,.mobile-nav a:active,.admin-sidebar-nav a:active{transform:scale(.97)}
@media(max-width:900px){.admin-body .main{width:min(100% - 18px,1260px)}}
@media(max-width:620px){.admin-body .main{padding-top:12px}.section-avatar{width:20px;height:20px}.message{max-width:94%}}

/* 4.1 bugfixes */
.table-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.table-actions form{margin:0}.preset-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.message.user{background:#17191c!important;color:#fff!important}.message.user .message-body{color:#fff!important}.message.admin{background:#fff!important;color:#20262b!important;border:1px solid #dfe4e8!important}.message.admin .message-body{color:#20262b!important}.admin-chat-message.from-user{background:#17191c!important;color:#fff!important}.admin-chat-message.from-user .admin-chat-text{color:#fff!important}.admin-chat-message.from-support{background:#fff!important;color:#20262b!important}.admin-chat-message.from-support .admin-chat-text{color:#20262b!important}.admin-main .form textarea{line-height:1.5}.ad-builder .field{min-width:0}@media(max-width:760px){.table-actions{display:grid;grid-template-columns:1fr}.table-actions>*{width:100%}.preset-row .btn{flex:1;min-width:100px}.admin-main .table-wrap{overflow-x:auto}}

/* 4.2 responsive admin workspace */
.admin-menu-toggle,.admin-drawer-close,.admin-drawer-backdrop{display:none}
.ai-admin-panel{background:linear-gradient(180deg,#fff,#f7fbff);border-color:#dce8f5}
.support-composer-preview{display:flex;align-items:center;gap:8px;min-height:20px}
@media(max-width:900px){
 .admin-menu-toggle{display:flex;align-items:center;gap:9px;position:sticky;top:70px;z-index:61;margin:8px 0;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:#17191c;color:#fff;font:700 14px inherit;box-shadow:0 10px 25px rgba(20,25,30,.12)}
 .admin-sidebar{position:fixed!important;left:0;top:0;bottom:0;width:min(320px,88vw);z-index:100;overflow-y:auto;overflow-x:hidden;border-radius:0 18px 18px 0;transform:translateX(-105%);transition:transform .22s ease;box-shadow:18px 0 50px rgba(0,0,0,.18)}
 .admin-sidebar-nav{display:grid!important;min-width:0!important;overflow:visible!important}
 .admin-sidebar-nav a{min-width:0!important}
 .admin-brand,.admin-quick{display:flex!important}
 .admin-quick{display:grid!important}
 .admin-sidebar-help{display:grid!important}
 .admin-drawer-close{display:grid;position:absolute;top:12px;right:12px;width:36px;height:36px;place-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:24px;cursor:pointer}
 .admin-drawer-backdrop{position:fixed;inset:0;z-index:95;background:rgba(14,18,22,.45);backdrop-filter:blur(2px)}
 body.admin-menu-open{overflow:hidden}
 body.admin-menu-open .admin-sidebar{transform:translateX(0)}
 body.admin-menu-open .admin-drawer-backdrop{display:block}
 .admin-shell{display:block}
 .admin-main{width:100%}
}
@media(min-width:901px){.admin-sidebar{position:sticky;top:88px}.admin-shell{grid-template-columns:250px minmax(0,1fr)}}

/* 4.3 Portal refinement — dense editorial marketplace/news layout */
.subscription-card{min-width:0;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.subscription-card:hover{transform:translateY(-1px);border-color:#cfd5da;box-shadow:0 12px 30px rgba(22,28,34,.09)}
.subscription-user{flex:1;min-width:0}
.subscription-user>span:last-child{min-width:0}
.subscription-avatar{overflow:hidden;border:1px solid #e1e5e8;background:#f0f2f4;font-size:15px}
.subscription-avatar img{width:100%;height:100%;object-fit:cover}
.public-profile-avatar,.profile-big{overflow:hidden;position:relative}
.public-profile-avatar img,.profile-big img{width:100%;height:100%;object-fit:cover;display:block}
.public-profile-main{min-width:0}
.public-profile-main h1{overflow-wrap:anywhere}
.subscriptions-intro{margin-bottom:16px}
.subscription-summary{align-items:center}
.subscription-summary>div{min-width:70px}
/* Editorial hierarchy */
.top{box-shadow:0 1px 0 rgba(23,25,28,.02)}
.main-nav a{font-size:13px}
.section-bar{box-shadow:0 1px 0 #f1f3f4 inset}
.hero-grid{align-items:stretch}
.hero{box-shadow:0 10px 32px rgba(23,26,30,.12)}
.news-card{transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease}
.news-card:hover{border-color:#d3d8dc;box-shadow:0 10px 24px rgba(23,28,33,.07);transform:translateY(-1px)}
.panel,.quick-cards a,.account-card{box-shadow:0 5px 18px rgba(23,28,33,.045)}
.portal-category{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.portal-category:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(23,28,33,.07);border-color:#d1d7db}
@media(max-width:780px){
 .subscriptions-intro{display:block}
 .subscriptions-intro h1{font-size:34px}
 .subscription-summary{margin-top:12px}
 .subscription-grid,.subscription-recommendations{grid-template-columns:1fr}
 .subscription-card{padding:12px;align-items:center}
 .subscription-card .btn{padding:9px 11px}
 .subscription-tools{margin-bottom:10px}
 .subscription-tools input{min-height:44px}
 .public-profile-hero{padding:16px;display:grid;grid-template-columns:auto 1fr;gap:12px}
 .public-profile-actions{grid-column:1/-1;width:100%}
 .public-profile-actions .btn{width:100%}
}
@media(max-width:520px){
 .subscription-avatar{width:44px;height:44px}
 .subscription-user strong{font-size:14px}
 .subscription-card{gap:8px}
 .subscription-card .btn{font-size:12px}
 .profile-big,.public-profile-avatar{width:64px;height:64px}
 .profile-info h1{font-size:25px}
 .public-profile-main h1{font-size:24px}
}

/* 5.0 marketplace, payments, avatars and desktop polish */
.avatar-img{display:inline-block;object-fit:cover;border-radius:50%;background:#eef1f3}.avatar-placeholder{display:inline-grid;place-items:center;background:#17191c;color:#fff;font-weight:800}.avatar-xs{width:32px;height:32px;border-radius:10px;font-size:12px;flex:0 0 32px}.avatar-md{width:64px;height:64px;font-size:24px}.market-head,.paid-hero,.wallet-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 22px}.market-head h1,.paid-hero h1,.wallet-hero h1{font-size:38px;letter-spacing:-.04em;margin:4px 0}.market-search{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;margin-bottom:16px;box-shadow:0 8px 30px rgba(20,25,30,.05)}.market-search-main{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}.market-search-main span{font-size:24px;color:#777}.market-search-main input{border:0;outline:0;font-size:17px;min-width:0}.market-filters{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:8px;margin-top:10px}.market-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.market-sidebar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:3px;height:max-content;position:sticky;top:78px}.market-sidebar a{padding:9px 10px;border-radius:9px;color:#4d555c}.market-sidebar a:hover,.market-sidebar a.active{background:#f0f2f4;color:#111;font-weight:750}.market-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease}.product-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(20,25,30,.09)}.product-image{height:190px;display:grid;place-items:center;background:#f7f8f9}.product-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.product-body{padding:12px}.product-category{font-size:11px;color:#8a9298;margin-bottom:5px}.product-card h2{font-size:16px;line-height:1.25;margin:0 0 6px}.product-card h2 a:hover{color:var(--accent)}.product-card p{font-size:12px;color:#697178;min-height:31px;margin:0 0 10px}.product-price{font-size:21px;font-weight:850;letter-spacing:-.02em}.product-price.large{font-size:34px;margin:10px 0}.old-price{text-decoration:line-through;color:#8b9298;font-size:12px;margin-top:2px}.product-stock{display:inline-flex;align-items:center;gap:6px;margin:10px 0;padding:7px 10px;border-radius:999px;background:#f1f3f5;color:#4b555d;font-size:12px;font-weight:800}.product-seller{display:flex;align-items:center;gap:7px;margin-top:11px;font-size:11px;color:#68717a}.price-answer{display:flex;align-items:center;gap:12px;background:#17191c;color:#fff;border-radius:16px;padding:14px 16px;margin:0 0 16px}.price-answer strong{font-size:22px}.price-answer small{margin-left:auto;color:#bfc4c8}.product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:24px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.product-detail-media{min-height:520px;background:#f7f8f9;border-radius:16px;display:grid;place-items:center}.product-detail-media img{max-width:100%;max-height:520px;object-fit:contain}.product-detail-info h1{font-size:40px;letter-spacing:-.04em;margin:8px 0}.product-seller-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:13px;margin:20px 0}.product-seller-card span{display:block}.product-editor{max-width:760px;margin:auto}.wallet-pill{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 14px;display:grid;gap:4px;min-width:180px}.wallet-pill strong{font-size:20px}.wallet-pill a{color:var(--accent);font-size:12px}.wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.5fr);gap:16px;margin-bottom:16px}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-methods label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:12px;cursor:pointer}.payment-methods strong,.payment-methods small{display:block}.payment-methods small{color:var(--muted);margin-top:2px}.comment-head{display:flex;align-items:center;gap:8px}.comment-actions{display:flex;gap:12px;margin-top:8px}.comment-reply{margin-left:28px;border-left:2px solid #e6eaed;padding-left:14px}.reply-banner{padding:8px 10px;background:#f3f5f6;border-radius:9px;margin-bottom:8px}.category-edit-preview{display:flex;align-items:center;gap:8px;margin-top:8px}.category-edit-preview img{width:44px;height:44px;object-fit:cover;border-radius:10px}.table-actions{align-items:center}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-layout{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:800px){.market-head,.paid-hero,.wallet-hero{align-items:flex-start;flex-direction:column}.market-head h1,.paid-hero h1,.wallet-hero h1{font-size:30px}.market-layout,.wallet-grid,.product-detail{grid-template-columns:1fr}.market-sidebar{position:static}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-filters{grid-template-columns:1fr 1fr}.product-detail-media{min-height:320px}.product-detail-info h1{font-size:30px}.price-answer{flex-wrap:wrap}.price-answer small{margin-left:0;width:100%}}
@media(max-width:520px){.market-search-main{grid-template-columns:auto 1fr}.market-search-main .btn{grid-column:1/-1;width:100%}.market-filters{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr 1fr;gap:8px}.product-image{height:145px}.product-body{padding:9px}.product-card h2{font-size:14px}.product-price{font-size:18px}.payment-methods{grid-template-columns:1fr}.product-detail{padding:12px}.product-detail-media{min-height:250px}}
/* Desktop cleanup: one catalog entry, no duplicated category rail */
@media(min-width:901px){.main-nav .catalog-duplicate,.top-catalog-duplicate{display:none!important}.main{max-width:1440px}.main-nav{gap:18px}.main-nav a{white-space:nowrap}}

.paid-notification-ticker{background:#17191c;color:#fff;border-bottom:1px solid #2a2d31}.paid-notification-ticker .main{display:flex;gap:18px;align-items:center;min-height:36px;overflow:auto;white-space:nowrap}.paid-notification-ticker span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#aeb4b9}.paid-notification-ticker a{font-size:12px;color:#fff;font-weight:750}.profile-big,.public-profile-avatar{overflow:hidden}.profile-big img,.public-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}

.subscription-avatar img,.subscription-avatar{width:100%;height:100%;object-fit:cover}.support-ticket-icon{overflow:hidden}.support-ticket-icon img{width:100%;height:100%;object-fit:cover}
.role-prefix{display:inline-flex;align-items:center;font-size:.78em;font-weight:800;letter-spacing:-.01em;color:#6a737b;vertical-align:middle}.profile-role{font-size:13px;margin-left:4px}.author-apply-wrap{max-width:900px;margin:0 auto}.author-apply-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px}.author-apply-hero h1{font-size:40px;letter-spacing:-.04em;margin:5px 0 8px}.author-apply-hero p{max-width:720px;color:var(--muted);line-height:1.6;margin:0}.author-apply-mark{width:76px;height:76px;border-radius:22px;display:grid;place-items:center;background:#17191c;color:#fff;font-size:34px;flex:0 0 76px}.application-status{margin-bottom:14px}.application-status p{color:var(--muted);white-space:pre-line}.check-row{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--line);padding:13px;border-radius:13px}.check-row small{display:block;color:var(--muted);margin-top:3px}.author-app-list{display:grid;gap:14px}.author-app-card{padding:18px}.author-app-top{display:flex;align-items:center;gap:12px}.author-app-top h2{font-size:20px;margin:0 0 3px}.author-app-top .badge{margin-left:auto}.author-app-body{padding:14px 0;line-height:1.55}.author-app-body p{margin:0 0 10px}.author-app-actions{border-top:1px solid var(--line);padding-top:14px;display:grid;gap:9px}.author-app-actions textarea{min-height:80px;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;resize:vertical}.author-app-actions>div{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:600px){.author-apply-hero{align-items:flex-start}.author-apply-mark{display:none}.author-apply-hero h1{font-size:29px}.author-app-top{align-items:flex-start}.author-app-top .badge{margin-left:0}.author-app-top{flex-wrap:wrap}}

.product-source-badge{font-size:13px;color:#66707a;margin:0 0 8px}.product-home-price{font-weight:700;display:block;margin-top:6px}

/* ONLINER 5.3 — responsive UX layer */
:root{--content-max:1440px;--radius-xl:22px;--shadow-soft:0 12px 38px rgba(24,29,34,.07)}
html{scroll-behavior:smooth;scroll-padding-top:84px}body{overflow-x:hidden}img{max-width:100%}button,input,select,textarea{max-width:100%}.shell{width:min(calc(100% - 28px),var(--content-max))}.main{padding-bottom:34px}
.top{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.94);backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);box-shadow:0 1px 0 rgba(20,25,30,.06)}.top-in{min-height:68px}.section-bar{background:rgba(250,251,252,.96)}
.top-search{min-width:220px}.top-search input{min-width:0}.top-search:focus-within{box-shadow:0 0 0 4px rgba(25,29,33,.06)}
.btn,.card,.panel,.product-card,.news-card,.feature-tile,.portal-category,.market-search,.market-toolbar,.price-answer,.comment-composer,.ad-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.btn:hover{transform:translateY(-1px)}
.news-card,.product-card{min-width:0}.news-card h3,.product-card h2,.feature-tile strong{overflow-wrap:anywhere}.meta{overflow-wrap:anywhere}
.ads-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}.ad-card{position:relative;display:flex;align-items:stretch;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);text-decoration:none}.ad-card:hover{transform:translateY(-2px);box-shadow:0 18px 46px rgba(24,29,34,.11);border-color:#d8dde1}.ad-card img{display:block;width:100%;height:100%;object-fit:cover;background:#f2f4f5}.ad-format-leaderboard{grid-column:1/-1;min-height:120px;max-height:250px}.ad-format-rectangle{min-height:170px}.ad-format-mobile{grid-column:1/-1;min-height:76px;max-height:140px}.ad-format-square{min-height:260px}.ad-copy{position:absolute;left:0;right:0;bottom:0;padding:12px 14px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.72));display:grid;gap:3px}.ad-copy small{font-size:9px;text-transform:uppercase;letter-spacing:.1em;opacity:.8}.ad-copy strong{font-size:14px;line-height:1.25}.ad-card:not(:has(img)){min-height:90px;background:linear-gradient(135deg,#202428,#3a4046)}
.market-head,.portal-intro{gap:20px}.market-layout{align-items:start}.market-sidebar{max-height:calc(100vh - 110px);overflow:auto;scrollbar-width:thin}.market-toolbar{position:sticky;top:78px;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:10px 12px;border-radius:12px}
.product-image{background:#f6f7f8}.product-image img{transition:transform .25s ease}.product-card:hover .product-image img{transform:scale(1.025)}
.portal-search-form,.market-search{position:relative}.portal-search-box input,.market-search-main input{min-width:0}.search-block{scroll-margin-top:100px}.search-tabs{overflow-x:auto;scrollbar-width:none}.search-tabs::-webkit-scrollbar{display:none}.search-tabs a{white-space:nowrap}
.comment{min-width:0}.comment-text{overflow-wrap:anywhere}.comment-reply{max-width:calc(100% - 28px)}.comment-actions button,.comment-actions a{padding:5px 0;touch-action:manipulation}
.footer{margin-top:32px}.footer-links{flex-wrap:wrap}
.admin-main{min-width:0}.admin-sidebar{z-index:70}.admin-main .table-wrap{max-width:100%}.admin-main .table{min-width:760px}.product-editor .btn{min-height:48px}.product-editor .btn.secondary{margin-top:4px}
@media(max-width:1100px){.shell{width:min(calc(100% - 22px),1180px)}.top-in{gap:10px}.top-search{flex:1}.content-grid{grid-template-columns:minmax(0,1fr) 300px}.ads-strip{grid-template-columns:1fr 1fr}.ad-format-square{min-height:220px}}
@media(max-width:900px){html{scroll-padding-top:70px}.top{position:relative}.top-in{min-height:58px}.content-grid{grid-template-columns:1fr}.market-layout{grid-template-columns:1fr}.market-sidebar{display:flex;gap:7px;overflow:auto;max-height:none;padding:4px 1px 8px}.market-sidebar strong{display:none}.market-sidebar a{white-space:nowrap}.market-toolbar{position:static}.ads-strip{grid-template-columns:1fr}.ad-format-leaderboard,.ad-format-mobile{grid-column:auto}.ad-format-leaderboard{min-height:110px}.ad-format-rectangle{min-height:140px}.ad-format-square{min-height:180px}}
@media(max-width:640px){.shell{width:min(calc(100% - 16px),560px)}.top-search{order:4;flex-basis:100%;width:100%}.top-search input{font-size:16px}.section-in{overflow-x:auto;scrollbar-width:none}.section-in::-webkit-scrollbar{display:none}.section-in a{white-space:nowrap}.portal-intro h1{font-size:32px}.market-head h1{font-size:30px}.market-filters{grid-template-columns:1fr}.ads-strip{gap:8px;margin-bottom:12px}.ad-card{border-radius:14px}.ad-format-leaderboard{min-height:90px}.ad-format-mobile{min-height:70px}.ad-format-rectangle{min-height:120px}.ad-format-square{min-height:150px}.ad-copy{padding:9px 10px}.ad-copy strong{font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{border-radius:12px}.product-image{height:150px}.price-answer{border-radius:13px;padding:12px}.comment-reply{margin-left:14px;padding-left:10px}.footer-links a{font-size:12px}.mobile-nav{bottom:max(8px,env(safe-area-inset-bottom));width:calc(100% - 12px);max-width:520px}.support-fab{bottom:84px!important}}
@media(max-width:380px){.product-grid{grid-template-columns:1fr}.product-image{height:210px}.mobile-nav a small{font-size:7px}.mobile-nav a span{font-size:17px}.portal-intro h1{font-size:28px}}
@media(min-width:901px){.main{width:min(calc(100% - 32px),1440px)}.portal-search-box{max-width:980px}.news-list{gap:14px}.product-grid{gap:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn:hover,.ad-card:hover{transform:none}.product-card:hover .product-image img{transform:none}}

.category-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-home-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:inherit;min-width:0;transition:transform .18s ease,box-shadow .18s ease}.category-home-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,25,30,.07)}.category-home-card>div{min-width:0;display:grid;gap:3px}.category-home-card strong{font-size:15px}.category-home-card span{font-size:12px;color:#7a8189;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-home-card>b{margin-left:auto;color:#e31e2b}.category-home-avatar,.category-home-card img{width:44px;height:44px;border-radius:12px;object-fit:cover;flex:none}.category-home-avatar{display:grid;place-items:center;background:#eef1f4;font-weight:800;font-size:18px}.market-search-v2{padding:14px;background:#fff;border:1px solid #dfe3e7;border-radius:16px;box-shadow:0 8px 26px rgba(20,25,30,.05)}.market-filter-chips{display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:8px;margin-top:10px}.quick-admin-link{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.author-profile-editor,.author-apply-wrap{max-width:980px;margin:0 auto}.home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:980px){.category-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-filter-chips{grid-template-columns:1fr 1fr}.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.category-home-grid,.market-filter-chips,.home-product-grid{grid-template-columns:1fr}.portal-intro{grid-template-columns:1fr}}


/* =========================================================
   FINAL UI REPAIR — unified responsive portal system
   ========================================================= */
:root{
  --accent:#e31e2b;
  --ink:#17191c;
  --muted:#737b84;
  --bg:#f2f3f5;
  --card:#fff;
  --line:#e1e5e8;
  --soft:#f7f8f9;
  --shadow-soft:0 10px 30px rgba(24,29,34,.07);
  --radius-lg:18px;
  --radius-md:14px;
}
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{min-width:320px;background:var(--bg);color:var(--ink)}
*,*::before,*::after{box-sizing:border-box}
img,video,iframe{max-width:100%}
button,input,select,textarea{max-width:100%}
.shell{width:min(calc(100% - 32px),1240px);margin-inline:auto}
.main{width:min(calc(100% - 32px),1240px);padding:22px 0 70px}

/* Header */
.top{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.top-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center;min-height:68px}
.brand{min-width:0;display:flex;align-items:center;gap:10px;font-weight:850;color:var(--ink)}
.brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-wordmark{flex:0 0 auto}
.site-logo-image{max-width:220px;height:38px;object-fit:contain}
.main-nav{display:flex;gap:18px;min-width:0}
.main-nav a{white-space:nowrap}
.top-search{width:100%;max-width:420px;justify-self:end;display:flex;align-items:center;background:#f2f4f5;border:1px solid #e6e9eb;border-radius:12px;overflow:hidden}
.top-search input{min-width:0;width:100%;padding:11px 12px;background:transparent;border:0}
.top-search button{padding:11px 14px}
.top-actions{display:flex;align-items:center;gap:8px}
.admin-top-link{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:800}
.section-bar{background:#fff;border-bottom:1px solid var(--line)}
.section-in{display:flex;align-items:center;gap:22px;height:45px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.section-in::-webkit-scrollbar{display:none}
.section-in a{position:relative;height:100%;display:flex;align-items:center;font-size:13px;color:#5f6871}
.section-in a:hover{color:var(--ink)}
.section-in a.section-news-active,.section-in a.active{color:var(--ink);font-weight:850}
.section-in a.section-news-active:after,.section-in a.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:99px;background:var(--accent);animation:sectionSlide .22s ease both}
@keyframes sectionSlide{from{transform:scaleX(.2);opacity:.2}to{transform:scaleX(1);opacity:1}}

/* Home */
.portal-intro{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:18px;align-items:end;margin-bottom:24px}
.portal-intro h1{font-size:clamp(34px,4.4vw,54px);line-height:1.02;margin:5px 0 10px;letter-spacing:-.035em}
.quick-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.quick-cards a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;box-shadow:var(--shadow-soft)}
.portal-rail{margin:26px 0}
.portal-rail-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.portal-rail-head h2{margin:0;font-size:28px;letter-spacing:-.025em}
.portal-rail-head a{color:var(--accent);font-weight:850;white-space:nowrap}
.category-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.category-home-card{display:flex!important;align-items:center;gap:12px;min-width:0;min-height:84px;padding:14px 15px;background:#fff!important;border:1px solid var(--line);border-radius:14px;color:var(--ink);box-shadow:var(--shadow-soft);overflow:hidden}
.category-home-card>div{min-width:0;display:grid;gap:3px}
.category-home-card strong{font-size:15px;line-height:1.2;overflow-wrap:anywhere}
.category-home-card span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-home-card>b{margin-left:auto;flex:0 0 auto;color:var(--accent);font-size:22px}
.category-home-avatar,.category-home-card img{width:46px;height:46px;flex:0 0 46px;border-radius:12px;object-fit:cover}
.category-home-avatar{display:grid!important;place-items:center;background:#eef1f4;font-weight:850;font-size:18px}
.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:20px}
.trend-list{display:grid;gap:0}
.trend-item{display:grid;grid-template-columns:42px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}
.trend-item:last-child{border-bottom:0}
.trend-num{font-size:12px;color:#a0a7ad;font-weight:850;padding-top:2px}
.trend-item h3{margin:0;font-size:16px;line-height:1.3}
.home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Cards */
.news-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:var(--shadow-soft)}
.news-card h3{overflow-wrap:anywhere}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-soft)}
.article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:var(--shadow-soft)}
.article-body{overflow-wrap:anywhere}

/* Subscriptions */
.subscriptions-page{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.75fr);gap:20px}
.subscription-grid,.subscription-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.subscription-card{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:var(--shadow-soft)}
.subscription-user{display:flex;align-items:center;gap:11px;min-width:0}
.subscription-user>span:last-child{min-width:0;display:block}
.subscription-user strong{display:block;overflow-wrap:anywhere}
.subscription-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;overflow:hidden;background:#eef1f4;border:1px solid #dde2e5}
.subscription-avatar img{width:100%;height:100%;object-fit:cover}
.subscription-card .btn{flex:0 0 auto}
.verified-badge{display:inline-grid;place-items:center;width:19px;height:19px;margin-left:4px;border-radius:50%;background:#287bd6;color:#fff;font-size:11px;font-weight:900;vertical-align:middle}

/* Catalog */
.market-search-v2,.market-search{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow-soft)}
.market-filter-chips{display:grid;grid-template-columns:1.5fr .8fr .8fr 1fr;gap:8px;margin-top:10px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product-card{min-width:0}
.product-image{height:190px}
.product-card h2,.product-card p{overflow-wrap:anywhere}

/* Footer / floating */
.footer{margin-top:28px;background:#fff;border-top:1px solid var(--line);padding:30px 0 90px}
.footer-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:28px}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 18px}
.support-fab{z-index:110}

/* Mobile nav — reliable 5/6 item layout */
.mobile-nav{display:none}
@media(max-width:760px){
  .shell{width:calc(100% - 16px)}
  .main{width:calc(100% - 16px);padding-top:16px}
  .top{position:relative}
  .top-in{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:8px 0}
  .main-nav{grid-column:1/-1;order:4;gap:15px;overflow-x:auto;scrollbar-width:none}
  .main-nav::-webkit-scrollbar{display:none}
  .top-search{grid-column:1/-1;order:3;max-width:none}
  .top-actions{justify-self:end}
  .admin-top-text{display:none}
  .section-in{gap:17px;height:42px}
  .portal-intro{grid-template-columns:1fr;gap:12px}
  .portal-intro h1{font-size:34px}
  .category-home-grid,.subscription-grid,.subscription-recommendations,.home-product-grid{grid-template-columns:1fr}
  .content-grid,.subscriptions-page{grid-template-columns:1fr}
  .subscription-summary{justify-content:space-between}
  .subscription-card{padding:12px}
  .subscription-card .btn{padding:9px 11px}
  .market-filter-chips{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .product-image{height:150px}
  .article{padding:20px}
  .footer-in{grid-template-columns:1fr}
  .mobile-nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 12px);max-width:760px;height:68px;z-index:100;background:rgba(255,255,255,.91);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(225,229,232,.92);border-radius:22px;box-shadow:0 18px 45px rgba(20,25,30,.14);padding:7px 6px 6px!important;gap:2px}
  .mobile-nav a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 2px;border-radius:16px;color:#70777e;font-weight:800;touch-action:manipulation}
  .mobile-nav a span{font-size:18px;line-height:1}
  .mobile-nav a small{font-size:9px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .mobile-nav a.is-active{background:#17191c;color:#fff;box-shadow:0 6px 16px rgba(23,25,28,.16)}
  .mobile-nav a:active{transform:scale(.94)}
  .mobile-nav i{position:absolute}
  .support-fab{bottom:86px!important;right:12px}
}
@media(max-width:560px){
  .mobile-nav{grid-template-columns:repeat(6,minmax(46px,1fr));overflow-x:auto}
  .mobile-nav a{min-width:46px}
  .mobile-nav small{font-size:8px}
  .brand{font-size:17px}
  .site-logo-image{max-width:150px;height:32px}
}
@media(max-width:420px){
  .mobile-nav{width:calc(100% - 8px);padding-inline:3px!important}
  .mobile-nav a{min-width:43px}
  .mobile-nav a span{font-size:17px}
  .mobile-nav a small{font-size:7px}
  .product-grid{grid-template-columns:1fr 1fr}
}

/* 5.7 admin navigation + customizable identity prefixes */
.admin-menu-toggle{cursor:pointer}
.admin-drawer-backdrop{display:none}
.role-prefix{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:3px 8px;border-radius:999px;font-size:11px;line-height:1;font-weight:850;vertical-align:middle;background:#eef2f5;color:#4b5560;white-space:nowrap}
.role-prefix-pill{background:#eef2f5}
.role-prefix-brackets{background:transparent;padding:0;color:#6d747b}
.role-prefix-text{background:transparent;padding:0}
.role-prefix-dot{background:#eef2f5}
.role-prefix-dot i{width:6px;height:6px;border-radius:50%;background:#e31e2b;display:inline-block}
.profile-role{font-size:12px}
@media(max-width:900px){
  .admin-menu-toggle{position:sticky;top:8px}
  .admin-drawer-backdrop{display:none}
  body.admin-menu-open .admin-drawer-backdrop{display:block}
  body.admin-menu-open .admin-sidebar{transform:translateX(0)!important;visibility:visible;pointer-events:auto}
  .admin-sidebar{visibility:hidden;pointer-events:none}
}

/* =========================================================
   5.8 — ADMIN WORKSPACE + HOME DISCOVERY
   ========================================================= */

/* Admin pages are a separate workspace: no duplicated public navigation. */
body.admin-body .top,
body.admin-body .section-bar,
body.admin-body .paid-notification-ticker,
body.admin-body > .flashes,
body.admin-body .support-fab,
body.admin-body .mobile-nav,
body.admin-body > .footer,
body.admin-body > footer,
body.admin-body .site-loader{display:none!important}
body.admin-body{background:#f3f5f7}
body.admin-body>.main{width:100%;padding:0}
body.admin-body .admin-shell{width:min(1440px,100%);margin:0 auto;min-height:100vh;padding:20px 22px 34px}
body.admin-body .admin-main{min-width:0}
.admin-menu-toggle{appearance:none;-webkit-appearance:none;border:1px solid #d8dde2;background:#17191c!important;color:#fff!important;cursor:pointer;touch-action:manipulation;user-select:none}
.admin-sidebar{min-width:0}
@media(min-width:901px){
 body.admin-body .admin-shell{grid-template-columns:250px minmax(0,1fr);align-items:start}
 .admin-menu-toggle,.admin-drawer-backdrop,.admin-drawer-close{display:none!important}
 body.admin-body .admin-sidebar{display:block!important;position:sticky!important;top:20px!important;transform:none!important;visibility:visible!important;pointer-events:auto!important}
}
@media(max-width:900px){
 body.admin-body .admin-shell{display:block;padding:8px 10px 24px}
 .admin-menu-toggle{position:sticky;top:8px;display:flex!important;z-index:150;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:0 0 10px;border-radius:12px;font-weight:850}
 .admin-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(330px,88vw)!important;z-index:300!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;transform:translateX(-104%)!important;visibility:hidden!important;pointer-events:none!important;border-radius:0 18px 18px 0!important;transition:transform .22s ease,visibility .22s ease!important;box-shadow:22px 0 55px rgba(13,18,24,.20)!important}
 body.admin-menu-open .admin-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
 .admin-drawer-backdrop{display:none!important;position:fixed!important;inset:0!important;z-index:290!important;background:rgba(16,20,25,.48)!important;backdrop-filter:blur(3px)!important}
 body.admin-menu-open .admin-drawer-backdrop{display:block!important}
 .admin-drawer-close{display:grid!important;position:absolute;right:10px;top:10px;width:38px;height:38px;place-items:center;border:1px solid #dbe0e4;border-radius:10px;background:#fff;font-size:25px;cursor:pointer;z-index:5}
 body.admin-menu-open{overflow:hidden}
 .admin-page-head{align-items:flex-start;flex-direction:column}
 .admin-page-head h1{font-size:28px}
 .admin-grid-2{grid-template-columns:1fr}
 .admin-stats-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
 body.admin-body .admin-shell{padding:6px 8px 18px}
 .admin-stats-grid{grid-template-columns:1fr}
 .admin-main .table-wrap{overflow-x:auto}
}

/* A non-intrusive first-visit chooser for News / Products. */
.discovery-panel{margin:4px 0 22px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.discovery-panel h2{margin:0 0 6px;font-size:24px}
.discovery-panel p{margin:0;color:var(--muted)}
.discovery-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.discovery-choice{display:flex;align-items:center;gap:14px;text-align:left;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fafbfc;cursor:pointer;font:inherit}
.discovery-choice:hover{border-color:#c7cdd2;background:#fff;transform:translateY(-1px)}
.discovery-choice:active{transform:translateY(0) scale(.99)}
.discovery-choice .choice-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#17191c;color:#fff;font-weight:900}
.discovery-choice strong{display:block;font-size:16px}
.discovery-choice span{display:block;margin-top:2px;color:var(--muted);font-size:12px}
.discovery-preferences{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.discovery-preferences button{border:0;background:none;color:var(--accent);font-weight:800;cursor:pointer}
.discovery-stream{display:none}
.discovery-stream.is-visible{display:block}
.notice-stream{display:grid;gap:8px;margin-top:14px}
.notice-stream-item{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}
.notice-stream-item .ns-icon{width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#edf0f3;display:grid;place-items:center;font-weight:900}
.notice-stream-item strong{display:block;font-size:13px}
.notice-stream-item span{display:block;color:var(--muted);font-size:11px;margin-top:2px}
@media(max-width:600px){.discovery-choices{grid-template-columns:1fr}}

/* 5.9 — final UX fixes: single nav, prefix preview, support, subscriptions, catalog */
.section-bar{display:none!important}
.main-nav a.is-active{color:var(--ink);position:relative}
.main-nav a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-24px;height:3px;border-radius:3px;background:var(--accent)}
.role-prefix-preview{margin-top:7px;padding:8px 10px;border:1px dashed #dfe4e8;border-radius:9px;background:#fafbfc;font-size:12px;color:var(--muted)}
.role-prefix-preview strong{color:var(--ink)}
.support-conversation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line);background:#fff}
.support-conversation-toolbar>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.support-conversation-toolbar strong{overflow-wrap:anywhere}
.support-status-badge{padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;background:#eef1f3}.support-status-badge.status-open{background:#e8f8ef;color:#0c7a49}.support-status-badge.status-answered{background:#eef5ff;color:#1d5fae}.support-status-badge.status-pending{background:#fff5dd;color:#8e6500}.support-status-badge.status-closed{background:#eef0f2;color:#69717a}
.support-quick-actions{display:flex;gap:7px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--line);background:#fbfcfc}.support-quick-actions button{border:1px solid #d9dee3;background:#fff;border-radius:999px;padding:7px 10px;font:700 11px inherit;color:#4e565e;cursor:pointer}.support-quick-actions button:hover{border-color:#c9cfd5;color:var(--ink)}
.support-messages{scroll-padding-top:10px}
.subscription-card-rich{display:block;padding:14px}.subscription-card-main{min-width:0}.subscription-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px;padding-top:11px;border-top:1px solid #eef0f2}.subscription-latest{display:grid;gap:2px;margin:9px 0 0 57px;padding:9px 10px;border-radius:10px;background:#f7f8f9;border:1px solid #eef0f2}.subscription-latest span,.subscription-latest small{font-size:10px;color:var(--muted)}.subscription-latest strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.empty-mini{display:block;color:var(--muted);font-size:12px}.subscription-how{display:grid;gap:9px;margin-top:13px}.subscription-how>div{display:flex;gap:9px;align-items:flex-start}.subscription-how b{width:24px;height:24px;border-radius:8px;background:#17191c;color:#fff;display:grid;place-items:center;font-size:11px;flex:0 0 24px}.subscription-how span{font-size:12px;color:#59616a;line-height:1.35;padding-top:3px}
.market-head{min-width:0}.market-head>div{min-width:0}.market-head h1{overflow-wrap:anywhere;word-break:break-word}.market-head p{overflow-wrap:anywhere}.catalog-category-strip{display:flex;gap:8px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}.catalog-category-strip::-webkit-scrollbar{display:none}.catalog-category-strip a{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:12px;color:#5f6871}.catalog-category-strip a b{color:var(--muted);font-size:10px}.catalog-category-strip a.active{color:#fff;background:var(--ink);border-color:var(--ink)}.catalog-category-strip a.active b{color:#d8dce0}.market-search-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.product-stock{display:inline-flex;align-items:center;gap:6px;margin:10px 0;padding:7px 10px;border-radius:999px;background:#f1f3f5;color:#4b555d;font-size:12px;font-weight:800}.product-seller{display:flex;align-items:center;gap:7px;min-width:0}.product-seller span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-seller small{margin-left:auto;white-space:nowrap;font-size:10px;font-weight:800}.stock-ok{color:#158354}.stock-out{color:#ad1d3e}
@media(max-width:780px){.main-nav a.is-active:after{bottom:-6px}.support-conversation-toolbar{padding:11px 12px}.support-quick-actions{padding:9px 10px}.support-quick-actions button{padding:7px 9px}.subscription-latest{margin-left:0}.market-search-footer{align-items:flex-start;flex-direction:column}.market-head{gap:10px}.market-head h1{font-size:clamp(30px,9vw,42px);line-height:1.02}}
@media(max-width:520px){.subscription-card-actions{display:grid;grid-template-columns:1fr 1fr}.subscription-card-actions .btn{width:100%}.catalog-category-strip{margin-right:-2px}.market-head h1{font-size:32px}.product-seller small{display:none}}


/* 5.10 — points center, admin UX and polished actions */
.btn{position:relative;overflow:hidden;gap:7px;background:linear-gradient(135deg,#ff3346 0%,#e91f32 100%);border-radius:12px;padding:11px 17px;box-shadow:0 8px 18px rgba(250,43,58,.18);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.btn:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.22),transparent 40%);pointer-events:none}.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(250,43,58,.24);filter:saturate(1.05)}.btn:active{transform:translateY(0);box-shadow:0 6px 12px rgba(250,43,58,.18)}.btn.secondary{background:linear-gradient(180deg,#f3f5f7 0%,#e9edf0 100%);box-shadow:0 5px 12px rgba(23,25,28,.06);color:#23272b}.btn.small{border-radius:10px}.admin-nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:7px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-style:normal;vertical-align:middle}.admin-stats-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}.wallet-mini{display:inline-flex;align-items:baseline;gap:5px}.wallet-mini strong{font-size:15px}.wallet-mini span{color:var(--muted);font-size:11px}.points-quick-btn{background:#f5f7f8!important;color:#30353a!important;box-shadow:none!important}.points-quick-btn:hover{background:#eceff2!important}.wallet-admin-card{margin:18px 0}.wallet-admin-balance{display:flex;align-items:baseline;gap:8px;padding:8px 0 15px}.wallet-admin-balance strong{font-size:34px;letter-spacing:-.03em}.wallet-admin-balance span{color:var(--muted)}.wallet-amount{font-weight:850;white-space:nowrap}.wallet-amount.positive{color:#138454}.wallet-amount.negative{color:#ad1d3e}.wallet-history{display:grid;gap:0}.wallet-history-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.wallet-history-row:last-child{border-bottom:0}.wallet-history-row strong{display:block;font-size:13px}.wallet-history-row small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.points-user-search{position:relative}.points-user-results{position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 34px rgba(22,28,35,.14);padding:6px;max-height:280px;overflow:auto}.points-user-option{display:flex;width:100%;text-align:left;flex-direction:column;gap:2px;padding:10px 11px;border:0;background:#fff;border-radius:9px;cursor:pointer}.points-user-option:hover{background:#f4f6f8}.points-user-option strong{font-size:13px}.points-user-option span{font-size:11px;color:var(--muted)}.points-selected{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;padding:10px 11px;border:1px solid #e1e5e8;border-radius:10px;background:#fafbfc}.points-selected strong{font-size:13px}.points-selected span{font-size:11px;color:var(--muted)}.points-submit{min-height:46px}.wallet-page .panel{box-shadow:0 10px 28px rgba(25,31,38,.06)}
@media(max-width:780px){.admin-stats-grid-compact{grid-template-columns:1fr}.wallet-admin-balance strong{font-size:30px}}
\n.admin-filter-bar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:12px}.admin-filter-main{display:grid;grid-template-columns:minmax(220px,1.8fr) minmax(160px,1fr) minmax(150px,1fr);gap:10px;flex:1}.admin-filter-bar .field{gap:5px}.admin-filter-actions{display:flex;gap:8px}.users-result-summary{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:11px 13px;box-shadow:none}.users-result-summary strong{font-size:18px}.users-result-summary span{color:var(--muted);font-size:12px}.users-result-summary a{margin-left:auto;color:var(--accent);font-weight:800;font-size:12px}@media(max-width:780px){.admin-filter-bar{align-items:stretch;flex-direction:column}.admin-filter-main{grid-template-columns:1fr}.admin-filter-actions{display:grid;grid-template-columns:1fr 1fr}.users-result-summary{align-items:flex-start;flex-wrap:wrap}.users-result-summary a{margin-left:0;width:100%}}\n
/* 5.12 — notifications and email communication */
.notifications-page{max-width:980px;margin:0 auto}.notifications-page .section-head{align-items:flex-start}.notification-filters{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;scrollbar-width:none}.notification-filters::-webkit-scrollbar{display:none}.notification-filter{white-space:nowrap;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:800}.notification-filter.active{background:var(--ink);border-color:var(--ink);color:#fff}.notification-list{display:grid;gap:10px}.notification-item{display:flex;gap:12px;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(25,31,38,.04)}.notification-item.unread{border-color:rgba(231,29,43,.28);box-shadow:0 9px 22px rgba(231,29,43,.08)}.notification-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:#f0f2f4;color:var(--accent);font-size:13px}.notification-item.unread .notification-icon{background:rgba(231,29,43,.10)}.notification-content{min-width:0;flex:1}.notification-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notification-top strong{font-size:14px;line-height:1.35}.notification-top small{flex:0 0 auto;color:var(--muted);font-size:10px}.notification-content p{margin:6px 0 10px;color:#59616a;font-size:12px;line-height:1.5}.notification-actions{display:flex;gap:7px;flex-wrap:wrap}.notification-actions form{margin:0}.email-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.email-event-option{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fafbfc;cursor:pointer}.email-event-option:hover{background:#f5f7f8;border-color:#cfd5da}.email-event-option input{margin-top:3px;accent-color:var(--accent)}.email-event-option span{display:grid;gap:3px}.email-event-option strong{font-size:13px}.email-event-option small{color:var(--muted);font-size:11px;line-height:1.35}.email-test-card{display:grid;grid-template-columns:1fr minmax(260px,360px);gap:22px;align-items:end}.admin-page-head{gap:15px}.admin-page-head .admin-head-actions{display:flex;gap:8px;flex-wrap:wrap}.email-test-card .form{margin:0}@media(max-width:760px){.email-events-grid{grid-template-columns:1fr}.email-test-card{grid-template-columns:1fr}.notification-item{padding:13px}.notification-top{flex-direction:column;gap:4px}}

/* 5.13 — advanced user administration */
.user-control-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.user-control-stats>div{padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(180deg,#fff,#f8f9fa);box-shadow:0 7px 20px rgba(20,25,30,.045)}.user-control-stats span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.user-control-stats strong{font-size:24px;letter-spacing:-.03em}.admin-filter-main-wide{grid-template-columns:2fr repeat(4,1fr)}.users-table td{vertical-align:top}.user-row-main{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.user-name-link{color:inherit}.author-mini-line{margin-top:5px;font-size:11px;color:#5d666e}.verified-label{display:inline-flex;align-items:center;gap:4px;margin-left:5px;font-size:10px;font-weight:850;color:#8b4d00}.status-badge.status-active{background:#eaf8f0;color:#147a4f}.status-badge.status-blocked{background:#fff0f2;color:#ad2943}.status-badge.status-frozen{background:#fff6e2;color:#906510}.status-badge.status-pending{background:#eef4ff;color:#2968a5}.danger-soft{background:#fff0f2!important;color:#ad2943!important;border-color:#ffd7df!important;box-shadow:none!important}.user-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.user-control-hero{display:flex;gap:18px;align-items:flex-start;padding:20px;margin-bottom:16px;background:linear-gradient(135deg,#fff,#f6f8f9)}.detail-grid-6{grid-template-columns:repeat(6,minmax(100px,1fr))}.verification-center{margin-bottom:16px}.verification-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.verification-action-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fafbfc}.verification-action-card.is-on{background:#f6fbf8;border-color:#cde8d9}.verification-action-card>div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.verification-action-card>div small{grid-column:2;color:var(--muted);font-size:11px;line-height:1.35;margin-top:2px}.verification-action-card .verified-badge{grid-row:1 / span 2}.button-success{background:linear-gradient(135deg,#22a66f,#168b5a)!important;box-shadow:0 8px 18px rgba(22,139,90,.18)!important}.verification-action-card button[disabled]{opacity:.45;cursor:not-allowed}.author-admin-card{margin-top:16px}.author-application-box{margin-top:15px;padding:13px;border:1px dashed #cdd4da;border-radius:12px;background:#fafbfc;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.author-application-box .meta{margin-right:auto}.admin-user-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.command-card{display:grid;gap:5px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 18px rgba(22,27,32,.035)}.command-card strong{font-size:14px}.command-card span:not(.btn){font-size:11px;color:var(--muted);line-height:1.35;min-height:31px}.command-card.warning{border-color:#f1dfb6;background:#fffaf0}.command-card.danger{border-color:#f2cdd4;background:#fff7f8}.command-card .btn{margin-top:3px}.panel-head-actions{display:flex;align-items:center;gap:8px}.verified-user{background:#e21f37}.verified-author{background:#ba7218}.inline-role-form{margin:0}.inline-role-form select{min-width:150px}@media(max-width:980px){.admin-filter-main-wide{grid-template-columns:1fr 1fr}.user-control-stats{grid-template-columns:repeat(2,1fr)}.detail-grid-6{grid-template-columns:repeat(3,minmax(100px,1fr))}.admin-user-command-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.verification-actions-grid{grid-template-columns:1fr}.admin-user-command-grid{grid-template-columns:1fr}.detail-grid-6{grid-template-columns:1fr 1fr}.admin-filter-main-wide{grid-template-columns:1fr}.users-table{min-width:760px}}

.author-public-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.author-public-meta span{padding:6px 9px;border-radius:999px;background:#f2f4f5;border:1px solid #e6e9eb;color:#56606a;font-size:10px;font-weight:750}
.user-row-main .verified-badge{margin-left:2px}

.toggle-user-verification{margin:0}.toggle-user-verification .btn{white-space:nowrap}

/* v5.14 — исправление кнопок профиля на мобильных устройствах */
.btn{min-width:0;max-width:100%;white-space:normal;word-break:break-word;text-align:center;line-height:1.2}
.profile-actions{min-width:0}
.profile-actions .btn{min-width:0;flex:0 1 auto}
@media(max-width:640px){
  .profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;align-items:stretch}
  .profile-actions .btn{width:100%;min-height:52px;padding:12px 10px;display:flex;white-space:normal;overflow-wrap:anywhere}
  .profile-actions .btn:first-child{grid-column:1/-1}
}
@media(max-width:390px){
  .profile-actions{grid-template-columns:1fr}
  .profile-actions .btn:first-child{grid-column:auto}
}

/* Subscriptions v5.15: consistent counts, unavailable authors and empty state */
.subscription-card.is-unavailable{opacity:.86;background:#fbfbfc}
.subscription-card.is-unavailable .subscription-user{color:#666d74}
.subscription-status-note{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 11px;border:1px solid #e3e6e9;border-radius:10px;background:#f7f8f9;color:#6a727a;font-size:12px;line-height:1.4}
.muted-dot{background:#9aa1a8;box-shadow:0 0 0 4px rgba(120,128,136,.09)}
.subscriptions-empty{display:grid;place-items:center;text-align:center;padding:34px 22px;margin-top:10px}
.subscriptions-empty h3{margin:10px 0 5px;font-size:22px}
.subscriptions-empty p{max-width:520px;margin:0 auto 14px;color:var(--muted);line-height:1.55}
.subscriptions-empty-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#f1f3f5;font-size:25px}
@media(max-width:700px){
  .subscription-summary{justify-content:space-between;gap:10px}
  .subscription-summary .btn{white-space:nowrap}
  .subscriptions-section-head{align-items:flex-start;gap:10px}
  .subscriptions-section-head .meta{white-space:nowrap}
  .subscription-tools{display:block}
  .subscription-tools .meta{display:block;margin-top:7px}
  .subscription-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .subscription-card-actions .btn{width:100%;min-width:0}
}
@media(max-width:420px){
  .subscription-card-actions{grid-template-columns:1fr}
  .subscription-summary{align-items:flex-end}
}

/* v5.17 — product catalogs and author-only marketplace */
.catalog-author-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid #f0d6da;background:#fff7f8;border-radius:14px;color:#5f6670;margin-top:8px}
.catalog-author-note strong{color:#a62235}
@media(max-width:700px){.catalog-author-note{align-items:flex-start}.catalog-author-note .btn{width:100%}}

.top-user-avatar{width:36px;height:36px;border-radius:50%;flex:0 0 36px;object-fit:cover;display:inline-grid;place-items:center;background:#eef1f3;color:#17191c;font-weight:800;border:1px solid var(--line)}
.top-profile-link{color:inherit}
.article-author-line,.author-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.article-author-line .meta{display:inline-flex;align-items:center;gap:5px}
.author-inline .avatar-xs{vertical-align:middle}

/* v5.20 support chat + v5.21 AI diagnostics */
.support-messages{display:flex;flex-direction:column;gap:14px;padding:16px;max-height:620px;overflow:auto;scroll-behavior:smooth;background:linear-gradient(180deg,#f7f8fa,#f1f3f5);border:1px solid var(--line);border-radius:18px}.message{max-width:min(78%,720px);padding:12px 14px;border-radius:18px;box-shadow:0 5px 18px rgba(25,31,38,.06);background:#fff;border:1px solid #e8ebee}.message.user{align-self:flex-end;border-bottom-right-radius:6px}.message.admin{align-self:flex-start;border-bottom-left-radius:6px}.message.system{align-self:center;max-width:92%;background:#fff8e8;border-color:#efd9a4}.message-head,.admin-chat-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.chat-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 38px}.chat-avatar-lg{width:48px;height:48px;flex-basis:48px}.avatar-placeholder.chat-avatar{display:grid;place-items:center;background:#eceff2;color:#69727b;font-weight:800}.message-author,.admin-chat-author{font-weight:800;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.message-body,.admin-chat-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.55}.message-empty-note,.admin-chat-empty{color:#8b929a;font-style:italic}.support-system-label{display:inline-flex;padding:3px 8px;border-radius:999px;background:#fff0c7;color:#8a6415;font-size:11px;font-weight:800}.message-role{font-size:11px}.support-no-messages{padding:35px;text-align:center;color:var(--muted);display:grid;gap:6px}.support-no-messages strong{color:var(--ink);font-size:17px}.support-agent{display:flex;align-items:center;gap:10px}.support-conv-person{display:flex;align-items:center;gap:10px}.admin-chat-scroll{display:flex;flex-direction:column;gap:12px;max-height:650px;overflow:auto;padding:16px;background:#f6f7f8;border:1px solid var(--line);border-radius:18px}.admin-chat-message{max-width:min(82%,760px);padding:12px 14px;background:#fff;border:1px solid #e7eaed;border-radius:16px;box-shadow:0 4px 16px rgba(25,31,38,.05)}.admin-chat-message.from-user{margin-left:auto;border-bottom-right-radius:6px}.admin-chat-message.from-support{margin-right:auto;border-bottom-left-radius:6px}.admin-chat-message.from-system{margin:0 auto;background:#fff8e8;border-color:#efd9a4}.admin-composer textarea,.chat-composer textarea{width:100%;min-height:92px;resize:vertical}.admin-chat-message .chat-attachment,.message .chat-attachment{display:block;margin-top:10px}.admin-chat-message .chat-attachment img,.message .chat-attachment img{max-height:320px;border-radius:12px;object-fit:cover}.support-chat-page .support-chat-panel{overflow:hidden}.support-quick-actions{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.support-quick-actions button{border:1px solid var(--line);background:#fff;padding:8px 11px;border-radius:999px;color:#4f565e;cursor:pointer}.support-quick-actions button:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:760px){.message,.admin-chat-message{max-width:94%}.support-messages,.admin-chat-scroll{max-height:none}.support-chat-head{display:grid;gap:14px}.chat-composer .composer-row{display:grid;grid-template-columns:auto 1fr}.chat-composer .composer-row .btn{grid-column:1/-1;width:100%}.admin-composer .composer-tools{display:grid;grid-template-columns:auto 1fr}.admin-composer .composer-tools .btn{grid-column:1/-1;width:100%}.support-conv-header{align-items:flex-start;gap:12px}.support-conv-header>.btn{width:100%}}

/* v5.22 — cleaner account header, responsive polish and manual product admin */
.profile-hero-clean{min-height:118px}
.product-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.product-admin-stats>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 15px;box-shadow:0 7px 20px rgba(20,25,30,.045)}
.product-admin-stats span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
.product-admin-stats b{font-size:24px;letter-spacing:-.03em}
.admin-product-create{margin-bottom:16px}
.admin-product-create-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-products-table td{vertical-align:top}
.admin-products-table .table-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:260px}
.admin-products-table .table-actions form{margin:0}
.product-source-badge{display:inline-flex;align-items:center;gap:6px}
.top-user-avatar{display:none!important}
@media(max-width:900px){.product-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.top-profile-link{display:none!important}.profile-hero-clean{display:block}.profile-hero-clean .profile-actions{margin-top:14px}.admin-product-create-actions .btn{width:100%}.admin-products-table .table-actions{min-width:210px}.product-admin-stats b{font-size:21px}}
@media(max-width:520px){.shell,.main{max-width:100%;overflow-x:hidden}.profile-hero-clean{padding:16px}.profile-hero-clean .profile-info h1{font-size:26px;overflow-wrap:anywhere}.admin-product-create{padding:14px}.admin-products-table .table-actions{flex-direction:column;align-items:stretch}.admin-products-table .table-actions .btn{width:100%}.product-grid{gap:9px}.product-card{overflow:hidden}.product-card h2{font-size:16px}}

.admin-nav-product-create{background:#f8fafb;border:1px dashed #d7dde2;margin:6px 0 8px}.admin-nav-product-create:hover{border-color:#bfc7ce;background:#fff}.admin-nav-product-create .nav-ico{background:#e9f8f0;color:#147a4f}

/* v5.23 — motion & visual animation layer */
:root{--motion-fast:.18s;--motion-base:.28s;--motion-slow:.55s;--ease-out:cubic-bezier(.22,1,.36,1);--ease-spring:cubic-bezier(.2,.85,.25,1)}

@keyframes uiFadeUp{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes uiFadeIn{from{opacity:0}to{opacity:1}}
@keyframes uiScaleIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@keyframes uiFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes uiShimmer{0%{transform:translateX(-120%)}100%{transform:translateX(180%)}}
@keyframes uiPulse{0%,100%{box-shadow:0 0 0 0 rgba(250,43,58,0)}50%{box-shadow:0 0 0 8px rgba(250,43,58,.08)}}

/* Smooth page entrance without blocking content */
body{animation:uiFadeIn .45s ease both}
.main>*{animation:uiFadeUp .5s var(--ease-out) both}
.main>*:nth-child(2){animation-delay:.04s}.main>*:nth-child(3){animation-delay:.08s}.main>*:nth-child(4){animation-delay:.12s}

/* Scroll reveal: JS adds .reveal-ready / .reveal-visible */
.reveal-ready{opacity:0;transform:translate3d(0,22px,0);transition:opacity .55s var(--ease-out),transform .55s var(--ease-out)}
.reveal-ready.reveal-visible{opacity:1;transform:none}

/* More alive controls */
.btn,.action-link,.admin-top-link,.quick-cards a,.category-home-card,.news-card,.panel,.subscription-card,.product-card,.ad-card,.market-search,.market-toolbar,.price-answer,.comment-composer{transition:transform var(--motion-base) var(--ease-out),box-shadow var(--motion-base) var(--ease-out),border-color var(--motion-base) ease,background-color var(--motion-base) ease}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.985)}
.btn:not(.secondary){position:relative;overflow:hidden}
.btn:not(.secondary)::after{content:"";position:absolute;inset:0;transform:translateX(-120%);background:linear-gradient(110deg,transparent,rgba(255,255,255,.2),transparent);transition:transform .55s ease;pointer-events:none}
.btn:not(.secondary):hover::after{transform:translateX(120%)}

.quick-cards a:hover,.category-home-card:hover,.news-card:hover,.panel:hover,.subscription-card:hover,.market-toolbar:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(20,25,30,.09)}
.product-card:hover{transform:translateY(-5px) scale(1.008);box-shadow:0 18px 40px rgba(20,25,30,.12)}
.product-image{position:relative;overflow:hidden}
.product-image::after{content:"";position:absolute;inset:0;transform:translateX(-130%);background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.35) 48%,transparent 68%);pointer-events:none}
.product-card:hover .product-image::after{animation:uiShimmer .8s ease}
.product-image img{transition:transform .42s var(--ease-out),filter .42s ease}
.product-card:hover .product-image img{transform:scale(1.045);filter:saturate(1.05)}

.hero{isolation:isolate}
.hero img{transition:transform 1.2s var(--ease-out),filter 1.2s ease}
.hero:hover img{transform:scale(1.025);filter:saturate(1.05)}
.hero-overlay{animation:uiFadeUp .7s .08s var(--ease-out) both}

.profile-big,.public-profile-avatar{animation:uiScaleIn .45s var(--ease-out) both}
.support-fab{animation:uiFloat 3.5s ease-in-out infinite}
.support-fab span{animation:uiPulse 2.8s ease-in-out infinite}
.mobile-nav{transition:transform .3s var(--ease-out),box-shadow .3s ease}
.mobile-nav a{transition:transform .18s var(--ease-spring),background-color .18s ease,color .18s ease}
.mobile-nav a:hover{transform:translateY(-2px)}
.mobile-nav a.is-active span{animation:uiScaleIn .28s var(--ease-spring) both}

.top{transition:box-shadow .3s ease,background-color .3s ease}
.top.is-scrolled{box-shadow:0 10px 28px rgba(20,25,30,.08)}

.flash{animation:uiFadeUp .42s var(--ease-out) both}
.flash.success,.flash.info,.flash.error{position:relative;overflow:hidden}
.flash::after{content:"";position:absolute;inset:0;transform:translateX(-120%);background:linear-gradient(110deg,transparent,rgba(255,255,255,.3),transparent);animation:uiShimmer .9s .15s ease}

.site-loader-card{animation:uiScaleIn .35s var(--ease-out) both}
.site-loader-spinner{animation:spin .8s linear infinite}

/* Accessible focus motion */
:where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(250,43,58,.2);outline-offset:2px;transition:outline-color .2s ease}

/* Do not animate too much on small/low-motion devices */
@media(max-width:700px){
  body{animation-duration:.28s}
  .main>*{animation-duration:.38s}
  .product-card:hover,.news-card:hover,.panel:hover,.quick-cards a:hover,.category-home-card:hover,.subscription-card:hover{transform:translateY(-1px)}
  .support-fab{animation:none}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
  .reveal-ready{opacity:1!important;transform:none!important}
}

/* v5.24 — premium admin access button */
.admin-top-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:8px 12px 8px 10px;
  border:1px solid rgba(250,43,58,.18);
  border-radius:13px;
  background:linear-gradient(135deg,#fff 0%,#fff5f6 48%,#ffecef 100%);
  color:#191b1f;
  font-weight:850;
  box-shadow:0 7px 20px rgba(250,43,58,.08),inset 0 0 0 1px rgba(255,255,255,.7);
  overflow:hidden;
  isolation:isolate;
}
.admin-top-link::before{
  content:"";
  position:absolute;
  inset:-70% -10%;
  z-index:-1;
  background:radial-gradient(circle,rgba(250,43,58,.13),transparent 56%);
  opacity:.8;
  transition:transform .45s ease,opacity .3s ease;
}
.admin-top-link::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:-65%;
  width:42%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);
  transform:skewX(-18deg);
  transition:left .6s ease;
  pointer-events:none;
}
.admin-top-link:hover{
  transform:translateY(-2px);
  border-color:rgba(250,43,58,.34);
  box-shadow:0 12px 28px rgba(250,43,58,.16),0 0 0 4px rgba(250,43,58,.05);
}
.admin-top-link:hover::before{transform:scale(1.12);opacity:1}
.admin-top-link:hover::after{left:120%}
.admin-top-link:active{transform:translateY(0) scale(.985)}
.admin-top-ico{
  width:27px;height:27px;display:grid;place-items:center;border-radius:9px;
  background:linear-gradient(135deg,#fa2b3a,#c9192e);color:#fff;
  box-shadow:0 6px 14px rgba(201,25,46,.22);
  flex:0 0 27px;
}
.admin-top-ico svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-top-text{line-height:1.05;white-space:nowrap}
.admin-top-arrow{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:rgba(250,43,58,.08);color:#d51d32;font-size:14px;transition:transform .22s ease,background .22s ease}
.admin-top-link:hover .admin-top-arrow{transform:translate(2px,-2px);background:rgba(250,43,58,.14)}

/* Premium mobile admin menu trigger */
.admin-menu-toggle{
  border:1px solid #25282d!important;
  background:linear-gradient(135deg,#17191c,#282b30)!important;
  box-shadow:0 10px 28px rgba(17,20,24,.18),inset 0 1px 0 rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}
.admin-menu-toggle::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.08) 48%,transparent 72%);transform:translateX(-120%);transition:transform .65s ease;pointer-events:none}
.admin-menu-toggle:hover::before{transform:translateX(120%)}
.admin-menu-toggle-icon{display:grid;gap:3px;width:22px;padding:2px 0}
.admin-menu-toggle-icon span{display:block;height:2px;border-radius:9px;background:#fff;transition:transform .2s ease}
.admin-menu-toggle-icon span:nth-child(2){width:14px}
.admin-menu-toggle strong{margin-left:auto;font-size:10px;letter-spacing:.12em;padding:4px 7px;border-radius:999px;background:#fa2b3a;color:#fff;box-shadow:0 4px 12px rgba(250,43,58,.25)}
body.admin-menu-open .admin-menu-toggle{box-shadow:0 12px 30px rgba(17,20,24,.23),0 0 0 3px rgba(250,43,58,.08)}
body.admin-menu-open .admin-menu-toggle-icon span:nth-child(1){transform:translateY(5px) rotate(45deg)}
body.admin-menu-open .admin-menu-toggle-icon span:nth-child(2){opacity:0}
body.admin-menu-open .admin-menu-toggle-icon span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

@media(max-width:780px){
  .admin-top-link{min-height:40px;padding:7px 9px;border-radius:12px}
  .admin-top-text{font-size:12px}
  .admin-top-arrow{display:none}
}
@media(max-width:520px){
  .admin-top-link{gap:7px;padding:7px 8px}
  .admin-top-text{display:none}
  .admin-top-ico{width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){
  .admin-top-link,.admin-top-link::before,.admin-top-link::after,.admin-top-arrow,.admin-menu-toggle,.admin-menu-toggle::before,.admin-menu-toggle-icon span{transition:none!important}
}

/* v5.25 — authorship workspace, advertising marketplace, prefix polish */
.author-cta{position:relative;overflow:hidden;background:linear-gradient(135deg,#17191c,#30343a)!important;color:#fff!important;border-color:#17191c!important;box-shadow:0 10px 24px rgba(23,25,28,.16)!important}.author-cta:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(23,25,28,.2)!important}.author-dashboard{max-width:1080px;margin:0 auto}.author-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;margin-bottom:14px;background:radial-gradient(circle at 90% 20%,rgba(231,29,43,.08),transparent 35%),linear-gradient(135deg,#fff,#f7f8f9);overflow:hidden}.author-dashboard-hero h1{font-size:clamp(34px,5vw,52px);margin:.2em 0}.author-status-orb{width:92px;height:92px;border-radius:28px;display:grid;place-items:center;background:#17191c;color:#fff;font-size:34px;box-shadow:0 16px 30px rgba(20,24,29,.16);position:relative;flex:0 0 92px}.author-status-orb span{position:absolute;bottom:9px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#c9ced3}.author-dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.author-action-card{display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;color:inherit;box-shadow:0 8px 24px rgba(24,29,35,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.author-action-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(24,29,35,.1);border-color:#c9ced3}.author-action-card.primary{background:linear-gradient(135deg,#17191c,#30343a);color:#fff;border-color:#17191c}.author-action-card span{font-size:11px;color:var(--muted);line-height:1.4}.author-action-card.primary span{color:#cbd0d5}.author-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.author-stat-grid .panel{padding:16px}.author-stat-grid span{display:block;color:var(--muted);font-size:11px}.author-stat-grid strong{display:block;margin-top:4px;font-size:30px}.author-post-list{display:grid;gap:2px}.author-post-list>a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-top:1px solid #eef0f2;color:inherit}.author-post-list>a:first-child{border-top:0}.author-post-list>a div{min-width:0}.author-post-list>a strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-post-list>a span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.author-post-list>a>b{font-size:12px;color:var(--muted)}
.ad-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ad-package-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(22,28,35,.05);position:relative;overflow:hidden}.ad-package-card:after{content:'';position:absolute;inset:auto -20% -55% auto;width:120px;height:120px;border-radius:50%;background:rgba(231,29,43,.05)}.ad-package-card.is-off{opacity:.7}.ad-package-top{display:flex;justify-content:space-between;align-items:center}.ad-package-card h3{margin:12px 0 5px;font-size:18px}.ad-package-card p{min-height:44px;color:var(--muted);font-size:12px;line-height:1.45}.ad-package-card>strong{font-size:22px}.ad-package-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.ad-package-editor{margin-top:14px;background:#fafbfc}.ad-order-actions{display:grid;gap:6px}.ad-order-actions form{display:flex;gap:5px}.ad-order-actions input{min-width:120px}.advertising-page{max-width:1080px;margin:0 auto}.advertising-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;margin-bottom:14px;background:linear-gradient(135deg,#fff,#f6f8f9)}.advertising-balance{min-width:170px;padding:14px;border-radius:16px;background:#17191c;color:#fff;display:grid;gap:5px}.advertising-balance span{font-size:10px;text-transform:uppercase;color:#adb3ba}.advertising-balance strong{font-size:22px}.ad-public-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.ad-public-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,29,35,.05);transition:transform .2s ease,box-shadow .2s ease}.ad-public-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(24,29,35,.11)}.ad-public-card.is-featured{border-color:#17191c;box-shadow:0 12px 28px rgba(23,25,28,.10)}.ad-public-card h2{margin:5px 0}.ad-public-card p{min-height:56px;color:var(--muted);font-size:12px}.ad-public-card>strong{display:block;font-size:25px;margin:12px 0}.ad-public-card .btn{width:100%}.ad-order-form-wrap{scroll-margin-top:90px}.ad-order-history{display:grid}.ad-order-history>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #eef0f2}.ad-order-history>div:first-child{border-top:0}.ad-order-history span{display:block;color:var(--muted);font-size:11px;margin-top:3px}
@media(max-width:880px){.author-dashboard-grid,.ad-package-grid,.ad-public-grid{grid-template-columns:1fr 1fr}.author-stat-grid{grid-template-columns:1fr 1fr}.advertising-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.author-dashboard-grid,.ad-package-grid,.ad-public-grid{grid-template-columns:1fr}.author-dashboard-hero{align-items:flex-start}.author-status-orb{display:none}.advertising-balance{width:100%;box-sizing:border-box}.ad-order-history>div{align-items:flex-start}.ad-order-history>div>b{white-space:nowrap}}

/* v5.25 prefix/access UI + seller badge */
.inline-role-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,1fr);gap:6px;align-items:center}.inline-role-form .inline-access-select{min-width:0}.inline-role-form .inline-prefix-input{min-width:0}.inline-role-form .inline-prefix-style{min-width:0}.inline-role-form .btn{grid-column:1 / -1;justify-self:start}.author-top-link{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:12px;background:linear-gradient(135deg,#17191c,#353a40);color:#fff!important;text-decoration:none;font-weight:800;font-size:12px;box-shadow:0 8px 18px rgba(20,24,30,.12);transition:transform .2s ease,box-shadow .2s ease}.author-top-link:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(20,24,30,.18)}.product-seller-prefix{vertical-align:middle;margin-left:4px}.role-prefix{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.role-prefix-pill{padding:3px 8px;border-radius:999px;background:#eef1f4;color:#3d4650;font-size:.75em;font-weight:800}.role-prefix-brackets{font-weight:800;color:#5a6470;font-size:.8em}.role-prefix-text{font-weight:800;color:#5a6470;font-size:.8em}.role-prefix-dot i{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}.role-prefix-dot{font-weight:800;color:#5a6470;font-size:.8em}@media(max-width:980px){.inline-role-form{grid-template-columns:1fr 1fr}.author-top-link{display:none}}@media(max-width:700px){.inline-role-form{grid-template-columns:1fr}.inline-role-form .btn{width:100%}.users-table{min-width:820px}}

/* v5.26 — advertising checkout, live timers and profile avatar restore */
.profile-hero-clean{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center}
.profile-hero-clean .profile-big{flex:0 0 auto}
.ad-public-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 3px rgba(250,43,58,.10),0 14px 34px rgba(25,31,38,.10);transform:translateY(-2px)}
.ad-selected-notice{min-height:48px;display:flex;align-items:center}
.ad-payment-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px 14px;border:1px solid #ead5d8;border-radius:14px;background:#fff7f8}
.ad-payment-summary>div{display:grid;gap:3px}.ad-payment-summary span{color:var(--muted);font-size:11px}.ad-payment-summary strong{font-size:21px}.ad-payment-summary b{font-size:13px}
.active-ads-panel{margin-top:16px}.active-ads-grid{display:grid;gap:10px}.active-ad-card{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#fff,#fafbfc);box-shadow:0 8px 26px rgba(25,31,38,.05)}.active-ad-card>div{min-width:0;display:grid;gap:4px}.active-ad-card strong{overflow-wrap:anywhere}.active-ad-card span{color:var(--muted);font-size:12px}.ad-countdown{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:20px;letter-spacing:.03em;color:var(--accent)}
@media(max-width:760px){.profile-hero-clean{grid-template-columns:auto 1fr}.profile-hero-clean .profile-actions{grid-column:1/-1}.ad-payment-summary{grid-template-columns:1fr}.active-ad-card{align-items:flex-start;flex-direction:column}.ad-countdown{font-size:18px}}

/* v5.27 identity reliability: prefixes and verification badges stay visible across cached/mobile layouts */
.role-prefix{display:inline-flex!important;align-items:center!important;vertical-align:middle!important;opacity:1!important;visibility:visible!important;}
.role-prefix-pill{padding:4px 9px!important;border-radius:999px!important;background:#eef1f4!important;color:#22272d!important;font-size:.76em!important;font-weight:850!important;white-space:nowrap!important;}
.role-prefix-brackets{padding:0!important;background:transparent!important;color:#4b545d!important;font-weight:850!important;}
.role-prefix-text{padding:0!important;background:transparent!important;color:#4b545d!important;font-weight:850!important;}
.role-prefix-dot{padding:4px 8px!important;background:#eef1f4!important;color:#36404a!important;font-weight:850!important;}
.role-prefix-dot i{display:inline-block!important;width:6px!important;height:6px!important;border-radius:50%!important;background:#e21f37!important;flex:0 0 6px!important;}
.verified-badge{position:relative!important;z-index:3!important;display:inline-grid!important;place-items:center!important;width:21px!important;height:21px!important;min-width:21px!important;border-radius:50%!important;color:#fff!important;font-size:12px!important;line-height:1!important;font-weight:900!important;vertical-align:middle!important;margin-left:4px!important;opacity:1!important;visibility:visible!important;box-shadow:0 0 0 2px #fff,0 4px 10px rgba(15,20,25,.10)!important;}
.verified-user{background:#e21f37!important;}
.verified-author{background:#b97816!important;}


/* v5.28 — public prefixes only + responsive profile identity */
.profile-title-line,.public-profile-title-line{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}.profile-title-line h1,.public-profile-title-line h1{min-width:0;overflow-wrap:anywhere;margin:0}.profile-identity-badges{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;flex-wrap:wrap}.profile-role{margin-left:0!important}.role-prefix{max-width:100%;overflow:hidden;text-overflow:ellipsis}.profile-hero-clean .profile-info{min-width:0;flex:1}.profile-hero-clean .meta{overflow-wrap:anywhere}
@media(max-width:760px){.profile-hero-clean{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:start;gap:12px!important;padding:15px!important}.profile-hero-clean .profile-big{width:60px;height:60px;font-size:22px}.profile-hero-clean .profile-title-line{display:block}.profile-hero-clean .profile-title-line h1{font-size:24px;line-height:1.08;margin:0 0 7px}.profile-hero-clean .profile-identity-badges{display:flex}.profile-hero-clean .profile-actions{grid-column:1/-1;width:100%;margin-top:2px;display:grid;grid-template-columns:1fr;gap:8px}.profile-hero-clean .profile-actions .btn{width:100%;min-height:46px}}
@media(max-width:420px){.profile-hero-clean{grid-template-columns:54px minmax(0,1fr)!important}.profile-hero-clean .profile-big{width:52px;height:52px;font-size:19px}.profile-hero-clean .profile-title-line h1{font-size:21px}.role-prefix-pill{font-size:11px!important;padding:4px 7px!important}}

/* v5.29 — monetization, subscriptions and integrations */
.ad-admin-stats{margin:0 0 14px}.admin-ad-thumb{width:82px;height:46px;object-fit:cover;border-radius:10px;display:block;margin-bottom:6px;border:1px solid var(--line)}.notify-sub-btn{font-size:11px}.integration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 14px}.integration-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:17px 18px;border:1px solid var(--line);border-radius:18px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(20,25,30,.05);transition:transform .2s ease,box-shadow .2s ease}.integration-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(20,25,30,.1)}.integration-card small{display:block;color:var(--muted);margin-top:3px}.integration-card b{font-size:19px}.integration-ico{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f3f5f7;font-weight:900}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.subscription-card-actions{display:flex;gap:7px;flex-wrap:wrap}.subscription-card-actions .btn{flex:0 0 auto}
@media(max-width:900px){.integration-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.integration-grid{grid-template-columns:1fr}.subscription-card-actions{display:grid;grid-template-columns:1fr}.subscription-card-actions .btn{width:100%}.admin-ad-thumb{width:100px;height:56px}}


/* v5.30 identity system: public prefix + verification badges */
.admin-identity-badges,.profile-identity-badges,.public-profile-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;margin-top:5px}
.admin-identity-badges .role-prefix,.profile-identity-badges .role-prefix,.public-profile-identity .role-prefix{display:inline-flex!important;visibility:visible!important;opacity:1!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.verified-badge{display:inline-grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:50%!important;font-size:13px!important;font-weight:900!important;line-height:1!important;color:#fff!important;visibility:visible!important;opacity:1!important;box-shadow:0 0 0 2px #fff,0 3px 9px rgba(20,25,30,.18)!important}
.verified-user{background:#1f6feb!important}.verified-author{background:#b87819!important}
.identity-admin-preview{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:13px 14px;margin:0 0 13px;border:1px solid var(--line);border-radius:14px;background:#fafbfc}
.identity-admin-preview strong{font-size:18px}.identity-admin-preview .verified-badge{margin-left:0!important}
.admin-user-actions{align-items:center}.admin-user-actions form{margin:0}
@media(max-width:700px){.identity-admin-preview{align-items:flex-start}.identity-admin-preview strong{width:100%}.profile-identity-badges{margin-top:4px}.public-profile-identity{margin-top:4px}}

/* v5.30 user-management cleanup */
.inline-system-access{display:flex;flex-direction:column;gap:2px;min-width:140px}.inline-system-access .eyebrow{font-size:10px}.admin-private-role{font-size:11px;color:var(--muted)}
.prefix-save-form{grid-template-columns:minmax(150px,.7fr) minmax(180px,1.2fr) minmax(110px,.6fr) auto auto!important}.prefix-quick-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.prefix-quick-presets button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 9px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;color:#505a64}.prefix-quick-presets button:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(10,15,20,.06)}
@media(max-width:980px){.prefix-save-form{grid-template-columns:1fr 1fr!important}.prefix-save-form .inline-system-access{grid-column:1/-1}.prefix-save-form .btn{width:100%}}
@media(max-width:700px){.prefix-save-form{grid-template-columns:1fr!important}.prefix-save-form .inline-prefix-input,.prefix-save-form .inline-prefix-style,.prefix-save-form .btn{width:100%}}

/* v5.31: report button on other profiles */
.profile-report-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:#e3e6e9;color:#555d66;background:#f7f8f9;}
.profile-report-btn:hover{transform:translateY(-1px);background:#fff;border-color:#cfd4d9;color:#1f252b;box-shadow:0 8px 18px rgba(20,25,30,.08)}
@media(max-width:760px){.public-profile-actions{display:grid;grid-template-columns:1fr;gap:8px}.profile-report-btn{width:100%;}}

/* v5.32 — economy center and finance UX */
.economy-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.economy-mini-grid>div{padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fafbfc;display:grid;gap:4px}.economy-mini-grid span,.economy-kpi-list span{color:var(--muted);font-size:11px}.economy-mini-grid b{font-size:20px}.economy-kpi-list{display:grid;gap:8px}.economy-kpi-list>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #eef0f2}.economy-kpi-list>div:last-child{border-bottom:0}.economy-kpi-list strong{font-size:19px}.economy-bars{display:grid;gap:5px;max-height:420px;overflow:auto}.economy-bar-row{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:9px}.economy-bar-row>span{font-size:10px;color:var(--muted)}.economy-bar-stack{height:14px;border-radius:999px;background:#eef1f3;overflow:hidden;position:relative}.economy-bar-stack i,.economy-bar-stack b{display:block;height:50%;max-width:100%;border-radius:999px}.economy-bar-stack i{background:#222}.economy-bar-stack b{background:#b8bec5}.economy-legend{display:flex;gap:15px;margin-top:11px;color:var(--muted);font-size:11px}.economy-legend i,.economy-legend b{display:inline-block;width:9px;height:9px;border-radius:50%;background:#222;margin-right:4px}.economy-legend b{background:#b8bec5}@media(max-width:900px){.economy-mini-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.economy-mini-grid{grid-template-columns:1fr}.economy-home-card .panel-head{align-items:flex-start}.economy-bar-row{grid-template-columns:38px 1fr}}

/* v5.32 wallet economy UX */
.wallet-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}.wallet-summary-card{padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,#f8fafb);box-shadow:0 8px 24px rgba(20,25,30,.05);display:grid;gap:5px}.wallet-summary-card span{font-size:11px;color:var(--muted)}.wallet-summary-card strong{font-size:22px}@media(max-width:650px){.wallet-summary-grid{grid-template-columns:1fr}.wallet-summary-card strong{font-size:20px}}


/* v5.34 admin operations layer */
.admin-command-center,.admin-bulk-toolbar{background:linear-gradient(145deg,#fff,#f7f8fa);border:1px solid var(--line,#e5e7eb);border-radius:20px;padding:20px;margin:0 0 18px}.command-center-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.ops-metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.ops-metric-grid>a{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line,#e5e7eb);border-radius:14px;background:#fff;text-decoration:none;color:inherit}.ops-metric-grid>a:hover{transform:translateY(-1px)}.ops-metric-grid span{font-size:12px;color:#68707a}.ops-metric-grid b{font-size:25px}.ops-metric-grid small{font-size:11px;color:#8b929a}.admin-live-strip{display:flex;gap:8px;margin:10px 0 2px}.admin-live-strip span{flex:1;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:10px;color:#fff;font-size:11px}.admin-live-strip i{font-style:normal;font-weight:800}.admin-bulk-toolbar{display:grid;grid-template-columns:1.2fr .8fr 1.4fr auto;gap:10px;align-items:center}.admin-bulk-toolbar>div{display:flex;flex-direction:column;gap:3px}.admin-bulk-toolbar select,.admin-bulk-toolbar input{min-height:42px;border:1px solid var(--line,#dfe3e8);border-radius:10px;padding:0 12px;background:#fff}.users-table th:first-child,.users-table td:first-child{text-align:center}.table-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.status-badge{white-space:nowrap}
@media(max-width:1100px){.ops-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-bulk-toolbar{grid-template-columns:1fr 1fr}.admin-bulk-toolbar input{grid-column:1/-1}}
@media(max-width:700px){.ops-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.command-center-title{flex-direction:column}.admin-bulk-toolbar{grid-template-columns:1fr}.admin-bulk-toolbar input{grid-column:auto}}

/* v5.35 — public site UX overhaul (admin untouched) */
.public-section-bar{background:rgba(255,255,255,.96);border-bottom:1px solid #eceff1;position:sticky;top:68px;z-index:70;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.public-section-bar-in{display:flex;align-items:center;gap:7px;min-height:42px;overflow:auto;scrollbar-width:none;white-space:nowrap}
.public-section-bar-in::-webkit-scrollbar{display:none}.public-section-bar a{font-size:12px;color:#667079;padding:7px 10px;border-radius:999px}.public-section-bar a:hover{background:#f2f4f6;color:var(--ink)}
.public-section-all{font-weight:800;color:var(--accent)!important;background:rgba(250,43,58,.06)}.public-section-spacer{margin-left:auto}.public-section-personal{font-weight:700;background:#f5f6f7}.public-section-personal b{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;margin-left:4px}
.site-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;color:var(--muted);font-size:12px}.site-context a{color:#5d6670}.site-context a:hover{color:var(--accent)}.site-context strong{color:var(--ink)}
.back-to-top{position:fixed;right:18px;bottom:78px;z-index:85;width:42px;height:42px;border-radius:13px;border:1px solid var(--line);background:#fff;color:var(--ink);box-shadow:0 12px 30px rgba(20,25,30,.12);font-size:20px;font-weight:800;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}.back-to-top.is-visible{opacity:1;visibility:visible;transform:none}.back-to-top:hover{transform:translateY(-2px)}
.page-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}.page-actions .btn{min-height:40px}.ghost-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:#4f5861;border-radius:10px;padding:10px 13px;font-weight:750;cursor:pointer}.ghost-action:hover{border-color:#cfd5da;box-shadow:0 8px 18px rgba(20,25,30,.06)}
.reading-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:120;pointer-events:none}.reading-progress i{display:block;height:100%;width:0;background:var(--accent);transition:width .08s linear}.article-body img{border-radius:14px}.article-body blockquote{margin:18px 0;padding:13px 16px;border-left:4px solid var(--accent);background:#f7f8f9;border-radius:0 12px 12px 0}.article-body table{display:block;overflow:auto;max-width:100%}.article-title{max-width:900px}.article-meta-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.share-pop{position:fixed;inset:auto 18px 72px auto;z-index:100;background:#fff;border:1px solid var(--line);box-shadow:0 18px 50px rgba(20,25,30,.15);border-radius:16px;padding:8px;display:grid;gap:5px;min-width:190px}.share-pop[hidden]{display:none}.share-pop button{border:0;background:transparent;text-align:left;border-radius:10px;padding:10px;font:inherit;cursor:pointer}.share-pop button:hover{background:#f3f5f6}
.search-empty-guide,.feature-callout{display:grid;gap:8px;border:1px dashed #d8dde2;border-radius:18px;background:#fafbfc;padding:22px;margin-top:14px}.search-empty-guide strong,.feature-callout strong{font-size:18px}.search-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.search-suggestions a{padding:7px 10px;border-radius:999px;background:#f3f5f7;color:#5e6871;font-size:12px}
.account-progress{height:8px;border-radius:999px;background:#eef0f2;overflow:hidden}.account-progress i{display:block;height:100%;background:var(--accent);border-radius:999px;width:0}.account-progress-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px;margin-top:6px}.mini-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mini-kpi{padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.mini-kpi span{display:block;color:var(--muted);font-size:11px}.mini-kpi strong{display:block;margin-top:3px;font-size:21px}
.support-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.support-topic{display:block;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}.support-topic:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,25,30,.07)}.support-topic strong{display:block}.support-topic span{display:block;color:var(--muted);font-size:11px;margin-top:3px}
@media(max-width:800px){.public-section-bar{top:0;position:relative}.public-section-spacer{display:none}.public-section-personal{margin-left:0}.support-topic-grid{grid-template-columns:1fr 1fr}.mini-kpi-grid{grid-template-columns:1fr 1fr}.back-to-top{right:12px;bottom:72px}}
@media(max-width:520px){.public-section-bar-in{padding:0 4px}.support-topic-grid{grid-template-columns:1fr}.mini-kpi-grid{grid-template-columns:1fr}.back-to-top{width:38px;height:38px;border-radius:12px}.page-actions{display:grid;grid-template-columns:1fr}.page-actions>*{width:100%}}

/* v5.35 page-specific public polish */
.site-welcome-strip{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 17px;margin:0 0 18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#fff,#f7f9fa);box-shadow:0 8px 24px rgba(20,25,30,.05)}
.site-welcome-strip>div:first-child{display:grid;gap:3px}.site-welcome-strip strong{font-size:19px}.site-welcome-strip span:last-child{color:var(--muted);font-size:12px}.site-welcome-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.article-actions{margin:14px 0 6px}.article-actions .ghost-action{font-size:12px}.article-actions form{margin:0}.article-actions span{color:var(--muted)}
@media(max-width:700px){.site-welcome-strip{align-items:flex-start;flex-direction:column}.site-welcome-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.site-welcome-actions .btn:last-child{grid-column:1/-1}.article-actions{display:grid;grid-template-columns:1fr 1fr}.article-actions>*{width:100%}}

/* v5.35 page-specific public polish */
.site-welcome-strip{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 17px;margin:0 0 18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#fff,#f7f9fa);box-shadow:0 8px 24px rgba(20,25,30,.05)}
.site-welcome-strip>div:first-child{display:grid;gap:3px}.site-welcome-strip strong{font-size:19px}.site-welcome-strip span:last-child{color:var(--muted);font-size:12px}.site-welcome-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.article-actions{margin:14px 0 6px}.article-actions .ghost-action{font-size:12px}.article-actions form{margin:0}.article-actions span{color:var(--muted)}
@media(max-width:700px){.site-welcome-strip{align-items:flex-start;flex-direction:column}.site-welcome-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.site-welcome-actions .btn:last-child{grid-column:1/-1}.article-actions{display:grid;grid-template-columns:1fr 1fr}.article-actions>*{width:100%}}

/* v5.35 account/reading refinements */
.account-completion{margin:14px 0 16px}.account-progress-meta strong{color:var(--ink)}
.print-only{display:none}@media print{.top,.public-section-bar,.footer,.mobile-nav,.support-fab,.back-to-top,.paid-notification-ticker,.page-actions,.comments{display:none!important}.main{padding:0!important}.article{box-shadow:none!important;border:0!important}.print-only{display:block}}

/* v5.37 — dedicated author management center */
.author-control-stats{margin-bottom:14px}.admin-tabbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.admin-tabbar a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:inherit;text-decoration:none;font-weight:700}.admin-tabbar a.active{background:#20242a;color:#fff;border-color:#20242a}.admin-tabbar a b{font-size:10px;min-width:19px;height:19px;padding:0 5px;display:inline-grid;place-items:center;border-radius:999px;background:#eef1f4;color:#4c555e}.admin-tabbar a.active b{background:rgba(255,255,255,.14);color:#fff}.author-directory{margin-top:14px}.authors-table td{vertical-align:middle}.author-directory-main{display:flex;align-items:center;gap:10px;min-width:220px}.author-directory-main>div{display:grid;gap:2px}.author-directory-main strong{font-size:13px}.author-directory-main span,.author-directory-main small{font-size:11px;color:var(--muted)}.author-status-manager{margin-top:14px}.author-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.author-status-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}.author-status-card>div{display:grid;gap:2px;min-width:0}.author-status-card strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-status-card span{font-size:11px;color:var(--muted)}.author-status-card form{display:flex;gap:7px;align-items:center}.author-status-card select{min-width:145px}.author-app-actions>div .meta{white-space:normal}.admin-filter-main{grid-template-columns:minmax(0,2fr) minmax(170px,1fr)}@media(max-width:850px){.author-status-grid{grid-template-columns:1fr}}@media(max-width:620px){.author-status-card{grid-template-columns:1fr}.author-status-card form{flex-direction:column;align-items:stretch}.author-status-card select{width:100%}.admin-tabbar{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.admin-tabbar a{white-space:nowrap}}


/* v5.39 public ecosystem */
.ecosystem-nav{background:#fff;border-bottom:1px solid rgba(20,30,40,.08);position:sticky;top:0;z-index:50}.ecosystem-nav-in{display:flex;gap:8px;overflow:auto;padding:8px 0}.ecosystem-nav a{white-space:nowrap;text-decoration:none;color:inherit;padding:9px 12px;border-radius:12px;background:#f5f7f9;font-size:13px;font-weight:700}.ecosystem-nav a:hover{transform:translateY(-1px);background:#eef2f6}.ecosystem-page{display:grid;gap:18px}.ecosystem-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px}.ecosystem-hero h1{margin:4px 0 8px}.ecosystem-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.ecosystem-tabs{display:flex;gap:8px;flex-wrap:wrap}.ecosystem-tabs a{padding:10px 14px;border:1px solid rgba(20,30,40,.09);border-radius:999px;text-decoration:none;color:inherit;background:#fff;font-weight:700}.ecosystem-tabs a.active{box-shadow:inset 0 -2px 0 currentColor}.ecosystem-grid-2{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px}.ecosystem-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ecosystem-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.eco-category{padding:16px;border:1px solid rgba(20,30,40,.08);border-radius:16px;text-decoration:none;color:inherit;background:#fafbfc}.eco-category.active{outline:2px solid rgba(40,100,230,.18);background:#fff}.eco-category strong,.eco-category span{display:block}.eco-category span{color:#6d7680;font-size:13px;margin-top:5px}.topic-list{display:grid}.topic-row{display:grid;grid-template-columns:40px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid rgba(20,30,40,.08);text-decoration:none;color:inherit;align-items:center}.topic-row:last-child{border-bottom:0}.topic-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.topic-avatar{display:flex;justify-content:center}.topic-stats{display:grid;grid-template-columns:auto auto;gap:3px 10px;text-align:right;color:#7a838d;font-size:11px}.topic-stats strong{color:#202830;font-size:14px}.pill-accent,.pill-muted{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800}.pill-accent{background:#edf5ff;color:#2466c7}.pill-muted{background:#f0f1f2;color:#69717a}.breadcrumbs{display:flex;gap:9px;color:#79828c;font-size:13px}.breadcrumbs a{color:inherit}.topic-hero{display:grid;gap:10px}.topic-kicker,.topic-hero-meta{color:#77808a;font-size:13px}.topic-hero-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.topic-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.forum-posts{display:grid;gap:12px}.forum-post{display:grid;grid-template-columns:170px 1fr;gap:22px;padding:20px}.forum-post aside{display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center}.forum-post-body{line-height:1.7;white-space:normal}.inline-search{display:flex;gap:8px}.inline-search input{min-width:180px}.marketplace-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.market-card{overflow:hidden;border:1px solid rgba(20,30,40,.08);background:#fff;border-radius:18px}.market-card-image{display:block;aspect-ratio:16/10;background:#f4f6f8}.market-card-image img{width:100%;height:100%;object-fit:cover}.market-card-body{padding:15px}.market-card-body h2{font-size:18px;margin:6px 0}.service-grid,.auto-grid,.realty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.service-card{text-decoration:none;color:inherit;display:grid;gap:14px}.service-card-top{display:flex;gap:12px}.service-card h2{margin:4px 0;font-size:19px}.service-card-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.auto-card,.realty-card{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:stretch}.auto-card-image,.realty-card-media{min-height:180px;background:linear-gradient(135deg,#f5f7fa,#e9edf2);display:flex;align-items:center;justify-content:center;font-size:48px;border-radius:15px}.auto-specs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.auto-specs span{padding:7px 9px;background:#f3f5f7;border-radius:9px;font-size:12px}.listing-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px}.listing-image{border-radius:18px;overflow:hidden;background:#f5f6f8;min-height:340px}.listing-image img{width:100%;height:100%;object-fit:cover}.listing-info{display:flex;flex-direction:column;gap:10px}.listing-price{font-size:34px;font-weight:900}.listing-seller-card{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid rgba(20,30,40,.08);border-radius:15px}.listing-seller-card div{display:grid;gap:3px}.listing-seller-card a{font-size:12px}.review-list{display:grid;gap:2px}.review-item{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid rgba(20,30,40,.07)}.review-item strong{margin-right:8px}.stars{letter-spacing:1px}.compare-table-wrap{overflow:auto}.compare-table{width:100%;border-collapse:collapse;min-width:760px}.compare-table th,.compare-table td{padding:14px;border-bottom:1px solid rgba(20,30,40,.08);border-right:1px solid rgba(20,30,40,.06);vertical-align:top;text-align:left}.compare-table th:first-child,.compare-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.compare-table th img{width:90px;height:70px;object-fit:cover;border-radius:12px;display:block;margin-bottom:8px}.compare-table th strong,.compare-table th span{display:block}.compare-table th span{margin-top:4px;font-weight:800}.saved-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid rgba(20,30,40,.07);text-decoration:none;color:inherit;flex-direction:column}.saved-row span{color:#77818b;font-size:12px}.feed-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feed-news-card{display:grid;grid-template-columns:150px 1fr;gap:13px;text-decoration:none;color:inherit;border:1px solid rgba(20,30,40,.08);padding:10px;border-radius:15px}.feed-news-card img{width:150px;height:105px;object-fit:cover;border-radius:10px}.feed-news-card h3{margin:5px 0;font-size:17px}.feed-news-card p{font-size:13px;color:#68727c;margin:0 0 8px}.product-card-tools{margin:8px 0}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.site-welcome-strip,.portal-rail,.quick-cards,.content-grid{position:relative}.market-search{display:grid;gap:10px}.market-search-main{display:flex;gap:8px}.market-search-main input{flex:1}.market-filters{display:flex;gap:8px;flex-wrap:wrap}.market-filters>*{min-width:150px;flex:1}.empty{display:grid;gap:7px;padding:24px;color:#69737d;text-align:center}.empty strong{color:#20262d;font-size:17px}.ecosystem-three .panel{min-width:0}
.forum-post-body{min-width:0}.post-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid rgba(20,30,40,.07)}.post-actions button{border:0;background:none;padding:0;cursor:pointer;font:inherit;color:#68737d}.post-actions a:hover,.post-actions button:hover{color:var(--accent)}.post-reply-ref{display:inline-flex;margin-top:10px;padding:5px 9px;border-radius:8px;background:#f4f6f8;color:#65707a;font-size:11px}.post-edit-form textarea{min-height:120px}.forum-post:target{box-shadow:0 0 0 3px rgba(250,43,58,.16),var(--shadow)}.top-search>span{display:grid;place-items:center;width:34px;color:#7e8790;font-size:18px}.top-search button{cursor:pointer;color:#4c555d}.top-search button:hover{color:var(--accent)}
@media(max-width:900px){.ecosystem-grid-2,.listing-detail{grid-template-columns:1fr}.ecosystem-three{grid-template-columns:1fr}.service-grid,.auto-grid,.realty-grid,.marketplace-grid{grid-template-columns:1fr!important}.ecosystem-hero{align-items:flex-start;flex-direction:column}.forum-post{grid-template-columns:1fr}.forum-post aside{flex-direction:row;text-align:left}.feed-news-grid,.ecosystem-category-grid{grid-template-columns:1fr}.feed-news-card{grid-template-columns:110px 1fr}.feed-news-card img{width:110px;height:90px}.form-grid-2{grid-template-columns:1fr}.listing-image{min-height:240px}.inline-search{width:100%}.inline-search input{flex:1}}

/* v5.40 admin ecosystem management */
.ecosystem-metrics{margin-bottom:18px}.ecosystem-queue{margin-top:0}.ecosystem-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ecosystem-admin-grid .integration-card{min-height:92px}.admin-page-head + .ecosystem-metrics{margin-top:2px}
.admin-panel .panel-head{gap:12px}.admin-panel .panel-head h2{margin:0}.admin-filter-bar{margin:0 0 14px}.admin-filter-main{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:10px;align-items:end}.admin-filter-actions{display:flex;gap:8px;align-items:end}.admin-filter-actions .btn{white-space:nowrap}
@media(max-width:1000px){.ecosystem-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.ecosystem-admin-grid,.admin-filter-main{grid-template-columns:1fr}.ecosystem-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v5.41 listing/contact and clear marketplace IA */
.market-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.market-section-card{display:block;padding:22px;text-decoration:none}.market-section-card>span{font-size:34px}.market-section-card h2{margin:10px 0 6px}.market-section-card p{margin:0;color:var(--muted,#6b7280)}.market-product-card{border-style:dashed}.listing-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.listing-gallery img{width:100%;height:78px;object-fit:cover;border-radius:10px;display:block}.listing-contact-card{margin:14px 0;padding:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.listing-contact-card strong{width:100%}.listing-contact-card span,.listing-contact-card small{color:var(--muted,#6b7280)}@media(max-width:800px){.market-section-grid{grid-template-columns:1fr}.listing-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* v5.42 global UX polish and clearer information architecture */
body{background:#f5f7fa}
.top{backdrop-filter:saturate(1.1) blur(10px)}
.public-section-bar{position:sticky;top:64px;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 1px 0 rgba(20,30,40,.05)}
.public-section-bar-in{gap:6px}
.public-section-bar a{transition:background .18s ease,transform .18s ease}
.public-section-bar a:hover{transform:translateY(-1px)}
.ecosystem-nav-in{align-items:center}
.eco-nav-label{font-size:11px;font-weight:900;color:#88929d;text-transform:uppercase;letter-spacing:.08em;padding:0 4px;white-space:nowrap}
.eco-nav-divider{height:22px;width:1px;background:rgba(20,30,40,.12);margin:0 3px;flex:0 0 auto}
.ecosystem-nav a{transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.ecosystem-nav a:hover{box-shadow:0 6px 16px rgba(20,30,40,.07)}
.main{padding-top:22px}
.panel,.site-welcome-strip,.portal-intro,.ecosystem-home-card,.market-card{box-shadow:0 10px 32px rgba(28,39,50,.055)}
.portal-intro{border:1px solid rgba(20,30,40,.06);border-radius:24px;background:linear-gradient(135deg,#fff,#f8fafc);padding:28px}
.quick-cards a{border:1px solid rgba(20,30,40,.07);transition:transform .18s ease,box-shadow .18s ease}
.quick-cards a:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(20,30,40,.07)}
.discovery-panel{border:1px solid rgba(20,30,40,.06);box-shadow:0 12px 34px rgba(28,39,50,.05)}
.btn{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.btn:hover{transform:translateY(-1px)}
.field input,.field select,.field textarea{transition:border-color .15s ease,box-shadow .15s ease}
.field input:focus,.field select:focus,.field textarea:focus{box-shadow:0 0 0 4px rgba(38,99,214,.08)}
.flash{box-shadow:0 8px 20px rgba(20,30,40,.05)}
.empty{border:1px dashed rgba(20,30,40,.12);border-radius:16px;background:rgba(255,255,255,.72)}
@media(max-width:860px){.public-section-bar{top:56px}.eco-nav-label{display:none}.eco-nav-divider{display:none}.main{padding-top:16px}}
/* v5.43 unified catalog navigation */
.main-nav .nav-menu{position:relative;display:flex;align-items:center}
.catalog-menu{position:relative}
.catalog-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;font-weight:650;color:#4f565e}
.catalog-menu summary::-webkit-details-marker{display:none}
.catalog-menu[open] summary{color:var(--accent)}
.nav-chevron{font-size:12px;transition:transform .18s ease}
.catalog-menu[open] .nav-chevron{transform:rotate(180deg)}
.catalog-dropdown{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);width:min(430px,calc(100vw - 28px));padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(21,28,36,.14);display:grid;grid-template-columns:1fr;z-index:80}
.catalog-dropdown:before{content:"";position:absolute;top:-6px;left:50%;width:12px;height:12px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:translateX(-50%) rotate(45deg)}
.catalog-dropdown>a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:11px;color:inherit;text-decoration:none}
.catalog-dropdown>a:hover{background:#f5f7f9;color:inherit}
.catalog-dropdown>a>span{width:30px;height:30px;border-radius:9px;background:#f1f3f5;display:grid;place-items:center;flex:0 0 auto}
.catalog-dropdown a div{display:grid;gap:1px}
.catalog-dropdown strong{font-size:13px}
.catalog-dropdown small{font-size:11px;color:var(--muted)}
.catalog-dropdown-divider{height:1px;background:var(--line);margin:5px 8px}
@media(max-width:850px){
  .top-in{flex-wrap:wrap;padding:8px 0 10px;gap:10px}
  .main-nav{order:3;width:100%;overflow:auto;gap:15px;padding-bottom:2px}
  .catalog-dropdown{left:0;transform:none;max-width:calc(100vw - 28px)}
  .catalog-dropdown:before{left:82px}
}
/* v5.45 — Author center redesign */
.author-dashboard-v2{max-width:1180px}.author-dashboard-v2 .author-dashboard-hero{padding:28px 30px;background:radial-gradient(circle at 95% 15%,rgba(226,31,55,.10),transparent 34%),linear-gradient(135deg,#fff,#f6f7f8);border-radius:22px}.author-hero-copy{min-width:0}.author-hero-copy h1{margin:.18em 0 .12em}.author-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.author-hero-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.author-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;border:1px solid #e1e5e8;background:#fff;color:#56606a;font-size:11px;font-weight:800}.author-chip.success{border-color:#d4e8d9;background:#f5fbf6;color:#28763c}.author-chip.verified{border-color:#ecdcc1;background:#fffaf0;color:#9a681d}.author-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.author-metric{padding:18px 19px}.author-metric span,.author-metric small{display:block;color:var(--muted);font-size:11px}.author-metric strong{display:block;margin:4px 0 3px;font-size:31px;letter-spacing:-.02em}.author-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);gap:12px}.author-main-column,.author-side-column{display:grid;gap:12px;align-content:start}.author-section-card{padding:19px}.author-work-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 -2px 12px}.author-work-stats span{display:grid;gap:3px;padding:11px;border:1px solid #eceff1;border-radius:12px;background:#fafbfc;color:var(--muted);font-size:10px}.author-work-stats b{font-size:17px;color:#1f252a}.author-post-list-v2{border-top:1px solid #eef0f2}.author-post-row{display:flex;align-items:center;gap:14px;padding:13px 4px;border-bottom:1px solid #eef0f2;color:inherit}.author-post-row:last-child{border-bottom:0}.author-post-info{min-width:0;flex:1}.author-post-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.author-post-info span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.author-post-num{text-align:right;display:grid;min-width:64px}.author-post-num b{font-size:14px}.author-post-num small{color:var(--muted);font-size:9px}.author-empty{padding:22px 4px}.author-ranking-list{display:grid}.author-ranking-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 2px;border-top:1px solid #eef0f2;color:inherit}.author-ranking-row:first-child{border-top:0}.author-ranking-row .rank{font-size:12px;font-weight:900;color:#9299a0}.author-ranking-row div{min-width:0}.author-ranking-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-ranking-row small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.author-ranking-row>b{font-size:12px}.author-checklist-card{background:linear-gradient(180deg,#fff,#fafbfc)}.author-progress{height:8px;border-radius:999px;background:#eceff1;overflow:hidden;margin:14px 0 7px}.author-progress div{height:100%;background:#1f252a;border-radius:inherit}.author-checklist-card>strong{font-size:14px}.author-checklist-card p,.author-tip-card p{color:#606972;font-size:12px;line-height:1.55;margin:10px 0 14px}.author-tool-list{display:grid;gap:4px;margin-top:9px}.author-tool-list a{display:flex;align-items:center;gap:10px;padding:10px 8px;border-top:1px solid #eef0f2;color:inherit}.author-tool-list a:first-child{border-top:0}.author-tool-list a>span{width:32px;height:32px;border-radius:10px;background:#f1f3f4;display:grid;place-items:center;font-weight:900}.author-tool-list b,.author-tool-list small{display:block}.author-tool-list b{font-size:12px}.author-tool-list small{font-size:10px;color:var(--muted);margin-top:2px}@media(max-width:900px){.author-metric-grid{grid-template-columns:1fr 1fr}.author-dashboard-columns{grid-template-columns:1fr}.author-hero-actions{justify-content:flex-start;margin-top:15px}}@media(max-width:620px){.author-dashboard-v2 .author-dashboard-hero{padding:22px}.author-metric-grid{grid-template-columns:1fr 1fr}.author-work-stats{grid-template-columns:1fr 1fr}.author-hero-actions .btn{flex:1 1 100%}.author-post-row{align-items:flex-start}.author-post-num{min-width:55px}}
/* v5.45 — Author management center */
.author-admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 12px}.author-admin-kpis .kpi{padding:17px 18px;color:inherit;text-decoration:none}.author-admin-kpis .kpi span,.author-admin-kpis .kpi small{display:block;color:var(--muted);font-size:10px}.author-admin-kpis .kpi strong{display:block;font-size:30px;margin:4px 0}.author-admin-kpis .kpi.attention{background:linear-gradient(135deg,#fff9fa,#fff);border-color:#f0d6db}.author-admin-overview-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:12px}.author-admin-focus{padding:18px}.author-queue-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #eef0f2}.author-queue-item:first-of-type{border-top:0}.author-queue-item .queue-icon{width:30px;height:30px;border-radius:10px;background:#f3f4f5;display:grid;place-items:center;font-weight:900}.author-queue-item strong{font-size:13px}.author-queue-item p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.author-queue-item.muted .queue-icon{background:#eef8f0;color:#347340}.author-admin-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.author-admin-actions-grid .command-card{min-height:92px}.author-admin-filter{margin-top:12px}.author-app-list-v2{display:grid;gap:10px;margin-top:12px}.author-app-card-v2{padding:18px}.author-app-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:1}.author-app-meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.author-app-meta-grid span{display:grid;gap:3px;padding:10px;border:1px solid #eceff1;border-radius:11px;background:#fafbfc;font-size:10px;color:var(--muted)}.author-app-meta-grid b{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#8a9198}.author-app-body{padding-top:12px;border-top:1px solid #eef0f2}.author-app-body>div>strong,.author-app-columns strong{font-size:11px}.author-app-body p{font-size:12px;line-height:1.55;color:#4f5860}.author-app-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0}.author-app-columns>div{display:grid;gap:3px}.author-app-columns span{font-size:11px;color:var(--muted);line-height:1.4}.author-app-actions-v2{border-top:1px solid #eef0f2;margin-top:14px;padding-top:14px}.author-app-actions-v2 textarea{width:100%;box-sizing:border-box;margin-bottom:9px}.author-app-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #eef0f2;margin-top:14px;padding-top:12px}.author-bulk-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.author-bulk-bar>div{display:grid;gap:2px;margin-right:auto}.author-bulk-bar>div strong{font-size:12px}.author-bulk-bar>div span{font-size:10px;color:var(--muted)}.authors-table-v2 th:first-child,.authors-table-v2 td:first-child{width:36px}.author-directory-v2{margin-top:0}.authors-table-v2 td{vertical-align:middle}.author-admin-tabs{margin-bottom:0}.author-admin-tabs a{min-width:92px;justify-content:center}.admin-authors-v2 .panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.admin-authors-v2 .author-directory-main small{display:block}.admin-authors-v2 .verified-label{font-size:11px;font-weight:800;color:#a2691d}@media(max-width:980px){.author-admin-kpis{grid-template-columns:1fr 1fr}.author-admin-overview-grid{grid-template-columns:1fr}.author-app-meta-grid{grid-template-columns:1fr 1fr}.author-app-columns{grid-template-columns:1fr 1fr}}@media(max-width:650px){.author-admin-kpis{grid-template-columns:1fr 1fr}.author-admin-actions-grid{grid-template-columns:1fr}.author-app-meta-grid,.author-app-columns{grid-template-columns:1fr}.author-app-heading{flex-direction:column}.author-queue-item{grid-template-columns:32px 1fr}.author-queue-item .link-muted{grid-column:2}.author-bulk-bar{align-items:stretch}.author-bulk-bar select,.author-bulk-bar button{width:100%}}


/* v5.46 — global UI restoration, unified search and clearer information architecture */
.home-hero-v2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:24px;align-items:center;padding:34px 36px;margin:0 0 20px;border:1px solid rgba(20,30,40,.07);border-radius:24px;background:radial-gradient(circle at 90% 15%,rgba(250,43,58,.10),transparent 36%),linear-gradient(135deg,#fff,#f7f9fb);box-shadow:0 18px 50px rgba(28,39,50,.08);overflow:hidden}
.home-hero-copy h1{font-size:clamp(34px,4.3vw,58px);line-height:1.02;letter-spacing:-.035em;margin:6px 0 12px;max-width:820px}
.home-hero-copy p{font-size:17px;line-height:1.6;color:#5d6670;max-width:760px;margin:0}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.home-hero-map{min-height:260px;position:relative;display:grid;place-items:center}
.home-hero-core{width:108px;height:108px;border-radius:32px;display:grid;place-items:center;background:#1b1d20;color:#fff;font-size:28px;font-weight:900;box-shadow:0 20px 42px rgba(27,29,32,.22);position:relative;z-index:3}
.home-hero-orbit{position:absolute;display:grid;place-items:center;padding:11px 14px;border:1px solid rgba(20,30,40,.08);background:rgba(255,255,255,.9);border-radius:999px;font-size:12px;font-weight:850;box-shadow:0 10px 26px rgba(20,30,40,.08);animation:homeFloat 5s ease-in-out infinite}
.home-hero-orbit.orbit-1{top:24px;right:30px}.home-hero-orbit.orbit-2{bottom:26px;left:10px;animation-delay:.8s}.home-hero-orbit.orbit-3{top:50%;right:0;transform:translateY(-50%);animation-delay:1.5s}
@keyframes homeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.home-hero-orbit.orbit-3{animation:homeFloat3 5s ease-in-out 1.5s infinite}@keyframes homeFloat3{0%,100%{transform:translateY(-50%)}50%{transform:translateY(calc(-50% - 5px))}}
.ecosystem-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ecosystem-home-heading{grid-column:1/-1;display:flex;align-items:end;justify-content:space-between;margin-bottom:1px}.ecosystem-home-heading h2{margin:3px 0 0;font-size:26px}
.ecosystem-home-card{border:1px solid rgba(20,30,40,.07);transition:transform .18s ease,box-shadow .18s ease;background:linear-gradient(180deg,#fff,#fbfcfd);padding:18px;border-radius:16px}.ecosystem-home-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(20,30,40,.08)}.ecosystem-home-card b{font-size:16px;display:block}.ecosystem-home-card span{display:block;color:#66717b;font-size:12px;line-height:1.5;margin-top:6px}
.catalog-dropdown{width:min(470px,calc(100vw - 28px));padding:12px}.catalog-dropdown-group{padding:8px 10px 5px}.catalog-dropdown-group b{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#777f88}.catalog-dropdown-group small{display:block;color:#a0a7ae;font-size:10px;margin-top:2px}.market-search-context{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafb;color:#59636d}.market-search-context span{width:30px;height:30px;border-radius:9px;background:#fff;display:grid;place-items:center;font-size:16px}.market-search-context strong{font-size:12px;flex:1}.market-search-context a{white-space:nowrap}
.market-search{gap:9px}.market-filters{align-items:center}.market-filters>*{min-height:44px}.market-head{background:transparent}
.search-portal{margin-bottom:20px}.portal-search-form{margin-top:14px}.portal-search-box{display:flex;gap:8px;padding:8px;border:1px solid rgba(20,30,40,.09);border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(28,39,50,.06)}.portal-search-box span{display:grid;place-items:center;width:34px;color:#7b848d}.portal-search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit}.portal-search-box .btn{min-width:110px}
.top-search{width:min(430px,38vw);box-shadow:inset 0 0 0 1px rgba(20,30,40,.02)}.top-search input::placeholder{color:#89929a}
@media(max-width:900px){.home-hero-v2{grid-template-columns:1fr;padding:24px}.home-hero-map{min-height:210px}.ecosystem-home-grid{grid-template-columns:1fr 1fr}.ecosystem-home-heading{grid-column:1/-1}.portal-search-box{align-items:center}.portal-search-box .btn{min-width:94px}}
@media(max-width:620px){.home-hero-v2{padding:20px;border-radius:18px}.home-hero-copy p{font-size:15px}.home-hero-actions{display:grid}.home-hero-actions .btn{width:100%}.home-hero-map{display:none}.ecosystem-home-grid{grid-template-columns:1fr}.top-search{width:100%}.market-search-context{align-items:flex-start;flex-wrap:wrap}.market-search-context strong{min-width:180px}.market-search-context a{margin-left:40px}.portal-search-box{padding:6px}.portal-search-box .btn{padding:10px 12px}.public-section-bar{top:56px}}

/* v5.47 — unified catalog / clearer homepage / admin navigation */
.catalog-hub{display:grid;gap:18px}.catalog-hub-hero{padding:26px;display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f5f7f8)}.catalog-hub-search{margin:0}.catalog-hub-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.catalog-hub-card{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.catalog-hub-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,31,38,.08)}.catalog-hub-icon{font-size:27px;line-height:1}.catalog-hub-card div{flex:1}.catalog-hub-card strong{display:block}.catalog-hub-card p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.catalog-hub-card>b{font-size:20px}.home-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.home-columns .panel{min-width:0}.home-ecosystem{display:grid;gap:10px}.home-news-list{display:grid;gap:2px}.home-news-list .trend-item{padding:13px 4px}.admin-nav-section{padding:16px 14px 7px;margin-top:4px;border-top:1px solid rgba(0,0,0,.06)}.admin-nav-section:first-child{border-top:0}.admin-nav-section strong{display:block;font-size:10px;letter-spacing:.11em;text-transform:uppercase}.admin-nav-section span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.ad-choose-btn{text-align:center;text-decoration:none}.ad-public-card.is-selected{outline:2px solid var(--accent);outline-offset:1px}
@media(max-width:980px){.catalog-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns{grid-template-columns:1fr}.catalog-hub-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.catalog-hub-grid{grid-template-columns:1fr}.catalog-hub-card{padding:15px}.catalog-hub-hero{padding:20px}}

.db-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.db-health-card{display:flex;gap:12px;align-items:flex-start;min-height:108px}.db-health-card strong{display:block;font-size:16px}.db-health-card p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.db-health-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;font-weight:900;background:#eef1f3}.db-health-ok{border-color:#cfe6d9}.db-health-warn{border-color:#eadfb8}.db-health-bad{border-color:#ecc8cf}@media(max-width:700px){.db-health-grid{grid-template-columns:1fr}}

/* v5.49 unified catalog bar */
.main-nav.catalog-top-label{display:none}
.unified-catalog-bar{position:sticky;top:66px;z-index:45;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-bottom:1px solid rgba(20,30,40,.06);box-shadow:0 3px 14px rgba(20,30,40,.035)}
.unified-catalog-in{height:56px;display:flex;align-items:center;gap:18px;overflow:visible}
.unified-catalog-title{display:flex;align-items:center;gap:8px;min-width:190px;padding-right:16px;border-right:1px solid var(--line)}
.unified-catalog-icon{width:30px;height:30px;border-radius:9px;background:#f1f3f5;display:grid;place-items:center;font-size:15px}
.unified-catalog-title strong{font-size:14px}
.unified-catalog-sub{color:var(--muted);font-size:10px}
.unified-catalog-links{display:flex;align-items:center;gap:4px;overflow:auto;white-space:nowrap}
.unified-catalog-links a{display:inline-flex;align-items:center;padding:9px 11px;border-radius:9px;color:#555e66;font-size:13px;font-weight:700;transition:background .16s ease,color .16s ease,transform .16s ease}
.unified-catalog-links a:hover{background:#f2f4f6;color:#161a1d;transform:translateY(-1px)}
.unified-catalog-links a:last-child{margin-left:6px;background:#1b1d20;color:#fff}
.unified-catalog-links a:last-child:hover{background:#111315;color:#fff}
@media(max-width:900px){.unified-catalog-bar{top:56px}.unified-catalog-in{height:52px;gap:10px}.unified-catalog-title{min-width:auto;padding-right:10px}.unified-catalog-sub{display:none}.unified-catalog-links{gap:2px}.unified-catalog-links a{font-size:12px;padding:8px 9px}}
@media(max-width:620px){.unified-catalog-title strong{font-size:12px}.unified-catalog-icon{width:27px;height:27px}.unified-catalog-links a{padding:7px 8px}.top-actions{margin-left:auto}.top-profile-link{display:none}}
/* v5.50 Forum redesign — XenForo-inspired information density without copying branding */
.forum-shell,.forum-thread{display:grid;gap:16px}.forum-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;background:linear-gradient(135deg,#fff,#f5f7fa)}.forum-banner h1,.thread-hero h1{margin:4px 0 8px;font-size:30px;letter-spacing:-.02em}.forum-banner p{margin:0;max-width:760px;color:#68727c;line-height:1.6}.forum-banner-actions,.thread-actions,.form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.forum-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.forum-stats>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;gap:8px;align-items:baseline;box-shadow:0 8px 20px rgba(20,30,40,.035)}.forum-stats strong{font-size:22px}.forum-stats span{color:var(--muted);font-size:12px}.forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px}.forum-layout main,.forum-sidebar{min-width:0;display:grid;gap:16px;align-content:start}.forum-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 17px}.forum-panel-head h2{margin:4px 0 0}.forum-inline-search{display:flex;gap:6px;min-width:260px}.forum-inline-search input{min-width:0;flex:1}.icon-btn{width:42px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer}.forum-topic-list{padding:0;overflow:hidden}.xf-topic-row{display:grid;grid-template-columns:48px minmax(0,1fr) 74px 74px;gap:12px;align-items:center;padding:16px 18px;text-decoration:none;color:inherit;border-bottom:1px solid rgba(25,32,40,.07);transition:background .16s ease}.xf-topic-row:last-child{border-bottom:0}.xf-topic-row:hover{background:#fafbfc}.xf-topic-main{min-width:0}.xf-topic-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.xf-topic-title strong{font-size:16px}.xf-topic-meta{display:flex;gap:7px;color:#7a838d;font-size:12px;margin-top:4px;flex-wrap:wrap}.xf-topic-excerpt{margin-top:7px;color:#6c7680;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xf-topic-avatar{display:flex;justify-content:center}.avatar-md{width:44px!important;height:44px!important;border-radius:50%;display:grid;place-items:center}.xf-topic-stat{text-align:center;border-left:1px solid rgba(25,32,40,.05);padding-left:10px}.xf-topic-stat strong{display:block;font-size:18px}.xf-topic-stat span{display:block;color:#88919a;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.xf-category{display:flex;gap:12px;align-items:center;padding:13px 14px;border-radius:12px;text-decoration:none;color:inherit;border:1px solid transparent}.xf-category:hover{background:#fafbfc;border-color:var(--line)}.xf-category.active{background:#f1f6ff;border-color:#d9e8ff}.xf-category span:last-child{min-width:0}.xf-category b,.xf-category small{display:block}.xf-category small{margin-top:3px;color:var(--muted);font-size:11px}.xf-cat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f1f3f5}.forum-help p{color:#6b7580;font-size:13px;line-height:1.65;margin-bottom:0}.forum-composer{padding:20px}.thread-hero{padding:22px}.thread-hero-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.thread-author-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#717b85;font-size:12px}.thread-body{margin-top:16px;padding-top:16px;border-top:1px solid rgba(25,32,40,.07);line-height:1.75;font-size:16px}.thread-posts{display:grid;gap:10px}.xf-post{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:0;overflow:hidden}.xf-post-user{background:#fafbfc;border-right:1px solid rgba(25,32,40,.07);padding:20px 14px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.xf-post-user .public-profile-avatar{width:70px!important;height:70px!important}.xf-post-content{padding:18px 20px;min-width:0}.xf-post-top{display:flex;justify-content:space-between;gap:10px}.post-text{line-height:1.75;font-size:15px;overflow-wrap:anywhere}.post-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid rgba(25,32,40,.07)}.post-actions button{border:0;background:none;padding:0;cursor:pointer;font:inherit;color:#69747e}.post-actions a:hover,.post-actions button:hover{color:var(--accent)}.post-reply-ref{display:inline-flex;margin:10px 0;padding:7px 10px;background:#f5f6f8;border-radius:9px;color:#69747e;font-size:11px;text-decoration:none}.thread-reply{padding:20px}.thread-reply textarea{width:100%;min-height:150px}.forum-pager{display:flex;gap:6px;padding:14px 16px;border-top:1px solid rgba(25,32,40,.07);flex-wrap:wrap}.forum-pager .page{min-width:34px;height:34px;display:grid;place-items:center;border-radius:9px;text-decoration:none;color:inherit;border:1px solid var(--line)}.forum-pager .page.active{background:#eef5ff;border-color:#cfe1ff;color:#2466c7;font-weight:800}.forum-post:target{box-shadow:0 0 0 3px rgba(36,102,199,.16),var(--shadow)}
@media(max-width:900px){.forum-layout{grid-template-columns:1fr}.forum-sidebar{grid-template-columns:1fr 1fr}.xf-topic-row{grid-template-columns:44px minmax(0,1fr) 64px}.xf-topic-row .xf-topic-stat:last-child{display:none}.forum-stats{grid-template-columns:repeat(2,1fr)}.thread-hero-top{flex-direction:column}.xf-post{grid-template-columns:1fr}.xf-post-user{border-right:0;border-bottom:1px solid rgba(25,32,40,.07);align-items:flex-start;flex-direction:row;text-align:left}.xf-post-user .public-profile-avatar{width:44px!important;height:44px!important}}
@media(max-width:620px){.forum-banner{flex-direction:column;align-items:flex-start}.forum-inline-search{min-width:0;width:100%}.forum-panel-head{align-items:flex-start;flex-direction:column}.forum-sidebar{grid-template-columns:1fr}.forum-stats{grid-template-columns:1fr 1fr}.xf-topic-row{grid-template-columns:40px minmax(0,1fr);padding:13px}.xf-topic-stat{display:none}.xf-topic-excerpt{display:none}.forum-banner h1,.thread-hero h1{font-size:25px}.thread-hero,.forum-composer{padding:16px}.xf-post-content{padding:15px}}
.ai-cron-box{display:grid;gap:7px;padding:14px;border-radius:12px;background:#f5f7fa;border:1px dashed var(--line);margin:14px 0}.ai-cron-box code{font-size:13px}.risk-meter{height:5px;width:90px;background:#edf0f3;border-radius:99px;overflow:hidden;margin-top:7px}.risk-meter span{display:block;height:100%;background:currentColor}.forum-shell .panel,.forum-thread .panel{border-radius:16px}


/* 5.50 visual refresh: universal modals */
body.modal-open{overflow:hidden}
.site-modal{position:fixed;inset:0;z-index:1000;display:none}.site-modal.is-open{display:block}.site-modal-backdrop{position:absolute;inset:0;background:rgba(10,14,18,.58);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.site-modal-card{position:relative;width:min(760px,calc(100% - 24px));max-height:min(92vh,900px);overflow:auto;margin:4vh auto 0;background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.site-modal-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 22px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.site-modal-head h2{margin:4px 0 0;font-size:24px}.site-modal-close{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:25px;line-height:1;cursor:pointer}.site-modal-close:hover{background:#f3f4f6}.site-modal-body{padding:0}.site-modal-body>.panel{border:0;border-radius:0;box-shadow:none;margin:0}.site-modal-body>.panel .section-head:first-child{margin-top:0}.site-modal-body>.admin-product-create{padding:22px}.site-modal-body>.forum-composer{padding:22px}.modal-form-source[hidden]{display:none!important}.site-modal-body .modal-form-source{display:block!important}.site-modal-body .empty{margin:0 0 10px}

/* Homepage inspired by the supplied mobile reference, without copying branding */
.home-onlinerlike{display:grid;gap:14px}.home-masthead{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow)}.home-brandline{display:flex;justify-content:space-between;align-items:center;gap:20px}.home-masthead h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.04em;margin:6px 0 10px;max-width:820px}.home-masthead p{margin:0;color:#68727c;font-size:16px;max-width:780px}.home-head-actions{display:flex;align-items:center;gap:8px}.home-icon-action,.home-menu-action{display:grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:14px;min-width:68px;height:68px}.home-icon-action span,.home-menu-action span{font-size:25px;line-height:1}.home-icon-action small{font-size:10px;color:var(--muted);margin-top:2px}.home-menu-action{min-width:64px;background:#f7f7f7}.home-promo-strip{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:auto;white-space:nowrap}.home-promo-brand{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;background:#1b1d20;color:#fff;font-weight:900}.home-promo-strip strong{font-size:16px}.home-promo-strip span{color:#727b84;font-size:13px}.home-promo-strip a{margin-left:auto;color:var(--accent);font-weight:800}.home-category-rail{display:flex;gap:9px;overflow:auto;padding:2px 0 5px;scrollbar-width:thin}.home-category-card{flex:0 0 128px;min-height:112px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 10px;display:flex;flex-direction:column;justify-content:flex-end;gap:11px;transition:transform .18s ease,box-shadow .18s ease}.home-category-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.home-category-card-primary{background:#f8fafb}.home-cat-icon{width:58px;height:58px;border-radius:16px;background:#f0f2f4;display:grid;place-items:center;font-size:26px}.home-category-card strong{font-size:14px;line-height:1.2}.home-feature-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:3px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:520px}.home-feature-main,.home-story-tile{position:relative;overflow:hidden;background:#24282c;color:#fff}.home-feature-main{min-height:520px}.home-feature-main img,.home-story-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-feature-fallback{position:absolute;inset:0;background:linear-gradient(135deg,#27323a,#697783);display:grid;place-items:center}.home-feature-fallback span{font-size:110px;font-weight:900;opacity:.15}.home-feature-overlay,.home-story-overlay{position:absolute;inset:auto 0 0;padding:28px;background:linear-gradient(transparent,rgba(0,0,0,.88));display:grid;gap:5px}.home-feature-overlay h2{font-size:clamp(30px,4vw,52px);line-height:1.03;letter-spacing:-.035em;margin:0}.home-feature-overlay p{max-width:720px;color:#e7eaed;margin:2px 0;font-size:15px}.home-story-tile{min-height:258px}.home-feature-side{display:grid;grid-template-columns:1fr 1fr;gap:3px}.home-story-overlay{padding:18px}.home-story-overlay h3{font-size:20px;line-height:1.1;margin:0}.home-story-light{background:#dfe5ea;color:#15191c}.home-story-light .home-story-overlay{background:linear-gradient(transparent,rgba(255,255,255,.97))}.home-story-dark{background:#2d3338}.home-tag{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:5px;background:var(--accent);color:#fff;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.home-tag.plain{background:#f1f3f5;color:#535b63}.home-main-columns{display:grid;grid-template-columns:1.55fr .85fr;gap:20px;align-items:start}.home-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:8px 0 10px}.home-section-title.compact{margin-top:0}.home-section-title h2{font-size:27px;line-height:1.08;margin:3px 0 0}.home-section-title a{color:var(--accent);font-size:13px;font-weight:800}.home-news-cards{display:grid;gap:8px}.home-news-card{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;transition:transform .18s ease,box-shadow .18s ease}.home-news-card:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.home-news-media{width:170px;height:118px;border-radius:11px;overflow:hidden;background:#f0f2f4;display:grid;place-items:center}.home-news-media img{width:100%;height:100%;object-fit:cover}.home-news-media span{font-size:42px;color:#87919a}.home-news-card h3{font-size:20px;line-height:1.18;margin:5px 0 6px}.home-news-card p{margin:0 0 7px;color:#69737c;font-size:13px}.home-news-card small{color:#87919a;font-size:11px}.home-sidebar-stack{display:grid;gap:14px}.home-side-panel{padding:15px}.home-product-list,.home-topic-list{display:grid}.home-product-mini,.home-topic-list a{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.home-product-mini:last-child,.home-topic-list a:last-child{border-bottom:0}.home-product-mini-image{width:56px;height:56px;border-radius:10px;overflow:hidden;background:#f4f5f6;flex:0 0 auto}.home-product-mini-image img{width:100%;height:100%;object-fit:cover}.home-product-mini strong,.home-topic-list strong{display:block;font-size:13px;line-height:1.25}.home-product-mini span,.home-topic-list small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.home-topic-list a{display:block}.home-service-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.home-service-rail a{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;display:grid;gap:6px}.home-service-rail span{font-size:24px}.home-service-rail strong{font-size:14px}.home-service-rail small{font-size:11px;color:var(--muted);line-height:1.4}.home-ecosystem-modern{padding-bottom:8px}
@media(max-width:980px){.home-main-columns{grid-template-columns:1fr}.home-service-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.home-feature-grid{grid-template-columns:1fr}.home-feature-side{min-height:260px}.home-feature-main{min-height:420px}}
@media(max-width:680px){.home-brandline{align-items:flex-start}.home-head-actions{gap:5px}.home-icon-action,.home-menu-action{min-width:48px;width:48px;height:48px;border-radius:11px}.home-icon-action small{display:none}.home-masthead{padding:18px}.home-masthead h1{font-size:34px}.home-masthead p{font-size:14px}.home-promo-strip span{display:none}.home-promo-strip a{margin-left:auto}.home-category-card{flex-basis:112px;min-height:100px}.home-feature-main{min-height:360px}.home-feature-overlay{padding:18px}.home-feature-overlay h2{font-size:30px}.home-feature-side{grid-template-columns:1fr}.home-story-tile{min-height:220px}.home-news-card{grid-template-columns:110px minmax(0,1fr)}.home-news-media{width:110px;height:100px}.home-news-card h3{font-size:16px}.home-news-card p{display:none}.home-service-rail{grid-template-columns:1fr 1fr}.site-modal-card{margin:0;width:100%;max-height:100vh;height:100vh;border-radius:0}.site-modal-head{padding:16px}.site-modal-body>.panel{padding:16px}.home-section-title h2{font-size:23px}}

/* v5.51 users: mobile-friendly management and instant identity controls */
.users-quick-filters{display:flex;gap:7px;overflow:auto;padding:2px 0 14px;scrollbar-width:none}.users-quick-filters::-webkit-scrollbar{display:none}.users-quick-filters a{white-space:nowrap;text-decoration:none;color:#5f6871;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800}.users-quick-filters a:hover{background:#f7f9fb}.users-quick-filters a.is-active{background:#15181b;color:#fff;border-color:#15181b}.users-mobile-grid{display:none}.prefix-quick-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:8px}.prefix-quick-actions .meta{font-size:11px}.prefix-quick-presets button.prefix-clear-button{color:#a12639;background:#fff7f8;border-color:#f0cbd2}.identity-toggle-button{min-width:150px}.ajax-toast{position:fixed;right:18px;bottom:18px;z-index:99999;max-width:min(420px,calc(100vw - 36px));padding:12px 15px;border-radius:13px;background:#20252a;color:#fff;box-shadow:0 15px 35px rgba(0,0,0,.18);font-size:13px;font-weight:800;opacity:0;transform:translateY(10px);transition:opacity .2s,transform .2s}.ajax-toast.is-visible{opacity:1;transform:translateY(0)}.ajax-toast.is-ok{background:#147a50}.ajax-toast.is-error{background:#a92d43}
@media(max-width:700px){.users-table-wrap{display:none}.users-mobile-grid{display:grid;gap:10px}.user-mobile-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 7px 20px rgba(20,25,30,.04)}.user-mobile-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:start}.user-mobile-avatar-img{width:44px!important;height:44px!important;border-radius:50%;display:grid;place-items:center;font-size:18px}.user-mobile-title{min-width:0;display:grid;gap:3px}.user-mobile-title>a{font-weight:900;color:inherit;text-decoration:none;font-size:16px;overflow-wrap:anywhere}.user-mobile-title .meta{font-size:11px;overflow-wrap:anywhere}.user-mobile-head>.badge{font-size:10px}.user-mobile-meta{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0}.user-mobile-meta span{padding:6px 8px;border-radius:9px;background:#f5f7f8;color:#68727c;font-size:11px}.user-mobile-meta b{color:#20262b}.user-mobile-prefix{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid rgba(20,30,40,.07);padding-top:10px}.user-mobile-prefix .eyebrow{margin:0}.user-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}.user-mobile-actions form{min-width:0}.user-mobile-actions .btn{width:100%}.user-control-stats{grid-template-columns:repeat(2,1fr)!important}.verification-action-card{align-items:stretch;flex-direction:column}.verification-action-card form,.verification-action-card .btn{width:100%}.prefix-quick-actions .btn{width:100%}.prefix-quick-actions .meta{width:100%}}
@media(min-width:701px){.users-table{display:table!important}.users-mobile-grid{display:none!important}}


/* v5.52 global upgrade */
.currency-sticker{display:inline-flex;align-items:center;gap:9px;text-decoration:none;padding:7px 10px;border:1px solid rgba(20,32,45,.12);background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(22,35,48,.08);min-width:88px}.currency-sticker-mark{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--accent,#ffd21f);color:#111;font-weight:900}.currency-sticker span:last-child{display:flex;flex-direction:column;line-height:1.05}.currency-sticker b{font-size:12px;color:#13171c}.currency-sticker small{font-size:9px;color:#737b83;margin-top:3px}.referral-hero{display:flex;justify-content:space-between;gap:20px;align-items:center}.referral-code-card{display:grid;gap:7px;min-width:280px;padding:18px;border:1px solid #dfe4e9;border-radius:18px;background:#f8fafb}.referral-code-card strong{font-size:26px;letter-spacing:1px}.referral-link-input{width:100%;font-size:12px;color:#68727b}.referral-list{display:grid;gap:10px}.referral-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eef1f4}.referral-row:last-child{border-bottom:0}.referral-row>div:last-child{display:flex;gap:12px;align-items:center}.referral-profile-card{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:22px 0}.network-code{white-space:nowrap}@media(max-width:760px){.currency-sticker{padding:6px 8px;min-width:0}.currency-sticker small{display:none}.referral-hero{display:grid}.referral-code-card{min-width:0}.referral-row{align-items:flex-start}.referral-row>div:last-child{display:grid;justify-items:end}.referral-profile-card{display:grid}}

/* v5.53 header cleanup / account & currency stickers */
.top-spacer{flex:1 1 auto;min-width:10px}
.top-search{margin-left:0}
.catalog-top-label{display:none!important}
.account-top-link{display:inline-flex;align-items:center;gap:8px;padding:5px 8px 5px 5px;border:1px solid var(--line);background:#fff;border-radius:12px;font-weight:800;color:#20252a;min-height:42px;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.account-top-link:hover{background:#f7f8f9;border-color:#d7dce1;transform:translateY(-1px)}
.account-top-avatar{width:30px;height:30px;border-radius:50%;background:#17191c;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;flex:0 0 auto}
.account-top-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.account-top-guest{padding-right:11px}
.currency-sticker-v2{min-width:0;padding:5px 8px 5px 5px;gap:8px;border-radius:12px;box-shadow:none;background:#fff}
.currency-sticker-v2 .currency-sticker-mark{width:31px;height:31px;border-radius:10px;background:#20252a;color:#fff;font-size:10px;letter-spacing:.02em}
.currency-sticker-v2 .currency-sticker-value b{font-size:12px;white-space:nowrap}
.currency-sticker-v2 .currency-sticker-value small{font-size:9px}
.currency-sticker-v2:hover{border-color:#cfd5db;background:#f8fafb}
.unified-catalog-title{display:none!important}
.unified-catalog-in{justify-content:center}
.unified-catalog-links{width:100%;justify-content:center}
.unified-catalog-links a:last-child{margin-left:8px}
.home-promo-strip a{display:none!important}
.home-promo-strip{justify-content:flex-start}
.home-promo-strip span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.top-spacer{min-width:0}.account-top-name{display:none}.account-top-link{padding:5px;border-radius:11px}.currency-sticker-v2{padding:5px}.currency-sticker-v2 .currency-sticker-value small{display:none}.unified-catalog-links{justify-content:flex-start}.unified-catalog-in{padding-left:0;padding-right:0}}
@media(max-width:560px){.top-in{grid-template-columns:auto minmax(0,1fr) auto!important}.top-spacer{display:none}.top-search{grid-column:1/-1;grid-row:2}.top-actions{grid-column:3;grid-row:1}.brand{grid-column:1}.currency-sticker-v2 .currency-sticker-value{display:none}.currency-sticker-v2{padding:5px}.account-top-link{margin-left:2px}.admin-top-link{display:none!important}.home-promo-strip{padding:10px 12px}.home-promo-strip strong{font-size:14px}}


/* v5.54 — desktop profile/settings redesign */
.profile-settings-page{display:grid;gap:16px;max-width:1180px;margin:0 auto}.profile-settings-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px}.profile-settings-hero h1{margin:4px 0 8px;font-size:clamp(32px,4vw,48px);line-height:1.02;letter-spacing:-.04em}.profile-settings-hero .lead{font-size:15px;max-width:720px}.profile-settings-hero-user{display:flex;align-items:center;gap:12px;min-width:240px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#f8f9fa}.profile-settings-avatar{width:52px!important;height:52px!important;border-radius:50%;display:grid;place-items:center;overflow:hidden;flex:0 0 52px}.profile-settings-avatar img{width:100%;height:100%;object-fit:cover}.profile-settings-hero-user>div{display:grid;gap:2px;min-width:0}.profile-settings-alert{margin:0}.profile-settings-form{display:grid;gap:16px}.profile-settings-card{padding:22px 24px}.profile-settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.profile-settings-card-head h2{margin:3px 0 0;font-size:25px;letter-spacing:-.025em}.settings-step{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f1f3f5;color:#6f7780;font-size:11px;font-weight:900}.profile-settings-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-settings-wide{grid-column:1/-1}.profile-settings-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.profile-avatar-editor{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;min-width:0}.avatar-edit-preview-lg{width:112px!important;height:112px!important;border-radius:26px;overflow:hidden;display:grid;place-items:center;font-size:34px;flex:0 0 112px}.avatar-edit-preview-lg img{width:100%;height:100%;object-fit:cover}.profile-avatar-editor p{margin:5px 0 12px;line-height:1.45}.profile-file-btn{position:relative;overflow:hidden}.profile-settings-actions{display:flex;justify-content:flex-end;gap:10px;padding-bottom:4px}.profile-settings-actions .btn{min-width:170px}.profile-settings-page .field input,.profile-settings-page .field select,.profile-settings-page .field textarea{min-height:50px;border-radius:12px}.profile-settings-page .field textarea{min-height:160px}.profile-settings-page .meta{overflow-wrap:anywhere}
@media(max-width:900px){.profile-settings-hero{align-items:flex-start;flex-direction:column}.profile-settings-hero-user{width:100%;min-width:0}.profile-settings-columns{grid-template-columns:1fr}.profile-settings-card{padding:18px}.profile-settings-grid-2{gap:12px}}
@media(max-width:640px){.profile-settings-page{gap:12px}.profile-settings-hero{padding:18px}.profile-settings-hero h1{font-size:32px}.profile-settings-grid-2{grid-template-columns:1fr}.profile-settings-wide{grid-column:auto}.profile-avatar-editor{grid-template-columns:1fr;text-align:center;justify-items:center}.avatar-edit-preview-lg{width:96px!important;height:96px!important}.profile-settings-actions{display:grid;grid-template-columns:1fr 1fr}.profile-settings-actions .btn{width:100%;min-width:0}.profile-settings-card-head h2{font-size:22px}}
@media(max-width:420px){.profile-settings-actions{grid-template-columns:1fr}.profile-settings-hero-user{padding:9px}.profile-settings-card{padding:16px}}

/* v5.54 — remove deprecated homepage intro chrome */
.home-masthead,.home-promo-strip{display:none!important}

/* =========================================================
   5.55 — TRUE FULL-WIDTH DESKTOP LAYOUT
   Keep mobile layout intact; on desktop use the whole viewport
   and prevent cards/grids from being clipped by fixed widths.
   ========================================================= */
@media (min-width: 901px){
  html, body{width:100%;max-width:none;overflow-x:visible}
  .shell,
  .main{width:calc(100% - 40px);max-width:none;margin-left:auto;margin-right:auto}
  .top-in,
  .section-in{width:calc(100% - 40px);max-width:none;margin-left:auto;margin-right:auto}
  .portal-intro,
  .hero-grid,
  .content-grid,
  .subscriptions-page,
  .account-grid,
  .admin-layout,
  .ecosystem-grid-2,
  .listing-detail,
  .service-grid,
  .auto-grid,
  .realty-grid,
  .feed-news-grid,
  .profile-settings-columns,
  .profile-settings-grid-2{min-width:0}
  .portal-intro > *,
  .hero-grid > *,
  .content-grid > *,
  .subscriptions-page > *,
  .account-grid > *,
  .admin-layout > *,
  .ecosystem-grid-2 > *,
  .listing-detail > *,
  .service-grid > *,
  .auto-grid > *,
  .realty-grid > *,
  .feed-news-grid > *,
  .profile-settings-columns > *,
  .profile-settings-grid-2 > *{min-width:0}

  .profile-settings-page,
  .author-dashboard{max-width:none;width:100%;margin-left:auto;margin-right:auto}
  .notifications-page{max-width:none;width:100%}
  .author-profile-editor,
  .author-apply-wrap{max-width:none;width:100%}

  body.admin-body .admin-shell{width:calc(100% - 40px);max-width:none;margin-left:auto;margin-right:auto}
  body.admin-body .admin-main{min-width:0}

  .table-wrap,
  .compare-table-wrap{max-width:100%;overflow-x:auto}
  .panel,
  .card,
  .article,
  .profile-settings-card,
  .profile-settings-hero{min-width:0}

  /* Avoid a single oversized child forcing horizontal clipping. */
  .main > *,
  .shell > *,
  .admin-main > *{min-width:0;max-width:100%}

  /* Wide desktop grids adapt instead of overflowing. */
  .category-home-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .home-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .marketplace-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .admin-user-command-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (min-width: 1440px){
  .shell,
  .main,
  .top-in,
  .section-in,
  body.admin-body .admin-shell{width:calc(100% - 56px)}
  .category-home-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
  .home-product-grid,
  .product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}

@media (max-width: 900px){
  html, body{max-width:100%;overflow-x:hidden}
  .shell,.main{max-width:100%}
}

/* v5.56 ecosystem expansion */
.product-detail-v2{display:grid;gap:22px}.product-detail-top{display:grid;grid-template-columns:minmax(320px,46%) 1fr;gap:34px;padding:24px}.product-detail-top .product-detail-media{min-height:420px;background:#f7f8fa;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-detail-top .product-detail-media img{max-width:100%;max-height:420px;object-fit:contain}.product-v2-meta{display:flex;gap:14px;flex-wrap:wrap;color:#68707a;font-size:13px}.product-v2-stock{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.product-v2-stock span{color:#68707a}.product-detail-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.product-detail-actions form{margin:0}.product-alert-form{margin-top:16px;padding:13px 14px;border:1px solid #e6e9ed;border-radius:14px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}.product-alert-form label{display:grid;gap:6px;font-size:13px;color:#68707a;flex:1;min-width:240px}.product-alert-form input{margin:0}.product-offer-section{display:grid;gap:12px}.offer-table{display:grid;gap:8px}.offer-row{display:grid;grid-template-columns:minmax(210px,1.7fr) 90px minmax(150px,.9fr) minmax(130px,.8fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid #e6e9ed;border-radius:16px;padding:14px 16px}.offer-seller{display:flex;gap:10px;align-items:center;min-width:0}.offer-seller>div{display:grid;gap:3px;min-width:0}.offer-seller strong,.offer-seller span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.offer-seller span,.offer-availability small{font-size:12px;color:#68707a}.offer-rating{font-weight:700}.offer-row>div:nth-child(3){display:grid;gap:3px}.offer-row del{font-size:12px;color:#89919b}.offer-availability{display:grid;gap:3px}.product-specs{padding:22px}.product-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e7eaee;border:1px solid #e7eaee;border-radius:14px;overflow:hidden}.product-spec-grid>div{background:#fff;padding:12px 14px;display:flex;justify-content:space-between;gap:20px}.product-spec-grid span{color:#68707a}.product-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.price-history-list{display:grid;gap:8px}.price-history-list>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:10px 0;border-bottom:1px solid #eef0f2}.price-history-list span,.price-history-list small{color:#68707a;font-size:12px}.saved-search-list{display:grid;gap:10px}.saved-search-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #e6e9ed;border-radius:16px;padding:15px}.saved-search-row>div:first-child{display:grid;gap:5px}.saved-search-row span{color:#38414b}.saved-search-row small{color:#7a838d;font-size:12px}.saved-search-row>div:last-child{display:flex;gap:7px;align-items:center;white-space:nowrap}.search-save-panel{padding:14px 16px}.search-save-panel form{display:grid;grid-template-columns:1fr minmax(180px,280px) auto auto;gap:10px;align-items:center}.search-save-panel form>div{display:grid;gap:4px}.search-save-panel form span{color:#68707a;font-size:12px}.ecosystem-admin-metrics{margin-bottom:22px}.author-apply-hero{display:flex;justify-content:space-between;gap:20px;align-items:center}.author-apply-mark{width:74px;height:74px;display:grid;place-items:center;border-radius:22px;background:#f0f2f5;font-size:32px;font-weight:800}.author-public-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.author-public-meta span{border:1px solid #e6e9ed;border-radius:999px;padding:5px 9px;font-size:12px;color:#56606a}.seller-reputation{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 14px;margin:12px 0}.seller-reputation>div{display:grid;gap:3px}.seller-reputation span{font-size:12px;color:#68707a}
@media (max-width:1000px){.product-detail-top{grid-template-columns:1fr}.offer-row{grid-template-columns:1fr 1fr}.offer-row .offer-seller{grid-column:1/-1}.product-detail-columns{grid-template-columns:1fr}.search-save-panel form{grid-template-columns:1fr 1fr}.product-spec-grid{grid-template-columns:1fr}}
@media (max-width:700px){.product-detail-top{padding:14px}.product-detail-top .product-detail-media{min-height:260px}.offer-row{grid-template-columns:1fr}.offer-row .offer-seller{grid-column:auto}.product-spec-grid>div{display:grid;justify-content:initial}.search-save-panel form{grid-template-columns:1fr}.saved-search-row{align-items:flex-start;flex-direction:column}.author-apply-hero{align-items:flex-start}.author-apply-mark{width:54px;height:54px;border-radius:16px;font-size:24px}.seller-reputation{align-items:flex-start;flex-direction:column}}
.author-top-cta{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #e2e6eb;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;background:#fff}.author-top-cta:hover{background:#f6f7f9}@media(max-width:760px){.author-top-cta{font-size:11px;padding:7px 9px}.account-top-name{display:none}}
.feed-activity-list{display:flex;gap:8px;overflow:auto;padding-bottom:3px}.feed-activity-item{min-width:220px;display:flex;gap:9px;align-items:center;padding:10px 12px;border:1px solid #e6e9ed;border-radius:14px;background:#fff}.feed-activity-item>div{display:grid;gap:2px;min-width:0}.feed-activity-item strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-activity-item small{color:#7b848d;font-size:11px}.feed-activity-rail{margin-top:18px}

/* v5.57 notifications + AI */
.notification-push-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
.notification-channel-grid,.notification-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 24px}
.notification-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.check-row{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e7eaee;border-radius:14px;background:#fff}.check-row input{margin-top:3px}.check-row small{display:block;color:#69727d;margin-top:3px}
@media(max-width:900px){.notification-push-card{align-items:flex-start;flex-direction:column}.notification-channel-grid,.notification-event-grid{grid-template-columns:1fr}}
.ai-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-policy-card{border:1px solid #e6eaee;border-radius:16px;padding:14px;background:#fff}.ai-policy-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;list-style:none}.ai-policy-card summary::-webkit-details-marker{display:none}.ai-policy-card summary span{color:#69727d;font-size:13px}@media(max-width:900px){.ai-policy-grid{grid-template-columns:1fr}}


/* v5.58 premium top-site advertising */
.ads-site-top{width:100vw;margin-left:calc(50% - 50vw);position:relative;background:#f3f4f6;padding:0 0 10px;z-index:4}
.ad-top-site-card{position:relative;width:100%;overflow:hidden;background:#fff;border-bottom:1px solid #e7eaee;box-shadow:0 2px 10px rgba(20,28,38,.06);transition:opacity .18s,transform .18s,max-height .18s}
.ad-top-site-card>a{display:flex;width:100%;min-height:110px;align-items:center;justify-content:center;text-decoration:none;color:inherit}
.ad-top-site-card picture,.ad-top-site-card img{display:block;width:100%;height:auto}
.ad-top-site-card img{max-height:190px;object-fit:cover}
.ad-top-site-card .ad-top-site-copy{min-height:110px;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:20px;background:linear-gradient(135deg,#f4f6f8,#ffffff)}
.ad-top-site-copy small{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7a838d}.ad-top-site-copy strong{font-size:24px;line-height:1.15;text-align:center}
.ad-dismiss{position:absolute;right:12px;top:10px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.9);box-shadow:0 1px 5px rgba(0,0,0,.12);font-size:20px;line-height:28px;cursor:pointer;color:#4c555f;z-index:2}
.ad-top-site-card.is-dismissed{opacity:0;transform:translateY(-6px);max-height:0}
.ad-top-site-card.ad-format-rectangle img{max-height:240px}.ad-top-site-card.ad-format-square img{max-height:320px}.ad-top-site-card.ad-format-mobile img{max-height:220px}
.ad-public-card.is-featured{border:2px solid #dfe5eb;transform:translateY(-1px)}
@media(max-width:760px){
  .ads-site-top{padding-bottom:6px}
  .ad-top-site-card>a{min-height:0}
  .ad-top-site-card img{max-height:150px;object-fit:cover}
  .ad-dismiss{right:7px;top:7px;width:26px;height:26px;line-height:26px;font-size:18px}
  .ad-top-site-copy{min-height:90px!important;padding:14px!important}.ad-top-site-copy strong{font-size:18px}
}

/* v5.59 Referral Growth 2.0 */
.referral-pro-page{display:grid;gap:18px}.referral-pro-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:center;padding:28px}.referral-code-card-pro{background:var(--panel-2,#f6f7f9);padding:20px;border-radius:18px;display:grid;gap:9px}.referral-code-card-pro strong{font-size:28px;letter-spacing:.08em}.referral-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.referral-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.referral-tier{padding:22px}.referral-progress-line{height:12px;background:var(--line,#e8eaee);border-radius:999px;overflow:hidden}.referral-progress-line span{display:block;height:100%;background:var(--accent,#111);border-radius:inherit}.referral-tier-markers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.referral-tier-markers span{display:flex;justify-content:space-between;gap:10px;font-size:13px}.referral-pro-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.referral-side-stack{display:grid;gap:18px}.referral-list-pro{display:grid;gap:1px}.referral-review-list,.referral-leaderboard{display:grid;gap:8px}.referral-review-row,.referral-leader{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line,#eee)}.referral-review-row:first-child,.referral-leader:first-child{border-top:0}.referral-review-row small{display:block;margin-top:5px;color:var(--muted,#777)}.referral-rank{width:36px}.referral-leader span{flex:1}.referral-admin-tier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-referral-settings-card{margin-bottom:18px}.referral-register-note{padding:10px 14px;border-radius:12px;background:var(--panel-2,#f6f7f9)}
@media(max-width:900px){.referral-pro-hero,.referral-pro-grid{grid-template-columns:1fr}.referral-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.referral-kpis{grid-template-columns:1fr}.referral-tier-markers{grid-template-columns:1fr}.referral-review-row,.referral-leader{align-items:flex-start;flex-direction:column}.referral-pro-hero{padding:20px}.referral-code-card-pro strong{font-size:22px}}

/* v5.65 public identity, advertising, referral and TP AI */
.public-profile-overview{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:20px;margin:20px 0}.profile-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.profile-detail-grid div{display:flex;flex-direction:column;gap:4px}.profile-detail-grid b{font-size:20px}.profile-author-score{display:flex;align-items:baseline;gap:8px;margin-top:18px}.profile-author-score strong{font-size:34px}.ad-extra-fields details{border:1px solid var(--border,#e5e7eb);border-radius:16px;padding:14px 16px;background:rgba(127,127,127,.03)}.ad-extra-fields summary{cursor:pointer;font-weight:700;margin-bottom:14px}.referral-qr-wrap{display:flex;gap:14px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid var(--border,#e5e7eb)}.referral-qr-wrap img{width:110px;height:110px;border-radius:12px;background:#fff;padding:5px}.referral-qr-wrap div{display:flex;flex-direction:column;gap:4px}.referral-qr-wrap small{color:var(--muted,#6b7280)}.tp-ai-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.tp-ai-page .message.ai{white-space:normal;line-height:1.65}.tp-ai-answer{border:1px solid rgba(90,100,255,.25)}
@media(max-width:900px){.public-profile-overview{grid-template-columns:1fr}.profile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-qr-wrap{align-items:flex-start}.tp-ai-hero{flex-direction:column}}
.tp-ai-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.tp-ai-sidebar{position:sticky;top:18px;padding:18px}.tp-ai-brand{display:flex;gap:12px;align-items:center;margin-bottom:16px}.tp-ai-brand strong{display:block;font-size:18px}.tp-ai-brand span:last-child{display:block;color:#7d8791;font-size:12px}.tp-ai-logo{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#111;color:#fff;font-size:21px}.tp-ai-new{width:100%;justify-content:center;margin-bottom:14px}.tp-ai-history{display:grid;gap:6px;max-height:65vh;overflow:auto}.tp-ai-thread{display:block;padding:11px 12px;border-radius:12px;text-decoration:none;color:inherit;border:1px solid transparent}.tp-ai-thread:hover,.tp-ai-thread.active{background:#f4f6f8;border-color:#e2e6ea}.tp-ai-thread strong,.tp-ai-thread span{display:block}.tp-ai-thread strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-ai-thread span{font-size:11px;color:#8c959e;margin-top:4px}.tp-ai-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px}.tp-ai-status{white-space:nowrap;font-weight:700;font-size:13px}.tp-ai-status .dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#16a34a;margin-right:7px}.tp-ai-chat{padding:0;overflow:hidden}.tp-ai-messages{min-height:55vh;max-height:65vh;overflow:auto;padding:22px}.tp-ai-msg{margin-bottom:18px;max-width:840px}.tp-ai-msg.user{margin-left:auto}.tp-ai-msg-role{font-size:11px;font-weight:800;color:#8a949d;text-transform:uppercase;margin-bottom:5px}.tp-ai-bubble{display:inline-block;padding:13px 15px;border-radius:16px;background:#f3f5f7;line-height:1.55}.tp-ai-msg.user .tp-ai-bubble{background:#111;color:#fff}.tp-ai-time{font-size:10px;color:#9aa2aa;margin-top:4px}.tp-ai-feedback{display:flex;gap:6px;margin-top:6px}.tp-ai-feedback button,.tp-ai-suggestions button{border:1px solid #dfe4e9;background:#fff;border-radius:999px;padding:7px 10px;cursor:pointer}.tp-ai-feedback button:hover,.tp-ai-suggestions button:hover{background:#f4f6f8}.tp-ai-compose{border-top:1px solid #e4e8ec;padding:14px;display:grid;grid-template-columns:1fr auto;gap:10px}.tp-ai-compose textarea{resize:vertical;min-height:52px}.tp-ai-empty{text-align:center;max-width:620px;margin:80px auto}.tp-ai-empty-icon{font-size:48px;margin-bottom:10px}.tp-ai-suggestions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}.tp-ai-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.tp-ai-capabilities .panel{padding:16px}.tp-ai-capabilities strong,.tp-ai-capabilities span{display:block}.tp-ai-capabilities span{color:#75808b;font-size:12px;line-height:1.5;margin-top:6px}@media(max-width:900px){.tp-ai-shell{grid-template-columns:1fr}.tp-ai-sidebar{position:static}.tp-ai-history{display:flex;overflow:auto}.tp-ai-thread{min-width:180px}.tp-ai-hero{display:block}.tp-ai-status{margin-top:10px}.tp-ai-capabilities{grid-template-columns:1fr 1fr}}@media(max-width:600px){.tp-ai-compose{grid-template-columns:1fr}.tp-ai-messages{max-height:none}.tp-ai-capabilities{grid-template-columns:1fr}}
.ai-pipeline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.ai-pipeline span{background:#f3f5f7;border:1px solid #e2e6ea;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:700}.ai-pipeline b{color:#8c959e}.metric-list{display:grid;gap:10px}.metric-list div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eef1f3}.metric-list span{color:#7a848e}.metric-list strong{max-width:60%;text-align:right;word-break:break-word}

/* v5.67 Forum Core: XenForo-inspired discussion mechanics without vendor code. */
.forum-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:4px;background:#f3f5f7;border:1px solid var(--line);border-radius:13px;width:max-content;max-width:100%}.forum-tabs a{padding:9px 13px;border-radius:9px;color:#67717b;text-decoration:none;font-size:12px;font-weight:800}.forum-tabs a.active{background:#fff;color:#171a1d;box-shadow:0 4px 14px rgba(20,30,40,.07)}.xf-prefix{display:inline-flex;align-items:center;padding:3px 7px;border-radius:6px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#eef1f3;color:#66717a}.xf-prefix-question{background:#edf6ff;color:#2466c7}.xf-prefix-guide{background:#eef8f1;color:#2a7a44}.xf-prefix-news{background:#fff2f0;color:#bb4936}.xf-prefix-review{background:#fff8e8;color:#946600}.xf-prefix-suggestion{background:#f4efff;color:#6b4ca6}.xf-solved-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:7px;background:#eaf7ed;color:#2c7a43;font-size:10px;font-weight:900}.xf-topic-tags,.thread-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.xf-topic-tags span,.thread-tags span{padding:4px 7px;border-radius:7px;background:#f3f5f7;color:#7a838c;font-size:10px}.forum-leaders{display:grid;gap:2px;margin-top:8px}.forum-leaders a{display:grid;grid-template-columns:22px 30px minmax(0,1fr);gap:7px;align-items:center;padding:8px 0;border-top:1px solid rgba(25,32,40,.06);text-decoration:none;color:inherit}.forum-leaders a:first-child{border-top:0}.forum-leaders .rank{font-size:10px;font-weight:900;color:#8b949c}.avatar-sm{width:28px!important;height:28px!important;border-radius:50%;display:grid;place-items:center}.forum-leaders b,.forum-leaders small{display:block}.forum-leaders b{font-size:11px}.forum-leaders small{font-size:9px;color:var(--muted);margin-top:2px}.forum-check{display:flex;gap:9px;align-items:center;margin:3px 0 2px;padding:11px 12px;border:1px solid #e7eaed;border-radius:12px;background:#fafbfc;font-size:12px}.forum-check input{accent-color:#1b66d1}.xf-post.is-solution{border-color:#cfe8d4}.xf-post.is-solution .xf-post-user{background:#f4fbf5}.xf-solution-banner{display:inline-flex;margin:8px 0 12px;padding:6px 9px;border-radius:8px;background:#eaf7ed;color:#2b7b43;font-size:11px;font-weight:900}.xf-reactions{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.reaction-btn{display:inline-flex;align-items:center;gap:5px;min-width:42px;padding:6px 8px;border:1px solid #e4e8eb;background:#fff;border-radius:9px;color:#68727c;cursor:pointer;font-size:13px}.reaction-btn:hover{background:#f7f9fa;border-color:#ccd3d8}.reaction-btn.active{background:#eef5ff;border-color:#bdd7fb;color:#2565bd}.reaction-btn b{font-size:10px}.xf-user-stats{font-size:9px;line-height:1.55;color:#8a939b;margin-top:3px}@media(max-width:620px){.forum-tabs{width:100%;overflow:auto;flex-wrap:nowrap}.forum-tabs a{white-space:nowrap}.xf-reactions{gap:5px}.reaction-btn{min-width:38px;padding:6px 7px}}
/* Forum 5.68 command-center upgrade */
.forum-report-list{display:grid;gap:8px}.forum-report-item{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}.forum-report-item>div:first-child{min-width:0}.forum-report-item strong,.forum-report-item span,.forum-report-item p{display:block}.forum-report-item span{font-size:11px;color:var(--muted);margin-top:3px}.forum-report-item p{font-size:12px;color:#69747e;margin:8px 0 0;line-height:1.5}.forum-leader-list{display:grid;gap:6px}.forum-leader{display:flex;align-items:center;gap:9px;padding:8px;border-bottom:1px solid var(--line)}.forum-leader:last-child{border-bottom:0}.forum-leader>b{width:25px;font-size:11px;color:var(--muted)}.forum-leader span:last-child{min-width:0}.forum-leader strong,.forum-leader small{display:block}.forum-leader small{font-size:10px;color:var(--muted);margin-top:2px}.forum-category-editor{display:grid;grid-template-columns:1.1fr 1fr 1.5fr .5fr .6fr auto;gap:8px;align-items:end;margin-bottom:14px}.forum-category-editor .field{min-width:0}.forum-bulkbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:8px}.forum-bulkbar label{margin-right:auto;font-size:12px;color:var(--muted)}.forum-admin-table a{text-decoration:none;color:inherit}.forum-admin-table a:hover{color:var(--accent)}.forum-details{margin-top:12px;border-top:1px solid rgba(25,32,40,.07);padding-top:12px}.forum-details summary{cursor:pointer;font-weight:750;color:#53606d}.forum-report-box{padding:18px;margin-top:10px}.bookmark-row{grid-template-columns:48px minmax(0,1fr) 42px}.xf-topic-link{color:inherit;text-decoration:none}.xf-topic-link:hover .xf-topic-title strong{color:var(--accent)}
@media(max-width:900px){.forum-category-editor{grid-template-columns:1fr 1fr}.forum-report-item{flex-direction:column}.bookmark-row{grid-template-columns:44px minmax(0,1fr) 42px}}
@media(max-width:620px){.forum-category-editor{grid-template-columns:1fr}.forum-report-item .table-actions{width:100%}.forum-report-item .btn{flex:1}}

/* v5.69 platform polish */
.guest-actions{display:flex;align-items:center;gap:8px}.guest-register-cta{white-space:nowrap}.guest-welcome,.guest-reply-cta,.guest-support-banner{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:18px 0}.guest-welcome h2,.guest-reply-cta h2,.guest-support-banner h2{margin:4px 0}.guest-welcome-actions{display:flex;gap:8px;flex-wrap:wrap}.guest-reply-cta{padding:22px}.guest-support-banner{padding:22px;margin-bottom:16px}.guest-reply-cta>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.subscription-hub-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.subscription-hub-tabs a{padding:10px 14px;border:1px solid var(--line,#e4e8ed);border-radius:12px;text-decoration:none;background:#fff}.subscription-hub-tabs a.active{font-weight:800;box-shadow:0 8px 24px rgba(24,33,44,.06)}.subscription-hub-tabs b{margin-left:4px}.subscription-forum-panel{margin-top:22px}.subscription-forum-list{display:grid;gap:8px}.subscription-forum-list a{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line,#e4e8ed);text-decoration:none}.subscription-forum-list small{display:block;color:#74808c;margin-top:4px}.auth-card-modern{overflow:hidden}.auth-visual-strip{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:-2px -2px 18px;border-radius:18px;background:linear-gradient(120deg,#f2f6fa,#fff)}.auth-visual-strip>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#111820;color:#fff;font-weight:900}.auth-visual-strip b{display:block}.auth-visual-strip small{display:block;color:#75808c;margin-top:2px}.report-command-metrics{margin:18px 0}.admin-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.admin-filter-tabs a{padding:9px 12px;border-radius:10px;background:#fff;border:1px solid var(--line,#e4e8ed)}.admin-filter-tabs a.active{font-weight:800}.report-command-list{display:grid;gap:12px}.report-command-card{padding:18px}.report-card-top,.report-card-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.report-card-meta{margin:12px 0;color:#65717c;font-size:13px}.report-action-form .form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.policy-card{padding:18px}.policy-card-head{display:flex;justify-content:space-between;align-items:start}.toggle-line{display:flex;gap:8px;align-items:start;margin:14px 0;font-size:14px}.status-dot.warning-dot{background:#f0a300}.status-dot.success-dot{background:#36a269}.section-trust-strip{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#fff;border:1px solid var(--line,#e4e8ed);border-radius:16px;padding:14px 16px;margin:0 0 16px;box-shadow:0 8px 24px rgba(20,30,40,.04)}.section-trust-strip>div:last-child{display:flex;gap:8px;flex-wrap:wrap;color:#63707c;font-size:13px}.section-trust-strip span{display:inline-flex;gap:5px}.author-command-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;margin-bottom:8px}.author-command-tabs a{white-space:nowrap;padding:10px 13px;border:1px solid var(--line,#e4e8ed);background:#fff;border-radius:11px;text-decoration:none}.author-command-tabs a.active{font-weight:800;background:#111820;color:#fff;border-color:#111820}.mobile-nav{backdrop-filter:blur(16px)}.top,.panel,.home-feature-main,.home-story-tile,.market-card,.subscription-card,.xf-topic-row,.xf-post{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.market-card:hover,.subscription-card:hover,.xf-topic-row:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(25,35,45,.08)}
@media (max-width:760px){.guest-welcome,.guest-reply-cta,.guest-support-banner,.section-trust-strip{display:block}.guest-welcome-actions,.guest-reply-cta>div:last-child{margin-top:12px}.policy-grid{grid-template-columns:1fr}.section-trust-strip>div:last-child{margin-top:8px}.guest-register-cta{display:none}}

.home-quick-nav{display:flex;gap:8px;overflow:auto;padding:2px 0 14px}.home-quick-nav a{white-space:nowrap;padding:9px 13px;border:1px solid var(--line,#e4e8ed);border-radius:11px;background:#fff;text-decoration:none}.home-quick-nav a.active{font-weight:800;background:#111820;color:#fff;border-color:#111820}.home-guest-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-bottom:16px;background:linear-gradient(135deg,#fff,#f5f8fb)}.home-guest-hero h1{margin:4px 0 8px;max-width:720px}.home-guest-hero>div:last-child{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:760px){.home-guest-hero{display:block}.home-guest-hero>div:last-child{margin-top:14px}}
.skip-link{position:fixed;left:14px;top:10px;z-index:9999;padding:10px 14px;border-radius:10px;background:#111820;color:#fff;font-weight:800;transform:translateY(-150%)}.skip-link:focus{transform:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portal-command{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.65fr);gap:32px;padding:clamp(28px,5vw,58px);border-radius:24px;background:linear-gradient(135deg,#131a21 0%,#202c35 58%,#344651 100%);color:#fff;overflow:hidden;position:relative;box-shadow:0 28px 70px rgba(18,29,38,.18)}.portal-command:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-160px;top:-190px;background:rgba(255,255,255,.06)}.portal-command-copy{position:relative;z-index:1}.portal-live{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#cdd7dd}.portal-live i{width:8px;height:8px;border-radius:50%;background:#43df91;box-shadow:0 0 0 5px rgba(67,223,145,.12)}.portal-command h1{font-size:clamp(38px,5.4vw,72px);line-height:.98;letter-spacing:-.055em;margin:16px 0 14px;max-width:900px}.portal-command h1 em{font-style:normal;color:#ff5965}.portal-command p{margin:0 0 22px;color:#c4d0d7;font-size:16px}.portal-command-search{display:flex;align-items:center;gap:8px;background:#fff;border-radius:15px;padding:7px 7px 7px 16px;max-width:760px;box-shadow:0 16px 34px rgba(0,0,0,.18)}.portal-command-search>span{color:#66717a;font-size:24px}.portal-command-search input{min-width:0;flex:1;border:0;outline:0;padding:10px 4px;font:inherit;font-size:16px;color:#171b1f;background:transparent}.portal-command-search button{border:0;border-radius:11px;background:var(--accent);color:#fff;padding:12px 20px;font:inherit;font-weight:850;cursor:pointer}.portal-command-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px;font-size:12px;color:#9fadb6}.portal-command-links a{color:#fff;border-bottom:1px solid rgba(255,255,255,.32)}.portal-command-aside{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:1px;position:relative;z-index:1}.portal-command-stat{padding:18px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.portal-command-stat:nth-child(1){border-radius:16px 0 0 0}.portal-command-stat:nth-child(2){border-radius:0 16px 0 0}.portal-command-stat strong{display:block;font-size:26px;line-height:1}.portal-command-stat span{display:block;color:#b9c5cc;font-size:11px;margin-top:6px}.portal-command-account{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-radius:0 0 16px 16px;background:#fff;color:#171b1f;font-weight:850}.portal-command-account b{font-size:23px;color:var(--accent)}@media(max-width:900px){.portal-command{grid-template-columns:1fr}.portal-command-aside{grid-template-columns:repeat(4,1fr)}.portal-command-stat:nth-child(1){border-radius:14px 0 0 0}.portal-command-stat:nth-child(2){border-radius:0}.portal-command-stat:nth-child(4){border-radius:0 14px 0 0}.portal-command-account{grid-column:1/-1}}@media(max-width:620px){.portal-command{padding:24px 18px;border-radius:18px;gap:22px}.portal-command h1{font-size:40px}.portal-command-search{padding-left:12px}.portal-command-search button{padding:11px 14px}.portal-command-links span{width:100%}.portal-command-aside{grid-template-columns:1fr 1fr}.portal-command-stat:nth-child(2){border-radius:0 14px 0 0}.portal-command-stat:nth-child(4){border-radius:0}.portal-command-stat{padding:14px}.portal-command-stat strong{font-size:22px}}

/* v5.78 global UX */
.referral-presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.referral-presets .meta{margin-right:4px}.table td strong{font-weight:750}.admin-log-table .meta{max-width:360px}.flash.error small{display:block;margin-top:8px;color:inherit;opacity:.82}.notice p+ p{margin-top:10px}details summary{cursor:pointer;font-weight:750}.market-search-main input{min-width:0}

/* v5.111 — identity, profile, authorship and support polish */
.identity-check.verified-badge{position:relative;display:inline-grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;margin:0!important;border:2px solid #fff!important;box-shadow:0 0 0 1px rgba(18,28,38,.08),0 5px 13px rgba(18,28,38,.12)!important;font-size:12px!important;font-weight:950!important;line-height:1!important;vertical-align:middle!important}
.identity-check.verified-badge>span{display:block;transform:translateY(-.25px)}
.identity-check.verified-user{background:linear-gradient(145deg,#1976df,#0c58b5)!important;color:#fff!important}
.identity-check.verified-author{background:linear-gradient(145deg,#28a46a,#147948)!important;color:#fff!important}
.profile-checks{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}
.identity-status-pill{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border:1px solid #e3e7ea;border-radius:999px;background:#f8fafb;color:#4f5a64;font-size:11px;font-weight:820;line-height:1.1;text-decoration:none;white-space:nowrap}
.identity-status-pill.author{background:#f1f8f4;border-color:#d5e9dc;color:#216c43}
.identity-status-pill.ok{background:#f4f8ff;border-color:#dce8fb;color:#2a5d9c}
.identity-status-pill.warning{background:#fff8eb;border-color:#f0dfb8;color:#8b6415}
.role-prefix{max-width:100%;min-width:0}
.role-prefix-pill{max-width:min(100%,260px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

.profile-page-v3{display:grid;gap:16px;max-width:1180px;margin:0 auto}
.profile-hero-v3{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:24px 26px;border-radius:22px;background:radial-gradient(circle at 94% 12%,rgba(27,112,213,.08),transparent 34%),linear-gradient(135deg,#fff,#f7f9fb)}
.profile-hero-person{display:flex;align-items:center;gap:18px;min-width:0}
.profile-avatar-v3{width:92px!important;height:92px!important;flex:0 0 92px!important;border-radius:26px!important}
.profile-hero-copy{min-width:0}.profile-title-line-v3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:2px 0 7px}.profile-title-line-v3 h1{margin:0;font-size:clamp(28px,4vw,42px);line-height:1.02;letter-spacing:-.03em;overflow-wrap:anywhere}
.profile-identity-badges-v3{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0}
.profile-contact-line{margin:8px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.profile-contact-line span{padding:0 3px;color:#b0b6bc}
.profile-hero-actions-v3{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:410px}
.profile-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-status-card{display:flex;align-items:center;gap:11px;min-width:0;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:#fff;color:inherit;text-decoration:none;box-shadow:var(--shadow-soft)}
.profile-status-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(20,30,40,.08)}
.profile-status-card>div{min-width:0}.profile-status-card strong,.profile-status-card small{display:block}.profile-status-card strong{font-size:13px}.profile-status-card small{margin-top:3px;color:var(--muted);font-size:10px;line-height:1.35}
.status-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:#f2f4f6;color:#5c6670;font-weight:900}.status-icon.is-ok{background:#edf8f2;color:#208154}.status-icon.is-warn{background:#fff5df;color:#9a6c10}.status-icon.is-neutral{background:#f2f5f8;color:#53606d}
.profile-author-banner{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 22px;background:linear-gradient(135deg,#171b20,#2b3239);color:#fff;border-color:#171b20}.profile-author-banner h2{margin:3px 0 7px}.profile-author-banner p{margin:0;color:#c9d0d6;max-width:720px;line-height:1.5}.profile-author-banner .eyebrow{color:#9fc7ae}.profile-author-banner-actions{display:flex;gap:8px;flex-wrap:wrap}.profile-author-banner .btn.secondary{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}
.account-shortcuts-v3{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0}.account-shortcuts-v3 a{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:13px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit;text-decoration:none}.account-shortcuts-v3 a>span{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#f2f4f6;font-weight:850}.account-shortcuts-v3 b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-shortcuts-v3 small{color:var(--muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-main-grid-v3{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);gap:12px}.profile-card-v3{padding:20px}.profile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.profile-card-head h2{margin:3px 0 0}.profile-bio-v3{line-height:1.65;color:#49535d}.account-completion-v3{margin-top:18px}.profile-stat-grid-v3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.profile-stat-grid-v3>div{padding:11px 12px;border:1px solid #e9edf0;border-radius:12px;background:#fafbfc}.profile-stat-grid-v3 span,.profile-stat-grid-v3 b{display:block}.profile-stat-grid-v3 span{color:var(--muted);font-size:10px}.profile-stat-grid-v3 b{margin-top:3px;font-size:19px}.profile-trust-card{align-content:start}.trust-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid #edf0f2}.trust-row:first-of-type{margin-top:10px}.trust-row span{color:var(--muted);font-size:12px}.trust-row b{font-size:12px}.ok-text{color:#237b50}.warn-text{color:#9b6d12}.profile-check-legend{display:grid;gap:9px;margin:16px 0}.profile-check-legend>span{display:flex;align-items:center;gap:8px;color:#66717b;font-size:11px}.profile-recent-content{padding:20px}.profile-recent-list{display:grid;margin-top:10px}.profile-recent-list>a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 2px;border-top:1px solid #edf0f2;color:inherit;text-decoration:none}.profile-recent-list>a>div{min-width:0}.profile-recent-list strong,.profile-recent-list small{display:block}.profile-recent-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-recent-list small{margin-top:3px;color:var(--muted);font-size:10px}.profile-recent-list>a>span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#f3f5f7;color:#66717b;font-size:10px;font-weight:750}.profile-referral-strip{margin:0}

.public-profile-hero{border-radius:22px!important;padding:24px!important;background:radial-gradient(circle at 96% 8%,rgba(35,125,222,.07),transparent 34%),#fff}.public-profile-main{min-width:0}.public-profile-title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.public-profile-title-line h1{margin:0;overflow-wrap:anywhere}.public-profile-tagline{margin:7px 0 4px;color:#58636e;font-size:14px}.public-profile-identity{gap:6px;margin:9px 0 0}.seller-reputation-compact{margin:12px 0 0!important;border:0!important;border-top:1px solid #edf0f2!important;border-radius:0!important;padding:12px 0 0!important;box-shadow:none!important;background:transparent!important}.seller-reputation-compact:hover{transform:none!important;box-shadow:none!important}

.author-profile-page{max-width:1180px;margin:0 auto;display:grid;gap:14px}.author-profile-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:center;padding:24px 26px;border-radius:22px;background:linear-gradient(135deg,#fff,#f7f9fa)}.author-profile-hero h1{margin:4px 0 8px}.author-profile-score{padding:15px 16px;border:1px solid #e8ebee;border-radius:15px;background:#fff}.author-profile-score span{display:block;color:var(--muted);font-size:10px}.author-profile-score strong{display:block;margin-top:2px;font-size:29px}.author-profile-score .author-progress{margin:9px 0 0}.author-profile-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.72fr);gap:12px}.author-profile-form{padding:21px}.author-profile-side{display:grid;gap:12px;align-content:start}.author-preview-card,.author-profile-help{padding:19px}.author-preview-person{display:flex;align-items:center;gap:11px;margin-top:12px}.author-preview-name{font-size:16px;font-weight:850;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.author-preview-person p{margin:3px 0 0;color:var(--muted);font-size:11px}.author-preview-bio{margin:14px 0 0;line-height:1.55;color:#5d6670;font-size:12px}.author-profile-help ul{padding-left:18px;color:#5e6872;font-size:12px;line-height:1.6}.author-profile-help li+li{margin-top:6px}
.author-apply-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.author-apply-steps>div{display:flex;gap:9px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:#fff}.author-apply-steps b{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;background:#eef1f3;color:#6c7680;font-size:11px}.author-apply-steps span{min-width:0}.author-apply-steps strong,.author-apply-steps small{display:block}.author-apply-steps strong{font-size:11px}.author-apply-steps small{margin-top:2px;color:var(--muted);font-size:9px}.author-apply-steps .is-done b{background:#e8f6ee;color:#21794f}.author-apply-steps .is-current{border-color:#cddcf2;background:#f7faff}.author-apply-steps .is-current b{background:#1e68c5;color:#fff}.author-email-gate{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.author-email-gate h2{margin:3px 0 5px}.author-email-gate p{margin:0;color:var(--muted);font-size:12px}

.support-chat-page{max-width:1100px;margin:0 auto;display:grid;gap:14px}.support-start-panel{padding:20px}.support-start-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.support-start-head h2{margin:3px 0 4px}.support-live-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dce9e2;border-radius:999px;background:#f4faf6;color:#2f704d;font-size:10px;font-weight:800;white-space:nowrap}.support-live-pill i{width:7px;height:7px;border-radius:50%;background:#2b9c64;box-shadow:0 0 0 4px rgba(43,156,100,.1)}.support-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.support-topic{text-align:left;cursor:pointer;min-height:80px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.support-topic strong{font-size:12px}.support-topic.is-selected{border-color:#9ebee8;background:#f5f9ff;box-shadow:0 0 0 3px rgba(44,111,197,.07)}.support-chat-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.support-chat-head h1{margin:3px 0 5px}.support-agent span{display:block;color:var(--muted);font-size:10px;margin-top:2px}.support-flow-strip{display:grid;grid-template-columns:minmax(0,1.5fr) .5fr 1fr;gap:8px}.support-flow-strip>span{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:11px;overflow-wrap:anywhere}.support-flow-strip b{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.support-conversation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.support-conversation-toolbar>div:first-child{display:grid;gap:2px}.support-selected-topic{display:flex;align-items:center;gap:6px;padding:9px 12px;border-bottom:1px solid var(--line);background:#fbfcfd;font-size:11px}.support-selected-topic span{color:var(--muted)}.support-selected-topic b{font-size:11px}.support-context-help{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:18px;padding:20px}.support-context-help h2{margin:3px 0 7px}.support-context-list{display:grid;gap:7px;align-content:start}.support-context-list span{padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:#fafbfc;color:#58636d;font-size:11px}
.author-top-cta.is-active{background:#171b20;color:#fff;border-color:#171b20}

@media(max-width:980px){.profile-status-strip{grid-template-columns:1fr 1fr}.account-shortcuts-v3{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-main-grid-v3,.author-profile-grid{grid-template-columns:1fr}.author-profile-hero{grid-template-columns:1fr}.support-flow-strip{grid-template-columns:1fr 1fr}.support-flow-strip>span:first-child{grid-column:1/-1}.support-context-help{grid-template-columns:1fr}}
@media(max-width:720px){.profile-page-v3{gap:10px}.profile-hero-v3{grid-template-columns:1fr;padding:17px}.profile-hero-person{align-items:flex-start;gap:12px}.profile-avatar-v3{width:64px!important;height:64px!important;flex-basis:64px!important;border-radius:18px!important}.profile-title-line-v3 h1{font-size:25px}.profile-hero-actions-v3{display:grid;grid-template-columns:1fr;width:100%;max-width:none}.profile-status-strip{grid-template-columns:1fr}.profile-author-banner{display:grid;padding:17px}.profile-author-banner-actions{display:grid}.account-shortcuts-v3{grid-template-columns:1fr 1fr}.profile-stat-grid-v3{grid-template-columns:1fr 1fr}.profile-card-v3,.profile-recent-content{padding:16px}.author-apply-steps{grid-template-columns:1fr 1fr}.author-email-gate{align-items:flex-start;display:grid}.support-start-head{display:grid}.support-topic-grid{grid-template-columns:1fr 1fr!important}.support-flow-strip{grid-template-columns:1fr}.support-flow-strip>span:first-child{grid-column:auto}.support-chat-head{display:grid}.support-context-help{padding:16px}}
@media(max-width:480px){.account-shortcuts-v3,.author-apply-steps,.support-topic-grid{grid-template-columns:1fr!important}.profile-hero-person{display:grid;grid-template-columns:56px minmax(0,1fr)}.profile-avatar-v3{width:56px!important;height:56px!important;flex-basis:56px!important}.profile-contact-line{grid-column:1/-1}.profile-stat-grid-v3{grid-template-columns:1fr 1fr}.role-prefix-pill{max-width:190px!important}.identity-status-pill{white-space:normal}}

/* v5.120 forum experience: unread state, watches, drafts, pagination and moderation */
.forum-command-nav{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:16px 0;padding:5px;border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(24,34,45,.04)}
.forum-command-nav a{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:10px;text-decoration:none;color:#64717d;font-size:12px;font-weight:800}.forum-command-nav a:hover{background:#f5f7f8;color:#182028}.forum-command-nav a.active{background:#111820;color:#fff}.forum-command-nav a b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#eef3f8;color:#2d5f91;font-size:9px}.forum-command-nav a.active b{background:rgba(255,255,255,.18);color:#fff}
.forum-banner-actions form,.thread-actions form{margin:0}.forum-node-head{display:flex;justify-content:space-between;gap:22px;align-items:center;margin:16px 0;padding:18px 20px}.forum-node-head h2{margin:3px 0 5px}.forum-node-head p{margin:0;color:var(--muted);font-size:13px}.forum-node-head form{flex:none}
.xf-topic-row.is-unread{background:linear-gradient(90deg,rgba(238,246,255,.82),#fff 34%);border-left:3px solid #3d7dc3}.xf-topic-row.is-unread .xf-topic-title strong{font-weight:900}.xf-topic-avatar{position:relative}.forum-unread-dot{position:absolute;right:-1px;top:-1px;width:10px;height:10px;border-radius:50%;background:#3579c2;border:2px solid #fff;box-shadow:0 0 0 1px rgba(53,121,194,.15)}
.xf-topic-last{min-width:120px;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;text-align:right;gap:2px}.xf-topic-last small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#9aa2aa;font-weight:800}.xf-topic-last strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.xf-topic-last span{font-size:10px;color:var(--muted)}
.xf-category{grid-template-columns:34px minmax(0,1fr) auto!important}.xf-category>em{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#edf5ff;color:#2b69aa;font-style:normal;font-size:10px;font-weight:900}.xf-category-last{opacity:.78;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.forum-draft-status{display:inline-flex;align-items:center;min-height:18px;font-size:10px;color:#89939d}.forum-draft-status.is-saving:before,.forum-draft-status.is-saved:before{content:'';width:6px;height:6px;border-radius:50%;margin-right:5px;background:#d5a33a}.forum-draft-status.is-saved{color:#4b7a5c}.forum-draft-status.is-saved:before{background:#4ba26c}
.thread-command-nav{margin-top:0}.thread-solution-jump{display:inline-flex;margin-top:16px;padding:8px 11px;border-radius:10px;background:#edf8ef;color:#2e7744;text-decoration:none;font-size:11px;font-weight:900}.thread-pagination-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0 10px;color:var(--muted);font-size:11px}.thread-pagination-head .forum-pager{margin:0}.thread-pager-bottom{margin:14px 0 24px}
.post-reply-preview{display:flex!important;flex-direction:column;gap:3px;padding:9px 11px!important;border-left:3px solid #cbd9e7!important;background:#f7f9fb!important}.post-reply-preview b{font-size:10px;color:#4d647a}.post-reply-preview span{font-size:11px;color:#7a858f;line-height:1.45}.reaction-static{cursor:default;opacity:.82}.thread-reply-state{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.forum-moderator-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.forum-move-form{display:flex;gap:7px;align-items:center}.forum-move-form select{min-width:180px}
@media(max-width:900px){.xf-topic-last{display:none}.forum-node-head{align-items:flex-start}.thread-pagination-head{align-items:flex-start;flex-direction:column}.thread-reply-state{align-items:flex-start}}
@media(max-width:620px){.forum-command-nav{overflow:auto;flex-wrap:nowrap}.forum-command-nav a{white-space:nowrap}.forum-node-head{flex-direction:column}.forum-node-head form,.forum-node-head .btn{width:100%}.forum-moderator-tools,.forum-move-form{width:100%}.forum-move-form select{min-width:0;flex:1}.thread-reply-state{width:100%}}

.xf-category{display:grid!important}
.xf-post:target{box-shadow:0 0 0 3px rgba(36,102,199,.16),var(--shadow)}


/* ---------- Source: portal.css ---------- */
/* 5.95: shared portal design, loaded after legacy styles. */
:root{--accent:#1264d6;--ink:#182333;--muted:#607085;--bg:#f3f5f7;--card:#fff;--line:#dfe5ec;--soft:#f7f9fc;--radius:12px;--shadow:0 3px 14px rgba(26,43,67,.04)}
body{background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body:not(.admin-body) .shell{width:calc(100% - 48px)!important;max-width:1360px!important;margin-inline:auto}
body:not(.admin-body) .main{padding-top:22px;overflow:visible}
a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2680ee!important;outline-offset:3px}
button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}
.top{background:#fff;box-shadow:none;border-bottom:1px solid var(--line)}
.top .top-in{display:flex!important;min-height:80px;gap:24px;align-items:center}
.top .brand{font-size:21px;max-width:310px;white-space:normal;line-height:1.15;flex-shrink:0}
.brand-wordmark{background:#1264d6;border-radius:10px;width:42px;height:42px;font-size:16px;flex-shrink:0}
.top-spacer{display:none!important}.top .top-search{display:flex!important;flex:1;width:auto;max-width:580px;min-width:120px;margin-left:auto;border:1px solid #c9d4e2;border-radius:10px;background:#f6f8fb}
.top-search input{min-width:0;width:100%;font-size:16px;padding:12px}.top-search button{min-width:44px;color:#1264d6}
.top-actions{gap:10px}.account-top-avatar{background:#edf3fc;color:#1264d6}.account-top-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-section-bar{position:relative!important;top:auto!important;background:white;border-bottom:1px solid var(--line);box-shadow:none}
.unified-catalog-in{display:flex;gap:24px;align-items:center;min-height:54px}.unified-catalog-title{background:#1264d6;color:white;padding:10px 16px;border-radius:8px;flex-shrink:0}
.unified-catalog-sub{display:none}.unified-catalog-links{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:5px 0;min-width:0}
.unified-catalog-links a{white-space:nowrap;padding:9px 14px;border-radius:8px;font-weight:650;color:#36455a}
.unified-catalog-links a:hover,.unified-catalog-links a[aria-current="page"]{color:#1264d6;background:#edf4ff}
.home-onlinerlike{gap:24px}.home-quick-nav{display:none}
.portal-command{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:26px 30px;gap:28px;grid-template-columns:minmax(0,1fr) 300px}
.portal-command:after{display:none}.portal-live{color:#52667d;letter-spacing:.04em;font-size:10px}.portal-live i{background:#1264d6;box-shadow:none}
.portal-command h1{font-size:clamp(26px,3vw,38px);line-height:1.12;letter-spacing:-.035em;margin:10px 0}.portal-command h1 br{display:none}.portal-command h1 em{color:#1264d6}
.portal-command p{font-size:14px;color:var(--muted);margin-bottom:15px}.portal-command-search{border:2px solid #1264d6;box-shadow:none;border-radius:9px;padding:4px 4px 4px 12px}.portal-command-search button{border-radius:6px}
.portal-command-links{color:#607085;gap:10px}.portal-command-links a{color:#1264d6;border:0}.portal-command-stat{background:#f3f6fa;backdrop-filter:none}.portal-command-stat strong{font-size:23px}.portal-command-stat span{color:#607085}
.portal-command-account{color:#1264d6;background:#eaf2ff;border-radius:0 0 8px 8px}
.home-category-rail{gap:8px;padding:0 0 8px;scroll-snap-type:x proximity}.home-category-card{flex:1 0 112px;min-height:104px;border-radius:10px;box-shadow:none;align-items:center;text-align:center;scroll-snap-align:start}.home-cat-icon{background:#edf3fa;color:#376891;width:44px;height:44px;font-size:24px;border-radius:10px}.home-category-card strong{font-size:12px}.home-category-card-primary{background:#eaf2ff;border-color:#c4d9f7}
.home-feature-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);min-height:400px;gap:6px;border:0;background:transparent;border-radius:12px}.home-feature-main{min-height:400px;border-radius:12px}.home-feature-side{gap:6px}.home-story-tile{min-height:197px;border-radius:10px}.home-feature-overlay{padding:26px;background:linear-gradient(transparent,rgba(8,17,30,.92))}.home-feature-overlay h2{font-size:clamp(28px,3vw,42px);line-height:1.12}.home-story-overlay h3{font-size:18px;line-height:1.22}.home-tag{background:#1264d6;max-width:100%;white-space:normal}
.home-feature-empty{display:flex;align-items:center;padding:30px;background:#e9f0f8;color:#1d344d}.home-feature-empty h2{font-size:30px;line-height:1.15}.home-feature-empty p{color:#52667d}
.home-main-columns{grid-template-columns:minmax(0,1fr) 330px;gap:24px}.home-section-title{align-items:center;margin:0 0 14px}.home-section-title h2{font-size:25px}.eyebrow{color:#1264d6;letter-spacing:.07em}
.home-news-cards{gap:12px}.home-news-card{padding:14px;grid-template-columns:190px minmax(0,1fr);border-radius:10px;box-shadow:none}.home-news-media{width:190px;height:130px;border-radius:8px}.home-news-card h3{font-size:21px;line-height:1.25}.home-news-card small{color:#607085}.home-news-card:hover h3{color:#1264d6}
.home-sidebar-stack{gap:20px}.home-side-panel{padding:20px;border-radius:12px;box-shadow:none}.home-side-panel h2{font-size:20px}.home-product-mini-image{width:64px;height:64px}.home-product-mini-image img{object-fit:contain}.home-product-mini strong{font-size:14px}.home-product-mini span{color:#1264d6;font-size:14px;font-weight:750}.home-topic-list strong{font-size:14px;line-height:1.4}.home-topic-list small{color:#607085}
.home-service-rail a{border-radius:10px;box-shadow:none;transition:border-color .15s}.home-service-rail a:hover{border-color:#1264d6}.home-service-rail small{font-size:12px;color:#607085}
.panel,.auth-card,.article,.account-card,.profile-hero,.product-card,.market-card{border:1px solid var(--line);border-radius:12px;box-shadow:none}
.btn{background:#1264d6;color:white;border-radius:8px;min-height:44px;padding:11px 17px;font-weight:700}.btn:hover{background:#0c50b0}.btn.secondary{background:#edf2f8;color:#263f60}.btn.secondary:hover{background:#dfe9f7}.btn.small{min-height:38px}
.field input,.field select,.field textarea,.search-tools input,.search-tools select{border:1px solid #c5cfdd;border-radius:8px;padding:12px;font-size:16px;background:#fff;color:#182333}.field label{color:#35465c}.field textarea{min-height:140px}
.product-grid{gap:18px}.product-card{overflow:hidden}.product-image{background:#fff}.product-image img{object-fit:contain;padding:12px}.product-body{padding:18px}.product-card h2{font-size:18px;line-height:1.35}.product-price{color:#172c49;font-size:23px}.product-category{color:#607085}
.market-card:hover,.subscription-card:hover,.xf-topic-row:hover,.home-news-card:hover{transform:none;box-shadow:none}.xf-topic-row{padding:18px;border-color:var(--line)}.xf-topic-row:hover{background:#f2f7fd}.xf-post-user{background:#f3f6fa}.xf-topic-meta,.meta{color:#607085}
.article{padding:clamp(20px,4vw,48px)}.article-title{font-size:clamp(30px,4vw,52px);line-height:1.14}.article-body{max-width:780px;font-size:18px;line-height:1.8}.article-body a{color:#1264d6;text-decoration:underline}.article-cover{border-radius:10px}
.search-portal{border-radius:12px;background:#fff;border:1px solid var(--line);padding:26px}.search-tabs{overflow-x:auto;flex-wrap:nowrap}.search-tabs a{white-space:nowrap}.search-tools{display:flex;flex-wrap:wrap;gap:10px}.search-tools>*{min-width:0;max-width:100%}
.table th{background:#f2f5f9;color:#465a72}.table td{padding:14px 12px}.table-wrap{border-radius:10px}.admin-body .panel{box-shadow:none}
.footer{background:#fff;padding:32px 0 96px}.footer-links{gap:14px;max-width:720px}.footer-links a{color:#52667d}.support-fab{background:#1e344e;border-radius:12px}.mobile-nav{background:#fff;backdrop-filter:none;border-top:1px solid var(--line)}.mobile-nav a.is-active{color:#1264d6;background:#edf4ff}
.site-loader{display:none!important}.reveal-ready{opacity:1!important;transform:none!important}.empty{color:#607085;padding:30px 18px;line-height:1.6}
@media(min-width:901px){.mobile-nav{display:none!important}}
@media(max-width:1100px){.top .brand{font-size:18px;max-width:240px}.author-top-cta,.account-top-name{display:none}.home-main-columns{grid-template-columns:minmax(0,1fr) 290px}.home-service-rail{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body:not(.admin-body) .shell{width:calc(100% - 32px)!important}.top .top-in{flex-wrap:wrap;gap:12px;padding:12px 0}.top .brand{max-width:65%;margin-right:auto}.top-actions{margin-left:auto}.top .top-search{order:3;flex:1 0 100%;max-width:none;margin:0}.unified-catalog-title{display:none}.unified-catalog-in{min-height:50px}.unified-catalog-links{width:100%;gap:2px}.unified-catalog-links a{padding:10px 12px}.portal-command{grid-template-columns:1fr;padding:22px}.portal-command-aside{display:none}.home-main-columns{grid-template-columns:1fr}.home-sidebar-stack{grid-template-columns:1fr 1fr}.home-feature-grid{grid-template-columns:1fr}.home-feature-main{min-height:350px}.home-feature-side{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0}.home-story-tile{min-height:190px}.mobile-nav{display:flex!important;padding-bottom:env(safe-area-inset-bottom)}.support-fab{bottom:calc(82px + env(safe-area-inset-bottom))}.main{padding-bottom:90px}}
@media(max-width:600px){body:not(.admin-body) .shell{width:calc(100% - 24px)!important}.top{position:relative!important}.top .brand{font-size:17px}.brand-wordmark{width:34px;height:34px}.top-actions{gap:4px}.home-onlinerlike{gap:18px}.portal-command{padding:18px}.portal-command h1{font-size:27px}.portal-command p{font-size:13px}.portal-command-search input{font-size:16px}.portal-command-search>span{display:none}.portal-command-links{font-size:12px}.home-feature-main{min-height:320px}.home-feature-overlay{padding:20px}.home-feature-overlay h2{font-size:28px}.home-feature-overlay p{display:none}.home-story-overlay{padding:14px}.home-story-overlay h3{font-size:16px}.home-story-tile{min-height:210px}.home-news-card{grid-template-columns:104px minmax(0,1fr);padding:10px;gap:12px}.home-news-media{width:104px;height:104px}.home-news-card h3{font-size:16px;margin-top:6px}.home-news-card p{display:none}.home-news-card small{font-size:11px}.home-sidebar-stack{grid-template-columns:1fr}.home-service-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section-title h2{font-size:23px}.home-category-card{flex:0 0 105px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body{padding:12px}.product-card h2{font-size:16px}.product-price{font-size:19px}.two{grid-template-columns:1fr}.auth-card{margin:20px auto;padding:22px}.search-portal{padding:18px}.footer-in{flex-direction:column;gap:20px}.support-fab b{display:none}.support-fab{padding:10px}.home-feature-empty{padding:22px}.home-feature-empty h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* 5.96 Account, community and mobile navigation */
html{scroll-padding-bottom:100px}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #246bd6;outline-offset:3px}
.mobile-nav.portal-bottom-nav{isolation:isolate;z-index:900!important;pointer-events:auto!important;background:#fff!important;backdrop-filter:none!important;opacity:1!important;visibility:visible!important}
.portal-bottom-nav::before,.portal-bottom-nav::after{display:none!important}
.portal-bottom-nav a{pointer-events:auto!important;touch-action:manipulation;min-height:48px;box-shadow:none!important}
.portal-bottom-nav a>*{pointer-events:none}
.portal-bottom-nav a.is-active{background:#eaf2ff!important;color:#165bbb!important}
.portal-bottom-nav small{font-size:11px!important}
.site-modal[aria-hidden="true"]{display:none!important;pointer-events:none}
.profile-hero-clean{position:relative;display:flex;align-items:center;gap:24px;padding:32px!important;border-top:6px solid #2265cf!important;background:linear-gradient(110deg,#edf4ff,#fff 65%)!important}
.profile-hero-clean .profile-big{width:100px;height:100px;border:5px solid #fff;box-shadow:0 4px 18px #183e6a18}
.profile-title-line{display:flex;align-items:center;gap:8px}
.profile-title-line h1{margin:0;font-size:32px}
.profile-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:370px;margin-left:auto}
.profile-actions .btn{min-height:42px;font-size:13px}
.verified-badge{display:inline-flex!important;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%!important;font-size:13px!important;font-weight:800;color:white!important;vertical-align:middle;flex-shrink:0}
.verified-user{background:#2168d5!important}.verified-author{background:#168568!important}
.account-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}
.account-shortcuts a{padding:18px;background:white;border:1px solid #dfe6ef;border-radius:12px;color:#24436a;font-weight:600}
.account-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}
.account-card{padding:24px!important}.account-card h3{margin-top:20px}
.account-checklist{list-style:none;padding:0}.account-checklist li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e7ecf3;font-size:13px}
.account-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.account-stat .stat{background:#f5f8fc;padding:14px;border-radius:10px}.account-stat b{font-size:24px}
.author-workflow{margin:16px 0}.author-workflow ol{display:flex;gap:32px;padding-left:20px;color:#526175}.author-workflow li{flex:1}
.author-metric-grid{gap:14px}.author-metric strong{color:#165bbb}.author-post-row{padding:18px 0!important}
.forum-banner{background:#f0f5fc!important;color:#182b48!important;border:1px solid #dce6f3!important;padding:28px!important}
.forum-banner h1{font-size:clamp(26px,3vw,38px)!important;max-width:720px}.forum-banner p{color:#57687d!important;max-width:690px}
.forum-tabs,.notification-filters{display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;padding:10px 0 16px}
.forum-tabs a,.notification-filter{white-space:nowrap;padding:11px 16px!important;border-radius:9px!important}
.forum-tabs a.active,.notification-filter.active{background:#e8f1ff!important;color:#165bbb!important;border-color:#bed4f4!important}
.forum-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important}
.forum-topic-list{padding:0!important;overflow:hidden}.xf-topic-row{padding:20px!important;border-radius:0!important;box-shadow:none!important;transform:none!important;border-bottom:1px solid #e5eaf1}
.xf-topic-row:hover{background:#f7faff!important}.xf-topic-title strong{font-size:17px;line-height:1.5}
.xf-topic-excerpt{color:#607085;line-height:1.6}.xf-topic-stat{min-width:64px}.xf-topic-stat strong{font-size:19px}
.forum-compose-inline{margin:24px 0;scroll-margin-top:100px}
.forum-pager{display:flex;justify-content:center;gap:8px;padding:20px;flex-wrap:wrap}
.forum-pager a{min-width:40px;min-height:40px;display:grid;place-items:center;border:1px solid #dfe6ef;border-radius:8px}
.forum-pager .active{background:#2168d5;color:white}
.notification-item{padding:22px!important;gap:16px!important;border:1px solid #e1e7ef!important;border-radius:12px!important;margin-bottom:10px}
.notification-item.unread{border-left:4px solid #2168d5!important;background:#f2f7ff!important}
.notification-top{gap:12px}.notification-content{min-width:0;overflow-wrap:anywhere}.notification-content p{line-height:1.65}
.notification-actions{display:flex;flex-wrap:wrap;gap:8px}.notification-actions form{margin:0}
.notification-push-card{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#f1f6ff!important}
.notification-prefs-form .check-row{padding:16px;border:1px solid #e0e7ef;border-radius:10px}
.notification-prefs-form input[type=checkbox]{width:20px;height:20px;accent-color:#2168d5}
.ad-public-card{border:1px solid #dce5f0!important;border-radius:14px!important;box-shadow:none!important}
.ad-public-card.is-selected{border:2px solid #2168d5!important;background:#f2f7ff!important}
#ad-order-form{scroll-margin-top:100px}#ad-selected-package{padding:16px;background:#eef5ff;border-radius:10px}
@media(max-width:900px){
 .mobile-nav.portal-bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;max-width:none!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;border-radius:0!important;height:auto!important;min-height:66px;padding:6px 4px calc(6px + env(safe-area-inset-bottom))!important;box-shadow:0 -3px 16px #172a4114!important}
 body{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
 .forum-layout{grid-template-columns:1fr!important}.forum-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .account-grid{grid-template-columns:1fr}.profile-hero-clean{flex-wrap:wrap;padding:22px!important}.profile-actions{max-width:none;margin-left:0}
 .account-shortcuts{grid-template-columns:1fr 1fr}.author-workflow ol{display:block}.author-workflow li{padding:5px 0}
}
@media(max-width:560px){
 .profile-title-line h1{font-size:25px}.profile-hero-clean .profile-big{width:76px;height:76px}.profile-info{min-width:0;overflow-wrap:anywhere}
 .account-stat{grid-template-columns:1fr 1fr}.account-shortcuts a{padding:13px;font-size:13px}
 .forum-sidebar{grid-template-columns:1fr}.xf-topic-row{padding:15px!important}.xf-topic-avatar{display:none}
 .notification-top{display:block}.notification-top small{display:block;margin-top:6px}.notification-icon{display:none}
 .notification-push-card{display:block}.notification-push-card button{margin-top:12px;width:100%}
}
@media print{.mobile-nav.portal-bottom-nav{display:none!important}}
/* 5.97 Reading, profiles, reviews, referrals, search and audit */
.wiki-reading-layout{display:grid;grid-template-columns:minmax(0,850px) 290px;gap:26px;align-items:start;max-width:1180px;margin:0 auto}
.wiki-article{min-width:0;padding:clamp(22px,4vw,54px)!important;background:#fff!important}
.wiki-article .breadcrumbs{margin:-10px 0 24px;color:#617084;font-size:13px}.wiki-article .breadcrumbs a{color:#245fae}
.wiki-article .article-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.03em;max-width:800px}
.wiki-lead{font:clamp(19px,2.2vw,24px)/1.55 Georgia,serif;color:#3e4b5c;border-bottom:1px solid #dfe5ec;padding-bottom:24px}
.wiki-article .article-body{font:18px/1.82 Georgia,'Times New Roman',serif;color:#202b38;max-width:760px}
.wiki-article .article-body p{margin:1.15em 0}.wiki-article .article-body h2{font:700 30px/1.25 system-ui;margin:1.8em 0 .6em;padding-bottom:8px;border-bottom:1px solid #dfe5ec;scroll-margin-top:90px}
.wiki-article .article-body h3{font:700 23px/1.3 system-ui;margin:1.5em 0 .5em;scroll-margin-top:90px}
.wiki-article .article-body img{max-width:100%;height:auto}.wiki-side{position:sticky;top:88px;display:grid;gap:14px}
.wiki-toc h2{font-size:20px;margin:4px 0 10px}.wiki-toc ol{padding-left:20px;margin:0;display:grid;gap:8px}.wiki-toc a{color:#315b8e;font-size:13px}.wiki-toc .toc-sub{margin-left:14px}
.wiki-facts dl{margin:0}.wiki-facts dl div{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #e6ebf1}.wiki-facts dt{color:#708093}.wiki-facts dd{margin:0;text-align:right;font-weight:700}
.review-summary{display:grid;grid-template-columns:1.3fr .6fr 1fr;gap:28px;align-items:center;background:linear-gradient(120deg,#eef5ff,#fff)!important}
.review-person{display:flex;gap:16px;align-items:center}.review-person h1{margin:4px 0}.review-score{text-align:center}.review-score strong{display:block;font-size:54px;line-height:1}.review-score small{display:block;color:#68788b}
.review-breakdown{display:grid;gap:7px}.review-breakdown a{display:grid;grid-template-columns:34px 1fr 25px;gap:8px;align-items:center;font-size:12px}.review-breakdown i{height:7px;background:#dfe6ef;border-radius:9px;overflow:hidden}.review-breakdown b{display:block;height:100%;background:#f2a400}.review-breakdown .active{font-weight:800;color:#165bbb}
.review-filters,.public-profile-tabs,.audit-periods{display:flex;gap:8px;overflow:auto;margin:16px 0}.review-filters a,.public-profile-tabs a,.audit-periods a{white-space:nowrap;padding:10px 14px;border:1px solid #dfe6ef;border-radius:9px;background:#fff}.review-filters .active,.audit-periods .active{background:#2168d5;color:white;border-color:#2168d5}
.review-item{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:20px 0;border-bottom:1px solid #e4e9f0}.review-head{display:flex;justify-content:space-between;gap:12px}.review-copy p{line-height:1.65}.review-rules{margin-top:16px}
.public-profile-tabs{position:sticky;top:66px;z-index:15;background:rgba(246,248,251,.95);padding:8px 0;backdrop-filter:blur(8px)}.public-profile-tabs b{margin-left:5px;color:#2168d5}
.referral-terms{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.referral-terms span{padding:11px 13px;background:#fff;border:1px solid #dce5f0;border-radius:10px}.referral-terms b{display:block;color:#166a50}.referral-steps{padding-left:24px;display:grid;gap:10px}
.author-blocked-notice{margin:18px 0;border:1px solid #e6b6bd!important;border-left:5px solid #b72d45!important;background:#fff5f6!important}.author-blocked-notice h2{color:#8f2034}
.audit-periods{margin:0 0 12px}.audit-change-summary{margin-top:6px;padding:7px 9px;background:#eff5fc;border-radius:7px;color:#41546b;font-size:12px}.admin-log-table td{vertical-align:top}.admin-log-table details pre{white-space:pre-wrap;max-width:420px;font-size:11px}
.search-portal{background:linear-gradient(110deg,#edf4ff,#fff)!important;border:1px solid #dce6f2!important}.search-portal>h1{font-size:clamp(28px,4vw,44px)}.search-tools{display:flex;gap:8px;flex-wrap:wrap}.search-tools select,.search-tools input{min-height:42px}
.role-prefix{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-prefix-pill{background:#edf4ff!important;color:#194f98!important;border:1px solid #c9dcf5!important}
@media(max-width:950px){.wiki-reading-layout{grid-template-columns:1fr}.wiki-side{position:static;grid-template-columns:1fr 1fr;order:-1}.wiki-article .article-body{max-width:none}.review-summary{grid-template-columns:1fr 180px}.review-breakdown{grid-column:1/-1}}
@media(max-width:600px){.wiki-side{grid-template-columns:1fr}.wiki-toc{display:none}.wiki-article{padding:20px!important}.wiki-article .article-body{font-size:17px;line-height:1.72}.wiki-article .article-title{font-size:34px}.review-summary{grid-template-columns:1fr}.review-score{text-align:left}.review-head{display:block}.public-profile-tabs{top:0}.referral-terms{display:grid}.referral-terms span{width:100%}}

/* 5.98 — unified directory, finance, forum and adaptive admin workspace */
:root{--content-wide:1360px;--content-reading:820px;--brand:#1464d2;--brand-soft:#eaf2ff;--success:#13865f;--danger:#c23b47}
.catalog-hub,.wallet-page,.support-chat-page,.forum-shell{display:grid;gap:22px}
.catalog-hub-hero{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:30px;background:linear-gradient(125deg,#eef5ff 0,#fff 62%)}
.catalog-hub-hero h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:.2em 0}.catalog-hub-hero .lead{max-width:760px;color:var(--muted)}
.catalog-section-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.catalog-section-directory a{display:flex;min-width:0;min-height:105px;flex-direction:column;justify-content:space-between;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);transition:border-color .15s,background .15s}
.catalog-section-directory a:hover{border-color:#9dbbe3;background:#f6f9fe}.catalog-section-directory span{font-size:18px;font-weight:780}.catalog-section-directory small{color:var(--muted)}
.catalog-products-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-top:10px}.catalog-products-head h2{margin:2px 0 0;font-size:28px}
.catalog-sort,.catalog-category-strip{display:flex;gap:7px;overflow:auto;scrollbar-width:thin}.catalog-sort a,.catalog-category-strip a{white-space:nowrap;padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#42536a;font-weight:650}.catalog-sort a.active,.catalog-category-strip a.active{background:var(--brand);border-color:var(--brand);color:#fff}
.catalog-category-strip{padding:2px 0 8px}.catalog-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.catalog-product-grid .product-card{display:flex;flex-direction:column;min-width:0;background:#fff}.product-card-media{aspect-ratio:4/3;display:block;background:#f7f9fc;overflow:hidden}.product-card-media img{width:100%;height:100%;object-fit:contain;padding:14px}.product-card-body{display:flex;flex:1;flex-direction:column;padding:16px}.product-card-body h3{font-size:17px;line-height:1.35;margin:6px 0}.product-card-meta{display:grid;gap:4px;margin-top:auto;padding-top:14px}.product-card-meta strong{font-size:19px}.product-card-meta span{font-size:12px;color:var(--muted)}
.wallet-hero{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:30px;border-radius:14px;background:#142d4b;color:#fff}.wallet-hero h1{font-size:clamp(34px,5vw,56px);line-height:1;margin:8px 0}.wallet-hero p{color:#c7d7ea;max-width:720px}.wallet-security-mark{padding:9px 12px;border:1px solid #ffffff3d;border-radius:999px;white-space:nowrap}
.wallet-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wallet-summary-card{display:grid;gap:5px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.wallet-summary-card span{color:var(--muted)}.wallet-summary-card strong{font-size:22px}
.wallet-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);gap:18px}.wallet-grid>.panel{padding:24px}.wallet-amount-input{display:flex;align-items:center;border:1px solid #c5cfdd;border-radius:9px;overflow:hidden}.wallet-amount-input input{border:0!important;flex:1}.wallet-amount-input span{padding:0 14px;font-weight:750;color:var(--muted)}.wallet-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.wallet-presets button{border:1px solid #cad5e2;border-radius:7px;background:#f6f8fb;padding:7px 11px;color:#314862}.wallet-presets button:hover{background:var(--brand-soft);border-color:#9abbe8}.wallet-pay-button{width:100%}.wallet-unavailable{padding:18px;border-radius:10px;background:#fff6df}.wallet-order-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.wallet-order-list>div:last-child{border:0}.wallet-order-list span:first-child{display:grid}.wallet-order-list small{color:var(--muted)}.wallet-explain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.wallet-explain-grid .panel{padding:18px}.wallet-explain-grid h3{margin-top:0}.wallet-explain-grid p{color:var(--muted)}
.public-profile-hero{position:relative;overflow:hidden}.public-profile-hero:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--brand),#28a47b)}.public-profile-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.identity-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.identity-legend span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:#f2f6fb;font-size:12px;color:#43546a}.public-profile-tabs{scrollbar-width:none}.profile-report-btn{color:#8f3440!important}
.forum-composer.modal-form-source{margin:0!important}.forum-panel-head{position:sticky;top:0;z-index:2;background:#fff}.forum-report-item{border-left:4px solid #e05d67}.forum-admin-table td{vertical-align:middle}.forum-bulkbar{position:sticky;top:0;z-index:2;background:#fff}
.support-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.support-topic{min-height:100px;text-align:left}.support-chat-panel{overflow:hidden}.support-messages{max-height:min(58vh,680px);overflow:auto;overscroll-behavior:contain}.chat-composer{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding-top:14px}
.support-faq{padding:22px}.support-faq details{border-top:1px solid var(--line);padding:14px 0}.support-faq details:last-child{padding-bottom:0}.support-faq summary{cursor:pointer;font-weight:720}.support-faq p{color:var(--muted);margin:9px 0 0;max-width:850px}
.admin-body{background:#edf1f6}.admin-body .shell{max-width:none!important;width:100%!important}.admin-shell{min-height:calc(100vh - 80px)}.admin-main{min-width:0;max-width:1480px;padding:28px clamp(18px,3vw,42px)}.admin-page-head{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}.admin-page-head h1{letter-spacing:-.035em}.admin-panel{overflow:hidden}.admin-priority{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}.priority-item{min-height:100px;border:1px solid var(--line)!important;border-radius:11px!important;background:#fff!important}.admin-stat-card{min-width:0}.admin-stat-card strong{font-variant-numeric:tabular-nums}.quick-action-grid a{min-height:92px}.admin-filter-bar{align-items:end}.table-wrap{max-width:100%;overflow:auto}.table{min-width:720px}.forum-category-editor{display:grid;grid-template-columns:1.2fr 1fr 1.6fr 100px 130px auto;gap:8px;align-items:end}.points-user-results{z-index:20}
@media(max-width:1100px){.catalog-section-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.forum-category-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.forum-category-editor .btn{width:100%}.admin-main{padding:22px}.wallet-grid{grid-template-columns:1fr}}
@media(max-width:900px){.catalog-section-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-products-head{align-items:start;flex-direction:column}.catalog-sort{width:100%}.wallet-explain-grid{grid-template-columns:1fr}.admin-shell{display:block}.admin-main{width:100%;padding:16px 16px 100px}.admin-page-head{align-items:flex-start}.admin-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid-2{grid-template-columns:1fr}.support-topic-grid{grid-template-columns:1fr}.support-start-panel{padding:20px}.support-topic{min-height:75px}.forum-panel-head{position:static}}
@media(max-width:600px){.catalog-hub-hero{align-items:stretch;flex-direction:column;padding:20px}.catalog-hub-actions .btn{width:100%}.catalog-section-directory{grid-template-columns:1fr 1fr}.catalog-section-directory a{min-height:92px;padding:14px}.catalog-section-directory span{font-size:16px}.catalog-product-grid{grid-template-columns:1fr 1fr}.product-card-body{padding:12px}.product-card-meta strong{font-size:16px}.wallet-hero{align-items:start;flex-direction:column;padding:22px}.wallet-security-mark{font-size:12px}.wallet-summary-grid{grid-template-columns:1fr}.wallet-grid>.panel{padding:18px}.wallet-presets{display:grid;grid-template-columns:repeat(5,1fr)}.wallet-presets button{padding:7px 2px}.wallet-order-list>div{align-items:flex-start}.public-profile-actions{width:100%}.public-profile-actions .btn{flex:1}.admin-stats-grid{grid-template-columns:1fr 1fr}.admin-stat-card{padding:14px}.admin-stat-card strong{font-size:25px}.admin-page-head{padding:18px}.admin-page-head,.admin-head-actions{display:flex;flex-direction:column}.admin-head-actions,.admin-head-actions .btn{width:100%}.forum-category-editor{grid-template-columns:1fr}.forum-bulkbar{align-items:stretch;flex-direction:column}.forum-bulkbar>*{width:100%}.chat-composer .composer-row{align-items:end}.chat-composer textarea{min-height:76px}}
@media(max-width:390px){.catalog-section-directory{grid-template-columns:1fr}.catalog-product-grid{grid-template-columns:1fr}.admin-stats-grid{grid-template-columns:1fr}}
.identity-legend{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0;color:#647489;font-size:12px}.identity-legend span{display:inline-flex;align-items:center;gap:6px}.identity-legend .verified-badge{width:17px;height:17px;font-size:10px}

/* 5.99: intrinsic grid sizing, touch layouts, account verification */
.catalog-hub,.catalog-hub>*{min-width:0;max-width:100%}.catalog-hub{grid-template-columns:minmax(0,1fr)}.catalog-hub-hero{width:100%;min-width:0!important}.catalog-hub-hero>div{min-width:0}.catalog-hub-hero h1,.catalog-hub-hero p{white-space:normal!important;overflow-wrap:anywhere}.catalog-category-strip,.catalog-sort{min-width:0;max-width:100%}.product-grid>*{min-width:0}.ecosystem-page{min-width:0}.market-search-main input{min-width:0}.unified-catalog-links{scrollbar-width:none}
.verify-card{width:min(440px,100%);margin:36px auto;padding:32px;text-align:center;background:#fff;border:1px solid #dde7ee;border-radius:24px;box-shadow:0 16px 60px #29638c10}.verify-symbol{width:84px;height:84px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;background:#229ed9;color:#fff;font-size:40px}.verify-card h1{font-size:28px;line-height:1.2}.verify-card p{color:#617587}.verify-card .btn{width:100%;background:#229ed9}.verify-code{font:700 28px/1.5 monospace;letter-spacing:.35em;text-align:center;width:100%;padding:12px;border:2px solid #9bceed;border-radius:12px}.verify-card form{display:grid;gap:14px;margin-top:16px}.account-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.account-control-grid a{padding:20px;background:#fff;border:1px solid #dde7ee;border-radius:14px}.account-control-grid b,.account-control-grid small{display:block}.account-control-grid small{margin-top:6px;color:#65768a}.is-author-highlight{border-left:4px solid #229ed9!important;background:#f2faff!important}.is-promoted{border-left:4px solid #d99c28!important;background:#fffaf0!important}.visibility-badge{display:inline-flex;margin:6px;padding:3px 8px;border-radius:6px;background:#e0f2ff;color:#13658c;font-size:11px;line-height:1.5}.is-promoted .visibility-badge{background:#fff0c3;color:#735111}.security-device{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #e3e8ef}.notification-card{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.catalog-hub-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:20px!important}.catalog-hub-hero h1{font-size:28px!important}.catalog-hub-hero .lead{font-size:15px!important}.catalog-section-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}.catalog-section-directory small{font-size:12px}.account-control-grid{grid-template-columns:1fr}.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.service-grid,.auto-grid,.realty-grid{grid-template-columns:1fr!important}.auto-card,.realty-card{grid-template-columns:minmax(0,1fr)!important}.verify-card{padding:24px 18px}.form-grid-2{grid-template-columns:1fr}.security-device{flex-direction:column}.profile-title-line{flex-wrap:wrap}}
@media(max-width:380px){.catalog-product-grid,.marketplace-grid{grid-template-columns:1fr!important}}


/* ---------- Source: interface.css ---------- */
/* Interface 5.100. Shared visual system; deliberately loaded after legacy components. */
:root{--accent:#086b59;--ink:#182c2a;--muted:#667674;--bg:#f5f6f3;--card:#fff;--line:#dde4df;--soft:#eff4f0;--radius:16px;--shadow:0 8px 28px #183b2710}
html{scroll-padding-top:24px}body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}*{box-sizing:border-box}h1,h2,h3{letter-spacing:-.035em;text-wrap:balance}p{line-height:1.65}img{max-width:100%}button,input,select,textarea{font:inherit}input,select,textarea{accent-color:var(--accent)}a,button{touch-action:manipulation}button,a,input,select,textarea{transition:background-color .15s,border-color .15s,box-shadow .15s}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #118675!important;outline-offset:4px}::selection{background:#caebde;color:#12372d}
body:not(.admin-body) .shell{max-width:1320px!important;width:calc(100% - 64px)!important}.main{padding-top:32px!important}.top{position:relative!important;background:#fff;border-bottom:1px solid var(--line);box-shadow:none}.top .top-in{min-height:88px;gap:28px}.top .brand{font-size:21px;font-weight:800;letter-spacing:-.04em;max-width:280px;overflow-wrap:anywhere}.brand-wordmark{background:var(--accent);border-radius:13px;width:42px;height:42px;color:white;letter-spacing:-.06em}.top .top-search{max-width:550px;background:#f3f6f3;border:1px solid transparent;border-radius:12px;min-width:140px}.top-search:focus-within{background:#fff!important;border-color:var(--accent)!important;box-shadow:0 0 0 3px #086b5914}.top-search input{font-size:14px;padding:13px 8px;background:transparent}.top-search>span{font-size:25px;color:var(--accent)}.top-search button{color:var(--accent);font-size:21px}.top-search kbd{font:12px system-ui;padding:0 7px;border:1px solid #d7dfd9;border-radius:4px;color:var(--muted)}.account-top-avatar{position:relative;background:var(--soft);color:var(--accent)}.notification-dot{position:absolute;right:0;top:0;background:#de754b;border:2px solid white;width:10px;height:10px;border-radius:50%}.top-actions{gap:12px}.account-top-link{color:var(--ink)}.author-top-cta{display:none}.admin-top-link{background:var(--soft)!important;color:var(--accent)!important;border-color:var(--line)!important;box-shadow:none!important}
.public-section-bar{z-index:30;background:#fff}.unified-catalog-in{min-height:62px;gap:20px;position:relative}.section-menu{flex-shrink:0}.section-menu>summary{display:flex!important;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:42px;background:var(--accent);border:0;color:white;font-weight:700;font-size:13px;padding:9px 16px;border-radius:9px}.section-menu>summary::-webkit-details-marker{display:none}.section-menu[open]>summary{background:#064f42}.section-menu-panel{position:absolute;left:0;top:calc(100% + 8px);width:min(760px,100%);background:#fff;border:1px solid var(--line);padding:24px;border-radius:16px;box-shadow:0 16px 60px #15382b26;z-index:50}.section-menu-heading{font-size:20px;font-weight:750;margin-bottom:16px}.section-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.section-menu-grid a{display:flex;flex-direction:column;position:relative;padding:16px 28px 16px 14px;border-radius:10px;color:var(--ink);background:var(--soft)}.section-menu-grid small{color:var(--muted);font-size:12px}.section-menu-grid a>span{position:absolute;right:12px;top:16px;color:var(--accent)}.section-menu-grid a:hover{background:#deeee4}.unified-catalog-links{flex:1;gap:4px;scrollbar-width:none}.unified-catalog-links a{padding:10px 14px;font-size:14px;font-weight:600;border-radius:8px;color:#475c57}.unified-catalog-links a:hover,.unified-catalog-links a[aria-current="page"]{background:var(--soft);color:var(--accent)}
.home-onlinerlike{gap:28px}.home-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:4px 0 0}.eyebrow{color:var(--accent);font-size:10px;letter-spacing:.13em;font-weight:750}.home-intro h1{font-size:clamp(30px,3.5vw,46px);line-height:1.16;margin:10px 0;letter-spacing:-.05em}.home-intro h1 span{color:var(--accent)}.home-intro p{color:var(--muted);font-size:14px;margin:0}.home-intro-link{display:flex;align-items:center;gap:22px;color:var(--accent);font-size:13px;font-weight:700;white-space:nowrap}.home-intro-link span{display:grid;place-items:center;width:42px;height:42px;background:#e5eee7;border-radius:50%;font-size:20px}.home-category-rail{gap:10px;padding-bottom:4px}.home-category-card{min-height:90px;padding:14px;flex:1 0 115px;flex-direction:row;gap:12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:white}.home-category-card strong{font-size:12px;line-height:1.35}.home-cat-icon{flex-shrink:0;width:34px;height:34px;border-radius:9px;font-size:20px;background:var(--soft);color:var(--accent)}.home-category-card-primary{background:#e5eee7;border-color:#d2e0d6}.home-category-card:hover{border-color:var(--accent);transform:none}
.home-feature-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;border-radius:18px;min-height:440px;overflow:visible}.home-feature-main{border-radius:18px;min-height:440px;background:#173e33;overflow:hidden}.home-feature-main>img{width:100%;height:100%;object-fit:cover}.home-feature-fallback{background:radial-gradient(ellipse at top right,#729379,#193e33 70%)}.home-feature-overlay{padding:32px;background:linear-gradient(transparent,#081b15ee)}.home-feature-overlay h2{font-size:clamp(26px,3vw,40px);letter-spacing:-.035em;line-height:1.16;max-width:680px}.home-feature-overlay p{font-size:14px;line-height:1.5;color:#e3e9e4}.home-feature-overlay small{color:#e3e9e4}.home-tag{background:#e2edac;color:#26361d;border-radius:5px;font-size:10px;padding:4px 8px;font-weight:750;letter-spacing:.04em}.home-feature-side{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:16px}.home-story-tile{min-height:212px;border-radius:16px;overflow:hidden;background:#e5eadb}.home-story-dark{background:#24483e}.home-story-overlay{padding:22px;background:linear-gradient(transparent,#11241ddb)}.home-story-tile:not(:has(img)) .home-story-overlay{background:transparent;color:var(--ink)}.home-story-dark:not(:has(img)) .home-story-overlay{color:#fff}.home-story-overlay h3{font-size:22px;line-height:1.25}.home-story-overlay small{opacity:.85}.home-feature-empty{background:#e6ecdf;color:var(--ink);padding:36px}.home-feature-empty p{color:#526657;max-width:470px}.home-feature-empty h2{font-size:38px;max-width:430px}.home-feature-empty .btn{margin-top:14px}.home-main-columns{gap:32px;grid-template-columns:minmax(0,1fr) 320px}.home-section-title h2{font-size:27px;letter-spacing:-.045em}.home-section-title a{color:var(--accent);font-size:12px;font-weight:700}.home-news-cards{gap:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.home-news-card{border:0;border-bottom:1px solid var(--line);border-radius:0;grid-template-columns:180px minmax(0,1fr);padding:20px;gap:22px;box-shadow:none}.home-news-card:last-child{border-bottom:0}.home-news-media{width:180px;height:125px;border-radius:10px;background:var(--soft);color:var(--accent)}.home-news-card h3{font-size:21px;line-height:1.3;margin:7px 0}.home-news-card p{font-size:13px;color:var(--muted);margin:6px 0}.home-news-card small{font-size:11px;color:var(--muted)}.home-news-card:hover{background:#f9fbf8}.home-news-card:hover h3{color:var(--accent)}.home-tag.plain{color:var(--accent);background:transparent;padding:0}.home-side-panel{padding:22px;border-radius:16px}.home-side-panel h2{font-size:20px}.home-product-mini{padding:14px 0;gap:14px}.home-product-mini-image{background:#f6f7f3;border-radius:10px}.home-product-mini span{color:var(--accent)}.home-topic-list a{padding:16px 0}.home-topic-list strong{font-size:14px;font-weight:650}.home-topic-list small{font-size:11px}.home-service-rail{gap:12px}.home-service-rail a{padding:22px;border-radius:14px;border-color:var(--line);background:white}.home-service-rail a>span{background:var(--soft);color:var(--accent)}.home-service-rail a:hover{border-color:var(--accent)}
.panel,.auth-card,.account-card,.profile-hero,.product-card,.market-card,.article{border-color:var(--line);border-radius:16px;box-shadow:none;background:#fff}.btn{background:var(--accent);border:1px solid transparent;border-radius:9px;box-shadow:none!important;min-height:44px;padding:11px 18px;font-size:13px;font-weight:700;color:white}.btn:hover{background:#065442;transform:none}.btn.secondary{background:var(--soft);color:var(--accent);border-color:var(--line)}.btn.secondary:hover{background:#dfece3}.btn.small{min-height:40px}.field label{font-size:13px;font-weight:650;color:var(--ink)}.field input,.field select,.field textarea,.search-tools input,.search-tools select,.market-filters input,.market-filters select,.forum-inline-search input{border:1px solid #cbd6cd;border-radius:9px;background:#fff;color:var(--ink);font-size:16px;min-height:44px}.form .field{gap:7px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:180px;text-align:center;color:var(--muted);padding:30px}.empty strong{color:var(--ink);font-size:18px}.empty a{color:var(--accent);font-weight:650}.empty a.btn{color:#fff}.flash{border-radius:10px}.flash.success{background:#e6f3eb;color:#165332}.flash.error{background:#fff0eb;color:#94381e}.meta{color:var(--muted)}
.catalog-hub{gap:24px}.catalog-hub-hero{padding:28px 0!important;border:0;background:transparent!important;box-shadow:none}.catalog-hub-hero h1{font-size:42px;margin:8px 0;line-height:1.15}.catalog-hub-hero p{margin:0;color:var(--muted);max-width:620px;font-size:14px}.catalog-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}.catalog-filter-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.catalog-filter-panel summary{list-style:none;cursor:pointer;font-weight:750;font-size:17px}.catalog-filter-panel summary::-webkit-details-marker{display:none}.catalog-filter-panel summary:after{content:'−';float:right;color:var(--accent)}.catalog-filter-panel:not([open]) summary:after{content:'+'}.catalog-filter-form{display:grid;gap:18px;margin-top:20px}.catalog-filter-form label{display:grid;gap:7px;font-size:12px;font-weight:650}.catalog-filter-form input,.catalog-filter-form select{min-width:0;width:100%;min-height:44px;border:1px solid #cbd6cd;border-radius:8px;padding:10px;background:white;color:var(--ink);font-size:14px}.catalog-price-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-filter-form .filter-reset{text-align:center;font-size:12px;color:var(--muted);text-decoration:underline}.catalog-results{min-width:0}.catalog-products-head{margin:0 0 18px;align-items:center}.catalog-products-head h2{font-size:22px}.catalog-result-count{font-size:12px;font-weight:450;letter-spacing:0;color:var(--muted);margin-left:8px}.catalog-sort{display:flex;flex-wrap:wrap;gap:4px}.catalog-sort a{font-size:12px;border:0;background:transparent;padding:8px 11px;border-radius:7px;color:var(--muted)}.catalog-sort a.active{background:#e1ece3;color:var(--accent)}.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{transition:border-color .15s,box-shadow .15s}.product-card:hover{border-color:#9cbba8;box-shadow:0 8px 24px #183b270d}.product-card-media{background:#fff;aspect-ratio:1.15}.product-card-media img{padding:22px;mix-blend-mode:multiply}.product-card-body{padding:18px}.product-card-body h3{font-size:16px;letter-spacing:-.025em;line-height:1.4}.product-card-body .eyebrow{font-size:9px;letter-spacing:.07em}.product-card-meta strong{font-size:22px;color:var(--ink)}.product-card-meta span{font-size:11px;color:var(--muted)}.catalog-product-grid>.empty{grid-column:1/-1}.catalog-pager{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:28px 0}.catalog-pager a,.catalog-pager span{min-width:42px;min-height:42px;padding:8px 12px;text-align:center;border-radius:8px;color:var(--accent);background:#fff;border:1px solid var(--line)}.catalog-pager [aria-current]{background:var(--accent);color:#fff}.catalog-directory{border-top:1px solid var(--line);padding-top:20px}.catalog-directory summary{cursor:pointer;color:var(--muted);font-size:13px}.catalog-directory .catalog-section-directory{margin-top:16px}
.ecosystem-hero,.forum-banner,.search-portal{background:#fff!important;border:1px solid var(--line);padding:28px!important}.ecosystem-hero h1,.forum-banner h1{font-size:clamp(28px,3vw,40px);line-height:1.2}.forum-banner p,.ecosystem-hero p{font-size:14px;color:var(--muted);max-width:680px}.forum-tabs,.ecosystem-tabs,.search-tabs{gap:5px}.forum-tabs a,.ecosystem-tabs a,.search-tabs a{border-radius:8px;color:var(--muted);padding:10px 16px}.forum-tabs a.active,.ecosystem-tabs a.active,.search-tabs a.active,.xf-category.active{background:#e2ede5!important;color:var(--accent)!important;border-color:#c9ddcf!important;box-shadow:none}.forum-stats>div{background:#fff;border:1px solid var(--line);border-radius:12px}.forum-stats strong{color:var(--accent)}.guest-welcome{background:#eef3e8!important;padding:22px!important}.guest-welcome h2{font-size:20px}.guest-welcome p{font-size:13px}.xf-topic-row{padding:22px 18px;gap:16px}.xf-topic-row:hover{background:#f5f8f3}.xf-topic-title strong{font-size:16px;font-weight:650}.xf-topic-excerpt{font-size:13px;color:var(--muted);line-height:1.6}.xf-topic-meta{font-size:11px;color:var(--muted)}.xf-prefix{border-radius:5px;font-size:10px}.xf-topic-stat strong{font-variant-numeric:tabular-nums}.forum-panel-head{position:static}.market-card-body{padding:20px}.market-card h2{font-size:20px;line-height:1.3}.market-card-image{aspect-ratio:4/3}.market-card-image img{width:100%;height:100%;object-fit:cover}.market-search{border-radius:14px;background:#fff;border:1px solid var(--line)}.section-trust-strip{background:#edf2e7!important;border-color:var(--line)!important;color:#4f6456}.product-price{color:var(--ink)}.profile-hero-clean{background:#eef3e8!important;border-top:4px solid var(--accent)!important}.profile-actions .btn{min-height:44px}.profile-title-line h1{font-size:32px}.article-body{max-width:740px;margin-inline:auto;font-size:18px;line-height:1.85}.article-body a{color:var(--accent)}.article-title{max-width:980px;line-height:1.15}.auth-card{max-width:480px;padding:32px}.auth-card h1{font-size:30px}.site-modal-card{border-radius:18px;max-height:calc(100dvh - 32px);overflow:auto}.site-modal-head{background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid var(--line)}.site-modal-close{color:var(--ink);background:var(--soft);border-radius:50%;min-width:44px;min-height:44px}
.footer{margin-top:36px;background:#edf1e9;border-top:1px solid var(--line);padding:40px 0;color:var(--ink)}.footer-in strong{font-size:19px}.footer-in p,.footer-in small{color:var(--muted);font-size:12px}.footer-links a{font-size:12px;color:#526557}.support-fab{background:#24483c;bottom:24px;border-radius:12px;box-shadow:0 4px 16px #1538271a}.mobile-nav.portal-bottom-nav{display:none!important}.admin-body{background:#f3f5f0}.admin-body .top-in{padding-inline:24px}.admin-sidebar{background:#fff!important;border-right:1px solid var(--line)}.admin-brand-mark{background:var(--accent)!important}.admin-brand strong,.admin-sidebar-nav b{color:var(--ink)}.admin-sidebar-nav a.active{background:#e4eee5!important;border-color:#cbdccf!important;box-shadow:none!important}.admin-sidebar-nav a.active b,.admin-sidebar-nav .nav-ico{color:var(--accent)!important}.admin-sidebar-nav a:hover{background:#f0f5ed!important}.admin-nav-section strong{color:var(--accent)}.admin-stat-card,.admin-page-head{border-radius:14px;box-shadow:none}.admin-main .table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:#f1f5ee;color:#506351}.admin-main .table td{font-size:13px}.admin-main .table tbody tr:hover{background:#f8faf6}.admin-sidebar-status{background:#eef4e9!important}.admin-body .footer{padding-bottom:30px}
@media(min-width:1000px){.catalog-filter-panel{position:sticky;top:20px}}
@media(max-width:1150px){.top .top-in{gap:16px}.top .brand{max-width:210px}.top-actions .account-top-name{display:none}.unified-catalog-in{gap:10px}.unified-catalog-links a{padding:10px}.catalog-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-service-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.home-main-columns{grid-template-columns:minmax(0,1fr) 290px;gap:22px}.home-news-card{grid-template-columns:135px minmax(0,1fr);gap:16px}.home-news-media{width:135px;height:115px}}
@media(max-width:900px){body:not(.admin-body) .shell{width:calc(100% - 36px)!important}.top .top-in{padding:15px 0;gap:12px;min-height:0}.top .brand{max-width:55%;font-size:19px}.top .top-search{max-width:none;flex:1 0 100%;order:3;margin:0}.top-search kbd{display:none}.top .account-top-name{display:none}.unified-catalog-in{min-height:58px;gap:10px}.section-menu>summary{font-size:0!important;gap:0;width:42px;height:42px;padding:0;justify-content:center}.section-menu>summary>span:first-child{font-size:23px}.section-menu>summary>span:last-child{display:none}.section-menu-panel{padding:18px}.section-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unified-catalog-links a{font-size:13px;padding:10px 12px}.home-intro-link{display:none}.home-feature-grid{grid-template-columns:1.3fr 1fr;min-height:380px}.home-feature-main{min-height:380px}.home-feature-side{grid-template-columns:1fr}.home-story-tile{min-height:182px}.home-story-overlay h3{font-size:18px}.home-feature-overlay{padding:24px}.home-main-columns{grid-template-columns:1fr}.home-sidebar-stack{grid-template-columns:1fr 1fr}.home-news-card{grid-template-columns:180px minmax(0,1fr)}.home-news-media{width:180px;height:125px}.catalog-layout{grid-template-columns:1fr}.catalog-filter-panel{padding:16px}.catalog-filter-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.catalog-filter-form .filter-reset{align-self:center}.catalog-products-head{flex-direction:row;align-items:center}.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-nav.portal-bottom-nav{display:flex!important;height:auto;min-height:65px;bottom:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -4px 20px #183b2708}.portal-bottom-nav a{border-radius:9px;min-width:0;flex:1}.portal-bottom-nav a.is-active{background:#e6f0e8!important;color:var(--accent)!important}.portal-bottom-nav a span{font-size:22px}.portal-bottom-nav small{font-size:10px!important}.support-fab{bottom:calc(82px + env(safe-area-inset-bottom));right:18px}.support-fab b{display:none}.footer{padding-bottom:100px}.main{padding-bottom:16px}.admin-main{padding-bottom:90px}}
@media(max-width:600px){body:not(.admin-body) .shell{width:calc(100% - 28px)!important}.main{padding-top:22px!important}.top .top-in{gap:10px;padding:12px 0}.top .brand{font-size:17px;gap:9px}.brand-wordmark{width:34px;height:34px;font-size:13px}.guest-register-cta{display:none!important}.account-top-guest .account-top-name{display:inline!important}.top-actions{gap:5px}.top-search input{font-size:16px}.home-onlinerlike{gap:22px}.home-intro h1{font-size:31px;max-width:340px}.home-intro p{font-size:13px;max-width:290px}.home-category-card{flex:0 0 138px;min-height:74px;padding:12px}.home-feature-grid{grid-template-columns:1fr;gap:12px}.home-feature-main{min-height:370px}.home-feature-overlay{padding:24px}.home-feature-overlay h2{font-size:29px}.home-feature-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.home-story-tile{min-height:200px}.home-story-overlay{padding:15px}.home-story-overlay h3{font-size:17px;line-height:1.3}.home-story-overlay small{font-size:10px}.home-feature-empty{padding:26px;min-height:310px}.home-feature-empty h2{font-size:32px}.home-feature-empty p{font-size:14px}.home-section-title h2{font-size:24px}.home-news-card{grid-template-columns:96px minmax(0,1fr);padding:15px;gap:14px}.home-news-media{width:96px;height:100px}.home-news-card h3{font-size:16px}.home-news-card p{display:none}.home-news-card small{font-size:10px}.home-sidebar-stack{grid-template-columns:1fr}.home-service-rail{grid-template-columns:1fr 1fr}.home-service-rail a{padding:17px}.catalog-hub-hero{padding:4px 0!important;gap:16px}.catalog-hub-hero h1{font-size:32px}.catalog-hub-actions .btn{width:auto}.catalog-filter-form{grid-template-columns:1fr 1fr;gap:14px}.catalog-filter-form>label:first-child{grid-column:1/-1}.catalog-products-head{flex-direction:column;align-items:start;gap:10px}.catalog-sort{width:auto}.catalog-product-grid{grid-template-columns:1fr 1fr!important;gap:10px}.product-card-media img{padding:14px}.product-card-body{padding:12px}.product-card-body h3{font-size:14px}.product-card-meta strong{font-size:18px}.product-card-meta span{font-size:10px}.catalog-result-count{font-size:11px}.ecosystem-hero,.forum-banner,.search-portal{padding:22px!important}.ecosystem-hero h1,.forum-banner h1{font-size:29px}.forum-banner-actions{flex-wrap:wrap}.xf-topic-row{gap:10px;padding:16px 12px}.xf-topic-title strong{font-size:15px}.xf-topic-excerpt{font-size:12px}.section-trust-strip>div:last-child{flex-wrap:wrap}.article{padding:22px 18px}.article-title{font-size:30px}.article-body{font-size:17px;line-height:1.8}.auth-card{padding:24px;margin:10px auto}.profile-hero-clean{padding:22px!important}.site-modal-card{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.section-menu-grid a{padding:14px 24px 14px 12px}.section-menu-grid small{font-size:11px}.section-menu-grid strong{font-size:13px}.footer-links{gap:12px}.admin-body .top-in{padding:12px 16px}}
@media(max-width:359px){.catalog-product-grid{grid-template-columns:1fr!important}.home-feature-side{grid-template-columns:1fr}.home-story-tile{min-height:180px}.section-menu-grid{grid-template-columns:1fr}.section-menu-panel{max-height:70vh;overflow:auto}.catalog-filter-form{grid-template-columns:1fr}.catalog-filter-form>label:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.home-feature-side>.home-story-tile:only-child{grid-row:1/-1;grid-column:1/-1}.admin-nav-search{display:grid;gap:7px;margin:16px;font-size:11px;color:var(--muted)}.admin-nav-search input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:14px;color:var(--ink);background:#f5f8f2}.admin-nav-empty{margin:16px;color:var(--muted);font-size:13px}.reveal-ready{opacity:1!important;transform:none!important;transition-delay:0ms!important}
.home-story-light:has(img) .home-story-overlay{color:#fff;background:linear-gradient(transparent,#11241de8)}.home-feature-grid>*,.home-main-columns>*,.catalog-layout>*,.catalog-filter-form>*{min-width:0}.home-story-overlay h3,.home-feature-overlay h2,.product-card-body h3{overflow-wrap:anywhere}.section-menu-panel{max-height:calc(100dvh - 180px);overflow-y:auto}
/* 5.101: shopping, seller workflow, conversations, product details and operations. */
.results-utility{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px}.quiet-link,.text-button{color:var(--accent);font-size:13px;font-weight:650}.text-button{background:none;border:0;padding:10px 0;cursor:pointer;min-height:40px}.product-card-actions{display:flex;align-items:center;gap:8px;margin-top:16px;flex-wrap:wrap}.compact-form{margin:16px 0 4px;gap:8px}.compact-form label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.compact-form input{min-height:42px;width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px}.check-line{display:flex;gap:10px;align-items:center;font-size:14px}.check-line input{width:18px;height:18px}.compare-table-wrap{padding:0;overflow:auto}.compare-table{width:100%;border-collapse:collapse}.compare-table th,.compare-table td{min-width:195px;max-width:300px;padding:18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:13px}.compare-table thead th{background:#fff}.compare-table thead strong{font-size:16px;display:block;margin-bottom:10px}.compare-table thead img{height:130px;object-fit:contain;margin:0 auto 16px}.compare-table tbody th{background:#f4f7f0;color:var(--muted);font-weight:500;position:sticky;left:0;z-index:1}.compare-table tbody tr:hover td{background:#f8faf5}.compare-tray{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:850;width:min(980px,calc(100% - 40px));padding:14px 18px;display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #bfd3c5;border-radius:16px;box-shadow:0 10px 45px #153b2929}.compare-tray>strong{white-space:nowrap;font-size:13px}.compare-tray-items{display:flex;gap:8px;overflow:auto;min-width:0;flex:1}.compare-chip{background:var(--soft);color:var(--ink);border:0;border-radius:7px;padding:9px 10px;max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;flex-shrink:0;min-height:40px}.compare-tray .text-button{white-space:nowrap}.has-compare-tray .support-fab{bottom:112px}.has-compare-tray .footer{padding-bottom:140px}.detail-tabs{display:flex;gap:6px;overflow:auto;padding:0 0 8px;margin-bottom:14px;scrollbar-width:thin}.detail-tabs a{padding:10px 16px;white-space:nowrap;border-radius:8px;background:white;border:1px solid var(--line);font-size:13px;color:var(--accent)}.product-detail-top{padding:32px;gap:40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.product-detail-info h1{font-size:clamp(28px,3.6vw,42px);line-height:1.15}.product-detail-media{background:#fff;display:grid;place-items:center;min-width:0}.product-detail-media img{max-height:430px;width:100%;object-fit:contain}.product-v2-meta{font-size:12px;color:var(--muted);margin:14px 0}.product-price.large{font-size:36px;color:var(--ink)}.product-offer-section{border-radius:16px;border:1px solid var(--line);background:#fff;padding:24px}.offer-row{padding:20px 0;border-bottom:1px solid var(--line)}.offer-availability{font-size:12px}.product-spec-grid>div{background:#f3f7f0;padding:15px;border-radius:9px}.product-spec-grid span{color:var(--muted);font-size:12px}.product-detail-v2{display:grid;gap:24px}.seller-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.seller-metrics>a{padding:22px;display:grid;gap:4px}.seller-metrics strong{font-size:32px;color:var(--accent);line-height:1.2}.seller-metrics span{font-size:12px;color:var(--muted)}.seller-list{padding:0 24px}.seller-row{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px solid var(--line)}.seller-row:last-child{border-bottom:0}.seller-row h3{font-size:19px;margin:8px 0}.seller-row p{margin:0}.seller-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-chip{font-size:10px;font-weight:700;padding:5px 8px;border-radius:5px;background:#eef2e9;color:#566347}.status-published{background:#e3f1e6;color:#21633b}.status-pending{background:#fff1cd;color:#77561a}.status-blocked{background:#fbe9e4;color:#983b27}.inbox-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:24px;align-items:start}.inbox-list{padding:22px;max-height:760px;overflow:auto}.inbox-list h2{font-size:21px}.inbox-thread{display:grid;gap:4px;padding:16px 12px;border-bottom:1px solid var(--line);border-radius:8px}.inbox-thread strong{font-size:14px;line-height:1.4}.inbox-thread span,.inbox-thread small{color:var(--muted);font-size:11px}.inbox-thread.active{background:#e6f0e5;border-color:transparent}.inbox-detail{padding:28px;min-width:0}.inbox-detail h2{font-size:23px;margin:0}.message-list{display:flex;flex-direction:column;gap:16px;padding:28px 0}.message-bubble{max-width:85%;padding:16px 20px;background:#f1f4ec;border-radius:0 14px 14px 14px;align-self:flex-start;overflow-wrap:anywhere}.message-bubble.is-mine{align-self:flex-end;background:#e1eee5;border-radius:14px 0 14px 14px}.message-bubble strong{font-size:11px}.message-bubble p{font-size:14px;margin:6px 0}.message-bubble small{font-size:10px;color:var(--muted)}.inbox-composer{border-top:1px solid var(--line);padding-top:20px}.inbox-composer textarea{width:100%;border:1px solid #c5d4c8;border-radius:10px;padding:14px;resize:vertical;min-height:120px;font-size:16px}.inbox-composer .btn{justify-self:start}.seller-contact{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:20px 0}.offer-specs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.offer-specs>div{display:grid;gap:3px;background:var(--soft);border-radius:8px;padding:12px}.offer-specs span{font-size:11px;color:var(--muted)}.offer-specs strong{font-size:14px}.auto-card-image img,.realty-card-media img{width:100%;height:100%;object-fit:cover}.auto-card-image,.realty-card-media{aspect-ratio:16/10;overflow:hidden}.auto-card,.realty-card,.service-card{border-radius:16px;overflow:hidden}.auto-specs{display:flex;gap:6px;flex-wrap:wrap}.auto-specs>span{padding:5px 8px;border-radius:6px;background:var(--soft);font-size:11px}.listing-info h1{font-size:clamp(28px,3.2vw,40px);line-height:1.2}.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.quality-card{padding:22px;display:flex;flex-direction:column;gap:12px}.quality-card strong{font-size:32px;line-height:1.2;color:var(--accent)}.quality-card h2{font-size:16px;margin:0}.quality-card p{font-size:12px;color:var(--muted);margin:0}.quality-card a{margin-top:auto;font-size:12px;font-weight:650;color:var(--accent)}.quality-card.is-attention{border-top:3px solid #c49138}.quality-note{padding:20px;border-left:3px solid var(--accent);background:#edf4e7;margin-bottom:20px}.quality-note p{font-size:13px;margin:5px 0}.notification-filter.active{background:var(--accent)!important;border-color:var(--accent)!important;color:white!important}.wallet-hero{background:#eef4e7!important;color:var(--ink)!important}.wallet-balance,.wallet-amount{color:var(--accent)}.feed-news-card{border-radius:14px;border:1px solid var(--line)}.forum-help,.support-start-panel{background:#f3f7ed}.listing-gallery a{border-radius:10px;overflow:hidden}.review-item{border-bottom:1px solid var(--line);padding:20px 0}.stars{color:#937119}.article-body blockquote{border-left:3px solid var(--accent);background:#f1f6eb;padding:16px 24px;margin-inline:0}.article-body img{height:auto;border-radius:10px}.form-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:1100px){.quality-grid{grid-template-columns:1fr 1fr}.product-detail-top{gap:24px;padding:24px}.inbox-layout{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:900px){.compare-tray{bottom:calc(76px + env(safe-area-inset-bottom));gap:10px;padding:12px;width:calc(100% - 24px)}.compare-tray-items{display:none}.compare-tray .btn{margin-left:auto}.has-compare-tray .support-fab{display:none}.has-compare-tray .footer{padding-bottom:180px}.inbox-layout{grid-template-columns:1fr}.inbox-list{max-height:260px}.seller-metrics{grid-template-columns:1fr 1fr}.product-detail-top{grid-template-columns:1fr}.product-detail-media img{max-height:300px}.seller-row{align-items:flex-start}.quality-grid{grid-template-columns:1fr 1fr}.offer-row{display:flex;flex-wrap:wrap;gap:16px}.offer-row>div{min-width:130px}.compare-table th,.compare-table td{min-width:180px}.compare-table tbody th{min-width:120px;max-width:140px}}
@media(max-width:600px){.seller-metrics{gap:10px}.seller-metrics>a{padding:16px}.seller-metrics strong{font-size:26px}.seller-list{padding:0 16px}.seller-row{flex-direction:column;gap:14px}.seller-row-actions{width:100%}.inbox-detail{padding:20px}.message-bubble{max-width:94%;padding:14px}.quality-grid{grid-template-columns:1fr}.product-detail-info h1{font-size:29px}.product-offer-section{padding:18px}.compare-table thead img{height:100px}.product-price.large{font-size:30px}.detail-tabs a{padding:9px 12px}.inbox-detail .section-head{flex-wrap:wrap}.offer-specs{grid-template-columns:1fr 1fr}.compare-tray>strong{font-size:12px}.compact-form input{font-size:16px}.seller-contact{align-items:stretch;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.compare-tray{scroll-behavior:auto}}
.business-hero{padding:38px 0;max-width:850px}.business-hero h1{font-size:clamp(36px,5vw,62px);line-height:1.1;margin:16px 0 20px;color:var(--ink)}.business-hero p{max-width:600px;color:var(--muted);font-size:17px;margin-bottom:24px}.business-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.business-plan{padding:30px;display:flex;flex-direction:column;gap:14px}.business-plan h2,.business-plan h3{font-size:23px;margin:0}.business-plan>strong{font-size:25px;color:var(--accent);line-height:1.3}.business-plan p,.business-plan li{font-size:13px;color:var(--muted)}.business-plan ul{padding-left:20px;margin:0 0 10px}.business-plan .btn{margin-top:auto}.business-plan-featured{border:2px solid var(--accent);background:#f2f7ed}.business-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-left:20px}.business-steps li{padding-right:12px}.business-steps strong,.business-steps span{display:block}.business-steps span{font-size:13px;color:var(--muted);margin-top:8px}.seller-metrics>article{display:grid;gap:4px;padding:22px}.economics-result{display:block;padding:20px;background:#edf4e6;border-radius:10px;font-size:15px;color:var(--ink)}[data-economics] label{display:grid;gap:8px;font-size:13px}[data-economics] input{padding:12px;border:1px solid var(--line);border-radius:8px;font-size:16px;min-width:0}.advertising-hero{background:#eef4e7!important;color:var(--ink)!important}.ad-public-card{border-radius:16px;box-shadow:none}.ad-public-card.is-featured{border-color:var(--accent);background:#f3f7ed}.ad-payment-summary{background:#e7f0e3;border-color:var(--line)}
@media(max-width:900px){.business-plans{grid-template-columns:1fr}.business-steps{grid-template-columns:1fr 1fr}.business-plan{padding:24px}.business-hero{padding:18px 0}.business-hero p{font-size:15px}}
@media(max-width:450px){.business-steps{grid-template-columns:1fr}.business-hero h1{font-size:37px}}

/* 5.110 — unified Onliner-style portal and Kufar-style marketplace. */
.header-listing-cta{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 14px;border-radius:9px;background:#0d8a50;color:#fff!important;font-size:13px;font-weight:750;margin-left:auto}
.portal-home-v2{display:grid;gap:34px}.portal-search-hero{position:relative;overflow:hidden;border-radius:20px;padding:34px;background:linear-gradient(120deg,#112a4d 0%,#0d5bd7 72%,#15815a 145%);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:end}.portal-search-hero:after{content:"";position:absolute;width:300px;height:300px;border:80px solid rgba(255,255,255,.06);border-radius:50%;right:-150px;top:-180px;pointer-events:none}.portal-search-copy,.portal-market-search,.portal-hero-actions{position:relative;z-index:1}.portal-search-copy{max-width:760px}.portal-search-copy .eyebrow{color:#b9d4ff}.portal-search-copy h1{font-size:clamp(30px,4vw,52px);line-height:1.06;letter-spacing:-.035em;margin:8px 0 12px;max-width:800px}.portal-search-copy p{margin:0;color:#d9e7fb;font-size:16px}.portal-market-search{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.35fr) auto;background:#fff;padding:7px;border-radius:12px;box-shadow:0 16px 40px #061b3a4d}.portal-market-search label{display:flex;align-items:center;gap:8px;padding:0 14px;color:#52667d;min-width:0}.portal-market-search label+label{border-left:1px solid #dbe3ed}.portal-market-search input{width:100%;min-width:0;border:0;outline:0;padding:10px 0;font-size:16px;color:#182333;background:transparent}.portal-market-search .btn{border-radius:9px;background:#0d8a50}.portal-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;white-space:nowrap}.portal-hero-actions .btn{display:none}.portal-hero-actions>a:not(.btn){color:#fff;font-weight:700}.portal-market-categories,.portal-home-market,.listing-related{display:grid;gap:16px}.portal-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.portal-category-grid>a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0;transition:.18s ease}.portal-category-grid>a:hover{border-color:#9fbce6;transform:translateY(-2px);box-shadow:0 8px 24px #203a5d10}.portal-category-grid>a>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:10px;background:#eef4ff;color:#0d5bd7;font-size:20px}.portal-category-grid strong,.portal-category-grid small{display:block;overflow:hidden;text-overflow:ellipsis}.portal-category-grid strong{font-size:14px;white-space:nowrap}.portal-category-grid small{font-size:11px;color:var(--muted);margin-top:2px}.portal-listing-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portal-listing-card{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0}.portal-listing-card>div{position:relative;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#eef1f4}.portal-listing-card img{width:100%;height:100%;object-fit:cover}.portal-listing-card>div>span{position:absolute;left:8px;bottom:8px;background:#fff;color:#21593d;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:800}.portal-listing-card>small{display:block;color:#0d5bd7;font-weight:700;margin:11px 0 3px}.portal-listing-card h3{font-size:16px;line-height:1.35;margin:0;min-height:43px}.portal-listing-card>strong{display:block;font-size:19px;margin-top:8px}.portal-listing-card>p{margin:4px 0 0;color:var(--muted);font-size:12px}.portal-listings-empty{grid-column:1/-1;text-align:center;padding:34px}.portal-news-market-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.72fr);gap:24px;align-items:start}.portal-lead-story{display:grid;grid-template-columns:minmax(250px,.95fr) minmax(0,1fr);gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;padding:14px}.portal-lead-story>img{width:100%;height:100%;min-height:270px;object-fit:cover;border-radius:11px}.portal-lead-story>div{padding:18px 18px 18px 0;align-self:center}.portal-lead-story span,.portal-story-list small{color:#0d5bd7;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.portal-lead-story h3{font-size:clamp(24px,3vw,38px);line-height:1.12;margin:10px 0}.portal-lead-story p{color:var(--muted);font-size:15px}.portal-lead-story small,.portal-story-list em{font-size:11px;color:var(--muted);font-style:normal}.portal-story-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.portal-story-list>a{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:12px}.portal-story-list img{width:100px;height:86px;object-fit:cover;border-radius:8px}.portal-story-list span{display:grid;align-content:start}.portal-story-list strong{font-size:14px;line-height:1.35;margin:3px 0}.portal-home-sidebar{display:grid;gap:14px}.portal-home-sidebar>.panel{padding:20px}.portal-trust-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--line)}.portal-trust-row>div{background:#fff;padding:22px}.portal-trust-row strong,.portal-trust-row span{display:block}.portal-trust-row strong{font-size:15px}.portal-trust-row span{font-size:12px;color:var(--muted);margin-top:5px}

.marketplace-page{display:grid;gap:22px}.marketplace-command{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:28px 30px;border-radius:18px;background:#fff;border:1px solid var(--line)}.marketplace-command h1{font-size:clamp(29px,3vw,43px);line-height:1.08;margin:5px 0 8px;letter-spacing:-.025em}.marketplace-command p{margin:0;color:var(--muted);font-size:15px}.marketplace-create-cta{align-self:center;background:#0d8a50}.marketplace-main-search{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.35fr) auto;border:1px solid #bac8da;border-radius:11px;overflow:hidden;background:#fff}.marketplace-main-search input{border:0;border-right:1px solid var(--line);outline:0;padding:14px;font-size:16px;min-width:0}.marketplace-main-search .btn{margin:5px;border-radius:8px}.marketplace-category-rail{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}.marketplace-category-rail>a{flex:0 0 142px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 8px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px}.marketplace-category-rail>a.is-active{border-color:#0d5bd7;box-shadow:inset 0 0 0 1px #0d5bd7}.marketplace-category-rail>a>span{grid-row:1/-1;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eff5ff;color:#0d5bd7;font-size:17px}.marketplace-category-rail strong{font-size:12px;line-height:1.18}.marketplace-category-rail small{color:var(--muted);font-size:10px}.marketplace-layout{display:grid;grid-template-columns:268px minmax(0,1fr);gap:22px;align-items:start}.marketplace-filter-card{position:sticky;top:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.marketplace-filter-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:16px}.marketplace-filter-head h2{font-size:20px;margin:2px 0}.marketplace-filter-head>a{font-size:12px;color:#0d5bd7}.marketplace-filter-form{display:grid;gap:15px}.marketplace-filter-form>label:not(.choice),.marketplace-filter-form .filter-pair label{display:grid;gap:6px;font-size:12px;font-weight:700}.marketplace-filter-form input[type=text],.marketplace-filter-form input[type=number],.marketplace-filter-form select{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:8px;padding:10px;background:#fff;font-size:14px}.marketplace-filter-form fieldset{border:0;border-top:1px solid var(--line);padding:14px 0 0;margin:0;display:grid;gap:8px}.marketplace-filter-form legend{padding:0 0 8px;font-size:12px;font-weight:800}.marketplace-filter-form .choice{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.marketplace-filter-form .choice input{width:17px;height:17px}.filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-delivery{border-top:1px solid var(--line);padding-top:14px}.marketplace-results{min-width:0}.marketplace-results-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.marketplace-results-head h2{font-size:25px;margin:2px 0}.marketplace-result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.marketplace-result-actions select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px;font-size:13px}.view-switch{display:flex;background:#fff;border:1px solid var(--line);border-radius:8px;padding:3px}.view-switch a{padding:5px 8px;border-radius:5px;color:var(--muted)}.view-switch a.active{background:#eaf2ff;color:#0d5bd7}.marketplace-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.marketplace-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:13px}.marketplace-card.is-promoted{border-color:#e0b24d;box-shadow:0 4px 16px #c8952430}.marketplace-card-media{display:block;position:relative;aspect-ratio:4/3;background:#eef2f6;overflow:hidden}.marketplace-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.marketplace-card:hover .marketplace-card-media img{transform:scale(1.025)}.promoted-badge{position:absolute;left:9px;top:9px;padding:5px 7px;background:#ffe399;color:#604000;border-radius:6px;font-size:10px;font-weight:800}.marketplace-card-copy{padding:13px}.marketplace-card-topline{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.marketplace-card-topline>span{color:#0d5bd7;font-weight:750}.marketplace-card h3{font-size:16px;line-height:1.34;margin:5px 0;min-height:43px}.marketplace-card-price{display:block;font-size:19px;margin:6px 0}.marketplace-card-copy>p{font-size:12px;color:var(--muted);margin:5px 0;min-height:38px}.marketplace-card-tags{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.marketplace-card-tags span{background:#f0f4f8;border-radius:5px;padding:4px 6px;font-size:10px;color:#536479}.marketplace-card-seller{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:10px}.marketplace-card-seller>span{display:grid;min-width:0}.marketplace-card-seller b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketplace-card-seller small{font-size:9px;color:var(--muted)}.marketplace-card-grid.is-list{grid-template-columns:1fr}.marketplace-card-grid.is-list .marketplace-card{display:grid;grid-template-columns:230px minmax(0,1fr)}.marketplace-card-grid.is-list .marketplace-card-media{height:100%;min-height:220px;aspect-ratio:auto}.marketplace-card-grid.is-list .marketplace-card h3{font-size:20px;min-height:0}.marketplace-card-grid.is-list .marketplace-card-copy>p{min-height:0}.marketplace-empty{grid-column:1/-1;padding:46px;text-align:center}.listing-options{display:flex;gap:12px;flex-wrap:wrap;padding:14px;border-radius:9px;background:#f3f6fa}.listing-options .choice{font-size:13px}

.listing-page-v2{display:grid;gap:22px}.listing-layout-v2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.75fr);gap:22px;align-items:start}.listing-gallery-v2{min-width:0}.listing-main-photo{height:min(64vh,650px);min-height:420px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:grid;place-items:center}.listing-main-photo img{width:100%;height:100%;object-fit:contain}.listing-thumbnails{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding-bottom:4px}.listing-thumbnails button{width:82px;height:68px;flex:0 0 82px;border:2px solid transparent;border-radius:9px;padding:0;overflow:hidden;background:#fff}.listing-thumbnails button.active{border-color:#0d5bd7}.listing-thumbnails img{width:100%;height:100%;object-fit:cover}.listing-buy-card{position:sticky;top:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.listing-buy-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.listing-buy-card h1{font-size:clamp(26px,3vw,39px);line-height:1.12;margin:14px 0}.listing-price-v2{font-size:36px;font-weight:850;letter-spacing:-.03em}.listing-badges{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.listing-badges span{background:#edf3fb;color:#314c6b;border-radius:6px;padding:6px 8px;font-size:11px;font-weight:700}.listing-message-button{width:100%;margin-top:5px}.listing-phone{margin-top:9px;border:1px solid #b7c6d8;border-radius:9px;text-align:center}.listing-phone summary{list-style:none;padding:11px;font-weight:750;cursor:pointer;color:#0d5bd7}.listing-phone summary::-webkit-details-marker{display:none}.listing-phone[open] summary{display:none}.listing-phone a{display:block;padding:11px;font-size:17px;font-weight:800}.listing-favorite-form{margin-top:9px}.listing-favorite-form .btn,.listing-buy-card>.btn.secondary{width:100%;margin-top:9px}.listing-share{width:100%;border:0;background:none;color:#0d5bd7;padding:12px;font-size:13px}.listing-sold-note{background:#f0f2f4;border-radius:8px;padding:12px;text-align:center;font-weight:700}.listing-content-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr);gap:22px;align-items:start}.listing-description{padding:28px}.listing-description>p{font-size:16px;line-height:1.75;white-space:normal}.listing-contact-note{display:grid;gap:3px;border-left:3px solid #0d5bd7;background:#f1f6fd;padding:13px 16px;margin-top:20px}.listing-safety{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:14px;padding:20px;border-left:4px solid #e0a631}.listing-safety p{margin:4px 0;color:var(--muted);font-size:13px}.listing-safety>a{white-space:nowrap;color:#0d5bd7;font-size:12px;font-weight:700}.listing-seller-v2{padding:24px}.listing-seller-profile{display:flex;gap:14px;align-items:center}.listing-seller-profile h2{font-size:21px;margin:2px 0}.listing-seller-profile h2 small{color:#0d8a50}.listing-seller-profile a{font-size:12px;color:#0d5bd7}.listing-seller-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:18px 0}.listing-seller-stats>div{background:#fff;padding:12px 8px;text-align:center}.listing-seller-stats strong,.listing-seller-stats span{display:block}.listing-seller-stats strong{font-size:18px}.listing-seller-stats span{font-size:9px;color:var(--muted)}.listing-reviews{padding:28px}.listing-related-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.listing-related-grid>a{background:#fff;border:1px solid var(--line);border-radius:11px;padding:9px;min-width:0}.listing-related-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px}.listing-related-grid span,.listing-related-grid strong,.listing-related-grid small{display:block}.listing-related-grid span{font-size:13px;line-height:1.3;margin-top:8px;min-height:34px}.listing-related-grid strong{font-size:15px;margin-top:5px}.listing-related-grid small{font-size:9px;color:var(--muted);margin-top:3px}

@media(max-width:1120px){.portal-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-listing-row{grid-template-columns:repeat(3,minmax(0,1fr))}.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.header-listing-cta{display:none}.portal-search-hero{grid-template-columns:1fr;padding:26px}.portal-hero-actions{justify-content:flex-start}.portal-market-search{grid-template-columns:1fr auto}.portal-market-search .portal-location{display:none}.portal-category-grid{display:flex;overflow-x:auto;padding-bottom:5px}.portal-category-grid>a{flex:0 0 190px}.portal-listing-row{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-news-market-grid{grid-template-columns:1fr}.portal-home-sidebar{grid-template-columns:1fr 1fr}.portal-trust-row{grid-template-columns:1fr 1fr}.marketplace-layout{grid-template-columns:1fr}.marketplace-filter-card{position:static}.marketplace-filter-form{grid-template-columns:1fr 1fr}.marketplace-filter-form fieldset{border:1px solid var(--line);padding:12px;border-radius:9px}.marketplace-filter-form>.btn{align-self:end}.listing-layout-v2,.listing-content-grid{grid-template-columns:1fr}.listing-buy-card{position:static}.listing-main-photo{height:58vh;min-height:360px}.listing-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.portal-home-v2{gap:26px}.portal-search-hero{margin-inline:-14px;border-radius:0;padding:24px 18px}.portal-search-copy h1{font-size:31px}.portal-search-copy p{font-size:14px}.portal-market-search{grid-template-columns:1fr}.portal-market-search .btn{min-height:45px}.portal-hero-actions>a:not(.btn){font-size:13px}.portal-listing-row{display:flex;overflow-x:auto;padding-bottom:6px}.portal-listing-card{flex:0 0 76vw}.portal-news-market-grid{display:block}.portal-lead-story{grid-template-columns:1fr;padding:10px}.portal-lead-story>img{min-height:220px;max-height:260px}.portal-lead-story>div{padding:10px}.portal-story-list{grid-template-columns:1fr}.portal-home-sidebar{grid-template-columns:1fr;margin-top:16px}.portal-trust-row{grid-template-columns:1fr}.marketplace-command{grid-template-columns:1fr;padding:22px}.marketplace-create-cta{width:100%}.marketplace-main-search{grid-template-columns:1fr}.marketplace-main-search input{border-right:0;border-bottom:1px solid var(--line)}.marketplace-results-head{align-items:flex-start;flex-direction:column}.marketplace-result-actions{width:100%;justify-content:flex-start}.marketplace-result-actions select{flex:1}.marketplace-filter-form{grid-template-columns:1fr}.marketplace-card-grid{grid-template-columns:1fr 1fr;gap:9px}.marketplace-card-copy{padding:10px}.marketplace-card h3{font-size:14px}.marketplace-card-price{font-size:16px}.marketplace-card-copy>p,.marketplace-card-seller{display:none}.marketplace-card-tags span:last-child{display:none}.marketplace-card-grid.is-list{grid-template-columns:1fr}.marketplace-card-grid.is-list .marketplace-card{grid-template-columns:125px minmax(0,1fr)}.marketplace-card-grid.is-list .marketplace-card-media{min-height:165px}.marketplace-card-grid.is-list .marketplace-card-copy>p,.marketplace-card-grid.is-list .marketplace-card-seller{display:flex}.listing-layout-v2{gap:12px}.listing-main-photo{height:48vh;min-height:300px;border-radius:11px}.listing-buy-card,.listing-description,.listing-reviews{padding:20px}.listing-buy-card h1{font-size:28px}.listing-price-v2{font-size:30px}.listing-safety{align-items:flex-start;flex-direction:column}.listing-related-grid{display:flex;overflow-x:auto}.listing-related-grid>a{flex:0 0 58vw}}

/* v5.121 home categories, events and registration consent */
.portal-category-grid-visual{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.portal-category-card{position:relative;display:flex;align-items:flex-end;min-height:168px;padding:16px;border-radius:18px;overflow:hidden;color:#fff;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 34px rgba(18,30,46,.08);isolation:isolate}
.portal-category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,20,31,.14) 0%,rgba(9,17,28,.46) 58%,rgba(9,17,28,.76) 100%);z-index:0}
.portal-category-card-backdrop{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.02);transition:transform .35s ease,filter .35s ease;filter:saturate(1.05)}
.portal-category-card:hover{transform:translateY(-3px);box-shadow:0 24px 46px rgba(20,33,49,.16)}
.portal-category-card:hover .portal-category-card-backdrop{transform:scale(1.08);filter:saturate(1.12)}
.portal-category-card-content{position:relative;z-index:1;display:grid;gap:10px;width:100%}
.portal-category-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.portal-category-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);font-size:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.portal-category-count{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.18);backdrop-filter:blur(10px);font-size:12px;line-height:1;color:#fff}
.portal-category-card strong,.portal-category-card small,.portal-category-card em{display:block}
.portal-category-card strong{font-size:19px;line-height:1.15;margin-bottom:4px;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.portal-category-card small{font-size:12px;color:rgba(255,255,255,.86)}
.portal-category-card em{font-style:normal;font-size:12px;line-height:1.4;color:rgba(255,255,255,.75)}
.portal-category-card.theme-realty .portal-category-card-backdrop{background-image:url('category-bg-realty.jpg')}
.portal-category-card.theme-auto .portal-category-card-backdrop{background-image:url('category-bg-auto.jpg')}
.portal-category-card.theme-tech .portal-category-card-backdrop{background-image:url('category-bg-tech.jpg')}
.portal-category-card.theme-home .portal-category-card-backdrop{background-image:url('category-bg-home.jpg')}
.portal-category-card.theme-fashion .portal-category-card-backdrop{background-image:url('category-bg-fashion.jpg')}
.portal-category-card.theme-kids .portal-category-card-backdrop{background-image:url('category-bg-kids.jpg')}
.portal-category-card.theme-pets .portal-category-card-backdrop{background-image:url('category-bg-pets.jpg')}
.events-page{display:grid;gap:20px}
.events-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:24px;background:linear-gradient(130deg,#fff,#f5f8fb)}
.events-hero h1{margin:4px 0 8px}
.events-tabs{display:flex;gap:10px;flex-wrap:wrap}
.events-tabs a{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;font-weight:700;font-size:13px}
.events-tabs a.active{background:#111820;color:#fff;border-color:#111820}
.events-layout{align-items:start}
.events-sidebar{display:grid;gap:14px}
.events-side-list{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.events-side-list li+li{margin-top:8px}
.consent-box{display:flex;align-items:flex-start;gap:12px;margin:4px 0 14px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:#fafbfd;font-size:13px;line-height:1.55;color:#4f5c68}
.consent-box input{margin-top:3px;flex:0 0 auto}
.consent-box a{color:var(--accent);font-weight:700}
@media(max-width:900px){.portal-category-grid-visual{display:flex;overflow-x:auto;padding-bottom:6px}.portal-category-card{flex:0 0 220px;min-height:158px}.events-hero{display:block}.events-hero .btn{margin-top:12px}}
@media(max-width:620px){.portal-category-card{flex:0 0 78vw;min-height:150px;padding:14px}.portal-category-card strong{font-size:17px}.events-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.consent-box{font-size:12px;padding:12px}}
.payment-confirm-password{width:112px;min-height:33px;padding:7px 8px;border:1px solid var(--line);border-radius:9px;font-size:11px;background:#fff}
.table-actions form:has(.payment-confirm-password){display:flex;gap:6px;align-items:center;flex-wrap:wrap}

/* v5.123 — Admin Control Center + Security Center */
body.admin-body{background:#f4f6f3}.admin-body .main{padding-top:0}.admin-sidebar-v2{border-radius:18px!important;box-shadow:0 18px 55px rgba(22,34,28,.08)!important}.admin-operator-card{display:flex;align-items:center;gap:10px;padding:11px 12px;margin:8px 0;border:1px solid var(--line);border-radius:12px;background:#fafcf9}.admin-operator-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#173d31;color:#fff;font-weight:900}.admin-operator-card strong,.admin-operator-card span{display:block}.admin-operator-card strong{font-size:12px}.admin-operator-card span{font-size:10px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.admin-sidebar-nav{gap:2px}.admin-sidebar-nav a{padding:10px 11px;border:1px solid transparent}.admin-sidebar-nav a>span:last-child{min-width:0}.admin-sidebar-nav b{display:flex;align-items:center;gap:7px}.admin-sidebar-nav small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-nav-section{margin:13px 5px 5px;padding-top:11px;border-top:1px solid #edf0ec}.admin-nav-section:first-of-type{margin-top:4px;border-top:0;padding-top:4px}.admin-nav-section strong{font-size:10px;letter-spacing:.08em;text-transform:uppercase}.admin-nav-section span{font-size:9px}.admin-nav-search input{border-radius:10px!important}.admin-main{display:grid;gap:16px}.admin-page-head{margin:0}.admin-dashboard-head{background:linear-gradient(135deg,#fff,#f7faf7)}.admin-focus-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.admin-focus-strip a{display:grid;gap:3px;min-height:105px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff;text-decoration:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.admin-focus-strip a:hover{transform:translateY(-2px);border-color:#c7d7cc;box-shadow:0 12px 30px rgba(30,55,38,.07)}.admin-focus-strip span{font-size:11px;color:var(--muted)}.admin-focus-strip b{font-size:28px;line-height:1;font-variant-numeric:tabular-nums}.admin-focus-strip small{font-size:10px;color:var(--muted)}.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px}.admin-dashboard-overview,.admin-security-summary{min-height:100%}.admin-ops-clean{grid-template-columns:repeat(3,minmax(0,1fr))}.security-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.security-home-grid a{display:grid;gap:3px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fafcf9}.security-home-grid b{font-size:25px;font-variant-numeric:tabular-nums}.security-home-grid span{font-size:11px;color:var(--muted)}.admin-quick-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-health-v2{display:grid;grid-template-columns:minmax(240px,.55fr) minmax(0,1.45fr);gap:20px;align-items:center}.security-admin-page{gap:14px}.security-current-session{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:linear-gradient(135deg,#102b23,#173d31);color:#fff;border:0}.security-current-session .eyebrow,.security-current-session .meta{color:#b7d3c7}.security-current-session h2{margin:4px 0 6px}.security-session-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:8px;min-width:min(100%,530px)}.security-session-grid>div{padding:12px;border-radius:11px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}.security-session-grid span,.security-session-grid b{display:block}.security-session-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#a9c6b9}.security-session-grid b{margin-top:3px;font-size:12px;overflow-wrap:anywhere}.security-metric-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.security-metric-grid a{padding:14px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;gap:3px}.security-metric-grid span{font-size:10px;color:var(--muted)}.security-metric-grid b{font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.security-metric-grid small{font-size:9px;color:#7d8981}.security-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0}.security-tabs a{white-space:nowrap;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:800}.security-tabs a.active{background:#173d31;color:#fff;border-color:#173d31}.security-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:10px 0 14px}.security-flow>div{display:grid;gap:3px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fafbfa}.security-flow b{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:#e6f0e9;color:#23523f;font-size:10px}.security-flow span{font-size:10px;color:#5f6e64}.security-inline-block{display:flex;gap:6px;min-width:250px}.security-inline-block input{min-width:120px;padding:7px 9px;border:1px solid var(--line);border-radius:9px}.security-rules-table td{vertical-align:top}.security-rules-table code{font-size:11px}.badge.danger{background:#fff0f0;color:#a33838;border-color:#f1cccc}.admin-main .panel{border-radius:14px}.admin-main .panel-head{align-items:flex-start}.admin-main .form .field label{font-weight:800}.admin-main .form input,.admin-main .form select,.admin-main .form textarea{border-radius:10px}.admin-main .btn{border-radius:10px}.admin-main .notice{border-radius:11px}.table tbody td form{display:inline-flex}.table td,.table th{vertical-align:middle}.table td code{overflow-wrap:anywhere}.admin-list-item{border-radius:10px}.admin-main .empty{color:#849087}.admin-head-actions{align-items:center}
@media(max-width:1250px){.admin-focus-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.security-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-dashboard-grid{grid-template-columns:1fr}.admin-ops-clean{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.security-current-session{align-items:flex-start;flex-direction:column}.security-session-grid{width:100%}.admin-health-v2{grid-template-columns:1fr}.admin-focus-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.security-flow{grid-template-columns:1fr 1fr 1fr}.security-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.admin-main{gap:11px}.admin-focus-strip{grid-template-columns:1fr 1fr}.admin-focus-strip a{min-height:92px;padding:13px}.admin-focus-strip b{font-size:24px}.admin-ops-clean{grid-template-columns:1fr 1fr}.security-home-grid{grid-template-columns:1fr 1fr}.admin-quick-v2{grid-template-columns:1fr}.security-session-grid{grid-template-columns:1fr}.security-flow{grid-template-columns:1fr 1fr}.security-inline-block{display:grid;min-width:180px}.security-metric-grid a{padding:12px}.security-metric-grid b{font-size:21px}}

/* v5.124 — global loading, page transitions and polished motion */
:root{--ui-ease:cubic-bezier(.22,.82,.24,1);--ui-ease-soft:cubic-bezier(.2,.7,.25,1);--ui-motion-fast:160ms;--ui-motion:280ms;--ui-motion-slow:520ms}
html.tp-loading{cursor:progress}
.site-loader{display:grid!important;position:fixed;inset:0;z-index:10050;place-items:center;padding:24px;background:rgba(247,249,252,.90)!important;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);opacity:1;visibility:visible;transition:opacity .34s var(--ui-ease),visibility .34s ease}
body.admin-body .site-loader{display:grid!important}
.site-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.site-loader-shell{position:relative;width:min(88vw,310px);display:grid;justify-items:center;gap:14px;padding:28px 28px 24px;border:1px solid rgba(255,255,255,.82);border-radius:28px;background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(247,249,252,.88));box-shadow:0 28px 80px rgba(25,38,58,.16),inset 0 1px 0 rgba(255,255,255,.9);overflow:hidden}
.site-loader-shell:before{content:"";position:absolute;width:180px;height:180px;right:-90px;top:-110px;border-radius:50%;background:radial-gradient(circle,rgba(13,91,215,.16),rgba(13,91,215,0) 70%);pointer-events:none}
.site-loader-shell:after{content:"";position:absolute;width:150px;height:150px;left:-85px;bottom:-105px;border-radius:50%;background:radial-gradient(circle,rgba(21,129,90,.13),rgba(21,129,90,0) 70%);pointer-events:none}
.site-loader-orbit{position:relative;width:84px;height:84px;display:grid;place-items:center}
.site-loader-orbit>i{position:absolute;inset:1px;border-radius:50%;border:1.5px solid rgba(13,91,215,.15);border-top-color:#0d5bd7;animation:tpLoaderOrbit 1.3s linear infinite}
.site-loader-orbit>i:nth-child(2){inset:9px;border-color:rgba(21,129,90,.14);border-right-color:#15815a;animation-duration:1.05s;animation-direction:reverse}
.site-loader-mark{position:relative;z-index:2;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#101820,#253747);color:#fff;font-size:16px;font-weight:950;letter-spacing:-.04em;box-shadow:0 12px 26px rgba(19,31,44,.22),inset 0 1px 0 rgba(255,255,255,.12);animation:tpLoaderMark 1.8s ease-in-out infinite}
.site-loader-copy{text-align:center;position:relative;z-index:1}
.site-loader-copy strong,.site-loader-copy small{display:block}
.site-loader-copy strong{font-size:16px;letter-spacing:-.02em;color:#182331}
.site-loader-copy small{margin-top:5px;font-size:11px;color:#7b8795}
.site-loader-progress{position:relative;z-index:1;width:100%;height:4px;border-radius:999px;background:#e8edf3;overflow:hidden}
.site-loader-progress i{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d5bd7,#2c86eb,#15815a);animation:tpLoaderProgress 1.25s var(--ui-ease-soft) infinite}
.site-loader-dots{display:flex;gap:5px;position:relative;z-index:1}
.site-loader-dots i{width:5px;height:5px;border-radius:50%;background:#a8b1bd;animation:tpLoaderDots 1.1s ease-in-out infinite}
.site-loader-dots i:nth-child(2){animation-delay:.13s}.site-loader-dots i:nth-child(3){animation-delay:.26s}
@keyframes tpLoaderOrbit{to{transform:rotate(360deg)}}
@keyframes tpLoaderMark{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.025)}}
@keyframes tpLoaderProgress{0%{transform:translateX(-120%)}55%{transform:translateX(90%)}100%{transform:translateX(250%)}}
@keyframes tpLoaderDots{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

/* Smooth entrance / exit */
body{transition:opacity .22s ease,transform .32s var(--ui-ease);transform-origin:50% 16%}
body.page-ready .main{animation:tpPageIn .48s var(--ui-ease) both}
body.is-page-leaving .main{opacity:.72;transform:translateY(-4px) scale(.997);transition:opacity .16s ease,transform .18s ease}
@keyframes tpPageIn{from{opacity:.01;transform:translateY(9px)}to{opacity:1;transform:none}}

/* Cards and media */
.panel,.news-card,.marketplace-card,.portal-listing-card,.portal-category-card,.product-card,.subscription-card,.xf-topic-row,.xf-post,.admin-stat-card,.admin-focus-strip a,.quick-action-grid a{will-change:transform;backface-visibility:hidden;transition:transform var(--ui-motion) var(--ui-ease),box-shadow var(--ui-motion) var(--ui-ease),border-color var(--ui-motion-fast) ease,background-color var(--ui-motion-fast) ease}
@media(hover:hover){
  .news-card:hover,.marketplace-card:hover,.portal-listing-card:hover,.portal-category-card:hover,.product-card:hover,.subscription-card:hover,.xf-topic-row:hover,.admin-stat-card:hover,.admin-focus-strip a:hover,.quick-action-grid a:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(23,36,51,.10)}
  .panel:hover{transform:translateY(-1px)}
}
.news-card img,.marketplace-card img,.portal-listing-card img,.portal-category-card-backdrop,.product-card img,.home-product-mini img{transition:transform .55s var(--ui-ease),filter .55s ease}
@media(hover:hover){.news-card:hover img,.marketplace-card:hover img,.portal-listing-card:hover img,.product-card:hover img,.home-product-mini:hover img{transform:scale(1.035);filter:saturate(1.04)}}

/* Buttons and tactile feedback */
.btn,button,.account-top-link,.admin-top-link,.header-listing-cta,.mobile-nav a,.security-tabs a,.events-tabs a{position:relative;overflow:hidden;transition:transform var(--ui-motion-fast) var(--ui-ease),box-shadow var(--ui-motion) ease,background-color var(--ui-motion-fast) ease,border-color var(--ui-motion-fast) ease,color var(--ui-motion-fast) ease}
@media(hover:hover){.btn:hover,button:hover,.header-listing-cta:hover{transform:translateY(-2px)}.account-top-link:hover,.admin-top-link:hover{transform:translateY(-1px)}}
.btn:active,button:active,.account-top-link:active,.admin-top-link:active,.mobile-nav a:active{transform:scale(.97)}
.ui-ripple{position:absolute!important;z-index:0!important;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.24);transform:scale(0);animation:tpRipple .62s ease-out forwards}
.portal-category-card .ui-ripple,.quick-action-grid a .ui-ripple,.admin-focus-strip a .ui-ripple{background:rgba(13,91,215,.10)}
@keyframes tpRipple{to{transform:scale(1);opacity:0}}
.btn>* ,button>*{position:relative;z-index:1}

/* Form polish */
input,select,textarea{transition:border-color var(--ui-motion-fast) ease,box-shadow var(--ui-motion-fast) ease,background-color var(--ui-motion-fast) ease,transform var(--ui-motion-fast) ease}
input:focus,select:focus,textarea:focus{transform:translateY(-1px)}
button.is-submitting,.btn.is-submitting{pointer-events:none;opacity:.86;padding-right:42px!important}
button.is-submitting:before,.btn.is-submitting:before{content:"";position:absolute;right:15px;top:50%;width:15px;height:15px;margin-top:-8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tpButtonSpin .65s linear infinite}
@keyframes tpButtonSpin{to{transform:rotate(360deg)}}
.flash{animation:tpToastIn .44s var(--ui-ease) both}
@keyframes tpToastIn{from{opacity:0;transform:translateY(-8px) scale(.99)}to{opacity:1;transform:none}}

/* Menus, dialogs, details */
.section-menu-panel{transform-origin:top left;animation:tpPopoverIn .22s var(--ui-ease) both}
.site-modal.is-open .site-modal-card{animation:tpModalIn .3s var(--ui-ease) both}
.site-modal.is-open .site-modal-backdrop{animation:tpBackdropIn .22s ease both}
details[open]>summary{transition:color .18s ease}
@keyframes tpPopoverIn{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes tpModalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes tpBackdropIn{from{opacity:0}to{opacity:1}}

/* Mobile nav and floating support */
.mobile-nav{transition:transform .28s var(--ui-ease),box-shadow .28s ease}
.mobile-nav a.is-active span{animation:tpNavPop .34s var(--ui-ease) both}
@keyframes tpNavPop{0%{transform:scale(.82)}65%{transform:scale(1.12)}100%{transform:scale(1)}}
.notification-dot{animation:tpNotifyPulse 2.1s ease-in-out infinite}
@keyframes tpNotifyPulse{0%,100%{box-shadow:0 0 0 0 rgba(229,31,42,.15)}50%{box-shadow:0 0 0 6px rgba(229,31,42,0)}}

/* Reveal tuning — make dense pages feel alive but not delayed */
.reveal-ready{opacity:0;transform:translate3d(0,16px,0) scale(.995);transition:opacity .48s var(--ui-ease),transform .48s var(--ui-ease)}
.reveal-ready.reveal-visible{opacity:1;transform:none}

@media(max-width:700px){
  .site-loader-shell{width:min(90vw,290px);padding:24px 22px 21px;border-radius:24px}.site-loader-orbit{width:76px;height:76px}.site-loader-mark{width:48px;height:48px}
  .reveal-ready{transform:translate3d(0,10px,0)}
}
@media(prefers-reduced-motion:reduce){
  .site-loader-orbit>i,.site-loader-mark,.site-loader-progress i,.site-loader-dots i,.notification-dot{animation:none!important}
  .site-loader-progress i{width:100%!important;transform:none!important}
  body.page-ready .main,.section-menu-panel,.site-modal.is-open .site-modal-card,.site-modal.is-open .site-modal-backdrop{animation:none!important}
  body.is-page-leaving .main{transform:none!important}
  .reveal-ready{opacity:1!important;transform:none!important}
}
/* v5.124 compatibility overrides for legacy motion rules */
.reveal-ready{opacity:0!important;transform:translate3d(0,16px,0) scale(.995)!important}
.reveal-ready.reveal-visible{opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.reveal-ready,.reveal-ready.reveal-visible{opacity:1!important;transform:none!important}}

/* v5.125 — sections backgrounds, notifications/support uplift, richer loader */
body.admin-body .site-loader,.site-loader{display:grid!important}
.site-loader{background:radial-gradient(circle at 20% 20%,rgba(37,100,235,.16),transparent 34%),radial-gradient(circle at 82% 18%,rgba(16,185,129,.14),transparent 28%),linear-gradient(180deg,rgba(249,251,255,.97),rgba(243,247,252,.95))!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
.site-loader-shell{position:relative;display:grid;gap:16px;min-width:min(520px,calc(100vw - 34px));max-width:560px;padding:26px;border:1px solid rgba(204,217,232,.95);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,250,255,.98));box-shadow:0 28px 80px rgba(26,39,68,.16),inset 0 1px 0 rgba(255,255,255,.9)}
.site-loader-shell::before,.site-loader-shell::after{content:"";position:absolute;border-radius:999px;filter:blur(14px);opacity:.55;pointer-events:none}.site-loader-shell::before{width:120px;height:120px;right:-26px;top:-32px;background:rgba(67,97,238,.16)}.site-loader-shell::after{width:90px;height:90px;left:-12px;bottom:-18px;background:rgba(16,185,129,.12)}
.site-loader-orbit{position:relative;display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.92),rgba(241,246,255,.8));box-shadow:inset 0 0 0 1px rgba(176,194,222,.55)}
.site-loader-orbit>i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(99,123,175,.18)}
.site-loader-orbit>i:first-child{animation:spin 4.2s linear infinite}
.site-loader-orbit>i:last-child{inset:9px;border-style:dashed;border-color:rgba(16,185,129,.25);animation:spin 3s linear infinite reverse}
.site-loader-mark{width:52px!important;height:52px!important;border-radius:18px!important;background:linear-gradient(135deg,#145af2,#22a1f5 60%,#40d4a6)!important;box-shadow:0 14px 32px rgba(34,111,226,.26)!important;font-size:18px;letter-spacing:.03em}
.site-loader-copy{display:grid;gap:6px}.site-loader-copy strong{font-size:22px;color:#16233a}.site-loader-copy small{font-size:13px;color:#5e6b81;line-height:1.5}
.site-loader-progress{height:9px;border-radius:999px;background:#e5edf7;overflow:hidden;box-shadow:inset 0 1px 2px rgba(12,28,58,.08)}
.site-loader-progress i{display:block;height:100%;width:42%;border-radius:999px;background:linear-gradient(90deg,#165cff,#40c7a7,#165cff);background-size:200% 100%;animation:loaderProgress 1.6s ease-in-out infinite}
.site-loader-dots{display:flex;gap:8px}.site-loader-dots i{width:9px;height:9px;border-radius:50%;background:#8ca7d9;animation:loaderDot 1.1s ease-in-out infinite}.site-loader-dots i:nth-child(2){animation-delay:.12s}.site-loader-dots i:nth-child(3){animation-delay:.24s}
@keyframes loaderProgress{0%{transform:translateX(-32%);background-position:0 0}50%{transform:translateX(128%);background-position:60% 0}100%{transform:translateX(-32%);background-position:100% 0}}
@keyframes loaderDot{0%,100%{transform:translateY(0);opacity:.46}50%{transform:translateY(-5px);opacity:1}}

.section-menu-grid .section-menu-card{position:relative;overflow:hidden;min-height:118px;border-radius:18px!important;padding:16px 16px 42px!important;background:#27415b;color:#fff!important;isolation:isolate;border:1px solid rgba(255,255,255,.15)!important;box-shadow:0 14px 34px rgba(22,31,47,.12)}
.section-menu-grid .section-menu-card::before{content:"";position:absolute;inset:0;background:var(--section-bg) center/cover no-repeat;transform:scale(1.02);transition:transform .45s ease,filter .45s ease;z-index:-2}
.section-menu-grid .section-menu-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,25,43,.16),rgba(12,24,40,.78));z-index:-1}
.section-menu-grid .section-menu-card strong,.section-menu-grid .section-menu-card small,.section-menu-grid .section-menu-card span{color:#fff!important}.section-menu-grid .section-menu-card small{opacity:.9;max-width:92%;line-height:1.35}.section-menu-grid .section-menu-card:hover::before{transform:scale(1.08);filter:saturate(1.06)}
.section-menu-grid .theme-news{--section-bg:url('section-bg-news.jpg')}.section-menu-grid .theme-catalog{--section-bg:url('section-bg-catalog.jpg')}.section-menu-grid .theme-market{--section-bg:url('section-bg-market.jpg')}.section-menu-grid .theme-services{--section-bg:url('section-bg-services.jpg')}.section-menu-grid .theme-auto{--section-bg:url('section-bg-auto.jpg')}.section-menu-grid .theme-realty{--section-bg:url('section-bg-realty.jpg')}.section-menu-grid .theme-community{--section-bg:url('section-bg-community.jpg')}

.notifications-hero-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr);gap:18px;padding:28px;position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(27,79,180,.96),rgba(76,134,228,.94));color:#fff;border:0}
.notifications-hero-card::before{content:"";position:absolute;inset:0;background:url('notifications-hero-bg.jpg') center/cover no-repeat;mix-blend-mode:screen;opacity:.42}
.notifications-hero-card>*{position:relative;z-index:1}.notifications-hero-card h1{margin:5px 0 10px;font-size:34px;line-height:1.08;color:#fff}.notifications-hero-card .meta{color:rgba(255,255,255,.88);font-size:14px;line-height:1.55;max-width:62ch}.notifications-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.notifications-hero-actions .btn.secondary{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.18);color:#fff}.notifications-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.notifications-kpi{padding:16px;border-radius:18px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16)}.notifications-kpi strong{display:block;font-size:26px;line-height:1;color:#fff}.notifications-kpi span{display:block;margin-top:6px;font-size:12px;color:rgba(255,255,255,.85)}
.notifications-filter-rail{display:flex;gap:8px;flex-wrap:wrap}.notifications-filter-rail .notification-filter{border-radius:999px;padding:10px 14px;border:1px solid #d8e2ee;background:#fff;color:#47566a;box-shadow:0 5px 16px rgba(19,35,58,.04)}.notifications-filter-rail .notification-filter.active{background:linear-gradient(135deg,#1158f0,#42a8f6);border-color:transparent;color:#fff;box-shadow:0 14px 30px rgba(30,98,219,.18)}
.notification-list-rich{display:grid;gap:14px}.notification-card{display:grid!important;grid-template-columns:62px minmax(0,1fr);align-items:flex-start;padding:18px 18px 18px 16px!important;border-radius:20px!important;border:1px solid #e5ebf3!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 10px 26px rgba(20,35,58,.05)}.notification-card.unread{background:linear-gradient(180deg,#f8fbff,#eff6ff)!important;border-color:#cddcf9!important;border-left-width:1px!important}.notification-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;font-size:20px;background:#eef4ff;color:#245fca;box-shadow:inset 0 0 0 1px rgba(36,95,202,.08)}.notification-icon span{transform:translateY(-1px)}.icon-teal{background:#ebfbf7;color:#0d8a78}.icon-green{background:#edf9ef;color:#2b8d4d}.icon-gold,.icon-amber{background:#fff7e8;color:#b87a05}.icon-violet{background:#f3eeff;color:#6e46ca}.icon-slate{background:#eef3f8;color:#4d6378}.icon-orange{background:#fff2e7;color:#ce6b25}.icon-rose{background:#fff0f4;color:#cb4876}
.notification-heading{display:grid;gap:6px}.notification-heading strong{font-size:17px;color:#18263a}.notification-meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.notification-tag{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f0f5fb;color:#4d6181;font-size:11px;font-weight:700}.notification-tag.is-new{background:#fff0c7;color:#8b6215}.notification-content p{margin:0 0 10px;color:#58677b;line-height:1.6;font-size:14px}.notification-actions .btn.small{padding:9px 12px;border-radius:11px}.notification-empty-state{display:grid;gap:12px;text-align:center;padding:34px}.notification-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

.support-hero-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr);gap:18px;padding:28px;position:relative;overflow:hidden;background:linear-gradient(140deg,rgba(14,108,118,.97),rgba(49,164,160,.95));color:#fff;border:0}
.support-hero-card::before{content:"";position:absolute;inset:0;background:url('support-hero-bg.jpg') center/cover no-repeat;opacity:.35;mix-blend-mode:screen}.support-hero-card>*{position:relative;z-index:1}.support-hero-card h1{color:#fff;font-size:35px;line-height:1.08;margin:4px 0 10px}.support-hero-card .meta{color:rgba(255,255,255,.9);font-size:14px;line-height:1.55;max-width:64ch}.support-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.support-hero-actions .btn.secondary{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);color:#fff}.support-hero-side{display:grid;gap:12px}.support-hero-kpi{padding:16px;border-radius:18px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16)}.support-hero-kpi strong{display:block;font-size:24px;color:#fff}.support-hero-kpi span{display:block;margin-top:5px;font-size:12px;color:rgba(255,255,255,.88)}
.support-start-panel-rich{border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbfd)}.support-topic-grid .support-topic{border-radius:18px;background:linear-gradient(180deg,#fff,#f9fbfd);padding:16px;box-shadow:0 10px 24px rgba(20,34,45,.05)}.support-topic-grid .support-topic strong{font-size:14px}.support-topic-grid .support-topic span{font-size:12px;line-height:1.4}.support-topic.is-selected{box-shadow:0 14px 28px rgba(27,107,202,.12)!important}
.support-layout-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.75fr);gap:18px;align-items:start}.support-main-column{display:grid;gap:14px}.support-side-column{display:grid;gap:14px}.support-agent-card{padding:10px 14px;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(20,28,42,.06)}
.support-chat-panel{border-radius:24px;box-shadow:0 15px 34px rgba(18,28,44,.06)}.support-side-card{padding:18px;border-radius:20px}.support-side-card h3{margin:4px 0 10px}.home-topic-list{display:grid;gap:10px}.home-topic-list a{display:grid;gap:4px;padding:12px 14px;border-radius:14px;border:1px solid #e3eaf2;background:#fbfdff;color:#17263a}.home-topic-list a:hover{border-color:#bfd2ea;background:#fff}
.support-composer-rich{background:linear-gradient(180deg,#fff,#fcfdff)}.support-composer-rich .btn{min-width:138px}.support-composer-preview{padding:12px 14px;border-top:1px solid var(--line);background:#fbfcfd;color:#56687a}.support-selected-topic{padding:12px 14px;background:#f7fafc}.support-flow-strip>span{background:#fbfdff;box-shadow:0 8px 18px rgba(15,28,44,.04)}
.support-contacts{padding:18px;border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff)}.support-contacts-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}.contacts-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#eaf8f5;color:#18836d;font-weight:800}.support-contacts-text{white-space:pre-wrap;color:#556576;line-height:1.55}
.message{box-shadow:0 14px 26px rgba(17,27,39,.06);border-radius:20px}.message.user{background:linear-gradient(180deg,#1d66df,#2c89ef);color:#fff;border-color:rgba(14,74,160,.2)}.message.user .message-body,.message.user .ticket-meta,.message.user .message-author{color:#fff}.message.user .message-role{background:rgba(255,255,255,.18);color:#fff}.message.admin{background:linear-gradient(180deg,#fff,#fbfdff)}.message.system{background:linear-gradient(180deg,#fff6da,#ffefc4)}

.support-fab{display:flex!important;align-items:center;gap:10px;padding:12px 14px 12px 12px!important;border-radius:18px!important;background:linear-gradient(135deg,#125cf4,#37a4f0)!important;color:#fff!important;border:0!important;box-shadow:0 16px 34px rgba(22,96,228,.28)!important;min-width:0}.support-fab .support-fab-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);font-size:18px}.support-fab em{display:grid;font-style:normal;line-height:1}.support-fab small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.78);margin-bottom:4px}.support-fab b{font-size:14px;color:#fff}.support-fab:hover{transform:translateY(-2px) scale(1.02)}.support-fab:hover .support-fab-icon{transform:rotate(-8deg) scale(1.03)}

.btn,.header-listing-cta,.guest-register-cta{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.btn:hover,.header-listing-cta:hover,.guest-register-cta:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(17,36,66,.08)}

@media(max-width:980px){.notifications-hero-card,.support-hero-card,.support-layout-grid{grid-template-columns:1fr}.notifications-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.support-hero-card h1,.notifications-hero-card h1{font-size:30px}}
@media(max-width:760px){.notifications-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-card{grid-template-columns:52px minmax(0,1fr);padding:15px!important}.notification-heading strong{font-size:16px}.support-fab{right:14px}.section-menu-grid .section-menu-card{min-height:108px}.support-hero-card,.notifications-hero-card{padding:22px}.support-layout-grid{gap:14px}}
@media(max-width:520px){.notifications-hero-card h1,.support-hero-card h1{font-size:26px}.notifications-overview-grid{grid-template-columns:1fr 1fr}.notifications-hero-actions,.support-hero-actions,.notification-empty-actions{display:grid;grid-template-columns:1fr}.support-fab{padding:10px!important;border-radius:16px!important}.support-fab .support-fab-icon{width:38px;height:38px}.support-fab em{display:none}.section-menu-grid{grid-template-columns:1fr!important}.notification-card{grid-template-columns:1fr;gap:12px}.notification-icon{width:42px;height:42px}}

@media (prefers-reduced-motion: reduce){.site-loader-orbit>i,.site-loader-progress i,.site-loader-dots i,.support-fab{animation:none!important}.section-menu-grid .section-menu-card::before,.support-fab .support-fab-icon{transition:none!important}}
.btn.is-busy{position:relative;pointer-events:none;opacity:.92}.btn .btn-spinner{display:inline-block;width:14px;height:14px;margin-left:8px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .8s linear infinite;vertical-align:-2px}.btn.secondary .btn-spinner{border-color:rgba(24,39,62,.24);border-top-color:#1e3450}

/* v5.126 — photo backgrounds for product sections/categories */
.marketplace-category-photo-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;overflow:visible}
.market-category-photo{position:relative;overflow:hidden;isolation:isolate;display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-start!important;min-height:132px;padding:14px!important;border-radius:16px!important;color:#fff!important;background:#26415a!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 14px 30px rgba(22,33,49,.10)!important;grid-template-columns:none!important;grid-template-rows:none!important}
.market-category-photo::before{content:"";position:absolute;inset:0;background:var(--card-bg) center/cover no-repeat;z-index:-2;transform:scale(1.02);transition:transform .45s ease,filter .45s ease}
.market-category-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,21,36,.14),rgba(10,22,38,.78));z-index:-1}
.market-category-photo span,.market-category-photo strong,.market-category-photo small{position:relative;color:#fff!important}
.market-category-photo>span{width:40px!important;height:40px!important;border-radius:12px!important;background:rgba(255,255,255,.16)!important;backdrop-filter:blur(10px);margin-bottom:10px;font-size:18px!important}
.market-category-photo strong{font-size:14px;line-height:1.2;margin-bottom:4px}
.market-category-photo small{font-size:11px;opacity:.88}
.market-category-photo:hover::before{transform:scale(1.08);filter:saturate(1.06)}
.market-category-photo.is-active{box-shadow:0 0 0 2px rgba(255,255,255,.48),0 16px 34px rgba(22,33,49,.16)!important;border-color:rgba(255,255,255,.35)!important}
.market-category-photo.theme-realty{--card-bg:url('category-bg-realty.jpg')}
.market-category-photo.theme-auto{--card-bg:url('category-bg-auto.jpg')}
.market-category-photo.theme-phones{--card-bg:url('category-bg-phones.jpg')}
.market-category-photo.theme-electronics{--card-bg:url('category-bg-electronics.jpg')}
.market-category-photo.theme-computers{--card-bg:url('category-bg-computers.jpg')}
.market-category-photo.theme-home{--card-bg:url('category-bg-home.jpg')}
.market-category-photo.theme-furniture{--card-bg:url('category-bg-furniture.jpg')}
.market-category-photo.theme-repair{--card-bg:url('category-bg-repair.jpg')}
.market-category-photo.theme-clothing{--card-bg:url('category-bg-clothing.jpg')}
.market-category-photo.theme-kids{--card-bg:url('category-bg-kids.jpg')}
.market-category-photo.theme-hobby{--card-bg:url('category-bg-hobby.jpg')}
.market-category-photo.theme-pets{--card-bg:url('category-bg-pets.jpg')}
.market-category-photo.theme-jobs{--card-bg:url('category-bg-jobs.jpg')}
.market-category-photo.theme-other{--card-bg:url('category-bg-other.jpg')}

.catalog-section-photo-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.catalog-section-photo-directory a{position:relative;overflow:hidden;isolation:isolate;display:flex!important;flex-direction:column;justify-content:flex-end;gap:6px;min-height:132px;padding:16px!important;border-radius:16px;background:#253f59;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 12px 26px rgba(22,33,49,.09)}
.catalog-section-photo-directory a::before{content:"";position:absolute;inset:0;background:var(--directory-bg) center/cover no-repeat;z-index:-2;transform:scale(1.02);transition:transform .45s ease}
.catalog-section-photo-directory a::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,22,38,.12),rgba(10,22,38,.76));z-index:-1}
.catalog-section-photo-directory a:hover::before{transform:scale(1.08)}
.catalog-section-photo-directory a span,.catalog-section-photo-directory a small{color:#fff!important;position:relative}
.catalog-section-photo-directory a span{font-size:18px;font-weight:800}
.catalog-section-photo-directory a small{font-size:12px;line-height:1.45;opacity:.9}
.catalog-section-photo-directory .theme-news{--directory-bg:url('section-bg-news.jpg')}
.catalog-section-photo-directory .theme-community{--directory-bg:url('section-bg-community.jpg')}
.catalog-section-photo-directory .theme-market{--directory-bg:url('section-bg-market.jpg')}
.catalog-section-photo-directory .theme-services{--directory-bg:url('section-bg-services.jpg')}
.catalog-section-photo-directory .theme-auto{--directory-bg:url('section-bg-auto.jpg')}
.catalog-section-photo-directory .theme-realty{--directory-bg:url('section-bg-realty.jpg')}
.catalog-section-photo-directory .theme-catalog{--directory-bg:url('section-bg-catalog.jpg')}

@media(max-width:1280px){.marketplace-category-photo-rail{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:980px){.marketplace-category-photo-rail{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-section-photo-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.marketplace-category-photo-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.market-category-photo{min-height:118px}.catalog-section-photo-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:460px){.marketplace-category-photo-rail,.catalog-section-photo-directory{grid-template-columns:1fr 1fr}.market-category-photo,.catalog-section-photo-directory a{min-height:108px;padding:14px!important}}

/* v5.127 — mobile-first compact navigation and shorter pages */
.notifications-mobile-primary,.notifications-mobile-more{display:none}
.mobile-action-label{display:none}
.mobile-filter-toggle,.mobile-advanced-toggle{display:none}

@media(max-width:700px){
  body:not(.admin-body) .main{padding-top:14px!important}
  body:not(.admin-body) .main>*+*{margin-top:0}
  .panel{padding:15px}
  .section-head{margin:18px 0 10px;align-items:center}
  .section-head h2{font-size:22px}
  .lead{font-size:14px;line-height:1.5}

  /* Notifications: only the actions people need are visible first. */
  .notifications-page-upgraded{gap:10px!important}
  .notifications-hero-card{padding:17px!important;border-radius:18px;display:block!important}
  .notifications-hero-card h1{font-size:24px!important;margin:3px 0 6px!important}
  .notifications-hero-card .meta{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px!important;line-height:1.45!important}
  .notifications-overview-grid{display:none!important}
  .notifications-hero-actions{margin-top:12px!important;display:flex!important;gap:8px!important}
  .notifications-hero-actions .btn{min-height:38px;padding:9px 12px;font-size:12px}
  .notifications-hero-actions .btn.secondary{display:none}
  .notifications-desktop-filters{display:none!important}
  .notifications-mobile-primary{position:sticky;top:0;z-index:22;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px;margin:0 -2px;background:rgba(244,247,251,.94);backdrop-filter:blur(12px);border:1px solid #dfe7f2;border-radius:15px;box-shadow:0 9px 24px rgba(22,40,72,.08)}
  .notifications-mobile-primary a{position:relative;display:grid;place-items:center;gap:2px;min-width:0;padding:8px 4px;border-radius:11px;color:#526176;font-size:10px;text-align:center}
  .notifications-mobile-primary a span{font-size:17px;line-height:1}.notifications-mobile-primary a b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .notifications-mobile-primary a.active{background:#fff;color:#155be8;box-shadow:0 4px 12px rgba(23,82,180,.1)}
  .notifications-mobile-primary a em{position:absolute;right:4px;top:3px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#f04a5d;color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center}
  .notifications-mobile-more{display:block;border:1px solid #e0e6ef;border-radius:13px;background:#fff;overflow:hidden}
  .notifications-mobile-more summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:11px 13px;font-size:12px;font-weight:800;cursor:pointer}.notifications-mobile-more summary::-webkit-details-marker{display:none}
  .notifications-mobile-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 10px 10px}.notifications-mobile-more-grid a{padding:9px 7px;border-radius:10px;background:#f5f7fa;color:#59677a;text-align:center;font-size:11px;font-weight:700}.notifications-mobile-more-grid a.active{background:#eaf1ff;color:#145ce4}
  .notification-list-rich{gap:9px!important}.notification-card{grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;padding:13px!important;border-radius:16px!important}.notification-icon{width:38px!important;height:38px!important;border-radius:13px!important;font-size:16px!important}.notification-heading{gap:4px}.notification-heading strong{font-size:14px!important;line-height:1.3}.notification-meta-line{gap:5px}.notification-tag{padding:3px 7px!important;font-size:9px!important}.notification-meta-line small{font-size:9px}.notification-content p{font-size:12px!important;line-height:1.45!important;margin:6px 0 8px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.notification-actions{gap:5px!important}.notification-actions .btn.small{min-height:34px;padding:7px 9px!important;font-size:10px!important;border-radius:9px!important}.desktop-action-label{display:none}.mobile-action-label{display:inline}.notification-empty-state{padding:22px 15px!important}

  /* Product/category rails move sideways instead of consuming the page vertically. */
  .marketplace-category-photo-rail{display:flex!important;overflow-x:auto!important;gap:9px!important;padding:1px 1px 8px!important;scroll-snap-type:x proximity;scrollbar-width:none}.marketplace-category-photo-rail::-webkit-scrollbar{display:none}.market-category-photo{flex:0 0 152px!important;min-height:105px!important;scroll-snap-align:start;padding:12px!important}.market-category-photo>span{width:34px!important;height:34px!important;margin-bottom:7px!important}.market-category-photo strong{font-size:12px!important}.market-category-photo small{font-size:9px!important}
  .catalog-section-photo-directory{display:flex!important;overflow-x:auto!important;gap:9px!important;padding-bottom:8px;scroll-snap-type:x proximity;scrollbar-width:none}.catalog-section-photo-directory::-webkit-scrollbar{display:none}.catalog-section-photo-directory a{flex:0 0 168px!important;min-height:104px!important;scroll-snap-align:start;padding:13px!important}.catalog-section-photo-directory a span{font-size:15px!important}.catalog-section-photo-directory a small{font-size:10px!important}

  /* Long tab bars become one-line horizontal controls. */
  .ecosystem-tabs,.forum-tabs,.search-tabs,.catalog-sort{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;padding-bottom:5px;scrollbar-width:none}.ecosystem-tabs::-webkit-scrollbar,.forum-tabs::-webkit-scrollbar,.search-tabs::-webkit-scrollbar,.catalog-sort::-webkit-scrollbar{display:none}.ecosystem-tabs a,.forum-tabs a,.search-tabs a,.catalog-sort a{white-space:nowrap;flex:0 0 auto;padding:8px 11px!important;font-size:11px!important}
  .section-trust-strip{padding:12px!important}.section-trust-strip>div:first-child span{display:none}.section-trust-strip>div:last-child{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:7px!important;scrollbar-width:none}.section-trust-strip>div:last-child span{white-space:nowrap;font-size:10px!important}

  /* Filters start compact on mobile and open only when needed. */
  .catalog-filter-panel{padding:13px!important}.catalog-filter-panel summary{font-size:14px!important}.catalog-filter-panel:not([open]){padding:13px 15px!important}.catalog-filter-form{grid-template-columns:1fr!important;margin-top:13px!important;gap:10px!important}.catalog-filter-form>label:first-child{grid-column:auto!important}
  .mobile-filter-toggle,.mobile-advanced-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:10px 13px;border:1px solid #d8e0e8;border-radius:12px;background:#fff;color:#26384e;font-weight:800;font-size:12px;cursor:pointer}.mobile-filter-toggle span,.mobile-advanced-toggle span{color:#6f7c8c;font-weight:600}.marketplace-filter-card.mobile-collapsed{display:none!important}.marketplace-filter-card{padding:14px!important}.marketplace-filter-form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.marketplace-filter-form fieldset{padding:10px!important}.market-search{padding:12px!important}.market-search-main{gap:6px!important}.market-search-main input{min-width:0}.market-search .market-filters.mobile-collapsed{display:none!important}.market-search .market-filters{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important;margin-top:7px}.market-search .market-filters>*{min-width:0!important;width:100%}

  /* Support: topics and metrics scroll sideways instead of stacking. */
  .support-page-upgraded{gap:10px!important}.support-hero-card{padding:18px!important}.support-hero-card h1{font-size:24px!important;margin-bottom:6px!important}.support-hero-card .meta{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px!important}.support-hero-side{display:flex!important;overflow-x:auto;gap:8px;scrollbar-width:none}.support-hero-side::-webkit-scrollbar{display:none}.support-hero-kpi{flex:0 0 150px;padding:11px!important}.support-hero-kpi strong{font-size:18px!important}.support-hero-actions{margin-top:10px!important}.support-start-panel-rich{padding:14px!important}.support-start-head p{display:none}.support-topic-grid{display:flex!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none;padding-bottom:5px}.support-topic-grid::-webkit-scrollbar{display:none}.support-topic-grid .support-topic{flex:0 0 160px!important;min-height:70px!important;padding:12px!important}.support-topic-grid .support-topic strong{font-size:12px!important}.support-topic-grid .support-topic span{font-size:10px!important}.support-chat-head{gap:8px!important}.support-agent-card{padding:8px 10px!important}.support-side-column{display:none!important}.support-layout-grid{display:block!important}.support-flow-strip{display:flex!important;overflow-x:auto;gap:7px;scrollbar-width:none}.support-flow-strip>span{flex:0 0 auto;min-width:125px;padding:8px 10px!important}.support-messages{max-height:55vh!important;padding:11px!important}.message{max-width:90%!important;padding:10px 11px!important}.message-body{font-size:13px!important;line-height:1.45!important}.support-quick-actions{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}.support-quick-actions button{white-space:nowrap;flex:0 0 auto;font-size:10px!important}.support-faq{padding:14px!important}.support-faq h2{font-size:20px}.support-faq details{padding:10px 0}.support-faq summary{font-size:12px}

  /* Home/service collections are rails on narrow screens. */
  .home-service-rail{display:flex!important;overflow-x:auto;gap:9px;scrollbar-width:none}.home-service-rail::-webkit-scrollbar{display:none}.home-service-rail a{flex:0 0 155px!important;padding:13px!important}.home-sidebar-stack{gap:10px!important}

  /* Keep primary controls close to the viewport. */
  .results-utility{margin-bottom:10px!important}.marketplace-results-head{margin-bottom:10px!important}.marketplace-results-head h2{font-size:21px!important}.marketplace-result-actions{justify-content:flex-start!important}.portal-bottom-nav{z-index:85!important}
}

@media(max-width:420px){
  .notifications-mobile-primary a b{font-size:9px}.notifications-mobile-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-card{grid-template-columns:36px minmax(0,1fr)!important}.notification-icon{width:34px!important;height:34px!important}.market-category-photo{flex-basis:142px!important}.support-topic-grid .support-topic{flex-basis:150px!important}
}

/* v5.128 — global UX refresh / compact mobile command system */
.mobile-command-sheet,.mobile-command-backdrop{display:none}
.mobile-command-nav button{font:inherit}

@media(max-width:700px){
  :root{--mobile-bar-h:70px}
  html{scroll-padding-top:70px}
  body:not(.admin-body){background:#f5f7fa}
  body:not(.admin-body) .top{position:sticky!important;top:0!important;z-index:90!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(14px);border-bottom:1px solid #e8edf3}
  body:not(.admin-body) .top-in{display:flex!important;flex-wrap:nowrap!important;min-height:54px!important;padding:7px 0!important;gap:8px!important}
  body:not(.admin-body) .brand{max-width:calc(100% - 116px)!important;font-size:16px!important;gap:8px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  body:not(.admin-body) .brand-wordmark{width:34px!important;height:34px!important;border-radius:11px!important;flex:0 0 34px}
  body:not(.admin-body) .top-spacer{display:none!important}
  body:not(.admin-body) .top-search{display:none!important}
  body:not(.admin-body) .author-top-cta,.guest-register-cta{display:none!important}
  body:not(.admin-body) .top-actions{margin-left:auto!important;gap:4px!important;flex:0 0 auto}
  body:not(.admin-body) .account-top-link{width:38px!important;height:38px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#f3f6fa!important;border:1px solid #e3e9f0!important}
  body:not(.admin-body) .account-top-avatar{width:30px!important;height:30px!important;display:grid!important;place-items:center!important}
  body:not(.admin-body) .account-top-name,.admin-top-text,.admin-top-arrow{display:none!important}
  body:not(.admin-body) .admin-top-link{width:38px!important;height:38px!important;padding:0!important;border-radius:12px!important}.admin-top-ico{margin:0!important}
  .public-section-bar.unified-catalog-bar{display:none!important}
  body:not(.admin-body) .main{width:calc(100% - 20px)!important;padding:10px 0 calc(var(--mobile-bar-h) + 20px)!important}
  body:not(.admin-body) .footer{display:none!important}

  /* Smaller visual language: buttons should feel like controls, not windows. */
  body:not(.admin-body) .panel{padding:13px!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(20,35,58,.035)!important}
  body:not(.admin-body) .btn{min-height:36px!important;padding:8px 12px!important;border-radius:10px!important;font-size:12px!important;line-height:1.15!important}
  body:not(.admin-body) .btn.small{min-height:32px!important;padding:6px 9px!important;font-size:10px!important}
  body:not(.admin-body) h1{letter-spacing:-.025em}
  .section-head{margin:10px 0 7px!important;gap:8px!important}.section-head h2{font-size:20px!important}.eyebrow{font-size:9px!important;letter-spacing:.07em!important}
  .home-section-title{margin:5px 0 8px!important;align-items:center!important}.home-section-title h2{font-size:20px!important}.home-section-title a{font-size:11px!important}
  .lead{font-size:13px!important;line-height:1.45!important}

  /* Main command bar: one tap to search/create/all sections. */
  .mobile-command-nav{display:grid!important;grid-template-columns:1fr 1fr 1.16fr 1fr 1fr!important;align-items:end!important;gap:2px!important;height:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom))!important;padding:5px 6px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px)!important;border-top:1px solid #dfe6ef!important;box-shadow:0 -10px 30px rgba(25,43,70,.09)!important;z-index:120!important}
  .mobile-command-nav>a,.mobile-command-nav>button{appearance:none;border:0;background:transparent;color:#66758a;display:grid;place-items:center;align-content:center;gap:2px;min-width:0;height:54px;border-radius:14px;padding:5px 2px;cursor:pointer;text-decoration:none}
  .mobile-command-nav>a span,.mobile-command-nav>button span{font-size:20px;line-height:1}.mobile-command-nav small{font-size:9px!important;font-weight:750;line-height:1.05}.mobile-command-nav .is-active{color:#105ee9!important;background:#edf4ff!important}
  .mobile-command-nav .mobile-create-command{position:relative;background:transparent!important;overflow:visible;height:60px;margin-top:-8px;color:#fff!important}
  .mobile-create-command span{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#1260f2,#2f9ff3);font-size:27px!important;box-shadow:0 10px 24px rgba(19,99,226,.30);border:3px solid #fff}.mobile-create-command small{color:#185ca9!important;margin-top:1px}

  .mobile-command-backdrop{display:block;position:fixed;inset:0;z-index:130;background:rgba(13,24,40,.42);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;backdrop-filter:blur(3px)}
  .mobile-command-backdrop.is-open{opacity:1;visibility:visible}
  .mobile-command-sheet{display:block;position:fixed;left:8px;right:8px;bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 7px);z-index:140;max-height:min(72vh,620px);overflow:auto;padding:8px 14px 16px;border:1px solid #e0e7ef;border-radius:24px;background:rgba(255,255,255,.985);box-shadow:0 24px 70px rgba(16,30,52,.24);transform:translateY(24px) scale(.985);opacity:0;visibility:hidden;transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s ease,visibility .2s ease;overscroll-behavior:contain}
  .mobile-command-sheet.is-open{transform:none;opacity:1;visibility:visible}
  .mobile-sheet-grabber{width:42px;height:4px;border-radius:999px;background:#d7dee8;margin:1px auto 11px}
  .mobile-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.mobile-sheet-head h2{font-size:21px;margin:2px 0 0}.mobile-sheet-head>button{width:36px;height:36px;border:0;border-radius:11px;background:#f0f3f7;color:#596779;font-size:22px;cursor:pointer}
  .mobile-sheet-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:6px;border:1px solid #ccd8e6;border-radius:14px;background:#fff}.mobile-sheet-search>span{padding-left:7px;color:#718099}.mobile-sheet-search input{border:0;outline:0;min-width:0;font:inherit;font-size:14px;padding:8px 3px;background:transparent}.mobile-sheet-search .btn{margin:0!important}
  .mobile-sheet-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.mobile-sheet-quick-grid a{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;gap:1px 9px;padding:11px;border:1px solid #e5ebf2;border-radius:14px;background:#f9fbfd;color:#1a2a3e}.mobile-sheet-quick-grid a>span{grid-row:1/-1;width:38px;height:38px;border-radius:12px;background:#edf4ff;color:#145fdf;display:grid;place-items:center;font-size:18px}.mobile-sheet-quick-grid b{font-size:12px}.mobile-sheet-quick-grid small{font-size:9px;color:#718095}
  .mobile-create-grid{display:grid;gap:8px}.mobile-create-grid a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:11px 12px;border:1px solid #e5ebf1;border-radius:14px;background:#fbfcfe;color:#18283c}.mobile-create-grid a>span{width:42px;height:42px;border-radius:13px;background:#eef4ff;color:#145ee3;display:grid;place-items:center;font-size:20px}.mobile-create-grid b{display:block;font-size:13px}.mobile-create-grid small{display:block;margin-top:2px;font-size:10px;color:#718095}
  .mobile-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-more-grid a{display:grid;place-items:center;gap:6px;min-height:76px;padding:9px 5px;border-radius:14px;background:#f7f9fc;border:1px solid #e6ebf1;color:#2a3a4d;text-align:center}.mobile-more-grid a span{font-size:22px}.mobile-more-grid a b{font-size:10px;line-height:1.15}
  html.mobile-sheet-active,html.mobile-sheet-active body{overflow:hidden}

  /* Homepage: compact search, horizontal shelves instead of long stacks. */
  .portal-home-v2{gap:11px!important}.portal-search-hero{padding:16px!important;border-radius:16px!important;gap:10px!important}.portal-search-copy h1{font-size:25px!important;line-height:1.06!important;margin:3px 0!important}.portal-search-copy p{display:none!important}.portal-market-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}.portal-market-search>label:first-child{min-width:0}.portal-market-search .portal-location{display:none!important}.portal-market-search .btn{min-width:72px}.portal-hero-actions{margin-top:7px!important;gap:8px!important}.portal-hero-actions>a:not(.btn){font-size:10px!important}
  .portal-category-grid-visual{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:0 0 5px!important;scroll-snap-type:x proximity;scrollbar-width:none}.portal-category-grid-visual::-webkit-scrollbar{display:none}.portal-category-card{flex:0 0 156px!important;min-height:112px!important;padding:12px!important;scroll-snap-align:start;border-radius:15px!important}.portal-category-card strong{font-size:13px!important}.portal-category-card em{display:none!important}.portal-category-card small{font-size:9px!important}.portal-category-icon{width:34px!important;height:34px!important;font-size:16px!important}.portal-category-count{font-size:9px!important;padding:4px 7px!important}
  .portal-listing-row{display:flex!important;overflow-x:auto!important;gap:8px!important;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:5px}.portal-listing-row::-webkit-scrollbar{display:none}.portal-listing-card{flex:0 0 158px!important;scroll-snap-align:start;border-radius:13px!important}.portal-listing-card>div:first-child{height:110px!important}.portal-listing-card h3{font-size:13px!important;line-height:1.25!important;margin:5px 0!important}.portal-listing-card strong{font-size:14px!important}.portal-listing-card p{font-size:9px!important;margin-top:4px!important}.portal-listing-card small{font-size:9px!important}
  .portal-news-market-grid{display:block!important}.portal-lead-story{min-height:245px!important;border-radius:15px!important}.portal-lead-story>div{padding:16px!important}.portal-lead-story h3{font-size:22px!important}.portal-lead-story p{display:none!important}.portal-story-list{display:flex!important;overflow-x:auto!important;gap:8px!important;margin-top:8px;scrollbar-width:none}.portal-story-list::-webkit-scrollbar{display:none}.portal-story-list>a{flex:0 0 210px!important;display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:8px!important;padding:8px!important;border:1px solid #e5ebf1;border-radius:13px;background:#fff}.portal-story-list img{width:72px!important;height:68px!important;border-radius:10px!important}.portal-story-list strong{font-size:11px!important;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-story-list small,.portal-story-list em{font-size:8px!important}
  .portal-home-sidebar{display:flex!important;overflow-x:auto!important;gap:8px!important;margin-top:10px;scrollbar-width:none}.portal-home-sidebar::-webkit-scrollbar{display:none}.portal-home-sidebar>.panel{flex:0 0 82vw!important;min-width:0}.home-product-mini,.home-topic-list a{padding:8px 0!important}.home-product-mini-image{width:46px!important;height:46px!important}.home-product-mini strong,.home-topic-list strong{font-size:11px!important}.portal-trust-row{display:flex!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}.portal-trust-row::-webkit-scrollbar{display:none}.portal-trust-row>div{flex:0 0 210px!important;padding:12px!important}.portal-trust-row strong{font-size:11px!important}.portal-trust-row span{font-size:9px!important}
  .ad-top-site-card{min-height:0!important;padding:10px!important;border-radius:13px!important}.ad-top-site-card p{display:none!important}.ad-top-site-card .ad-top-site-media{max-height:90px!important}

  /* Notifications: remove the oversized marketing feel on phones. */
  .notifications-hero-card{min-height:0!important;background:linear-gradient(135deg,#1a63d7,#4d95ea)!important}.notifications-hero-card::before{opacity:.18!important}.notifications-hero-card h1{font-size:20px!important;max-width:80%!important}.notifications-hero-card .meta{display:none!important}.notifications-hero-actions{position:absolute!important;right:11px;top:10px;margin:0!important}.notifications-hero-actions .btn{font-size:0!important;width:36px;height:36px;padding:0!important;border-radius:12px!important}.notifications-hero-actions .btn::after{content:'✓';font-size:16px}.notifications-mobile-primary{top:56px!important}
  .notifications-mobile-more summary{padding:9px 11px!important}.notifications-mobile-more-grid{gap:5px!important;padding:0 8px 8px!important}.notifications-mobile-more-grid a{padding:8px 5px!important;font-size:10px!important}.notification-list-rich{gap:7px!important}.notification-card{box-shadow:none!important}.notification-actions form:last-child{margin-left:auto}.notification-actions form:last-child .btn{font-size:0!important;width:32px!important;padding:0!important}.notification-actions form:last-child .btn::after{content:'×';font-size:15px!important}

  /* Events/news page: compact index rather than a long landing page. */
  .events-page{gap:10px!important}.events-hero{padding:15px!important;border-radius:15px!important}.events-hero h1{font-size:23px!important;margin:2px 0 4px!important}.events-hero p{display:none!important}.events-hero .btn{display:none!important}.events-tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:5px!important;scrollbar-width:none}.events-tabs::-webkit-scrollbar{display:none}.events-tabs a{white-space:nowrap;padding:8px 10px!important;font-size:10px!important}.events-layout{display:block!important}.events-sidebar{display:none!important}.news-list{display:grid!important;gap:8px!important}.news-card{grid-template-columns:92px minmax(0,1fr)!important;gap:9px!important;padding:8px!important}.news-card-media{width:92px!important;height:86px!important;border-radius:10px!important}.news-card h3{font-size:14px!important;line-height:1.25!important;margin:2px 0 4px!important}.news-card p,.news-card .author-inline,.news-card .more-link{display:none!important}

  /* Marketplace/catalog: result-first layout. */
  .marketplace-page,.catalog-hub,.ecosystem-page{gap:10px!important}.marketplace-command{display:block!important;padding:15px!important;border-radius:15px!important}.marketplace-command h1{font-size:23px!important;margin:2px 0 4px!important}.marketplace-command p{display:none!important}.marketplace-create-cta{display:none!important}.marketplace-main-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;margin-top:9px;border-radius:11px!important}.marketplace-main-search input[name="location"]{display:none!important}.marketplace-main-search input{padding:10px!important;font-size:14px!important}.marketplace-category-photo-rail{margin:0!important}.marketplace-layout{display:block!important}.marketplace-results-head{align-items:center!important}.marketplace-result-actions select{max-width:145px;font-size:10px!important;padding:7px!important}.view-switch{display:none!important}.marketplace-card-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}.marketplace-card{border-radius:12px!important}.marketplace-card-copy{padding:9px!important}.marketplace-card h3{font-size:13px!important;margin:4px 0!important;line-height:1.25}.marketplace-card-price{font-size:14px!important}.marketplace-card-copy>p{display:none!important}.marketplace-card-tags{gap:3px!important}.marketplace-card-tags span{font-size:8px!important;padding:3px 5px!important}.marketplace-card-seller{margin-top:7px!important}.marketplace-card-seller small{font-size:8px!important}.marketplace-card-seller .avatar-xs{width:28px!important;height:28px!important}
  .catalog-hub-hero{padding:12px 2px!important}.catalog-hub-hero h1{font-size:25px!important;margin:2px 0!important}.catalog-hub-hero p{display:none!important}.catalog-hub-actions{display:none!important}.catalog-layout{display:block!important}.catalog-products-head{margin-bottom:8px!important}.catalog-products-head h2{font-size:19px!important}.catalog-product-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}.product-card{border-radius:12px!important}.product-card-media{aspect-ratio:1.12!important}.product-card-media img{padding:10px!important}.product-card-body{padding:9px!important}.product-card-body h3{font-size:12px!important;line-height:1.3!important;margin:4px 0!important}.product-card-body .meta{display:none!important}.product-card-meta strong{font-size:15px!important}.product-card-meta span{font-size:8px!important}.product-card-actions{margin-top:7px!important;gap:4px!important}

  /* Ecosystem pages (auto, realty, services, forum). */
  .ecosystem-hero{padding:14px!important;border-radius:15px!important;align-items:center!important}.ecosystem-hero h1,.forum-banner h1{font-size:23px!important;margin:2px 0 4px!important}.ecosystem-hero .lead,.forum-banner p{display:none!important}.ecosystem-hero>.btn,.ecosystem-hero-actions{display:none!important}.section-trust-strip{display:none!important}.service-grid,.auto-grid,.realty-grid{gap:8px!important}.service-card{padding:12px!important}.service-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px!important}.service-card h2{font-size:15px!important}.auto-card,.realty-card{grid-template-columns:105px minmax(0,1fr)!important;gap:9px!important;padding:9px!important}.auto-card-image,.realty-card-media{min-height:112px!important;border-radius:11px!important;font-size:32px!important}.auto-card h2,.realty-card h2{font-size:15px!important;margin:3px 0!important}.auto-card p,.realty-card p{display:none!important}.auto-specs{gap:4px!important;margin:5px 0!important}.auto-specs span{padding:4px 5px!important;font-size:8px!important}.product-seller{font-size:9px!important}.link-muted{font-size:9px!important}
  .forum-command-nav{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:5px!important;scrollbar-width:none}.forum-command-nav::-webkit-scrollbar{display:none}.forum-command-nav a{white-space:nowrap!important;font-size:10px!important;padding:8px 10px!important}.forum-stats{display:flex!important;overflow-x:auto!important;gap:6px!important;scrollbar-width:none}.forum-stats>div{flex:0 0 120px!important;padding:9px!important}.xf-topic-row{padding:12px 8px!important;gap:8px!important}.xf-topic-title strong{font-size:13px!important}.xf-topic-excerpt{display:none!important}.xf-topic-meta{font-size:9px!important}.xf-topic-stat{display:none!important}

  /* Profile/account: everything important as horizontal controls. */
  .profile-page-v3{gap:9px!important}.profile-hero-v3{padding:13px!important;gap:10px!important;border-radius:15px!important}.profile-avatar-v3{width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:14px!important}.profile-title-line-v3 h1{font-size:20px!important}.profile-contact-line{font-size:9px!important}.profile-identity-badges-v3{gap:4px!important}.profile-hero-actions-v3{display:flex!important;overflow-x:auto!important;gap:6px!important;scrollbar-width:none}.profile-hero-actions-v3 .btn{white-space:nowrap!important;flex:0 0 auto!important;width:auto!important}.profile-status-strip{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none}.profile-status-card{flex:0 0 175px!important;min-height:66px!important;padding:10px!important}.profile-status-card strong{font-size:11px!important}.profile-status-card small{font-size:9px!important}.profile-author-banner{padding:13px!important}.profile-author-banner p{display:none!important}.account-shortcuts-v3{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none}.account-shortcuts-v3>a{flex:0 0 128px!important;min-height:78px!important;padding:10px!important}.account-shortcuts-v3 b{font-size:11px!important}.account-shortcuts-v3 small{font-size:8px!important}.profile-main-grid-v3{gap:8px!important}.profile-card-v3{padding:13px!important}.profile-bio-v3{font-size:11px!important;line-height:1.45!important}.profile-stat-grid-v3{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.profile-stat-grid-v3>div{padding:8px 4px!important}.profile-stat-grid-v3 span{font-size:8px!important}.profile-stat-grid-v3 b{font-size:16px!important}.profile-trust-card .profile-check-legend{display:none!important}.profile-recent-content{padding:13px!important}.profile-recent-list a:nth-child(n+5){display:none!important}.profile-referral-strip{padding:13px!important}.profile-referral-strip p{display:none!important}

  /* Support button is secondary on mobile because Support lives in More. */
  .support-fab{right:10px!important;bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 10px)!important;padding:7px!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(22,96,228,.2)!important}.support-fab .support-fab-icon{width:34px!important;height:34px!important;border-radius:11px!important}.support-fab em{display:none!important}
}

@media(max-width:390px){
  .mobile-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-more-grid a{min-height:70px}.mobile-sheet-quick-grid{grid-template-columns:1fr 1fr}.marketplace-card-grid,.catalog-product-grid{grid-template-columns:1fr 1fr!important}.portal-category-card{flex-basis:146px!important}.portal-listing-card{flex-basis:150px!important}
}

@media (prefers-reduced-motion: reduce){
  .mobile-command-sheet,.mobile-command-backdrop{transition:none!important}
}

/* v5.128 — compact account/workflow pages */
@media(max-width:700px){
  .inbox-layout{display:block!important}.inbox-layout.has-thread .inbox-list{display:none!important}.inbox-layout.no-thread .inbox-detail{display:none!important}.inbox-list,.inbox-detail{padding:12px!important}.inbox-list h2{font-size:18px;margin:0 0 8px}.inbox-thread{padding:10px!important;border-radius:11px!important}.inbox-thread strong{font-size:12px!important}.inbox-thread span,.inbox-thread small{font-size:9px!important}.message-list{max-height:55vh!important;overflow:auto!important;padding:6px 0!important}.message-bubble{max-width:90%!important;padding:9px 10px!important;border-radius:14px!important}.message-bubble p{font-size:12px!important;line-height:1.4!important}.inbox-composer textarea{min-height:72px!important}.inbox-composer .meta{font-size:8px!important}

  .wallet-page{gap:9px!important}.wallet-hero{padding:15px!important;border-radius:15px!important}.wallet-hero h1{font-size:23px!important}.wallet-hero p{display:none!important}.wallet-summary-grid{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none}.wallet-summary-grid::-webkit-scrollbar{display:none}.wallet-summary-card{flex:0 0 150px!important;min-height:76px!important;padding:11px!important}.wallet-summary-card strong{font-size:19px!important}.wallet-summary-card span{font-size:9px!important}.wallet-grid{display:block!important}.wallet-grid>.panel{margin-bottom:8px!important}.wallet-grid .panel-head{margin-bottom:8px!important}.wallet-order-list>div{padding:9px 0!important}.wallet-presets{gap:5px!important}.wallet-presets button{min-height:34px!important;font-size:10px!important}

  .seller-metrics{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none}.seller-metrics>*{flex:0 0 135px!important;padding:10px!important}.seller-metrics strong{font-size:18px!important}.seller-metrics span{font-size:9px!important}
  .ecosystem-three{display:flex!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}.ecosystem-three>.panel{flex:0 0 82vw!important;min-width:0}.saved-row{padding:9px 0!important}.saved-row strong{font-size:11px!important}.saved-row span{font-size:9px!important}

  .subscriptions-intro{padding:14px!important}.subscriptions-intro h1{font-size:23px!important}.subscriptions-intro .lead{display:none!important}.subscription-summary{padding:9px 10px!important;gap:8px!important}.subscription-summary strong{font-size:19px!important}.subscription-hub-tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:5px!important;scrollbar-width:none}.subscription-hub-tabs a{white-space:nowrap!important;padding:8px 10px!important;font-size:10px!important}.subscription-card{padding:10px!important}.subscription-recommendations{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none}.recommendation-card{flex:0 0 180px!important}

  .notifications-settings-page{gap:9px!important}.notifications-settings-page>.section-head p{display:none!important}.notification-channel-grid,.email-events-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}.notification-channel-grid>* ,.email-event-option{padding:9px!important;border-radius:11px!important}.notification-channel-grid strong,.email-event-option strong{font-size:10px!important}.notification-channel-grid small,.email-event-option small{font-size:8px!important}.notification-prefs-form{padding:12px!important}.notification-prefs-form .btn{width:auto!important}

  .referral-pro-page{gap:9px!important}.referral-pro-hero{padding:15px!important}.referral-pro-hero h1{font-size:23px!important}.referral-pro-hero .lead{display:none!important}.referral-terms{display:none!important}.referral-actions{display:flex!important;overflow-x:auto!important;gap:6px!important}.referral-actions .btn{white-space:nowrap!important;flex:0 0 auto!important}.referral-code-card-pro{padding:12px!important}.referral-qr-wrap{max-width:160px!important;margin-inline:auto}

  .account-control-grid{grid-template-columns:1fr!important;gap:8px!important}.security-device{padding:10px!important;gap:8px!important}.security-device .btn{width:auto!important}.account-security-hero p{display:none!important}
}

/* v5.129 — responsive hardening for real mobile devices */
.portal-title-mobile{display:none}

@media(max-width:700px){
  html,body{max-width:100%;overflow-x:hidden}
  body:not(.admin-body) .main,
  body:not(.admin-body) .main>*{min-width:0;max-width:100%}
  body:not(.admin-body) .main{width:calc(100% - 16px)!important;padding-left:0!important;padding-right:0!important}

  /* Header: always fit narrow Android/iPhone widths. */
  body:not(.admin-body) .top-in{width:calc(100% - 16px)!important;max-width:none!important}
  body:not(.admin-body) .brand{min-width:0!important;max-width:calc(100% - 92px)!important}
  body:not(.admin-body) .brand>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body:not(.admin-body) .top-actions{min-width:0!important}

  /* Homepage hero: never exceed viewport. Old negative margins were the source of clipping. */
  .portal-search-hero{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    padding:16px!important;
    border-radius:16px!important;
    grid-template-columns:minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .portal-search-copy,.portal-market-search,.portal-hero-actions{min-width:0!important;max-width:100%!important;width:100%!important}
  .portal-search-copy h1{
    max-width:100%!important;
    min-width:0!important;
    margin:4px 0 8px!important;
    font-size:clamp(23px,7vw,30px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .portal-title-desktop{display:none!important}.portal-title-mobile{display:inline!important}
  .portal-search-copy .eyebrow{font-size:9px!important;line-height:1.2!important}
  .portal-market-search{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px!important;
    padding:5px!important;
    border-radius:13px!important;
  }
  .portal-market-search label{min-width:0!important;padding:0 8px!important;overflow:hidden!important}
  .portal-market-search label>span{flex:0 0 auto;font-size:17px!important}
  .portal-market-search input{min-width:0!important;width:100%!important;max-width:100%!important;font-size:15px!important;padding:8px 0!important;text-overflow:ellipsis}
  .portal-market-search .btn{min-width:64px!important;max-width:82px!important;padding-inline:10px!important;white-space:nowrap}
  .portal-hero-actions{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;white-space:normal!important;gap:6px 10px!important;margin-top:3px!important}
  .portal-hero-actions>a{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}

  /* Home shelves: smaller cards that still stay readable. */
  .portal-market-categories,.portal-home-market{gap:9px!important}
  .portal-category-grid-visual{width:100%;max-width:100%;overscroll-behavior-inline:contain;padding-right:8px!important}
  .portal-category-card{
    flex:0 0 clamp(132px,39vw,154px)!important;
    min-height:104px!important;
    padding:10px!important;
    border-radius:14px!important;
  }
  .portal-category-card-content{gap:7px!important;min-width:0}
  .portal-category-card-top{gap:6px!important}
  .portal-category-icon{width:31px!important;height:31px!important;border-radius:10px!important;font-size:15px!important}
  .portal-category-count{min-width:32px!important;padding:4px 6px!important;font-size:8px!important}
  .portal-category-card strong{font-size:12px!important;line-height:1.15!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .portal-category-card small{font-size:8px!important;line-height:1.2!important;margin-top:3px}
  .home-section-title{min-width:0}.home-section-title>div{min-width:0}.home-section-title h2{overflow-wrap:anywhere}
  .home-section-title>a{flex:0 0 auto;white-space:nowrap}

  .portal-listing-row{max-width:100%;overscroll-behavior-inline:contain;padding-right:8px!important}
  .portal-listing-card{flex:0 0 clamp(144px,43vw,168px)!important;min-width:0!important;padding:8px!important}
  .portal-listing-card>div:first-child{height:auto!important;aspect-ratio:4/3!important}
  .portal-listing-card h3{min-height:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

  /* Bottom navigation: lower profile, no giant active tile. */
  :root{--mobile-bar-h:62px}
  .mobile-command-nav{
    height:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom))!important;
    padding:4px 6px calc(4px + env(safe-area-inset-bottom))!important;
    align-items:center!important;
    gap:1px!important;
  }
  .mobile-command-nav>a,.mobile-command-nav>button{height:50px!important;border-radius:11px!important;padding:3px 1px!important;gap:2px!important}
  .mobile-command-nav>a span,.mobile-command-nav>button span{font-size:18px!important;line-height:1!important}
  .mobile-command-nav small{font-size:8.5px!important;line-height:1!important}
  .mobile-command-nav .is-active{background:transparent!important;color:#0f6d5b!important}
  .mobile-command-nav .is-active>span{width:34px;height:28px;border-radius:10px;background:#e8f3ef;display:grid;place-items:center}
  .mobile-command-nav .mobile-create-command{height:54px!important;margin-top:-5px!important}
  .mobile-create-command span{width:43px!important;height:43px!important;border-radius:14px!important;font-size:24px!important;border-width:2px!important}
  .mobile-create-command small{font-size:8.5px!important}
  .mobile-command-sheet{left:6px!important;right:6px!important;bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 5px)!important;max-height:min(78dvh,620px)!important;border-radius:20px!important}
  .support-fab{display:none!important}

  /* Generic overflow protection for old pages/components. */
  .panel,.card,.ecosystem-page,.marketplace-page,.catalog-hub,.notifications-page,.support-chat-page,
  .article,.profile-page-v3,.wallet-page,.subscriptions-page,.inbox-layout{min-width:0!important;max-width:100%!important}
  h1,h2,h3,.lead,.meta,strong,p{max-width:100%}
  .market-search,.market-search-main,.market-filters,.marketplace-main-search,.marketplace-results-head,.results-utility{min-width:0!important;max-width:100%!important}
  input,select,textarea,button{max-width:100%}
  .market-search-main input,.marketplace-main-search input{min-width:0!important;width:100%!important}

  /* Tables and comparison should scroll locally, never stretch the whole page. */
  .table-wrap,.compare-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}

@media(max-width:430px){
  body:not(.admin-body) .main{width:calc(100% - 14px)!important}
  .portal-search-hero{padding:14px!important;border-radius:15px!important}
  .portal-search-copy h1{font-size:clamp(22px,6.8vw,28px)!important}
  .portal-market-search{grid-template-columns:minmax(0,1fr) 62px!important}
  .portal-market-search .btn{min-width:62px!important;max-width:62px!important;padding-inline:7px!important;font-size:11px!important}
  .portal-category-card{flex-basis:140px!important;min-height:100px!important}
  .portal-listing-card{flex-basis:148px!important}
  .home-section-title h2{font-size:19px!important}
  .home-section-title>a{font-size:10px!important}
  .mobile-sheet-quick-grid{grid-template-columns:1fr 1fr!important}
}

@media(max-width:360px){
  body:not(.admin-body) .main{width:calc(100% - 12px)!important}
  body:not(.admin-body) .top-in{width:calc(100% - 12px)!important}
  body:not(.admin-body) .brand{font-size:14px!important;max-width:calc(100% - 84px)!important}
  body:not(.admin-body) .brand-wordmark{width:31px!important;height:31px!important;flex-basis:31px!important}
  body:not(.admin-body) .account-top-link,body:not(.admin-body) .admin-top-link{width:34px!important;height:34px!important}
  .portal-search-hero{padding:13px!important}
  .portal-search-copy h1{font-size:22px!important}
  .portal-market-search{grid-template-columns:minmax(0,1fr) 58px!important}
  .portal-market-search input{font-size:14px!important}
  .portal-market-search .btn{min-width:58px!important;max-width:58px!important;font-size:10px!important}
  .portal-category-card{flex-basis:132px!important;min-height:96px!important}
  .portal-category-card strong{font-size:11px!important}
  .portal-listing-card{flex-basis:140px!important}
  .mobile-command-nav small{font-size:8px!important}
  .mobile-command-nav>a span,.mobile-command-nav>button span{font-size:17px!important}
  .mobile-create-command span{width:40px!important;height:40px!important;font-size:22px!important}
  .mobile-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:900px) and (orientation:landscape) and (max-height:520px){
  :root{--mobile-bar-h:56px}
  .mobile-command-nav>a,.mobile-command-nav>button{height:44px!important}
  .mobile-command-nav small{font-size:8px!important}
  .mobile-create-command span{width:38px!important;height:38px!important}
  .mobile-command-sheet{max-height:70dvh!important}
  .portal-search-hero{padding:13px!important}
  .portal-search-copy h1{font-size:23px!important}
}

/* v5.135 — scale/admin center */
.scale-center-page{display:grid;gap:18px}.scale-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.scale-kpis>article{padding:17px;border-radius:18px;min-width:0}.scale-kpis span,.scale-kpis small{display:block;color:var(--muted)}.scale-kpis strong{display:block;margin:6px 0 4px;font-size:clamp(22px,2vw,31px);letter-spacing:-.035em;color:var(--text)}.scale-kpis i{display:block;height:6px;margin-top:12px;background:#e7edf3;border-radius:999px;overflow:hidden}.scale-kpis i b{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#43b79f);border-radius:inherit}.scale-check-list{display:grid;gap:10px}.scale-check-list>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}.scale-check-list>div>b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eaf8f3;color:#16806b}.scale-check-list strong,.scale-check-list small{display:block}.scale-check-list small{margin-top:3px;color:var(--muted);line-height:1.45}.scale-cache-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.scale-index-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.scale-index-grid>div{display:grid;grid-template-columns:27px 1fr;gap:2px 8px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:13px;background:#fbfdff}.scale-index-grid>div>span{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:9px;font-weight:900}.scale-index-grid>div.ok>span{background:#eaf8f3;color:#16806b}.scale-index-grid>div.bad>span{background:#fff0ee;color:#bc4439}.scale-index-grid b{font-size:12px;overflow:hidden;text-overflow:ellipsis}.scale-index-grid small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.scale-production-note{background:linear-gradient(145deg,#f7fbff,#f4faf8)}.scale-production-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.scale-production-grid>div{padding:14px;border-radius:14px;background:#fff;border:1px solid var(--line)}.scale-production-grid strong,.scale-production-grid span{display:block}.scale-production-grid span{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.admin-users-pager{justify-content:center;margin-top:14px}
@media(max-width:1280px){.scale-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.scale-index-grid,.scale-production-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.scale-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scale-index-grid,.scale-production-grid{grid-template-columns:1fr}.scale-kpis>article{padding:14px}.scale-center-page .table{min-width:620px}}


/* ---------- Source: responsive.css ---------- */
/* TestProject v5.130 — authoritative responsive layer
   Loaded AFTER style.css, portal.css and interface.css.
   Goal: one predictable layout system for phone / tablet / laptop / desktop. */

:root{
  --site-max:1380px;
  --site-gutter:24px;
  --section-gap:28px;
  --mobile-bar-h:62px;
}

html{width:100%;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;overflow-x:clip}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
.shell{width:min(var(--site-max),calc(100% - (var(--site-gutter) * 2)))!important;max-width:var(--site-max)!important;margin-inline:auto!important}
.main{min-width:0;max-width:100%;padding-top:22px}
.main>*{min-width:0;max-width:100%}
.panel,.card,.article,.ecosystem-page,.marketplace-page,.catalog-hub,.notifications-page,.support-chat-page,.wallet-page,.profile-page-v3,.subscriptions-page,.inbox-layout{min-width:0;max-width:100%}
.grid,.two,.form-grid-2,.ecosystem-grid-2,.admin-grid-2,.content-grid,.portal-news-market-grid,.catalog-layout,.marketplace-layout,.listing-layout-v2,.listing-content-grid,.support-layout-grid{min-width:0}
:is(h1,h2,h3,h4,p,strong,small,span,a,button,label){overflow-wrap:break-word}
input,select,textarea,button{min-width:0;max-width:100%}
.table-wrap,.compare-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- desktop / laptop ---------- */
.top-in{min-width:0}
.top .brand{flex:0 1 auto;min-width:0}
.top .brand>span:last-child{overflow:hidden;text-overflow:ellipsis}
.top-search{flex:0 1 420px;min-width:220px;max-width:420px;width:auto!important}
.top-actions{flex:0 0 auto;min-width:0}
.public-section-bar{overflow:hidden}
.unified-catalog-in{min-width:0}
.unified-catalog-links{min-width:0;overflow-x:auto;scrollbar-width:none}
.unified-catalog-links::-webkit-scrollbar{display:none}

.portal-home-v2{gap:var(--section-gap)!important}
.portal-search-hero{width:100%;max-width:100%;min-width:0;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto!important;padding:clamp(24px,3vw,42px)!important;border-radius:24px!important;gap:20px!important}
.portal-search-copy{min-width:0;max-width:820px!important}
.portal-search-copy h1{max-width:18ch!important;font-size:clamp(38px,4.2vw,60px)!important;line-height:1.02!important;letter-spacing:-.045em!important;text-wrap:balance;white-space:normal!important;margin:8px 0 12px!important}
.portal-title-desktop{display:block!important}
.portal-title-mobile{display:none!important}
.portal-search-copy p{max-width:65ch;font-size:15px!important;line-height:1.55}
.portal-market-search{min-width:0;max-width:100%;width:100%;grid-template-columns:minmax(0,1fr) minmax(190px,280px) auto!important}
.portal-market-search label,.portal-market-search input{min-width:0;max-width:100%}
.portal-hero-actions{min-width:0;max-width:100%;flex-wrap:wrap;white-space:normal!important}
.portal-category-grid-visual{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important;padding:0!important}
.portal-category-card{min-width:0!important;min-height:150px!important;flex:none!important}
.portal-category-card:before{background:linear-gradient(180deg,rgba(7,18,31,.16) 0%,rgba(7,17,29,.42) 48%,rgba(7,16,28,.88) 100%)!important}
.portal-category-card strong{font-size:17px!important;line-height:1.15!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-category-card em{font-size:11px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-listing-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important;padding:0!important}
.portal-listing-card{min-width:0!important;max-width:100%;flex:none!important}
.portal-listings-empty{grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:28px!important}
.portal-listings-empty :is(strong,p,a){max-width:100%;white-space:normal!important}
.portal-news-market-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.72fr)!important}
.portal-story-list>a,.home-product-mini,.home-topic-list>a{min-width:0}
.portal-trust-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Common cards should never create a page-level horizontal scroll. */
.marketplace-card,.product-card,.auto-card,.realty-card,.service-card,.notification-card,.forum-post,.xf-topic-row,.subscription-card,.support-topic{min-width:0;max-width:100%}
.marketplace-card img,.product-card img,.auto-card img,.realty-card img{max-width:100%}

/* ---------- laptop ---------- */
@media (max-width:1199px){
  :root{--site-max:1120px;--site-gutter:20px}
  .portal-category-grid-visual{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .portal-listing-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .portal-news-market-grid{grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr)!important}
  .catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .listing-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* ---------- tablet ---------- */
@media (max-width:900px){
  :root{--site-gutter:16px;--section-gap:22px}
  .top-in{gap:10px!important}
  .top-search{display:none!important}
  .account-top-name,.author-top-cta,.admin-top-text,.admin-top-arrow{display:none!important}
  .public-section-bar{display:none!important}
  .main{padding-top:16px}

  .portal-search-hero{grid-template-columns:minmax(0,1fr)!important;padding:24px!important;border-radius:20px!important}
  .portal-search-copy h1{font-size:clamp(32px,6vw,46px)!important;max-width:17ch!important}
  .portal-market-search{display:flex!important;align-items:stretch!important;gap:6px!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important}
  .portal-market-search>label:first-child{display:flex!important;flex:1 1 0!important;min-width:0!important;max-width:none!important}
  .portal-market-search .portal-location{display:none!important}
  .portal-market-search .btn{flex:0 0 auto!important;min-width:76px!important;width:auto!important;max-width:none!important}
  .portal-hero-actions{justify-content:flex-start!important}

  .portal-category-grid-visual{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .portal-listing-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .portal-news-market-grid{grid-template-columns:1fr!important}
  .portal-home-sidebar{grid-template-columns:1fr 1fr!important}
  .portal-trust-row{grid-template-columns:1fr 1fr!important}

  .catalog-layout,.marketplace-layout,.listing-layout-v2,.listing-content-grid,.support-layout-grid,.account-grid,.ecosystem-grid-2{grid-template-columns:1fr!important}
  .catalog-filter-panel,.marketplace-filter-card,.listing-buy-card{position:static!important;top:auto!important}
  .catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .service-grid,.auto-grid,.realty-grid{grid-template-columns:1fr!important}
  .notifications-hero-card,.support-hero-card{grid-template-columns:1fr!important}
  .listing-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ---------- phones ---------- */
@media (max-width:700px){
  :root{--site-gutter:12px;--section-gap:18px;--mobile-bar-h:58px}
  html,body{overflow-x:clip!important}
  body:not(.admin-body) .shell,
  body:not(.admin-body) .main,
  body:not(.admin-body) .top-in{width:calc(100% - (var(--site-gutter) * 2))!important;max-width:none!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}

  .top{position:sticky;top:0}
  .top-in{min-height:58px!important;gap:8px!important}
  .brand{gap:8px!important;min-width:0!important;max-width:calc(100% - 92px)!important;font-size:clamp(14px,4vw,17px)!important}
  .brand-wordmark,.site-logo-image{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:12px!important}
  .top-actions{margin-left:auto!important;gap:5px!important;min-width:0!important}
  .account-top-link,.admin-top-link{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:12px!important}
  .account-top-avatar,.admin-top-ico{width:100%!important;height:100%!important;border-radius:12px!important}
  .guest-register-cta{display:none!important}

  .main{padding-top:12px!important;padding-bottom:calc(var(--mobile-bar-h) + 24px + env(safe-area-inset-bottom))!important}
  .portal-home-v2{gap:var(--section-gap)!important;width:100%!important;max-width:100%!important}

  .portal-search-hero{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:18px!important;border-radius:20px!important;overflow:hidden!important;box-sizing:border-box!important}
  .portal-search-copy{width:100%!important;max-width:100%!important;min-width:0!important}
  .portal-search-copy .eyebrow{font-size:9px!important;line-height:1.2!important;letter-spacing:.08em!important}
  .portal-title-desktop{display:none!important}
  .portal-title-mobile{display:block!important;max-width:100%!important;white-space:normal!important}
  .portal-title-mobile>span{display:block;color:#dceaff}
  .portal-search-copy h1{display:block!important;width:100%!important;max-width:15.5ch!important;min-width:0!important;font-size:clamp(25px,7.4vw,31px)!important;line-height:1.06!important;letter-spacing:-.04em!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance;margin:6px 0 14px!important}
  .portal-search-copy p{display:none!important}

  .portal-market-search{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:5px!important;margin:0!important;border-radius:14px!important;overflow:hidden!important;box-sizing:border-box!important;background:#fff!important}
  .portal-market-search>label:first-child{display:flex!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0 9px!important;overflow:hidden!important;border:0!important}
  .portal-market-search>label:first-child>span{flex:0 0 auto!important}
  .portal-market-search input{display:block!important;flex:1 1 auto!important;width:1%!important;min-width:0!important;max-width:100%!important;font-size:15px!important;padding:9px 0!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}
  .portal-market-search .portal-location{display:none!important}
  .portal-market-search .btn{display:inline-flex!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:42px!important;padding:0 6px!important;border-radius:11px!important;font-size:11px!important;white-space:nowrap!important}
  .portal-hero-actions{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;margin-top:12px!important;white-space:normal!important}
  .portal-hero-actions .btn{display:none!important}
  .portal-hero-actions>a:not(.btn){font-size:12px!important;line-height:1.35!important;white-space:normal!important}

  .home-section-title{display:flex!important;align-items:flex-end!important;gap:8px!important;min-width:0!important;margin:0 0 10px!important}
  .home-section-title>div{min-width:0!important;flex:1 1 auto!important}
  .home-section-title h2{font-size:clamp(22px,6vw,27px)!important;line-height:1.08!important;letter-spacing:-.03em!important;margin:3px 0 0!important;white-space:normal!important}
  .home-section-title>a{flex:0 0 auto!important;max-width:36%!important;font-size:10px!important;line-height:1.2!important;text-align:right!important;white-space:normal!important}
  .home-section-title .eyebrow{font-size:9px!important}

  .portal-market-categories,.portal-home-market{gap:8px!important;min-width:0!important;max-width:100%!important}
  .portal-category-grid-visual{display:flex!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;gap:8px!important;padding:0 2px 5px!important;scroll-snap-type:x proximity!important;scroll-padding-inline:2px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .portal-category-grid-visual::-webkit-scrollbar{display:none}
  .portal-category-card{flex:0 0 clamp(132px,38vw,150px)!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:104px!important;height:104px!important;padding:10px!important;border-radius:15px!important;scroll-snap-align:start!important}
  .portal-category-card:before{background:linear-gradient(180deg,rgba(4,14,27,.28) 0%,rgba(5,16,29,.52) 45%,rgba(5,15,28,.94) 100%)!important}
  .portal-category-card-content{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:5px!important;height:100%!important;min-width:0!important}
  .portal-category-card-top{min-width:0!important}
  .portal-category-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:10px!important;font-size:14px!important;background:rgba(255,255,255,.18)!important}
  .portal-category-count{min-width:29px!important;padding:4px 6px!important;font-size:8px!important}
  .portal-category-card strong{font-size:12px!important;line-height:1.12!important;margin:0!important;color:#fff!important;text-shadow:0 1px 6px rgba(0,0,0,.55)!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
  .portal-category-card small{font-size:8.5px!important;line-height:1.2!important;margin-top:2px!important;color:rgba(255,255,255,.9)!important;white-space:normal!important}
  .portal-category-card em{display:none!important}

  .portal-listing-row{display:flex!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;gap:8px!important;padding:0 2px 5px!important;scroll-snap-type:x proximity!important;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .portal-listing-row::-webkit-scrollbar{display:none}
  .portal-listing-card{flex:0 0 clamp(142px,42vw,164px)!important;width:auto!important;max-width:none!important;min-width:0!important;padding:8px!important;border-radius:13px!important;scroll-snap-align:start!important}
  .portal-listing-card>div:first-child{height:auto!important;aspect-ratio:4/3!important}
  .portal-listing-card h3{min-height:0!important;font-size:12px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
  .portal-listing-card>strong{font-size:14px!important;margin-top:5px!important}
  .portal-listing-card>small,.portal-listing-card>p{font-size:8.5px!important;line-height:1.25!important;white-space:normal!important}
  .portal-listings-empty{display:grid!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:20px 16px!important;border-radius:16px!important;text-align:left!important;overflow:hidden!important;scroll-snap-align:start!important}
  .portal-listings-empty strong{font-size:17px!important;line-height:1.25!important;white-space:normal!important}
  .portal-listings-empty p{font-size:13px!important;line-height:1.45!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .portal-listings-empty .btn{width:max-content!important;max-width:100%!important;padding:9px 12px!important;font-size:12px!important}

  .portal-news-market-grid{display:block!important;width:100%!important;max-width:100%!important}
  .portal-lead-story{grid-template-columns:1fr!important;max-width:100%!important;padding:8px!important;border-radius:16px!important}
  .portal-lead-story>img{min-height:0!important;height:auto!important;aspect-ratio:16/9!important;max-height:none!important}
  .portal-lead-story>div{padding:10px!important;min-width:0!important}
  .portal-lead-story h3{font-size:22px!important;line-height:1.1!important}
  .portal-story-list{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:8px!important;margin-top:8px!important;padding-bottom:4px!important;scrollbar-width:none}
  .portal-story-list::-webkit-scrollbar{display:none}
  .portal-story-list>a{flex:0 0 78%!important;grid-template-columns:82px minmax(0,1fr)!important;min-width:0!important;padding:8px!important}
  .portal-story-list img{width:82px!important;height:72px!important}
  .portal-home-sidebar{display:none!important}
  .portal-trust-row{display:none!important}

  /* Marketplace / catalog / ecosystem phone density */
  .ecosystem-hero,.marketplace-command,.catalog-hub-hero,.notifications-hero-card,.support-hero-card{padding:18px!important;border-radius:18px!important}
  .ecosystem-hero h1,.marketplace-command h1,.catalog-hub-hero h1,.notifications-hero-card h1,.support-hero-card h1{font-size:clamp(25px,7vw,31px)!important;line-height:1.08!important}
  .ecosystem-hero,.marketplace-command{display:grid!important;grid-template-columns:1fr!important;align-items:start!important}
  .marketplace-create-cta,.catalog-hub-actions .btn,.ecosystem-hero>.btn{width:max-content!important;max-width:100%!important;min-height:40px!important;padding:9px 13px!important;font-size:12px!important}
  .ecosystem-tabs,.forum-tabs,.search-tabs,.catalog-sort,.notification-filters{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;scrollbar-width:none!important;padding-bottom:3px!important}
  .ecosystem-tabs::-webkit-scrollbar,.forum-tabs::-webkit-scrollbar,.search-tabs::-webkit-scrollbar,.catalog-sort::-webkit-scrollbar,.notification-filters::-webkit-scrollbar{display:none}
  .ecosystem-tabs a,.forum-tabs a,.search-tabs a,.catalog-sort a,.notification-filter{flex:0 0 auto!important;white-space:nowrap!important;padding:8px 11px!important;font-size:11px!important}
  .market-search,.marketplace-main-search{min-width:0!important;max-width:100%!important;width:100%!important}
  .market-search-main{display:flex!important;min-width:0!important;max-width:100%!important}
  .market-search-main input,.marketplace-main-search input{flex:1 1 auto!important;width:1%!important;min-width:0!important;max-width:100%!important}
  .market-filters{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .market-filters>*{min-width:0!important;width:100%!important}
  .catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .product-card-body,.marketplace-card-copy{padding:10px!important}
  .product-card-body h3,.marketplace-card h3{font-size:13px!important;line-height:1.25!important}
  .product-card-meta strong,.marketplace-card-price{font-size:15px!important}
  .service-card,.auto-card,.realty-card{padding:14px!important}
  .auto-card,.realty-card{grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important}
  .auto-card-image,.realty-card-media{min-height:96px!important;height:100%!important;border-radius:12px!important}
  .service-card h2,.auto-card h2,.realty-card h2{font-size:16px!important}
  .listing-main-photo{height:auto!important;min-height:0!important;aspect-ratio:4/3!important;border-radius:14px!important}
  .listing-buy-card,.listing-description,.listing-reviews,.listing-seller-v2{padding:16px!important}
  .listing-buy-card h1{font-size:25px!important}
  .listing-price-v2{font-size:27px!important}
  .listing-related-grid{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}
  .listing-related-grid>a{flex:0 0 145px!important;min-width:0!important}

  /* Notifications / support / profile compactness */
  .notifications-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .notifications-kpi{padding:11px!important;border-radius:14px!important}
  .notifications-kpi strong{font-size:21px!important}
  .notification-list-rich{gap:8px!important}
  .notification-card{grid-template-columns:40px minmax(0,1fr)!important;gap:9px!important;padding:12px!important;border-radius:15px!important}
  .notification-icon{width:38px!important;height:38px!important;border-radius:12px!important;font-size:16px!important}
  .notification-heading strong{font-size:14px!important}
  .notification-content p{font-size:12px!important;line-height:1.4!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .notification-actions{gap:5px!important}
  .notification-actions .btn.small{padding:7px 9px!important;font-size:10px!important;min-height:34px!important}
  .support-topic-grid{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}
  .support-topic{flex:0 0 74%!important;min-height:76px!important;padding:12px!important}
  .support-side-column{display:none!important}
  .support-chat-head{display:grid!important;gap:8px!important}
  .support-chat-panel{border-radius:16px!important}
  .message{max-width:90%!important;padding:10px 12px!important;border-radius:16px!important}
  .composer-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:6px!important;align-items:end!important}
  .composer-row textarea{min-height:62px!important;max-height:160px!important}
  .composer-row .btn{padding:9px 10px!important;font-size:11px!important;min-width:0!important;width:auto!important}
  .profile-hero-v3,.profile-card-v3,.profile-recent-content{padding:15px!important}
  .profile-title-line-v3 h1{font-size:24px!important}

  /* Bottom navigation: compact and consistent, not giant tiles. */
  .mobile-command-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom))!important;padding:4px 8px calc(4px + env(safe-area-inset-bottom))!important;align-items:center!important;gap:2px!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e1e7ee!important;box-shadow:0 -8px 24px rgba(22,38,60,.09)!important;backdrop-filter:blur(18px)!important;z-index:120!important}
  .mobile-command-nav>a,.mobile-command-nav>button{display:grid!important;place-items:center!important;align-content:center!important;gap:1px!important;width:100%!important;min-width:0!important;height:48px!important;padding:2px!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#647286!important;text-align:center!important}
  .mobile-command-nav>a span,.mobile-command-nav>button span{display:grid!important;place-items:center!important;width:30px!important;height:27px!important;font-size:18px!important;line-height:1!important;border-radius:9px!important;background:transparent!important}
  .mobile-command-nav small{display:block!important;font-size:8.5px!important;line-height:1!important;font-weight:750!important;white-space:nowrap!important}
  .mobile-command-nav .is-active{color:#0b7562!important;background:transparent!important}
  .mobile-command-nav .is-active>span{background:#e7f4ef!important;color:#0b7562!important}
  .mobile-command-nav .mobile-create-command{height:48px!important;margin:0!important;color:#1474ea!important;background:transparent!important}
  .mobile-create-command span{width:40px!important;height:40px!important;margin-top:-11px!important;border-radius:14px!important;background:linear-gradient(135deg,#1474ea,#29a5f5)!important;color:#fff!important;border:3px solid #fff!important;box-shadow:0 8px 18px rgba(20,116,234,.24)!important;font-size:24px!important}
  .mobile-create-command small{margin-top:-7px!important;color:#1768c7!important}
  .mobile-command-sheet{left:8px!important;right:8px!important;bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 6px)!important;max-height:min(76dvh,620px)!important;border-radius:20px!important}
  .support-fab{display:none!important}

  .footer{padding-bottom:calc(var(--mobile-bar-h) + 24px + env(safe-area-inset-bottom))!important}
  .footer-in{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .footer-links{gap:8px 14px!important}

  /* Never let legacy fixed/min widths stretch the document. */
  .compare-table{min-width:680px!important}
  .admin-body .main{max-width:100%!important}
}

/* ---------- narrow phones ---------- */
@media (max-width:390px){
  :root{--site-gutter:10px;--mobile-bar-h:56px}
  .top-in{min-height:54px!important}
  .brand{font-size:14px!important;max-width:calc(100% - 86px)!important}
  .brand-wordmark,.site-logo-image{width:34px!important;height:34px!important;flex-basis:34px!important}
  .account-top-link,.admin-top-link{width:35px!important;height:35px!important;min-width:35px!important}
  .portal-search-hero{padding:15px!important;border-radius:17px!important}
  .portal-search-copy h1{font-size:clamp(23px,7.2vw,28px)!important;max-width:15ch!important}
  .portal-market-search .btn{flex-basis:54px!important;width:54px!important;min-width:54px!important;max-width:54px!important;font-size:10px!important}
  .portal-category-card{flex-basis:128px!important;width:128px!important;height:98px!important;min-height:98px!important}
  .portal-listing-card{flex-basis:138px!important;width:138px!important}
  .home-section-title h2{font-size:21px!important}
  .market-filters{grid-template-columns:1fr!important}
  .auto-card,.realty-card{grid-template-columns:82px minmax(0,1fr)!important}
  .mobile-command-nav{padding-inline:5px!important}
  .mobile-command-nav>a,.mobile-command-nav>button{height:45px!important}
  .mobile-command-nav>a span,.mobile-command-nav>button span{font-size:17px!important}
  .mobile-command-nav small{font-size:8px!important}
  .mobile-create-command span{width:38px!important;height:38px!important;font-size:22px!important}
}

/* ---------- landscape phones / small tablets ---------- */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  :root{--mobile-bar-h:52px}
  .top-in{min-height:50px!important}
  .portal-search-hero{padding:14px 18px!important}
  .portal-search-copy h1{font-size:27px!important;max-width:none!important}
  .mobile-command-nav>a,.mobile-command-nav>button{height:42px!important}
  .mobile-create-command span{width:35px!important;height:35px!important;margin-top:-8px!important}
  .mobile-command-sheet{max-height:68dvh!important}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* ========================================================================
   v5.131 — competitive UX layer
   Unified discovery, recent browsing, compact search scopes, sticky actions
   ======================================================================== */
.portal-competitive-hub{display:grid;gap:12px;margin:2px 0 4px}.portal-competitive-head{display:flex;align-items:end;justify-content:space-between;gap:14px}.portal-competitive-head h2{margin:3px 0 0;font-size:24px;line-height:1.1}.portal-competitive-head>a{font-size:12px;font-weight:800;color:var(--accent)}.portal-competitive-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.portal-competitive-grid>a{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:flex-end;gap:10px;min-height:112px;padding:14px;border-radius:18px;color:#fff;background:#1d3856;border:1px solid rgba(255,255,255,.16);box-shadow:0 12px 26px rgba(19,32,49,.08)}.portal-competitive-grid>a::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--hub-bg) center/cover no-repeat;transition:transform .35s ease}.portal-competitive-grid>a::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(6,19,34,.04),rgba(7,20,35,.82))}.portal-competitive-grid>a:hover::before{transform:scale(1.06)}.portal-competitive-grid>a>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:13px;background:rgba(255,255,255,.17);backdrop-filter:blur(8px);font-size:18px}.portal-competitive-grid>a>div{display:grid;gap:3px;min-width:0}.portal-competitive-grid strong{font-size:14px;line-height:1.15;color:#fff}.portal-competitive-grid small{font-size:10px;color:rgba(255,255,255,.82)}.portal-competitive-grid .theme-market{--hub-bg:url('section-bg-market.jpg')}.portal-competitive-grid .theme-catalog{--hub-bg:url('section-bg-catalog.jpg')}.portal-competitive-grid .theme-auto{--hub-bg:url('section-bg-auto.jpg')}.portal-competitive-grid .theme-realty{--hub-bg:url('section-bg-realty.jpg')}.portal-competitive-grid .theme-services{--hub-bg:url('section-bg-services.jpg')}.portal-competitive-grid .theme-community{--hub-bg:url('section-bg-community.jpg')}

.portal-category-card.theme-phones{--cat-photo:url('category-bg-phones.jpg')}.portal-category-card.theme-electronics{--cat-photo:url('category-bg-electronics.jpg')}.portal-category-card.theme-computers{--cat-photo:url('category-bg-computers.jpg')}.portal-category-card.theme-furniture{--cat-photo:url('category-bg-furniture.jpg')}.portal-category-card.theme-repair{--cat-photo:url('category-bg-repair.jpg')}.portal-category-card.theme-clothing{--cat-photo:url('category-bg-clothing.jpg')}.portal-category-card.theme-hobby{--cat-photo:url('category-bg-hobby.jpg')}.portal-category-card.theme-jobs{--cat-photo:url('category-bg-jobs.jpg')}.portal-category-card.theme-other{--cat-photo:url('category-bg-other.jpg')}
.portal-category-card.theme-phones .portal-category-card-backdrop,.portal-category-card.theme-electronics .portal-category-card-backdrop,.portal-category-card.theme-computers .portal-category-card-backdrop,.portal-category-card.theme-furniture .portal-category-card-backdrop,.portal-category-card.theme-repair .portal-category-card-backdrop,.portal-category-card.theme-clothing .portal-category-card-backdrop,.portal-category-card.theme-hobby .portal-category-card-backdrop,.portal-category-card.theme-jobs .portal-category-card-backdrop,.portal-category-card.theme-other .portal-category-card-backdrop{background-image:var(--cat-photo)!important;background-size:cover!important;background-position:center!important}

.portal-recently-viewed{display:grid;gap:10px}.portal-recent-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.portal-recent-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:11px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0;box-shadow:0 7px 20px rgba(18,34,52,.04)}.portal-recent-media{display:block;width:92px;height:76px;border-radius:12px;overflow:hidden;background:#f1f4f6}.portal-recent-media img{width:100%;height:100%;object-fit:cover}.portal-recent-copy{display:grid;gap:4px;min-width:0}.portal-recent-copy small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-recent-copy strong{font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-recent-copy b{font-size:13px;color:var(--ink)}.portal-recently-viewed .quiet-link{border:0;background:transparent;cursor:pointer}

.search-portal-v3{display:grid;gap:16px}.search-hero-row{display:flex;justify-content:space-between;align-items:end;gap:18px}.search-hero-row h1{margin:4px 0 6px;line-height:1.08}.search-super-form .portal-search-box{min-height:58px}.search-scope-tabs{display:flex;gap:7px;flex-wrap:wrap}.search-scope-tabs a{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:750}.search-scope-tabs a b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#edf2f7;color:#5b6b7e;font-size:9px}.search-scope-tabs a.active{background:#e7f0ff;border-color:#c9dcf7;color:#145fc7}.search-scope-tabs a.active b{background:#fff;color:#145fc7}.search-filter-drawer{border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 14px}.search-filter-drawer summary{cursor:pointer;list-style:none;padding:12px 0;font-size:12px;font-weight:800;color:#4b5b70}.search-filter-drawer summary::-webkit-details-marker{display:none}.search-filter-drawer summary::after{content:"+";float:right}.search-filter-drawer[open] summary::after{content:"−"}.search-filter-drawer .search-tools{padding:0 0 14px;margin:0}.search-entry-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.search-entry-grid a{display:grid;gap:5px;min-height:92px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}.search-entry-grid a>span{font-size:20px}.search-entry-grid b{font-size:13px}.search-entry-grid small{font-size:10px;color:var(--muted);line-height:1.4}.search-section-v3{display:grid;gap:12px}.search-market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.search-result-card{display:grid;grid-template-rows:150px auto;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.search-result-card>img{width:100%;height:100%;object-fit:cover;background:#f0f3f6}.search-result-card>span{display:grid;gap:5px;padding:12px}.search-result-card small,.search-result-card em{font-size:10px;color:var(--muted);font-style:normal}.search-result-card strong{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.search-result-card b{font-size:16px}.search-eco-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.search-eco-cards>a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:#fff}.search-eco-cards>a>span{display:grid;gap:4px;min-width:0}.search-eco-cards strong{font-size:13px;line-height:1.3}.search-eco-cards small{font-size:10px;color:var(--muted)}.search-eco-cards>a>b{flex:0 0 auto;font-size:12px}

.listing-trust-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:2px 0 4px}.listing-trust-summary>span{display:flex;align-items:center;gap:6px;padding:8px 9px;border-radius:11px;background:#f6f8fa;color:#5b6674;font-size:10px;line-height:1.3}.listing-trust-summary>span.is-ok{background:#eef8f1;color:#287548}.listing-trust-summary b{font-size:12px;color:inherit}

.mobile-detail-action{display:none}

@media(max-width:1180px){.portal-competitive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-recent-row{grid-template-columns:repeat(2,minmax(0,1fr))}.search-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.search-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:760px){
  .portal-competitive-hub{gap:8px}.portal-competitive-head h2{font-size:20px}.portal-competitive-head>a{display:none}.portal-competitive-grid{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px;padding:0 1px 4px;scrollbar-width:none;scroll-snap-type:x proximity}.portal-competitive-grid::-webkit-scrollbar{display:none}.portal-competitive-grid>a{flex:0 0 132px;min-height:92px;padding:11px;border-radius:15px;scroll-snap-align:start}.portal-competitive-grid>a>span{width:31px;height:31px;flex-basis:31px;border-radius:10px;font-size:15px}.portal-competitive-grid strong{font-size:12px}.portal-competitive-grid small{font-size:8.5px}
  .portal-recent-row{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px;padding-bottom:4px;scrollbar-width:none;scroll-snap-type:x proximity}.portal-recent-row::-webkit-scrollbar{display:none}.portal-recent-card{flex:0 0 76%;grid-template-columns:78px minmax(0,1fr);padding:8px;border-radius:14px;scroll-snap-align:start}.portal-recent-media{width:78px;height:66px}.portal-recent-copy strong{font-size:12px}.portal-recent-copy b{font-size:12px}
  .search-hero-row{align-items:start}.search-hero-row>.btn{display:none}.search-hero-row h1{font-size:27px}.search-scope-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important}.search-scope-tabs::-webkit-scrollbar{display:none}.search-scope-tabs a{flex:0 0 auto;padding:8px 10px;font-size:10px}.search-scope-tabs a b{min-width:18px;height:18px;font-size:8px}.search-entry-grid{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px;scrollbar-width:none}.search-entry-grid::-webkit-scrollbar{display:none}.search-entry-grid a{flex:0 0 142px;min-height:82px;padding:12px}.search-market-grid{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px;scrollbar-width:none}.search-market-grid::-webkit-scrollbar{display:none}.search-result-card{flex:0 0 158px;grid-template-rows:112px auto;border-radius:14px}.search-result-card>span{padding:9px}.search-result-card strong{font-size:12px}.search-result-card b{font-size:13px}.search-eco-cards{grid-template-columns:1fr}.search-eco-cards>a{padding:12px}.search-section-v3 .section-head>a{font-size:10px}
  .listing-trust-summary{display:flex;grid-template-columns:none;overflow-x:auto;gap:6px;scrollbar-width:none}.listing-trust-summary::-webkit-scrollbar{display:none}.listing-trust-summary>span{flex:0 0 auto;white-space:nowrap}
  .mobile-detail-action{display:flex;position:fixed;left:8px;right:8px;bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 7px);z-index:118;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px 9px 13px;border:1px solid #dde6ef;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 16px 38px rgba(18,36,62,.18);backdrop-filter:blur(18px)}.mobile-detail-action>div{display:grid;gap:2px;min-width:0}.mobile-detail-action small{font-size:8.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-detail-action strong{font-size:16px;line-height:1.05;white-space:nowrap}.mobile-detail-action .btn{flex:0 0 auto;min-height:40px;padding:9px 14px;border-radius:12px;font-size:11px}.listing-page-v2,.product-detail-v2,.ecosystem-page{padding-bottom:68px}
}

@media(max-width:390px){.portal-competitive-grid>a{flex-basis:124px}.portal-recent-card{flex-basis:82%}.search-result-card{flex-basis:148px}.mobile-detail-action strong{font-size:14px}.mobile-detail-action .btn{padding-inline:11px}}

.portal-recently-viewed[hidden]{display:none!important}.portal-global-search{grid-template-columns:minmax(0,1fr) auto!important}.portal-global-search .btn{min-width:96px!important}
@media(max-width:760px){.portal-global-search .btn{flex:0 0 74px!important;width:74px!important;min-width:74px!important;max-width:74px!important}.portal-global-search input{font-size:14px!important}.portal-hero-actions>a:not(.btn){font-size:10px!important}}
@media(max-width:390px){.portal-global-search .btn{flex-basis:68px!important;width:68px!important;min-width:68px!important;max-width:68px!important;font-size:9px!important}}

/* ========================================================================
   v5.132 — mobile bottom navigation, search sheet and news fit fixes
   Final override for narrow devices. Keeps all five destinations inside the
   viewport, removes glyph-metric inconsistencies, and prevents the search UI
   from fighting the virtual keyboard.
   ======================================================================== */
@media (max-width:900px){
  :root{--mobile-bar-h:64px}

  /* Bottom bar: one deterministic layout, no legacy width/transform leakage. */
  .mobile-command-nav{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(6px,env(safe-area-inset-bottom,0px))!important;
    width:min(calc(100% - 16px),520px)!important;
    max-width:520px!important;
    min-width:0!important;
    height:64px!important;
    min-height:64px!important;
    padding:5px 6px!important;
    margin:0!important;
    gap:0!important;
    transform:translateX(-50%)!important;
    overflow:visible!important;
    border:1px solid rgba(215,223,233,.96)!important;
    border-radius:20px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 12px 34px rgba(18,34,55,.14)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    z-index:220!important;
  }
  .mobile-command-nav>a,.mobile-command-nav>button{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-rows:28px 14px!important;
    place-items:center!important;
    align-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:52px!important;
    min-height:0!important;
    padding:2px 1px!important;
    margin:0!important;
    gap:1px!important;
    overflow:visible!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#68778a!important;
    box-shadow:none!important;
    font:inherit!important;
    text-align:center!important;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-command-nav>a:active,.mobile-command-nav>button:active{transform:scale(.94)!important}
  .mobile-command-nav .nav-icon{
    box-sizing:border-box!important;
    display:grid!important;
    place-items:center!important;
    width:29px!important;
    height:28px!important;
    min-width:29px!important;
    margin:0!important;
    padding:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:inherit!important;
    font-size:0!important;
    line-height:1!important;
  }
  .mobile-command-nav .nav-icon svg{display:block!important;width:22px!important;height:22px!important;overflow:visible!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  .mobile-command-nav small{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    font-size:clamp(9px,2.55vw,10.5px)!important;
    line-height:14px!important;
    font-weight:750!important;
    letter-spacing:-.01em!important;
  }
  .mobile-command-nav .is-active{color:#0b7562!important;background:#edf7f3!important}
  .mobile-command-nav .is-active .nav-icon{background:transparent!important;color:#0b7562!important}
  .mobile-command-nav .mobile-create-command{height:52px!important;margin:0!important;color:#176dcc!important;background:transparent!important}
  .mobile-command-nav .mobile-create-command .nav-icon-create{
    width:42px!important;height:42px!important;min-width:42px!important;
    margin-top:-14px!important;margin-bottom:-6px!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,#1676eb,#38a5f4)!important;
    color:#fff!important;
    border:3px solid #fff!important;
    box-shadow:0 8px 20px rgba(24,111,221,.25)!important;
  }
  .mobile-command-nav .mobile-create-command .nav-icon-create svg{width:24px!important;height:24px!important;stroke-width:2!important}
  .mobile-command-nav .mobile-create-command small{color:#176dcc!important;margin-top:-3px!important}

  body:not(.admin-body){padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  body:not(.admin-body) .footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}

  /* Search sheet: compact and readable before and after the keyboard opens. */
  .mobile-command-sheet[data-mobile-sheet="search"]{
    box-sizing:border-box!important;
    left:50%!important;
    right:auto!important;
    bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;
    top:auto!important;
    width:min(calc(100% - 20px),520px)!important;
    max-width:520px!important;
    max-height:min(58dvh,430px)!important;
    padding:8px 12px 14px!important;
    border-radius:22px!important;
    transform:translate(-50%,22px) scale(.985)!important;
    overflow:auto!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"].is-open{transform:translate(-50%,0) scale(1)!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-grabber{margin-bottom:9px!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head{align-items:center!important;margin-bottom:10px!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head .eyebrow{font-size:9px!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head h2{font-size:22px!important;line-height:1.08!important;margin:2px 0 0!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head>button{flex:0 0 36px!important;width:36px!important;height:36px!important;border-radius:12px!important;font-size:20px!important}
  .mobile-sheet-search{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) 68px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    height:52px!important;
    padding:4px!important;
    gap:4px!important;
    border:1px solid #d2dce7!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .mobile-sheet-search:focus-within{border-color:#6aa99c!important;box-shadow:0 0 0 3px rgba(16,119,96,.09)!important}
  .mobile-sheet-search>span{display:grid!important;place-items:center!important;width:28px!important;padding:0!important;color:#718095!important;font-size:17px!important}
  .mobile-sheet-search input{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    padding:0 3px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    font-size:16px!important;
    line-height:42px!important;
  }
  .mobile-sheet-search input:focus{outline:0!important;box-shadow:none!important}
  .mobile-sheet-search .btn{width:68px!important;min-width:68px!important;height:42px!important;min-height:42px!important;padding:0 8px!important;margin:0!important;border-radius:12px!important;font-size:12px!important}
  .mobile-sheet-quick-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:7px!important;
    width:100%!important;
    margin-top:10px!important;
    padding:0 0 3px!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }
  .mobile-sheet-quick-grid::-webkit-scrollbar{display:none!important}
  .mobile-sheet-quick-grid a{
    box-sizing:border-box!important;
    flex:0 0 138px!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    gap:8px!important;
    min-height:62px!important;
    padding:9px!important;
    border-radius:14px!important;
    scroll-snap-align:start!important;
  }
  .mobile-sheet-quick-grid a>span{grid-row:auto!important;width:34px!important;height:34px!important;border-radius:11px!important;font-size:16px!important}
  .mobile-sheet-quick-grid b{font-size:11px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  .mobile-sheet-quick-grid small{display:none!important}

  /* While the search field owns focus, use the visible viewport for the sheet
     and remove nonessential shortcuts/nav so the keyboard cannot crowd it. */
  html.mobile-sheet-search-open .mobile-command-nav{opacity:0!important;pointer-events:none!important;transform:translateX(-50%) translateY(86px)!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within{
    top:max(8px,env(safe-area-inset-top,0px))!important;
    bottom:auto!important;
    max-height:170px!important;
    overflow:hidden!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-quick-grid{display:none!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-head{margin-bottom:8px!important}

  /* News: full category names scroll horizontally; empty state is compact. */
  .events-page{gap:12px!important;min-width:0!important;max-width:100%!important}
  .events-hero{min-height:0!important;padding:16px!important;border-radius:16px!important}
  .events-hero .eyebrow{font-size:9px!important}
  .events-hero h1{font-size:26px!important;line-height:1.05!important;margin:3px 0 0!important}
  .events-hero p,.events-hero>.btn{display:none!important}
  .events-tabs{
    box-sizing:border-box!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:2px 1px 5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }
  .events-tabs::-webkit-scrollbar{display:none!important}
  .events-tabs a{
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    height:38px!important;
    padding:0 13px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    white-space:nowrap!important;
    text-overflow:clip!important;
    border:1px solid #dce4e8!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#425363!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:700!important;
    scroll-snap-align:start!important;
  }
  .events-tabs a.active{background:#12303a!important;border-color:#12303a!important;color:#fff!important}
  .events-page .section-head{align-items:center!important;gap:8px!important;margin:4px 0 8px!important}
  .events-page .section-head h2{font-size:21px!important;line-height:1.1!important;margin:0!important}
  .events-page .section-head .meta{font-size:11px!important;white-space:nowrap!important}
  .events-page .news-list{gap:8px!important}
  .events-page .news-card{min-width:0!important;max-width:100%!important}
  .events-page .empty{
    box-sizing:border-box!important;
    min-height:0!important;
    height:auto!important;
    padding:24px 16px!important;
    margin:0!important;
    border-radius:16px!important;
    font-size:13px!important;
    line-height:1.45!important;
    text-align:center!important;
  }
}

@media (max-width:380px){
  .mobile-command-nav{width:calc(100% - 10px)!important;height:61px!important;padding-inline:3px!important;border-radius:18px!important}
  .mobile-command-nav>a,.mobile-command-nav>button{height:49px!important}
  .mobile-command-nav .nav-icon{width:26px!important;height:25px!important;min-width:26px!important}
  .mobile-command-nav .nav-icon svg{width:20px!important;height:20px!important}
  .mobile-command-nav small{font-size:8.8px!important;letter-spacing:-.02em!important}
  .mobile-command-nav .mobile-create-command .nav-icon-create{width:39px!important;height:39px!important;min-width:39px!important;margin-top:-12px!important}
  .mobile-command-sheet[data-mobile-sheet="search"]{width:calc(100% - 12px)!important;padding-inline:10px!important}
  .mobile-sheet-search{grid-template-columns:25px minmax(0,1fr) 62px!important}
  .mobile-sheet-search .btn{width:62px!important;min-width:62px!important;padding-inline:5px!important;font-size:11px!important}
  .mobile-sheet-quick-grid a{flex-basis:126px!important}
  .events-tabs a{height:36px!important;padding-inline:11px!important;font-size:11px!important}
}

/* ========================================================================
   v5.133 — deterministic bottom bar + keyboard-safe search + news chips
   ======================================================================== */
@media (max-width:900px){
  :root{--mobile-bar-h:66px}

  /* Use viewport edges directly. Do not center with transforms: some Android
     browsers combine transformed fixed elements with visual viewport offsets. */
  .mobile-command-nav{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    position:fixed!important;
    left:max(6px,env(safe-area-inset-left,0px))!important;
    right:max(6px,env(safe-area-inset-right,0px))!important;
    bottom:max(6px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:66px!important;
    min-height:66px!important;
    padding:6px 4px!important;
    gap:2px!important;
    margin:0!important;
    transform:none!important;
    overflow:visible!important;
    border:1px solid rgba(216,224,233,.96)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 10px 28px rgba(18,34,55,.13)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    z-index:220!important;
  }
  .mobile-command-nav>a,.mobile-command-nav>button{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-rows:27px 14px!important;
    place-items:center!important;
    align-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:52px!important;
    min-height:52px!important;
    padding:2px 0!important;
    margin:0!important;
    gap:2px!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:#667589!important;
    box-shadow:none!important;
    font:inherit!important;
    text-align:center!important;
  }
  .mobile-command-nav .nav-icon{
    display:grid!important;
    place-items:center!important;
    width:26px!important;
    min-width:26px!important;
    height:26px!important;
    margin:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:inherit!important;
  }
  .mobile-command-nav .nav-icon svg{width:20px!important;height:20px!important;stroke-width:1.9!important}
  .mobile-command-nav small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:0 1px!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:9.5px!important;
    line-height:14px!important;
    letter-spacing:-.025em!important;
    font-weight:750!important;
  }
  .mobile-command-nav .is-active{background:#edf7f3!important;color:#08715e!important}
  .mobile-command-nav .is-active .nav-icon{background:transparent!important}

  /* Center action stays prominent, but never grows outside its own fifth. */
  .mobile-command-nav .mobile-create-command{
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    overflow:visible!important;
    color:#176dcc!important;
  }
  .mobile-command-nav .mobile-create-command .nav-icon-create{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    margin-top:-10px!important;
    margin-bottom:-4px!important;
    border:2px solid #fff!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,#1676eb,#38a5f4)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(24,111,221,.22)!important;
  }
  .mobile-command-nav .mobile-create-command .nav-icon-create svg{width:22px!important;height:22px!important}
  .mobile-command-nav .mobile-create-command small{margin:0!important;color:#176dcc!important}

  body:not(.admin-body){padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
  body:not(.admin-body) .footer{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}

  /* Search sheet: readable, short, and independent from keyboard height. */
  .mobile-command-sheet[data-mobile-sheet="search"]{
    box-sizing:border-box!important;
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;
    top:auto!important;
    width:auto!important;
    max-width:none!important;
    max-height:min(56dvh,420px)!important;
    margin:0!important;
    padding:10px 12px 14px!important;
    transform:translateY(18px) scale(.99)!important;
    border-radius:20px!important;
    overflow:auto!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"].is-open{transform:none!important}
  .mobile-sheet-head{min-width:0!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head h2{font-size:21px!important;line-height:1.08!important}
  .mobile-sheet-search{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 64px!important;
    width:100%!important;
    min-width:0!important;
    height:50px!important;
    padding:4px!important;
    gap:3px!important;
    border-radius:14px!important;
  }
  .mobile-sheet-search>span{width:24px!important;font-size:16px!important}
  .mobile-sheet-search input{
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    padding:0 3px!important;
    font-size:15px!important;
    line-height:40px!important;
  }
  .mobile-sheet-search .btn{
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 5px!important;
    border-radius:11px!important;
    font-size:11px!important;
  }
  .mobile-sheet-quick-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    overflow:visible!important;
    width:100%!important;
    margin-top:9px!important;
  }
  .mobile-sheet-quick-grid a{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    flex:none!important;
    width:auto!important;
    min-width:0!important;
    min-height:58px!important;
    padding:8px!important;
    border-radius:13px!important;
    overflow:hidden!important;
  }
  .mobile-sheet-quick-grid b{font-size:11px!important;overflow-wrap:anywhere!important}
  .mobile-sheet-quick-grid small{display:block!important;font-size:9px!important;line-height:1.2!important;white-space:normal!important}

  /* When virtual keyboard is open: only title + search field. */
  html.mobile-sheet-search-open .mobile-command-nav{opacity:0!important;pointer-events:none!important;transform:translateY(80px)!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within{
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    top:max(8px,env(safe-area-inset-top,0px))!important;
    bottom:auto!important;
    width:auto!important;
    max-height:148px!important;
    padding:8px 10px 10px!important;
    overflow:hidden!important;
    transform:none!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-grabber,
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-quick-grid,
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-head .eyebrow{display:none!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-head{margin-bottom:6px!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-head h2{font-size:18px!important}

  /* Events/news: short hero, readable chips, no truncated category labels. */
  .events-page{gap:12px!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
  .events-hero{padding:14px!important;border-radius:15px!important;min-height:0!important}
  .events-hero h1{font-size:25px!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  .events-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    padding:2px 0 5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    scroll-snap-type:x proximity!important;
  }
  .events-tabs::-webkit-scrollbar{display:none!important}
  .events-tabs a{
    flex:0 0 auto!important;
    min-width:auto!important;
    width:auto!important;
    max-width:none!important;
    height:36px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    border-radius:999px!important;
    font-size:11px!important;
    line-height:1!important;
    scroll-snap-align:start!important;
  }
  .events-page .section-head h2{font-size:20px!important}
  .events-page .empty{padding:20px 14px!important;min-height:0!important;border-radius:15px!important}
}

@media (max-width:380px){
  .mobile-command-nav{left:4px!important;right:4px!important;padding-inline:2px!important;gap:0!important}
  .mobile-command-nav small{font-size:8.8px!important;letter-spacing:-.035em!important}
  .mobile-command-nav .nav-icon{width:24px!important;min-width:24px!important;height:24px!important}
  .mobile-command-nav .nav-icon svg{width:19px!important;height:19px!important}
  .mobile-command-nav .mobile-create-command .nav-icon-create{width:36px!important;min-width:36px!important;height:36px!important}
  .mobile-sheet-search{grid-template-columns:22px minmax(0,1fr) 58px!important}
  .mobile-sheet-search .btn{width:58px!important;min-width:58px!important;max-width:58px!important;font-size:10px!important}
  .mobile-sheet-search input{font-size:14px!important}
}

/* =========================================================
   v5.134 — profile polish + search fit + photographic sections
   ========================================================= */

/* Generated photographic section imagery. */
.portal-competitive-grid .theme-market{--hub-bg:url('section-bg-market.jpg')}
.portal-competitive-grid .theme-catalog{--hub-bg:url('section-bg-catalog.jpg')}
.portal-competitive-grid .theme-auto{--hub-bg:url('section-bg-auto.jpg')}
.portal-competitive-grid .theme-realty{--hub-bg:url('section-bg-realty.jpg')}
.portal-competitive-grid .theme-services{--hub-bg:url('section-bg-services.jpg')}
.portal-competitive-grid .theme-community{--hub-bg:url('section-bg-community.jpg')}
.portal-competitive-grid>a::after{background:linear-gradient(180deg,rgba(5,15,26,.06),rgba(5,16,29,.80))!important}
.portal-competitive-grid>a{background-position:center!important;background-size:cover!important}
.portal-competitive-grid strong{text-shadow:0 1px 14px rgba(0,0,0,.28)}
.portal-category-card::after,.market-category-photo::after{background:linear-gradient(180deg,rgba(7,17,29,.06),rgba(7,18,31,.80))!important}
.portal-category-card,.market-category-photo{background-position:center!important;background-size:cover!important}

@media(max-width:760px){
  /* Search sheet: no descriptive copy, one clean row, button must fit. */
  .mobile-command-sheet[data-mobile-sheet="search"]{
    width:min(calc(100% - 12px),500px)!important;
    padding:8px 10px 12px!important;
    border-radius:20px!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head{
    margin:0 0 8px!important;
    min-height:42px!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head h2{
    font-size:20px!important;
    line-height:1!important;
    margin:0!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head .eyebrow{display:none!important}
  .mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-head button{
    width:40px!important;height:40px!important;min-width:40px!important;
  }
  .mobile-sheet-search{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 76px!important;
    gap:6px!important;
    padding:5px!important;
    border-radius:14px!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .mobile-sheet-search>span{display:none!important}
  .mobile-sheet-search input{
    width:100%!important;min-width:0!important;
    height:42px!important;
    padding:0 11px!important;
    font-size:15px!important;
    line-height:42px!important;
  }
  .mobile-sheet-search .btn{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:76px!important;min-width:76px!important;max-width:76px!important;
    height:42px!important;min-height:42px!important;
    padding:0 8px!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow:hidden!important;
  }
  .mobile-sheet-quick-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:8px!important;
  }
  .mobile-sheet-quick-grid a{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    min-height:64px!important;padding:7px 4px!important;gap:5px!important;
    text-align:center!important;
  }
  .mobile-sheet-quick-grid a>span{
    width:30px!important;height:30px!important;min-width:30px!important;
    border-radius:10px!important;font-size:14px!important;
  }
  .mobile-sheet-quick-grid b{
    font-size:9.5px!important;line-height:1.08!important;
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  }
  .mobile-sheet-quick-grid small{display:none!important}
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within{
    max-height:108px!important;
    padding:7px 8px 8px!important;
  }
  .mobile-command-sheet[data-mobile-sheet="search"]:focus-within .mobile-sheet-head{display:none!important}

  /* Homepage search: keep submit button inside viewport. */
  .portal-global-search,.portal-market-search{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 74px!important;
    gap:5px!important;
    width:100%!important;max-width:100%!important;
    padding:5px!important;
    overflow:hidden!important;
  }
  .portal-global-search label,.portal-market-search label{
    min-width:0!important;overflow:hidden!important;padding:0 8px!important;
  }
  .portal-global-search input,.portal-market-search input{
    min-width:0!important;width:100%!important;
    font-size:14px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .portal-global-search .btn,.portal-market-search .btn{
    flex:none!important;
    width:74px!important;min-width:74px!important;max-width:74px!important;
    height:42px!important;min-height:42px!important;
    padding:0 6px!important;
    font-size:12px!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow:hidden!important;
  }

  /* Profile: replace clipped horizontal rails with a compact card system. */
  .profile-page-v3{
    gap:10px!important;
    overflow:visible!important;
  }
  .profile-hero-v3{
    position:relative!important;
    overflow:hidden!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:16px!important;
    border-radius:22px!important;
    border:1px solid rgba(18,84,112,.14)!important;
    background:
      radial-gradient(circle at 90% 0%,rgba(29,103,215,.11),transparent 38%),
      radial-gradient(circle at 0% 100%,rgba(20,145,110,.09),transparent 38%),
      linear-gradient(180deg,#fff,#f8fbfd)!important;
    box-shadow:0 14px 34px rgba(26,48,73,.07)!important;
  }
  .profile-hero-v3::before{
    content:"";position:absolute;left:0;right:0;top:0;height:4px;
    background:linear-gradient(90deg,#0d7f68,#2a78e2,#55b99d);
  }
  .profile-hero-person{
    display:grid!important;
    grid-template-columns:66px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .profile-avatar-v3{
    width:66px!important;height:66px!important;flex-basis:66px!important;
    border-radius:18px!important;
    box-shadow:0 8px 24px rgba(21,35,52,.10)!important;
  }
  .profile-hero-copy{min-width:0!important}
  .profile-title-line-v3{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
  .profile-title-line-v3 h1{
    font-size:24px!important;line-height:1.02!important;margin:3px 0 5px!important;
    overflow-wrap:anywhere!important;
  }
  .profile-identity-badges-v3{
    display:flex!important;gap:5px!important;flex-wrap:wrap!important;
    margin-top:3px!important;
  }
  .profile-identity-badges-v3 .identity-status-pill,.profile-identity-badges-v3 .profile-role{
    font-size:9.5px!important;padding:5px 8px!important;border-radius:999px!important;
    white-space:nowrap!important;
  }
  .profile-contact-line{
    grid-column:1/-1!important;
    margin:4px 0 0!important;
    font-size:11px!important;line-height:1.4!important;
    color:#718093!important;
    overflow-wrap:anywhere!important;
  }
  .profile-hero-actions-v3{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    overflow:visible!important;
    width:100%!important;
  }
  .profile-hero-actions-v3 .btn{
    width:100%!important;min-width:0!important;min-height:42px!important;
    padding:9px 10px!important;
    font-size:11px!important;line-height:1.15!important;
    white-space:normal!important;
    text-align:center!important;
    border-radius:12px!important;
  }
  .profile-hero-actions-v3 .btn:first-child{
    grid-column:1/-1!important;
    min-height:46px!important;
    font-size:12px!important;
  }
  .profile-status-strip{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    overflow:visible!important;
  }
  .profile-status-card{
    min-width:0!important;width:auto!important;min-height:76px!important;
    padding:11px!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    box-shadow:0 9px 22px rgba(24,43,66,.05)!important;
  }
  .profile-status-card .status-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important}
  .profile-status-card strong{font-size:11px!important;line-height:1.15!important}
  .profile-status-card small{font-size:8.5px!important;line-height:1.3!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .account-shortcuts-v3{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
  }
  .account-shortcuts-v3>a{
    min-width:0!important;width:auto!important;min-height:88px!important;
    padding:10px 8px!important;
    border-radius:16px!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:7px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    box-shadow:0 8px 20px rgba(22,38,59,.045)!important;
  }
  .account-shortcuts-v3>a>span{
    width:34px!important;height:34px!important;min-width:34px!important;
    border-radius:11px!important;background:#f1f5f8!important;
    color:#285b8a!important;
  }
  .account-shortcuts-v3 b{
    font-size:10.5px!important;line-height:1.1!important;
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  }
  .account-shortcuts-v3 small{display:none!important}
  .profile-main-grid-v3{grid-template-columns:1fr!important;gap:9px!important}
  .profile-card-v3{padding:15px!important;border-radius:18px!important}
  .profile-card-v3 h2{font-size:21px!important}
  .profile-referral-strip{border-radius:18px!important}

  /* Section cards: more photo, less decorative noise. */
  .portal-competitive-grid>a{
    min-height:108px!important;
    background-position:center!important;
    background-size:cover!important;
    border-radius:17px!important;
  }
  .portal-competitive-grid>a>span{
    background:rgba(255,255,255,.15)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    backdrop-filter:blur(8px)!important;
  }
  .portal-competitive-grid small{color:rgba(255,255,255,.88)!important}
}

@media(max-width:390px){
  .mobile-sheet-search{grid-template-columns:minmax(0,1fr) 68px!important}
  .mobile-sheet-search .btn{width:68px!important;min-width:68px!important;max-width:68px!important;font-size:11px!important}
  .portal-global-search,.portal-market-search{grid-template-columns:minmax(0,1fr) 68px!important}
  .portal-global-search .btn,.portal-market-search .btn{width:68px!important;min-width:68px!important;max-width:68px!important;font-size:11px!important}
  .mobile-sheet-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-sheet-quick-grid a{min-height:54px!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;padding:7px!important}
  .profile-title-line-v3 h1{font-size:21px!important}
  .profile-status-strip{grid-template-columns:1fr 1fr!important}
  .account-shortcuts-v3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .account-shortcuts-v3>a{min-height:80px!important;padding:8px 6px!important}
  .account-shortcuts-v3 b{font-size:9.5px!important}
}
\n/* v5.136 — mobile administration entry */\n.mobile-more-grid .mobile-admin-panel-link{\n  grid-column:1/-1;\n  display:flex;\n  align-items:center;\n  justify-content:flex-start;\n  gap:12px;\n  min-height:58px;\n  padding:12px 14px;\n  border-radius:16px;\n  background:linear-gradient(135deg,#11243b,#1e4066);\n  border-color:#1c3655;\n  color:#fff;\n  box-shadow:0 10px 24px rgba(17,36,59,.14);\n}\n.mobile-more-grid .mobile-admin-panel-link span,\n.mobile-more-grid .mobile-admin-panel-link b{color:#fff!important}\n.mobile-more-grid .mobile-admin-panel-link span{background:rgba(255,255,255,.12)!important}\n.profile-admin-panel-btn{background:linear-gradient(135deg,#172a42,#274f78)!important;border-color:#172a42!important;color:#fff!important}\n@media(max-width:760px){\n  .profile-hero-actions-v3 .profile-admin-panel-btn{grid-column:1/-1;width:100%;justify-content:center}\n}\n
/* v5.137 — cleaner search, editorial reading, global UI polish */
.portal-search-hero-compact{
  min-height:0!important;
  padding:18px!important;
  display:grid!important;
  gap:10px!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#0f3f7a,#1466d8)!important;
  overflow:hidden!important;
}
.portal-search-hero-compact::before{opacity:.12!important}
.portal-search-hero-compact .portal-global-search{
  width:min(980px,100%)!important;
  margin:0 auto!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.45)!important;
  box-shadow:0 14px 38px rgba(5,28,66,.18)!important;
}
.portal-search-hero-compact .portal-search-shortcuts{
  display:flex;justify-content:center;gap:6px;flex-wrap:wrap;
}
.portal-search-hero-compact .portal-search-shortcuts a{
  padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:11px;font-weight:700;
}
.search-portal-v4{display:grid;gap:14px}
.search-super-form-clean{margin:0!important}
.search-super-form-clean .portal-search-box{box-shadow:0 12px 30px rgba(23,43,67,.07);border-radius:18px}
.search-results-head{align-items:center!important;margin:0!important}
.search-results-head h1{font-size:clamp(24px,3vw,36px)!important;margin:2px 0 0!important;overflow-wrap:anywhere}
.search-result-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.search-result-head-actions form{margin:0}

/* Editorial article experience */
.article-page-modern{display:grid;gap:24px;max-width:1260px;margin:0 auto}
.article-reading-shell{display:grid;grid-template-columns:minmax(0,820px) minmax(240px,300px);gap:28px;align-items:start;justify-content:center}
.article-modern{padding:0!important;border-radius:26px;overflow:hidden;background:#fff;border:1px solid #e1e8ef;box-shadow:0 18px 45px rgba(25,42,63,.07)}
.article-breadcrumbs{padding:22px 30px 0;color:#728097;font-size:12px}
.article-modern-header{padding:18px 30px 24px;display:grid;gap:14px}
.article-kicker-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#748195;font-size:12px}
.article-category-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eaf4f0;color:#0e775f;font-weight:800}
.article-modern .article-title{font-size:clamp(34px,4.4vw,58px)!important;line-height:1.02!important;letter-spacing:-.035em;margin:0;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
.article-deck{margin:0;font-size:clamp(17px,2vw,22px);line-height:1.5;color:#5a6779;max-width:760px}
.article-byline{display:flex;align-items:center;gap:11px;padding-top:2px}
.article-author-avatar{width:42px!important;height:42px!important;min-width:42px!important}
.article-byline-copy{display:grid;gap:3px;min-width:0}
.article-byline-copy strong{font-size:13px;color:#152536}.article-byline-copy strong a{color:inherit}
.article-byline-copy span{font-size:11px;color:#768296;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.article-cover-modern{margin:0;background:#eef3f6;aspect-ratio:16/9;overflow:hidden}
.article-cover-modern img{width:100%;height:100%;object-fit:cover;display:block}
.article-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:14px 30px;border-bottom:1px solid #edf1f5;border-top:1px solid #edf1f5;background:#fbfcfd}
.article-toolbar form{margin:0}.article-tool{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;border-radius:11px;border:1px solid #dfe6ed;background:#fff;color:#31445a;font:inherit;font-size:11px;font-weight:700;cursor:pointer;text-decoration:none}.article-tool:hover{background:#f5f8fb;border-color:#cbd8e5}.article-tool span{font-size:14px}
.article-body-modern{max-width:740px!important;margin:0 auto!important;padding:34px 34px 42px!important;font-size:18px!important;line-height:1.78!important;color:#263442}
.article-body-modern>*:first-child{margin-top:0}.article-body-modern h2{font-size:30px;line-height:1.18;margin:1.7em 0 .65em;color:#172737}.article-body-modern h3{font-size:23px;line-height:1.25;margin:1.55em 0 .6em}.article-body-modern p{margin:0 0 1.15em}.article-body-modern ul,.article-body-modern ol{padding-left:1.35em;margin:0 0 1.2em}.article-body-modern li{margin:.35em 0}.article-body-modern img{max-width:100%;height:auto;border-radius:18px;margin:20px auto;box-shadow:0 10px 30px rgba(24,38,56,.08)}.article-body-modern blockquote{margin:24px 0;padding:18px 20px;border-left:4px solid #0f8268;border-radius:0 16px 16px 0;background:#f3f8f6;color:#405064}.article-body-modern hr{border:0;border-top:1px solid #e4e9ef;margin:32px 0}.article-body-modern table{font-size:14px}
.article-source-modern{margin:0 30px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:16px}.article-source-modern>div{display:grid;gap:3px}.article-source-modern span{color:#768296;font-size:12px}
.article-end-card{margin:0 30px 30px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#f4f8f6,#f7f9fc);border:1px solid #e0e8e4;display:flex;align-items:center;justify-content:space-between;gap:16px}.article-end-card>div:first-child{display:grid;gap:4px}.article-end-card strong{font-size:16px}.article-end-card small{font-size:11px;color:#758195}.article-end-actions{display:flex;gap:7px;flex-wrap:wrap}
.article-aside-modern{display:grid;gap:14px;position:sticky;top:86px}.article-aside-modern .panel{padding:18px;border-radius:20px}.article-aside-modern h2{margin:3px 0 10px;font-size:20px}.article-toc-modern ol{display:grid;gap:7px;margin:0;padding-left:18px}.article-toc-modern a{color:#40566d;font-size:12px;line-height:1.35}.article-facts-modern dl{display:grid;gap:0;margin:8px 0 0}.article-facts-modern dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f4}.article-facts-modern dl>div:last-child{border-bottom:0}.article-facts-modern dt{font-size:11px;color:#7d8998}.article-facts-modern dd{margin:0;font-size:11px;font-weight:800;text-align:right}
.comments-modern{max-width:820px;margin:0 auto;width:100%;display:grid;gap:12px}.article-section-head{margin-bottom:0}.article-section-head h2{margin:3px 0 0}.article-section-head h2 span{color:#8793a1;font-weight:500}.comment-composer-modern{padding:18px;border-radius:20px}.comment-list-modern{display:grid;gap:10px}.comment-list-modern .comment{border:1px solid #e2e8ee;border-radius:18px;background:#fff;padding:16px;box-shadow:0 7px 20px rgba(24,39,58,.035)}.comment-list-modern .comment-reply{margin-left:34px;background:#fbfcfd}.comments-empty{border:1px dashed #d7e0e8;border-radius:18px}
.article-comment-pager{justify-content:center}
.article-related-modern{display:grid;gap:12px}.article-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.article-related-card{display:block;text-decoration:none;color:inherit;border:1px solid #e1e8ef;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 9px 24px rgba(25,42,62,.045);transition:transform .18s ease,box-shadow .18s ease}.article-related-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(25,42,62,.08)}.article-related-media{aspect-ratio:16/10;background:#edf1f4;overflow:hidden}.article-related-media img{width:100%;height:100%;object-fit:cover}.article-related-card>div:last-child{padding:14px}.article-related-card h3{margin:4px 0 7px;font-size:16px;line-height:1.25}.article-related-card p{margin:0 0 9px;color:#677587;font-size:12px;line-height:1.45}.article-related-card small{color:#8691a0;font-size:10px}

/* Long public pages render more cheaply on large content sets where supported. */
.portal-listing-card,.market-card,.product-card,.auto-card,.realty-card,.service-card,.xf-topic-row,.notification-card,.article-related-card{content-visibility:auto;contain-intrinsic-size:240px}

/* Stronger text overflow protection site-wide. */
.article-title,.portal-competitive-head h2,.home-section-title h2,.profile-title-line-v3 h1,.market-card h2,.auto-card h2,.realty-card h2,.service-card h2{overflow-wrap:anywhere;word-break:normal}

@media(max-width:980px){
  .article-reading-shell{grid-template-columns:minmax(0,1fr)}
  .article-aside-modern{position:static;grid-template-columns:1fr 1fr;max-width:820px;width:100%;margin:0 auto}
  .article-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .portal-search-hero-compact{padding:8px!important;border-radius:17px!important;background:transparent!important;box-shadow:none!important}
  .portal-search-hero-compact .portal-search-shortcuts{display:none!important}
  .portal-search-hero-compact .portal-global-search{box-shadow:0 8px 24px rgba(25,44,68,.08)!important;border:1px solid #dce5ed!important}
  .search-results-head{display:flex!important;align-items:flex-start!important;gap:8px!important}
  .search-results-head h1{font-size:22px!important}
  .search-result-head-actions{width:100%}.search-result-head-actions .btn,.search-result-head-actions form{flex:1}.search-result-head-actions form .btn{width:100%}

  .article-page-modern{gap:16px}
  .article-reading-shell{display:block}
  .article-modern{border-radius:20px}
  .article-breadcrumbs{padding:16px 18px 0;font-size:10px;overflow:auto;white-space:nowrap}
  .article-modern-header{padding:14px 18px 18px;gap:10px}
  .article-kicker-row{font-size:10px}
  .article-modern .article-title{font-size:clamp(27px,8.5vw,38px)!important;line-height:1.04!important;letter-spacing:-.025em!important}
  .article-deck{font-size:15px;line-height:1.48}
  .article-byline{align-items:flex-start}.article-author-avatar{width:36px!important;height:36px!important;min-width:36px!important}.article-byline-copy strong{font-size:11px}.article-byline-copy span{font-size:9.5px}
  .article-cover-modern{aspect-ratio:16/10}
  .article-toolbar{padding:10px 12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible}
  .article-toolbar form{display:block}.article-tool{width:100%;justify-content:center;padding:8px 6px;min-width:0;font-size:9.5px}.article-tool-print{display:none}
  .article-body-modern{padding:24px 18px 28px!important;font-size:16.5px!important;line-height:1.72!important}.article-body-modern h2{font-size:24px}.article-body-modern h3{font-size:20px}.article-body-modern blockquote{margin:18px 0;padding:15px}
  .article-source-modern{margin:0 18px 20px;align-items:flex-start;flex-direction:column}
  .article-end-card{margin:0 18px 20px;padding:14px;align-items:flex-start;flex-direction:column}.article-end-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.article-end-actions .btn{width:100%;font-size:10px;padding:9px}
  .article-aside-modern{display:none!important}
  .comments-modern{gap:9px}.comment-composer-modern{padding:14px}.comment-list-modern .comment{padding:13px;border-radius:15px}.comment-list-modern .comment-reply{margin-left:14px}
  .article-related-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;padding-bottom:4px}.article-related-card{flex:0 0 min(78vw,300px);scroll-snap-align:start}.article-related-card h3{font-size:15px}
  .article-related-modern .home-section-title>a{font-size:10px}
}
@media(max-width:390px){
  .article-modern .article-title{font-size:28px!important}
  .article-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .article-tool b{font-size:9px}
  .article-body-modern{font-size:16px!important;padding-left:16px!important;padding-right:16px!important}
}

/* v5.137 — editorial news feed */
.events-page-v2{display:grid;gap:16px;max-width:1180px;margin:0 auto}
.events-header-compact{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:4px 0}
.events-header-compact h1{margin:3px 0 0;font-size:clamp(30px,4vw,48px);letter-spacing:-.025em;line-height:1.05}
.events-tabs-v2{display:flex;gap:7px;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 5px;scrollbar-width:none}.events-tabs-v2::-webkit-scrollbar{display:none}.events-tabs-v2 a{flex:0 0 auto;white-space:nowrap}
.events-featured{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:0;border:1px solid #e1e7ed;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 16px 40px rgba(24,42,63,.06)}
.events-featured-media{min-height:390px;background:#edf2f5;overflow:hidden}.events-featured-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.events-featured:hover .events-featured-media img{transform:scale(1.02)}
.events-featured-copy{padding:28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.events-featured-copy h2{margin:7px 0 12px;font-size:clamp(28px,3.3vw,42px);line-height:1.05;letter-spacing:-.025em;overflow-wrap:anywhere}.events-featured-copy h2 a{color:inherit;text-decoration:none}.events-featured-copy p{margin:0 0 18px;color:#647184;font-size:14px;line-height:1.58}.events-featured-meta{display:flex;align-items:center;gap:8px;color:#7c8796;font-size:11px}.events-featured-meta span{line-height:1.35}
.events-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.events-story-card{border:1px solid #e1e7ed;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 9px 24px rgba(24,42,63,.04);transition:transform .18s ease,box-shadow .18s ease}.events-story-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(24,42,63,.08)}.events-story-media{display:block;aspect-ratio:16/10;background:#edf2f5;overflow:hidden}.events-story-media img{width:100%;height:100%;object-fit:cover}.events-story-copy{padding:15px}.events-story-copy h3{margin:5px 0 8px;font-size:18px;line-height:1.22;overflow-wrap:anywhere}.events-story-copy h3 a{color:inherit;text-decoration:none}.events-story-copy p{margin:0 0 11px;color:#687587;font-size:12px;line-height:1.48}.events-story-copy small{font-size:10px;color:#8792a0}.events-empty{border-radius:18px}
@media(max-width:980px){.events-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.events-featured{grid-template-columns:1fr}.events-featured-media{min-height:300px;aspect-ratio:16/8}.events-featured-copy{padding:22px}}
@media(max-width:760px){.events-page-v2{gap:11px}.events-header-compact{align-items:center}.events-header-compact h1{font-size:25px}.events-header-compact .btn{padding:8px 11px;font-size:10px}.events-featured{border-radius:17px}.events-featured-media{min-height:0;aspect-ratio:16/9}.events-featured-copy{padding:14px}.events-featured-copy h2{font-size:22px;margin:4px 0 7px}.events-featured-copy p{display:none}.events-featured-meta{font-size:9.5px}.events-card-grid{grid-template-columns:1fr;gap:8px}.events-story-card{display:grid;grid-template-columns:110px minmax(0,1fr);border-radius:14px}.events-story-media{aspect-ratio:auto;height:100%;min-height:110px}.events-story-copy{padding:11px}.events-story-copy h3{font-size:14px;margin:3px 0 6px}.events-story-copy p{display:none}.events-story-copy small{font-size:9px}}

/* v5.138 — competitive polish: cleaner search, editorial articles, denser mobile UX */
.portal-search-hero-compact{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.portal-search-hero-compact::after,.portal-search-hero-compact::before{display:none!important}
.portal-search-hero-compact .portal-global-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:8px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(25,44,68,.08)!important}
.portal-search-hero-compact .portal-global-search label{min-width:0!important;padding:0 13px!important}
.portal-search-hero-compact .portal-global-search input{height:48px!important;font-size:17px!important}
.portal-search-hero-compact .portal-global-search .btn{min-width:96px!important;border-radius:13px!important;white-space:nowrap!important}
.portal-search-shortcuts{display:none!important}

.portal-competitive-hub{display:grid;gap:12px}.portal-competitive-head h2{font-size:clamp(24px,3vw,34px)!important;margin:2px 0!important}.portal-competitive-grid{gap:12px!important}.portal-competitive-grid>a{min-height:132px!important;border-radius:20px!important;padding:16px!important}.portal-competitive-grid>a strong{font-size:18px!important}.portal-competitive-grid>a small{font-size:12px!important}

.search-super-form-clean{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.search-super-form-clean .search-main-input{border-radius:18px!important;box-shadow:0 10px 26px rgba(28,44,63,.07);overflow:hidden}.search-entry-grid-clean{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}.search-entry-grid-clean a{min-height:84px!important;padding:12px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}.search-entry-grid-clean a span{font-size:20px!important}.search-entry-grid-clean a b{font-size:13px!important}.search-entry-grid-clean small{display:none!important}.search-trends{margin-top:14px!important;padding-top:0!important}.search-trends .meta{margin-right:3px}.search-trends a{background:#fff;border:1px solid #e1e8ef;border-radius:999px;padding:8px 12px!important;font-weight:700!important;font-size:12px!important}

.article-page-modern{--article-ink:#172737;--article-muted:#66778a}.article-reading-shell{gap:22px!important}.article-modern{border-radius:24px!important;box-shadow:0 14px 42px rgba(26,43,64,.06)!important}.article-breadcrumbs{padding:18px 30px 0!important;font-size:12px!important;color:#718093!important}.article-modern-header{padding:14px 30px 24px!important}.article-kicker-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;color:#748395!important;font-size:12px!important}.article-category-pill{display:inline-flex!important;padding:6px 10px!important;border-radius:999px!important;background:#eaf7f2!important;color:#0e7b63!important;font-weight:800!important}.article-modern .article-title{font-size:clamp(34px,4vw,54px)!important;line-height:1.04!important;letter-spacing:-.035em!important;text-wrap:balance!important}.article-deck{font-size:clamp(17px,1.8vw,21px)!important;line-height:1.5!important;color:#5f7083!important;max-width:72ch!important}.article-byline{padding-top:4px!important}.article-cover-modern{margin:0!important;background:#eef2f5!important}.article-cover-modern img{width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:0!important}.article-toolbar{position:sticky!important;top:66px!important;z-index:8!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:8px 20px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(14px)!important;border-top:1px solid #edf1f4!important;border-bottom:1px solid #e5ebf0!important}.article-toolbar form{margin:0!important}.article-tool{width:100%!important;min-height:44px!important;border:0!important;background:transparent!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;color:#41546a!important;font-size:12px!important}.article-tool:hover{background:#f2f6f8!important}.article-tool span{font-size:16px!important}.article-body-modern{max-width:700px!important;padding:34px 28px 40px!important;font-size:18px!important;line-height:1.76!important;color:#283746!important}.article-body-modern p{margin:0 0 1.2em!important}.article-body-modern h2{font-size:30px!important;letter-spacing:-.025em!important;color:var(--article-ink)!important}.article-body-modern h3{font-size:23px!important;color:var(--article-ink)!important}.article-body-modern a{text-decoration:underline;text-decoration-color:#9dc9bd;text-underline-offset:3px}.article-body-modern img{border-radius:16px!important}.article-end-card{margin:0 28px 28px!important;padding:18px!important;border-radius:18px!important;background:#f6f9fa!important;border:1px solid #e6ecef!important}.article-related-grid{gap:14px!important}.article-related-card{border-radius:18px!important;overflow:hidden!important;border:1px solid #e2e8ed!important;background:#fff!important}.article-related-media img{aspect-ratio:16/10!important;object-fit:cover!important}.comments-modern{max-width:820px!important;margin:22px auto 0!important}.comment-composer-modern{border-radius:20px!important}.comment-list-modern .comment{background:#fff!important;border:1px solid #e4e9ee!important;border-radius:16px!important;padding:14px!important;margin:9px 0!important}.article-section-head h2{font-size:26px!important}.article-aside-modern .panel{box-shadow:0 10px 30px rgba(25,42,63,.05)!important}

/* tighter, consistent cards across the public experience */
.panel,.ecosystem-hero,.service-card,.auto-card,.realty-card,.product-card,.marketplace-card,.news-card{border-color:#e2e8ed!important;box-shadow:0 8px 24px rgba(24,40,60,.045)!important}.btn{min-height:42px}.btn.small{min-height:36px}.home-section-title h2,.section-head h2{letter-spacing:-.025em!important}.empty{border-radius:18px!important;background:#fbfcfd!important;border:1px dashed #dbe3ea!important}

.mobile-search-head-clean{min-height:24px!important;padding-bottom:0!important}.mobile-search-head-clean>div{display:none!important}.mobile-search-head-clean button{margin-left:auto!important}.mobile-sheet-search{margin-top:0!important}.mobile-sheet-search input{min-width:0!important}.mobile-sheet-search .btn{white-space:nowrap!important;min-width:78px!important;padding-inline:13px!important}

@media(max-width:900px){.search-entry-grid-clean{grid-template-columns:repeat(3,minmax(0,1fr))!important}.article-toolbar{top:58px!important}.article-aside-modern{display:none!important}.article-reading-shell{display:block!important}}
@media(max-width:620px){
  .portal-home-v2{gap:18px!important}.portal-search-hero-compact .portal-global-search{padding:6px!important;border-radius:16px!important}.portal-search-hero-compact .portal-global-search input{height:44px!important;font-size:16px!important}.portal-search-hero-compact .portal-global-search .btn{min-width:76px!important;padding-inline:12px!important}
  .portal-competitive-head{align-items:center!important}.portal-competitive-head h2{font-size:25px!important}.portal-competitive-grid{display:flex!important;overflow-x:auto!important;gap:9px!important;padding-bottom:3px!important;scroll-snap-type:x proximity}.portal-competitive-grid>a{flex:0 0 44vw!important;min-height:112px!important;scroll-snap-align:start!important;border-radius:17px!important}.portal-competitive-grid>a strong{font-size:15px!important}.portal-competitive-grid>a small{font-size:11px!important}
  .search-entry-grid-clean{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:4px!important}.search-entry-grid-clean a{flex:0 0 112px!important;min-height:72px!important;border-radius:14px!important}.search-suggestions{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px!important}.search-suggestions>*{flex:0 0 auto!important}
  .article-modern{border-radius:18px!important}.article-breadcrumbs{padding:14px 16px 0!important}.article-modern-header{padding:11px 16px 18px!important}.article-modern .article-title{font-size:clamp(27px,8vw,36px)!important;line-height:1.05!important}.article-deck{font-size:16px!important}.article-kicker-row{gap:5px!important}.article-toolbar{position:static!important;display:flex!important;overflow-x:auto!important;padding:7px 10px!important;gap:4px!important}.article-tool{flex:0 0 auto!important;width:auto!important;min-width:88px!important;padding:8px 10px!important}.article-tool-print{display:none!important}.article-body-modern{padding:22px 16px 28px!important;font-size:16.5px!important;line-height:1.72!important}.article-body-modern h2{font-size:24px!important}.article-body-modern h3{font-size:20px!important}.article-end-card{margin:0 14px 18px!important;padding:14px!important}.article-end-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.comments-modern{margin-top:16px!important}.article-related-grid{display:flex!important;overflow-x:auto!important}.article-related-card{flex:0 0 78vw!important}.article-section-head{align-items:flex-start!important}.article-section-head h2{font-size:23px!important}
  .mobile-command-sheet[data-mobile-sheet="search"]{padding-top:9px!important}.mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-quick-grid{margin-top:10px!important}.mobile-command-sheet[data-mobile-sheet="search"] .mobile-sheet-quick-grid a{min-height:64px!important}
}
@media(max-width:380px){.portal-competitive-grid>a{flex-basis:50vw!important}.portal-search-hero-compact .portal-global-search .btn{min-width:68px!important;font-size:13px!important}.search-entry-grid-clean a{flex-basis:104px!important}.article-modern .article-title{font-size:27px!important}}

/* v5.139 — search overflow, compact results controls, local updater */
.search-portal-v4,.search-portal-v4 *,.search-save-panel,.search-save-panel *{box-sizing:border-box;min-width:0}
.search-portal-v4{width:100%;max-width:100%;overflow:visible}
.search-results-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px!important;align-items:center!important}
.search-results-head>div:first-child{min-width:0}.search-results-head h1{max-width:100%;overflow-wrap:anywhere;word-break:normal;text-wrap:balance}
.search-result-head-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-width:0;max-width:100%}
.search-result-head-actions form{min-width:0}.search-result-head-actions .btn{white-space:nowrap;min-width:0;max-width:100%}
.search-super-form-clean,.search-super-form-clean .portal-search-box{width:100%;max-width:100%}
.search-super-form-clean .portal-search-box{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center;gap:6px!important}
.search-super-form-clean .portal-search-box>span{width:34px!important;min-width:34px!important}
.search-super-form-clean .portal-search-box input{width:100%!important;min-width:0!important;max-width:100%!important}
.search-super-form-clean .portal-search-box .btn{width:auto!important;min-width:92px!important;white-space:nowrap!important}
.search-scope-tabs{width:100%;max-width:100%;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none}.search-scope-tabs::-webkit-scrollbar{display:none}.search-scope-tabs a{flex:0 0 auto!important;white-space:nowrap!important}
.search-filter-drawer,.search-filter-drawer summary,.search-filter-drawer .search-tools{max-width:100%;box-sizing:border-box}.search-filter-drawer .search-tools>*{min-width:0}
.search-save-panel{width:100%;max-width:100%;overflow:hidden}
.local-update-list{display:grid;gap:10px;margin-top:14px}.local-update-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:16px;align-items:center;padding:14px;border:1px solid var(--line,#e3e8ee);border-radius:16px;background:#fff}.local-update-card>div:first-child{display:grid;gap:6px}.local-update-card.is-error{background:#fff8f6}.local-update-install-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:0}.local-update-install-form input{width:100%;min-width:0}.flash.compact{padding:8px 10px;margin:4px 0 0;font-size:12px}

@media(max-width:760px){
  .search-portal-v4{gap:10px!important;padding:14px!important;border-radius:20px!important;overflow:hidden!important}
  .search-results-head{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  .search-results-head .eyebrow{font-size:11px!important}.search-results-head h1{font-size:clamp(22px,7vw,28px)!important;line-height:1.05!important;margin:0!important}
  .search-result-head-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;gap:7px!important}
  .search-result-head-actions form,.search-result-head-actions .btn,.search-result-head-actions form .btn{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:9px 8px!important;font-size:12px!important;overflow:hidden;text-overflow:ellipsis}
  .search-super-form-clean .portal-search-box{grid-template-columns:28px minmax(0,1fr) auto!important;padding:5px!important;gap:3px!important;border-radius:15px!important}
  .search-super-form-clean .portal-search-box>span{width:28px!important;min-width:28px!important;font-size:18px!important}
  .search-super-form-clean .portal-search-box input{height:46px!important;font-size:17px!important;padding:0 5px!important}
  .search-super-form-clean .portal-search-box .btn{min-width:72px!important;max-width:82px!important;padding-inline:10px!important;font-size:13px!important;border-radius:12px!important}
  .search-scope-tabs{margin-inline:0!important;padding-bottom:4px!important;gap:6px!important}.search-scope-tabs a{padding:9px 12px!important;font-size:12px!important}
  .search-filter-drawer summary{padding:12px 13px!important;font-size:13px!important}
  .search-filter-drawer .search-tools{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.search-filter-drawer .search-tools select,.search-filter-drawer .search-tools .btn,.search-filter-drawer .search-tools>a{grid-column:1/-1;width:100%!important}
  .search-save-panel{display:none!important}
  .search-block{max-width:100%;overflow:hidden}.search-block .section-head{gap:8px;align-items:flex-end}.search-block .section-head h2{font-size:23px!important}.search-block .section-head>a{font-size:11px!important;white-space:nowrap}
  .search-market-grid{grid-template-columns:1fr!important}.search-result-card{max-width:100%;min-width:0}.search-result-card>span{min-width:0}.search-result-card strong,.search-result-card em{overflow-wrap:anywhere}
  .local-update-card{grid-template-columns:1fr;gap:10px}.local-update-install-form{grid-template-columns:1fr}.local-update-install-form .btn{width:100%}
}
@media(max-width:380px){
  .search-portal-v4{padding:11px!important}.search-super-form-clean .portal-search-box{grid-template-columns:24px minmax(0,1fr) 68px!important}.search-super-form-clean .portal-search-box>span{width:24px!important;min-width:24px!important}.search-super-form-clean .portal-search-box input{font-size:16px!important}.search-super-form-clean .portal-search-box .btn{min-width:68px!important;max-width:68px!important;padding-inline:6px!important}
}


/* ---------- Source: polish.css ---------- */
/* v5.141 — unified UX polish: auth, admin, authorship, support, motion */
:root{
  --tp-radius-lg:24px;
  --tp-radius-md:18px;
  --tp-radius-sm:13px;
  --tp-shadow-soft:0 14px 40px rgba(18,38,63,.07);
  --tp-shadow-lift:0 20px 52px rgba(18,38,63,.12);
  --tp-border:#dde6ef;
  --tp-surface:#fff;
  --tp-soft:#f6f9fc;
  --tp-ink:#122b29;
  --tp-muted:#6b7b86;
  --tp-accent:#087c68;
  --tp-accent-2:#0b9a81;
}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#f7f9fc 0,#f5f8fb 45%,#f8fafc 100%)}
body,input,button,textarea,select{font-feature-settings:"kern" 1,"liga" 1}
main,.container,.page,.main{min-width:0}
img,video,iframe,svg{max-width:100%}

/* surfaces and controls */
.panel{border-color:rgba(207,220,232,.92);box-shadow:0 8px 28px rgba(26,44,67,.045)}
.btn{border-radius:13px;font-weight:760;letter-spacing:-.01em;min-height:42px}
.btn:not(.secondary):not(.danger){background:linear-gradient(135deg,#0b8773,#087360)}
.btn:not(.secondary):not(.danger):hover{filter:brightness(1.04);box-shadow:0 12px 26px rgba(5,116,94,.18)}
input,textarea,select{border-radius:13px!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
input:focus,textarea:focus,select:focus{border-color:rgba(8,124,104,.72)!important;box-shadow:0 0 0 4px rgba(8,124,104,.10)!important;outline:none}
.flash{border-radius:16px!important}
.eyebrow{letter-spacing:.085em;font-weight:800}

/* accessible content reveal */
.tp-reveal{opacity:0;transform:translateY(12px);transition:opacity .46s cubic-bezier(.2,.65,.3,1),transform .46s cubic-bezier(.2,.65,.3,1)}
.tp-reveal.is-visible{opacity:1;transform:none}
.tp-reveal-delay-1{transition-delay:.045s}.tp-reveal-delay-2{transition-delay:.09s}.tp-reveal-delay-3{transition-delay:.135s}

/* AUTH */
.auth-experience{width:min(1120px,calc(100% - 32px));margin:34px auto 72px;display:grid;grid-template-columns:minmax(310px,.82fr) minmax(430px,1.18fr);background:#fff;border:1px solid var(--tp-border);border-radius:30px;overflow:hidden;box-shadow:0 28px 80px rgba(21,40,64,.11)}
.auth-story-panel{position:relative;isolation:isolate;padding:46px;display:flex;flex-direction:column;gap:30px;justify-content:space-between;color:#fff;background:linear-gradient(148deg,#073d59 0%,#075f61 45%,#0a8b72 100%);min-height:650px;overflow:hidden}
.auth-story-panel::before,.auth-story-panel::after{content:"";position:absolute;border-radius:999px;z-index:-1;pointer-events:none}.auth-story-panel::before{width:420px;height:420px;right:-230px;top:-160px;background:rgba(255,255,255,.10)}.auth-story-panel::after{width:260px;height:260px;left:-130px;bottom:-80px;background:rgba(104,229,196,.12)}
.auth-story-panel .eyebrow{color:#9ef0d8}.auth-story-panel h1{font-size:clamp(32px,4vw,49px);line-height:1.02;letter-spacing:-.045em;margin:8px 0 14px;color:#fff}.auth-story-panel p{font-size:16px;line-height:1.6;color:rgba(255,255,255,.82);max-width:46ch}
.auth-brand-orb{width:66px;height:66px;display:grid;place-items:center;border-radius:22px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.18);font-weight:900;font-size:24px;backdrop-filter:blur(12px)}
.auth-benefit-grid{display:grid;grid-template-columns:1fr;gap:10px}.auth-benefit-grid>div{display:grid;grid-template-columns:44px 1fr;column-gap:12px;align-items:center;padding:14px 16px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);border-radius:16px;backdrop-filter:blur(7px)}.auth-benefit-grid span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.12);font-size:11px;font-weight:800}.auth-benefit-grid b{font-size:14px}.auth-benefit-grid small{font-size:12px;color:rgba(255,255,255,.69);margin-top:2px}
.auth-security-note,.auth-invite-note{display:flex;gap:12px;align-items:flex-start;padding:15px 16px;border-radius:17px;background:rgba(4,38,46,.23);border:1px solid rgba(255,255,255,.12)}.auth-security-note b,.auth-invite-note b{display:block;font-size:13px}.auth-security-note small,.auth-invite-note small{display:block;color:rgba(255,255,255,.72);font-size:12px;line-height:1.45;margin-top:3px}.auth-security-icon,.auth-invite-note>span{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.12)}
.auth-form-panel{padding:46px 52px;align-self:center;min-width:0}.auth-form-head{margin-bottom:28px}.auth-form-head h2{font-size:clamp(31px,3.5vw,46px);line-height:1.04;letter-spacing:-.04em;margin:6px 0 10px}.auth-form-head p{color:var(--tp-muted);line-height:1.55;margin:0;max-width:58ch}.auth-main-form{display:grid;gap:18px}.auth-main-form .field{margin:0}.field-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.field-label-row a{font-size:12px;color:var(--tp-accent);font-weight:700}.auth-input-wrap{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #dbe4ed;border-radius:14px;padding:0 12px;min-width:0}.auth-input-wrap>span{width:24px;text-align:center;color:#81909d;font-weight:800}.auth-input-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;padding-left:2px;min-width:0;flex:1}.password-wrap.auth-input-wrap{display:flex}.password-wrap.auth-input-wrap .password-toggle{position:static;transform:none;flex:0 0 auto;border:0;background:transparent;color:var(--tp-accent);font-weight:700;font-size:12px;padding:8px}
.auth-primary-action{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;font-size:16px;border-radius:16px}.auth-primary-action i{font-style:normal;font-size:19px;transition:transform .2s ease}.auth-primary-action:hover i{transform:translateX(3px)}
.auth-error{display:grid;gap:4px}.auth-error strong{font-size:13px}.auth-error span{line-height:1.5}
.auth-help-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.auth-help-row a{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e1e8ef;border-radius:15px;background:#fbfcfd;color:inherit}.auth-help-row a>span{width:35px;height:35px;border-radius:11px;background:#edf5f3;color:var(--tp-accent);display:grid;place-items:center;font-weight:900}.auth-help-row b,.auth-help-row small{display:block}.auth-help-row b{font-size:12px}.auth-help-row small{font-size:10.5px;color:#798894;margin-top:2px;line-height:1.35}.auth-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #edf1f4;padding-top:20px;margin-top:22px}.auth-switch span{font-size:13px;color:#74828d}.auth-switch .btn{min-width:150px}
.auth-name-grid{gap:12px!important}.password-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.password-rules span{font-size:10.5px;padding:5px 8px;border-radius:999px;background:#f1f4f7;color:#7a8792;border:1px solid #e5eaf0}.password-rules span.is-ok{background:#eaf8f3;color:#08705e;border-color:#c9eadf}.password-match-hint,.caps-warning{font-size:11px;color:#7c8993;margin-top:7px}.password-match-hint.is-ok{color:#08705e}.password-match-hint.is-bad,.caps-warning{color:#aa6c0d}.consent-box-modern{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:14px 15px!important;border-radius:16px!important;background:#f8fafb!important;border:1px solid #e1e7ec!important}.consent-box-modern input{margin-top:4px;flex:0 0 auto}.consent-box-modern b,.consent-box-modern small{display:block}.consent-box-modern b{font-size:13px;margin-bottom:4px}.consent-box-modern small{font-size:11px;line-height:1.48;color:#6e7b85}.auth-after-register{display:flex;gap:11px;padding:13px 14px;background:#f2f8f6;border-radius:15px;margin-top:17px;color:#52645e}.auth-after-register>span{color:#0b806b;font-size:18px}.auth-after-register p{font-size:11px;line-height:1.5;margin:0}.auth-register-steps{list-style:none;padding:0;margin:0;display:grid;gap:9px}.auth-register-steps li{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:15px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10)}.auth-register-steps li>b{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.11)}.auth-register-steps strong,.auth-register-steps small{display:block}.auth-register-steps strong{font-size:13px}.auth-register-steps small{font-size:11px;color:rgba(255,255,255,.7);margin-top:2px}.auth-register-steps li.active{background:rgba(255,255,255,.14);border-color:rgba(151,241,217,.32)}

/* ADMIN */
.admin-dashboard-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;margin-bottom:14px}.admin-dashboard-search>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#edf4f7;color:#446274;font-size:19px}.admin-dashboard-search input{border:0!important;background:transparent!important;box-shadow:none!important;min-width:0}.admin-dashboard-search kbd,.admin-search-shortcut{padding:6px 9px;border-radius:8px;background:#f1f4f7;color:#71808d;font:600 10px/1.1 system-ui;border:1px solid #e0e7ed}.admin-response-health{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:20px;align-items:center;padding:20px 22px;margin:14px 0}.admin-response-health h2{margin:4px 0 5px}.admin-response-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-response-metrics a{padding:14px;border:1px solid #e1e8ef;border-radius:15px;background:#fbfcfe;color:inherit}.admin-response-metrics span,.admin-response-metrics b,.admin-response-metrics small{display:block}.admin-response-metrics span{font-size:11px;color:#75838f}.admin-response-metrics b{font-size:21px;margin:3px 0}.admin-response-metrics small{font-size:10.5px;color:#84909a}
.admin-search-head{align-items:end}.admin-global-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 16px}.admin-global-search>span{font-size:24px;color:#607382}.admin-global-search input{border:0!important;box-shadow:none!important;background:transparent!important;font-size:17px}.admin-search-summary{display:flex;align-items:baseline;gap:8px;margin:17px 2px}.admin-search-summary strong{font-size:28px}.admin-search-summary span{color:#75838e}.admin-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-search-group{padding:17px}.admin-search-result{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px 4px;border-top:1px solid #edf1f4;color:inherit}.admin-search-result:first-of-type{border-top:0}.admin-result-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eef5f5;color:var(--tp-accent);font-weight:900}.admin-search-result strong,.admin-search-result small{display:block;min-width:0}.admin-search-result strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-search-result small{font-size:10.5px;color:#7a8792;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-search-start{padding:26px}.admin-search-hints{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.admin-search-hints span{padding:8px 10px;border-radius:999px;background:#f3f6f8;color:#60717d;font-size:11px}
.admin-sidebar-v2{box-shadow:16px 0 44px rgba(14,29,48,.06)}.admin-sidebar-nav>a{border-radius:13px}.admin-sidebar-nav>a:hover{transform:translateX(2px)}

/* AUTHORSHIP */
.author-program-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.author-program-card{padding:22px}.author-program-card h2{margin:5px 0 12px}.author-program-card ul{margin:0;padding-left:20px;display:grid;gap:8px;color:#56666f}.author-program-card li{line-height:1.4}.author-apply-score{display:flex;align-items:baseline;gap:9px;margin:11px 0 8px}.author-apply-score strong{font-size:34px;letter-spacing:-.04em}.author-apply-score span{font-size:12px;color:#76848e}.application-status-rich{padding:22px}.application-status-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.application-status-top h2{margin:4px 0}.application-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.application-timeline span{display:flex;align-items:center;gap:8px;padding:11px;border-radius:13px;background:#f5f7f9;color:#78858e;font-size:11px}.application-timeline b{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:#e9eef2}.application-timeline .done{background:#eaf8f3;color:#0a735f}.application-timeline .done b{background:#cceee2}.application-timeline .current{background:#fff5dd;color:#8c650e}.application-timeline .current b{background:#f6e4af}.application-timeline .bad{background:#fff0ef;color:#a5423a}.application-admin-note{margin-top:14px;padding:14px 16px;border-radius:14px;background:#f7f9fb;border-left:3px solid #8aa7b8}.application-admin-note strong{font-size:12px}.application-admin-note p{margin:5px 0 0;color:#596973;line-height:1.5}.application-status-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.author-application-history{padding:20px}.application-history-list{display:grid;gap:8px}.application-history-list>div{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #edf1f4}.application-history-list>div:first-child{border-top:0}.application-history-list span{font-size:11px;color:#82909b}.application-history-list strong{font-size:13px}.application-history-list small{font-size:10.5px;color:#83909a}.author-form-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid #edf1f4;margin-bottom:5px}.author-form-intro h2{margin:4px 0 0}.author-form-intro>span{font-size:11px;color:#84909a}.field-counter{display:flex;justify-content:flex-end;font-size:10px;color:#8b969d;margin-top:5px}.author-dashboard-hero{background:linear-gradient(135deg,#fbfffd,#f3faf8);border-color:#d5e8e2}.author-metric{transition:transform .2s ease,box-shadow .2s ease}.author-metric:hover{transform:translateY(-2px);box-shadow:var(--tp-shadow-soft)}

/* SUPPORT */
.support-ticket-history{display:grid;gap:10px}.support-history-head{display:flex;justify-content:space-between;align-items:end;gap:12px}.support-history-head h2{margin:3px 0}.support-history-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,250px);gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin}.support-history-card{display:grid;gap:4px;padding:13px 14px;border:1px solid #dde6ed;background:#fff;border-radius:16px;color:inherit;scroll-snap-align:start;box-shadow:0 8px 20px rgba(22,40,59,.04)}.support-history-card>span{font-size:10px;color:#7a8994}.support-history-card strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-history-card small{font-size:10px;color:#7b8993}.support-history-card.active{border-color:#91cabc;background:#f2fbf8;box-shadow:0 0 0 2px rgba(8,124,104,.07)}
.support-chat-panel{overflow:hidden}.support-messages{scroll-behavior:smooth}.support-composer-rich textarea{resize:none;min-height:72px;max-height:180px}.support-topic{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.support-topic:hover{transform:translateY(-2px)}
.support-admin-filterbar{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(150px,.7fr) minmax(150px,.7fr) auto auto;gap:10px;align-items:end;padding:14px;margin-bottom:14px}.support-admin-filterbar .field{margin:0}.support-admin-filterbar label{font-size:10px}.support-ticket-row{position:relative}.support-ticket-row.priority-urgent::before,.support-ticket-row.priority-high::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px}.support-ticket-row.priority-urgent::before{background:#d6413a}.support-ticket-row.priority-high::before{background:#e29322}.support-priority-form{margin-top:8px}.support-admin-metrics{flex-wrap:wrap}.support-admin-metrics span{border:1px solid #e0e8ed;background:#fff}

/* compact global polish */
.article-card,.product-card,.listing-card,.portal-card,.notification-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.article-card:hover,.product-card:hover,.listing-card:hover,.portal-card:hover{transform:translateY(-2px);box-shadow:var(--tp-shadow-soft)}
details{border-radius:14px}details summary{cursor:pointer}

@media(max-width:980px){
  .auth-experience{grid-template-columns:1fr;width:min(720px,calc(100% - 28px));margin-top:22px}.auth-story-panel{min-height:auto;padding:28px}.auth-story-panel h1{font-size:34px}.auth-benefit-grid{grid-template-columns:repeat(3,1fr)}.auth-benefit-grid>div{grid-template-columns:1fr;padding:12px}.auth-benefit-grid span{grid-row:auto}.auth-form-panel{padding:32px}.author-program-grid{grid-template-columns:1fr}.admin-response-health{grid-template-columns:1fr}.admin-search-grid{grid-template-columns:1fr}.support-admin-filterbar{grid-template-columns:1fr 1fr 1fr auto auto}
}
@media(max-width:760px){
  body{background:#f6f8fb}.auth-experience{width:calc(100% - 20px);margin:12px auto 88px;border-radius:23px}.auth-story-panel{padding:22px;gap:20px}.auth-story-panel>div:nth-child(2) p{display:none}.auth-story-panel h1{font-size:29px;margin-bottom:0}.auth-brand-orb{width:50px;height:50px;border-radius:16px;font-size:18px}.auth-benefit-grid{display:flex;overflow-x:auto;gap:8px;padding-bottom:2px}.auth-benefit-grid>div{flex:0 0 165px}.auth-security-note{display:none}.auth-form-panel{padding:24px 20px 26px}.auth-form-head{margin-bottom:20px}.auth-form-head h2{font-size:31px}.auth-help-row{grid-template-columns:1fr}.auth-switch{align-items:stretch;flex-direction:column}.auth-switch .btn{width:100%}.auth-name-grid{grid-template-columns:1fr!important}.auth-register-steps{grid-template-columns:repeat(3,1fr);gap:6px}.auth-register-steps li{padding:9px;display:grid;gap:6px}.auth-register-steps li>b{width:28px;height:28px}.auth-register-steps small{display:none}.auth-register-story p{display:none}
  .admin-dashboard-search{grid-template-columns:auto minmax(0,1fr) auto}.admin-dashboard-search kbd{display:none}.admin-response-metrics{display:flex;overflow-x:auto;gap:8px}.admin-response-metrics a{flex:0 0 145px}.admin-global-search{grid-template-columns:auto minmax(0,1fr)}.admin-global-search .btn{grid-column:1/-1;width:100%}.admin-search-shortcut{display:none}.admin-search-result{grid-template-columns:38px minmax(0,1fr) auto}.admin-search-page{padding-bottom:90px}
  .application-timeline{display:flex;overflow-x:auto}.application-timeline span{flex:0 0 150px}.application-history-list>div{grid-template-columns:42px minmax(0,1fr)}.application-history-list small{grid-column:2}.author-form-intro{align-items:flex-start;flex-direction:column}.support-history-head{align-items:flex-start;flex-direction:column}.support-admin-filterbar{grid-template-columns:1fr 1fr}.support-admin-filterbar .field:first-child{grid-column:1/-1}.support-admin-filterbar .btn{width:100%}.support-admin-metrics span:nth-child(3){display:none}
}
@media(max-width:430px){
  .auth-experience{width:100%;margin:0 0 80px;border-radius:0;border-left:0;border-right:0}.auth-story-panel{border-radius:0}.auth-story-panel h1{font-size:26px}.auth-form-panel{padding:22px 16px 28px}.auth-main-form{gap:15px}.auth-input-wrap{padding:0 9px}.password-rules span{font-size:9.5px}.consent-box-modern{padding:12px!important}.auth-register-steps{display:flex;overflow-x:auto}.auth-register-steps li{flex:0 0 105px}.admin-response-health{padding:16px}.admin-search-group{padding:14px}.support-admin-filterbar{grid-template-columns:1fr}.support-admin-filterbar .field:first-child{grid-column:auto}.application-status-rich,.author-program-card{padding:17px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tp-reveal{opacity:1!important;transform:none!important;transition:none!important}.btn,.panel,.article-card,.product-card,.listing-card,.portal-card,.support-topic,.admin-sidebar-nav>a{transition:none!important}}

.btn.is-pressed,button.is-pressed{transform:translateY(1px) scale(.99)!important}
.support-reply-templates{display:flex;gap:7px;flex-wrap:wrap;padding:10px 14px 0}.support-reply-templates button{border:1px solid #dce5ec;background:#f8fafc;color:#536674;border-radius:999px;padding:7px 10px;font-size:10.5px;font-weight:700;cursor:pointer}.support-reply-templates button:hover{border-color:#9ccfc2;background:#eef9f6;color:#0b735f}
.auth-card:not(.auth-card-modern),.verify-card{width:min(620px,calc(100% - 24px));margin:30px auto 90px!important;padding:28px!important;border-radius:24px!important;border:1px solid #dde6ef!important;background:#fff!important;box-shadow:var(--tp-shadow-soft)!important}.auth-card:not(.auth-card-modern) h1,.verify-card h1{font-size:clamp(28px,5vw,40px);letter-spacing:-.035em}.verify-symbol{box-shadow:0 12px 30px rgba(8,124,104,.12)}


/* ---------- Source: evolution.css ---------- */
/* v5.142 — product-wide UX evolution, admin command center, author monetization */
:root{
  --v142-max:1440px;
  --v142-space:clamp(14px,2vw,24px);
  --v142-radius:20px;
  --v142-shadow:0 12px 34px rgba(17,39,58,.065);
  --v142-shadow-hover:0 18px 44px rgba(17,39,58,.105);
}
*{box-sizing:border-box}
body{overflow-x:hidden}
.shell{width:min(var(--v142-max),calc(100% - 32px));margin-inline:auto}
.panel{border-radius:var(--v142-radius);box-shadow:var(--v142-shadow)}
.section-head h1,.section-head h2,.admin-page-head h1{letter-spacing:-.035em}
a,button{-webkit-tap-highlight-color:transparent}
button,.btn,input,select,textarea{max-width:100%}
:focus-visible{outline:3px solid rgba(8,124,104,.22);outline-offset:2px}

/* tighter, clearer mobile command navigation */
.mobile-command-nav{isolation:isolate}
.mobile-command-nav>a,.mobile-command-nav>button{position:relative;min-width:0}
.mobile-command-nav .nav-icon{position:relative}
.mobile-nav-badge{position:absolute;right:-8px;top:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#e44b42;color:#fff;border:2px solid #fff;display:grid;place-items:center;font:800 9px/1 system-ui;font-style:normal}
.mobile-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mobile-activity-grid a{position:relative;display:flex;align-items:center;gap:11px;min-height:76px;padding:13px;border:1px solid #dfe7ee;border-radius:17px;background:#fff;color:#18312f;text-decoration:none;box-shadow:0 8px 20px rgba(23,42,60,.04)}
.mobile-activity-grid a>span{flex:0 0 38px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef7f4;color:#087c68;font-weight:900}
.mobile-activity-grid a div{min-width:0}.mobile-activity-grid b,.mobile-activity-grid small{display:block}.mobile-activity-grid b{font-size:13px}.mobile-activity-grid small{margin-top:3px;color:#74838e;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-activity-grid em{position:absolute;top:9px;right:9px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e44b42;color:#fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800}.mobile-activity-grid .activity-primary{grid-column:1/-1;background:linear-gradient(135deg,#f2fbf8,#f7fbff);border-color:#cce6df}

/* author application: commercial terms belong to admin */
.author-commercial-note{display:grid;gap:4px;padding:14px 16px;border-radius:16px;background:#f2f8f6;border:1px solid #d7ebe5;color:#294d47}.author-commercial-note strong{font-size:13px}.author-commercial-note span{font-size:11px;line-height:1.5;color:#647b76}
.author-metric-grid-traffic{grid-template-columns:repeat(4,minmax(0,1fr))}
.author-monetization-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);align-items:center;gap:20px;padding:22px;margin:14px 0;background:linear-gradient(135deg,#fff,#f7faf9);overflow:hidden;position:relative}.author-monetization-card.is-paid{background:linear-gradient(135deg,#eefaf6,#f8fbff);border-color:#bee5d9}.author-monetization-card h2{margin:4px 0 8px}.author-monetization-card p{margin:0 0 8px;color:#4f625e;line-height:1.55}.author-monetization-card>div>small{color:#7c8987}.author-money-number{padding:18px;border-radius:18px;background:#fff;border:1px solid #dfe9e6;text-align:right}.author-money-number span,.author-money-number strong,.author-money-number small{display:block}.author-money-number span{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#7b8a86;font-weight:800}.author-money-number strong{font-size:29px;letter-spacing:-.04em;margin:4px 0;color:#0b745f}.author-money-number small{font-size:11px;color:#788680}

/* admin: consistent command-center structure on every page */
.admin-body{background:#f4f7fa}
.admin-body .top{background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid #e4ebf1}
.admin-shell{width:min(1540px,calc(100% - 28px));margin:18px auto 80px;gap:18px;align-items:start}
.admin-main{display:grid;gap:14px;min-width:0}
.admin-sidebar-v2{border:1px solid #dfe7ed;border-radius:22px;background:rgba(255,255,255,.96);padding:12px;box-shadow:0 18px 50px rgba(23,40,58,.07)}
.admin-brand{padding:8px}.admin-brand-mark{background:linear-gradient(135deg,#087c68,#0b9d82)!important;box-shadow:0 8px 20px rgba(8,124,104,.18)}
.admin-operator-card{border-radius:16px!important;background:linear-gradient(135deg,#f7fafc,#f3f8f6)!important;border:1px solid #e1e8ed!important}
.admin-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important}.admin-quick a{display:grid!important;justify-items:center;gap:3px!important;text-align:center;padding:9px 5px!important;border-radius:12px!important}.admin-quick a span{font-size:15px}
.admin-live-strip{border-radius:14px!important;background:#f7f9fb!important;border:1px solid #e5ebf0!important}
.admin-nav-search{position:sticky;top:0;z-index:3;background:#fff;padding:8px 0 10px;margin:0}.admin-nav-search input{height:40px!important;background:#f7f9fb!important}
.admin-sidebar-nav{gap:2px}.admin-sidebar-nav>a{min-height:48px;padding:9px 10px!important;border:1px solid transparent}.admin-sidebar-nav>a:hover{background:#f5f9f8!important;border-color:#e0ece8!important}.admin-sidebar-nav>a.active{background:#eaf7f3!important;border-color:#c9e8de!important;color:#086b59!important}.admin-sidebar-nav>a .nav-ico{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#f0f4f6;color:#4e6674;flex:0 0 28px}.admin-sidebar-nav>a.active .nav-ico{background:#cfeee5;color:#076b58}
.admin-nav-section{cursor:default;padding-top:18px!important}.admin-nav-section strong{color:#3f5661}
.admin-page-head{padding:8px 2px 4px!important}.admin-page-head h1{font-size:clamp(29px,4vw,46px)!important;margin:4px 0 7px!important}.admin-page-head p{max-width:72ch;line-height:1.5}
.admin-command-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-command-deck>a{display:flex;align-items:center;gap:11px;min-height:76px;padding:13px 14px;border:1px solid #dde6ed;border-radius:17px;background:#fff;color:inherit;box-shadow:0 8px 22px rgba(20,38,55,.04);transition:.18s ease}.admin-command-deck>a:hover{transform:translateY(-2px);box-shadow:var(--v142-shadow-hover);border-color:#c9ddd7}.admin-command-deck>a>span{width:40px;height:40px;flex:0 0 40px;border-radius:13px;background:#edf7f4;color:#087761;display:grid;place-items:center;font-weight:900}.admin-command-deck b,.admin-command-deck small{display:block}.admin-command-deck b{font-size:12.5px}.admin-command-deck small{font-size:10.5px;color:#71808b;margin-top:3px}
.admin-focus-strip{overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}.admin-focus-strip>a{scroll-snap-align:start}
.admin-panel{overflow:hidden}.admin-panel .panel-head{gap:12px}.admin-table-wrap,.table-wrap{border-radius:16px;overflow:auto;max-width:100%;background:#fff}.admin-table thead th,.table thead th{position:sticky;top:0;z-index:2;background:#f7f9fb;box-shadow:0 1px 0 #e3e9ee}.admin-table td,.admin-table th,.table td,.table th{vertical-align:middle}.admin-table tbody tr,.table tbody tr{transition:background .14s ease}.admin-table tbody tr:hover,.table tbody tr:hover{background:#fafdfc}
.admin-filter-bar{border-radius:18px!important}.admin-filter-actions{align-items:end}.admin-head-actions{flex-wrap:wrap}
.admin-author-business-summary{background:linear-gradient(135deg,#fff,#f4faf8)}

/* Authors admin / monetization */
.author-money-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.author-money-kpis>.panel{padding:17px}.author-money-kpis span,.author-money-kpis strong,.author-money-kpis small{display:block}.author-money-kpis span{font-size:11px;color:#71817d}.author-money-kpis strong{font-size:25px;letter-spacing:-.03em;margin:5px 0}.author-money-kpis small{font-size:10px;color:#87928f}.author-money-kpis>.accent{background:linear-gradient(135deg,#eaf9f4,#f5fbff);border-color:#c7e8de}
.author-collaboration-info{padding:19px 20px}.author-collaboration-info h2{margin:4px 0 7px}.author-collaboration-info p{margin:0;max-width:88ch;line-height:1.55;color:#64736f}
.author-collaboration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.author-collaboration-card{padding:18px;display:grid;gap:15px}.author-collaboration-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.author-collaboration-head strong,.author-collaboration-head span{display:block}.author-collaboration-head>div span{font-size:10.5px;color:#7b8991;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.author-traffic-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.author-traffic-mini>div{padding:10px;border-radius:13px;background:#f7f9fb;border:1px solid #e7edf1}.author-traffic-mini span,.author-traffic-mini b{display:block}.author-traffic-mini span{font-size:9.5px;color:#78868f}.author-traffic-mini b{font-size:13px;margin-top:4px;overflow-wrap:anywhere}.author-collaboration-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.author-collaboration-form label{display:grid;gap:5px;font-size:10px;color:#71808a}.author-collaboration-form label:nth-child(3){grid-column:1/-1}.author-collaboration-form .btn{grid-column:1/-1}.author-collaboration-form input,.author-collaboration-form select{height:42px}

/* support and author cards get denser, clearer action hierarchy */
.support-chat-page,.author-dashboard,.author-apply-wrap{gap:14px}.support-chat-panel,.author-section-card{box-shadow:var(--v142-shadow)}.support-composer-rich{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:8;border-top:1px solid #e5ebef;box-shadow:0 -8px 24px rgba(20,38,55,.05)}
.support-fab{z-index:35}

/* global cards + motion */
.news-card,.article-card,.product-card,.listing-card,.market-card,.portal-card,.command-card{will-change:transform}.news-card:hover,.article-card:hover,.product-card:hover,.listing-card:hover,.market-card:hover,.portal-card:hover,.command-card:hover{transform:translateY(-2px)}
[data-mobile-sheet]{overscroll-behavior:contain}

@media(min-width:901px){
  .admin-sidebar-v2{position:sticky!important;top:82px!important;max-height:calc(100vh - 98px);overflow:auto}
}
@media(max-width:1180px){
  .admin-command-deck{grid-template-columns:repeat(2,minmax(0,1fr))}.author-collaboration-grid{grid-template-columns:1fr}.author-money-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .admin-shell{width:min(100% - 20px,900px);margin-top:10px}.admin-main{gap:11px}.admin-command-deck{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:3px}.admin-command-deck>a{flex:0 0 220px;scroll-snap-align:start}.admin-page-head{padding-inline:2px!important}.admin-head-actions{display:flex!important;overflow-x:auto;flex-wrap:nowrap!important}.admin-head-actions .btn{white-space:nowrap}.admin-table-wrap{margin-inline:0}.author-metric-grid-traffic{grid-template-columns:repeat(2,minmax(0,1fr))}.author-monetization-card{grid-template-columns:1fr}.author-money-number{text-align:left}.support-composer-rich{bottom:calc(62px + env(safe-area-inset-bottom))}
}
@media(max-width:760px){
  .shell{width:calc(100% - 20px)}.panel{border-radius:17px}.mobile-command-nav{height:64px!important;padding:4px max(4px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))!important}.mobile-command-nav>a,.mobile-command-nav>button{height:54px!important;border-radius:14px!important}.mobile-command-nav small{font-size:9.5px!important}.mobile-command-nav .nav-icon{width:27px!important;height:27px!important}.mobile-command-nav .nav-icon-create{width:42px!important;height:42px!important;border-radius:14px!important}.mobile-activity-grid{grid-template-columns:1fr 1fr}.mobile-command-sheet{border-radius:24px 24px 0 0!important;max-height:min(78dvh,620px)!important;overflow:auto!important}.mobile-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mobile-more-grid a{min-height:72px!important}.mobile-create-grid{grid-template-columns:1fr 1fr!important}.mobile-create-grid a{min-height:78px!important}.support-fab{display:none!important}
  .admin-focus-strip{display:flex!important}.admin-focus-strip>a{flex:0 0 145px}.admin-response-health{margin-block:0}.admin-panel{border-radius:17px}.admin-table{font-size:11px}.admin-table td,.admin-table th{padding:10px 9px!important}.author-money-kpis{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.author-money-kpis>.panel{flex:0 0 190px;scroll-snap-align:start}.author-collaboration-card{padding:15px}.author-traffic-mini{grid-template-columns:1fr 1fr}.author-collaboration-form{grid-template-columns:1fr}.author-collaboration-form label:nth-child(3),.author-collaboration-form .btn{grid-column:auto}.author-monetization-card{padding:17px}.author-money-number strong{font-size:24px}
}
@media(max-width:430px){
  .mobile-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mobile-activity-grid{grid-template-columns:1fr}.mobile-activity-grid .activity-primary{grid-column:auto}.mobile-create-grid{grid-template-columns:1fr!important}.admin-shell{width:calc(100% - 12px)}.admin-command-deck>a{flex-basis:190px}.author-collaboration-head{grid-template-columns:auto minmax(0,1fr)}.author-collaboration-head>.badge{grid-column:2}.author-metric-grid-traffic{grid-template-columns:1fr 1fr}.author-metric{padding:14px!important}.author-metric strong{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){.admin-command-deck>a,.news-card,.article-card,.product-card,.listing-card,.market-card,.portal-card,.command-card{transition:none!important;transform:none!important}}


/* ---------- Source: auth-payments.css ---------- */
/* TestProject 5.143 — compact authentication and payment experience */
.auth-body{background:linear-gradient(180deg,#f6f9fc,#eef4f8)}
.auth-body .portal-main{padding-bottom:32px}
.auth-body .mobile-command-nav,.auth-body .support-fab{display:none!important}
.auth-simple-shell,.auth-clean-shell{width:min(100%,620px);margin:clamp(22px,5vw,64px) auto;padding:0 16px;box-sizing:border-box}
.auth-simple-card,.auth-clean-card{background:#fff;border:1px solid #dfe8ed;border-radius:28px;padding:clamp(22px,5vw,38px);box-shadow:0 24px 65px rgba(23,55,67,.09)}
.auth-compact-brand,.auth-clean-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}.auth-compact-brand>span,.auth-clean-logo{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#0f746b,#139b83);color:#fff;font-size:22px;font-weight:850;box-shadow:0 10px 24px rgba(15,116,107,.2)}
.auth-compact-brand h1,.auth-clean-head h1{margin:1px 0 0;font-size:clamp(29px,7vw,42px);line-height:1.02}.auth-intro,.auth-clean-head p{color:#6d7d85;font-size:15px;line-height:1.55;margin:0 0 22px}.auth-main-form{display:grid;gap:14px}.auth-input-wrap{display:flex;align-items:center;border:1px solid #d7e2e7;border-radius:16px;background:#fbfdfe;min-height:52px;overflow:hidden}.auth-input-wrap>span{padding-left:15px;color:#7f929c}.auth-input-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;flex:1}.password-wrap .password-toggle{border:0;background:transparent;padding:0 14px;color:#16776d;font-weight:700;cursor:pointer}.field-label-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.field-label-row a,.auth-compact-links a{font-size:13px;color:#0f746b}.auth-primary-action{min-height:52px;border-radius:16px}.oauth-buttons{display:grid;gap:10px;margin:16px 0}.oauth-btn{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border-radius:16px;border:1px solid #dce5eb;background:#fff;color:#173139;box-shadow:0 7px 20px rgba(20,42,55,.04)}.oauth-btn:hover{border-color:#9fc4bd;transform:translateY(-1px)}.oauth-logo{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f3f7fa;font-weight:900}.oauth-btn.google .oauth-logo{color:#4285f4}.oauth-btn.yandex .oauth-logo{color:#d32f2f}.auth-divider{display:flex;align-items:center;gap:12px;color:#92a0a6;font-size:12px;margin:15px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e5ebef;flex:1}.auth-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf1f3;padding-top:18px;margin-top:20px}.auth-compact-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:15px}.auth-trust-strip{display:flex;gap:11px;align-items:flex-start;margin-top:18px;padding:14px;border-radius:16px;background:#f2f9f7;color:#315d57}.auth-trust-strip p{margin:0;display:grid;gap:2px}.auth-trust-strip small{color:#67847f}.auth-registration-flow{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px;color:#6f8087;font-size:12px}.auth-registration-flow span{display:flex;align-items:center;gap:5px}.auth-registration-flow b{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#e8f5f1;color:#0e7768}.consent-box-modern{border:1px solid #dde7e5;border-radius:16px;background:#f9fcfb;padding:14px}.password-meter{height:5px;background:#ecf0f2;border-radius:999px;overflow:hidden}.password-meter span{display:block;height:100%;width:0;background:#15a181;transition:width .2s ease}.password-rules{display:flex;gap:6px;flex-wrap:wrap}.password-rules span{padding:4px 8px;border-radius:999px;background:#f1f4f6;color:#87959b;font-size:11px}.password-rules span.ok{background:#e7f7f1;color:#0f806c}.verify-code-input{text-align:center;letter-spacing:.28em;font-size:25px!important;font-weight:800}.verify-resend{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

.payment-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-provider-card{position:relative;cursor:pointer}.payment-provider-card input{position:absolute;opacity:0;pointer-events:none}.payment-provider-card>span{height:100%;display:grid;gap:4px;padding:15px;border:1px solid #dce6e8;border-radius:18px;background:#fbfdfd;transition:.2s ease}.payment-provider-card input:checked+span{border-color:#138b7c;box-shadow:0 0 0 3px rgba(19,139,124,.1);background:#f1faf7}.payment-provider-card b{font-size:15px}.payment-provider-card small{color:#718087}.payment-provider-card em{font-style:normal;color:#11806f;font-size:11px;font-weight:750}.payment-provider-card em.warn{color:#ad791b}.payment-total{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:18px;background:#102e35;color:#fff;margin:4px 0}.payment-total strong{font-size:24px}.payment-flow{display:grid;gap:10px}.payment-flow span{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f2}.payment-flow b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf7f4;color:#0f796c}.wallet-page-5143 .wallet-grid{align-items:start}.wallet-timeline{display:grid}.wallet-timeline-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #edf1f2}.wallet-timeline-row>div{display:grid;gap:3px}.wallet-timeline-row small{color:#7b8990}.wallet-timeline-row .positive{color:#10816e}.wallet-timeline-row .negative{color:#b84e4e}

.gateway-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.gateway-overview-card{display:flex;align-items:center;gap:10px;padding:13px;border-radius:17px;border:1px solid #dde6ea;background:#fff;color:#183139}.gateway-overview-card>div{display:grid;min-width:0;flex:1}.gateway-overview-card small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#77878e}.gateway-overview-card>b{font-size:11px;white-space:nowrap}.gateway-dot{width:10px;height:10px;border-radius:50%;background:#d79b30;box-shadow:0 0 0 4px rgba(215,155,48,.12)}.gateway-dot.ok{background:#16a27f;box-shadow:0 0 0 4px rgba(22,162,127,.12)}.gateway-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px}.gateway-card>summary::-webkit-details-marker{display:none}.gateway-card>summary>div{display:flex;align-items:center;gap:13px}.gateway-card-body{display:grid;gap:15px;margin-top:18px;border-top:1px solid #e8edef;padding-top:18px}.gateway-callback-box,.payment-cron-box{display:grid;gap:6px;padding:14px;border-radius:15px;background:#f5f8f9}.gateway-callback-box code,.payment-cron-box code{overflow-wrap:anywhere}.gateway-advanced{border:1px solid #e1e8eb;border-radius:16px;padding:12px}.gateway-advanced>summary{font-weight:750;cursor:pointer}.gateway-advanced-body{display:grid;gap:12px;padding-top:14px}.provider-auth-card code{overflow-wrap:anywhere}

@media(max-width:900px){.gateway-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.auth-simple-shell,.auth-clean-shell{margin:14px auto;padding:0 12px}.auth-simple-card,.auth-clean-card{border-radius:22px;padding:20px}.auth-name-grid{grid-template-columns:1fr 1fr!important}.payment-provider-grid{grid-template-columns:1fr}.wallet-page-5143{padding-bottom:20px}.gateway-overview-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.gateway-overview-card{min-width:220px;scroll-snap-align:start}.auth-switch{align-items:stretch;flex-direction:column}.auth-switch .btn{text-align:center}}
@media(max-width:430px){.auth-name-grid{grid-template-columns:1fr!important}.auth-compact-brand h1,.auth-clean-head h1{font-size:30px}.auth-registration-flow i{display:none}.auth-registration-flow{justify-content:flex-start}.verify-resend{display:grid}.verify-resend>*{width:100%}.payment-total strong{font-size:20px}}
\n\n/* v5.144 — clean auth focus + non-blocking verification notice */\n.auth-input-wrap{position:relative;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}\n.auth-input-wrap:focus-within{border-color:#168677!important;box-shadow:0 0 0 3px rgba(22,134,119,.10)!important;background:#fff}\n.auth-input-wrap input,.auth-input-wrap input:focus,.auth-input-wrap input:focus-visible,.auth-input-wrap input:-webkit-autofill{outline:0!important;outline-offset:0!important;border:0!important;box-shadow:none!important;transform:none!important;background-clip:padding-box!important}\n.auth-input-wrap input:focus-visible{outline:none!important}\n.auth-input-wrap .password-toggle:focus-visible{outline:2px solid rgba(22,134,119,.28)!important;outline-offset:1px}\n.account-verification-banner{background:linear-gradient(90deg,#fff8df,#fffdf3);border-bottom:1px solid #ead99a;color:#594617}\n.account-verification-banner-in{min-height:58px;display:flex;align-items:center;gap:12px;padding-top:8px;padding-bottom:8px}\n.account-verification-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#f6df8c;color:#6e5200;font-size:17px}\n.account-verification-banner-in>div{display:grid;gap:1px;min-width:0;flex:1}\n.account-verification-banner strong{font-size:13px}.account-verification-banner small{color:#796a43;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.account-verification-banner .btn{background:#765b0b;color:#fff;white-space:nowrap}\n@media(max-width:700px){.account-verification-banner-in{min-height:auto;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px}.account-verification-banner small{white-space:normal;font-size:10.5px;line-height:1.35}.account-verification-banner .btn{padding:8px 10px;font-size:11px}.account-verification-icon{width:36px;height:36px}}\n@media(max-width:430px){.account-verification-banner-in{grid-template-columns:34px minmax(0,1fr)}.account-verification-banner .btn{grid-column:2;justify-self:start}.account-verification-icon{width:34px;height:34px}}\n

/* ---------- Source: stability.css ---------- */
/* v5.145 — stability, verification, security/admin polish */
.site-loader-mark{animation:none!important;letter-spacing:0!important;line-height:1!important;overflow:hidden}
.site-loader-mark-image{padding:0!important;background:#fff!important}
.site-loader-mark-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.site-loader-copy strong,.site-loader-copy small{white-space:normal;word-break:normal}

.account-verification-banner{margin:10px auto 0;padding:0 16px;position:relative;z-index:4}
.account-verification-banner-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ead7a3;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f7fbf8);box-shadow:0 10px 28px rgba(25,42,61,.06)}
.account-verification-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff0c8;color:#8a6208;font-size:18px}
.account-verification-banner-in>div{min-width:0;display:grid;gap:2px}.account-verification-banner strong{font-size:14px;color:#263647}.account-verification-banner small{color:#6c7783;white-space:normal;overflow-wrap:anywhere}.account-verification-banner .btn{white-space:nowrap}

.verify-page-shell{min-height:calc(100vh - 170px);display:grid;place-items:start center;padding:28px 16px 100px}
.verify-modern-card{width:min(100%,560px);padding:30px;border:1px solid #e0e8e7;border-radius:28px;background:#fff;box-shadow:0 22px 65px rgba(25,45,58,.08)}
.verify-modern-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:16px;border-radius:19px;background:linear-gradient(135deg,#e9f8f4,#eef5ff);font-size:25px;color:#087968}
.verify-modern-card h1{margin:6px 0 10px;font-size:clamp(28px,6vw,42px);line-height:1.06}.verify-modern-lead{margin:0 0 18px;color:#687783;line-height:1.55}
.verify-email-pill{display:flex;gap:10px;align-items:center;min-width:0;padding:11px 13px;margin:0 0 16px;border-radius:14px;background:#f4f7f8;color:#354452}.verify-email-pill strong{min-width:0;overflow-wrap:anywhere}
.verify-modern-form{display:grid;gap:14px}.verify-code-input{font-size:26px!important;font-weight:800;letter-spacing:.28em;text-align:center;font-variant-numeric:tabular-nums;padding-left:1.1em!important}
.verify-modern-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.verify-security-note{display:flex;gap:12px;margin-top:18px;padding:14px;border-radius:16px;background:#f7faf9;color:#52616d}.verify-security-note>span{font-size:20px}.verify-security-note p{display:grid;gap:3px;margin:0}.verify-security-note small{color:#78858f}

.admin-system-ribbon{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 18px}.admin-system-ribbon a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;min-height:78px;padding:12px;border:1px solid #dfe7eb;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbfb);color:#243542;text-decoration:none}.admin-system-ribbon a>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf7f4;color:#097866;font-size:18px}.admin-system-ribbon b,.admin-system-ribbon small{display:block}.admin-system-ribbon small{margin-top:2px;color:#788690;font-size:11px;line-height:1.35}.admin-system-ribbon a:hover{border-color:#a6cec6;transform:translateY(-1px)}
.security-tabs{position:sticky;top:8px;z-index:5;display:flex!important;gap:7px;overflow-x:auto;scrollbar-width:none;padding:8px!important;border-radius:16px;background:rgba(247,250,251,.94);backdrop-filter:blur(10px)}.security-tabs::-webkit-scrollbar{display:none}.security-tabs a{flex:0 0 auto;white-space:nowrap}
.security-inline-block{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.security-inline-block input{min-width:140px}
.admin-platform-health{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:18px;align-items:start}.admin-platform-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-platform-health-grid a{padding:13px;border:1px solid #e0e8eb;border-radius:15px;background:#fbfdfd;color:#253744;text-decoration:none}.admin-platform-health-grid span,.admin-platform-health-grid small{display:block}.admin-platform-health-grid b{display:block;margin:3px 0;font-size:18px}.admin-platform-health-grid small{font-size:11px;color:#7b8790}.health-ok b{color:#087966}.health-warn b{color:#a36a00}
.site-logo-preview{display:flex;align-items:center;gap:12px;margin-top:10px;padding:10px;border:1px solid #e2e9eb;border-radius:14px;background:#fafcfc}.site-logo-preview img{max-width:180px;max-height:60px;object-fit:contain}.site-icon-preview img{width:58px;height:58px;object-fit:cover;border-radius:16px}
.local-update-install-form input[type=password],.payment-confirm-password input[type=password],.admin-confirm-password{min-height:48px;border-radius:13px!important}

@media(max-width:1100px){.admin-system-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-platform-health{grid-template-columns:1fr}}
@media(max-width:700px){.account-verification-banner{padding:0 10px}.account-verification-banner-in{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:10px}.account-verification-banner .btn{grid-column:1/-1;width:100%;justify-content:center}.verify-page-shell{padding:18px 10px 92px}.verify-modern-card{padding:22px 18px;border-radius:22px}.verify-modern-actions{grid-template-columns:1fr}.admin-system-ribbon{display:flex;overflow-x:auto;gap:9px;padding-bottom:4px;scroll-snap-type:x proximity}.admin-system-ribbon a{flex:0 0 178px;scroll-snap-align:start}.admin-platform-health-grid{grid-template-columns:1fr 1fr}.security-tabs{margin-left:-4px;margin-right:-4px}.verify-code-input{font-size:22px!important}}
@media(max-width:420px){.admin-platform-health-grid{grid-template-columns:1fr}.account-verification-banner small{font-size:11px}.verify-modern-card h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.admin-system-ribbon a{transition:none!important}}

.admin-brand-mark{overflow:hidden}.admin-brand-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}


/* ---------- Source: refine-5146.css ---------- */
/* v5.146 — mobile navigation, visual hierarchy, interaction polish */
:root{
  --ui-radius:18px;
  --ui-radius-sm:13px;
  --ui-shadow-soft:0 10px 30px rgba(21,45,35,.07);
  --ui-shadow-float:0 18px 48px rgba(13,35,27,.16);
  --ui-ease:cubic-bezier(.2,.8,.2,1);
}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#f7f9f5 0,#f4f7f3 38%,#f7f8f6 100%);text-rendering:optimizeLegibility}
.panel,.admin-page-head,.notification-item,.section-menu-panel,.site-modal-card{box-shadow:var(--ui-shadow-soft)}
.panel,.admin-page-head{transition:transform .18s var(--ui-ease),box-shadow .18s var(--ui-ease),border-color .18s ease}
@media (hover:hover) and (pointer:fine){
  .panel:hover{border-color:#d4ded6;box-shadow:0 14px 34px rgba(21,45,35,.09)}
  .btn:hover,.section-menu-card:hover,.mobile-sheet-quick-grid a:hover,.mobile-create-grid a:hover,.mobile-activity-grid a:hover,.mobile-more-grid a:hover{transform:translateY(-1px)}
}
.btn,button,input,select,textarea,a{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s var(--ui-ease),opacity .16s ease}
.btn:active,button:active{transform:scale(.985)}
input:focus,select:focus,textarea:focus{outline:none!important;border-color:color-mix(in srgb,var(--accent) 54%,#ccd6cf)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)!important}
.flash{border-radius:16px!important;border:1px solid transparent!important;box-shadow:0 10px 26px rgba(24,42,34,.06)}
.flash.error{border-color:#f2c9bf!important;background:linear-gradient(135deg,#fff4ef,#fff8f5)!important}.flash.success{border-color:#cce3d0!important;background:linear-gradient(135deg,#f1fbf3,#f8fcf8)!important}.flash.info{border-color:#cadcef!important;background:linear-gradient(135deg,#f2f8ff,#f8fbff)!important}
.section-head h1,.admin-page-head h1{letter-spacing:-.045em}.eyebrow{letter-spacing:.09em}

/* Better administration cards/forms */
.admin-main .field>label{font-weight:780;color:#263c34;margin-bottom:6px}.admin-main input,.admin-main select,.admin-main textarea{background:#fff;border-color:#d8e0da;border-radius:13px;min-height:48px}.admin-main .admin-panel{border-radius:20px!important;padding:22px}.admin-main .admin-panel h2{letter-spacing:-.025em}.admin-head-actions .btn{border-radius:12px}
.email-test-card{border:1px solid #d9e4dc;background:linear-gradient(145deg,#fff,#f6faf6)}
.email-diagnostic{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;margin:10px 0 16px;border-radius:14px;border:1px solid #d9e3dc;background:#f7faf7}.email-diagnostic>span{width:10px;height:10px;border-radius:50%;margin-top:5px;background:#93a49a;box-shadow:0 0 0 5px rgba(111,135,120,.10)}.email-diagnostic.is-ready>span{background:#2f8a50}.email-diagnostic.is-warning>span{background:#d58a25}.email-diagnostic strong{display:block;font-size:13px}.email-diagnostic small{display:block;margin-top:3px;color:var(--muted);line-height:1.45}

/* Mobile command bar — stable, compact, app-like */
@media(max-width:900px){
  body:not(.auth-body){padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .mobile-nav.portal-bottom-nav.mobile-command-nav{
    display:flex!important;position:fixed!important;left:10px!important;right:10px!important;bottom:8px!important;
    width:auto!important;height:68px!important;min-height:68px!important;z-index:1200!important;
    padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;
    border:1px solid rgba(205,216,208,.92)!important;border-radius:22px!important;
    background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px) saturate(1.16);-webkit-backdrop-filter:blur(18px) saturate(1.16);
    box-shadow:0 16px 40px rgba(20,42,33,.18),0 2px 10px rgba(20,42,33,.07)!important;
    gap:3px!important;
  }
  .mobile-command-nav>a,.mobile-command-nav>button{
    appearance:none;border:0;background:transparent;color:#64736b;flex:1 1 0;min-width:0;height:56px!important;
    border-radius:16px!important;padding:5px 2px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative;
  }
  .mobile-command-nav>a::before,.mobile-command-nav>button::before{content:"";position:absolute;inset:4px 5px;border-radius:13px;background:transparent;transform:scale(.82);opacity:0;transition:.18s var(--ui-ease);z-index:-1}
  .mobile-command-nav>a.is-active::before,.mobile-command-nav>button.is-active::before,.mobile-command-nav>button.is-sheet-active::before{background:#edf5ef;transform:scale(1);opacity:1}
  .mobile-command-nav>a.is-active,.mobile-command-nav>button.is-active,.mobile-command-nav>button.is-sheet-active{color:var(--accent)!important}
  .mobile-command-nav .nav-icon{display:grid!important;place-items:center;width:25px!important;height:25px!important;margin:0!important;line-height:1;color:currentColor}
  .mobile-command-nav .nav-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-command-nav small{font-size:9.5px!important;font-weight:760!important;line-height:1!important;color:currentColor!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .mobile-command-nav .mobile-create-command{overflow:visible;color:#fff!important}
  .mobile-command-nav .mobile-create-command::before{display:none}
  .mobile-command-nav .nav-icon-create{width:44px!important;height:44px!important;margin-top:-17px!important;border-radius:16px!important;background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 74%,#103f35))!important;color:#fff!important;box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 28%,transparent)!important;border:3px solid #fff}
  .mobile-command-nav .nav-icon-create svg{width:24px;height:24px;stroke-width:2.2}
  .mobile-command-nav .mobile-create-command small{margin-top:-1px;color:#50645a!important}
  .mobile-nav-badge{min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;position:absolute;right:-7px;top:-4px;border:2px solid #fff;border-radius:999px;background:#d84938;color:#fff;font-size:8px;font-style:normal;font-weight:900}

  .mobile-command-backdrop{position:fixed;inset:0;z-index:1190;background:rgba(11,23,18,.36);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .22s ease}
  .mobile-command-backdrop.is-open{opacity:1;pointer-events:auto}
  .mobile-command-sheet{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;z-index:1195!important;width:auto!important;
    max-height:min(72dvh,610px)!important;padding:10px 14px 16px!important;border:1px solid rgba(211,222,214,.96)!important;border-radius:24px!important;
    background:rgba(255,255,255,.985)!important;box-shadow:var(--ui-shadow-float)!important;overflow:auto!important;
    transform:translateY(20px) scale(.985)!important;opacity:0!important;visibility:hidden;pointer-events:none;
    transition:transform .22s var(--ui-ease),opacity .18s ease,visibility 0s linear .22s!important;
  }
  .mobile-command-sheet.is-open{transform:translateY(0) scale(1)!important;opacity:1!important;visibility:visible;pointer-events:auto;transition-delay:0s!important}
  .mobile-sheet-grabber{width:38px;height:4px;margin:0 auto 8px;border-radius:999px;background:#d4ddd7}
  .mobile-sheet-head{position:sticky;top:-10px;z-index:3;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);padding:8px 0 10px!important;margin:0!important}.mobile-sheet-head h2{font-size:22px!important;letter-spacing:-.035em;margin:2px 0 0}.mobile-sheet-head>button{width:38px;height:38px;border-radius:12px;border:1px solid #dde5df;background:#f7f9f7;font-size:24px;line-height:1}
  .mobile-sheet-search{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;gap:6px;align-items:center;padding:5px 5px 5px 10px!important;border:1px solid #d7e0da!important;border-radius:16px!important;background:#f8faf8!important}.mobile-sheet-search input{height:44px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:16px!important}.mobile-sheet-search .btn{height:40px!important;border-radius:12px!important}
  .mobile-sheet-quick-grid,.mobile-create-grid,.mobile-activity-grid,.mobile-more-grid{gap:8px!important}.mobile-sheet-quick-grid a,.mobile-create-grid a,.mobile-activity-grid a,.mobile-more-grid a{border:1px solid #e0e7e2!important;background:#fafcfb!important;border-radius:16px!important;box-shadow:none!important}.mobile-sheet-quick-grid a:active,.mobile-create-grid a:active,.mobile-activity-grid a:active,.mobile-more-grid a:active{background:#f0f6f2!important;transform:scale(.985)}
  .support-fab{display:none!important}.footer{padding-bottom:26px!important;margin-bottom:88px!important}
}
@media(max-width:420px){
  .mobile-nav.portal-bottom-nav.mobile-command-nav{left:6px!important;right:6px!important;bottom:5px!important;border-radius:20px!important}.mobile-command-nav small{font-size:9px!important}.mobile-command-sheet{left:6px!important;right:6px!important;bottom:calc(79px + env(safe-area-inset-bottom))!important;border-radius:22px!important}.mobile-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .admin-main .admin-panel{padding:16px}.admin-page-head{padding:17px!important}.admin-page-head h1{font-size:28px!important}
}

/* Content density and clean mobile typography */
@media(max-width:760px){
  body:not(.admin-body) .shell{width:calc(100% - 22px)!important}
  .main{padding-top:14px!important}.panel{border-radius:18px!important}.section-head{gap:10px!important}.section-head h1{font-size:clamp(28px,8vw,37px)!important;line-height:1.02!important}
  .notifications-settings-page>.section-head{padding-inline:2px}.notifications-settings-page .notification-push-card{padding:17px!important;border-radius:18px!important}.notification-prefs-form{border-radius:18px!important}
  .notification-channel-grid,.email-events-grid{grid-template-columns:1fr!important}.email-event-option,.check-row{min-height:58px!important;padding:12px!important}.notification-channel-grid strong,.email-event-option strong{font-size:12px!important}.notification-channel-grid small,.email-event-option small{font-size:10px!important;line-height:1.35!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
/* v5.149 verified settings persistence */
.email-db-proof{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px}.email-db-proof span{padding:8px 10px;border:1px solid #dde5e0;border-radius:999px;background:#fff;font-size:12px;color:var(--muted)}.email-db-proof b{color:var(--text)}
.email-sticky-save{display:none;position:sticky;bottom:86px;z-index:16;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:12px 14px;border:1px solid rgba(25,121,98,.2);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(25,44,37,.14);backdrop-filter:blur(14px)}.email-sticky-save.is-visible{display:flex}.email-sticky-save strong,.email-sticky-save small{display:block}.email-sticky-save small{margin-top:2px;color:var(--muted)}
@media(max-width:760px){.email-db-proof{display:grid;grid-template-columns:1fr}.email-db-proof span{border-radius:12px}.email-sticky-save{position:fixed;left:14px;right:14px;bottom:calc(92px + env(safe-area-inset-bottom));z-index:70}.email-sticky-save>div{min-width:0}.email-sticky-save small{display:none}.email-main-save{margin-bottom:110px}}


/* ---------- Source: hybrid-5147.css ---------- */
/* v5.147 — original hybrid marketplace/catalog UX inspired by strong portal patterns */
:root{--hybrid-ink:#15211c;--hybrid-soft:#f5f8f6;--hybrid-line:#dfe7e1;--hybrid-shadow:0 12px 34px rgba(27,45,36,.08);--hybrid-shadow-hover:0 18px 42px rgba(27,45,36,.13)}

/* Global polish */
.top{transition:box-shadow .2s ease,background .2s ease}.top.is-scrolled{box-shadow:0 8px 28px rgba(21,33,28,.09);background:rgba(255,255,255,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.top-search{position:relative;border-radius:14px!important;border-color:#dce3de!important;background:#f7faf8!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.top-search:focus-within{background:#fff!important;border-color:color-mix(in srgb,var(--accent) 42%,#cbd5cf)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 10%,transparent)}.top-search input{min-width:0}.top-search kbd{align-self:center;border:1px solid #d8dfda;border-bottom-width:2px;border-radius:7px;background:#fff;color:#748078;padding:1px 6px;font:700 10px/1.7 inherit;margin-right:3px}
.public-section-bar{position:sticky;top:66px;z-index:42;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(223,231,225,.9)}
.unified-catalog-links a{position:relative}.unified-catalog-links a[aria-current="page"]::after{content:"";position:absolute;left:10px;right:10px;bottom:-12px;height:3px;border-radius:99px;background:var(--accent)}
.btn{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 18%,transparent)}.btn:active{transform:translateY(0) scale(.985)}
.panel,.marketplace-card,.product-card,.portal-listing-card,.portal-category-card,.search-result-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.marketplace-card:hover,.product-card:hover,.portal-listing-card:hover,.portal-category-card:hover,.search-result-card:hover{transform:translateY(-2px);box-shadow:var(--hybrid-shadow-hover);border-color:#d3ddd6}

/* Homepage unified discovery */
.hybrid-search-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:24px!important;border:1px solid var(--hybrid-line);border-radius:24px;background:linear-gradient(145deg,#fff 0%,#f6faf7 100%);box-shadow:var(--hybrid-shadow)}
.hybrid-search-copy{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.hybrid-search-copy strong{font-size:clamp(20px,2.2vw,30px);letter-spacing:-.035em;line-height:1.1;color:var(--hybrid-ink)}
.hybrid-search-hero .portal-market-search{margin:0!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#fff;border:1px solid #d6e0d8;border-radius:18px;padding:6px;box-shadow:0 7px 22px rgba(28,49,38,.06)}
.hybrid-search-hero .portal-market-search label{display:flex;align-items:center;min-width:0;border:0!important;background:transparent!important}.hybrid-search-hero .portal-market-search label>span{font-size:22px;margin-left:10px;color:#78857d}.hybrid-search-hero .portal-market-search input{height:52px!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:17px!important}.hybrid-search-hero .portal-market-search .btn{min-width:112px;border-radius:13px!important}
.hybrid-discovery-rail{display:flex;gap:8px;overflow:auto;padding-bottom:2px;scrollbar-width:none;scroll-snap-type:x proximity}.hybrid-discovery-rail::-webkit-scrollbar{display:none}.hybrid-discovery-rail a{flex:0 0 auto;scroll-snap-align:start;padding:8px 12px;border:1px solid #dfe7e1;border-radius:999px;background:#fff;color:#425149;font-size:12px;font-weight:760;transition:.16s ease}.hybrid-discovery-rail a:hover{border-color:#cbd8ce;background:#f0f6f2;color:var(--hybrid-ink)}
.portal-competitive-grid>a{border-radius:18px!important}.portal-category-grid-visual{gap:12px!important}.portal-category-card{border-radius:20px!important;overflow:hidden}.portal-category-card-content{min-height:172px!important}.portal-listing-row{scroll-snap-type:x proximity}.portal-listing-card{scroll-snap-align:start;border-radius:17px!important;overflow:hidden}.portal-listing-card>div:first-child{overflow:hidden}.portal-listing-card img{transition:transform .32s ease}.portal-listing-card:hover img{transform:scale(1.025)}

/* Catalog — category rail and denser cards */
.hybrid-category-rail{display:flex;gap:9px;overflow:auto;margin:14px 0 18px;padding:2px 1px 7px;scrollbar-width:none;scroll-snap-type:x proximity}.hybrid-category-rail::-webkit-scrollbar{display:none}.hybrid-category-chip{flex:0 0 auto;scroll-snap-align:start;display:flex;align-items:center;gap:9px;min-height:46px;padding:7px 12px 7px 8px;border:1px solid var(--hybrid-line);border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(25,45,34,.04);font-size:12px;font-weight:780;white-space:nowrap}.hybrid-category-chip>span{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#eef4f0;color:#50665a;font-weight:900;text-transform:uppercase}.hybrid-category-chip.is-active{border-color:color-mix(in srgb,var(--accent) 35%,#d7e0da);background:color-mix(in srgb,var(--accent) 4%,#fff);box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 9%,transparent)}.hybrid-category-chip.is-active>span{background:var(--accent);color:#fff}
.catalog-filter-panel{border-radius:20px!important;overflow:hidden}.catalog-filter-form input,.catalog-filter-form select{border-radius:12px!important}.catalog-product-grid{gap:13px!important}.catalog-product-grid .product-card{border-radius:18px!important;overflow:hidden;box-shadow:0 5px 18px rgba(24,41,32,.045)}.catalog-product-grid .product-card-media{overflow:hidden;background:#f5f7f6}.catalog-product-grid .product-card-media img{transition:transform .28s ease}.catalog-product-grid .product-card:hover .product-card-media img{transform:scale(1.018)}.catalog-product-grid .product-card-body{padding:13px!important}.catalog-products-head{position:sticky;top:118px;z-index:10;padding:9px 0;background:linear-gradient(var(--bg) 70%,transparent)}

/* Marketplace command/search */
.marketplace-command{border-radius:24px!important;border:1px solid var(--hybrid-line)!important;background:linear-gradient(145deg,#fff,#f7faf8)!important;box-shadow:var(--hybrid-shadow)!important}.marketplace-main-search{border-radius:17px!important;padding:6px!important;border:1px solid #d7e0da;background:#fff;box-shadow:0 8px 22px rgba(27,44,35,.06)}.marketplace-main-search input{border:0!important;background:transparent!important;box-shadow:none!important;min-height:48px!important}.marketplace-main-search .btn{border-radius:12px!important;min-width:96px}
.marketplace-quick-filters{grid-column:1/-1;display:flex;gap:8px;overflow:auto;padding-top:2px;scrollbar-width:none}.marketplace-quick-filters::-webkit-scrollbar{display:none}.marketplace-quick-filters a{flex:0 0 auto;padding:8px 12px;border-radius:999px;border:1px solid #dce5df;background:#fff;font-size:12px;font-weight:760;color:#4c5d53}.marketplace-quick-filters a:hover,.marketplace-quick-filters a.is-active{background:#edf5ef;border-color:#cbdacf;color:#20342a}.marketplace-quick-filters a.is-active{box-shadow:inset 0 0 0 1px #b9cfbf}
.marketplace-trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 16px}.marketplace-trust-strip>span{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--hybrid-line);border-radius:16px;background:#fff}.marketplace-trust-strip>span>b{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:11px;background:#edf5ef;color:#385b47;font-size:15px}.marketplace-trust-strip em{font-style:normal;min-width:0}.marketplace-trust-strip strong,.marketplace-trust-strip small{display:block}.marketplace-trust-strip strong{font-size:12px}.marketplace-trust-strip small{margin-top:2px;color:var(--muted);font-size:10px}
.marketplace-category-photo-rail{scroll-snap-type:x proximity;scrollbar-width:none}.marketplace-category-photo-rail::-webkit-scrollbar{display:none}.market-category-photo{scroll-snap-align:start;border-radius:17px!important;transition:transform .18s ease,box-shadow .18s ease}.market-category-photo:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(25,42,34,.09)}
.marketplace-filter-card{top:126px!important;border-radius:20px!important;box-shadow:0 7px 25px rgba(27,44,35,.05)}.marketplace-filter-head-actions{display:flex;align-items:center;gap:7px}.marketplace-filter-head-actions>button{display:none;width:36px;height:36px;border:1px solid #dfe6e1;border-radius:11px;background:#f7faf8;font-size:22px;line-height:1;color:#526158}.marketplace-filter-form fieldset{border-color:#e2e8e4!important;border-radius:14px!important}.marketplace-filter-form input,.marketplace-filter-form select{border-radius:12px!important}
.marketplace-mobile-toolbar{display:none}.market-filter-backdrop{display:none}
.marketplace-card{position:relative;border-radius:18px!important;overflow:hidden;box-shadow:0 5px 18px rgba(25,42,34,.05)}.marketplace-card-media{position:relative;overflow:hidden;background:#f2f5f3}.marketplace-card-media-link{display:block;width:100%;height:100%;overflow:hidden}.marketplace-card-media-link img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.marketplace-card:hover .marketplace-card-media-link img{transform:scale(1.022)}.marketplace-card-favorite{position:absolute;top:9px;right:9px;z-index:4;margin:0}.marketplace-card-favorite button,.marketplace-card-favorite-login{width:39px;height:39px;border:1px solid rgba(214,224,217,.9);border-radius:13px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:grid;place-items:center;box-shadow:0 6px 17px rgba(27,43,35,.13);font-size:22px;line-height:1;color:#5c6961;cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease}.marketplace-card-favorite button:hover,.marketplace-card-favorite-login:hover{transform:scale(1.05);background:#fff;color:var(--accent)}.marketplace-card-favorite button[aria-pressed="true"]{color:var(--accent)}.marketplace-card-favorite.is-saving button{opacity:.58;pointer-events:none}.marketplace-card-favorite.is-saved button{animation:hybrid-heart-pop .24s ease}@keyframes hybrid-heart-pop{50%{transform:scale(1.18)}}
.marketplace-card-copy{padding:14px!important}.marketplace-card-price{font-size:19px!important}.marketplace-card-tags{gap:5px!important}.marketplace-card-tags span{border-radius:999px!important;background:#f0f4f1!important;border:1px solid #e0e7e2;padding:4px 8px!important}.marketplace-card-seller{border-top:1px solid #edf0ee;padding-top:10px;margin-top:10px}

/* Search results */
.search-portal-v4{border-radius:23px!important}.search-hero-row form{border-radius:17px!important}.search-entry-grid-clean a{border-radius:17px!important;transition:.18s ease}.search-entry-grid-clean a:hover{transform:translateY(-2px);box-shadow:var(--hybrid-shadow)}.search-result-card{border-radius:17px!important;overflow:hidden}.search-suggestions a{border-radius:999px!important}

/* Mobile */
@media(max-width:900px){
  .public-section-bar{top:0;position:relative}.unified-catalog-links{scroll-snap-type:x proximity}.unified-catalog-links a{scroll-snap-align:start}.unified-catalog-links a[aria-current="page"]::after{bottom:-8px}
  .hybrid-search-hero{padding:16px!important;border-radius:20px}.hybrid-search-copy{display:block}.hybrid-search-copy strong{display:block;margin-top:4px;font-size:21px}.hybrid-search-hero .portal-market-search{grid-template-columns:minmax(0,1fr) auto}.hybrid-search-hero .portal-market-search input{font-size:16px!important}.hybrid-search-hero .portal-market-search .btn{min-width:84px;padding-inline:12px}
  .marketplace-trust-strip{grid-template-columns:1fr;gap:7px}.marketplace-trust-strip>span{padding:10px 12px}.marketplace-trust-strip small{font-size:10px}
  .marketplace-mobile-toolbar{display:flex;position:sticky;top:0;z-index:34;gap:8px;margin:8px 0 12px;padding:8px;border:1px solid var(--hybrid-line);border-radius:16px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 7px 20px rgba(24,42,32,.07)}.marketplace-mobile-toolbar>button,.marketplace-mobile-toolbar>label{flex:1 1 0;min-width:0;height:44px;border:1px solid #dbe4de;border-radius:12px;background:#f8faf9;color:#31443a;font-weight:800;font-size:12px}.marketplace-mobile-toolbar>button{display:flex;align-items:center;justify-content:center;gap:7px}.marketplace-mobile-toolbar>button span{font-size:18px}.marketplace-mobile-toolbar>label{display:flex;align-items:center;padding-left:9px;gap:5px}.marketplace-mobile-toolbar>label select{min-width:0;flex:1;border:0;background:transparent;font:inherit;color:inherit;outline:none}
  .marketplace-layout{display:block!important}.marketplace-filter-card{position:fixed!important;left:8px;right:8px;bottom:calc(82px + env(safe-area-inset-bottom));top:auto!important;z-index:1305!important;max-height:min(74dvh,670px);overflow:auto;transform:translateY(24px) scale(.985);opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s;border-radius:23px!important;padding:16px!important}.market-filter-open .marketplace-filter-card{transform:translateY(0) scale(1);opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}.marketplace-filter-head-actions>button{display:grid;place-items:center}.market-filter-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(12,22,17,.38);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.market-filter-open .market-filter-backdrop{display:block}.market-filter-open{overflow:hidden}.marketplace-filter-form>.btn{position:sticky;bottom:0;width:100%;box-shadow:0 -10px 24px rgba(255,255,255,.92)}
  .marketplace-category-photo-rail{margin-inline:-2px!important;padding-inline:2px!important}.market-category-photo{min-width:132px!important}
  .catalog-products-head{position:static}.catalog-layout{grid-template-columns:1fr!important}.catalog-filter-panel{order:2}.catalog-results{order:1}.hybrid-category-rail{margin-inline:-4px;padding-inline:4px}
  .marketplace-card-grid:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.marketplace-card-copy{padding:11px!important}.marketplace-card-copy p{display:none}.marketplace-card-seller small{font-size:9px}.marketplace-card-price{font-size:17px!important}.marketplace-card-favorite button,.marketplace-card-favorite-login{width:36px;height:36px;border-radius:12px;font-size:20px}
}
@media(max-width:560px){
  .hybrid-search-hero .portal-market-search{grid-template-columns:1fr}.hybrid-search-hero .portal-market-search .btn{width:100%;height:44px}.hybrid-discovery-rail{margin-right:-4px}
  .marketplace-command{padding:16px!important;border-radius:20px!important}.marketplace-main-search{grid-template-columns:1fr!important}.marketplace-main-search .btn{width:100%}.marketplace-quick-filters{margin-right:-4px}.marketplace-trust-strip{margin-top:10px}
  .marketplace-card-grid:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))!important}.marketplace-card-media{aspect-ratio:1/1!important}.marketplace-card-topline small{display:none}.marketplace-card-copy h3{font-size:13px!important;line-height:1.25!important;min-height:32px}.marketplace-card-price{font-size:15px!important}.marketplace-card-tags span:nth-child(n+2){display:none}.marketplace-card-seller{display:none!important}
  .marketplace-mobile-toolbar{margin-inline:-1px}.marketplace-filter-card{left:5px;right:5px;bottom:calc(78px + env(safe-area-inset-bottom))}
  .hybrid-category-chip{min-height:42px}.hybrid-category-chip>span{width:28px;height:28px}.hybrid-category-chip b{font-size:11px}
}
@media(max-width:380px){.marketplace-card-grid:not(.is-list){grid-template-columns:1fr!important}.marketplace-card-media{aspect-ratio:16/10!important}.marketplace-card-seller{display:flex!important}.marketplace-card-copy p{display:block;font-size:11px}.hybrid-search-copy strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){.marketplace-card-favorite.is-saved button{animation:none!important}}


/* ---------- Source: upgrade-5150.css ---------- */
/* TestProject 5.150 — experience polish: creation, notifications, account, authors, reviews, search. */
.search-suggest-host{position:relative}
.search-suggest-box{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:80;background:rgba(255,255,255,.98);border:1px solid rgba(13,61,52,.12);border-radius:18px;box-shadow:0 24px 60px rgba(17,39,35,.18);padding:8px;backdrop-filter:blur(16px)}
.search-suggest-head{padding:7px 10px 5px;color:#6a7a76;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.search-suggest-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border-radius:12px;color:#17332e;text-decoration:none}
.search-suggest-item:hover,.search-suggest-item:focus{background:#eef7f3;outline:0}
.search-suggest-item span{display:grid;gap:2px;min-width:0}.search-suggest-item small{font-size:10px;color:#1b806d;font-weight:800;text-transform:uppercase}.search-suggest-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-suggest-item em{font-style:normal;color:#72807d;font-size:12px;text-align:right;max-width:40%}.search-suggest-all{display:block;margin-top:4px;padding:10px 12px;border-top:1px solid rgba(20,45,40,.08);font-weight:800;color:#087861}
.search-quick-intents{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:2px 0 12px}.search-quick-intents::-webkit-scrollbar{display:none}.search-quick-intents a{white-space:nowrap;padding:8px 12px;border:1px solid rgba(19,74,63,.13);border-radius:999px;background:#f8fbfa;color:#36534d;font-size:12px;font-weight:750}

.mobile-create-listing-block{grid-column:1/-1;border:1px solid rgba(13,98,79,.13);border-radius:18px;background:linear-gradient(145deg,#f4fbf8,#fff);padding:12px}
.mobile-create-listing-head{display:flex;gap:10px;align-items:center;padding:2px 2px 10px}.mobile-create-listing-head>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#0b866e;color:#fff;font-size:24px}.mobile-create-listing-head div{display:grid;gap:2px}.mobile-create-listing-head small{color:#71817d}
.mobile-create-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:250px;overflow:auto;padding-right:2px}.mobile-create-categories button{appearance:none;border:1px solid rgba(18,75,64,.11);background:#fff;border-radius:12px;padding:10px;display:flex;align-items:center;gap:8px;text-align:left;color:#17372f;font:inherit;cursor:pointer}.mobile-create-categories button span{font-size:18px}.mobile-create-categories button b{font-size:12px;line-height:1.15}.mobile-create-categories button:active{transform:scale(.985);background:#edf8f4}
.mobile-create-auth-note{display:grid;gap:3px;padding:12px;border-radius:12px;background:#fff;border:1px solid rgba(18,75,64,.12)}.mobile-create-auth-note.warning{background:#fff9ea;border-color:#f1d48a}.mobile-create-auth-note small{color:#6d7a76}

.profile-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.profile-focus-card{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid rgba(22,55,48,.1);border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(21,48,42,.05);color:#19362f}.profile-focus-card>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:#edf7f3;color:#087762;font-size:21px}.profile-focus-card div{display:grid;min-width:0}.profile-focus-card b{font-size:22px;line-height:1}.profile-focus-card strong{font-size:13px;margin-top:4px}.profile-focus-card small{color:#75817e;font-size:11px;margin-top:2px}.profile-focus-card.needs-attention{border-color:rgba(235,160,36,.28);background:#fffdf7}.profile-focus-card.needs-attention>span{background:#fff2d8;color:#b46d00}

.author-focus-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.author-focus-strip>a{display:flex;gap:10px;align-items:center;padding:13px;border-radius:15px;background:#fff;border:1px solid rgba(22,55,48,.1);color:#19362f}.author-focus-strip>a>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eff7f4;color:#087762}.author-focus-strip div{display:grid}.author-focus-strip small{color:#71807c;font-size:11px}

.notification-settings-status{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.notification-settings-status span{padding:6px 9px;border-radius:999px;background:#eff7f4;color:#236052;font-size:11px;font-weight:800}.notifications-hero-actions{flex-wrap:wrap}.notification-card.unread{box-shadow:0 12px 34px rgba(9,95,76,.09);border-color:rgba(9,127,101,.2)}.notification-card.unread:before{content:"";width:4px;border-radius:99px;background:#0c8b71;align-self:stretch}.notification-actions{flex-wrap:wrap}

.review-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.review-sort{display:flex;align-items:center;gap:8px;color:#65736f;font-size:12px}.review-sort select{border:1px solid rgba(20,60,52,.13);border-radius:11px;padding:9px;background:#fff;font:inherit}.review-copy small a{font-weight:750;color:#0b7b65}.review-verify-note{display:grid;gap:6px;margin-top:14px;padding:14px;border-radius:14px;background:#fff9ea;border:1px solid #f1d48a}.review-verify-note span{color:#75684b;font-size:13px}

.marketplace-create .field select[name="category"]{border-color:rgba(8,125,99,.24);box-shadow:0 0 0 3px rgba(8,125,99,.05)}

@media(max-width:900px){.profile-focus-grid,.author-focus-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .search-suggest-box{position:fixed;left:10px;right:10px;top:auto;bottom:calc(82px + env(safe-area-inset-bottom));max-height:52vh;overflow:auto;border-radius:20px;z-index:200}
  .mobile-sheet-search .search-suggest-box{position:absolute;left:0;right:0;bottom:auto;top:calc(100% + 6px)}
  .profile-focus-grid{grid-template-columns:1fr 1fr;gap:8px}.profile-focus-card{padding:12px;gap:9px;border-radius:15px}.profile-focus-card>span{width:36px;height:36px;flex-basis:36px}.profile-focus-card b{font-size:19px}.profile-focus-card small{display:none}
  .author-focus-strip{grid-template-columns:1fr 1fr;gap:8px}.author-focus-strip>a{padding:11px}.author-focus-strip small{font-size:10px}
  .review-toolbar{align-items:stretch;flex-direction:column}.review-filters{overflow:auto;scrollbar-width:none}.review-sort{justify-content:space-between}.review-sort select{flex:1}
  .search-portal-v4{padding:14px!important;border-radius:18px}.search-super-form-clean .portal-search-box{min-height:58px;border-radius:16px}.search-super-form-clean .portal-search-box input{font-size:16px}.search-quick-intents{margin-left:-2px;margin-right:-2px}.search-scope-tabs{margin-left:-4px;margin-right:-4px;padding:0 4px 4px}
  .marketplace-quick-filters{overflow-x:auto;scrollbar-width:none;padding-bottom:3px}.marketplace-quick-filters::-webkit-scrollbar{display:none}.marketplace-quick-filters a{white-space:nowrap}
  .portal-bottom-nav.mobile-command-nav{backdrop-filter:blur(20px);background:rgba(255,255,255,.92)!important;box-shadow:0 14px 50px rgba(21,45,40,.18)}
}
@media(max-width:420px){.profile-focus-grid,.author-focus-strip{grid-template-columns:1fr}.mobile-create-categories{grid-template-columns:1fr 1fr}.search-suggest-item em{display:none}}

/* Home search: clear horizontal intent rail and better small-screen ergonomics. */
.hybrid-discovery-rail{padding:3px 2px 7px;scroll-padding-inline:2px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent 100%)}
.hybrid-discovery-rail a{min-height:38px;display:inline-flex;align-items:center}
.portal-global-search label{min-width:0}.portal-global-search input{min-width:0;text-overflow:ellipsis}
@media(max-width:560px){
  .hybrid-search-hero .portal-market-search{grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
  .hybrid-search-hero .portal-market-search .btn{width:auto!important;min-width:80px!important;height:auto!important;padding-inline:14px!important}
  .hybrid-search-copy strong{font-size:clamp(19px,6.1vw,24px)!important;line-height:1.07!important}
  .hybrid-discovery-rail{margin-right:-14px!important;padding-right:32px}
}
@media(max-width:700px){
  .portal-global-search .search-suggest-box,.marketplace-main-search .search-suggest-box{position:absolute;left:0;right:0;top:calc(100% + 7px);bottom:auto;max-height:48vh;overflow:auto}
}


/* ---------- Source: upgrade-5151.css ---------- */
/* TestProject 5.151 — account center, payment experience and loader label polish */
:root{--account-accent:#0f7f70;--account-accent-soft:#edf8f5;--account-ink:#102f2b;--account-muted:#6d7d79;--account-line:#dbe7e3}

/* Loader text must stay stable and never visually stack/duplicate while navigation begins. */
.site-loader-copy strong,.site-loader-copy small{font-variant-ligatures:none;text-rendering:geometricPrecision}.site-loader-copy strong{min-height:1.35em}.site-loader-copy{isolation:isolate}

/* Account center */
.account-center-5151{display:grid;gap:18px;padding-bottom:28px}.account-center-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);align-items:center;gap:24px;padding:26px}.account-center-identity{display:flex;align-items:center;gap:18px;min-width:0}.account-center-avatar,.account-center-identity .avatar{width:76px!important;height:76px!important;border-radius:24px!important}.account-center-identity h1{margin:4px 0 6px;font-size:34px;line-height:1.04;letter-spacing:-.045em}.account-center-identity p{margin:0;color:var(--account-muted)}.account-center-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-center-kpis a{display:grid;gap:2px;padding:14px;border:1px solid var(--account-line);border-radius:17px;background:#fbfdfc;color:var(--account-ink);text-decoration:none}.account-center-kpis b{font-size:23px}.account-center-kpis span{font-size:11px;color:var(--account-muted)}
.account-center-alert{margin:0}.account-center-nav{position:sticky;top:8px;z-index:40;display:flex;gap:7px;padding:7px;border:1px solid rgba(211,226,221,.9);border-radius:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(26,55,48,.07);overflow-x:auto;scrollbar-width:none}.account-center-nav::-webkit-scrollbar{display:none}.account-center-nav a{flex:0 0 auto;padding:10px 14px;border-radius:12px;color:#52645f;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.account-center-nav a:hover,.account-center-nav a.is-active{background:var(--account-accent-soft);color:var(--account-accent)}
.account-center-section{scroll-margin-top:86px;padding:24px}.account-center-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.account-center-section-head h2{margin:3px 0 7px;font-size:26px;letter-spacing:-.035em}.account-center-section-head p{max-width:760px;margin:0;color:var(--account-muted);line-height:1.55}.account-health-pill{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;font-size:11px;font-weight:850;white-space:nowrap}.account-health-pill.ok{background:#e9f7f1;color:#08785f}.account-health-pill.warn{background:#fff5df;color:#9a6411}
.account-center-profile-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px;align-items:start}.account-avatar-editor{display:grid;justify-items:center;gap:12px;padding:18px;border:1px solid var(--account-line);border-radius:22px;background:#f8fbfa}.account-avatar-editor>img,.account-avatar-editor>span{width:118px;height:118px;border-radius:34px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(145deg,#e9f6f2,#dff0ea);font-size:38px;font-weight:900;color:var(--account-accent)}.account-center-fields{display:grid;gap:13px}.account-center-fields .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-security-card{display:grid;align-content:start;gap:9px;padding:18px;border:1px solid var(--account-line);border-radius:20px;background:#fbfdfc}.account-security-card>b{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--account-accent)}.account-security-card>strong{font-size:19px;overflow-wrap:anywhere}.account-security-card>span{color:var(--account-muted);font-size:12px;line-height:1.5}.account-password-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:5px}.account-password-form input:first-of-type{grid-column:1/-1}.account-password-form button{grid-column:1/-1}.account-password-form input{min-width:0;padding:11px 12px;border:1px solid var(--account-line);border-radius:12px;background:#fff;font:inherit}.account-devices{display:grid;margin-top:18px}.account-subhead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid #edf2f0}.account-subhead h3{margin:0}.account-subhead a{font-size:12px}.account-device-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #edf2f0}.account-device-row>div{display:grid;gap:3px}.account-device-row strong{font-size:13px}.account-device-row strong em{font-style:normal;font-size:10px;color:#08785f;background:#e9f7f1;padding:3px 6px;border-radius:999px;margin-left:5px}.account-device-row span{font-size:11px;color:var(--account-muted)}
.account-notification-form{display:grid;gap:16px}.account-channel-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.account-channel-row label{cursor:pointer}.account-channel-row input{position:absolute;opacity:0;pointer-events:none}.account-channel-row label>span{height:100%;display:grid;gap:4px;padding:15px;border:1px solid var(--account-line);border-radius:17px;background:#fbfdfc}.account-channel-row input:checked+span{border-color:#49a694;background:var(--account-accent-soft);box-shadow:0 0 0 3px rgba(15,127,112,.08)}.account-channel-row b{font-size:14px}.account-channel-row small{font-size:11px;color:var(--account-muted)}.account-event-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.account-event-grid label{cursor:pointer}.account-event-grid input{position:absolute;opacity:0;pointer-events:none}.account-event-grid span{display:block;padding:10px 11px;border:1px solid var(--account-line);border-radius:12px;background:#fff;font-size:11px;font-weight:800;text-align:center}.account-event-grid input:checked+span{background:#123e36;color:#fff;border-color:#123e36}
.account-payment-list{display:grid;border-top:1px solid #edf2f0}.account-payment-list>a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #edf2f0;text-decoration:none;color:inherit}.account-payment-list>a>div{display:grid;gap:3px}.account-payment-list strong{font-size:14px}.account-payment-list span{font-size:11px;color:var(--account-muted)}.payment-state{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-style:normal;font-size:10px;font-weight:850;white-space:nowrap}.payment-state.state-paid{background:#e8f7ef;color:#08745c}.payment-state.state-pending{background:#fff3d8;color:#8e6218}.payment-state.state-failed,.payment-state.state-cancelled{background:#fff0f0;color:#a34343}
.account-function-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.account-function-grid a{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;padding:15px;border:1px solid var(--account-line);border-radius:18px;background:#fbfdfc;color:var(--account-ink);text-decoration:none}.account-function-grid a>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--account-accent-soft);color:var(--account-accent);font-size:16px}.account-function-grid b{font-size:13px;align-self:end}.account-function-grid small{color:var(--account-muted);font-size:10px;line-height:1.35}.account-function-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Wallet / payments */
.wallet-page-5151{display:grid;gap:18px;padding-bottom:28px}.wallet-hero-5151{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px}.wallet-hero-5151 h1{font-size:40px;margin:3px 0 8px;letter-spacing:-.05em}.wallet-hero-5151 p{max-width:720px;color:var(--account-muted)}.wallet-trust-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.wallet-trust-row span{padding:7px 9px;border-radius:999px;background:#edf8f5;color:#0a705e;font-size:10px;font-weight:800}.wallet-metrics-5151{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wallet-metrics-5151>div{display:grid;gap:4px;padding:15px 16px;border:1px solid var(--account-line);border-radius:17px;background:#fff}.wallet-metrics-5151 span{font-size:10px;color:var(--account-muted);text-transform:uppercase;letter-spacing:.06em}.wallet-metrics-5151 b{font-size:21px}.wallet-metrics-5151 .attention{background:#fffaf0;border-color:#eeddb8}.wallet-grid-5151{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}.wallet-checkout-5151,.wallet-safety-5151{padding:22px}.payment-presets{display:flex;gap:7px;flex-wrap:wrap;margin:4px 0 9px}.payment-presets button{border:1px solid var(--account-line);border-radius:999px;background:#fff;padding:8px 12px;font:inherit;font-size:11px;font-weight:800;color:#41534f;cursor:pointer}.payment-presets button:hover,.payment-presets button.is-active{border-color:#54a998;background:var(--account-accent-soft);color:var(--account-accent)}.payment-provider-grid-5151{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-provider-grid-5151 .payment-provider-card>span{min-height:126px;align-content:start}.payment-provider-card i{font-style:normal;font-size:10px;color:#72817d;line-height:1.4}.payment-total-5151{align-items:center}.payment-total-5151>div{display:grid;gap:3px}.payment-total-5151 small{font-size:10px;color:#b9d0cc}.payment-legal-note{margin:5px 0 0;text-align:center;color:#7c8b87;font-size:10px;line-height:1.45}.payment-flow-5151 span{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 10px;align-items:center}.payment-flow-5151 span b{grid-row:1/3}.payment-flow-5151 span i{font-style:normal;font-size:12px;font-weight:850}.payment-flow-5151 span small{font-size:10px;color:var(--account-muted);line-height:1.4}.wallet-orders-5151,.wallet-history-5151{padding:22px}.wallet-order-list{display:grid;gap:9px}.wallet-order-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--account-line);border-radius:17px;background:#fff}.wallet-order-card.state-paid{border-color:#cfe8df;background:#fbfefc}.wallet-order-card.state-pending{border-color:#eadfbf;background:#fffdf8}.wallet-order-main{display:flex;align-items:center;gap:12px;min-width:0}.wallet-order-main>div:last-child{display:grid;gap:3px;min-width:0}.wallet-order-main strong{font-size:16px}.wallet-order-main span,.wallet-order-main small{font-size:10px;color:var(--account-muted);overflow-wrap:anywhere}.wallet-order-icon{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:#edf7f4;color:#0e806e;font-weight:900}.wallet-order-side{display:grid;justify-items:end;gap:8px}.wallet-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.wallet-order-actions form{display:inline-flex}

@media(max-width:980px){.account-center-hero{grid-template-columns:1fr}.account-center-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.account-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account-function-grid,.account-function-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-grid-5151{grid-template-columns:1fr}.wallet-metrics-5151{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.account-center-5151,.wallet-page-5151{gap:12px}.account-center-hero,.account-center-section,.wallet-hero-5151,.wallet-checkout-5151,.wallet-safety-5151,.wallet-orders-5151,.wallet-history-5151{padding:17px;border-radius:22px}.account-center-hero{gap:16px}.account-center-identity{align-items:flex-start}.account-center-avatar,.account-center-identity .avatar{width:62px!important;height:62px!important;border-radius:20px!important}.account-center-identity h1{font-size:28px}.account-center-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.account-center-nav{top:6px;margin:0 -2px;padding:5px;border-radius:15px}.account-center-nav a{padding:9px 11px}.account-center-section-head{display:grid;gap:11px}.account-center-section-head .btn{width:100%;text-align:center}.account-center-profile-grid{grid-template-columns:1fr}.account-avatar-editor{grid-template-columns:80px 1fr;justify-items:start;align-items:center}.account-avatar-editor>img,.account-avatar-editor>span{width:80px;height:80px;border-radius:24px}.account-center-fields .two{grid-template-columns:1fr}.account-security-grid{grid-template-columns:1fr}.account-channel-row{grid-template-columns:1fr}.account-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-device-row{align-items:flex-start}.account-function-grid,.account-function-grid.compact{grid-template-columns:1fr 1fr}.wallet-hero-5151{display:grid}.wallet-hero-5151 h1{font-size:34px}.wallet-hero-5151>.btn{width:100%;text-align:center}.payment-provider-grid-5151{grid-template-columns:1fr}.wallet-order-card{align-items:flex-start;display:grid}.wallet-order-side{justify-items:start}.wallet-order-actions{justify-content:flex-start}.wallet-order-actions .btn{width:auto}.wallet-metrics-5151 b{font-size:18px}}
@media(max-width:430px){.account-center-kpis{grid-template-columns:1fr 1fr}.account-function-grid,.account-function-grid.compact{grid-template-columns:1fr}.account-password-form{grid-template-columns:1fr}.account-password-form input,.account-password-form input:first-of-type,.account-password-form button{grid-column:1}.account-event-grid{grid-template-columns:1fr 1fr}.wallet-metrics-5151{grid-template-columns:1fr 1fr}.wallet-metrics-5151>div{padding:12px}.payment-presets{display:grid;grid-template-columns:repeat(3,1fr)}.payment-presets button{padding:8px 6px}.wallet-order-main{align-items:flex-start}.wallet-order-icon{width:34px;height:34px}}
.account-center-head-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.account-center-head-actions .btn{white-space:nowrap}
@media(max-width:700px){.account-center-head-actions{display:grid;grid-template-columns:1fr;width:100%}.account-center-head-actions .btn{width:100%;text-align:center}}


/* ---------- Source: upgrade-5152.css ---------- */
/* TestProject 5.152 — premium mobile command bar, sheets and interaction quality. */
:root{
  --tp-green:#0b7d69;
  --tp-green-2:#12a181;
  --tp-green-soft:#edf8f4;
  --tp-ink:#15332d;
  --tp-muted:#71817d;
  --tp-line:rgba(26,67,58,.12);
  --tp-shadow:0 18px 50px rgba(20,48,41,.12);
  --tp-spring:cubic-bezier(.16,1,.3,1);
}

/* Baseline quality: more consistent keyboard focus and tactile controls. */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(18,146,119,.22)!important;outline-offset:2px}
::selection{background:rgba(16,145,116,.18);color:#11362f}
body:not(.admin-body) :where(.panel,.portal-category-card,.marketplace-card,.home-news-card,.service-card,.search-result-card){transition:transform .22s var(--tp-spring),box-shadow .22s ease,border-color .22s ease}
body:not(.admin-body) :where(input,select,textarea){transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
body:not(.admin-body) :where(input,select,textarea):focus{border-color:rgba(11,125,105,.48)!important;box-shadow:0 0 0 4px rgba(11,125,105,.08)!important}
@media(hover:hover) and (pointer:fine){
  body:not(.admin-body) :where(.portal-category-card,.marketplace-card,.home-news-card,.service-card,.search-result-card):hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(22,52,45,.09)!important;border-color:rgba(11,125,105,.18)!important}
}

@media(max-width:900px){
  :root{--mobile-bar-h:72px}
  body:not(.admin-body){padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
  body:not(.admin-body) .main{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}

  /* Premium floating bottom command bar. */
  .mobile-command-nav{
    position:fixed!important;
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    height:72px!important;
    min-height:72px!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    gap:3px!important;
    padding:7px 5px!important;
    border:1px solid rgba(214,225,220,.9)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.91)!important;
    box-shadow:0 16px 46px rgba(21,48,42,.17),inset 0 1px 0 rgba(255,255,255,.82)!important;
    -webkit-backdrop-filter:blur(24px) saturate(1.3)!important;
    backdrop-filter:blur(24px) saturate(1.3)!important;
    overflow:visible!important;
    z-index:420!important;
  }
  .mobile-command-nav>a,.mobile-command-nav>button{
    position:relative!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-rows:30px 15px!important;
    place-items:center!important;
    align-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:58px!important;
    min-height:58px!important;
    padding:3px 1px!important;
    margin:0!important;
    gap:2px!important;
    border:0!important;
    border-radius:18px!important;
    background:transparent!important;
    color:#70807c!important;
    box-shadow:none!important;
    overflow:visible!important;
    -webkit-tap-highlight-color:transparent;
    transition:transform .2s var(--tp-spring),background-color .2s ease,color .2s ease!important;
  }
  .mobile-command-nav>a:active,.mobile-command-nav>button:active{transform:scale(.94)!important}
  .mobile-command-nav .nav-icon{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    width:31px!important;
    min-width:31px!important;
    height:31px!important;
    margin:0!important;
    border-radius:11px!important;
    background:transparent!important;
    color:inherit!important;
    transition:transform .22s var(--tp-spring),background-color .2s ease,color .2s ease!important;
  }
  .mobile-command-nav .nav-icon svg{width:21px!important;height:21px!important;stroke:currentColor!important;stroke-width:1.9!important;fill:none!important}
  .mobile-command-nav small{display:block!important;width:100%!important;font-size:9.5px!important;line-height:14px!important;font-weight:800!important;letter-spacing:-.025em!important;color:inherit!important;white-space:nowrap!important;overflow:hidden!important}
  .mobile-command-nav .is-active,.mobile-command-nav .is-sheet-active{background:rgba(232,246,241,.86)!important;color:var(--tp-green)!important}
  .mobile-command-nav .is-active .nav-icon,.mobile-command-nav .is-sheet-active .nav-icon{background:#dff2eb!important;color:#08715f!important;transform:translateY(-1px) scale(1.04)!important}
  .mobile-command-nav .is-sheet-active:after{content:"";position:absolute;left:50%;bottom:3px;width:4px;height:4px;border-radius:999px;background:var(--tp-green);transform:translateX(-50%)}

  .mobile-command-nav .mobile-create-command{height:58px!important;min-height:58px!important;margin:0!important;color:#1671c8!important;background:transparent!important;overflow:visible!important}
  .mobile-command-nav .mobile-create-command .nav-icon-create{
    width:46px!important;min-width:46px!important;height:46px!important;
    margin-top:-13px!important;margin-bottom:-7px!important;
    border:3px solid rgba(255,255,255,.98)!important;border-radius:16px!important;
    background:linear-gradient(145deg,#168be5,#2aa6ed)!important;color:#fff!important;
    box-shadow:0 10px 24px rgba(24,130,215,.28),0 0 0 1px rgba(21,116,198,.06)!important;
  }
  .mobile-command-nav .mobile-create-command .nav-icon-create svg{width:25px!important;height:25px!important;stroke-width:2.15!important}
  .mobile-command-nav .mobile-create-command small{margin:0!important;color:#176fbe!important}
  .mobile-command-nav .mobile-create-command.is-sheet-active{background:transparent!important}
  .mobile-command-nav .mobile-create-command.is-sheet-active .nav-icon-create{transform:rotate(45deg) scale(.98)!important;background:linear-gradient(145deg,#0a7d68,#18a184)!important;box-shadow:0 9px 24px rgba(9,121,100,.27)!important}
  .mobile-command-nav .mobile-create-command.is-sheet-active:after{display:none!important}
  .mobile-nav-badge{right:-6px!important;top:-5px!important;min-width:18px!important;height:18px!important;padding:0 5px!important;border:2px solid #fff!important;background:#e64848!important;font-size:9px!important;box-shadow:0 3px 9px rgba(170,42,42,.18)}

  /* Unified sheet system. */
  .mobile-command-backdrop{
    display:block!important;position:fixed!important;inset:0!important;z-index:390!important;
    background:rgba(10,28,23,.34)!important;opacity:0!important;visibility:hidden!important;
    -webkit-backdrop-filter:blur(0)!important;backdrop-filter:blur(0)!important;
    transition:opacity .26s ease,visibility .26s ease,backdrop-filter .32s ease!important;
  }
  .mobile-command-backdrop.is-open{opacity:1!important;visibility:visible!important;-webkit-backdrop-filter:blur(7px)!important;backdrop-filter:blur(7px)!important}
  .mobile-command-sheet{
    --sheet-drag-y:0px;
    display:block!important;box-sizing:border-box!important;position:fixed!important;
    left:max(9px,env(safe-area-inset-left,0px))!important;right:max(9px,env(safe-area-inset-right,0px))!important;
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;top:auto!important;
    width:auto!important;max-width:none!important;max-height:min(76dvh,650px)!important;
    margin:0!important;padding:9px 14px 16px!important;overflow:auto!important;overscroll-behavior:contain!important;
    border:1px solid rgba(216,228,223,.96)!important;border-radius:28px!important;
    background:rgba(255,255,255,.975)!important;
    box-shadow:0 28px 78px rgba(10,36,29,.23),inset 0 1px 0 rgba(255,255,255,.9)!important;
    -webkit-backdrop-filter:blur(26px) saturate(1.2)!important;backdrop-filter:blur(26px) saturate(1.2)!important;
    transform:translateY(30px) scale(.965)!important;transform-origin:50% 100%!important;
    opacity:0!important;visibility:hidden!important;
    transition:transform .36s var(--tp-spring),opacity .24s ease,visibility .24s ease!important;
    z-index:410!important;scrollbar-width:none!important;
  }
  .mobile-command-sheet::-webkit-scrollbar{display:none!important}
  .mobile-command-sheet.is-open{transform:translateY(var(--sheet-drag-y)) scale(1)!important;opacity:1!important;visibility:visible!important}
  .mobile-sheet-grabber{width:48px!important;height:5px!important;border-radius:999px!important;background:#d8e3df!important;margin:1px auto 11px!important;cursor:grab!important;touch-action:none!important}
  .mobile-sheet-grabber:active{cursor:grabbing!important;background:#bdcec8!important}
  .mobile-sheet-head{align-items:center!important;gap:12px!important;margin:0 0 13px!important}
  .mobile-sheet-head>div{min-width:0!important}
  .mobile-sheet-head h2{margin:2px 0 0!important;font-size:23px!important;line-height:1.05!important;letter-spacing:-.035em!important;color:var(--tp-ink)!important}
  .mobile-sheet-head small{display:block!important;margin-top:4px!important;color:var(--tp-muted)!important;font-size:10.5px!important;line-height:1.3!important}
  .mobile-sheet-head>button{flex:0 0 38px!important;width:38px!important;height:38px!important;border:1px solid #e2eae7!important;border-radius:13px!important;background:#f4f8f6!important;color:#52645f!important;font-size:22px!important;line-height:1!important;box-shadow:none!important}
  .mobile-sheet-head>button:active{transform:scale(.9)!important}

  /* Search / create / activity sheets get the same visual quality. */
  .mobile-command-sheet[data-mobile-sheet="search"]{max-height:min(64dvh,500px)!important}
  .mobile-search-head-clean>div{display:block!important}
  .mobile-sheet-search{height:54px!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:4px!important;padding:5px!important;border:1px solid #d8e5e0!important;border-radius:17px!important;background:#f9fcfb!important;box-shadow:inset 0 1px 2px rgba(23,56,48,.025)!important}
  .mobile-sheet-search input{height:42px!important;font-size:15px!important;color:#17352f!important}
  .mobile-sheet-search .btn{height:42px!important;min-height:42px!important;padding-inline:15px!important;border-radius:13px!important;background:linear-gradient(145deg,#0b826c,#14a384)!important;box-shadow:0 7px 18px rgba(12,128,106,.17)!important}
  .mobile-sheet-quick-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
  .mobile-sheet-quick-grid a{min-height:66px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px!important;border:1px solid var(--tp-line)!important;border-radius:17px!important;background:#fbfdfc!important;color:var(--tp-ink)!important;text-align:left!important}
  .mobile-sheet-quick-grid a>span{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:13px!important;background:var(--tp-green-soft)!important;color:var(--tp-green)!important;display:grid!important;place-items:center!important;font-size:18px!important}
  .mobile-sheet-quick-grid b{font-size:11.5px!important;line-height:1.2!important}

  .mobile-create-grid{gap:8px!important}
  .mobile-create-grid>a,.mobile-activity-grid a{border:1px solid var(--tp-line)!important;background:#fbfdfc!important;border-radius:18px!important;box-shadow:none!important}
  .mobile-create-grid>a>span,.mobile-activity-grid a>span{background:var(--tp-green-soft)!important;color:var(--tp-green)!important}
  .mobile-create-listing-block{border-radius:20px!important;border-color:rgba(12,126,104,.13)!important;background:linear-gradient(145deg,#f1faf6,#fbfdfc)!important;box-shadow:0 8px 22px rgba(20,76,63,.045)!important}
  .mobile-create-listing-head>span{background:linear-gradient(145deg,#0b846e,#18a184)!important;box-shadow:0 7px 17px rgba(10,130,106,.17)!important}
  .mobile-create-categories button{border-radius:14px!important;transition:transform .18s var(--tp-spring),background-color .18s ease,border-color .18s ease!important}
  .mobile-create-categories button:active{transform:scale(.97)!important;border-color:rgba(10,124,103,.25)!important}
  .mobile-activity-grid{gap:8px!important}
  .mobile-activity-grid .activity-primary{background:linear-gradient(145deg,#eef9f5,#f8fcfb)!important;border-color:rgba(12,130,105,.17)!important}

  /* More menu — account first, grouped navigation, readable cards. */
  .mobile-more-sheet-v3{max-height:min(80dvh,720px)!important;padding:9px 12px 17px!important}
  .mobile-more-head{position:sticky!important;top:-9px!important;z-index:5!important;margin:0 -3px 11px!important;padding:8px 3px 9px!important;background:linear-gradient(180deg,rgba(255,255,255,.99) 76%,rgba(255,255,255,0))!important}
  .mobile-more-head.has-shadow{box-shadow:0 10px 20px rgba(24,55,47,.05)!important}
  .mobile-more-account{display:grid;gap:9px;margin-bottom:17px;padding:12px;border:1px solid rgba(13,111,91,.13);border-radius:22px;background:linear-gradient(145deg,#eff9f5,#fbfdfc);box-shadow:0 8px 24px rgba(17,81,65,.055)}
  .mobile-more-account-main{display:grid!important;grid-template-columns:52px minmax(0,1fr) 24px!important;align-items:center!important;gap:11px!important;padding:1px!important;color:var(--tp-ink)!important;text-decoration:none!important}
  .mobile-more-avatar,.mobile-more-account-main .avatar{width:52px!important;height:52px!important;border-radius:17px!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:#dff2ea!important;color:#08735f!important;font-size:18px!important;font-weight:900!important}
  .mobile-more-account-copy{display:grid!important;min-width:0!important;gap:2px!important}
  .mobile-more-account-copy strong{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-more-account-copy small{font-size:10px!important;color:#71817d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-more-account-copy em{width:max-content!important;margin-top:3px!important;padding:4px 7px!important;border-radius:999px!important;font-size:9px!important;font-weight:850!important;font-style:normal!important}
  .mobile-more-account-copy em.verified{background:#dff3ea!important;color:#0a725f!important}.mobile-more-account-copy em.warning{background:#fff1d8!important;color:#96600c!important}
  .mobile-more-account-main>i{font-size:25px!important;font-style:normal!important;color:#8a9894!important}
  .mobile-more-account-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .mobile-more-account-actions a{min-width:0!important;display:grid!important;place-items:center!important;grid-template-columns:auto auto!important;justify-content:center!important;gap:5px!important;min-height:38px!important;padding:7px 5px!important;border:1px solid rgba(27,80,68,.1)!important;border-radius:13px!important;background:rgba(255,255,255,.82)!important;color:#39534d!important;text-decoration:none!important;font-size:10px!important}
  .mobile-more-account-actions a span{font-size:14px!important;color:var(--tp-green)!important}.mobile-more-account-actions a b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

  .mobile-more-guest{display:grid;gap:11px;margin-bottom:16px;padding:14px;border:1px solid rgba(14,111,92,.13);border-radius:20px;background:linear-gradient(145deg,#f2faf7,#fff)}
  .mobile-more-guest>div:first-child{display:flex;align-items:center;gap:10px}.mobile-more-guest>div:first-child>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e1f3ed;color:#0a7864;font-size:20px}.mobile-more-guest strong,.mobile-more-guest small{display:block}.mobile-more-guest small{margin-top:2px;color:var(--tp-muted);font-size:10px}.mobile-more-guest-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.mobile-more-guest-actions .btn{width:100%!important;text-align:center!important}

  .mobile-menu-group{margin-top:15px!important}
  .mobile-menu-group-title{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:10px!important;margin:0 2px 8px!important}
  .mobile-menu-group-title span{font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.075em!important;color:#31544b!important}.mobile-menu-group-title small{font-size:9px!important;color:#8a9994!important}
  .mobile-more-grid-v3{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .mobile-more-grid-v3>a{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;justify-items:start!important;gap:1px 10px!important;min-height:66px!important;padding:10px!important;border:1px solid var(--tp-line)!important;border-radius:17px!important;background:#fbfdfc!important;color:var(--tp-ink)!important;text-align:left!important;text-decoration:none!important;transition:transform .18s var(--tp-spring),background-color .18s ease,border-color .18s ease!important}
  .mobile-more-grid-v3>a:active{transform:scale(.975)!important;background:#f0f8f5!important;border-color:rgba(11,125,105,.21)!important}
  .mobile-more-grid-v3>a>.mmi{position:relative!important;grid-row:1/3!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background:#edf7f3!important;color:#0b7d69!important;font-size:19px!important;line-height:1!important}
  .mobile-more-grid-v3>a>.mmi>i{position:absolute!important;right:-5px!important;top:-5px!important;min-width:17px!important;height:17px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border:2px solid #fff!important;border-radius:999px!important;background:#e64b4b!important;color:#fff!important;font-size:8px!important;font-style:normal!important;font-weight:900!important}
  .mobile-more-grid-v3>a>div{min-width:0!important;display:grid!important;gap:2px!important}.mobile-more-grid-v3 b{font-size:12px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.mobile-more-grid-v3 small{display:block!important;font-size:9.5px!important;line-height:1.2!important;color:#82908c!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mmi-catalog{background:#eef4ff!important;color:#2965b5!important}.mmi-auto{background:#f2f5ff!important;color:#596cb1!important}.mmi-realty{background:#fff4e7!important;color:#a66d22!important}.mmi-favorite{background:#fff0f1!important;color:#b44c5b!important}.mmi-message{background:#eef5ff!important;color:#376aa8!important}.mmi-forum{background:#f2f0ff!important;color:#6655a2!important}.mmi-news{background:#fff6e8!important;color:#a46f22!important}.mmi-support{background:#eff7f2!important;color:#40745c!important}

  .mobile-more-compact-list{display:grid!important;border:1px solid var(--tp-line)!important;border-radius:18px!important;background:#fbfdfc!important;overflow:hidden!important}
  .mobile-more-compact-list a{display:grid!important;grid-template-columns:32px minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;min-height:49px!important;padding:8px 11px!important;border-bottom:1px solid rgba(26,67,58,.08)!important;color:#28453e!important;text-decoration:none!important}
  .mobile-more-compact-list a:last-child{border-bottom:0!important}.mobile-more-compact-list a>span{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#eef7f3!important;color:var(--tp-green)!important}.mobile-more-compact-list a>b{font-size:11px!important}.mobile-more-compact-list a>i{font-style:normal!important;color:#9aa6a2!important;font-size:19px!important}
  .mobile-admin-panel-link-v3{display:grid!important;grid-template-columns:42px minmax(0,1fr) 20px!important;align-items:center!important;gap:10px!important;min-height:68px!important;margin-top:15px!important;padding:11px 13px!important;border:0!important;border-radius:19px!important;background:linear-gradient(145deg,#17352f,#245d51)!important;color:#fff!important;box-shadow:0 10px 25px rgba(19,61,52,.18)!important;text-decoration:none!important}.mobile-admin-panel-link-v3>span{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important}.mobile-admin-panel-link-v3>div{display:grid!important;gap:2px!important}.mobile-admin-panel-link-v3 b{font-size:12px!important}.mobile-admin-panel-link-v3 small{font-size:9.5px!important;color:rgba(255,255,255,.72)!important}.mobile-admin-panel-link-v3>i{font-size:18px!important;font-style:normal!important;color:rgba(255,255,255,.8)!important}

  html.mobile-sheet-active,html.mobile-sheet-active body{overflow:hidden!important;overscroll-behavior:none!important}
}

@media(max-width:390px){
  .mobile-command-nav{left:5px!important;right:5px!important;bottom:max(5px,env(safe-area-inset-bottom,0px))!important;border-radius:21px!important;padding-inline:3px!important}
  .mobile-command-nav small{font-size:8.8px!important}
  .mobile-command-nav .nav-icon{width:28px!important;min-width:28px!important;height:28px!important}
  .mobile-command-nav .mobile-create-command .nav-icon-create{width:42px!important;min-width:42px!important;height:42px!important}
  .mobile-command-sheet{left:6px!important;right:6px!important;bottom:calc(83px + env(safe-area-inset-bottom,0px))!important;padding-inline:10px!important;border-radius:24px!important}
  .mobile-more-grid-v3>a{grid-template-columns:38px minmax(0,1fr)!important;gap:1px 8px!important;padding:9px 8px!important}.mobile-more-grid-v3>a>.mmi{width:38px!important;height:38px!important;border-radius:12px!important}.mobile-more-grid-v3 b{font-size:11px!important}.mobile-more-grid-v3 small{font-size:9px!important}
  .mobile-more-account-actions a{grid-template-columns:1fr!important;gap:1px!important}.mobile-more-account-actions a span{font-size:13px!important}.mobile-more-account-actions a b{font-size:8.8px!important}
}

@media(prefers-reduced-motion:no-preference){
  html.tp-ui-ready body:not(.admin-body) .main>section,
  html.tp-ui-ready body:not(.admin-body) .main>.panel,
  html.tp-ui-ready body:not(.admin-body) .main>.ecosystem-page{animation:tpPageReveal5152 .46s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-sheet-head{animation:tpSheetItem5152 .36s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-create-grid>*:nth-child(1),.mobile-command-sheet.is-open .mobile-activity-grid>*:nth-child(1),.mobile-command-sheet.is-open .mobile-more-grid-v3>*:nth-child(1){animation:tpSheetItem5152 .38s .02s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-create-grid>*:nth-child(2),.mobile-command-sheet.is-open .mobile-activity-grid>*:nth-child(2),.mobile-command-sheet.is-open .mobile-more-grid-v3>*:nth-child(2){animation:tpSheetItem5152 .38s .045s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-create-grid>*:nth-child(3),.mobile-command-sheet.is-open .mobile-activity-grid>*:nth-child(3),.mobile-command-sheet.is-open .mobile-more-grid-v3>*:nth-child(3){animation:tpSheetItem5152 .38s .07s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-create-grid>*:nth-child(4),.mobile-command-sheet.is-open .mobile-activity-grid>*:nth-child(4),.mobile-command-sheet.is-open .mobile-more-grid-v3>*:nth-child(4){animation:tpSheetItem5152 .38s .095s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-more-account,.mobile-command-sheet.is-open .mobile-more-guest{animation:tpSheetItem5152 .4s .035s var(--tp-spring) both}
  .mobile-command-sheet.is-open .mobile-menu-group{animation:tpSheetItem5152 .42s .075s var(--tp-spring) both}
  .mobile-command-nav .mobile-create-command .nav-icon-create{animation:tpCreateBreathe5152 3.8s 1.2s ease-in-out infinite}
  .mobile-command-nav .mobile-create-command.is-sheet-active .nav-icon-create{animation:none}
}
@keyframes tpPageReveal5152{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tpSheetItem5152{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes tpCreateBreathe5152{0%,88%,100%{box-shadow:0 10px 24px rgba(24,130,215,.28),0 0 0 0 rgba(24,130,215,0)}93%{box-shadow:0 10px 24px rgba(24,130,215,.28),0 0 0 7px rgba(24,130,215,.08)}}

@media(prefers-reduced-motion:reduce){.mobile-command-sheet,.mobile-command-backdrop,.mobile-command-nav *{transition:none!important;animation:none!important}}


/* ---------- Source: upgrade-5153.css ---------- */
/* TestProject 5.153 — quality, readability and scale polish */
:root{--tp-153:#0b7d69;--tp-153-dark:#123d35;--tp-153-soft:#edf8f4;--tp-153-border:#dbe8e4}
/* Home search: lighter and cleaner on mobile */
.portal-search-hero-compact{padding:clamp(22px,4vw,38px)!important;border-radius:28px!important}
.hybrid-search-copy strong{font-size:clamp(26px,4.2vw,46px)!important;line-height:1.04!important;letter-spacing:-.035em!important;max-width:760px}
.portal-global-search{max-width:820px!important;min-height:64px!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(24,59,51,.07)!important}
.portal-global-search label{min-height:62px!important}.portal-global-search input{font-size:18px!important;font-weight:500!important}.portal-global-search .btn{min-height:50px!important;border-radius:15px!important;padding:0 24px!important}
.hybrid-discovery-rail{gap:8px!important}.hybrid-discovery-rail a{padding:10px 15px!important;font-size:13px!important;background:#fff!important}
/* Popular categories: force text above overlays (fix disappearing titles) */
.portal-category-card{isolation:isolate!important}.portal-category-card::after{z-index:1!important;pointer-events:none}.portal-category-card-backdrop{z-index:0!important}.portal-category-card-content{position:relative!important;z-index:4!important;color:#fff!important}.portal-category-card-content strong,.portal-category-card-content small{visibility:visible!important;opacity:1!important;color:#fff!important}.portal-category-card-content strong{text-shadow:0 2px 8px rgba(0,0,0,.72)!important}
/* News */
.portal-lead-story,.news-card{border-radius:22px!important;overflow:hidden!important;border:1px solid var(--tp-153-border)!important;background:#fff!important}.portal-lead-story img,.news-card-media img{aspect-ratio:16/10;object-fit:cover}.portal-story-list a{border-radius:16px!important;padding:10px!important;transition:.2s ease}.portal-story-list a:hover{background:#f5faf8!important}
/* Comments */
.comments-modern{max-width:980px;margin-inline:auto}.comment-composer-modern{border-radius:24px!important;background:linear-gradient(180deg,#fff,#fbfdfc)!important}.comment-composer-modern textarea{min-height:120px;border-radius:16px!important;padding:15px!important}.comment-list-modern{display:grid;gap:14px!important}.comment-list-modern .comment{position:relative;border:1px solid var(--tp-153-border)!important;border-radius:22px!important;padding:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(26,52,47,.045)!important}.comment-list-modern .comment.comment-reply{margin-left:46px!important;background:#f8fbfa!important}.comment-head{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap}.comment-head strong{font-size:15px}.comment p{font-size:16px;line-height:1.55;margin:12px 0!important}.comment .btn,.comment button{border-radius:10px!important}
/* Support: less marketing copy, more task focus */
.support-page-upgraded .support-hero-card{padding:24px!important}.support-page-upgraded .support-hero-copy h1{font-size:clamp(28px,4vw,42px)!important}.support-page-upgraded .support-hero-side{opacity:.9}.support-start-panel-rich{padding:22px!important}.support-topic-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}.support-topic{min-height:88px!important;border-radius:16px!important;padding:14px!important}
/* Profiles */
.public-profile-hero,.profile-hero-v3{border-radius:28px!important;border:1px solid var(--tp-153-border)!important;background:linear-gradient(145deg,#fff 0%,#f5fbf8 100%)!important;box-shadow:0 16px 48px rgba(20,53,45,.07)!important}.public-profile-avatar,.profile-avatar-v3{box-shadow:0 0 0 5px #fff,0 10px 28px rgba(11,125,105,.16)!important}.profile-message-btn{background:var(--tp-153-dark)!important}.profile-focus-card,.profile-status-card,.account-shortcuts-v3 a{border-radius:18px!important}
.account-privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.account-privacy-grid .check-row{margin:0!important;border:1px solid var(--tp-153-border);border-radius:16px;padding:14px;background:#fbfdfc}.account-privacy-grid .btn{grid-column:1/-1;justify-self:start}
/* Inbox */
.inbox-layout{gap:14px!important}.inbox-list,.inbox-detail{border-radius:22px!important}.inbox-thread{border-radius:14px!important;padding:13px!important}.inbox-thread.active{background:var(--tp-153-soft)!important;border-color:#b9ddd3!important}.message-list{padding:14px 4px!important;gap:9px!important}.message-bubble{max-width:min(76%,620px)!important;border-radius:18px 18px 18px 6px!important;padding:11px 14px!important;background:#f1f5f4!important}.message-bubble.is-mine{margin-left:auto!important;border-radius:18px 18px 6px 18px!important;background:#def3eb!important}.inbox-composer{position:sticky;bottom:88px;background:#fff;padding-top:10px;z-index:2}
/* Search page */
.search-hero,.search-page .panel{border-radius:22px!important}.search-form-modern input[type=search],.search-main-form input[type=search]{font-weight:500!important}.search-result-card{border-radius:18px!important;overflow:hidden!important;border:1px solid var(--tp-153-border)!important}
/* Logo / loader */
.brand-wordmark{background:linear-gradient(135deg,#0a806b,#0c6558)!important;box-shadow:0 8px 20px rgba(11,125,105,.18)!important}.site-loader-shell{border-radius:24px!important;box-shadow:0 24px 70px rgba(12,37,32,.14)!important}.site-loader-orbit{filter:drop-shadow(0 12px 20px rgba(11,125,105,.12))}.site-loader-mark{background:linear-gradient(145deg,#0b8c75,#086553)!important}
/* Admin for 70k+ */
.admin-sidebar-v2{box-shadow:18px 0 60px rgba(18,42,37,.09)!important}.admin-nav-search input{border-radius:13px!important}.admin-page-head{border-radius:22px!important}.admin-global-search{position:sticky;top:8px;z-index:12;backdrop-filter:blur(16px);box-shadow:0 14px 34px rgba(20,46,41,.08)!important}.admin-search-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr))!important}.admin-search-functions{border-color:#b8ded4!important;background:linear-gradient(180deg,#fff,#f3faf7)!important}.admin-mailing-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:16px}.admin-mailing-list{display:grid;gap:8px}.admin-mailing-list a{display:flex;justify-content:space-between;gap:15px;padding:13px;border:1px solid #e1e9e6;border-radius:14px;text-decoration:none;color:inherit}.admin-mailing-list small,.admin-mailing-list span{display:block;color:#66746f}.admin-mailing-control{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.admin-mailing-kpi{display:flex;gap:10px;flex-wrap:wrap}.admin-mailing-kpi span{padding:8px 11px;border-radius:12px;background:#f1f6f4}.admin-mailing-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.portal-search-hero-compact{padding:19px 16px!important;border-radius:22px!important}.hybrid-search-copy strong{font-size:28px!important}.portal-global-search{min-height:54px!important;border-radius:17px!important;padding:5px!important}.portal-global-search label{min-height:48px!important}.portal-global-search input{font-size:16px!important}.portal-global-search .btn{min-height:44px!important;padding:0 18px!important}.portal-category-card{flex-basis:146px!important;width:146px!important;height:112px!important;min-height:112px!important}.portal-category-card-content strong{font-size:13px!important}.comment-list-modern .comment.comment-reply{margin-left:18px!important}.account-privacy-grid{grid-template-columns:1fr}.admin-mailing-layout{grid-template-columns:1fr}.admin-mailing-control{display:block}.admin-mailing-actions{margin-top:14px}.support-page-upgraded .support-hero-side{display:none}.inbox-composer{bottom:94px}.message-bubble{max-width:88%!important}}


/* ---------- Source: upgrade-5154.css ---------- */
/* v5.154 — reliable listing creation + refined profile/create UI */
:root{--tp154-ink:#17342d;--tp154-green:#0b846e;--tp154-green2:#19a587;--tp154-soft:#f3faf7;--tp154-line:rgba(20,76,63,.12);--tp154-shadow:0 18px 48px rgba(22,63,54,.08)}

/* Dedicated listing creator: intentionally independent from marketplace result queries. */
.listing-create-page-5154{max-width:1160px;margin:0 auto;padding:30px 18px 120px;color:var(--tp154-ink)}
.listing-create-top-5154{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.listing-create-back-5154{display:inline-flex;align-items:center;gap:8px;color:#527069;text-decoration:none;font-weight:800}.listing-create-progress-5154{display:flex;align-items:center;gap:9px;color:#6c817b;font-size:13px;font-weight:750}.listing-create-progress-5154 i{width:72px;height:7px;border-radius:999px;background:linear-gradient(90deg,var(--tp154-green) 72%,#dfe9e5 72%)}
.listing-create-hero-5154{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:24px 26px;margin-bottom:18px;border:1px solid var(--tp154-line);border-radius:26px;background:linear-gradient(135deg,#fff 0%,#f4fbf8 100%);box-shadow:var(--tp154-shadow)}.listing-create-hero-5154 h1{font-size:clamp(30px,4vw,48px);line-height:1.04;margin:6px 0 8px;letter-spacing:-.035em}.listing-create-hero-5154 p{margin:0;color:#69817a}.listing-create-category-chip-5154{display:flex;align-items:center;gap:11px;min-width:220px;padding:13px 15px;border-radius:18px;background:#fff;border:1px solid var(--tp154-line);box-shadow:0 8px 24px rgba(24,75,63,.06)}.listing-create-category-chip-5154>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e9f7f2;color:var(--tp154-green);font-size:22px}.listing-create-category-chip-5154 div{display:grid;gap:2px}.listing-create-category-chip-5154 small{color:#80918c;font-size:11px}.listing-create-category-chip-5154 b{font-size:13px}
.listing-create-layout-5154{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.listing-create-card-5154{border:1px solid var(--tp154-line);border-radius:28px;background:#fff;box-shadow:var(--tp154-shadow);overflow:hidden}.listing-create-form-5154{display:grid}.listing-create-section-5154{padding:25px 26px;border-bottom:1px solid rgba(23,77,65,.08)}.listing-create-section-head-5154{display:flex;align-items:center;gap:12px;margin-bottom:18px}.listing-create-section-head-5154>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,var(--tp154-green),var(--tp154-green2));color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(13,132,110,.18)}.listing-create-section-head-5154 h2{margin:0;font-size:20px}.listing-create-section-head-5154 p{margin:2px 0 0;color:#80918c;font-size:12px}.listing-create-form-5154 .field{display:grid;gap:7px;margin-bottom:14px}.listing-create-form-5154 .field>span{font-size:12px;font-weight:850;color:#36584f}.listing-create-form-5154 input,.listing-create-form-5154 select,.listing-create-form-5154 textarea{width:100%;min-height:50px;border:1px solid #d7e2de;border-radius:15px;background:#fbfdfc;padding:13px 14px;font:inherit;color:#18362e;outline:0;transition:.2s ease}.listing-create-form-5154 textarea{resize:vertical;min-height:140px}.listing-create-form-5154 input:focus,.listing-create-form-5154 select:focus,.listing-create-form-5154 textarea:focus{border-color:#6bb7a5;box-shadow:0 0 0 4px rgba(13,132,110,.08);background:#fff}.listing-photo-drop-5154{display:flex;align-items:center;gap:14px;padding:18px;margin-bottom:16px;border:1.5px dashed #9ac9bd;border-radius:19px;background:#f5fbf8;cursor:pointer}.listing-photo-drop-5154 input{position:absolute;opacity:0;pointer-events:none}.listing-photo-drop-5154>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#fff;color:var(--tp154-green);font-size:28px;box-shadow:0 6px 18px rgba(17,72,60,.08)}.listing-photo-drop-5154 div{display:grid;gap:3px}.listing-photo-drop-5154 b{font-size:14px}.listing-photo-drop-5154 small{color:#788b86;font-size:11px}.listing-options-5154{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.listing-options-5154 label{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:13px;border:1px solid #dbe5e1;border-radius:17px;background:#fbfdfc;cursor:pointer}.listing-options-5154 input{position:absolute;inset:0;opacity:0;cursor:pointer}.listing-options-5154 label>span{grid-row:1/3;width:34px;height:34px;border-radius:11px;background:#eef8f4;display:grid;place-items:center}.listing-options-5154 label>b{font-size:12px}.listing-options-5154 label>small{font-size:10px;color:#83938f}.listing-options-5154 label:has(input:checked){border-color:#76b9a9;background:#edf9f5;box-shadow:0 0 0 3px rgba(13,132,110,.06)}.listing-create-submit-5154{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;background:#fbfdfc}.listing-create-submit-5154>div{display:grid;gap:3px}.listing-create-submit-5154 b{font-size:13px}.listing-create-submit-5154 small{color:#7a8c87;font-size:11px}.listing-create-submit-5154 .btn{min-height:50px;padding-inline:22px;border-radius:15px}.listing-create-aside-5154{display:grid;gap:10px;position:sticky;top:18px}.listing-create-tip-5154{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid var(--tp154-line);border-radius:19px;background:#fff;box-shadow:0 9px 25px rgba(22,70,59,.05)}.listing-create-tip-5154>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#edf8f4;color:var(--tp154-green);font-weight:900}.listing-create-tip-5154 div{display:grid;gap:3px;min-width:0}.listing-create-tip-5154 b{font-size:12px}.listing-create-tip-5154 small{font-size:10.5px;color:#7a8c87;overflow-wrap:anywhere}.listing-create-change-cat-5154{display:block;padding:13px 15px;text-align:center;border-radius:16px;border:1px solid var(--tp154-line);background:#f5faf8;color:var(--tp154-green);font-weight:850;text-decoration:none;font-size:12px}

/* Profile: less oversized, more dashboard-like, and easier to scan on a phone. */
.profile-page-v3{max-width:1180px;margin:0 auto;padding-inline:16px;padding-bottom:125px}.profile-hero-v3{position:relative;overflow:hidden;border-radius:26px!important;border:1px solid var(--tp154-line)!important;background:linear-gradient(135deg,#fff 20%,#f2faf7 100%)!important;box-shadow:var(--tp154-shadow)!important;padding:24px!important}.profile-hero-v3:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--tp154-green),#2f89dc,#58b9a4)}.profile-hero-person{align-items:center!important}.profile-avatar-v3{width:98px!important;height:98px!important;border-radius:28px!important;box-shadow:0 12px 28px rgba(18,58,50,.13)!important;border:6px solid #fff!important}.profile-title-line-v3 h1{font-size:clamp(28px,4vw,42px)!important;letter-spacing:-.035em!important}.profile-contact-line{font-size:13px!important}.profile-hero-actions-v3{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:20px!important}.profile-hero-actions-v3 .btn{min-height:44px!important;border-radius:14px!important;padding:10px 14px!important;font-size:12px!important}.profile-hero-actions-v3 .btn:first-child{grid-column:1/-1!important}.profile-focus-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.profile-focus-card{min-height:112px!important;border-radius:21px!important;padding:15px!important;box-shadow:0 8px 24px rgba(25,70,60,.05)!important}.profile-focus-card>span{width:42px!important;height:42px!important;border-radius:13px!important}.profile-focus-card b{font-size:22px!important}.profile-focus-card strong{font-size:12px!important}.profile-focus-card small{font-size:10px!important}.profile-status-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.profile-status-card{border-radius:18px!important;padding:13px!important;min-height:72px!important}.account-shortcuts-v3{display:grid!important;grid-template-columns:repeat(7,minmax(115px,1fr))!important;gap:9px!important;overflow:auto!important;padding-bottom:4px!important;scrollbar-width:none}.account-shortcuts-v3::-webkit-scrollbar{display:none}.account-shortcuts-v3>a{min-width:118px!important;border-radius:18px!important;padding:13px!important}.profile-card-v3{border-radius:22px!important;box-shadow:0 10px 28px rgba(25,70,60,.05)!important}

/* Create bottom sheet: clearer step, compact category tiles, less visual bulk. */
.mobile-create-intro-5154{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:0 0 10px;border-radius:16px;background:linear-gradient(135deg,#eef9f5,#f9fcfb);border:1px solid rgba(13,132,110,.11)}.mobile-create-intro-5154 div{display:grid;gap:2px}.mobile-create-intro-5154 b{font-size:12px}.mobile-create-intro-5154 small{font-size:9.5px;color:#728680}.mobile-create-step-5154{white-space:nowrap;padding:5px 8px;border-radius:999px;background:#fff;color:var(--tp154-green);font-size:9px;font-weight:900;border:1px solid rgba(13,132,110,.13)}
.mobile-create-categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;max-height:42vh!important;overflow:auto!important;padding:2px 2px 6px!important}.mobile-create-categories button{min-height:58px!important;padding:9px 10px!important;border-radius:16px!important;border:1px solid rgba(26,74,63,.11)!important;background:#fff!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;text-align:left!important;box-shadow:0 5px 14px rgba(27,72,62,.035)!important}.mobile-create-categories button span{width:36px!important;height:36px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#eef8f4!important;color:var(--tp154-green)!important;font-size:18px!important}.mobile-create-categories button b{font-size:10.5px!important;line-height:1.2!important;color:#29463f!important}.mobile-create-categories button:active{transform:scale(.985)!important}.mobile-create-listing-block{padding:11px!important;border-radius:20px!important}.mobile-create-listing-head{display:none!important}.mobile-create-grid-v2>a{min-height:62px!important;border-radius:18px!important;padding:11px 12px!important}.mobile-create-grid-v2>a>span{width:38px!important;height:38px!important;border-radius:12px!important}.mobile-create-grid-v2>a b{font-size:11px!important}.mobile-create-grid-v2>a small{font-size:9px!important}

@media(max-width:760px){
 .listing-create-page-5154{padding:17px 10px 118px}.listing-create-top-5154{padding:0 4px}.listing-create-progress-5154 i{width:48px}.listing-create-hero-5154{padding:18px;border-radius:22px;align-items:flex-start}.listing-create-hero-5154 h1{font-size:30px}.listing-create-hero-5154 p{font-size:12px}.listing-create-category-chip-5154{display:none}.listing-create-layout-5154{grid-template-columns:1fr}.listing-create-aside-5154{position:static;grid-template-columns:1fr 1fr}.listing-create-aside-5154 .listing-create-tip-5154:first-child{grid-column:1/-1}.listing-create-change-cat-5154{grid-column:1/-1}.listing-create-card-5154{border-radius:23px}.listing-create-section-5154{padding:19px 16px}.listing-create-section-head-5154 h2{font-size:17px}.listing-create-section-head-5154 p{font-size:10.5px}.listing-create-form-5154 .form-grid-2{grid-template-columns:1fr!important}.listing-options-5154{grid-template-columns:1fr}.listing-create-submit-5154{position:sticky;bottom:calc(79px + env(safe-area-inset-bottom,0px));z-index:10;display:grid;padding:12px 14px;border-top:1px solid var(--tp154-line);box-shadow:0 -14px 30px rgba(20,58,50,.07)}.listing-create-submit-5154>div{display:none}.listing-create-submit-5154 .btn{width:100%}
 .profile-page-v3{padding-inline:10px}.profile-hero-v3{padding:17px!important;border-radius:22px!important}.profile-hero-person{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:13px!important}.profile-avatar-v3{width:76px!important;height:76px!important;border-radius:22px!important;border-width:4px!important}.profile-title-line-v3 h1{font-size:27px!important;line-height:1.05!important}.profile-identity-badges-v3{gap:5px!important}.profile-identity-badges-v3>*{font-size:9.5px!important;padding:5px 8px!important}.profile-contact-line{font-size:10.5px!important;line-height:1.35!important}.profile-hero-actions-v3{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:14px!important}.profile-hero-actions-v3 .btn{min-height:40px!important;padding:8px 9px!important;font-size:10.5px!important;border-radius:12px!important}.profile-focus-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.profile-focus-card{min-height:92px!important;padding:12px!important;border-radius:18px!important;display:grid!important;grid-template-columns:36px 1fr!important;gap:9px!important}.profile-focus-card>span{width:36px!important;height:36px!important}.profile-focus-card b{font-size:19px!important}.profile-focus-card strong{font-size:10.5px!important}.profile-focus-card small{display:none!important}.profile-status-strip{grid-template-columns:1fr 1fr!important;gap:8px!important}.profile-status-card{min-height:64px!important;padding:10px!important}.profile-status-card strong{font-size:10.5px!important}.profile-status-card small{font-size:8.8px!important}.account-shortcuts-v3{display:flex!important;gap:8px!important;margin-inline:-2px!important}.account-shortcuts-v3>a{min-width:116px!important;min-height:84px!important}.profile-main-grid-v3{grid-template-columns:1fr!important}.profile-card-v3{border-radius:20px!important;padding:17px!important}
 .mobile-command-sheet[data-mobile-sheet="create"]{padding-top:8px!important}.mobile-command-sheet[data-mobile-sheet="create"] .mobile-sheet-head{padding-bottom:8px!important}.mobile-command-sheet[data-mobile-sheet="create"] .mobile-sheet-head h2{font-size:22px!important}
}


/* ---------- Source: upgrade-5155.css ---------- */
/* v5.155 — messaging, listings, admin moderation, responsive dashboard */
:root{--tp-safe-bottom:max(12px,env(safe-area-inset-bottom));--tp-card-radius:24px;--tp-soft-border:rgba(16,65,55,.11)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:280px;overflow-x:hidden}img,video,canvas,svg{max-width:100%;height:auto}input,textarea,select,button{max-width:100%}
@supports(height:100dvh){.mobile-command-sheet{max-height:calc(100dvh - 72px)}}
@supports not ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))){.mobile-bottom-nav,.mobile-command-sheet{background:rgba(255,255,255,.98)!important}}

/* Direct user messaging */
.direct-message-page-5155{width:min(920px,calc(100% - 32px));margin:34px auto 110px}.direct-message-card-5155{padding:clamp(18px,3vw,32px);border-radius:28px}.direct-message-head-5155{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--tp-soft-border)}.direct-message-head-5155 h1{margin:2px 0 5px;font-size:clamp(26px,4vw,40px);line-height:1.05}.direct-message-avatar-5155{width:68px!important;height:68px!important;border-radius:22px!important}.direct-message-badges-5155{display:flex;gap:6px;flex-wrap:wrap}.direct-message-history-5155{display:flex;flex-direction:column;gap:10px;max-height:50vh;overflow:auto;padding:18px 4px;scrollbar-width:thin}.direct-message-bubble-5155{align-self:flex-start;max-width:min(78%,620px);padding:11px 14px;border-radius:18px 18px 18px 6px;background:#f2f6f5;border:1px solid rgba(16,65,55,.08)}.direct-message-bubble-5155.mine{align-self:flex-end;border-radius:18px 18px 6px 18px;background:linear-gradient(135deg,#e7f6f0,#edf9f5)}.direct-message-bubble-5155 small{display:block;color:#71827e;font-size:12px;margin-bottom:3px}.direct-message-bubble-5155 p{margin:0;white-space:normal;overflow-wrap:anywhere}.direct-message-empty-5155{display:grid;place-items:center;text-align:center;gap:6px;padding:28px 12px;color:#526762}.direct-message-empty-5155>span{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#edf8f4;color:#087b67;font-size:23px}.direct-message-composer-5155{display:grid;gap:9px;margin-top:14px}.direct-message-composer-5155 label{font-weight:800}.direct-message-composer-5155 textarea{min-height:112px;border-radius:18px;padding:15px 16px;resize:vertical}.direct-message-composer-footer-5155{display:flex;justify-content:space-between;align-items:center;gap:12px}.direct-message-composer-footer-5155 small{color:#71827e}.direct-message-verify-5155{display:grid;gap:8px;margin-top:18px;padding:18px;border-radius:20px;background:#f5f9f8}

/* Strong account dashboard */
.profile-hero-actions-5155{align-content:flex-start}.profile-command-center-5155{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:12px;margin:14px 0}.profile-command-center-5155>a{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;padding:18px 20px;border:1px solid var(--tp-soft-border);border-radius:22px;background:rgba(255,255,255,.88);box-shadow:0 10px 30px rgba(18,55,47,.055);text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.profile-command-center-5155>a:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(18,55,47,.09);border-color:rgba(8,123,103,.22)}.profile-command-center-5155 a>span{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:#627873}.profile-command-center-5155 a>strong{font-size:clamp(22px,3vw,31px);line-height:1;color:#123e35;overflow-wrap:anywhere}.profile-command-center-5155 a>small{color:#6c7d79}.profile-command-center-5155 .attention:after{content:"";position:absolute;right:14px;top:14px;width:9px;height:9px;border-radius:50%;background:#e79532;box-shadow:0 0 0 5px rgba(231,149,50,.12)}.profile-command-main-5155{background:linear-gradient(135deg,#0d7d68,#15947d)!important;color:white!important}.profile-command-main-5155 span,.profile-command-main-5155 small,.profile-command-main-5155 strong{color:white!important}.profile-listings-5155{margin:18px 0;padding:20px}.profile-listing-grid-5155{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-listing-grid-5155>a{display:grid;grid-template-rows:118px 1fr;overflow:hidden;border:1px solid var(--tp-soft-border);border-radius:18px;background:#fff;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.profile-listing-grid-5155>a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,55,47,.08)}.profile-listing-media-5155{display:grid;place-items:center;background:#eef4f2;overflow:hidden}.profile-listing-media-5155 img{width:100%;height:100%;object-fit:cover}.profile-listing-media-5155 i{font-size:30px;color:#6d837d}.profile-listing-grid-5155>a>div{display:grid;gap:5px;padding:12px}.profile-listing-grid-5155 strong{line-height:1.25}.profile-listing-grid-5155 small{color:#6f817c}

/* Seller / listings center */
.seller-page-5155{padding-bottom:100px}.seller-hero-5155{align-items:center}.seller-hero-actions-5155{display:flex;flex-wrap:wrap;gap:8px}.seller-section-head-5155{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 12px}.seller-section-head-5155 h2{margin:2px 0 0}.seller-list-5155{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seller-card-5155{display:grid;grid-template-columns:148px 1fr;gap:0;padding:0!important;overflow:hidden;border-radius:22px}.seller-card-media-5155{min-height:170px;background:linear-gradient(145deg,#edf4f2,#e5efec);display:grid;place-items:center;overflow:hidden}.seller-card-media-5155 img{width:100%;height:100%;object-fit:cover}.seller-card-media-5155>span{font-size:38px;color:#768b85}.seller-card-body-5155{display:flex;flex-direction:column;min-width:0;padding:16px}.seller-card-top-5155{display:flex;justify-content:space-between;gap:8px;align-items:center}.seller-card-top-5155 small{color:#7c8b87}.seller-card-body-5155 h3{font-size:20px;line-height:1.2;margin:12px 0 7px;overflow-wrap:anywhere}.seller-card-price-5155{font-size:20px;color:#123e35}.seller-card-meta-5155{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 15px;color:#70817c;font-size:13px}.seller-card-actions-5155{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px}.seller-card-actions-5155 form{display:inline-flex}.seller-empty-5155{grid-column:1/-1;display:grid;place-items:center;text-align:center;gap:10px;padding:40px}

/* Admin moderation */
.admin-listing-stats-5155{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.admin-listing-stats-5155>a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--tp-soft-border);border-radius:18px;background:#fff;text-decoration:none;color:inherit}.admin-listing-stats-5155 span{font-size:13px;color:#6d7d79}.admin-listing-stats-5155 strong{font-size:24px}.admin-bulk-bar-5155{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(170px,.7fr) minmax(240px,1.4fr) auto;gap:10px;align-items:center;margin:12px 0;padding:14px 16px}.admin-bulk-bar-5155>div{display:grid}.admin-bulk-bar-5155 small{color:#74847f}.admin-bulk-bar-5155 input,.admin-bulk-bar-5155 select{min-height:44px}.admin-listing-main-5155{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;min-width:220px}.admin-listing-main-5155 img,.admin-listing-placeholder-5155{width:58px;height:50px;border-radius:12px;object-fit:cover;background:#eef4f2;display:grid;place-items:center}.admin-listing-main-5155 strong{display:block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-listing-actions-5155{display:flex;flex-wrap:wrap;gap:6px}.admin-listing-actions-5155 form{display:inline-flex}.admin-listing-table-5155 td{vertical-align:middle}

/* Browser/device resilience */
.admin-main,.ecosystem-page,.profile-page-v3,.direct-message-page-5155{min-width:0}.table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.panel{max-width:100%}.mobile-bottom-nav{padding-bottom:var(--tp-safe-bottom)}
@media(max-width:1100px){.profile-command-center-5155{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-listing-grid-5155{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-list-5155{grid-template-columns:1fr}.admin-bulk-bar-5155{grid-template-columns:1fr 1fr}.admin-bulk-bar-5155>input{grid-column:1/-1}.admin-bulk-bar-5155>button{justify-self:start}.admin-listing-stats-5155{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--tp-card-radius:20px}.direct-message-page-5155{width:calc(100% - 20px);margin:14px auto 108px}.direct-message-card-5155{padding:16px;border-radius:22px}.direct-message-head-5155{grid-template-columns:auto minmax(0,1fr);gap:11px}.direct-message-head-5155>.btn{grid-column:1/-1;width:100%}.direct-message-avatar-5155{width:54px!important;height:54px!important;border-radius:18px!important}.direct-message-bubble-5155{max-width:88%}.profile-command-center-5155{grid-template-columns:1fr 1fr;gap:8px}.profile-command-center-5155>a{padding:14px;border-radius:18px}.profile-listing-grid-5155{grid-template-columns:1fr 1fr;gap:8px}.profile-listing-grid-5155>a{grid-template-rows:90px 1fr}.seller-card-5155{grid-template-columns:108px 1fr}.seller-card-media-5155{min-height:150px}.seller-card-body-5155{padding:13px}.seller-card-body-5155 h3{font-size:18px}.seller-section-head-5155{align-items:center}.admin-listing-stats-5155{grid-template-columns:1fr 1fr}.admin-bulk-bar-5155{grid-template-columns:1fr}.admin-bulk-bar-5155>input,.admin-bulk-bar-5155>button{grid-column:auto;width:100%}.admin-listing-table-5155 thead{display:none}.admin-listing-table-5155,.admin-listing-table-5155 tbody,.admin-listing-table-5155 tr,.admin-listing-table-5155 td{display:block;width:100%}.admin-listing-table-5155 tr{position:relative;padding:14px 12px;border-bottom:1px solid var(--tp-soft-border)}.admin-listing-table-5155 td{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;padding:5px 0!important;border:0!important}.admin-listing-table-5155 td:before{content:attr(data-label);font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#7a8b86;font-weight:800}.admin-listing-table-5155 td:first-child{position:absolute;right:12px;top:12px;width:auto;display:block}.admin-listing-table-5155 td:first-child:before{display:none}.admin-listing-main-5155{grid-template-columns:52px minmax(0,1fr);min-width:0}.admin-listing-main-5155 img,.admin-listing-placeholder-5155{width:52px;height:46px}.admin-listing-actions-5155{grid-column:2}.admin-listing-actions-5155 .btn{min-height:38px}}
@media(max-width:480px){input,textarea,select{font-size:16px}.profile-command-center-5155{grid-template-columns:1fr 1fr}.profile-command-center-5155 a>strong{font-size:21px}.profile-command-center-5155 a>small{font-size:11px}.profile-listing-grid-5155{grid-template-columns:1fr}.seller-card-5155{grid-template-columns:92px 1fr}.seller-card-media-5155{min-height:146px}.seller-card-actions-5155 .btn{width:100%;justify-content:center}.seller-card-actions-5155 form{width:100%}.seller-card-actions-5155 form .btn{width:100%}.admin-listing-stats-5155{grid-template-columns:1fr 1fr}.admin-listing-stats-5155>a{padding:12px}.admin-listing-stats-5155 span{font-size:11px}.admin-listing-stats-5155 strong{font-size:20px}}
@media(max-width:340px){.profile-command-center-5155,.admin-listing-stats-5155{grid-template-columns:1fr}.seller-card-5155{grid-template-columns:1fr}.seller-card-media-5155{min-height:150px;max-height:180px}}
@media(hover:none){.profile-command-center-5155>a:hover,.profile-listing-grid-5155>a:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.profile-command-center-5155>a,.profile-listing-grid-5155>a{transition:none!important}}


/* ---------- Source: upgrade-5156.css ---------- */
/* v5.156 — stronger marketplace readability, trusted automation, receipts */
.portal-category-card{isolation:isolate;overflow:hidden!important}
.portal-category-card .portal-category-card-backdrop{position:absolute!important;inset:0!important;z-index:0!important}
.portal-category-card::after{content:""!important;position:absolute!important;inset:auto 0 0!important;height:66%!important;background:linear-gradient(180deg,rgba(5,14,25,0),rgba(5,14,25,.92) 58%,rgba(5,14,25,.98))!important;z-index:1!important;pointer-events:none!important}
.portal-category-card-content{position:relative!important;z-index:2!important;height:100%!important;justify-content:flex-end!important;padding:0!important}
.portal-category-card-top{position:absolute!important;top:10px!important;left:10px!important;right:10px!important;z-index:3!important}
.portal-category-card-content>div:not(.portal-category-card-top){display:block!important;position:relative!important;z-index:4!important;background:linear-gradient(90deg,rgba(7,19,31,.80),rgba(7,19,31,.25))!important;border-radius:12px!important;padding:8px 10px!important;backdrop-filter:blur(3px)}
.portal-category-card strong{display:block!important;color:#fff!important;font-size:14px!important;font-weight:900!important;line-height:1.12!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;text-shadow:0 2px 10px rgba(0,0,0,.65)!important}
.portal-category-card small{display:block!important;color:rgba(255,255,255,.9)!important;font-size:10px!important;margin-top:3px!important}
.portal-category-card em{display:none!important}
@media(max-width:760px){.portal-category-card{height:132px!important;min-height:132px!important;flex-basis:166px!important}.portal-category-card strong{font-size:15px!important}.portal-category-card small{font-size:10px!important}.portal-category-grid-visual{gap:10px!important}}
@media(max-width:380px){.portal-category-card{height:122px!important;min-height:122px!important;flex-basis:150px!important}.portal-category-card strong{font-size:13px!important}}
.source-trust-box{display:grid;gap:8px;padding:12px;border:1px solid #dce7e3;border-radius:14px;background:#f7fbf9;margin:12px 0}
.automation-page-v5156 .scale-kpis{margin-bottom:18px}.automation-page-v5156 .inline-form{display:flex;gap:8px;flex-wrap:wrap}.automation-page-v5156 hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.receipt-page-v5156{max-width:820px;margin:30px auto;padding:28px}.receipt-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.receipt-head h1{margin:.2em 0}.receipt-amount{font-size:clamp(36px,7vw,66px);font-weight:950;letter-spacing:-.04em;margin:24px 0;color:#0a7c68}.receipt-amount span{font-size:.35em;letter-spacing:0}.receipt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.receipt-grid>div{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfcfc}.receipt-grid dt{font-size:12px;color:var(--muted);margin-bottom:5px}.receipt-grid dd{margin:0;font-weight:800;overflow-wrap:anywhere}.receipt-note{margin:18px 0;padding:16px;border-radius:16px;background:#f5f8f7}.receipt-actions{display:flex;gap:10px;flex-wrap:wrap}.referral-reward-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.referral-reward-grid>div{padding:14px;border-radius:14px;background:#f7faf9;display:grid;gap:5px}.referral-reward-grid strong{font-size:18px}.referral-reward-grid small{color:var(--muted)}.author-appeals-v5156 .admin-list-item{align-items:start}.author-appeals-v5156 p{max-width:760px}.author-appeals-v5156 form{min-width:min(360px,100%)}
@media(max-width:700px){.receipt-page-v5156{margin:12px 0;padding:18px}.receipt-head{display:grid}.receipt-grid{grid-template-columns:1fr}.referral-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{header,.site-header,.mobile-bottom-nav,.support-fab,footer,.receipt-actions,.receipt-head .btn{display:none!important}.receipt-page-v5156{box-shadow:none!important;border:0!important;margin:0!important;max-width:none!important}}


/* ---------- Source: upgrade-5157.css ---------- */

/* v5.157 — advertising surfaces, desktop refinement and OTP password reset */
:root{--v157-shell:1440px;--v157-glass:rgba(255,255,255,.94)}

/* Desktop: use the extra screen width without stretching reading content. */
@media (min-width:1180px){
 body:not(.admin-body) .shell{width:min(calc(100% - 64px),var(--v157-shell))!important;max-width:var(--v157-shell)!important}
 .top .top-in{min-height:82px!important;gap:22px!important}.top .brand{min-width:210px}.top .top-search{max-width:620px!important;flex:1 1 520px!important}
 .public-section-bar-in{min-height:52px}.main{padding-top:26px!important}.portal-home-v2{gap:38px!important}
 .portal-competitive-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}.portal-competitive-grid>a{min-height:152px!important;padding:22px!important}
 .portal-category-grid-visual{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}.portal-category-card{min-height:205px!important}
 .portal-listing-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.portal-news-market-grid{grid-template-columns:minmax(0,1.75fr) minmax(320px,.62fr)!important;gap:28px!important}
 .panel,.portal-category-card,.portal-listing-card,.portal-lead-story{box-shadow:0 8px 28px rgba(18,42,35,.045)}
 .footer-in{grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);align-items:start}.footer-links{justify-content:flex-end}
}
@media (min-width:1600px){body:not(.admin-body) .shell{width:min(calc(100% - 96px),1480px)!important;max-width:1480px!important}.top .top-search{max-width:690px!important}.portal-lead-story>img{min-height:310px}}
@media (min-width:900px) and (max-width:1179px){body:not(.admin-body) .shell{width:min(calc(100% - 36px),1120px)!important}.portal-competitive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.portal-category-grid-visual{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Advertising should look deliberately sponsored, not like broken content. */
.home-native-ad-5157:empty{display:none}.home-native-ad-5157 .ads-strip{margin:0!important}.home-native-ad-5157 .ad-card{min-height:140px!important;border-radius:22px!important;border-color:#dce4df!important;background:linear-gradient(135deg,#f8fbf9,#fff)!important}.home-native-ad-5157 .ad-copy{padding:16px 18px!important}.home-native-ad-5157 .ad-copy small{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.16);font-size:9px!important}.home-native-ad-5157 .ad-copy strong{font-size:17px!important}
.ad-format-native{min-height:160px!important}.ad-format-story{min-height:300px!important}.ad-format-rail{min-height:260px!important}.ad-format-sticky{min-height:84px!important}

.tp-ad-interstitial-5157{position:fixed;inset:0;z-index:10050;display:none;place-items:center;padding:clamp(14px,3vw,32px)}.tp-ad-interstitial-5157.is-visible{display:grid}.tp-ad-interstitial-backdrop-5157{position:absolute;inset:0;background:rgba(11,23,19,.64);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.tp-ad-interstitial-card-5157{position:relative;width:min(92vw,760px);max-height:min(86dvh,820px);overflow:hidden;border-radius:30px;background:#fff;box-shadow:0 34px 100px rgba(0,0,0,.32);animation:v157-ad-in .34s cubic-bezier(.2,.8,.2,1)}.tp-ad-sponsored-5157{position:absolute;left:18px;top:16px;z-index:3;display:flex;gap:7px;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(17,24,21,.72);color:#fff;backdrop-filter:blur(12px)}.tp-ad-sponsored-5157 span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.tp-ad-sponsored-5157 small{font-size:10px;opacity:.78}.tp-ad-interstitial-close-5157{position:absolute;right:14px;top:14px;z-index:4;border:1px solid rgba(255,255,255,.38);background:rgba(17,24,21,.72);color:#fff;border-radius:999px;padding:9px 13px;font:700 12px/1 system-ui;cursor:pointer;backdrop-filter:blur(12px)}.tp-ad-interstitial-close-5157[disabled]{cursor:default;opacity:.75}.tp-ad-interstitial-link-5157{display:block;color:inherit;text-decoration:none}.tp-ad-interstitial-link-5157 picture,.tp-ad-interstitial-link-5157 img{display:block;width:100%}.tp-ad-interstitial-link-5157 img{max-height:620px;min-height:360px;object-fit:cover;background:#eef2ef}.tp-ad-interstitial-copy-5157{position:absolute;left:0;right:0;bottom:0;padding:70px 26px 24px;color:#fff;background:linear-gradient(transparent,rgba(9,18,15,.88));display:flex;align-items:end;justify-content:space-between;gap:18px}.tp-ad-interstitial-copy-5157 strong{font-size:clamp(22px,4vw,34px);line-height:1.08;max-width:72%}.tp-ad-interstitial-copy-5157 span{font-size:13px;font-weight:900;white-space:nowrap}
@keyframes v157-ad-in{from{opacity:0;transform:translateY(20px) scale(.975)}to{opacity:1;transform:none}}

.tp-ad-sticky-5157{position:fixed;right:22px;bottom:22px;z-index:120;width:min(520px,calc(100vw - 44px));border:1px solid #dbe4de;border-radius:18px;background:var(--v157-glass);box-shadow:0 20px 58px rgba(15,39,31,.2);backdrop-filter:blur(16px);overflow:hidden;transition:.2s ease}.tp-ad-sticky-5157.is-dismissed{opacity:0;transform:translateY(16px);pointer-events:none}.tp-ad-sticky-5157>button{position:absolute;right:7px;top:7px;z-index:3;width:26px;height:26px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#405249;font-size:18px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.1)}.tp-ad-sticky-5157>a{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:88px;padding:8px 38px 8px 8px;color:inherit;text-decoration:none}.tp-ad-sticky-5157 img{width:112px;height:72px;object-fit:cover;border-radius:12px}.tp-ad-sticky-5157 span small,.tp-ad-sticky-5157 span strong{display:block}.tp-ad-sticky-5157 span small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#75847b}.tp-ad-sticky-5157 span strong{margin-top:3px;font-size:14px;line-height:1.2}.tp-ad-sticky-5157 a>b{font-size:12px;color:var(--accent)}

.tp-ad-desktop-rail-5157{display:none}@media(min-width:1820px){.tp-ad-desktop-rail-5157{position:fixed;right:18px;top:150px;z-index:30;display:grid;width:132px;gap:10px}.tp-ad-rail-label-5157{text-align:center;color:#87928c;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.tp-ad-desktop-rail-5157>a{display:grid;gap:7px;padding:7px;border:1px solid #dde4e0;border-radius:14px;background:#fff;color:#20342b;text-decoration:none;box-shadow:0 10px 28px rgba(20,35,29,.07)}.tp-ad-desktop-rail-5157 img{width:116px;height:150px;object-fit:cover;border-radius:9px}.tp-ad-desktop-rail-5157 strong{font-size:10px;line-height:1.25}}

/* Password reset: three clear steps, large OTP cells and compact security notes. */
.password-reset-shell-5157{width:min(100%,620px);margin:28px auto 70px}.password-reset-card-5157{padding:clamp(22px,4vw,34px);border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 24px 70px rgba(18,39,31,.08)}.password-reset-brand-5157{display:flex;gap:14px;align-items:center}.password-reset-brand-5157>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#eaf6f2;font-size:24px}.password-reset-brand-5157 h1{margin:2px 0 0;font-size:clamp(27px,4vw,38px);letter-spacing:-.035em}.password-reset-steps-5157{display:flex;align-items:center;gap:7px;margin:24px 0 20px;padding:10px;border-radius:16px;background:#f5f8f6}.password-reset-steps-5157 span{display:flex;align-items:center;gap:6px;color:#829087;font-size:12px;font-weight:800}.password-reset-steps-5157 span b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e5ebe7}.password-reset-steps-5157 span.active{color:#0a725d}.password-reset-steps-5157 span.active b,.password-reset-steps-5157 span.done b{background:#0b866e;color:#fff}.password-reset-steps-5157 i{font-style:normal;color:#adb7b1}.password-reset-lead-5157{color:#5e6d65;line-height:1.65;margin:0 0 20px}.password-reset-code-5157{font:800 34px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.26em;text-align:center;padding-left:.26em!important}.password-reset-actions-5157{display:flex;justify-content:space-between;gap:12px;margin-top:15px}.password-reset-actions-5157 form{margin:0}.password-reset-actions-5157 .quiet-link{border:0;background:none;color:var(--accent);font-weight:800;cursor:pointer}.password-reset-security-5157{display:flex;gap:10px;padding:14px;margin-top:22px;border-radius:16px;background:#f6f8f7;color:#56665d}.password-reset-security-5157>span{font-size:20px}.password-reset-security-5157 p{margin:0}.password-reset-security-5157 b,.password-reset-security-5157 small{display:block}.password-reset-security-5157 small{margin-top:3px;line-height:1.45}.password-reset-back-5157{display:inline-block;margin-top:18px;color:#65746b;font-weight:750}.password-reset-success-5157{text-align:center;padding:24px 0}.password-reset-success-5157>span{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:#e2f6ef;color:#08765f;font-size:32px;font-weight:900}.password-reset-success-5157 h2{font-size:30px;margin:0 0 8px}

@media(max-width:760px){.tp-ad-interstitial-5157{padding:10px}.tp-ad-interstitial-card-5157{width:100%;max-height:82dvh;border-radius:24px}.tp-ad-interstitial-link-5157 img{min-height:390px;max-height:72dvh}.tp-ad-interstitial-copy-5157{padding:72px 18px 20px;display:block}.tp-ad-interstitial-copy-5157 strong{display:block;max-width:none;font-size:24px}.tp-ad-interstitial-copy-5157 span{display:block;margin-top:8px}.tp-ad-sponsored-5157 small{display:none}.tp-ad-sticky-5157{right:8px;left:8px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto}.tp-ad-sticky-5157>a{grid-template-columns:82px minmax(0,1fr);min-height:74px}.tp-ad-sticky-5157 img{width:82px;height:58px}.tp-ad-sticky-5157 a>b{display:none}.password-reset-shell-5157{margin-top:14px}.password-reset-card-5157{border-radius:21px}.password-reset-steps-5157{justify-content:space-between}.password-reset-steps-5157 span{font-size:10px;gap:4px}.password-reset-steps-5157 span b{width:21px;height:21px}.password-reset-code-5157{font-size:30px!important}.password-reset-actions-5157{align-items:flex-start;flex-direction:column}}

@media(prefers-reduced-motion:reduce){.tp-ad-interstitial-card-5157{animation:none}.tp-ad-sticky-5157{transition:none}}

.ad-surface-guide-5157{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 22px}.ad-surface-guide-5157>div{padding:16px;border:1px solid #dce5df;border-radius:17px;background:#fff}.ad-surface-guide-5157 span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf6f2;color:#08745f;font-size:19px}.ad-surface-guide-5157 b,.ad-surface-guide-5157 small{display:block}.ad-surface-guide-5157 b{margin-top:10px;font-size:14px}.ad-surface-guide-5157 small{margin-top:4px;color:#6d7b73;line-height:1.45}
@media(max-width:900px){.ad-surface-guide-5157{grid-template-columns:1fr 1fr}}@media(max-width:560px){.ad-surface-guide-5157{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.ad-surface-guide-5157>div{flex:0 0 78vw;scroll-snap-align:start}}

.tp-ad-interstitial-placeholder-5157{min-height:420px;background:radial-gradient(circle at 80% 10%,#2e8c73 0,transparent 34%),linear-gradient(145deg,#112e26,#1a4a3c);display:grid;place-items:center;color:rgba(255,255,255,.12);font-size:72px;font-weight:950;letter-spacing:-.06em}.tp-ad-interstitial-placeholder-5157 span{transform:rotate(-7deg)}


/* ---------- Source: upgrade-5158.css ---------- */
/* v5.158 — instant listings, single search, post-control, retention and promotion */
:root{
  --v158-radius:22px;
  --v158-soft:#f5f8f7;
  --v158-line:#dbe6e2;
  --v158-ink:#102923;
  --v158-accent:#087d67;
  --v158-accent-2:#12a486;
  --v158-danger:#b42318;
  --v158-shadow:0 18px 48px rgba(12,45,38,.10);
}
html{scroll-padding-top:112px}
body{overflow-wrap:anywhere}
img,video,canvas,svg{max-width:100%}
input,select,textarea,button{max-width:100%;font:inherit}

/* One global search: the footer command focuses this header search instead of opening another sheet. */
.top .top-in{align-items:center}
.top .top-search{
  min-width:260px!important;
  border:1px solid rgba(11,70,59,.16)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 8px 24px rgba(15,54,46,.07)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.top .top-search:focus-within{border-color:rgba(8,125,103,.55)!important;box-shadow:0 0 0 4px rgba(8,125,103,.10),0 12px 32px rgba(15,54,46,.10)!important;transform:translateY(-1px)}
.top .top-search input{min-width:0!important;font-weight:600!important}
.top .top-search button{border-radius:13px!important;min-width:42px!important}
.mobile-command-sheet[data-mobile-sheet="search"]{display:none!important}
[data-focus-top-search].is-active .nav-icon{transform:none!important}

/* Listing publication / promotion */
.listing-promote-choice-5158{
  margin:12px 0 16px!important;padding:14px 16px!important;border:1px solid rgba(8,125,103,.20)!important;
  border-radius:18px!important;background:linear-gradient(135deg,rgba(8,125,103,.07),rgba(18,164,134,.025))!important;
}
.listing-promote-choice-5158 strong{color:var(--v158-ink)}
.listing-promote-choice-5158 small{display:block;margin-top:3px;color:#6a7d78;line-height:1.4}
.promotion-chip-5158{display:inline-flex!important;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:#e5faf3;color:#08745f;font-weight:800;font-size:12px}
.promote-btn-5158{border-color:rgba(8,125,103,.24)!important;background:#effaf7!important;color:#076f5c!important}
.admin-autopublish-note-5158,.blocked-retention-notice-5158{border-color:rgba(8,125,103,.18)!important;background:linear-gradient(135deg,#f1fbf8,#fff)!important}
.blocked-delete-date-5158{color:var(--v158-danger);font-variant-numeric:tabular-nums}

/* Staff identity: compact platform check for moderators/admins. */
.verified-staff{
  display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;
  width:20px;height:20px;margin-left:5px;border-radius:50%;background:linear-gradient(135deg,#087d67,#0b9a7e);color:#fff!important;
  font-size:12px!important;font-weight:900!important;box-shadow:0 3px 10px rgba(8,125,103,.20)
}

/* Promotion screen */
.promotion-page-5158{display:grid;gap:18px}
.promotion-hero-5158{border:1px solid rgba(8,125,103,.16)!important;background:linear-gradient(145deg,#f2fbf8 0,#fff 56%,#f7fbff 100%)!important;box-shadow:var(--v158-shadow)}
.promotion-hero-5158 h1{max-width:760px}
.promotion-page-5158 .panel{border-radius:var(--v158-radius)!important}

/* Better scale on tablets and desktops. */
@media (min-width:1180px){
  body:not(.admin-body) .shell{width:min(calc(100% - 64px),1440px)!important;max-width:1440px!important}
  .top .top-in{display:grid!important;grid-template-columns:minmax(190px,250px) minmax(340px,680px) minmax(280px,1fr)!important;gap:20px!important}
  .top .top-spacer{display:none!important}
  .top .top-search{width:100%!important;max-width:680px!important;justify-self:center!important}
  .top .top-actions{justify-self:end;min-width:0;max-width:100%}
  .admin-main{min-width:0}
  .admin-page-head{gap:28px}
  .admin-filter-main{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
}
@media (min-width:1600px){
  body:not(.admin-body) .shell{width:min(calc(100% - 96px),1540px)!important;max-width:1540px!important}
  .top .top-in{grid-template-columns:250px minmax(420px,740px) minmax(320px,1fr)!important}
  .top .top-search{max-width:740px!important}
}

/* Tablets: preserve a real search field without crowding account actions. */
@media (min-width:761px) and (max-width:1179px){
  body:not(.admin-body) .shell{width:min(calc(100% - 32px),1080px)!important}
  .top .top-in{display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(300px,1.55fr) auto!important;gap:12px!important}
  .top .top-spacer{display:none!important}
  .top .top-search{display:flex!important;width:100%!important;min-width:0!important;max-width:none!important}
  .top .top-actions{min-width:0!important;gap:7px!important}
  .account-top-name,.author-top-cta,.admin-top-text{display:none!important}
  .top .account-top-link,.top .admin-top-link{min-width:44px!important;width:44px!important;height:44px!important;padding:0!important;justify-content:center!important}
  .admin-grid-2,.form-grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}

/* Phone header: brand/actions first row, the only search is directly under it. */
@media (max-width:760px){
  :root{--v158-mobile-gutter:14px}
  html{scroll-padding-top:132px}
  body:not(.admin-body) .shell{width:calc(100% - (var(--v158-mobile-gutter) * 2))!important;max-width:none!important}
  .top{padding-bottom:9px!important}
  .top .top-in{
    width:calc(100% - (var(--v158-mobile-gutter) * 2))!important;max-width:none!important;margin-inline:auto!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px!important;padding:8px 0 0!important;min-height:0!important;
  }
  .top .brand{grid-column:1!important;grid-row:1!important;min-width:0!important;max-width:100%!important;overflow:hidden}
  .top .brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top .top-spacer{display:none!important}
  .top .top-actions{grid-column:2!important;grid-row:1!important;min-width:0!important;gap:6px!important;justify-content:flex-end!important}
  .top .top-search{
    grid-column:1/-1!important;grid-row:2!important;display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;
    height:50px!important;margin:0!important;padding:5px 6px 5px 13px!important;border-radius:16px!important;
  }
  .top .top-search input{display:block!important;font-size:16px!important;padding:0 6px!important;line-height:1.2!important}
  .top .top-search kbd{display:none!important}
  .top .top-search button{display:inline-flex!important;width:42px!important;height:40px!important;min-width:42px!important}
  .top .account-top-name,.top .author-top-cta,.top .admin-top-text,.top .guest-register-cta{display:none!important}
  .top .account-top-link,.top .admin-top-link{min-width:43px!important;width:43px!important;height:43px!important;padding:0!important;justify-content:center!important}
  .top .guest-actions{gap:6px!important}
  .public-section-bar{margin-top:0!important}
  .mobile-command-sheet{max-height:min(84dvh,760px)!important}
  .panel,.admin-panel{border-radius:20px!important}
  .two,.form-grid-2,.admin-grid-2{grid-template-columns:1fr!important}
  .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;max-width:100%}
  .table{min-width:720px}
  .admin-page-head{align-items:flex-start!important;gap:12px!important}
  .admin-page-head h1{font-size:clamp(27px,8vw,38px)!important;line-height:1.04!important}
  .admin-head-actions{width:100%;display:flex;overflow-x:auto;gap:8px;padding-bottom:3px;scrollbar-width:none}
  .admin-head-actions::-webkit-scrollbar{display:none}
  .admin-head-actions .btn{flex:0 0 auto}
  .promotion-page-5158{gap:12px}
  .promotion-hero-5158{padding:18px!important}
}
@media (max-width:390px){
  :root{--v158-mobile-gutter:10px}
  .top .brand{font-size:18px!important}
  .top .brand-wordmark,.top .site-logo-image{width:42px!important;height:42px!important;min-width:42px!important}
  .top .account-top-link,.top .admin-top-link{width:40px!important;height:40px!important;min-width:40px!important}
  .top .top-search{height:48px!important}
  .mobile-nav small{font-size:11px!important}
  .mobile-command-sheet{border-radius:24px 24px 0 0!important}
}

/* Admin tables become usable instead of visually broken on narrow screens. */
@media (max-width:680px){
  .security-admin-page .table,.admin-main .user-control-table,.admin-main .market-admin-table{min-width:760px!important}
  .user-control-stats,.security-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .admin-filter-bar{padding:14px!important}
  .admin-filter-main{grid-template-columns:1fr!important}
}

/* Dynamic viewport / old browser fallback. */
@supports (height:100dvh){.mobile-command-sheet{max-height:calc(100dvh - 78px)}}
@supports not (backdrop-filter:blur(2px)){
  .mobile-nav,.mobile-command-sheet,.top{background:rgba(255,255,255,.985)!important}
}
@supports not (display:grid){
  .top .top-in{display:flex!important;flex-wrap:wrap!important}.top .top-search{flex:1 1 100%!important}
}
@media (prefers-reduced-motion:reduce){
  .top .top-search,.verified-staff,.mobile-command-sheet,*[class*="5158"]{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* 5.158 device hardening: keep the interface calm from compact phones to ultrawide monitors. */
@media (pointer:coarse){
  button,.btn,a.btn,input[type="button"],input[type="submit"],.mobile-nav button,.mobile-nav a{min-height:44px}
  input,select,textarea{font-size:16px}
}
@media (max-width:1024px){
  .main{min-width:0!important}
  .grid,.cards,.news-list,.market-grid,.catalog-grid{min-width:0}
  .panel,.card,.news-card,.listing-card{min-width:0;max-width:100%}
  .section-head{gap:10px;align-items:flex-end;flex-wrap:wrap}
  .section-head h1,.section-head h2{min-width:0}
}
@media (max-width:760px) and (orientation:landscape){
  .top .top-in{grid-template-columns:minmax(140px,.8fr) minmax(240px,1.4fr) auto!important;align-items:center!important;padding-top:5px!important}
  .top .brand{grid-column:1!important;grid-row:1!important}
  .top .top-search{grid-column:2!important;grid-row:1!important;height:44px!important}
  .top .top-actions{grid-column:3!important;grid-row:1!important}
  .mobile-command-sheet{max-height:calc(100dvh - 62px)!important}
}
@media (min-width:1180px){
  .main{padding-inline:0!important}
  .market-grid,.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
  .news-list{max-width:1180px}
  .admin-shell{grid-template-columns:minmax(230px,280px) minmax(0,1fr)!important;gap:24px!important}
  .admin-main>.panel,.admin-main>.table-wrap{max-width:none!important}
}
@media (min-width:1900px){
  body:not(.admin-body) .shell{width:min(calc(100% - 120px),1660px)!important;max-width:1660px!important}
  .top .top-in{grid-template-columns:270px minmax(480px,800px) minmax(360px,1fr)!important}
  .top .top-search{max-width:800px!important}
}
@media (max-width:560px){
  .main{padding-left:max(0px,env(safe-area-inset-left));padding-right:max(0px,env(safe-area-inset-right))}
  .section-head>a,.section-head>.btn{flex:0 0 auto}
  .form-actions,.admin-form-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .form-actions .btn,.admin-form-actions .btn{width:100%!important;justify-content:center!important}
  .listing-card-actions,.table-actions{gap:6px!important}
  .listing-card-actions .btn{flex:1 1 auto!important}
  .mobile-nav{padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}
}
@media (max-width:340px){
  :root{--v158-mobile-gutter:7px}
  .top .brand>span:last-child{display:none!important}
  .top .top-actions{gap:4px!important}
  .top .top-search{padding-left:9px!important}
  .mobile-nav small{font-size:10px!important}
}
@media print{
  .mobile-nav,.support-fab,.top .top-search,.admin-nav{display:none!important}
  body,.panel{background:#fff!important;box-shadow:none!important}
}
.listing-owner-actions-5158{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.listing-owner-actions-5158 .btn{width:100%;justify-content:center}.mobile-owner-actions-5158{display:flex;gap:7px;min-width:0}.mobile-owner-actions-5158 .btn{flex:1 1 auto;min-width:0;padding-inline:10px}
@media(max-width:420px){.listing-owner-actions-5158{grid-template-columns:1fr}.mobile-owner-actions-5158{gap:5px}.mobile-owner-actions-5158 .btn{font-size:12px}}

/* Post-control / moderation rules */
.moderation-policy-summary-5158{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.moderation-policy-summary-5158 .panel{display:flex;gap:12px;align-items:flex-start;padding:17px!important}.moderation-policy-summary-5158 article>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:13px;background:#eef8f5;font-size:20px}.moderation-policy-summary-5158 b,.moderation-policy-summary-5158 small{display:block}.moderation-policy-summary-5158 small{margin-top:4px;color:#6c7c78;line-height:1.45}.moderation-policy-summary-5158 .is-success{border-color:rgba(8,125,103,.24)!important;background:linear-gradient(140deg,#f0fbf8,#fff)!important}.policy-grid-5158{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:14px}.policy-grid-5158 .policy-card{min-width:0;padding:18px!important}.policy-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.moderation-lock-note-5158{display:grid;gap:3px;margin:12px 0;padding:12px 13px;border-radius:14px;background:#eef9f6;color:#0d5549}.moderation-rules-guide-5158{margin-top:16px}.moderation-guide-grid-5158{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.moderation-guide-grid-5158>div{padding:14px;border:1px solid var(--v158-line);border-radius:15px;background:#fafcfb}.moderation-guide-grid-5158 b,.moderation-guide-grid-5158 span{display:block}.moderation-guide-grid-5158 span{margin-top:4px;color:#687a75;line-height:1.5}

/* Audit log readable at scale. */
.admin-audit-filter-5158{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr)) auto;gap:10px;align-items:end}.admin-audit-filter-5158 label{display:grid;gap:5px;min-width:0}.admin-audit-filter-5158 label>span{font-size:12px;font-weight:800;color:#60726d}.admin-audit-summary-5158{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0;color:#61736e}.admin-log-table-5158 pre{max-width:420px;max-height:220px;overflow:auto;white-space:pre-wrap}.audit-change-summary{margin-top:4px;font-size:12px;color:#667873}.audit-periods{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px}.audit-periods a{white-space:nowrap;padding:8px 11px;border:1px solid #dce7e3;border-radius:999px;text-decoration:none;color:#546963;font-weight:750}.audit-periods a.active{background:#eaf8f4;color:#06715d;border-color:#b9e3d8}
@media(max-width:1100px){.moderation-policy-summary-5158{grid-template-columns:1fr}.admin-audit-filter-5158{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-audit-filter-5158 .admin-filter-actions{grid-column:1/-1}}
@media(max-width:680px){.policy-grid-5158,.moderation-guide-grid-5158,.admin-audit-filter-5158{grid-template-columns:1fr}.moderation-rules-guide-5158 .panel-head{align-items:flex-start;gap:10px}.admin-audit-summary-5158{align-items:flex-start;flex-direction:column}.admin-log-table-5158{min-width:960px!important}}


/* ---------- Source: upgrade-5159.css ---------- */
/* v5.159 — visual reliability, device adaptation, support/messages/admin polish */
:root{--v159-accent:#087c68;--v159-accent-2:#0aa181;--v159-ink:#10251f;--v159-muted:#667a73;--v159-line:#dbe7e3;--v159-soft:#f1f8f6;--v159-card:#fff;--v159-shadow:0 14px 38px rgba(20,70,58,.075);--v159-shadow-lg:0 24px 68px rgba(20,70,58,.11);--v159-radius:20px}
html{scroll-padding-top:110px}
body{color:var(--v159-ink);background:linear-gradient(180deg,#f7faf9 0,#f4f7f6 100%)}
body:not(.admin-body) .main{padding-bottom:max(132px,calc(112px + env(safe-area-inset-bottom)))}
.panel,.auth-card,.product-card,.marketplace-card,.article,.notification-card{border-color:var(--v159-line)!important;box-shadow:var(--v159-shadow);border-radius:var(--v159-radius)!important}
.btn{border-radius:13px!important;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(8,124,104,.14)!important}
.btn:active{transform:translateY(0) scale(.985)}

/* Stable Belarusian brand. A broken uploaded logo can never replace the wordmark. */
.brand-5159{display:flex!important;align-items:center;gap:10px!important;min-width:0!important;max-width:min(360px,42vw)!important;text-decoration:none!important;color:var(--v159-ink)!important}
.brand-symbol-5159{position:relative;display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:linear-gradient(145deg,#087c68,#12a084);color:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(8,124,104,.18)}
.brand-symbol-5159 img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important;background:#fff}
.brand-symbol-5159 b{font-size:20px;font-weight:950;line-height:1}
.brand-symbol-5159 img:not([style*="display: none"])+b{opacity:0}
.brand-symbol-5159.is-fallback b{opacity:1}
.brand-name-5159{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:900;letter-spacing:-.025em}
.site-loader-brand-5159{position:relative}.site-loader-brand-5159 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.site-loader-brand-5159 b{font-size:20px}.site-loader-brand-5159 img:not([style*="display: none"])+b{opacity:0}

/* Never crop headings, labels or user generated text. */
.home-section-title,.section-head,.panel-head,.admin-page-head,.support-chat-head{min-width:0}
.home-section-title h2,.section-head h1,.section-head h2,.admin-page-head h1,.support-chat-head h1{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere}
.breadcrumbs{overflow-x:auto;white-space:nowrap;padding-bottom:4px;scrollbar-width:none}.breadcrumbs::-webkit-scrollbar{display:none}

/* Popular categories: readable title pinned above a real contrast layer. */
.portal-category-card{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.portal-category-card::after{content:""!important;position:absolute!important;inset:auto 0 0!important;height:74%!important;background:linear-gradient(180deg,transparent 0,rgba(6,19,30,.68) 46%,rgba(5,15,26,.96) 100%)!important;z-index:1!important;pointer-events:none}
.portal-category-card-content{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;height:100%!important;min-height:0!important;padding:10px!important;box-sizing:border-box!important}
.portal-category-card-top{position:absolute!important;top:10px!important;left:10px!important;right:10px!important;z-index:3!important}
.portal-category-card-content>div:not(.portal-category-card-top){position:relative!important;z-index:4!important;width:100%!important;max-width:100%!important;padding:7px 8px!important;margin:0!important;border-radius:10px!important;background:rgba(7,20,31,.34)!important;backdrop-filter:blur(3px)}
.portal-category-card strong{display:block!important;position:relative!important;color:#fff!important;font-size:clamp(13px,1.3vw,17px)!important;line-height:1.18!important;font-weight:900!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;overflow-wrap:anywhere!important;text-shadow:0 2px 10px rgba(0,0,0,.66)!important;padding:0 0 1px!important}
.portal-category-card small{display:block!important;color:rgba(255,255,255,.88)!important;margin-top:3px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important}

/* Listings / products — cards and details keep all controls above bottom navigation. */
.listing-page-v2,.product-detail-v2,.catalog-hub,.marketplace-page{min-width:0;max-width:100%;padding-bottom:24px}
.listing-layout-v2,.listing-content-grid,.product-detail-top,.product-detail-columns{min-width:0}
.listing-main-photo,.product-detail-media{overflow:hidden;background:#f0f5f3}
.listing-main-photo img,.product-detail-media img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:#f8faf9}
.listing-buy-card h1,.product-detail-info h1{overflow-wrap:anywhere;hyphens:auto}
.mobile-detail-action{bottom:max(94px,calc(78px + env(safe-area-inset-bottom)))!important;z-index:78!important;max-width:min(680px,calc(100% - 20px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;border:1px solid rgba(8,124,104,.18)!important;box-shadow:0 18px 54px rgba(19,58,50,.18)!important;backdrop-filter:blur(18px)}
.catalog-product-grid .product-card,.product-grid .product-card{overflow:hidden!important;min-width:0!important;height:100%}
.product-card-media,.product-image{overflow:hidden!important;background:linear-gradient(145deg,#f7faf9,#edf4f1)!important}
.product-card-media img,.product-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;padding:12px!important;box-sizing:border-box!important}
.product-card-body,.product-body{min-width:0!important;overflow:visible!important}
.product-card-body h3,.product-card h2,.product-card h2 a{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;display:block!important;-webkit-line-clamp:unset!important}
.offer-table{overflow:visible!important}.offer-row{min-width:0!important}.offer-row>*{min-width:0!important;overflow-wrap:anywhere}

/* Dialogues: schema repair is server-side; UI is resilient to long text and tiny screens. */
.inbox-layout{min-height:0!important;overflow:visible!important}
.inbox-list,.inbox-detail{min-width:0!important;overflow:hidden!important}
.inbox-thread strong,.inbox-thread span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
.message-list,.direct-message-history-5155{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;overflow:visible!important;padding:4px 2px 12px!important}
.message-bubble,.direct-message-bubble-5155{width:fit-content!important;max-width:min(82%,680px)!important;min-width:0!important;padding:12px 14px!important;border:1px solid #e1ebe7!important;border-radius:16px 16px 16px 5px!important;background:#f7faf9!important;box-shadow:0 4px 14px rgba(20,70,58,.04)!important;overflow:visible!important}
.message-bubble.is-mine,.direct-message-bubble-5155.mine{align-self:flex-end!important;background:linear-gradient(145deg,#e7f8f2,#effaf7)!important;border-color:#c5e7dd!important;border-radius:16px 16px 5px 16px!important}
.message-bubble p,.direct-message-bubble-5155 p{margin:5px 0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;overflow:visible!important;max-height:none!important}
.inbox-composer,.direct-message-composer-5155{position:relative!important;z-index:2!important;margin-top:12px!important;padding-bottom:4px!important}
.inbox-composer textarea,.direct-message-composer-5155 textarea{min-height:92px!important;max-height:240px!important;resize:vertical!important}

/* Support: no clipped bubbles/composer, less visual noise, readable on all screens. */
.support-chat-page{min-width:0!important;padding-bottom:28px!important}
.support-hero-card{background:linear-gradient(145deg,#f1faf7,#fff)!important;border-color:#d4e8e1!important}
.support-hero-side{gap:8px!important}.support-hero-kpi{min-width:0!important}
.support-start-panel-rich{padding:18px!important}.support-start-head p{max-width:650px}
.support-layout-grid{align-items:start!important}.support-main-column{min-width:0!important}
.support-chat-panel{overflow:visible!important;padding-bottom:0!important}
.support-messages{display:flex!important;flex-direction:column!important;gap:10px!important;max-height:min(62vh,650px)!important;overflow:auto!important;overscroll-behavior:contain;padding:12px 10px 18px!important;scroll-padding-bottom:24px!important}
.support-messages .message{width:min(88%,720px)!important;max-width:100%!important;min-width:0!important;overflow:visible!important;padding:13px 14px!important;border-radius:18px!important}
.support-messages .message.user{align-self:flex-end!important;background:#eaf8f4!important;border-color:#c6e6dd!important}
.support-messages .message.admin,.support-messages .message.system{align-self:flex-start!important}
.support-messages .message-body{display:block!important;max-height:none!important;overflow:visible!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;padding-bottom:2px!important;line-height:1.55!important}
.support-composer-rich{position:sticky!important;bottom:max(88px,calc(72px + env(safe-area-inset-bottom)))!important;z-index:20!important;margin:0 -1px!important;padding:12px!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #e0ebe7!important;border-radius:0 0 20px 20px!important;backdrop-filter:blur(16px)}
.support-composer-rich .composer-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:end!important;gap:8px!important}
.support-composer-rich textarea{width:100%!important;min-width:0!important;min-height:72px!important;max-height:180px!important;overflow:auto!important;resize:vertical!important;box-sizing:border-box!important}
.support-composer-preview{min-height:20px!important;padding-top:5px!important;overflow:visible!important}
.support-flow-strip{overflow-x:auto!important;scrollbar-width:none}.support-flow-strip::-webkit-scrollbar{display:none}.support-flow-strip span{min-width:max-content}

/* Header/content layering — page headings must never live under sticky bars. */
.top{isolation:isolate}.public-section-bar{isolation:isolate}
.main{position:relative;z-index:1}

/* Admin: usable from phones to ultrawide screens. */
.admin-body{background:#f4f8f6!important}
.admin-body .main.shell{width:100%!important;max-width:none!important;padding:0!important}
.admin-shell{width:100%!important;max-width:1800px!important;margin:0 auto!important;gap:18px!important;align-items:start!important}
.admin-main{min-width:0!important;max-width:100%!important;padding-bottom:90px!important}
.admin-main>.panel,.admin-main .admin-panel{overflow:visible!important}
.admin-page-head{border-radius:22px!important;background:linear-gradient(145deg,#fff,#f3faf7)!important;border:1px solid var(--v159-line)!important;box-shadow:var(--v159-shadow)!important}
.table-wrap{width:100%!important;max-width:100%!important;overflow:auto!important;overscroll-behavior-inline:contain!important;border-radius:14px!important;-webkit-overflow-scrolling:touch}
.table{min-width:760px!important}.table th{position:sticky;top:0;background:#f7faf9;z-index:2}
.admin-sidebar{scrollbar-width:thin}.admin-nav-search input{font-size:16px!important}
.admin-filter-tabs,.audit-periods,.ecosystem-tabs{overflow-x:auto!important;scrollbar-width:none!important;flex-wrap:nowrap!important}.admin-filter-tabs::-webkit-scrollbar,.audit-periods::-webkit-scrollbar{display:none}
.report-command-card,.support-ticket-row{overflow:visible!important}.report-card-meta{flex-wrap:wrap!important}

/* Global motion — short and functional. */
@keyframes v159Rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes v159Pop{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}
body.tp-v159-ready .main>*,body.tp-v159-ready .admin-main>*{animation:v159Rise .34s cubic-bezier(.2,.75,.25,1) both}
body.tp-v159-ready .main>*:nth-child(2),body.tp-v159-ready .admin-main>*:nth-child(2){animation-delay:.025s}
body.tp-v159-ready .main>*:nth-child(3),body.tp-v159-ready .admin-main>*:nth-child(3){animation-delay:.05s}
.card,.panel,.product-card,.portal-category-card,.marketplace-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
@media(hover:hover){.product-card:hover,.portal-category-card:hover,.marketplace-card:hover{transform:translateY(-3px);box-shadow:var(--v159-shadow-lg)}}

/* Tablet */
@media(max-width:1100px){
  .admin-shell{display:block!important}.admin-main{padding:14px 14px 110px!important}
  .admin-sidebar{max-width:min(92vw,380px)!important}
  .product-detail-top{grid-template-columns:1fr!important}.product-detail-media{max-height:560px}
  .offer-row{grid-template-columns:minmax(0,1.35fr) .55fr .75fr minmax(120px,.8fr) auto!important}
}

/* Phones */
@media(max-width:760px){
  html{scroll-padding-top:82px}
  body:not(.admin-body) .main{padding-bottom:max(150px,calc(126px + env(safe-area-inset-bottom)))!important}
  .brand-5159{max-width:calc(100% - 92px)!important;gap:8px!important}.brand-symbol-5159{width:38px;height:38px;flex-basis:38px;border-radius:12px}.brand-name-5159{font-size:17px}
  .home-section-title{align-items:flex-start!important}.home-section-title>a{max-width:42%!important}
  .portal-category-card{flex:0 0 clamp(150px,44vw,176px)!important;height:128px!important;min-height:128px!important;padding:0!important}
  .portal-category-card-content{padding:10px!important}.portal-category-card strong{font-size:14px!important;line-height:1.18!important}.portal-category-card small{font-size:9.5px!important}
  .catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-card-media{aspect-ratio:1/1!important}.product-card-body{padding:11px!important}.product-card-body h3{font-size:13px!important;line-height:1.3!important}.product-card-meta strong{font-size:15px!important}
  .product-detail-top{padding:12px!important;gap:14px!important}.product-detail-media{min-height:0!important;aspect-ratio:1/1!important;border-radius:16px!important}.product-detail-info{padding:4px!important}.product-detail-info h1{font-size:clamp(24px,7vw,31px)!important}.product-detail-info>p{font-size:14px;line-height:1.6}
  .offer-table{display:grid!important;gap:10px!important}.offer-row{display:grid!important;grid-template-columns:1fr auto!important;gap:8px 10px!important;padding:13px!important;border:1px solid var(--v159-line)!important;border-radius:15px!important;background:#fff!important}.offer-seller{grid-column:1/-1!important}.offer-availability{grid-column:1/-1!important}.offer-row>.btn{grid-column:1/-1!important;width:100%!important}
  .listing-layout-v2{gap:12px!important}.listing-buy-card{margin:0!important}.listing-main-photo{aspect-ratio:4/3!important}.listing-buy-card h1{font-size:clamp(24px,7vw,31px)!important}
  .mobile-detail-action{bottom:max(92px,calc(76px + env(safe-area-inset-bottom)))!important;width:calc(100% - 16px)!important;max-width:none!important;padding:10px 11px!important;border-radius:17px!important}.mobile-detail-action strong{font-size:14px!important}.mobile-detail-action .btn{min-height:42px!important;padding:9px 12px!important}
  .inbox-layout{grid-template-columns:1fr!important}.inbox-layout.has-thread .inbox-list{display:none!important}.inbox-detail{padding:14px!important}.message-bubble,.direct-message-bubble-5155{max-width:88%!important}
  .support-hero-side{display:none!important}.support-start-head{gap:10px!important}.support-start-head p{display:none}.support-topic-grid{display:grid!important;grid-template-columns:1fr 1fr!important;overflow:visible!important}.support-topic{min-width:0!important;min-height:74px!important;padding:11px!important}.support-topic span{font-size:10px!important}.support-side-column{display:none!important}.support-chat-head>div>p{display:none}.support-chat-panel{margin-inline:-2px!important}.support-messages{max-height:none!important;overflow:visible!important;padding:10px 8px 16px!important}.support-messages .message{width:92%!important}.support-composer-rich{bottom:max(86px,calc(70px + env(safe-area-inset-bottom)))!important;border:1px solid #dce8e4!important;border-radius:18px!important;box-shadow:0 14px 38px rgba(20,70,58,.12)!important}.support-composer-rich .composer-row{grid-template-columns:auto minmax(0,1fr)!important}.support-composer-rich .composer-row>.btn{grid-column:2!important;width:100%!important}.support-composer-rich textarea{min-height:82px!important;font-size:16px!important}
  .admin-main{padding:10px 10px 110px!important}.admin-page-head{padding:16px!important;border-radius:18px!important}.admin-page-head h1{font-size:clamp(25px,8vw,34px)!important}.admin-main .panel{padding:14px!important}.admin-grid-2,.form-grid-2,.two{grid-template-columns:1fr!important}.table{min-width:700px!important;font-size:12px!important}.table th,.table td{padding:9px 8px!important}.admin-filter-tabs a{flex:0 0 auto!important;white-space:nowrap!important}.report-command-card{padding:14px!important}.report-action-form .form-actions{display:grid!important;grid-template-columns:1fr!important}.report-action-form .form-actions>*{width:100%!important}
}
@media(max-width:390px){
  .catalog-product-grid{grid-template-columns:1fr!important}.product-card-media{aspect-ratio:4/3!important}.portal-category-card{flex-basis:148px!important;height:122px!important;min-height:122px!important}.support-topic-grid{grid-template-columns:1fr!important}.mobile-detail-action{width:calc(100% - 10px)!important}
}
@media(min-width:1500px){
  body:not(.admin-body) .shell{max-width:1500px!important}.portal-category-grid-visual{grid-template-columns:repeat(6,minmax(0,1fr))!important}.catalog-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.marketplace-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.admin-shell{max-width:1900px!important}.admin-main{padding-right:28px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.admin-brand-mark-5159{position:relative;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#087c68,#0aa181)!important;color:#fff!important}.admin-brand-mark-5159 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}.admin-brand-mark-5159 b{font-size:18px}.admin-brand-mark-5159 img:not([style*="display: none"])+b{opacity:0}


/* ---------- Source: upgrade-5160.css ---------- */
/* Znahodka v5.160 — update center */
.update-center-5160{padding-bottom:48px}
.updater-hero{overflow:hidden;position:relative;background:linear-gradient(145deg,#fff 0%,#f4fbf8 100%)}
.updater-hero:before{content:"";position:absolute;right:-90px;top:-120px;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(13,151,119,.14),rgba(13,151,119,0) 70%);pointer-events:none}
.updater-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;z-index:1}
.updater-steps>div{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid rgba(18,74,61,.11);background:rgba(255,255,255,.78);border-radius:18px;min-width:0}
.updater-steps b{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#0a8f72;color:#fff;flex:0 0 auto;font-size:15px}
.updater-steps span{display:flex;flex-direction:column;min-width:0}.updater-steps strong{font-size:14px}.updater-steps small{color:#6d7c77;margin-top:2px;overflow-wrap:anywhere}
.updater-oneclick{margin-top:16px;padding:18px;border-radius:22px;background:#102923;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:20px;align-items:center;position:relative;z-index:1}
.updater-oneclick .eyebrow{color:#77ddc2}.updater-oneclick h2{margin:3px 0 6px}.updater-oneclick .meta{color:#c6d8d2}
.update-oneclick-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.update-oneclick-form input{min-width:0;border-radius:13px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;padding:12px 13px}.update-oneclick-form input::placeholder{color:#b8c9c4}
.update-health-list{display:grid;gap:10px;margin-top:12px}.update-health-list span{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 12px;border-radius:13px;background:#f7f9f8;color:#42534e}.update-health-list i{width:9px;height:9px;border-radius:50%;background:#9da9a5}.update-health-list i.ok{background:#0a9b75}.update-health-list i.bad{background:#c94646}.update-health-list i.warn{background:#c99227}.update-health-list b{font-size:12px;color:#102923;text-align:right}
.update-package-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.update-package-main{min-width:0;flex:1}.update-package-main p{margin:7px 0 0}.update-package-ready{display:inline-flex;align-items:center;margin-top:8px;padding:6px 9px;border-radius:9px;background:#eaf8f3;color:#08775f;font-size:12px;font-weight:800}
.local-update-card{display:flex;gap:14px;justify-content:space-between;align-items:center}.local-update-install-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.local-update-install-form input{min-width:180px}
.update-backup-list{display:grid;gap:10px}.update-backup-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #e1e8e5;border-radius:16px;background:#fff}.update-backup-list article>div{display:flex;flex-direction:column;min-width:0}.update-backup-list span,.update-backup-list small{color:#73817c}.update-backup-list form{display:flex;gap:8px;align-items:center}.update-backup-list input{max-width:160px}
.update-upload-form input[type=file]{padding:12px;border:1px dashed #b8ccc6;border-radius:14px;background:#f8fbfa}
@media(max-width:980px){.updater-oneclick{grid-template-columns:1fr}.updater-steps{grid-template-columns:1fr}.update-oneclick-form{grid-template-columns:1fr}.updater-grid{grid-template-columns:1fr}.local-update-card{align-items:flex-start;flex-direction:column}.local-update-install-form{width:100%;justify-content:stretch}.local-update-install-form input,.local-update-install-form .btn{flex:1;min-width:0}.update-backup-list article{align-items:flex-start;flex-direction:column}.update-backup-list form{width:100%;flex-wrap:wrap}.update-backup-list input{max-width:none;flex:1}}
@media(max-width:560px){.update-center-5160 .admin-page-head h1{font-size:clamp(27px,8vw,36px)}.updater-hero{padding:14px}.updater-oneclick{padding:15px;border-radius:18px}.updater-steps>div{padding:11px}.update-oneclick-form .btn,.local-update-install-form .btn{width:100%}.update-backup-list form{display:grid;grid-template-columns:1fr}.update-health-list span{grid-template-columns:10px 1fr}.update-health-list b{grid-column:2;text-align:left}.update-center-5160 code{overflow-wrap:anywhere}}


/* ---------- Source: upgrade-5161.css ---------- */
/* Знаходка 5.161 — payments, business notifications, responsive polish */
.payment-remember-5161{margin:8px 0 14px;padding:14px 16px;border:1px solid var(--line,#dfe8e5);border-radius:16px;background:linear-gradient(180deg,#fbfefd,#f4faf8)}
.saved-payment-methods-5161{overflow:hidden}.saved-payment-grid-5161{display:grid;gap:12px}.saved-payment-card-5161{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid #dfe9e6;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(18,67,56,.05)}.saved-payment-card-5161.is-default{border-color:#88c8b9;background:linear-gradient(135deg,#f5fbf9,#fff)}.saved-payment-icon-5161{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#edf8f5;color:#087c68;font-size:22px}.saved-payment-card-5161 strong,.saved-payment-card-5161 span,.saved-payment-card-5161 small{display:block}.saved-payment-card-5161 span,.saved-payment-card-5161 small{color:#6f817b}.saved-payment-actions-5161{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.notification-card.type-marketing{border-color:#eadfbe;background:linear-gradient(135deg,#fffdf7 0,#fff 60%)}.notification-card.type-marketing .notification-icon{background:#fff3cf;color:#8c6600}.notification-card.type-payments{border-color:#cfe9dd;background:linear-gradient(135deg,#f4fbf8 0,#fff 60%)}
.business-status-strip-5161{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.business-status-strip-5161>div{padding:13px 15px;border:1px solid #dfe9e6;border-radius:15px;background:#fff}.business-status-strip-5161 b,.business-status-strip-5161 span{display:block}.business-status-strip-5161 span{font-size:12px;color:#6f817b;margin-top:3px}
@media(max-width:720px){.saved-payment-card-5161{grid-template-columns:auto minmax(0,1fr)}.saved-payment-actions-5161{grid-column:1/-1;justify-content:flex-start}.business-status-strip-5161{grid-template-columns:1fr}.wallet-page{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}
@media(max-width:390px){.saved-payment-card-5161{padding:13px;border-radius:16px}.saved-payment-icon-5161{width:40px;height:40px}.payment-provider-grid{grid-template-columns:1fr!important}.wallet-order-card{padding:13px!important}.wallet-order-main,.wallet-order-side{min-width:0}}
@media(min-width:1200px){.wallet-grid-5151{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}.saved-payment-grid-5161{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ---------- Source: upgrade-5162.css ---------- */
/* Znahodka 5.162 — resilient responsive polish */
:root{--tp-mobile-nav-h:86px;--tp-safe-bottom:max(10px,env(safe-area-inset-bottom));--tp-card-radius:24px}
html,body{max-width:100%;overflow-x:hidden}
main,.shell,.panel,.card,.admin-main,.admin-shell,.listing-page-v2,.search-portal,.referral-pro-page,.wallet-page,.inbox-layout{min-width:0}
img,video,iframe{max-width:100%}
.panel,.card,.ticket,.search-result-card,.listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2{overflow-wrap:anywhere}

/* Broken custom logo never leaks the browser broken-image glyph. */
.brand-symbol-5159{position:relative;overflow:hidden;flex:0 0 auto}
.brand-symbol-5159 .site-logo-image{width:100%;height:100%;object-fit:contain;display:block}
.brand-symbol-5159.is-fallback .site-logo-image{display:none!important}
.brand-symbol-5159:not(.is-fallback)>b{opacity:0}
.brand-symbol-5159.is-fallback> b{opacity:1}

/* Bottom navigation: quieter, smaller and less obstructive. */
.portal-bottom-nav{isolation:isolate}
.portal-bottom-nav>a,.portal-bottom-nav>button{min-width:0;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.portal-bottom-nav>a:active,.portal-bottom-nav>button:active{transform:scale(.94)}
.portal-bottom-nav .nav-icon{transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.portal-bottom-nav .is-active .nav-icon{transform:translateY(-1px) scale(1.05)}
.portal-bottom-nav .mobile-create-command .nav-icon-create{box-shadow:0 9px 25px rgba(28,151,225,.27)}
.mobile-command-sheet{overscroll-behavior:contain}
.mobile-command-sheet .mobile-sheet-head,.mobile-command-sheet .mobile-menu-group-title{min-width:0}

/* Listings: usable viewport, no controls hidden under fixed nav. */
.listing-page-v2{padding-bottom:28px}
.listing-gallery-v2{min-width:0}
.listing-main-photo{position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#eef3f4,#e4eaee);aspect-ratio:4/3;max-height:min(62vh,590px);overflow:hidden;border-radius:22px}
.listing-main-photo img{width:100%;height:100%;object-fit:cover;display:block}
.listing-thumbnails{max-width:100%;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}
.listing-thumbnails::-webkit-scrollbar{display:none}
.listing-buy-card{min-width:0}
.listing-buy-card h1{font-size:clamp(30px,5.2vw,54px);line-height:1.03;overflow-wrap:anywhere}
.listing-price-v2{font-size:clamp(32px,6vw,58px);line-height:1}
.listing-badges,.listing-trust-summary,.listing-owner-actions-5158{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
.listing-trust-summary>*{min-width:0;flex:1 1 132px}
.listing-owner-actions-5158>a{flex:1 1 190px;white-space:normal;text-align:center}
.listing-content-grid{min-width:0}
.listing-description,.listing-safety,.listing-seller-v2{min-width:0}
.listing-description p,.listing-safety p,.listing-seller-v2 p{overflow-wrap:anywhere}
.listing-related-grid{min-width:0}

/* Search: cleaner chips and result cards. */
.search-scope-tabs{display:flex!important;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 10px;scrollbar-width:none}
.search-scope-tabs::-webkit-scrollbar{display:none}
.search-scope-tabs>a{flex:0 0 auto;scroll-snap-align:start;border-radius:999px!important;min-height:42px;padding:9px 15px!important;white-space:nowrap}
.search-scope-tabs>a.active{box-shadow:0 7px 18px rgba(4,125,104,.13)}
.search-market-grid{align-items:stretch}
.search-result-card{min-width:0;border:1px solid rgba(14,65,57,.09)!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 9px 28px rgba(32,53,62,.07);background:#fff;transition:transform .18s ease,box-shadow .18s ease}
.search-result-card:hover{transform:translateY(-2px);box-shadow:0 15px 36px rgba(32,53,62,.11)}
.search-result-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef2f4}
.search-result-card>span{min-width:0;padding:14px!important;display:grid;gap:6px}
.search-result-card strong{line-height:1.24;overflow-wrap:anywhere}
.search-result-card em,.search-result-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Popular category titles must stay visible. */
.portal-category-card{min-width:0;overflow:hidden!important}
.portal-category-card-content{z-index:3!important;min-height:86px!important;padding:35px 16px 14px!important;background:linear-gradient(to top,rgba(4,19,18,.88),rgba(4,19,18,.52) 54%,transparent)!important}
.portal-category-card-content strong,.portal-category-card-content b,.portal-category-card .category-title{display:block!important;color:#fff!important;line-height:1.12!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:100%!important;text-shadow:0 2px 10px rgba(0,0,0,.3)}

/* Wallet: technical reference never pushes amounts off screen. */
.wallet-timeline-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px;align-items:center}
.wallet-timeline-row>div{min-width:0}
.wallet-timeline-row strong{display:block;overflow-wrap:anywhere}
.wallet-timeline-row small{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.wallet-ref-5162{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a9697}
.wallet-timeline-row>b{white-space:nowrap;align-self:center}

/* Referral center: clearer rewards trail. */
.referral-recent-rewards-5162{overflow:hidden}
.referral-reward-timeline-5162{display:grid;gap:0}
.referral-reward-timeline-5162 article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 0;border-top:1px solid rgba(12,67,59,.08)}
.referral-reward-timeline-5162 article:first-child{border-top:0}
.referral-reward-icon-5162{width:42px;height:42px;border-radius:14px;background:#e9f8f3;color:#087c68;display:grid;place-items:center;font-weight:900}
.referral-reward-timeline-5162 article>div{min-width:0}
.referral-reward-timeline-5162 strong,.referral-reward-timeline-5162 small{display:block;overflow-wrap:anywhere}
.referral-reward-timeline-5162 small{color:#74807f;margin-top:3px}
.referral-reward-timeline-5162 article>b{color:#087c68;white-space:nowrap}
.referral-row{min-width:0}
.referral-row>div:first-child{min-width:0}

/* Promotion plan chooser. */
.promotion-plans-5162{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.promotion-plan-5162{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:17px;border:1px solid rgba(8,124,104,.16);border-radius:20px;background:linear-gradient(180deg,#fff,#f8fcfb);cursor:pointer;transition:.18s ease;min-width:0}
.promotion-plan-5162:hover,.promotion-plan-5162.is-selected{border-color:#159a83;box-shadow:0 10px 28px rgba(8,124,104,.12);transform:translateY(-1px)}
.promotion-plan-5162.is-selected:after{content:'✓';position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#0a947c;color:#fff;font-weight:900}
.promotion-plan-5162 input{position:absolute;opacity:0;pointer-events:none}
.promotion-plan-5162 span{min-width:0;padding-right:22px}
.promotion-plan-5162 b,.promotion-plan-5162 small{display:block}
.promotion-plan-5162 b{font-size:18px}
.promotion-plan-5162 small{margin-top:5px;color:#6e7a78;line-height:1.35}
.promotion-plan-5162>strong{font-size:18px;color:#073f36}

/* Dialogs become actual chat UI. */
.inbox-layout{align-items:start;gap:16px}
.inbox-list{min-width:0;overflow:hidden}
.inbox-thread{border-radius:16px!important;margin:4px 0!important;min-width:0;transition:background .16s ease,transform .16s ease}
.inbox-thread:hover{transform:translateX(2px)}
.inbox-thread strong,.inbox-thread span,.inbox-thread small{overflow-wrap:anywhere}
.inbox-detail{min-width:0;overflow:hidden}
.message-list{display:flex;flex-direction:column;gap:9px;min-width:0;padding:8px 2px}
.message-bubble{max-width:min(78%,680px)!important;border-radius:20px 20px 20px 7px!important;padding:12px 15px!important;box-shadow:none!important;overflow-wrap:anywhere}
.message-bubble.is-mine{align-self:flex-end;border-radius:20px 20px 7px 20px!important;background:#e8f7f2!important}
.message-bubble p{margin:4px 0 2px!important;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.inbox-composer{position:sticky;bottom:10px;z-index:5;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);border:1px solid rgba(7,73,62,.1);border-radius:21px;padding:12px!important;box-shadow:0 12px 34px rgba(29,51,48,.12)}
.inbox-composer textarea{min-height:88px!important;max-height:210px;resize:vertical}
.direct-message-card-5155{min-width:0}
.direct-message-bubble-5155{max-width:min(82%,680px)!important;overflow-wrap:anywhere}
.direct-message-composer-5155{min-width:0}
.direct-message-composer-5155 textarea{max-width:100%;min-height:110px}

/* Account and admin content never clips long data. */
.account-settings-page,.profile-page,.admin-main,.admin-panel,.user-control-hero,.detail-main,.detail-grid{min-width:0}
.admin-main table{max-width:100%}
.admin-main td,.admin-main th{overflow-wrap:anywhere}
.admin-main code{white-space:normal;word-break:break-all}

@media (max-width:900px){
 .promotion-plans-5162{grid-template-columns:1fr}
 .promotion-plan-5162{grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .referral-reward-timeline-5162 article{grid-template-columns:40px minmax(0,1fr);}.referral-reward-timeline-5162 article>b{grid-column:2;justify-self:start}
}

@media (max-width:760px){
 :root{--tp-mobile-nav-h:78px}
 body:not(.admin-body){padding-bottom:calc(var(--tp-mobile-nav-h) + var(--tp-safe-bottom) + 22px)!important}
 body:not(.admin-body) main{padding-bottom:calc(var(--tp-mobile-nav-h) + var(--tp-safe-bottom) + 34px)!important}
 .portal-bottom-nav{left:10px!important;right:10px!important;bottom:var(--tp-safe-bottom)!important;width:auto!important;min-height:72px!important;padding:7px 6px!important;border-radius:25px!important;background:rgba(255,255,255,.91)!important;box-shadow:0 12px 34px rgba(31,52,49,.16)!important;backdrop-filter:blur(18px) saturate(1.35)!important}
 .portal-bottom-nav>a,.portal-bottom-nav>button{padding:6px 2px!important;gap:3px!important;border-radius:18px!important}
 .portal-bottom-nav .nav-icon{width:25px!important;height:25px!important}
 .portal-bottom-nav small{font-size:10.5px!important;line-height:1.1!important;white-space:nowrap}
 .portal-bottom-nav .mobile-create-command{transform:none!important}
 .portal-bottom-nav .mobile-create-command .nav-icon-create{width:50px!important;height:50px!important;margin-top:-21px!important}
 .portal-bottom-nav .mobile-create-command small{margin-top:-5px!important}
 .mobile-command-sheet{max-height:min(84dvh,760px)!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}
 .tp-keyboard-open .portal-bottom-nav{opacity:0!important;transform:translateY(120%)!important;pointer-events:none!important}
 .tp-keyboard-open .inbox-composer{bottom:6px!important}
 .tp-keyboard-open .support-fab{display:none!important}
 .listing-page-v2{padding-left:0!important;padding-right:0!important}
 .listing-gallery-v2,.listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2{border-radius:20px!important}
 .listing-main-photo{aspect-ratio:1.18/1;max-height:54vh;border-radius:18px}
 .listing-buy-card{padding:20px!important}
 .listing-buy-card h1{font-size:34px!important}
 .listing-price-v2{font-size:38px!important}
 .listing-owner-actions-5158{display:grid!important;grid-template-columns:1fr!important}
 .listing-owner-actions-5158>a{width:100%;min-height:48px}
 .listing-trust-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .listing-trust-summary>*{min-width:0!important;font-size:13px!important;white-space:normal!important}
 .listing-content-grid{display:block!important}
 .listing-content-grid>*{margin-bottom:14px}
 .listing-related-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .listing-related-grid>*{min-width:0}
 .search-market-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .search-result-card img{aspect-ratio:1/ .78}
 .search-result-card>span{padding:11px!important}.search-result-card strong{font-size:14px!important}.search-result-card b{font-size:15px!important}
 .wallet-timeline-row{grid-template-columns:minmax(0,1fr) auto!important;padding:14px 0!important}.wallet-ref-5162{max-width:145px}
 .inbox-layout{display:block!important}.inbox-list{max-height:none!important;margin-bottom:12px}.inbox-detail{min-height:0!important}
 .message-list{padding-bottom:8px}.message-bubble{max-width:86%!important}
 .inbox-composer{bottom:calc(var(--tp-mobile-nav-h) + var(--tp-safe-bottom) + 4px)!important}
 .direct-message-page-5155{padding-bottom:18px}.direct-message-card-5155{padding:18px!important}.direct-message-head-5155{align-items:flex-start!important}.direct-message-bubble-5155{max-width:88%!important}
 .admin-shell{display:block!important}.admin-main{width:100%!important;padding:14px!important}.admin-page-head{gap:10px!important}.admin-head-actions{display:flex!important;flex-wrap:wrap!important}.admin-head-actions .btn{flex:1 1 150px!important}
 .admin-main table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

@media (max-width:390px){
 .portal-bottom-nav{left:6px!important;right:6px!important;padding-left:3px!important;padding-right:3px!important}.portal-bottom-nav small{font-size:9.6px!important}
 .listing-buy-card h1{font-size:30px!important}.listing-price-v2{font-size:34px!important}
 .listing-trust-summary{grid-template-columns:1fr!important}
 .search-market-grid{grid-template-columns:1fr!important}.search-result-card{display:grid!important;grid-template-columns:116px minmax(0,1fr)!important}.search-result-card img{height:100%;aspect-ratio:auto}.search-result-card>span{align-self:center}
 .referral-reward-timeline-5162 article{grid-template-columns:36px minmax(0,1fr)}.referral-reward-icon-5162{width:36px;height:36px;border-radius:12px}
}

@media (min-width:1200px){
 .listing-page-v2,.search-portal,.referral-pro-page,.wallet-page{max-width:1480px;margin-inline:auto}
 .listing-main-photo{max-height:680px}
 .search-market-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

@media (prefers-reduced-motion:reduce){.portal-bottom-nav>a,.portal-bottom-nav>button,.search-result-card,.promotion-plan-5162{transition:none!important}}
.listing-promotion-badge-5162{background:linear-gradient(135deg,#087c68,#15a78c)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 6px 16px rgba(8,124,104,.17)}
@media(max-width:760px){.mobile-detail-action{left:10px!important;right:10px!important;bottom:calc(var(--tp-mobile-nav-h) + var(--tp-safe-bottom) + 8px)!important;width:auto!important;z-index:19!important;max-width:none!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(28,51,47,.16)!important}.tp-keyboard-open .mobile-detail-action{display:none!important}}
/* Stronger personal cabinet */
.profile-command-center-5155{gap:12px!important}
.profile-command-center-5155>a,.profile-status-card,.account-shortcuts-v3>a{border:1px solid rgba(8,74,63,.09)!important;box-shadow:0 8px 24px rgba(29,54,49,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;min-width:0}
.profile-command-center-5155>a:hover,.profile-status-card:hover,.account-shortcuts-v3>a:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(29,54,49,.09);border-color:rgba(8,124,104,.2)!important}
.profile-listing-grid-5155>a{min-width:0;overflow:hidden!important;border-radius:18px!important}
.profile-listing-grid-5155 strong,.profile-listing-grid-5155 small{overflow-wrap:anywhere}
.account-shortcuts-v3{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:10px!important}

/* Search portal hierarchy */
.search-portal .search-super-form-clean{border-radius:22px!important;box-shadow:0 11px 32px rgba(27,55,50,.08)!important;border:1px solid rgba(11,78,67,.1)!important}
.search-portal .search-super-form-clean input{min-width:0!important}
.search-section-v3 .section-head{align-items:end!important;gap:12px!important}
.search-section-v3 .section-head>a{white-space:nowrap}

/* Admin status operations and long identifiers. */
.blocked-account-warning{border-left:4px solid #d85b50!important;background:#fff8f6!important}
.admin-user-command-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
.command-card{min-width:0!important}

@media(max-width:760px){
 .profile-command-center-5155{grid-template-columns:1fr 1fr!important}.profile-command-main-5155{grid-column:1/-1!important}
 .account-shortcuts-v3{grid-template-columns:1fr 1fr!important}
 .profile-listing-grid-5155{grid-template-columns:1fr!important}
 .search-portal .search-super-form-clean{padding:8px!important;border-radius:18px!important}.search-portal .search-super-form-clean button{min-width:92px!important}
 .search-section-v3 .section-head{align-items:flex-start!important}.search-section-v3 .section-head h2{font-size:26px!important}
}
@media(max-width:390px){.profile-command-center-5155,.account-shortcuts-v3{grid-template-columns:1fr!important}}


/* ---------- Source: upgrade-5163.css ---------- */
/* Знаходка 5.163 — global modern design system */
:root{
  --z-bg:#f5f7f8;--z-surface:#fff;--z-surface-2:#f8faf9;--z-text:#102a25;--z-muted:#6d7f7b;
  --z-brand:#087c68;--z-brand-2:#10a88a;--z-brand-soft:#e8f6f2;--z-blue:#1987e6;
  --z-border:rgba(15,65,56,.11);--z-shadow:0 14px 38px rgba(24,49,45,.08);--z-shadow-lg:0 24px 64px rgba(24,49,45,.12);
  --z-r-sm:14px;--z-r:20px;--z-r-lg:28px;--z-r-xl:36px;--z-ease:cubic-bezier(.2,.8,.2,1);
  --z-content:1240px;
}
html{scroll-behavior:smooth;background:var(--z-bg)}
body{background:linear-gradient(180deg,#fbfcfc 0,#f5f7f8 360px,#f4f6f7 100%);color:var(--z-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:#bcecdf;color:#063f35}
a{color:inherit}
.shell{width:min(calc(100% - 40px),var(--z-content));margin-inline:auto}
main{min-width:0}

/* Global surfaces */
.panel,.card,.ticket,.listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2,.profile-card,.account-card,.admin-panel,.search-result-card,.wallet-card,.referral-card,.support-card,.forum-card{background:rgba(255,255,255,.96)!important;border:1px solid var(--z-border)!important;border-radius:var(--z-r-lg)!important;box-shadow:var(--z-shadow)!important}
.panel,.card,.admin-panel{transition:transform .22s var(--z-ease),box-shadow .22s var(--z-ease),border-color .22s ease}
@media (hover:hover){.card:hover,.search-result-card:hover,.market-card:hover,.product-card:hover{transform:translateY(-3px);box-shadow:var(--z-shadow-lg)!important;border-color:rgba(8,124,104,.18)!important}}

/* Typography */
h1,h2,h3,.hero-title,.section-title{letter-spacing:-.035em;color:var(--z-text)}
h1{font-size:clamp(34px,5vw,64px);line-height:1.02}
h2{font-size:clamp(28px,3.8vw,46px);line-height:1.08}
p,.muted,.hint,.subtext{line-height:1.62}
.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--z-brand);font-size:12px}

/* Header */
.top{position:sticky;top:0;z-index:120;background:rgba(255,255,255,.86)!important;border-bottom:1px solid rgba(15,65,56,.08);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px);transition:box-shadow .2s ease,background .2s ease}
body.z-scrolled .top{box-shadow:0 10px 30px rgba(20,45,40,.08);background:rgba(255,255,255,.94)!important}
.top-in{min-height:76px;gap:16px}
.brand{gap:11px;min-width:0}
.brand-symbol-5159{width:46px!important;height:46px!important;border-radius:15px!important;background:linear-gradient(145deg,var(--z-brand),var(--z-brand-2))!important;box-shadow:0 10px 24px rgba(8,124,104,.22);color:#fff!important}
.brand-symbol-5159> b{font-size:22px!important;color:#fff!important}
.brand-name-5159{font-weight:900!important;font-size:clamp(21px,2vw,28px)!important;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-search{height:50px!important;max-width:560px!important;border:1px solid rgba(15,65,56,.12)!important;background:#f6f9f8!important;border-radius:17px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .18s,box-shadow .18s,background .18s}
.top-search:focus-within{background:#fff!important;border-color:rgba(8,124,104,.42)!important;box-shadow:0 0 0 4px rgba(8,124,104,.09)!important}
.top-search input{font-size:15px!important;background:transparent!important}
.top-search button{width:38px;height:38px;border-radius:12px!important;background:var(--z-brand)!important;color:white!important}
.account-top-avatar,.admin-top-ico{border-radius:15px!important;box-shadow:none!important}
.account-top-link,.admin-top-link,.author-top-cta{border-radius:16px!important;transition:transform .16s ease,background .16s ease}
.account-top-link:active,.admin-top-link:active,.author-top-cta:active{transform:scale(.97)}
.public-section-bar{background:rgba(255,255,255,.92)!important;border-bottom:1px solid rgba(15,65,56,.07)!important}
.public-section-bar-in{min-height:52px}

/* Controls */
.btn,button,input[type=submit],input[type=button],.button{border-radius:15px!important;font-weight:800!important;min-height:46px;transition:transform .15s ease,box-shadow .18s ease,filter .18s ease!important}
.btn:not(.ghost):not(.secondary),button.primary,input[type=submit]{background:linear-gradient(135deg,var(--z-brand-2),var(--z-brand))!important;box-shadow:0 10px 22px rgba(8,124,104,.18)}
.btn:active,button:active{transform:scale(.98)}
input,select,textarea{border-radius:15px!important;border:1px solid rgba(17,60,53,.16)!important;background:#fff!important;box-shadow:inset 0 1px 2px rgba(10,30,25,.025);transition:border-color .18s,box-shadow .18s!important}
input:focus,select:focus,textarea:focus{outline:none!important;border-color:rgba(8,124,104,.48)!important;box-shadow:0 0 0 4px rgba(8,124,104,.08)!important}
label{font-weight:700;color:#24443e}

/* Home / cards / marketplace */
.home-hero,.market-hero,.search-hero,.portal-hero{border-radius:var(--z-r-xl)!important;overflow:hidden}
.quick-access-grid,.home-section-grid,.market-grid,.catalog-grid,.product-grid,.listing-related-grid{gap:18px!important}
.market-card,.product-card,.listing-card,.category-card{border-radius:24px!important;overflow:hidden!important;border:1px solid var(--z-border)!important;background:#fff!important;box-shadow:0 10px 28px rgba(24,49,45,.07)!important}
.market-card img,.product-card img,.listing-card img,.category-card img{transition:transform .45s var(--z-ease)}
@media (hover:hover){.market-card:hover img,.product-card:hover img,.listing-card:hover img,.category-card:hover img{transform:scale(1.025)}}
.listing-card-title,.product-card-title,.category-card-title{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;display:block!important;line-height:1.22!important}

/* Listing detail */
.listing-page-v2{gap:22px!important;padding-bottom:calc(118px + env(safe-area-inset-bottom))!important}
.listing-gallery-v2,.listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2{border-radius:28px!important}
.listing-main-photo{background:linear-gradient(145deg,#f1f4f5,#e9edef)!important}
.listing-main-photo img{object-fit:contain!important;background:#f5f7f8}
.listing-buy-card{padding:clamp(22px,3vw,34px)!important}
.listing-price-v2{letter-spacing:-.045em}
.listing-badges>*{border-radius:12px!important}
.listing-owner-actions-5158{gap:10px!important}

/* Search */
.search-portal{padding-bottom:120px}
.search-shell,.search-box,.home-search{border-radius:22px!important}
.search-scope-tabs{gap:9px!important;padding:5px 1px 12px!important}
.search-scope-tabs>a{background:#fff!important;border:1px solid var(--z-border)!important;box-shadow:0 5px 15px rgba(20,45,40,.035)}
.search-scope-tabs>a.active{background:var(--z-brand-soft)!important;color:var(--z-brand)!important;border-color:rgba(8,124,104,.2)!important}
.search-result-card{display:flex!important;flex-direction:column;min-height:100%;border-radius:22px!important}
.search-result-card img{border-radius:0!important}
.search-result-card>span{padding:15px 16px 17px!important;min-width:0}
.search-result-card h3,.search-result-card b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

/* Dialogs / inbox */
.inbox-layout,.conversation-layout,.message-user-page{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
.conversation-card,.message-card,.thread-card{border-radius:22px!important;border:1px solid var(--z-border)!important;background:#fff!important;box-shadow:0 10px 28px rgba(24,49,45,.06)!important}
.message-bubble,.chat-bubble{border-radius:22px!important;max-width:min(78%,720px)!important;overflow-wrap:anywhere!important;word-break:break-word}
.message-bubble.mine,.chat-bubble.mine{background:linear-gradient(145deg,#ddf6ef,#eaf8f4)!important;border-bottom-right-radius:8px!important}
.message-bubble.theirs,.chat-bubble.theirs{background:#f2f5f5!important;border-bottom-left-radius:8px!important}
.message-compose,.conversation-compose{position:sticky;bottom:calc(90px + env(safe-area-inset-bottom));z-index:8;background:rgba(255,255,255,.9)!important;backdrop-filter:blur(14px);border:1px solid var(--z-border)!important;border-radius:22px!important;box-shadow:0 16px 36px rgba(20,45,40,.1)!important}

/* Account / profile */
.profile-hero,.account-hero,.dashboard-hero{border-radius:30px!important;background:linear-gradient(145deg,#fff,#f5faf8)!important;border:1px solid var(--z-border)!important;box-shadow:var(--z-shadow)!important}
.profile-avatar,.account-avatar{box-shadow:0 12px 30px rgba(20,45,40,.12)!important;border:5px solid #fff!important}
.profile-stats,.dashboard-stats,.account-stats{gap:12px!important}
.profile-stats>* ,.dashboard-stats>* ,.account-stats>*{border-radius:18px!important;background:#fff!important;border:1px solid var(--z-border)!important}

/* Referral / wallet / promotion */
.referral-pro-page,.wallet-page,.promotion-page{padding-bottom:120px}
.promotion-plan-5162,.promotion-plan,.wallet-method,.referral-step{border-radius:22px!important;border:1px solid var(--z-border)!important;background:#fff!important;box-shadow:0 9px 24px rgba(24,49,45,.05)!important}
.promotion-plan-5162.is-selected,.promotion-plan.is-selected{border-color:rgba(8,124,104,.42)!important;box-shadow:0 0 0 4px rgba(8,124,104,.08),0 14px 32px rgba(24,49,45,.09)!important}

/* Notifications */
.notification-card,.event-card{border-radius:20px!important;border:1px solid var(--z-border)!important;background:#fff!important;box-shadow:0 8px 24px rgba(24,49,45,.05)!important}
.notification-card.is-unread{background:linear-gradient(90deg,#eefaf6,#fff 36%)!important;border-left:4px solid var(--z-brand)!important}

/* Bottom navigation */
.portal-bottom-nav{left:50%!important;transform:translateX(-50%)!important;width:min(calc(100% - 24px),620px)!important;bottom:max(10px,env(safe-area-inset-bottom))!important;padding:7px!important;border-radius:26px!important;background:rgba(255,255,255,.88)!important;border:1px solid rgba(15,65,56,.1)!important;box-shadow:0 18px 46px rgba(18,45,40,.16)!important;backdrop-filter:saturate(180%) blur(20px)!important;-webkit-backdrop-filter:saturate(180%) blur(20px)!important}
.portal-bottom-nav>a,.portal-bottom-nav>button{border-radius:18px!important;min-height:66px!important;color:#647872!important}
.portal-bottom-nav .is-active{background:linear-gradient(145deg,#eaf7f3,#f4fbf8)!important;color:var(--z-brand)!important}
.portal-bottom-nav .mobile-create-command{margin-top:-15px!important}
.portal-bottom-nav .nav-icon-create{width:58px!important;height:58px!important;border-radius:20px!important;background:linear-gradient(145deg,#22a5eb,#1686dd)!important;box-shadow:0 12px 28px rgba(24,135,220,.28)!important}
.mobile-command-sheet{border-radius:30px 30px 0 0!important;background:rgba(255,255,255,.97)!important;box-shadow:0 -20px 60px rgba(10,35,30,.16)!important}
.mobile-menu-card,.mobile-command-item{border-radius:20px!important;border:1px solid var(--z-border)!important;background:#fff!important}

/* Admin */
.admin-body{background:#f3f6f6!important}
.admin-shell{max-width:1520px!important;margin-inline:auto!important;gap:22px!important}
.admin-sidebar{border-right:1px solid var(--z-border)!important;background:rgba(255,255,255,.9)!important;backdrop-filter:blur(16px);border-radius:0 26px 26px 0!important;box-shadow:8px 0 30px rgba(24,49,45,.04)}
.admin-main{min-width:0!important;padding:24px!important}
.admin-panel{overflow:hidden}
.admin-panel .panel-head{padding-bottom:16px;border-bottom:1px solid rgba(15,65,56,.07)}
.admin-table-wrap{border:1px solid var(--z-border)!important;border-radius:20px!important;overflow:auto!important;background:#fff}
.admin-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.admin-table th{position:sticky;top:0;background:#f5f8f7!important;color:#56706a!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.04em;z-index:2}
.admin-table th,.admin-table td{padding:13px 14px!important;border-bottom:1px solid rgba(15,65,56,.07)!important;white-space:normal!important;overflow-wrap:anywhere}
.admin-table tr:hover td{background:#fbfdfc}
.admin-nav a{border-radius:14px!important;margin:2px 8px!important}
.admin-nav a.active{background:var(--z-brand-soft)!important;color:var(--z-brand)!important}

/* Support */
.support-fab{border-radius:22px!important;box-shadow:0 16px 40px rgba(8,124,104,.2)!important}
.support-thread,.support-message,.support-ticket{min-width:0;overflow-wrap:anywhere!important;word-break:break-word}

/* Alerts / flash */
.flash,.alert,.notice,.error,.success{border-radius:18px!important;border-width:1px!important;box-shadow:0 8px 22px rgba(24,49,45,.05)}

/* Desktop composition */
@media (min-width:1100px){
  .shell{width:min(calc(100% - 64px),var(--z-content))}
  .top-in{min-height:82px}
  .listing-page-v2{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr)!important;align-items:start!important}
  .listing-content-grid{grid-column:1/-1!important}
  .search-market-grid,.market-grid,.catalog-grid,.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:1450px){:root{--z-content:1380px}.search-market-grid,.market-grid,.catalog-grid,.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

/* Tablet */
@media (min-width:760px) and (max-width:1099px){
  .shell{width:min(calc(100% - 36px),980px)}
  .top-search{max-width:390px!important}
  .search-market-grid,.market-grid,.catalog-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Mobile */
@media (max-width:759px){
  :root{--z-r-lg:22px;--z-r-xl:26px}
  body{background:#f5f7f8}
  .shell{width:min(calc(100% - 24px),100%)!important}
  .top{position:sticky!important}
  .top-in{min-height:68px!important;padding-block:8px!important;gap:9px!important}
  .brand-symbol-5159{width:42px!important;height:42px!important;border-radius:14px!important}
  .brand-name-5159{font-size:22px!important;max-width:155px}
  .top-search{display:none!important}
  .account-top-name,.admin-top-text,.author-top-cta,.guest-register-cta{display:none!important}
  .account-top-link{padding:0!important}
  .account-top-avatar{width:44px!important;height:44px!important}
  h1{font-size:clamp(32px,10vw,46px)}h2{font-size:clamp(27px,8vw,36px)}
  .panel,.card,.listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2{border-radius:22px!important}
  .listing-page-v2{padding-inline:12px!important;gap:14px!important}
  .listing-main-photo{border-radius:20px!important;aspect-ratio:1/1!important;max-height:none!important}
  .listing-buy-card{padding:20px!important}
  .listing-buy-card h1{font-size:34px!important}
  .listing-price-v2{font-size:40px!important}
  .search-market-grid,.market-grid,.catalog-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .search-result-card img,.market-card img,.product-card img{aspect-ratio:1/1!important}
  .admin-main{padding:12px!important}
  .admin-sidebar{border-radius:0!important}
  .admin-table-wrap{border-radius:16px!important}
  .admin-table th,.admin-table td{padding:11px 10px!important;font-size:13px!important;min-width:120px}
  .message-bubble,.chat-bubble{max-width:88%!important}
  .message-compose,.conversation-compose{bottom:calc(92px + env(safe-area-inset-bottom))!important}
  main,.page,.content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
}
@media (max-width:390px){
  .shell{width:min(calc(100% - 18px),100%)!important}
  .brand-name-5159{max-width:124px;font-size:20px!important}
  .portal-bottom-nav{width:calc(100% - 14px)!important;padding:5px!important;border-radius:23px!important}
  .portal-bottom-nav>a,.portal-bottom-nav>button{min-height:62px!important;font-size:11px!important}
  .portal-bottom-nav .nav-icon-create{width:54px!important;height:54px!important}
  .search-market-grid,.market-grid,.catalog-grid,.product-grid{gap:9px!important}
}

/* Accessibility and motion */
:focus-visible{outline:3px solid rgba(25,135,230,.35)!important;outline-offset:3px!important}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){.top,.portal-bottom-nav,.mobile-command-sheet{background:#fff!important}}
.z-pressed{transform:scale(.985)!important}
.z-image-fallback{position:relative;background:linear-gradient(145deg,#edf2f2,#e5ebec)!important;min-height:120px}
.z-image-fallback:after{content:'З';position:absolute;inset:0;display:grid;place-items:center;font-weight:900;font-size:clamp(34px,8vw,72px);color:rgba(8,124,104,.22);pointer-events:none}


/* ---------- Source: upgrade-5164.css ---------- */
/* Znahodka 5.164 — installer/ads polish and resilient mobile UI */
.ad-sponsored-label{position:absolute;left:10px;top:9px;z-index:3;padding:4px 7px;border-radius:999px;background:rgba(14,24,35,.72);color:#fff;font-size:9px;font-weight:850;letter-spacing:.04em;backdrop-filter:blur(8px)}.ad-top-site-card{position:relative}.ad-top-site-card .ad-dismiss{z-index:4}
.ad-campaign-overview-5164{display:grid;grid-template-columns:1.35fr .9fr;gap:14px;margin:0 0 14px}.ad-campaign-steps-5164,.ad-owner-stats-5164{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px rgba(28,39,53,.055)}.ad-campaign-steps-5164{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:14px}.ad-campaign-steps-5164>div{display:flex;gap:10px;padding:10px 12px;border-left:1px solid #eef1f4;min-width:0}.ad-campaign-steps-5164>div:first-child{border-left:0}.ad-campaign-steps-5164>div>span{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#eff3f6;font-size:11px;font-weight:900;color:#506174}.ad-campaign-steps-5164 .is-current>span{background:#182535;color:#fff}.ad-campaign-steps-5164 b,.ad-campaign-steps-5164 small{display:block}.ad-campaign-steps-5164 b{font-size:12px}.ad-campaign-steps-5164 small{font-size:10px;color:var(--muted);margin-top:2px;line-height:1.35}.ad-owner-stats-5164{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.ad-owner-stats-5164 article{padding:12px;border-radius:14px}.ad-owner-stats-5164 span,.ad-owner-stats-5164 strong{display:block}.ad-owner-stats-5164 span{font-size:10px;color:var(--muted)}.ad-owner-stats-5164 strong{font-size:18px;margin-top:2px}.ad-creative-upload-5164{align-items:start}.ad-live-preview-5164{margin:6px 0 18px;padding:14px;border:1px solid #e1e7ed;border-radius:18px;background:linear-gradient(180deg,#fafcfd,#f5f7f9)}.ad-live-preview-head-5164{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.ad-live-preview-head-5164 span,.ad-live-preview-head-5164 b{display:block}.ad-live-preview-head-5164 span{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#7e8fa1;font-weight:900}.ad-live-preview-head-5164 b{font-size:13px;margin-top:2px}.ad-live-preview-head-5164 small{font-size:10px;color:var(--muted);text-align:right}.ad-live-preview-5164>a{display:grid;grid-template-columns:minmax(160px,.72fr) 1fr;overflow:hidden;min-height:150px;border:1px solid #dce4ec;border-radius:15px;background:#fff;color:inherit;text-decoration:none;pointer-events:none}.ad-live-preview-media-5164{position:relative;display:grid;place-items:center;min-height:150px;background:linear-gradient(135deg,#eef3f7,#e6edf3);overflow:hidden;color:#8a9aac;font-size:11px}.ad-live-preview-media-5164 img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.ad-live-preview-copy-5164{padding:18px;display:flex;flex-direction:column;justify-content:center;min-width:0}.ad-live-preview-copy-5164 small{font-size:9px;color:#7c8d9f;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.ad-live-preview-copy-5164 strong{font-size:18px;margin:6px 0;line-height:1.2;overflow-wrap:anywhere}.ad-live-preview-copy-5164 span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ad-order-status-5164{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:10px}.ad-order-status-5164.is-active{background:#eaf7f0;color:#197047}.ad-order-status-5164.is-pending{background:#fff5dc;color:#8b6317}.ad-order-status-5164.is-rejected{background:#fff0f1;color:#9b3440}.ad-order-status-5164.is-neutral{background:#eef2f5;color:#607286}.active-ad-card{gap:12px}.active-ad-metrics-5164{display:flex;gap:6px;flex-wrap:wrap}.active-ad-metrics-5164 span{padding:4px 7px;border-radius:999px;background:#f0f3f6;color:#607286;font-size:9px!important}.ad-admin-ctr-5164 strong{font-variant-numeric:tabular-nums}.admin-ad-thumb{border-radius:10px;box-shadow:0 3px 12px rgba(0,0,0,.08)}
/* Global refinement: large interactive controls remain usable on touch devices. */
@media(max-width:760px){.form input,.form select,.form textarea{font-size:16px}.btn{min-height:42px}.ad-campaign-overview-5164{grid-template-columns:1fr}.ad-campaign-steps-5164{grid-template-columns:1fr}.ad-campaign-steps-5164>div{border-left:0;border-top:1px solid #eef1f4}.ad-campaign-steps-5164>div:first-child{border-top:0}.ad-live-preview-5164>a{grid-template-columns:1fr}.ad-live-preview-media-5164{min-height:130px}.ad-live-preview-head-5164{display:block}.ad-live-preview-head-5164 small{display:block;text-align:left;margin-top:4px}}
@media(max-width:440px){.ad-owner-stats-5164{grid-template-columns:1fr 1fr}.ad-live-preview-copy-5164{padding:14px}.ad-live-preview-copy-5164 strong{font-size:16px}}
.ad-admin-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}@media(max-width:1180px){.ad-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:720px){.ad-admin-stats{grid-template-columns:1fr 1fr!important}}@media(max-width:420px){.ad-admin-stats{grid-template-columns:1fr!important}}


/* ---------- Source: upgrade-5165.css ---------- */
/* Znahodka 5.165 — full visual redesign inspired by the approved concept
   Dark navy surfaces, mint actions, compact mobile navigation and premium cards. */
:root{
  --z165-bg:#06101b;
  --z165-bg-2:#091827;
  --z165-surface:#0d1c2b;
  --z165-surface-2:#11263a;
  --z165-line:rgba(184,211,235,.13);
  --z165-line-strong:rgba(184,211,235,.22);
  --z165-text:#f6f9fc;
  --z165-muted:#8fa3b8;
  --z165-mint:#3fe8b2;
  --z165-mint-2:#21c894;
  --z165-blue:#44a8ff;
  --z165-purple:#8068ff;
  --z165-danger:#ff6675;
  --z165-warning:#ffbd52;
  --z165-shadow:0 18px 55px rgba(0,0,0,.24);
  --z165-radius:20px;
}

html{background:var(--z165-bg)}
body:not(.admin-body){background:
  radial-gradient(circle at 8% -5%,rgba(36,126,224,.15),transparent 30rem),
  radial-gradient(circle at 96% 6%,rgba(33,200,148,.10),transparent 28rem),
  var(--z165-bg)!important;color:var(--z165-text)!important}
body:not(.admin-body) .portal-main{min-height:72vh}
body:not(.admin-body) .shell{width:min(1180px,calc(100% - 28px))}
body:not(.admin-body) a{transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}
body:not(.admin-body) a:hover{color:inherit}

/* Header */
body:not(.admin-body) .top{position:sticky;top:0;z-index:100;background:rgba(6,16,27,.88)!important;border-bottom:1px solid var(--z165-line)!important;backdrop-filter:blur(22px) saturate(135%);box-shadow:none!important}
body:not(.admin-body) .top-in{min-height:72px;gap:16px}
body:not(.admin-body) .brand{color:var(--z165-text)!important;text-decoration:none}
body:not(.admin-body) .brand-symbol-5159{background:linear-gradient(145deg,#dffef4,#f7fffd)!important;color:#07121e!important;border-radius:15px!important;box-shadow:0 8px 28px rgba(0,0,0,.22)!important}
body:not(.admin-body) .brand-name-5159{font-weight:900!important;letter-spacing:-.035em!important}
body:not(.admin-body) .brand-name-5159::first-letter{color:inherit}
body:not(.admin-body) .top-search{height:44px!important;background:rgba(15,32,49,.88)!important;border:1px solid var(--z165-line)!important;border-radius:15px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;color:var(--z165-muted)!important}
body:not(.admin-body) .top-search:focus-within{border-color:rgba(63,232,178,.5)!important;box-shadow:0 0 0 4px rgba(63,232,178,.08)!important;background:#102237!important}
body:not(.admin-body) .top-search input{color:var(--z165-text)!important;background:transparent!important}
body:not(.admin-body) .top-search input::placeholder{color:#71859b!important}
body:not(.admin-body) .top-search button{background:var(--z165-mint)!important;color:#04110c!important;border-radius:11px!important;font-weight:900!important}
body:not(.admin-body) .top-search kbd{border-color:var(--z165-line)!important;color:#7f94aa!important;background:#0b1928!important}
body:not(.admin-body) .account-top-link,body:not(.admin-body) .author-top-cta,body:not(.admin-body) .admin-top-link{color:#dbe6ef!important;border-color:transparent!important;background:transparent!important}
body:not(.admin-body) .account-top-link:hover,body:not(.admin-body) .author-top-cta:hover,body:not(.admin-body) .admin-top-link:hover{background:#102238!important}
body:not(.admin-body) .account-top-avatar{background:#142940!important;color:var(--z165-mint)!important;border:1px solid var(--z165-line)!important}
body:not(.admin-body) .guest-register-cta{background:var(--z165-mint)!important;color:#06120e!important;border:0!important}

/* Secondary navigation */
body:not(.admin-body) .public-section-bar{background:rgba(8,21,34,.95)!important;border-color:var(--z165-line)!important;color:#c7d6e3!important}
body:not(.admin-body) .public-section-bar a,body:not(.admin-body) .public-section-bar summary{color:#b9cad9!important}
body:not(.admin-body) .public-section-bar a:hover,body:not(.admin-body) .public-section-bar .is-active{color:var(--z165-text)!important;background:#11263a!important}
body:not(.admin-body) .section-menu-panel{background:#0d1d2d!important;border-color:var(--z165-line)!important;box-shadow:0 22px 60px rgba(0,0,0,.42)!important}
body:not(.admin-body) .section-menu-panel a{background:#102238!important;border-color:var(--z165-line)!important}
body:not(.admin-body) .section-menu-panel a:hover{border-color:rgba(63,232,178,.4)!important;background:#132b43!important}

/* Universal surfaces */
body:not(.admin-body) .panel,
body:not(.admin-body) .card,
body:not(.admin-body) .auth-simple-card,
body:not(.admin-body) .auth-clean-card,
body:not(.admin-body) .wallet-summary-card,
body:not(.admin-body) .search-result-card,
body:not(.admin-body) .product-card,
body:not(.admin-body) .market-card,
body:not(.admin-body) .listing-card,
body:not(.admin-body) .forum-card,
body:not(.admin-body) .profile-card,
body:not(.admin-body) .seller-card,
body:not(.admin-body) .ad-campaign-steps-5164,
body:not(.admin-body) .ad-owner-stats-5164{
  background:linear-gradient(180deg,rgba(16,36,55,.94),rgba(11,27,43,.96))!important;
  border:1px solid var(--z165-line)!important;
  box-shadow:var(--z165-shadow)!important;
  color:var(--z165-text)!important;
}
body:not(.admin-body) .panel,body:not(.admin-body) .card{border-radius:var(--z165-radius)!important}
body:not(.admin-body) .panel:hover,body:not(.admin-body) .product-card:hover,body:not(.admin-body) .market-card:hover{border-color:rgba(119,163,201,.27)!important}
body:not(.admin-body) h1,body:not(.admin-body) h2,body:not(.admin-body) h3,body:not(.admin-body) strong,body:not(.admin-body) b{color:var(--z165-text)}
body:not(.admin-body) p,body:not(.admin-body) .meta,body:not(.admin-body) small,body:not(.admin-body) .muted{color:var(--z165-muted)}
body:not(.admin-body) .eyebrow{color:var(--z165-mint)!important;letter-spacing:.09em!important;font-weight:850!important}

/* Buttons */
body:not(.admin-body) .btn{border-radius:13px!important;background:linear-gradient(135deg,var(--z165-mint),#65f1c4)!important;color:#04120d!important;border:0!important;font-weight:850!important;box-shadow:0 9px 24px rgba(36,210,158,.16)!important}
body:not(.admin-body) .btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(36,210,158,.24)!important}
body:not(.admin-body) .btn.secondary,body:not(.admin-body) .btn.ghost{background:#13263a!important;color:#dbe8f2!important;border:1px solid var(--z165-line)!important;box-shadow:none!important}
body:not(.admin-body) .btn.secondary:hover{border-color:rgba(63,232,178,.34)!important;background:#163049!important}
body:not(.admin-body) button:focus-visible,body:not(.admin-body) a:focus-visible,body:not(.admin-body) input:focus-visible,body:not(.admin-body) textarea:focus-visible,body:not(.admin-body) select:focus-visible{outline:2px solid var(--z165-mint)!important;outline-offset:2px}

/* Forms */
body:not(.admin-body) .form input,body:not(.admin-body) .form textarea,body:not(.admin-body) .form select,
body:not(.admin-body) input[type=text],body:not(.admin-body) input[type=email],body:not(.admin-body) input[type=password],body:not(.admin-body) input[type=search],body:not(.admin-body) input[type=number],body:not(.admin-body) textarea,body:not(.admin-body) select{
  background:#0a1826!important;color:var(--z165-text)!important;border-color:var(--z165-line-strong)!important;border-radius:13px!important}
body:not(.admin-body) input::placeholder,body:not(.admin-body) textarea::placeholder{color:#6e8297!important}
body:not(.admin-body) .field label{color:#dce7f0!important;font-weight:750!important}

/* Home: search hero like the approved visual */
body:not(.admin-body) .portal-home-v2{gap:22px!important}
body:not(.admin-body) .portal-search-hero{position:relative;overflow:hidden;border:1px solid rgba(83,160,226,.20)!important;border-radius:24px!important;padding:28px!important;background:
 radial-gradient(circle at 80% 25%,rgba(63,232,178,.15),transparent 27%),
 radial-gradient(circle at 64% 110%,rgba(94,83,255,.18),transparent 35%),
 linear-gradient(135deg,#0c2136,#0e2940 52%,#0c2133)!important;box-shadow:0 22px 70px rgba(0,0,0,.28)!important}
body:not(.admin-body) .portal-search-hero:after{content:"";position:absolute;width:340px;height:340px;right:-120px;top:-210px;border:70px solid rgba(255,255,255,.035);border-radius:50%;pointer-events:none}
body:not(.admin-body) .hybrid-search-copy strong{color:#fff!important;font-size:clamp(25px,3vw,40px)!important;letter-spacing:-.04em!important;max-width:720px;line-height:1.05!important}
body:not(.admin-body) .portal-market-search label{background:#091928!important;border-color:rgba(185,213,236,.18)!important;border-radius:15px!important}
body:not(.admin-body) .portal-market-search input{background:transparent!important;border:0!important}
body:not(.admin-body) .hybrid-discovery-rail a{background:rgba(255,255,255,.055)!important;border:1px solid var(--z165-line)!important;color:#cfe0ed!important;border-radius:999px!important}
body:not(.admin-body) .hybrid-discovery-rail a:hover{background:rgba(63,232,178,.10)!important;border-color:rgba(63,232,178,.25)!important;color:#ebfff8!important}

/* Home sections */
body:not(.admin-body) .home-section-title a,body:not(.admin-body) .portal-competitive-head a{color:#93c8ff!important}
body:not(.admin-body) .portal-competitive-grid{gap:10px!important}
body:not(.admin-body) .portal-competitive-grid>a{border:1px solid var(--z165-line)!important;border-radius:18px!important;background:#0d1f31!important;color:var(--z165-text)!important;box-shadow:none!important}
body:not(.admin-body) .portal-competitive-grid>a:hover{transform:translateY(-2px);border-color:rgba(63,232,178,.30)!important;background:#112941!important}
body:not(.admin-body) .portal-competitive-grid>a>span{background:#15304a!important;color:var(--z165-mint)!important;border:1px solid rgba(120,171,214,.13)!important}
body:not(.admin-body) .portal-category-card{border-radius:19px!important;border:1px solid var(--z165-line)!important;overflow:hidden!important;box-shadow:0 14px 38px rgba(0,0,0,.22)!important}
body:not(.admin-body) .portal-category-card:after{background:linear-gradient(180deg,rgba(6,15,25,.04),rgba(6,15,25,.86))!important}
body:not(.admin-body) .portal-category-card-content{color:#fff!important}
body:not(.admin-body) .portal-category-card em,body:not(.admin-body) .portal-category-card small{color:#b9cad8!important}
body:not(.admin-body) .portal-listing-card{background:#0d1d2d!important;border:1px solid var(--z165-line)!important;border-radius:18px!important;color:var(--z165-text)!important;box-shadow:0 12px 32px rgba(0,0,0,.22)!important;overflow:hidden}
body:not(.admin-body) .portal-listing-card>div:first-child{background:#13263a!important}
body:not(.admin-body) .portal-listing-card img{transition:transform .25s ease}
body:not(.admin-body) .portal-listing-card:hover img{transform:scale(1.025)}
body:not(.admin-body) .portal-listing-card>div:first-child>span{background:rgba(6,18,29,.82)!important;color:var(--z165-mint)!important;backdrop-filter:blur(8px)}
body:not(.admin-body) .portal-lead-story,body:not(.admin-body) .portal-story-list>a,body:not(.admin-body) .home-product-mini,body:not(.admin-body) .home-topic-list>a{background:#0d1d2d!important;border-color:var(--z165-line)!important;color:var(--z165-text)!important}
body:not(.admin-body) .portal-trust-row{background:#0b1c2c!important;border:1px solid var(--z165-line)!important;border-radius:20px!important;color:var(--z165-text)!important}
body:not(.admin-body) .portal-trust-row span{color:var(--z165-muted)!important}

/* Marketplace/catalog */
body:not(.admin-body) .marketplace-hero,body:not(.admin-body) .catalog-hub-hero{background:linear-gradient(135deg,#0b2136,#102c45)!important;border:1px solid var(--z165-line)!important;border-radius:24px!important;color:var(--z165-text)!important}
body:not(.admin-body) .marketplace-results-head,body:not(.admin-body) .catalog-products-head{color:var(--z165-text)!important}
body:not(.admin-body) .marketplace-filter-panel,body:not(.admin-body) .catalog-filter-card{background:#0c1c2c!important;border-color:var(--z165-line)!important}
body:not(.admin-body) .product-card-body,body:not(.admin-body) .market-card-body{background:transparent!important}
body:not(.admin-body) .product-card-media,body:not(.admin-body) .market-card-media{background:#13263a!important}
body:not(.admin-body) .product-price{color:#fff!important}
body:not(.admin-body) .old-price{color:#73869a!important}

/* Product/detail page similar to concept */
body:not(.admin-body) .detail-tabs{background:#0b1b2b!important;border:1px solid var(--z165-line)!important;border-radius:16px!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
body:not(.admin-body) .detail-tabs a{color:#9eb2c4!important}
body:not(.admin-body) .detail-tabs a:hover{color:var(--z165-mint)!important;background:#10253a!important}
body:not(.admin-body) .product-detail-top{background:linear-gradient(145deg,#0c1d2d,#10263a)!important}
body:not(.admin-body) .product-detail-media{background:#13273b!important;border-color:var(--z165-line)!important;border-radius:18px!important;overflow:hidden}
body:not(.admin-body) .product-detail-info h1{font-size:clamp(28px,4vw,44px)!important;letter-spacing:-.04em!important}
body:not(.admin-body) .product-v2-meta span,body:not(.admin-body) .product-v2-stock{background:#102439!important;border-color:var(--z165-line)!important;color:#c1d3e2!important}
body:not(.admin-body) .offer-table{background:#0b1b2b!important;border-color:var(--z165-line)!important;border-radius:18px!important;overflow:hidden}
body:not(.admin-body) .offer-row{border-color:var(--z165-line)!important}
body:not(.admin-body) .offer-row:hover{background:#102339!important}
body:not(.admin-body) .product-spec-grid>div{background:#0b1b2b!important;border-color:var(--z165-line)!important;border-radius:14px!important}
body:not(.admin-body) .stars{color:#ffbc45!important}
body:not(.admin-body) .mobile-detail-action{background:rgba(7,17,28,.95)!important;border-top-color:var(--z165-line)!important;backdrop-filter:blur(18px)!important}

/* Profile / dashboard */
body:not(.admin-body) .profile-hero,body:not(.admin-body) .profile-summary,body:not(.admin-body) .seller-hero{background:linear-gradient(135deg,#0d2237,#102d46)!important;border-color:var(--z165-line)!important;color:var(--z165-text)!important}
body:not(.admin-body) .profile-stat,body:not(.admin-body) .seller-stat{background:#0b1c2c!important;border-color:var(--z165-line)!important;border-radius:16px!important}
body:not(.admin-body) .wallet-hero{background:linear-gradient(135deg,#102c42,#123a4d)!important;color:#fff!important;border-color:var(--z165-line)!important}
body:not(.admin-body) .wallet-summary-card strong{color:#fff!important}
body:not(.admin-body) .author-monetization-card,body:not(.admin-body) .referral-hero{background:linear-gradient(135deg,#3f2d94,#6924b2)!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important}

/* Messages, forum and support */
body:not(.admin-body) .support-hero-card,body:not(.admin-body) .forum-hero,body:not(.admin-body) .inbox-hero{background:linear-gradient(135deg,#0d2237,#0c2e3e)!important;border-color:var(--z165-line)!important}
body:not(.admin-body) .message,body:not(.admin-body) .conversation-item{background:#0d2032!important;border-color:var(--z165-line)!important;color:var(--z165-text)!important}
body:not(.admin-body) .message.mine{background:#113c3a!important;border-color:rgba(63,232,178,.20)!important}
body:not(.admin-body) .support-composer-rich{background:#0a1928!important;border-color:var(--z165-line)!important}

/* Verification / notices */
body:not(.admin-body) .account-verification-banner{background:#342a12!important;border-bottom-color:#5e4b1a!important;color:#ffe9ac!important}
body:not(.admin-body) .account-verification-banner small{color:#dbc889!important}
body:not(.admin-body) .account-verification-banner .btn{background:#ffd36a!important;color:#2d2100!important}
body:not(.admin-body) .flash,body:not(.admin-body) .notice{border-radius:14px!important}

/* Advertising */
body:not(.admin-body) .ad-top-site-card,body:not(.admin-body) .ad-live-preview-5164,body:not(.admin-body) .active-ad-card{background:#0d1d2d!important;border-color:var(--z165-line)!important;color:var(--z165-text)!important}
body:not(.admin-body) .ad-live-preview-5164>a{background:#102238!important;border-color:var(--z165-line)!important}
body:not(.admin-body) .ad-live-preview-media-5164{background:#13283e!important}
body:not(.admin-body) .active-ad-metrics-5164 span{background:#142a40!important;color:#9fb4c7!important}

/* Footer */
body:not(.admin-body) .footer{background:#050d16!important;border-top:1px solid var(--z165-line)!important;color:#b4c5d4!important}
body:not(.admin-body) .footer a{color:#98adbf!important}
body:not(.admin-body) .footer a:hover{color:var(--z165-mint)!important}

/* Modals and sheets */
body:not(.admin-body) .site-modal-card,body:not(.admin-body) .mobile-command-sheet{background:#0a1928!important;border:1px solid var(--z165-line-strong)!important;color:var(--z165-text)!important;box-shadow:0 28px 80px rgba(0,0,0,.48)!important}
body:not(.admin-body) .site-modal-backdrop,body:not(.admin-body) .mobile-command-backdrop{background:rgba(0,6,12,.66)!important;backdrop-filter:blur(4px)}
body:not(.admin-body) .site-modal-close,body:not(.admin-body) .mobile-sheet-head>button{background:#14283b!important;color:#dce8f2!important}
body:not(.admin-body) .mobile-more-grid a,body:not(.admin-body) .mobile-create-grid>a,body:not(.admin-body) .mobile-more-account,body:not(.admin-body) .mobile-menu-group,body:not(.admin-body) .mobile-create-listing-block{background:#0d2032!important;border-color:var(--z165-line)!important;color:var(--z165-text)!important}
body:not(.admin-body) .mobile-more-compact-list a,body:not(.admin-body) .mobile-more-account-actions a,body:not(.admin-body) .mobile-create-categories button{background:#10253a!important;border-color:var(--z165-line)!important;color:#dbe8f2!important}

/* Premium mobile experience — intentionally close to the provided concept */
@media(max-width:760px){
  body:not(.admin-body){background:linear-gradient(180deg,#06101b,#07131f 55%,#06101b)!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  body:not(.admin-body) .shell{width:calc(100% - 20px)!important}
  body:not(.admin-body) .top{background:rgba(5,14,24,.96)!important}
  body:not(.admin-body) .top-in{min-height:58px!important;padding-top:4px!important;padding-bottom:4px!important}
  body:not(.admin-body) .brand-symbol-5159{width:37px!important;height:37px!important;border-radius:12px!important}
  body:not(.admin-body) .brand-name-5159{font-size:20px!important}
  body:not(.admin-body) .top-search{height:40px!important;border-radius:13px!important}
  body:not(.admin-body) .public-section-bar{background:#071420!important}

  body:not(.admin-body) .portal-search-hero{margin-top:8px!important;padding:16px!important;border-radius:19px!important}
  body:not(.admin-body) .hybrid-search-copy strong{font-size:23px!important}
  body:not(.admin-body) .portal-market-search{gap:7px!important}
  body:not(.admin-body) .portal-market-search label{height:44px!important}
  body:not(.admin-body) .hybrid-discovery-rail{margin-top:10px!important}
  body:not(.admin-body) .hybrid-discovery-rail a{font-size:10px!important;padding:7px 10px!important}

  body:not(.admin-body) .home-section-title h2,body:not(.admin-body) .portal-competitive-head h2{font-size:20px!important;letter-spacing:-.025em!important}
  body:not(.admin-body) .portal-competitive-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
  body:not(.admin-body) .portal-competitive-grid>a{min-height:82px!important;padding:9px 5px!important;text-align:center!important;display:grid!important;place-items:center!important;align-content:center!important;gap:5px!important;border-radius:15px!important}
  body:not(.admin-body) .portal-competitive-grid>a>span{width:34px!important;height:34px!important;border-radius:11px!important;margin:0 auto!important}
  body:not(.admin-body) .portal-competitive-grid>a>div{min-width:0!important}
  body:not(.admin-body) .portal-competitive-grid>a strong{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;width:100%!important}
  body:not(.admin-body) .portal-competitive-grid>a small{display:none!important}

  body:not(.admin-body) .portal-category-card{flex:0 0 168px!important;min-height:118px!important;border-radius:16px!important}
  body:not(.admin-body) .portal-listing-card{flex-basis:164px!important;border-radius:15px!important}

  body:not(.admin-body) .panel{border-radius:17px!important}
  body:not(.admin-body) .product-detail-top{padding:12px!important}
  body:not(.admin-body) .product-detail-media{border-radius:15px!important}
  body:not(.admin-body) .product-detail-info h1{font-size:24px!important;margin-bottom:6px!important}
  body:not(.admin-body) .product-price.large{font-size:30px!important}
  body:not(.admin-body) .product-detail-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  body:not(.admin-body) .product-detail-actions .btn{width:100%!important}
  body:not(.admin-body) .offer-row{background:#0c1e2f!important;border-radius:14px!important;margin:6px!important}

  body:not(.admin-body) .mobile-command-nav{display:grid!important;grid-template-columns:1fr 1fr 1.15fr 1fr 1fr!important;height:calc(68px + env(safe-area-inset-bottom))!important;padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(5,14,24,.96)!important;border-top:1px solid var(--z165-line)!important;backdrop-filter:blur(22px)!important;box-shadow:0 -14px 44px rgba(0,0,0,.34)!important}
  body:not(.admin-body) .mobile-command-nav>a,body:not(.admin-body) .mobile-command-nav>button{height:55px!important;border-radius:14px!important;color:#8298ab!important;background:transparent!important}
  body:not(.admin-body) .mobile-command-nav .nav-icon svg{stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}
  body:not(.admin-body) .mobile-command-nav .is-active{background:transparent!important;color:var(--z165-mint)!important}
  body:not(.admin-body) .mobile-command-nav .is-active small{color:var(--z165-mint)!important}
  body:not(.admin-body) .mobile-command-nav small{font-size:9px!important;font-weight:750!important;color:#7f93a6!important}
  body:not(.admin-body) .mobile-command-nav .nav-icon-create{width:46px!important;height:46px!important;border-radius:15px!important;background:linear-gradient(145deg,#4df0bd,#31d9a6)!important;color:#03120d!important;box-shadow:0 9px 26px rgba(45,220,165,.26)!important;border:0!important}
  body:not(.admin-body) .mobile-nav-badge{background:var(--z165-danger)!important;border-color:#07121d!important}
  body:not(.admin-body) .mobile-command-sheet{left:7px!important;right:7px!important;bottom:calc(70px + env(safe-area-inset-bottom))!important;border-radius:24px!important;max-height:min(76dvh,680px)!important}
  body:not(.admin-body) .mobile-sheet-grabber{background:#405469!important}

  body:not(.admin-body) .support-fab{display:none!important}
  body:not(.admin-body) .footer{padding-bottom:90px!important}
}

@media(max-width:430px){
  body:not(.admin-body) .portal-competitive-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body:not(.admin-body) .portal-competitive-grid>a{min-height:76px!important}
  body:not(.admin-body) .portal-competitive-grid>a>span{width:31px!important;height:31px!important}
  body:not(.admin-body) .portal-search-hero{padding:14px!important}
  body:not(.admin-body) .portal-market-search button{padding-inline:14px!important}
}

/* Reduce motion and keep accessibility */
@media(prefers-reduced-motion:reduce){body:not(.admin-body) *,body:not(.admin-body) *:before,body:not(.admin-body) *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.z165-pressed{transform:scale(.985)!important}


/* ---------- Source: upgrade-5166.css ---------- */
/* Znahodka 5.166 — exact mobile visual pass based on the approved marketplace mockup. */
:root{
  --z166-bg:#03101d;
  --z166-bg2:#061727;
  --z166-panel:#071c2e;
  --z166-panel2:#0b263b;
  --z166-line:#173d5d;
  --z166-line-soft:rgba(105,175,226,.20);
  --z166-text:#f8fbff;
  --z166-muted:#91a9c0;
  --z166-mint:#34f0bd;
  --z166-mint2:#20dca9;
  --z166-blue:#55aaff;
  --z166-shadow:0 22px 55px rgba(0,0,0,.35);
}
body:not(.admin-body){background:
  radial-gradient(circle at 70% -8%,rgba(10,106,213,.20),transparent 26rem),
  radial-gradient(circle at 5% 9%,rgba(31,102,206,.13),transparent 24rem),
  linear-gradient(180deg,#04111f 0%,#03101b 54%,#020b14 100%)!important;
  color:var(--z166-text)!important}
body:not(.admin-body) .brand-name-accent-5166{color:var(--z166-mint)!important}
body:not(.admin-body) .brand-name-base-5166{color:#fff!important}
body:not(.admin-body) .header-bell-5166 svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body:not(.admin-body) .main{padding-top:24px}
body.home-page-5166 .main{padding-top:16px!important}
body.home-page-5166 .portal-home-v2{display:block!important}
body.home-page-5166 .public-section-bar{display:none!important}
body.home-page-5166 .footer{margin-top:52px}

/* homepage search exactly like the reference */
.zn-home-5166{max-width:1180px;margin:0 auto}
.zn-search-zone-5166{margin:0 0 24px}
.zn-searchbar-5166{height:76px;border:1.5px solid #1d70ad;border-radius:28px;background:linear-gradient(180deg,rgba(11,34,55,.96),rgba(8,28,46,.98));display:flex;align-items:center;padding:0 18px 0 22px;gap:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 14px 40px rgba(0,0,0,.20)}
.zn-searchbar-5166 .zn-search-icon-5166{display:grid;place-items:center;color:#9bbbe1;flex:0 0 36px}
.zn-searchbar-5166 .zn-search-icon-5166 svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.zn-searchbar-5166 input{flex:1!important;min-width:0!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#eff7ff!important;font-size:22px!important;font-weight:500!important;outline:none!important}
.zn-searchbar-5166 input::placeholder{color:#8aa6c8!important;opacity:1}
.zn-filter-button-5166{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#f2f8ff!important;background:transparent!important}
.zn-filter-button-5166:hover{background:rgba(83,166,231,.10)!important}
.zn-filter-button-5166 svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zn-quick-grid-5166{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:24px}
.zn-quick-grid-5166>a{min-height:146px;padding:22px 14px;border-radius:26px;border:1px solid rgba(33,112,160,.42);background:linear-gradient(160deg,#0a2840 0%,#0a2033 100%);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff!important;box-shadow:0 17px 40px rgba(0,0,0,.20);text-decoration:none}
.zn-quick-grid-5166>a:hover{transform:translateY(-2px);border-color:rgba(57,239,188,.45);box-shadow:0 18px 42px rgba(0,0,0,.30)}
.zn-quick-grid-5166>a span{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin-bottom:14px;background:radial-gradient(circle at 50% 35%,rgba(64,177,255,.22),rgba(10,42,67,.02));color:#70c8ff;filter:drop-shadow(0 0 14px rgba(52,188,255,.18))}
.zn-quick-grid-5166>a:nth-child(3) span{color:var(--z166-mint)}
.zn-quick-grid-5166>a svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.zn-quick-grid-5166>a strong{font-size:18px;line-height:1.1;color:#fff!important;font-weight:800}

/* promo banner */
.zn-promo-5166{position:relative;min-height:420px;overflow:hidden;border:1.5px solid #236bda;border-radius:34px;background:linear-gradient(135deg,#0d37a0 0%,#0e60d1 44%,#09cdb9 100%);box-shadow:0 28px 75px rgba(0,20,62,.48);margin:26px 0 36px;isolation:isolate}
.zn-promo-5166:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 42%,rgba(96,255,226,.38),transparent 34%),radial-gradient(circle at 20% 100%,rgba(8,21,95,.48),transparent 43%);z-index:-1}
.zn-promo-copy-5166{position:relative;z-index:3;width:49%;padding:48px 0 44px 46px}
.zn-promo-copy-5166 h1{font-size:clamp(38px,4.6vw,64px)!important;line-height:.98!important;letter-spacing:-.05em!important;margin:0 0 24px!important;color:#fff!important;font-weight:950!important}
.zn-promo-copy-5166 h1 span{display:block;color:#4ff2ca!important}
.zn-promo-copy-5166 p{margin:0 0 28px!important;color:#c9ddf7!important;font-size:24px!important;line-height:1.25!important}
.zn-promo-copy-5166 a{display:inline-flex;align-items:center;gap:18px;background:linear-gradient(135deg,#3ff3c1,#50e8bd);color:#00170f!important;text-decoration:none;font-weight:900;font-size:20px;border-radius:21px;padding:18px 26px;box-shadow:0 15px 35px rgba(8,238,181,.25)}
.zn-promo-copy-5166 a b{font-size:31px;line-height:.7}
.zn-promo-art-5166{position:absolute;right:-2.5%;top:0;width:62%;height:100%;display:flex;align-items:stretch;justify-content:flex-end;z-index:1;pointer-events:none}
.zn-promo-art-5166 img{width:100%;height:100%;object-fit:cover;object-position:center}
.zn-promo-dots-5166{position:absolute;right:28px;bottom:18px;z-index:4;display:flex;gap:10px}.zn-promo-dots-5166 i{display:block;width:12px;height:12px;border-radius:50%;background:rgba(153,189,227,.55)}.zn-promo-dots-5166 i.active{background:#fff}

/* listing section */
.zn-section-head-5166{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}
.zn-section-head-5166 h2{margin:0!important;font-size:34px!important;line-height:1.08!important;letter-spacing:-.04em!important;color:#fff!important}
.zn-section-head-5166>a{color:#9ecbff!important;text-decoration:none;font-size:19px}.zn-section-head-5166>a span{font-size:28px;vertical-align:-1px}
.zn-listing-grid-5166{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.zn-listing-card-5166{overflow:hidden;border-radius:27px;background:linear-gradient(180deg,#0a1d30,#071828);border:1px solid rgba(49,126,176,.38);text-decoration:none!important;color:#fff!important;box-shadow:0 18px 42px rgba(0,0,0,.28)}
.zn-listing-card-5166:hover{transform:translateY(-3px);border-color:rgba(54,236,184,.40);box-shadow:0 25px 55px rgba(0,0,0,.34)}
.zn-listing-image-5166{position:relative;aspect-ratio:1.35/1;background:#0d2034;overflow:hidden}
.zn-listing-image-5166 img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.zn-listing-card-5166:hover .zn-listing-image-5166 img{transform:scale(1.025)}
.zn-heart-5166{position:absolute;right:12px;top:12px;width:45px;height:45px;border-radius:16px;display:grid;place-items:center;background:rgba(11,23,39,.78);backdrop-filter:blur(10px);font-size:32px;line-height:1;color:#fff;border:1px solid rgba(255,255,255,.15)}
.zn-listing-image-5166 em{position:absolute;left:12px;top:12px;border-radius:999px;background:rgba(9,34,44,.84);color:#4cf0c5;padding:7px 10px;font-size:11px;font-style:normal;font-weight:800;border:1px solid rgba(64,239,191,.22)}
.zn-listing-body-5166{padding:17px 18px 19px}.zn-listing-price-5166{display:block;color:#fff!important;font-size:27px!important;line-height:1.05;font-weight:900;letter-spacing:-.025em;margin-bottom:8px}.zn-listing-body-5166 h3{font-size:18px!important;line-height:1.2!important;margin:0 0 10px!important;color:#fff!important;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zn-listing-body-5166 p{margin:0!important;color:#92aac3!important;font-size:13px!important;display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zn-listing-body-5166 p svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:#96c8ff;stroke-width:1.8}.zn-listing-body-5166 p span{opacity:.5}
.zn-empty-5166{grid-column:1/-1;padding:30px!important}
.zn-home-feed-ad-5166{margin:28px 0}
.zn-more-sections-5166{margin:38px 0 0}.zn-more-grid-5166{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.zn-more-grid-5166>a{min-height:98px;border:1px solid var(--z166-line-soft);background:#081b2c;border-radius:22px;padding:17px;display:flex;align-items:center;gap:13px;text-decoration:none!important;color:#fff!important}.zn-more-grid-5166>a>span{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#0d2c45;color:var(--z166-mint);font-size:24px}.zn-more-grid-5166 strong{font-size:16px!important}.zn-more-grid-5166 small{display:block;margin-top:3px;color:#8da7bf!important}

/* make lower homepage content part of the same visual system */
body.home-page-5166 .portal-recently-viewed,body.home-page-5166 .portal-news-market-grid,body.home-page-5166 .portal-trust-row{margin-top:42px}
body.home-page-5166 .portal-lead-story,body.home-page-5166 .portal-home-sidebar .panel,body.home-page-5166 .portal-story-list a{background:#081c2e!important;border-color:rgba(77,145,196,.22)!important}
body.home-page-5166 .portal-trust-row>div{background:#081b2b!important;border:1px solid rgba(77,145,196,.18)!important;border-radius:20px!important}

/* exact app-like bottom navigation */
.mobile-command-nav.zn-mobile-nav-5166{background:rgba(5,18,31,.96)!important;border:1px solid rgba(64,128,177,.23)!important;box-shadow:0 -10px 45px rgba(0,0,0,.32)!important;backdrop-filter:blur(24px) saturate(145%)!important}
.mobile-command-nav.zn-mobile-nav-5166>a,.mobile-command-nav.zn-mobile-nav-5166>button{background:transparent!important;color:#8fa8c1!important}
.mobile-command-nav.zn-mobile-nav-5166 .is-active{color:var(--z166-mint)!important}
.mobile-command-nav.zn-mobile-nav-5166 .nav-icon-create{background:linear-gradient(145deg,#3ff1bd,#2dd9aa)!important;color:#00180f!important;border:0!important;box-shadow:0 10px 30px rgba(41,226,172,.30)!important}
.mobile-command-nav.zn-mobile-nav-5166 .nav-icon svg{fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* listing page — match the product screen from the concept */
body:not(.admin-body) .listing-page-v2 .listing-gallery-v2,body:not(.admin-body) .listing-page-v2 .listing-buy-card,body:not(.admin-body) .listing-page-v2 .listing-description,body:not(.admin-body) .listing-page-v2 .listing-seller-v2,body:not(.admin-body) .listing-page-v2 .listing-reviews{background:linear-gradient(180deg,#091d30,#071725)!important;border:1px solid rgba(73,145,196,.23)!important;box-shadow:0 18px 44px rgba(0,0,0,.28)!important}
body:not(.admin-body) .listing-page-v2 .listing-main-photo{background:#061321!important;border-radius:23px!important;overflow:hidden}
body:not(.admin-body) .listing-page-v2 .listing-main-photo img{object-fit:cover!important}
body:not(.admin-body) .listing-page-v2 .listing-price-v2{font-weight:950!important;color:#fff!important;letter-spacing:-.035em!important}
body:not(.admin-body) .listing-page-v2 .listing-message-button{background:linear-gradient(135deg,#3ff1bd,#34ddaD)!important;color:#00180f!important}
body:not(.admin-body) .listing-page-v2 .listing-seller-v2{border-radius:22px!important}
body:not(.admin-body) .listing-page-v2 .listing-badges span{background:#0b2a35!important;color:#5cf1c7!important;border:1px solid rgba(80,239,194,.18)!important}

/* profile — match the personal cabinet concept */
body:not(.admin-body) .profile-page-v3 .profile-hero-v3{background:linear-gradient(145deg,#0a2238,#0a3044)!important;border:1px solid rgba(78,154,204,.22)!important;box-shadow:0 24px 55px rgba(0,0,0,.30)!important}
body:not(.admin-body) .profile-page-v3 .profile-focus-card,body:not(.admin-body) .profile-page-v3 .profile-status-card,body:not(.admin-body) .profile-page-v3 .profile-card-v3,body:not(.admin-body) .profile-page-v3 .profile-listings-5155{background:#081c2d!important;border-color:rgba(80,149,198,.20)!important}
body:not(.admin-body) .profile-page-v3 .profile-create-listing{background:linear-gradient(135deg,#3ff1bd,#2fdcad)!important;color:#00180f!important}

/* general page consistency */
body:not(.admin-body) .panel,body:not(.admin-body) .card{background:linear-gradient(180deg,#091d2f,#071725)!important;border-color:rgba(77,145,196,.20)!important}
body:not(.admin-body) .btn{background:linear-gradient(135deg,#3ff1bd,#36dfaf)!important;color:#00180f!important}
body:not(.admin-body) .btn.secondary,body:not(.admin-body) .btn.ghost{background:#0d2539!important;color:#dcecff!important;border:1px solid rgba(84,152,202,.20)!important}
body:not(.admin-body) input,body:not(.admin-body) textarea,body:not(.admin-body) select{background:#071725!important;border-color:rgba(80,147,194,.25)!important;color:#f5f9ff!important}

@media(max-width:900px){
  .zn-listing-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zn-more-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zn-promo-5166{min-height:360px}.zn-promo-copy-5166{width:55%;padding-left:34px}.zn-promo-art-5166{width:64%}
}

@media(max-width:760px){
  body:not(.admin-body){padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  body:not(.admin-body) .shell{width:calc(100% - 36px)!important}
  body:not(.admin-body) .top{position:sticky!important;top:0!important;background:rgba(3,14,25,.94)!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:blur(20px)!important}
  body:not(.admin-body) .top-in{min-height:62px!important;padding:7px 0!important;gap:10px!important}
  body:not(.admin-body) .brand{gap:0!important}
  body:not(.admin-body) .brand-symbol-5159{display:none!important}
  body:not(.admin-body) .brand-name-5159{font-size:26px!important;line-height:1!important;letter-spacing:-.05em!important;font-weight:950!important}
  body:not(.admin-body) .top-search{display:none!important}
  body:not(.admin-body) .top-actions{gap:8px!important}
  body:not(.admin-body) .top-actions .author-top-cta,body:not(.admin-body) .top-actions .admin-top-link,body:not(.admin-body) .top-actions .header-profile-5166,body:not(.admin-body) .top-actions .guest-register-cta{display:none!important}
  body:not(.admin-body) .top-actions .header-notifications-5166,body:not(.admin-body) .top-actions .account-top-guest{display:grid!important;width:42px!important;height:42px!important;padding:0!important;border-radius:14px!important;background:transparent!important;color:#f3f8ff!important}
  body:not(.admin-body) .top-actions .account-top-avatar{width:42px!important;height:42px!important;border:0!important;background:transparent!important;font-size:0!important;color:#f3f8ff!important}
  body:not(.admin-body) .top-actions .account-top-name{display:none!important}
  body:not(.admin-body) .header-bell-5166 svg{width:27px!important;height:27px!important}
  body:not(.admin-body) .notification-dot{right:2px!important;top:1px!important;background:#ff5365!important;border:2px solid #04111d!important}
  body.home-page-5166 .main{padding-top:8px!important}
  .zn-search-zone-5166{margin-bottom:18px}
  .zn-searchbar-5166{height:52px;border-radius:18px;padding:0 10px 0 14px;gap:8px}
  .zn-searchbar-5166 .zn-search-icon-5166{flex-basis:27px}.zn-searchbar-5166 .zn-search-icon-5166 svg{width:25px;height:25px}
  .zn-searchbar-5166 input{font-size:15px!important}
  .zn-filter-button-5166{width:38px;height:38px;border-radius:13px}.zn-filter-button-5166 svg{width:25px;height:25px}
  .zn-quick-grid-5166{gap:9px;margin-top:14px}
  .zn-quick-grid-5166>a{min-height:82px;border-radius:18px;padding:10px 4px}
  .zn-quick-grid-5166>a span{width:38px;height:38px;border-radius:13px;margin-bottom:7px}
  .zn-quick-grid-5166>a svg{width:29px;height:29px}
  .zn-quick-grid-5166>a strong{font-size:11px!important;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .zn-promo-5166{min-height:204px;border-radius:23px;margin:18px 0 27px}
  .zn-promo-copy-5166{width:57%;padding:23px 0 21px 20px}
  .zn-promo-copy-5166 h1{font-size:27px!important;line-height:.98!important;margin-bottom:12px!important;max-width:190px}
  .zn-promo-copy-5166 p{font-size:13px!important;margin-bottom:15px!important;color:#c8dbef!important}
  .zn-promo-copy-5166 a{font-size:11px;padding:10px 13px;border-radius:13px;gap:8px;white-space:nowrap}.zn-promo-copy-5166 a b{font-size:20px}
  .zn-promo-art-5166{right:-20%;width:84%;opacity:.98}.zn-promo-art-5166 img{object-position:center}
  .zn-promo-dots-5166{right:13px;bottom:11px;gap:6px}.zn-promo-dots-5166 i{width:7px;height:7px}
  .zn-section-head-5166{margin-bottom:12px}.zn-section-head-5166 h2{font-size:23px!important}.zn-section-head-5166>a{font-size:13px}
  .zn-listing-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .zn-listing-card-5166{border-radius:17px}
  .zn-listing-image-5166{aspect-ratio:1.24/1}
  .zn-heart-5166{right:8px;top:8px;width:34px;height:34px;border-radius:12px;font-size:24px}
  .zn-listing-body-5166{padding:11px 11px 13px}.zn-listing-price-5166{font-size:20px!important}.zn-listing-body-5166 h3{font-size:13px!important;margin-bottom:7px!important}.zn-listing-body-5166 p{font-size:10px!important;gap:4px}.zn-listing-body-5166 p svg{width:13px;height:13px;flex-basis:13px}
  .zn-more-sections-5166{margin-top:30px}.zn-more-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.zn-more-grid-5166>a{min-height:84px;border-radius:18px;padding:13px;gap:10px}.zn-more-grid-5166>a>span{width:42px;height:42px;border-radius:13px}.zn-more-grid-5166 strong{font-size:14px!important}.zn-more-grid-5166 small{font-size:10px!important}

  .mobile-command-nav.zn-mobile-nav-5166{display:grid!important;position:fixed!important;left:10px!important;right:10px!important;bottom:7px!important;width:auto!important;height:calc(72px + env(safe-area-inset-bottom))!important;padding:6px 5px calc(6px + env(safe-area-inset-bottom))!important;border-radius:24px!important;grid-template-columns:1fr 1fr 1.12fr 1fr 1fr!important;z-index:190!important}
  .mobile-command-nav.zn-mobile-nav-5166>a,.mobile-command-nav.zn-mobile-nav-5166>button{height:56px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0 2px!important}
  .mobile-command-nav.zn-mobile-nav-5166 .nav-icon{width:26px!important;height:26px!important;display:grid!important;place-items:center!important;position:relative!important}.mobile-command-nav.zn-mobile-nav-5166 .nav-icon svg{width:25px!important;height:25px!important}
  .mobile-command-nav.zn-mobile-nav-5166 small{font-size:9px!important;line-height:1!important;color:currentColor!important;font-weight:700!important}
  .mobile-command-nav.zn-mobile-nav-5166 .nav-icon-create{width:57px!important;height:57px!important;border-radius:21px!important;margin-top:-22px!important}.mobile-command-nav.zn-mobile-nav-5166 .nav-icon-create svg{width:34px!important;height:34px!important;stroke-width:1.7!important}
  .mobile-command-nav.zn-mobile-nav-5166 .mobile-create-command small{margin-top:-2px!important}
  body:not(.admin-body) .mobile-command-sheet{bottom:calc(87px + env(safe-area-inset-bottom))!important}
  body:not(.admin-body) .footer{padding-bottom:100px!important}
  body:not(.admin-body) .support-fab{display:none!important}

  /* mobile listing page */
  body:not(.admin-body) .listing-page-v2 .breadcrumbs{display:none!important}
  body:not(.admin-body) .listing-page-v2 .listing-layout-v2{display:flex!important;flex-direction:column!important;gap:12px!important}
  body:not(.admin-body) .listing-page-v2 .listing-gallery-v2{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body:not(.admin-body) .listing-page-v2 .listing-main-photo{border-radius:20px!important;aspect-ratio:1.04/1!important}
  body:not(.admin-body) .listing-page-v2 .listing-thumbnails{padding:9px 0 0!important;gap:7px!important;overflow:auto!important}.listing-page-v2 .listing-thumbnails button{flex:0 0 64px!important;border-radius:12px!important}
  body:not(.admin-body) .listing-page-v2 .listing-buy-card{padding:16px!important;border-radius:22px!important}
  body:not(.admin-body) .listing-page-v2 .listing-buy-card h1{font-size:24px!important;line-height:1.08!important;margin:5px 0 4px!important}.listing-page-v2 .listing-price-v2{font-size:31px!important}
  body:not(.admin-body) .listing-page-v2 .listing-trust-summary{display:none!important}
  body:not(.admin-body) .listing-page-v2 .listing-content-grid{display:block!important}.listing-page-v2 .listing-content-grid>aside{margin-top:12px!important}
  body:not(.admin-body) .listing-page-v2 .listing-seller-v2{padding:15px!important}
  body:not(.admin-body) .mobile-detail-action{background:rgba(5,18,31,.96)!important;border-top:1px solid rgba(68,136,187,.22)!important;bottom:calc(84px + env(safe-area-inset-bottom))!important}
}

@media(max-width:430px){
  .zn-searchbar-5166{height:50px;border-radius:17px}.zn-searchbar-5166 input{font-size:14px!important}.zn-filter-button-5166{width:36px;height:36px}
  .zn-quick-grid-5166{gap:7px}.zn-quick-grid-5166>a{min-height:76px;border-radius:17px}.zn-quick-grid-5166>a span{width:35px;height:35px}.zn-quick-grid-5166>a svg{width:27px;height:27px}.zn-quick-grid-5166>a strong{font-size:10px!important}
  .zn-promo-5166{min-height:190px}.zn-promo-copy-5166{padding:20px 0 18px 17px;width:60%}.zn-promo-copy-5166 h1{font-size:24px!important;max-width:168px}.zn-promo-copy-5166 p{font-size:12px!important}.zn-promo-copy-5166 a{font-size:10px;padding:9px 11px}.zn-promo-art-5166{right:-25%;width:90%}
  .zn-section-head-5166 h2{font-size:22px!important}.zn-listing-price-5166{font-size:19px!important}.zn-listing-body-5166 h3{font-size:12px!important}
  .mobile-command-nav.zn-mobile-nav-5166{left:7px!important;right:7px!important;border-radius:23px!important}.mobile-command-nav.zn-mobile-nav-5166 small{font-size:8px!important}.mobile-command-nav.zn-mobile-nav-5166 .nav-icon-create{width:54px!important;height:54px!important;border-radius:20px!important}
}

@media(prefers-reduced-motion:reduce){.zn-listing-card-5166,.zn-quick-grid-5166>a,.zn-listing-image-5166 img{transition:none!important}}


/* ---------- Source: upgrade-5167.css ---------- */
/* Знаходка 5.167 — global navy/mint system.
   Final override layer: removes legacy white surfaces and brings every section
   into the same visual language as the approved dark marketplace mockup. */
:root{
  --bg:#03101d;
  --card:#081b2c;
  --paper:#081b2c;
  --soft:#0b2236;
  --ink:#f7fbff;
  --muted:#8fa8c1;
  --line:rgba(87,153,204,.22);
  --accent:#34efbd;
  --accent-strong:#22dca8;
  --shadow:0 18px 48px rgba(0,0,0,.27);
  --z167-bg:#020b14;
  --z167-bg-top:#041321;
  --z167-surface:#081b2c;
  --z167-surface-2:#0b2338;
  --z167-surface-3:#102a42;
  --z167-border:rgba(91,158,210,.22);
  --z167-border-strong:rgba(91,170,226,.35);
  --z167-text:#f7fbff;
  --z167-muted:#91a9c0;
  --z167-muted-2:#6f89a1;
  --z167-mint:#34efbd;
  --z167-mint-2:#20d9a6;
  --z167-blue:#63b5ff;
  --z167-danger:#ff6472;
  --z167-warning:#ffc45d;
  --z167-purple:#8a73ff;
  --z167-radius:22px;
  --z167-radius-sm:15px;
  --z167-shadow:0 20px 52px rgba(0,0,0,.30);
}

html{background:var(--z167-bg)!important;color-scheme:dark}
body.site-theme-5167{
  min-height:100vh;
  background:
    radial-gradient(circle at 76% -8%,rgba(26,111,213,.19),transparent 30rem),
    radial-gradient(circle at 0 18%,rgba(22,89,176,.12),transparent 26rem),
    linear-gradient(180deg,var(--z167-bg-top),var(--z167-bg) 58%,#01070d)!important;
  color:var(--z167-text)!important;
}
body.site-theme-5167,body.site-theme-5167 button,body.site-theme-5167 input,body.site-theme-5167 textarea,body.site-theme-5167 select{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif}
body.site-theme-5167 ::selection{background:rgba(52,239,189,.28);color:#fff}
body.site-theme-5167 a{color:inherit}
body.site-theme-5167 .main{min-height:68vh}
body.site-theme-5167 .shell{width:min(1180px,calc(100% - 30px))}
body.site-theme-5167 h1,body.site-theme-5167 h2,body.site-theme-5167 h3,body.site-theme-5167 h4,body.site-theme-5167 h5,body.site-theme-5167 h6,
body.site-theme-5167 strong,body.site-theme-5167 b{color:var(--z167-text)}
body.site-theme-5167 p,body.site-theme-5167 .meta,body.site-theme-5167 .link-muted,body.site-theme-5167 small{color:var(--z167-muted)}
body.site-theme-5167 .eyebrow{color:var(--z167-mint)!important;font-weight:900!important;letter-spacing:.10em!important}
body.site-theme-5167 hr{border-color:var(--z167-border)!important}

/* ===== Header / navigation ===== */
body.site-theme-5167 .top{
  background:rgba(3,14,25,.91)!important;
  border-bottom:1px solid var(--z167-border)!important;
  box-shadow:none!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
}
body.site-theme-5167.z-scrolled .top{background:rgba(3,14,25,.97)!important;box-shadow:0 12px 34px rgba(0,0,0,.22)!important}
body.site-theme-5167 .brand-name-base-5166{color:#fff!important}
body.site-theme-5167 .brand-name-accent-5166{color:var(--z167-mint)!important}
body.site-theme-5167 .brand-symbol-5159{background:#0d2940!important;border:1px solid var(--z167-border)!important;color:var(--z167-mint)!important;box-shadow:none!important}
body.site-theme-5167 .top-search{
  background:#081b2c!important;border:1px solid var(--z167-border)!important;color:var(--z167-muted)!important;box-shadow:none!important
}
body.site-theme-5167 .top-search:focus-within{background:#0a2135!important;border-color:rgba(52,239,189,.48)!important;box-shadow:0 0 0 4px rgba(52,239,189,.08)!important}
body.site-theme-5167 .top-search input{background:transparent!important;color:#eef8ff!important}
body.site-theme-5167 .top-search input::placeholder{color:#6f8ba6!important}
body.site-theme-5167 .top-search kbd{background:#0d263c!important;border-color:var(--z167-border)!important;color:#7890a7!important}
body.site-theme-5167 .top-search button{background:var(--z167-mint)!important;color:#00170f!important;border-radius:11px!important}
body.site-theme-5167 .account-top-link,body.site-theme-5167 .author-top-cta,body.site-theme-5167 .admin-top-link{background:transparent!important;border-color:transparent!important;color:#dbe9f5!important}
body.site-theme-5167 .account-top-link:hover,body.site-theme-5167 .author-top-cta:hover,body.site-theme-5167 .admin-top-link:hover{background:#0c2439!important;color:#fff!important}
body.site-theme-5167 .account-top-avatar{background:#0d2a42!important;color:var(--z167-mint)!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .guest-register-cta{background:linear-gradient(135deg,var(--z167-mint),#65f0c8)!important;color:#00170f!important}

body.site-theme-5167 .public-section-bar,body.site-theme-5167 .ecosystem-nav{
  background:rgba(5,20,33,.94)!important;border-color:var(--z167-border)!important;box-shadow:none!important;backdrop-filter:blur(16px)!important
}
body.site-theme-5167 .public-section-bar a,body.site-theme-5167 .public-section-bar summary,body.site-theme-5167 .ecosystem-nav a{color:#b9ccdd!important}
body.site-theme-5167 .public-section-bar a:hover,body.site-theme-5167 .public-section-bar .is-active,body.site-theme-5167 .ecosystem-nav a:hover{background:#0d2a42!important;color:#fff!important}
body.site-theme-5167 .section-menu-panel,body.site-theme-5167 .catalog-dropdown{
  background:#081b2c!important;border:1px solid var(--z167-border)!important;box-shadow:0 24px 70px rgba(0,0,0,.46)!important;color:var(--z167-text)!important
}
body.site-theme-5167 .catalog-dropdown:before{background:#081b2c!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .section-menu-panel a,body.site-theme-5167 .catalog-dropdown a{background:#0b2338!important;border-color:var(--z167-border)!important;color:#d9e8f3!important}
body.site-theme-5167 .section-menu-panel a:hover,body.site-theme-5167 .catalog-dropdown a:hover{background:#102e47!important;border-color:rgba(52,239,189,.36)!important}

/* ===== Universal surfaces — eradicate legacy white ===== */
body.site-theme-5167:not(.admin-body) .panel,
body.site-theme-5167:not(.admin-body) .card,
body.site-theme-5167:not(.admin-body) .article,
body.site-theme-5167:not(.admin-body) .ticket,
body.site-theme-5167:not(.admin-body) .auth-card,
body.site-theme-5167:not(.admin-body) .auth-simple-card,
body.site-theme-5167:not(.admin-body) .auth-clean-card,
body.site-theme-5167:not(.admin-body) .account-card,
body.site-theme-5167:not(.admin-body) .account-center-section,
body.site-theme-5167:not(.admin-body) .profile-card,
body.site-theme-5167:not(.admin-body) .profile-card-v3,
body.site-theme-5167:not(.admin-body) .wallet-card,
body.site-theme-5167:not(.admin-body) .wallet-summary-card,
body.site-theme-5167:not(.admin-body) .referral-card,
body.site-theme-5167:not(.admin-body) .support-card,
body.site-theme-5167:not(.admin-body) .forum-card,
body.site-theme-5167:not(.admin-body) .search-result-card,
body.site-theme-5167:not(.admin-body) .notifications-hero-card,
body.site-theme-5167:not(.admin-body) .notification-item,
body.site-theme-5167:not(.admin-body) .listing-buy-card,
body.site-theme-5167:not(.admin-body) .listing-description,
body.site-theme-5167:not(.admin-body) .listing-safety,
body.site-theme-5167:not(.admin-body) .listing-seller-v2,
body.site-theme-5167:not(.admin-body) .listing-reviews,
body.site-theme-5167:not(.admin-body) .product-card,
body.site-theme-5167:not(.admin-body) .market-card,
body.site-theme-5167:not(.admin-body) .service-card,
body.site-theme-5167:not(.admin-body) .auto-card,
body.site-theme-5167:not(.admin-body) .realty-card,
body.site-theme-5167:not(.admin-body) .small-story,
body.site-theme-5167:not(.admin-body) .news-card,
body.site-theme-5167:not(.admin-body) .feed-news-card,
body.site-theme-5167:not(.admin-body) .forum-post,
body.site-theme-5167:not(.admin-body) .ad-public-card,
body.site-theme-5167:not(.admin-body) .active-ad-card,
body.site-theme-5167:not(.admin-body) .ad-live-preview-5164,
body.site-theme-5167:not(.admin-body) .author-section-card,
body.site-theme-5167:not(.admin-body) .author-checklist-card,
body.site-theme-5167:not(.admin-body) .author-tip-card,
body.site-theme-5167:not(.admin-body) .author-monetization-card{
  background:linear-gradient(180deg,#091e31 0%,#071725 100%)!important;
  border:1px solid var(--z167-border)!important;
  box-shadow:var(--z167-shadow)!important;
  color:var(--z167-text)!important;
}
body.site-theme-5167:not(.admin-body) .panel,body.site-theme-5167:not(.admin-body) .card{border-radius:var(--z167-radius)!important}

/* nested cards */
body.site-theme-5167 .quick-cards a,
body.site-theme-5167 .stat,
body.site-theme-5167 .account-security-card,
body.site-theme-5167 .account-channel-row label>span,
body.site-theme-5167 .account-event-grid span,
body.site-theme-5167 .wallet-metrics-5151>div,
body.site-theme-5167 .wallet-order-card,
body.site-theme-5167 .eco-category,
body.site-theme-5167 .topic-row,
body.site-theme-5167 .listing-seller-card,
body.site-theme-5167 .saved-row,
body.site-theme-5167 .search-suggestions,
body.site-theme-5167 .search-trends,
body.site-theme-5167 .search-save-panel,
body.site-theme-5167 .profile-focus-card,
body.site-theme-5167 .profile-status-card,
body.site-theme-5167 .profile-stat,
body.site-theme-5167 .profile-trust-card,
body.site-theme-5167 .profile-referral-strip,
body.site-theme-5167 .notifications-kpi,
body.site-theme-5167 .notification-filter,
body.site-theme-5167 .support-topic,
body.site-theme-5167 .conversation-item,
body.site-theme-5167 .inbox-thread,
body.site-theme-5167 .inbox-detail,
body.site-theme-5167 .author-metric,
body.site-theme-5167 .author-post-row,
body.site-theme-5167 .author-ranking-row,
body.site-theme-5167 .ad-owner-stats-5164>*,
body.site-theme-5167 .ad-campaign-steps-5164>*{
  background:#0a2134!important;
  border-color:var(--z167-border)!important;
  color:var(--z167-text)!important;
}
body.site-theme-5167 .quick-cards a:hover,body.site-theme-5167 .eco-category:hover,body.site-theme-5167 .support-topic:hover{background:#0d2941!important;border-color:rgba(52,239,189,.28)!important}

/* ===== Hero sections ===== */
body.site-theme-5167 .ecosystem-hero,
body.site-theme-5167 .catalog-hub-hero,
body.site-theme-5167 .search-hero-row,
body.site-theme-5167 .notifications-hero-card,
body.site-theme-5167 .profile-hero-v3,
body.site-theme-5167 .advertising-hero,
body.site-theme-5167 .author-dashboard-hero,
body.site-theme-5167 .wallet-hero-5151,
body.site-theme-5167 .support-hero-card,
body.site-theme-5167 .forum-hero,
body.site-theme-5167 .inbox-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 15%,rgba(52,239,189,.12),transparent 28%),
    radial-gradient(circle at 68% 120%,rgba(57,104,255,.15),transparent 34%),
    linear-gradient(135deg,#0a2034,#0c2a42 56%,#0a2033)!important;
  border:1px solid var(--z167-border)!important;
  border-radius:26px!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28)!important;
  color:var(--z167-text)!important;
}
body.site-theme-5167 .ecosystem-hero:after,body.site-theme-5167 .catalog-hub-hero:after,body.site-theme-5167 .advertising-hero:after,body.site-theme-5167 .author-dashboard-hero:after{
  content:"";position:absolute;width:260px;height:260px;right:-100px;top:-145px;border:55px solid rgba(255,255,255,.025);border-radius:50%;pointer-events:none
}
body.site-theme-5167 .lead{color:#a6bbcd!important}

/* ===== Buttons / controls ===== */
body.site-theme-5167 .btn,
body.site-theme-5167 button.btn,
body.site-theme-5167 input[type=submit]{
  background:linear-gradient(135deg,var(--z167-mint),#63efc7)!important;
  color:#00170f!important;
  border:0!important;
  border-radius:14px!important;
  font-weight:900!important;
  box-shadow:0 10px 26px rgba(32,217,166,.15)!important;
}
body.site-theme-5167 .btn:hover,body.site-theme-5167 button.btn:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(32,217,166,.23)!important}
body.site-theme-5167 .btn.secondary,body.site-theme-5167 .btn.ghost,body.site-theme-5167 .quiet-link{
  background:#0d263b!important;color:#dceaf5!important;border:1px solid var(--z167-border)!important;box-shadow:none!important
}
body.site-theme-5167 .btn.secondary:hover,body.site-theme-5167 .btn.ghost:hover{background:#12304a!important;border-color:rgba(52,239,189,.30)!important}
body.site-theme-5167 button:not(.btn):not(.zn-filter-button-5166):not(.mobile-create-command){color:inherit}
body.site-theme-5167 .page{background:#0a2135!important;border-color:var(--z167-border)!important;color:#bdd0e0!important}
body.site-theme-5167 .page.active{background:var(--z167-mint)!important;color:#00170f!important;border-color:transparent!important}
body.site-theme-5167 .pager a:hover{border-color:rgba(52,239,189,.35)!important}

/* ===== Forms ===== */
body.site-theme-5167 input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),
body.site-theme-5167 textarea,
body.site-theme-5167 select{
  background:#071725!important;
  color:#f4f9ff!important;
  border:1px solid var(--z167-border)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.site-theme-5167 input::placeholder,body.site-theme-5167 textarea::placeholder{color:#6f879e!important;opacity:1}
body.site-theme-5167 input:focus,body.site-theme-5167 textarea:focus,body.site-theme-5167 select:focus{
  border-color:rgba(52,239,189,.48)!important;box-shadow:0 0 0 4px rgba(52,239,189,.07)!important;outline:none!important
}
body.site-theme-5167 .field label{color:#dce8f2!important}
body.site-theme-5167 input[type=file]{color:#a9bfd1!important}
body.site-theme-5167 input[type=file]::file-selector-button{background:#0d2a42!important;color:#e5f2fb!important;border:1px solid var(--z167-border)!important;border-radius:11px!important;padding:9px 12px!important}
body.site-theme-5167 input[type=checkbox],body.site-theme-5167 input[type=radio]{accent-color:var(--z167-mint)}
body.site-theme-5167 .dropzone{background:#071725!important;border-color:rgba(91,170,226,.34)!important;color:#87a0b7!important}

/* ===== Tabs / filters / chips ===== */
body.site-theme-5167 .ecosystem-tabs a,
body.site-theme-5167 .catalog-category-rail a,
body.site-theme-5167 .hybrid-category-chip,
body.site-theme-5167 .search-tabs a,
body.site-theme-5167 .search-scope-tabs a,
body.site-theme-5167 .notification-filter,
body.site-theme-5167 .admin-tabbar a,
body.site-theme-5167 .payment-presets button{
  background:#0a2135!important;border:1px solid var(--z167-border)!important;color:#b8cada!important;box-shadow:none!important
}
body.site-theme-5167 .ecosystem-tabs a.active,body.site-theme-5167 .hybrid-category-chip.active,body.site-theme-5167 .search-tabs a.active,body.site-theme-5167 .search-scope-tabs a.active,body.site-theme-5167 .notification-filter.active,body.site-theme-5167 .admin-tabbar a.active{
  background:#10334a!important;border-color:rgba(52,239,189,.38)!important;color:var(--z167-mint)!important;box-shadow:inset 0 -2px 0 var(--z167-mint)!important
}
body.site-theme-5167 .badge,body.site-theme-5167 .status-chip,body.site-theme-5167 .pill-muted{background:#10283c!important;color:#bfd1df!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .badge.ok,body.site-theme-5167 .pill-accent{background:rgba(52,239,189,.12)!important;color:#59f1c9!important}
body.site-theme-5167 .badge.warn{background:rgba(255,196,93,.13)!important;color:#ffd27e!important}
body.site-theme-5167 .badge.bad{background:rgba(255,100,114,.13)!important;color:#ff8b96!important}

/* ===== Catalog / marketplace cards ===== */
body.site-theme-5167 .product-card,body.site-theme-5167 .market-card,body.site-theme-5167 .auto-card,body.site-theme-5167 .realty-card,body.site-theme-5167 .service-card{
  overflow:hidden!important;border-radius:21px!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important
}
body.site-theme-5167 .product-card:hover,body.site-theme-5167 .market-card:hover,body.site-theme-5167 .auto-card:hover,body.site-theme-5167 .realty-card:hover,body.site-theme-5167 .service-card:hover{
  transform:translateY(-2px);border-color:rgba(52,239,189,.30)!important;box-shadow:0 24px 56px rgba(0,0,0,.35)!important
}
body.site-theme-5167 .product-image,body.site-theme-5167 .market-card-image,body.site-theme-5167 .auto-card-image,body.site-theme-5167 .realty-card-media{
  background:#0a1b2a!important;border-color:var(--z167-border)!important
}
body.site-theme-5167 .product-price,body.site-theme-5167 .listing-price,body.site-theme-5167 .listing-price-v2{color:#fff!important}
body.site-theme-5167 .auto-specs span{background:#102a40!important;color:#b9cede!important}
body.site-theme-5167 .catalog-filter-panel,body.site-theme-5167 .search-filter-drawer{background:#081b2c!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .results-utility{background:#071725!important;border-color:var(--z167-border)!important;color:#afc2d2!important}
body.site-theme-5167 .catalog-directory,body.site-theme-5167 .catalog-section-directory,body.site-theme-5167 .catalog-section-photo-directory{background:transparent!important}

/* ===== Listing page ===== */
body.site-theme-5167 .listing-main-photo,body.site-theme-5167 .listing-thumbnails button{background:#06121e!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .listing-thumbnails button.active{border-color:var(--z167-mint)!important;box-shadow:0 0 0 2px rgba(52,239,189,.13)!important}
body.site-theme-5167 .listing-badges span{background:#0c2a36!important;color:#5af0c8!important;border-color:rgba(52,239,189,.20)!important}
body.site-theme-5167 .listing-trust-summary,body.site-theme-5167 .listing-contact-note{background:#0b2235!important;border-color:var(--z167-border)!important;color:#a9bfd1!important}
body.site-theme-5167 .listing-message-button{background:linear-gradient(135deg,var(--z167-mint),#59e9c1)!important;color:#00170f!important}
body.site-theme-5167 .review-item{border-color:var(--z167-border)!important}

/* ===== Search ===== */
body.site-theme-5167 .portal-search-box,body.site-theme-5167 .search-super-form,body.site-theme-5167 .search-super-form-clean{background:#081b2c!important;border-color:var(--z167-border)!important;box-shadow:none!important}
body.site-theme-5167 .search-result-card{border-radius:19px!important}
body.site-theme-5167 .search-entry-grid-clean>a{background:#0a2135!important;border-color:var(--z167-border)!important;color:#dce9f3!important}
body.site-theme-5167 .search-entry-grid-clean>a:hover{background:#0d2b43!important;border-color:rgba(52,239,189,.30)!important}

/* ===== Profile / account / wallet ===== */
body.site-theme-5167 .profile-hero-v3{background:linear-gradient(145deg,#0a2238,#0b3045)!important}
body.site-theme-5167 .profile-checks span,body.site-theme-5167 .profile-identity-badges span{background:#10293e!important;border-color:var(--z167-border)!important;color:#b9d0e0!important}
body.site-theme-5167 .profile-create-listing{background:linear-gradient(135deg,var(--z167-mint),#5cebc4)!important;color:#00170f!important}
body.site-theme-5167 .account-center-nav{background:rgba(6,22,35,.93)!important;border-color:var(--z167-border)!important;box-shadow:0 12px 36px rgba(0,0,0,.24)!important}
body.site-theme-5167 .account-center-nav a{color:#a8bfd1!important}
body.site-theme-5167 .account-center-nav a:hover,body.site-theme-5167 .account-center-nav a.is-active{background:#0f3048!important;color:var(--z167-mint)!important}
body.site-theme-5167 .account-device-row,body.site-theme-5167 .account-payment-list>a,body.site-theme-5167 .account-subhead{border-color:var(--z167-border)!important}
body.site-theme-5167 .account-health-pill.ok{background:rgba(52,239,189,.12)!important;color:#58f0c8!important}
body.site-theme-5167 .account-health-pill.warn{background:rgba(255,196,93,.12)!important;color:#ffd078!important}
body.site-theme-5167 .wallet-trust-row span{background:rgba(52,239,189,.10)!important;color:#59efc7!important}
body.site-theme-5167 .wallet-metrics-5151 .attention{background:#2a2111!important;border-color:#57431b!important}
body.site-theme-5167 .wallet-order-icon{background:#103548!important;color:var(--z167-mint)!important}
body.site-theme-5167 .payment-provider-card>span{background:#0a2135!important;border-color:var(--z167-border)!important;color:#e4eef6!important}

/* ===== Messages / notifications / forum / support ===== */
body.site-theme-5167 .inbox-list,body.site-theme-5167 .inbox-detail{background:#071a2a!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .inbox-thread:hover,body.site-theme-5167 .inbox-thread.active{background:#102d45!important}
body.site-theme-5167 .message,body.site-theme-5167 .message.admin,body.site-theme-5167 .message.ai{background:#0d2438!important;color:#e9f3fa!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .message.user,body.site-theme-5167 .message.mine{background:#0d3a39!important;color:#ecfff9!important;border-color:rgba(52,239,189,.20)!important}
body.site-theme-5167 .notification-item{box-shadow:none!important}
body.site-theme-5167 .notification-item.is-new{background:linear-gradient(90deg,rgba(52,239,189,.075),#081b2c 32%)!important;border-color:rgba(52,239,189,.22)!important}
body.site-theme-5167 .notification-icon{background:#102a40!important;color:var(--z167-mint)!important}
body.site-theme-5167 .forum-post aside{border-color:var(--z167-border)!important}
body.site-theme-5167 .topic-row{border-bottom:1px solid var(--z167-border)!important}
body.site-theme-5167 .topic-stats strong{color:#edf7ff!important}
body.site-theme-5167 .support-composer-rich{background:#071725!important;border-color:var(--z167-border)!important}

/* ===== Advertising / author ===== */
body.site-theme-5167 .ad-public-card,body.site-theme-5167 .active-ad-card{border-radius:20px!important}
body.site-theme-5167 .ad-public-card.is-selected{border-color:var(--z167-mint)!important;box-shadow:0 0 0 3px rgba(52,239,189,.09)!important}
body.site-theme-5167 .ad-live-preview-media{background:#0d263c!important}
body.site-theme-5167 .active-ad-metrics-5164 span{background:#102a40!important;color:#a9c0d2!important}
body.site-theme-5167 .author-command-tabs a,body.site-theme-5167 .author-tool-list a{background:#0a2135!important;border-color:var(--z167-border)!important;color:#bcd0df!important}
body.site-theme-5167 .author-command-tabs a.active{background:#10354a!important;color:var(--z167-mint)!important;border-color:rgba(52,239,189,.35)!important}
body.site-theme-5167 .author-monetization-card{background:linear-gradient(135deg,#3c2c8b,#6531b3)!important;border-color:rgba(255,255,255,.13)!important}

/* ===== Tables ===== */
body.site-theme-5167 .table-wrap{border-color:var(--z167-border)!important;border-radius:18px!important;background:#071725!important}
body.site-theme-5167 .table{background:#071725!important;color:#e6f0f8!important}
body.site-theme-5167 .table th{background:#0b2235!important;color:#8fa9c0!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .table td{background:transparent!important;color:#dce8f1!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .table tr:hover td{background:#0a2236!important}
body.site-theme-5167 .compare-table th,body.site-theme-5167 .compare-table td{border-color:var(--z167-border)!important;background:#071725!important;color:#dbe8f2!important}
body.site-theme-5167 .compare-table th:first-child,body.site-theme-5167 .compare-table td:first-child{background:#0a2135!important}

/* ===== Notices / empty states ===== */
body.site-theme-5167 .empty{background:rgba(8,28,45,.66)!important;border:1px dashed rgba(91,158,210,.27)!important;color:#8fa7bb!important;border-radius:18px!important}
body.site-theme-5167 .empty strong{color:#e8f4fc!important}
body.site-theme-5167 .notice{background:#0b2235!important;color:#a9bfd1!important;border:1px solid var(--z167-border)!important}
body.site-theme-5167 .danger-note{background:#2b2110!important;border-color:#6b511d!important;color:#ffd584!important}
body.site-theme-5167 .flash.success{background:#0d332d!important;color:#82f6d2!important;border:1px solid rgba(52,239,189,.20)!important}
body.site-theme-5167 .flash.error{background:#35171d!important;color:#ff9ca5!important;border:1px solid rgba(255,100,114,.22)!important}
body.site-theme-5167 .flash.info{background:#102b47!important;color:#a7d0ff!important;border:1px solid rgba(99,181,255,.22)!important}
body.site-theme-5167 .account-verification-banner{background:#2d2411!important;border-color:#5d4919!important;color:#ffe6a3!important}

/* ===== Footer / overlays ===== */
body.site-theme-5167 .footer{background:#010810!important;border-top:1px solid var(--z167-border)!important;color:#a7bac9!important}
body.site-theme-5167 .footer a{color:#8fa8bb!important}
body.site-theme-5167 .footer a:hover{color:var(--z167-mint)!important}
body.site-theme-5167 .site-modal-card,body.site-theme-5167 .mobile-command-sheet{
  background:#071725!important;border:1px solid var(--z167-border-strong)!important;color:#f4f9ff!important;box-shadow:0 30px 90px rgba(0,0,0,.55)!important
}
body.site-theme-5167 .site-modal-backdrop,body.site-theme-5167 .mobile-command-backdrop{background:rgba(0,5,10,.72)!important;backdrop-filter:blur(5px)!important}
body.site-theme-5167 .site-modal-close,body.site-theme-5167 .mobile-sheet-head>button{background:#0f2a40!important;color:#d9e7f2!important;border-color:var(--z167-border)!important}
body.site-theme-5167 .mobile-more-grid a,body.site-theme-5167 .mobile-create-grid>a,body.site-theme-5167 .mobile-more-account,body.site-theme-5167 .mobile-menu-group,body.site-theme-5167 .mobile-create-listing-block{background:#091f32!important;border-color:var(--z167-border)!important;color:#edf7ff!important}
body.site-theme-5167 .mobile-more-compact-list a,body.site-theme-5167 .mobile-more-account-actions a,body.site-theme-5167 .mobile-create-categories button{background:#0c273d!important;border-color:var(--z167-border)!important;color:#d9e7f2!important}
body.site-theme-5167 .support-fab{background:#0c263b!important;border:1px solid var(--z167-border)!important;color:#fff!important}
body.site-theme-5167 .support-fab-icon{background:var(--z167-mint)!important;color:#00170f!important}

/* ===== Administration: same dark visual language ===== */
body.site-theme-5167.admin-body{background:linear-gradient(180deg,#04111e,#020a12)!important;color:var(--z167-text)!important}
body.site-theme-5167.admin-body .top{background:rgba(3,14,25,.96)!important;border-color:var(--z167-border)!important}
body.site-theme-5167.admin-body .public-section-bar{display:none!important}
body.site-theme-5167.admin-body .admin-shell{color:#eaf4fb!important}
body.site-theme-5167.admin-body .admin-side,body.site-theme-5167.admin-body .side-nav,body.site-theme-5167.admin-body .admin-nav{
  background:#071725!important;border:1px solid var(--z167-border)!important;box-shadow:none!important;color:#c4d5e2!important
}
body.site-theme-5167.admin-body .admin-side a,body.site-theme-5167.admin-body .side-nav a,body.site-theme-5167.admin-body .admin-nav a{color:#a9bfd1!important}
body.site-theme-5167.admin-body .admin-side a:hover,body.site-theme-5167.admin-body .admin-side a.active,body.site-theme-5167.admin-body .side-nav a:hover,body.site-theme-5167.admin-body .side-nav a.active,body.site-theme-5167.admin-body .admin-nav a:hover,body.site-theme-5167.admin-body .admin-nav a.active{background:#0e2b43!important;color:var(--z167-mint)!important}
body.site-theme-5167.admin-body .panel,body.site-theme-5167.admin-body .admin-panel,body.site-theme-5167.admin-body .card,
body.site-theme-5167.admin-body .admin-dashboard-search,body.site-theme-5167.admin-body .admin-health-v2{
  background:linear-gradient(180deg,#091e31,#071725)!important;border:1px solid var(--z167-border)!important;color:#edf7ff!important;box-shadow:var(--z167-shadow)!important
}
body.site-theme-5167.admin-body .admin-system-ribbon>a,body.site-theme-5167.admin-body .admin-command-deck>a,body.site-theme-5167.admin-body .quick-action-grid>a,body.site-theme-5167.admin-body .health-grid>a,body.site-theme-5167.admin-body .admin-list-item,body.site-theme-5167.admin-body .admin-platform-health-grid>a{
  background:#0a2135!important;border-color:var(--z167-border)!important;color:#e4eef6!important
}
body.site-theme-5167.admin-body .admin-system-ribbon>a:hover,body.site-theme-5167.admin-body .admin-command-deck>a:hover,body.site-theme-5167.admin-body .quick-action-grid>a:hover{background:#0e2c44!important;border-color:rgba(52,239,189,.28)!important}
body.site-theme-5167.admin-body .admin-focus-strip>a,body.site-theme-5167.admin-body .admin-response-health,body.site-theme-5167.admin-body .admin-response-metrics>*{background:#0b2236!important;border-color:var(--z167-border)!important;color:#dce8f2!important}
body.site-theme-5167.admin-body .table,body.site-theme-5167.admin-body table{background:#071725!important;color:#e7f1f8!important}
body.site-theme-5167.admin-body table th{background:#0b2235!important;color:#91a9c0!important;border-color:var(--z167-border)!important}
body.site-theme-5167.admin-body table td{background:transparent!important;color:#dce8f1!important;border-color:var(--z167-border)!important}
body.site-theme-5167.admin-body table tr:hover td{background:#0a2236!important}
body.site-theme-5167.admin-body input:not([type=checkbox]):not([type=radio]):not([type=submit]),body.site-theme-5167.admin-body textarea,body.site-theme-5167.admin-body select{background:#061725!important;color:#f5f9ff!important;border-color:var(--z167-border)!important}
body.site-theme-5167.admin-body .btn{background:linear-gradient(135deg,var(--z167-mint),#62edc5)!important;color:#00170f!important}
body.site-theme-5167.admin-body .btn.secondary{background:#0f2a40!important;color:#dce9f3!important;border:1px solid var(--z167-border)!important}
body.site-theme-5167.admin-body .footer{background:#010810!important;border-color:var(--z167-border)!important}
body.site-theme-5167.admin-body h1,body.site-theme-5167.admin-body h2,body.site-theme-5167.admin-body h3,body.site-theme-5167.admin-body strong{color:#f5fbff!important}
body.site-theme-5167.admin-body p,body.site-theme-5167.admin-body .meta,body.site-theme-5167.admin-body small{color:#8fa7bb!important}

/* ===== Auth pages ===== */
body.site-theme-5167.auth-body .auth-card,body.site-theme-5167.auth-body .auth-clean-card,body.site-theme-5167.auth-body .auth-simple-card{
  background:linear-gradient(180deg,#091f32,#071725)!important;border:1px solid var(--z167-border)!important;box-shadow:0 28px 80px rgba(0,0,0,.42)!important;color:#f5f9ff!important
}

/* ===== Mobile app-like shell ===== */
@media(max-width:760px){
  body.site-theme-5167{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,#03101d,#020b14)!important}
  body.site-theme-5167 .shell{width:calc(100% - 20px)!important}
  body.site-theme-5167 .main{padding-top:12px!important;padding-bottom:32px!important}
  body.site-theme-5167 .top{background:rgba(3,14,25,.96)!important;border-bottom:0!important}
  body.site-theme-5167 .top-in{min-height:60px!important;padding:6px 0!important}
  body.site-theme-5167 .brand-symbol-5159{display:none!important}
  body.site-theme-5167 .brand-name-5159{font-size:25px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.05em!important}
  body.site-theme-5167 .top-search{display:none!important}
  body.site-theme-5167 .top-actions .author-top-cta,body.site-theme-5167 .top-actions .admin-top-link,body.site-theme-5167 .top-actions .header-profile-5166,body.site-theme-5167 .top-actions .guest-register-cta{display:none!important}
  body.site-theme-5167 .top-actions .header-notifications-5166,body.site-theme-5167 .top-actions .account-top-guest{display:grid!important;width:42px!important;height:42px!important;padding:0!important;background:transparent!important;border:0!important}
  body.site-theme-5167 .public-section-bar{position:relative!important;top:auto!important;background:transparent!important;border:0!important;padding:2px 0 7px!important}
  body.site-theme-5167 .public-section-bar-in{gap:7px!important;overflow:auto!important;scrollbar-width:none!important}
  body.site-theme-5167 .public-section-bar-in::-webkit-scrollbar{display:none}
  body.site-theme-5167 .public-section-bar a,body.site-theme-5167 .public-section-bar summary{white-space:nowrap!important;background:#0a2135!important;border:1px solid var(--z167-border)!important;border-radius:999px!important;padding:8px 11px!important;font-size:10px!important}

  body.site-theme-5167 .ecosystem-page,body.site-theme-5167 .catalog-hub,body.site-theme-5167 .search-portal,body.site-theme-5167 .notifications-page,body.site-theme-5167 .profile-page-v3,body.site-theme-5167 .advertising-page,body.site-theme-5167 .author-dashboard{gap:12px!important}
  body.site-theme-5167 .ecosystem-hero,body.site-theme-5167 .catalog-hub-hero,body.site-theme-5167 .search-hero-row,body.site-theme-5167 .notifications-hero-card,body.site-theme-5167 .profile-hero-v3,body.site-theme-5167 .advertising-hero,body.site-theme-5167 .author-dashboard-hero,body.site-theme-5167 .wallet-hero-5151{padding:17px!important;border-radius:20px!important}
  body.site-theme-5167 .ecosystem-hero h1,body.site-theme-5167 .catalog-hub-hero h1,body.site-theme-5167 .search-hero-row h1,body.site-theme-5167 .notifications-hero-card h1,body.site-theme-5167 .profile-hero-v3 h1,body.site-theme-5167 .advertising-hero h1,body.site-theme-5167 .author-dashboard-hero h1{font-size:25px!important;line-height:1.05!important;letter-spacing:-.04em!important}
  body.site-theme-5167 .lead{font-size:13px!important;line-height:1.5!important}
  body.site-theme-5167 .panel,body.site-theme-5167 .card{border-radius:18px!important;padding:15px!important}
  body.site-theme-5167 .section-head{margin:20px 0 10px!important}
  body.site-theme-5167 .section-head h2{font-size:21px!important}
  body.site-theme-5167 .product-grid,body.site-theme-5167 .catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.site-theme-5167 .product-card{border-radius:17px!important}
  body.site-theme-5167 .product-card-body{padding:11px!important}
  body.site-theme-5167 .product-card h2,body.site-theme-5167 .product-card h3{font-size:13px!important}
  body.site-theme-5167 .product-price{font-size:18px!important}
  body.site-theme-5167 .service-grid,body.site-theme-5167 .auto-grid,body.site-theme-5167 .realty-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.site-theme-5167 .auto-card,body.site-theme-5167 .realty-card{grid-template-columns:116px minmax(0,1fr)!important;gap:12px!important}
  body.site-theme-5167 .auto-card-image,body.site-theme-5167 .realty-card-media{min-height:126px!important;border-radius:15px!important}
  body.site-theme-5167 .table-wrap{border-radius:15px!important}
  body.site-theme-5167 .footer{padding-bottom:100px!important}
  body.site-theme-5167 .support-fab{display:none!important}

  body.site-theme-5167 .mobile-command-nav.zn-mobile-nav-5166,body.site-theme-5167 .mobile-command-nav.zn-mobile-nav-5167{
    display:grid!important;position:fixed!important;left:8px!important;right:8px!important;bottom:7px!important;width:auto!important;
    grid-template-columns:1fr 1fr 1.13fr 1fr 1fr!important;height:calc(72px + env(safe-area-inset-bottom))!important;
    padding:6px 5px calc(6px + env(safe-area-inset-bottom))!important;border-radius:24px!important;
    background:rgba(5,18,31,.97)!important;border:1px solid rgba(78,147,198,.25)!important;
    box-shadow:0 -10px 42px rgba(0,0,0,.34)!important;backdrop-filter:blur(22px) saturate(150%)!important;z-index:190!important
  }
  body.site-theme-5167 .mobile-command-nav>a,body.site-theme-5167 .mobile-command-nav>button{height:56px!important;background:transparent!important;color:#8ba4bb!important;border:0!important;border-radius:16px!important}
  body.site-theme-5167 .mobile-command-nav .is-active{color:var(--z167-mint)!important;background:transparent!important}
  body.site-theme-5167 .mobile-command-nav small{color:currentColor!important;font-size:9px!important;font-weight:750!important}
  body.site-theme-5167 .mobile-command-nav .nav-icon-create{width:58px!important;height:58px!important;margin-top:-22px!important;border-radius:20px!important;background:linear-gradient(145deg,#43f0bd,#25d9a6)!important;color:#00170f!important;box-shadow:0 12px 30px rgba(37,217,166,.25)!important}
  body.site-theme-5167 .mobile-command-nav .nav-icon-create svg{stroke:#00170f!important}
  body.site-theme-5167 .mobile-nav-badge{background:var(--z167-danger)!important;border-color:#05121f!important;color:#fff!important}
  body.site-theme-5167 .mobile-command-sheet{bottom:calc(87px + env(safe-area-inset-bottom))!important;left:7px!important;right:7px!important;border-radius:25px!important}
}

@media(max-width:430px){
  body.site-theme-5167 .shell{width:calc(100% - 16px)!important}
  body.site-theme-5167 .brand-name-5159{font-size:24px!important}
  body.site-theme-5167 .panel,body.site-theme-5167 .card{padding:13px!important}
  body.site-theme-5167 .auto-card,body.site-theme-5167 .realty-card{grid-template-columns:104px minmax(0,1fr)!important}
  body.site-theme-5167 .mobile-command-nav.zn-mobile-nav-5166,body.site-theme-5167 .mobile-command-nav.zn-mobile-nav-5167{left:6px!important;right:6px!important;border-radius:23px!important}
}

@media(prefers-reduced-motion:reduce){body.site-theme-5167 *,body.site-theme-5167 *:before,body.site-theme-5167 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* ---------- Source: upgrade-5168.css ---------- */
/* Знаходка 5.168 — profile + marketplace detail rebuilt to match the approved mobile mockups.
   This is the final override layer. It intentionally wins over all previous visual systems. */
:root{
  --z168-bg:#020c16;
  --z168-panel:#071a2a;
  --z168-panel-2:#0b2236;
  --z168-panel-3:#0d2a41;
  --z168-line:rgba(96,163,214,.22);
  --z168-text:#f8fbff;
  --z168-muted:#8da6bd;
  --z168-mint:#34efbd;
  --z168-mint-2:#22dca8;
  --z168-blue:#5aaeff;
  --z168-purple:#7147ed;
  --z168-radius:24px;
  --z168-radius-sm:17px;
  --z168-shadow:0 22px 58px rgba(0,0,0,.34);
}
body.site-theme-5168{background:#020c16!important}
body.site-theme-5168 .panel{background:linear-gradient(180deg,#081d30 0%,#061522 100%)!important;border-color:var(--z168-line)!important}

/* ===== App-like profile ===== */
.profile-page-5168{width:min(760px,100%);margin:0 auto;display:grid;gap:18px;padding-bottom:24px}
.profile-dashboard-5168{position:relative;overflow:hidden;background:linear-gradient(180deg,#071b2c 0%,#03101b 100%);border:1px solid var(--z168-line);border-radius:30px;padding:22px;box-shadow:var(--z168-shadow)}
.profile-dashboard-5168:before{content:"";position:absolute;inset:-140px -120px auto auto;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(21,191,229,.16),transparent 68%);pointer-events:none}
.profile-appbar-5168{position:relative;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.profile-appbar-brand-5168{font-size:25px;font-weight:950;letter-spacing:-.04em;color:#fff!important;text-decoration:none}
.profile-appbar-brand-5168 span{background:linear-gradient(90deg,#fff 0 48%,var(--z168-mint) 48% 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.profile-settings-5168{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#0b263c;border:1px solid var(--z168-line);text-decoration:none;color:#eaf4fc!important;font-size:21px}
.profile-user-card-5168{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:14px;border-radius:20px;background:linear-gradient(145deg,#0d2c45,#0a2236);border:1px solid var(--z168-line);text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.profile-avatar-5168{width:74px!important;height:74px!important;min-width:74px!important;border-radius:50%!important;border:3px solid rgba(255,255,255,.88)!important;object-fit:cover!important}
.profile-user-copy-5168{min-width:0;display:grid;gap:3px}
.profile-user-copy-5168>strong{font-size:20px;display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-user-copy-5168>strong i{font-style:normal;display:inline-flex;align-items:center}
.profile-user-copy-5168>small{font-size:12px;color:#8fa8c0!important}
.profile-user-copy-5168>em{display:flex;align-items:center;gap:7px;font-style:normal;font-size:13px;color:#8fa8c0}
.profile-user-copy-5168>em b{color:#ffc849!important;font-size:15px}
.profile-user-arrow-5168{font-size:33px;color:#cfdfeb}
.profile-kpis-5168{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--z168-line);border-radius:0 0 20px 20px;overflow:hidden;margin-top:-2px;background:#071b2c}
.profile-kpis-5168 a{min-width:0;text-align:center;text-decoration:none;padding:14px 5px 12px;border-right:1px solid var(--z168-line);display:grid;gap:3px}
.profile-kpis-5168 a:last-child{border-right:0}
.profile-kpis-5168 strong{font-size:20px;line-height:1}
.profile-kpis-5168 span{font-size:11px;color:#829ab0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-balance-5168{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border-radius:17px;background:linear-gradient(90deg,rgba(25,136,116,.34),#0a2539 50%,#0b2539);border:1px solid rgba(52,239,189,.22);text-decoration:none}
.profile-balance-icon-5168{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#25d4a8,#0c8e73);font-size:24px;color:#fff;box-shadow:0 8px 24px rgba(33,220,171,.2)}
.profile-balance-5168>span:nth-child(2){display:grid;gap:2px}.profile-balance-5168 small{font-size:12px!important}.profile-balance-5168 strong{font-size:20px}
.profile-balance-5168>b{background:linear-gradient(135deg,var(--z168-mint),#62f1c8);color:#00170f!important;padding:12px 17px;border-radius:999px;font-size:13px}
.profile-promo-5168{position:relative;display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;margin-top:14px;padding:17px;border-radius:17px;overflow:hidden;background:linear-gradient(120deg,#4926a7 0%,#6e3be3 58%,#312596 100%);border:1px solid rgba(165,140,255,.38);text-decoration:none;box-shadow:0 14px 30px rgba(63,36,172,.24)}
.profile-promo-5168:after{content:"";position:absolute;inset:auto -30px -70px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 64%)}
.profile-promo-icon-5168{font-size:52px;line-height:.8;color:#e7c6ff;text-shadow:0 0 22px rgba(255,255,255,.24)}
.profile-promo-5168>span:nth-child(2){display:grid;gap:4px;z-index:1}.profile-promo-5168 strong{font-size:18px;line-height:1.05}.profile-promo-5168 small{color:#d8cff8!important;font-size:11px!important;line-height:1.35}.profile-promo-5168>em{font-style:normal;font-size:35px;z-index:1}.profile-promo-5168>i{font-style:normal;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;z-index:1}
.profile-section-title-5168{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 10px}.profile-section-title-5168 h2{font-size:17px;margin:0}.profile-section-title-5168 a{font-size:13px;color:#b6cae0!important;text-decoration:none}
.profile-stat-cards-5168{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.profile-stat-cards-5168 a{min-width:0;border-radius:14px;padding:12px 10px;background:linear-gradient(180deg,#0e2a41,#081d30);border:1px solid var(--z168-line);text-decoration:none;display:grid;gap:4px;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.profile-stat-cards-5168 a>span{font-size:18px;color:#dfeaf3}.profile-stat-cards-5168 a>strong{font-size:19px}.profile-stat-cards-5168 a>small{font-size:10px!important;line-height:1.15}.profile-stat-cards-5168 a>em{font-style:normal;font-size:10px;color:var(--z168-mint)}
.profile-referral-5168{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:14px;padding:13px 15px;border-radius:15px;background:linear-gradient(110deg,#8a4a20 0%,#5f2bb1 62%,#4728a7 100%);border:1px solid rgba(255,173,83,.26);text-decoration:none}.profile-referral-5168>span{font-size:31px}.profile-referral-5168 strong{font-size:14px;line-height:1.15}.profile-referral-5168 i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.15)}
.profile-quick-actions-5168{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}.profile-quick-actions-5168 a{min-width:0;padding:11px 8px;border-radius:14px;background:#0a2236;border:1px solid var(--z168-line);text-decoration:none;text-align:center;display:grid;gap:5px}.profile-quick-actions-5168 span{font-size:20px;color:var(--z168-mint)}.profile-quick-actions-5168 b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-listings-5168,.profile-author-banner-5168,.account-shortcuts-5168{border-radius:24px!important}

/* ===== Listing detail / marketplace item ===== */
.listing-page-5168{width:min(940px,100%);margin:0 auto;padding-bottom:28px}
.listing-appbar-5168,.product-appbar-5168{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:10px 4px 14px}
.listing-appbar-back-5168,.product-appbar-5168>a:first-child{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;text-decoration:none;font-size:32px;color:#e6eff7!important;background:#0a2134;border:1px solid var(--z168-line)}
.listing-appbar-brand-5168,.product-appbar-brand-5168{font-size:21px;font-weight:950;text-align:center;text-decoration:none;letter-spacing:-.03em;color:#fff!important}
.listing-appbar-actions-5168,.product-appbar-5168>div{display:flex;align-items:center;gap:7px}.listing-appbar-actions-5168 form,.product-appbar-5168 form{margin:0}.listing-appbar-actions-5168 button,.listing-appbar-actions-5168 a,.product-appbar-5168 button{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:#0a2134;border:1px solid var(--z168-line);color:#fff!important;font-size:20px;text-decoration:none;padding:0}
.listing-showcase-5168{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:18px;align-items:start}
.listing-gallery-5168{min-width:0}.listing-gallery-5168 .listing-main-photo{position:relative;border-radius:22px!important;overflow:hidden;aspect-ratio:1.22/1;background:#07121d!important}.listing-gallery-5168 .listing-main-photo img{width:100%;height:100%;object-fit:cover!important}.listing-photo-count-5168{position:absolute;right:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-weight:800;font-size:12px;backdrop-filter:blur(8px)}
.listing-gallery-5168 .listing-thumbnails{display:flex;gap:8px;margin-top:9px;overflow:auto;padding-bottom:3px;scrollbar-width:none}.listing-gallery-5168 .listing-thumbnails::-webkit-scrollbar{display:none}.listing-gallery-5168 .listing-thumbnails button{flex:0 0 72px;width:72px;height:57px;border-radius:10px!important;overflow:hidden;padding:0}.listing-gallery-5168 .listing-thumbnails img{width:100%;height:100%;object-fit:cover}
.listing-main-info-5168{border-radius:22px;padding:18px;background:linear-gradient(180deg,#081d30,#061522);border:1px solid var(--z168-line);box-shadow:var(--z168-shadow)}
.listing-title-row-5168{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.listing-title-row-5168 h1{font-size:26px;line-height:1.05;letter-spacing:-.035em;margin:0 0 5px}.listing-title-row-5168 .listing-price-v2{font-size:31px;font-weight:950;line-height:1}.listing-good-price-5168{white-space:nowrap;padding:7px 10px;border-radius:999px;background:rgba(52,239,189,.12);color:var(--z168-mint);font-size:12px;font-weight:850}
.listing-meta-row-5168{display:flex;flex-wrap:wrap;gap:12px;margin-top:11px;color:#8da5bb;font-size:12px}
.listing-seller-card-5168,.product-seller-card-5168{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;margin-top:15px;padding:12px;border-radius:15px;background:#0c263b;border:1px solid var(--z168-line);text-decoration:none}.listing-seller-avatar-5168{width:50px!important;height:50px!important;min-width:50px!important;border-radius:50%!important;object-fit:cover!important}.listing-seller-card-5168>span,.product-seller-card-5168>span{display:grid;gap:2px}.listing-seller-card-5168 strong,.product-seller-card-5168 strong{font-size:14px}.listing-seller-card-5168 strong i{font-style:normal;color:var(--z168-mint)}.listing-seller-card-5168 small,.product-seller-card-5168 small{font-size:11px!important}.listing-seller-card-5168 small b{color:#ffc84c!important}.listing-seller-card-5168 em{font-size:10px;font-style:normal;color:#67e5bc}.listing-seller-card-5168>i,.product-seller-card-5168>i{font-style:normal;font-size:29px;color:#d8e6f0}
.listing-contact-actions-5168{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.listing-contact-actions-5168 .btn{min-height:49px;border-radius:14px!important;font-weight:900!important}.listing-call-button-5168{background:#071b2b!important;border:1px solid rgba(52,239,189,.40)!important;color:#e8fff7!important}
.listing-facts-5168,.product-facts-5168{margin-top:17px}.listing-facts-5168 h2,.product-facts-5168 h2,.product-description-5168 h2{font-size:17px;margin:0 0 8px}.listing-facts-5168>div,.product-facts-5168>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--z168-line);font-size:13px}.listing-facts-5168 span,.product-facts-5168 span{color:#859eb6}.listing-facts-5168 b,.product-facts-5168 b{text-align:left}
.listing-description-5168,.listing-safety-5168,.listing-reviews-5168{margin-top:18px!important}.listing-description-5168 p{font-size:14px;line-height:1.65}.listing-safety-5168{display:flex;align-items:center;justify-content:space-between;gap:20px}.listing-related-5168{margin-top:20px}.listing-related-5168 .listing-related-grid>a{background:#071a2a!important;border:1px solid var(--z168-line)!important;border-radius:18px!important;overflow:hidden}

/* ===== Product/store page ===== */
.product-detail-5168{width:min(940px,100%);margin:0 auto}.product-detail-5168>.detail-tabs{display:none!important}.product-detail-top-5168{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr)!important;gap:18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.product-detail-top-5168 .product-detail-media{border-radius:22px!important;overflow:hidden!important;border:1px solid var(--z168-line)!important;background:#07121d!important;min-height:430px!important}.product-detail-top-5168 .product-detail-media img{width:100%!important;height:100%!important;object-fit:cover!important}.product-detail-top-5168 .product-detail-info{padding:18px!important;border-radius:22px!important;background:linear-gradient(180deg,#081d30,#061522)!important;border:1px solid var(--z168-line)!important;box-shadow:var(--z168-shadow)!important}.product-detail-top-5168 h1{font-size:27px!important;line-height:1.05!important;margin:5px 0 8px!important}.product-price-line-5168{display:flex;align-items:center;gap:12px}.product-price-line-5168 .large{font-size:30px!important;font-weight:950!important}.product-detail-actions-5168{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:14px 0!important}.product-detail-actions-5168 .btn{min-height:49px!important;border-radius:14px!important}.product-description-5168{margin-top:17px}.product-description-5168 p{font-size:13px!important;line-height:1.6!important}.product-offer-section-5168,.product-specs-5168,.product-detail-columns-5168,.product-related-5168{margin-top:18px!important}.product-offer-section-5168{padding:18px;border-radius:22px;background:#071a2a;border:1px solid var(--z168-line)}.product-offer-section-5168 .offer-row{background:#0a2236!important;border-color:var(--z168-line)!important;border-radius:15px!important}.product-specs-5168 .product-spec-grid>div{background:#0a2236!important;border:1px solid var(--z168-line)!important;border-radius:14px!important}.product-detail-columns-5168{gap:18px!important}

/* ===== Catalog/shop card polish ===== */
.page-catalog .catalog-hub-hero{background:linear-gradient(135deg,#09253a,#0d3850)!important}
.page-catalog .catalog-product-grid{gap:16px!important}.page-catalog .product-card{background:linear-gradient(180deg,#091e31,#061522)!important;border-radius:20px!important}.page-catalog .product-card-media{aspect-ratio:1.18/1!important;background:#07131f!important}.page-catalog .product-card-media img{width:100%;height:100%;object-fit:cover!important}.page-catalog .product-card-body{padding:13px!important}.page-catalog .product-card h3{font-size:16px!important;line-height:1.18!important}.page-catalog .product-card-meta strong{font-size:18px!important}.page-catalog .catalog-filter-panel{border-radius:20px!important}.page-catalog .catalog-sort a{background:#0a2236!important;border:1px solid var(--z168-line)!important}.page-catalog .catalog-sort a.active{background:rgba(52,239,189,.12)!important;color:var(--z168-mint)!important;border-color:rgba(52,239,189,.32)!important}

/* ===== Mobile: match the phone mockups ===== */
@media (max-width:760px){
  body.site-theme-5168.page-profile .top,body.site-theme-5168.page-profile .public-section-bar,
  body.site-theme-5168.page-listing .top,body.site-theme-5168.page-listing .public-section-bar,
  body.site-theme-5168.page-product .top,body.site-theme-5168.page-product .public-section-bar{display:none!important}
  body.site-theme-5168.page-profile .main,body.site-theme-5168.page-listing .main,body.site-theme-5168.page-product .main{padding-top:8px!important}
  body.site-theme-5168.page-profile .shell.main,body.site-theme-5168.page-listing .shell.main,body.site-theme-5168.page-product .shell.main{width:100%!important;max-width:none!important;padding-left:12px!important;padding-right:12px!important}
  body.site-theme-5168.page-profile .footer,body.site-theme-5168.page-listing .footer,body.site-theme-5168.page-product .footer{display:none!important}
  body.site-theme-5168.page-profile .support-fab,body.site-theme-5168.page-listing .support-fab,body.site-theme-5168.page-product .support-fab{display:none!important}

  .profile-page-5168{gap:12px;padding-bottom:94px}.profile-dashboard-5168{padding:14px 12px 16px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.profile-appbar-5168{margin-bottom:12px}.profile-appbar-brand-5168{font-size:22px}.profile-settings-5168{width:36px;height:36px;border-radius:12px;font-size:18px}.profile-user-card-5168{padding:11px;border-radius:15px}.profile-avatar-5168{width:64px!important;height:64px!important;min-width:64px!important}.profile-user-copy-5168>strong{font-size:17px}.profile-user-copy-5168>em{font-size:11px}.profile-user-copy-5168>em b{font-size:13px}.profile-user-arrow-5168{font-size:28px}.profile-kpis-5168 a{padding:11px 2px 10px}.profile-kpis-5168 strong{font-size:17px}.profile-kpis-5168 span{font-size:9px}.profile-balance-5168{padding:11px 12px}.profile-balance-icon-5168{width:40px;height:40px}.profile-balance-5168 strong{font-size:17px}.profile-balance-5168>b{padding:10px 14px;font-size:12px}.profile-promo-5168{padding:14px}.profile-promo-icon-5168{font-size:43px}.profile-promo-5168 strong{font-size:16px}.profile-promo-5168 small{font-size:10px!important}.profile-promo-5168>em{font-size:29px}.profile-section-title-5168{margin-top:17px}.profile-section-title-5168 h2{font-size:15px}.profile-stat-cards-5168{gap:7px}.profile-stat-cards-5168 a{padding:10px 7px}.profile-stat-cards-5168 a>strong{font-size:16px}.profile-stat-cards-5168 a>small,.profile-stat-cards-5168 a>em{font-size:8px!important}.profile-referral-5168{padding:11px 12px}.profile-referral-5168>span{font-size:27px}.profile-referral-5168 strong{font-size:12px}.profile-quick-actions-5168{display:none}.profile-listings-5168,.account-shortcuts-5168,.profile-author-banner-5168{margin-left:0!important;margin-right:0!important}

  .listing-page-5168,.product-detail-5168{padding-bottom:92px}.listing-appbar-5168,.product-appbar-5168{position:sticky;top:0;z-index:20;margin:0 -12px;padding:8px 12px 10px;background:rgba(2,12,22,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(96,163,214,.14)}.listing-appbar-back-5168,.product-appbar-5168>a:first-child{width:34px;height:34px;font-size:27px;background:transparent;border:0}.listing-appbar-brand-5168,.product-appbar-brand-5168{font-size:18px}.listing-appbar-actions-5168 button,.listing-appbar-actions-5168 a,.product-appbar-5168 button{width:34px;height:34px;background:transparent;border:0;font-size:19px}
  .listing-showcase-5168{display:block}.listing-gallery-5168 .listing-main-photo{border-radius:14px!important;aspect-ratio:1.18/1}.listing-gallery-5168 .listing-thumbnails{gap:6px}.listing-gallery-5168 .listing-thumbnails button{flex-basis:58px;width:58px;height:43px;border-radius:8px!important}.listing-main-info-5168{margin-top:10px;padding:0 2px 12px;border:0;background:transparent;box-shadow:none}.listing-title-row-5168{align-items:center}.listing-title-row-5168 h1{font-size:20px;margin-bottom:4px}.listing-title-row-5168 .listing-price-v2{font-size:25px}.listing-good-price-5168{font-size:10px;padding:6px 8px}.listing-meta-row-5168{font-size:10px;margin-top:8px}.listing-seller-card-5168{margin-top:12px;padding:10px;border-radius:13px}.listing-seller-avatar-5168{width:45px!important;height:45px!important;min-width:45px!important}.listing-seller-card-5168 strong{font-size:13px}.listing-seller-card-5168 small{font-size:10px!important}.listing-contact-actions-5168{gap:8px;margin-top:10px}.listing-contact-actions-5168 .btn{min-height:45px;font-size:13px}.listing-facts-5168{margin-top:14px}.listing-facts-5168 h2{font-size:15px}.listing-facts-5168>div{padding:8px 0;font-size:11px}.listing-description-5168,.listing-safety-5168,.listing-reviews-5168{border-radius:16px!important;padding:14px!important;margin-top:12px!important}.listing-description-5168 p{font-size:12px}.listing-safety-5168{font-size:11px}.listing-reviews-5168 .review-item{padding:10px 0!important}.listing-related-5168{margin-top:14px}.listing-related-5168 .listing-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.listing-related-5168 .listing-related-grid>a{border-radius:13px!important}.listing-related-5168 .listing-related-grid img{aspect-ratio:1.2/1!important;object-fit:cover!important}

  .product-detail-top-5168{display:block!important}.product-detail-top-5168 .product-detail-media{min-height:0!important;aspect-ratio:1.12/1;border-radius:14px!important}.product-detail-top-5168 .product-detail-info{margin-top:10px;padding:2px 2px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}.product-detail-top-5168 h1{font-size:20px!important}.product-price-line-5168 .large{font-size:25px!important}.product-v2-meta{font-size:10px!important}.product-seller-card-5168{padding:10px;margin-top:12px;border-radius:13px}.product-detail-actions-5168 .btn{min-height:45px!important;font-size:13px!important}.product-facts-5168>div{font-size:11px;padding:8px 0}.product-description-5168 p{font-size:12px!important}.product-offer-section-5168,.product-specs-5168,.product-detail-columns-5168>.panel,.product-related-5168{border-radius:16px!important;padding:14px!important;margin-top:12px!important}.product-offer-section-5168 .offer-row{grid-template-columns:1fr auto!important;gap:8px!important}.product-offer-section-5168 .offer-rating,.product-offer-section-5168 .offer-availability{display:none!important}.product-detail-columns-5168{display:block!important}.product-detail-columns-5168>.panel+ .panel{margin-top:12px!important}

  .page-catalog .catalog-layout{display:block!important}.page-catalog .catalog-filter-panel{margin-bottom:12px!important}.page-catalog .catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.page-catalog .product-card{border-radius:14px!important}.page-catalog .product-card-body{padding:9px!important}.page-catalog .product-card h3{font-size:13px!important}.page-catalog .product-card-meta strong{font-size:15px!important}.page-catalog .product-card-actions .btn{font-size:10px!important;padding:7px 8px!important}.page-catalog .catalog-hub-hero{padding:16px!important;border-radius:18px!important}
}

@media (max-width:420px){
  .profile-stat-cards-5168{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-stat-cards-5168 a{padding-left:5px;padding-right:5px}.profile-stat-cards-5168 a>span{font-size:16px}.profile-stat-cards-5168 a>strong{font-size:15px}.profile-promo-5168{grid-template-columns:auto 1fr auto}.profile-promo-5168>em{display:none}.profile-referral-5168 strong{font-size:11px}
}


/* ---------- Source: upgrade-5169.css ---------- */
/* Знаходка 5.169 — immersive loader + deep dark surface cleanup.
   Loaded last. It intentionally neutralises legacy white/near-white nested surfaces. */
:root{
  --z169-bg:#020b14;
  --z169-surface:#071827;
  --z169-surface-2:#0a2134;
  --z169-surface-3:#0d2941;
  --z169-surface-4:#11334e;
  --z169-line:rgba(96,168,220,.22);
  --z169-line-strong:rgba(79,230,193,.34);
  --z169-text:#f5fbff;
  --z169-muted:#91a9bf;
  --z169-mint:#35efbd;
  --z169-blue:#67baff;
  --z169-danger:#ff6878;
  --z169-shadow:0 18px 48px rgba(0,0,0,.26);
}

html{background:var(--z169-bg)!important;color-scheme:dark}
body.site-theme-5167.site-theme-5168.site-theme-5169{background-color:var(--z169-bg)!important;color:var(--z169-text)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(input,select,textarea,button){color-scheme:dark}

/* ========================================================================== */
/* Loading screen — uses the approved image as the actual visual loader.      */
/* ========================================================================== */
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader{
  display:grid!important;
  place-items:center!important;
  inset:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#010813!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader::before{
  content:"";
  position:absolute;
  inset:-8%;
  background:url('loader-splash-5169.webp') center/cover no-repeat;
  filter:blur(56px) saturate(1.15);
  opacity:.24;
  transform:scale(1.08);
  pointer-events:none;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 43%,rgba(34,231,203,.06),transparent 42%),linear-gradient(180deg,rgba(0,6,14,.08),rgba(0,5,10,.22));
  pointer-events:none;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell-5169{
  position:relative!important;
  z-index:1!important;
  width:min(100vw,calc(100dvh * .5628))!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#020b14!important;
  box-shadow:0 0 100px rgba(0,0,0,.68)!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell::before,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell::after{display:none!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-image-5169{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shimmer-5169{
  position:absolute;
  z-index:3;
  left:15.5%;
  top:74.45%;
  width:69%;
  height:1.05%;
  min-height:5px;
  max-height:11px;
  overflow:hidden;
  border-radius:999px;
  opacity:.88;
  pointer-events:none;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shimmer-5169::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:26%;
  left:-32%;
  border-radius:inherit;
  background:linear-gradient(90deg,transparent,rgba(235,255,255,.96),rgba(55,246,218,.95),transparent);
  filter:blur(.2px);
  animation:z169LoaderSweep 1.45s cubic-bezier(.4,0,.2,1) infinite;
  box-shadow:0 0 14px rgba(52,239,189,.55);
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-live-5169{
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-orbit,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-copy,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-progress,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-dots{display:none!important}
@keyframes z169LoaderSweep{0%{left:-32%;opacity:0}12%{opacity:1}78%{opacity:1}100%{left:108%;opacity:0}}

@media (min-width:820px){
  body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader{padding:4vh 0!important}
  body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell,
  body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shell-5169{
    height:min(92dvh,900px)!important;
    width:auto!important;
    aspect-ratio:941/1672!important;
    border:1px solid rgba(88,204,238,.20)!important;
    border-radius:30px!important;
    box-shadow:0 34px 100px rgba(0,0,0,.62),0 0 80px rgba(18,158,226,.10)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-shimmer-5169::before{animation:none!important;left:39%!important;opacity:.55!important}
}

/* ========================================================================== */
/* Dark system: legacy nested white backgrounds must never punch through.     */
/* ========================================================================== */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  .panel,.card,.ticket,.article,.wiki-article,.auth-card,.auth-simple-card,.auth-clean-card,.verify-card,
  .account-card,.account-center-section,.account-security-card,.account-control-grid>a,.account-shortcuts>a,
  .profile-card,.profile-card-v3,.profile-focus-card,.profile-status-card,.profile-stat,.profile-trust-card,
  .wallet-card,.wallet-summary-card,.wallet-order-card,.wallet-explain-grid>.panel,.referral-card,.referral-terms>span,
  .support-card,.support-topic,.support-chat-panel,.forum-card,.forum-composer,.forum-panel-head,.forum-bulkbar,
  .search-portal,.search-result-card,.search-suggestions,.search-trends,.search-save-panel,
  .notification-card,.notification-item,.notifications-kpi,.notification-filter,
  .listing-buy-card,.listing-description,.listing-safety,.listing-seller-v2,.listing-seller-card,.listing-reviews,
  .product-card,.product-card-body,.product-detail-info,.product-offer-section-5168,.product-specs-5168 .product-spec-grid>div,
  .market-card,.marketplace-card,.marketplace-command,.marketplace-trust-strip>span,.marketplace-mobile-toolbar,
  .service-card,.auto-card,.realty-card,.news-card,.feed-news-card,.small-story,.forum-post,
  .catalog-section-directory>a,.catalog-filter-panel,.catalog-sort>a,.catalog-category-strip>a,
  .conversation-item,.inbox-thread,.inbox-detail,.chat-composer,.message-composer,
  .ad-public-card,.active-ad-card,.ad-live-preview-5164,.author-section-card,.author-checklist-card,.author-tip-card,.author-monetization-card,
  .admin-page-head,.admin-panel,.priority-item,.admin-stat-card,.admin-focus-strip>a,.quick-action-grid>a,
  .site-modal-card,.site-modal-body,.section-menu-panel,.catalog-dropdown,.mobile-more-sheet,.mobile-more-account,.mobile-menu-group
){
  background-color:var(--z169-surface)!important;
  border-color:var(--z169-line)!important;
  color:var(--z169-text)!important;
}

/* Common nested rows / tiles inside the blocks above. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  .quick-cards>a,.stat,.wallet-metrics-5151>div,.eco-category,.topic-row,.saved-row,
  .account-channel-row label>span,.account-event-grid>span,.security-device,
  .profile-kpis-5168>a,.profile-stat-cards-5168>a,.profile-balance-5168,.profile-user-card-5168,
  .listing-seller-card-5168,.listing-facts-5168>div,.product-seller-card-5168,.product-facts-5168>div,
  .offer-row,.seller-card-5155,.seller-card-body-5155,.review-item,
  .forum-command-nav>a,.review-filters>a,.public-profile-tabs>a,.audit-periods>a,
  .hybrid-discovery-rail>a,.hybrid-category-chip,.marketplace-quick-filters>a,
  .mobile-more-grid>a,.mobile-more-compact-list>a,.mobile-more-account-actions>a,
  .ad-owner-stats-5164>*,.ad-campaign-steps-5164>*
){
  background:var(--z169-surface-2)!important;
  border-color:var(--z169-line)!important;
  color:var(--z169-text)!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  .quick-cards>a:hover,.support-topic:hover,.eco-category:hover,.account-control-grid>a:hover,
  .review-filters>a:hover,.public-profile-tabs>a:hover,.audit-periods>a:hover,
  .hybrid-discovery-rail>a:hover,.hybrid-category-chip:hover,.marketplace-quick-filters>a:hover,
  .mobile-more-grid>a:hover,.mobile-more-compact-list>a:hover
){background:var(--z169-surface-3)!important;border-color:var(--z169-line-strong)!important}

/* Inputs and controls: no browser/legacy white fill. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  select,textarea,.wallet-amount-input,.marketplace-main-search,.portal-market-search,.market-search-main,
  .top-search,.search-tools,.filter-input,.input-group,.verify-code
){
  background:#071a2b!important;
  background-image:none!important;
  border-color:rgba(99,164,214,.28)!important;
  color:var(--z169-text)!important;
  box-shadow:none!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(input,textarea)::placeholder{color:#69859e!important;opacity:1}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(input,select,textarea):focus{
  border-color:rgba(52,239,189,.56)!important;
  box-shadow:0 0 0 3px rgba(52,239,189,.08)!important;
  outline:none!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 option{background:#071827!important;color:#eef8ff!important}

/* Tables had many inherited white cells/headers in old skins. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(table,.table,.table-wrap){background:transparent!important;color:var(--z169-text)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(th){background:#0c2740!important;color:#dff3ff!important;border-color:var(--z169-line)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(td){background:#081d2f!important;color:#d7e6f2!important;border-color:var(--z169-line)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 tr:nth-child(even)>td{background:#0a2134!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 tr:hover>td{background:#0d2941!important}

/* Legacy pale utility backgrounds and bars. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  .footer,.mobile-nav,.mobile-command-nav,.public-section-bar,.ecosystem-nav,
  .forum-panel-head,.forum-bulkbar,.chat-composer,.account-verification-banner,
  .marketplace-mobile-toolbar,.section-trust-strip,.results-utility
){
  background-color:rgba(3,16,29,.96)!important;
  background-image:none!important;
  border-color:var(--z169-line)!important;
  color:var(--z169-text)!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .mobile-nav a.is-active,
body.site-theme-5167.site-theme-5168.site-theme-5169 .mobile-command-nav a.is-active{background:rgba(52,239,189,.10)!important;color:var(--z169-mint)!important}

/* Media wells should be deep, not white, while keeping actual images intact. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(
  .product-image,.product-card-media,.marketplace-card-media,.listing-main-photo,.catalog-product-image,
  .upload-zone,.avatar-upload,.media-placeholder,.empty-media
){background-color:#06131f!important;border-color:var(--z169-line)!important}

/* Secondary/quiet buttons were another common source of white rectangles. */
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(.btn.secondary,.btn.ghost,.text-button,.wallet-presets button,.forum-command-nav>a){
  background:#0a2236!important;
  color:#dcecf7!important;
  border-color:var(--z169-line)!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 :where(.btn.secondary,.btn.ghost,.text-button,.wallet-presets button):hover{
  background:#0d2b44!important;
  border-color:var(--z169-line-strong)!important;
  color:#fff!important;
}

/* State cards retain meaning, but in dark variants. */
body.site-theme-5167.site-theme-5168.site-theme-5169 .author-blocked-notice{background:#351821!important;border-color:rgba(255,104,120,.35)!important;color:#ffd8de!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .wallet-unavailable{background:#322812!important;border:1px solid rgba(255,196,93,.26)!important;color:#ffe9b2!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .is-author-highlight{background:#0a2638!important;border-left-color:#46c8ff!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .is-promoted{background:#2b2412!important;border-left-color:#e7ab3d!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .visibility-badge{background:#0e304a!important;color:#72d5ff!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .is-promoted .visibility-badge{background:#493a12!important;color:#ffd46e!important}

/* Runtime fallback class added by upgrade-5169.js when old CSS still creates a
   near-white surface that was not known at release time. URL/image backgrounds
   are explicitly excluded by JS, so photos and ad art are not flattened. */
body.site-theme-5167.site-theme-5168.site-theme-5169 .z169-auto-dark-surface{
  background-color:var(--z169-surface-2)!important;
  background-image:none!important;
  border-color:var(--z169-line)!important;
  color:var(--z169-text)!important;
  box-shadow:none!important;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .z169-auto-dark-surface :where(h1,h2,h3,h4,h5,h6,strong,b,label){color:var(--z169-text)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .z169-auto-dark-surface :where(p,small,.muted,.meta){color:var(--z169-muted)!important}

/* Keep the new profile/listing accents from 5.168 vivid. */
body.site-theme-5167.site-theme-5168.site-theme-5169 .profile-promo-5168{background:linear-gradient(118deg,#4d2da2,#6a32d8 56%,#8a45ff)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .profile-referral-5168{background:linear-gradient(110deg,#8a4a20 0%,#5f2bb1 62%,#4728a7 100%)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .listing-good-price-5168{background:rgba(52,239,189,.12)!important;color:var(--z169-mint)!important}

@media(max-width:760px){
  body.site-theme-5167.site-theme-5168.site-theme-5169 .site-modal-card{background:#071827!important}
  body.site-theme-5167.site-theme-5168.site-theme-5169 .mobile-more-sheet{background:linear-gradient(180deg,#071827,#04111d)!important}
}


/* ---------- Source: upgrade-5170.css ---------- */
/* v5.170 — navigation restoration, messaging reliability UI, maintenance/install visual continuity */
:root{
  --z170-bg:#020b14;--z170-surface:#071828;--z170-surface-2:#0b2135;--z170-line:rgba(114,190,232,.18);
  --z170-text:#f6fbff;--z170-muted:#8da8bf;--z170-mint:#38edbd;--z170-blue:#57b9ff;
}
body.site-theme-5170{background:
  radial-gradient(circle at 88% 0,rgba(18,132,158,.13),transparent 26%),
  radial-gradient(circle at 12% 20%,rgba(24,92,163,.11),transparent 29%),
  var(--z170-bg)!important;color:var(--z170-text)}

/* Restore every primary marketplace destination on the home screen. */
body.site-theme-5170 .zn-quick-grid-5170{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
body.site-theme-5170 .zn-quick-grid-5170>a{min-width:0!important;padding-inline:8px!important;border-color:rgba(92,181,230,.23)!important;background:linear-gradient(160deg,rgba(12,43,68,.98),rgba(5,25,42,.98))!important}
body.site-theme-5170 .zn-quick-grid-5170>a:nth-child(2) span,
body.site-theme-5170 .zn-quick-grid-5170>a:nth-child(4) span,
body.site-theme-5170 .zn-quick-grid-5170>a:nth-child(6) span{color:var(--z170-mint)!important}
body.site-theme-5170 .zn-more-sections-5166{display:block!important;visibility:visible!important;opacity:1!important}

/* Bottom navigation: compact, dark glass and a direct Sections entry. */
@media(max-width:820px){
  body.site-theme-5170{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  body.site-theme-5170 .mobile-command-nav.zn-mobile-nav-5166,
  body.site-theme-5170 .mobile-command-nav.zn-mobile-nav-5167{
    left:10px!important;right:10px!important;bottom:8px!important;width:auto!important;
    height:calc(72px + env(safe-area-inset-bottom))!important;
    padding:6px 7px calc(6px + env(safe-area-inset-bottom))!important;
    border-radius:25px!important;grid-template-columns:1fr 1fr 1.08fr 1fr 1fr!important;
    background:linear-gradient(180deg,rgba(8,26,43,.96),rgba(3,15,27,.985))!important;
    border:1px solid rgba(105,197,238,.20)!important;
    box-shadow:0 18px 52px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.045)!important;
    backdrop-filter:blur(28px) saturate(155%)!important;-webkit-backdrop-filter:blur(28px) saturate(155%)!important;
  }
  body.site-theme-5170 .mobile-command-nav>a,
  body.site-theme-5170 .mobile-command-nav>button{
    appearance:none!important;border:0!important;background:transparent!important;color:#819ab1!important;
    border-radius:17px!important;position:relative!important;transition:color .16s ease,background .16s ease,transform .16s ease!important;
  }
  body.site-theme-5170 .mobile-command-nav>a:active,
  body.site-theme-5170 .mobile-command-nav>button:active{transform:scale(.96)!important}
  body.site-theme-5170 .mobile-command-nav>a.is-active:not(.mobile-create-command),
  body.site-theme-5170 .mobile-command-nav>button.is-active:not(.mobile-create-command){color:var(--z170-mint)!important;background:rgba(55,236,188,.075)!important}
  body.site-theme-5170 .mobile-command-nav .nav-icon{width:27px!important;height:27px!important}
  body.site-theme-5170 .mobile-command-nav .nav-icon svg{width:25px!important;height:25px!important;stroke-width:1.8!important}
  body.site-theme-5170 .mobile-command-nav small{font-size:9px!important;font-weight:760!important;letter-spacing:-.01em!important}
  body.site-theme-5170 .mobile-command-nav .nav-icon-create{
    width:58px!important;height:58px!important;margin-top:-23px!important;border-radius:21px!important;
    background:linear-gradient(145deg,#54f5cb,#22d8a9)!important;color:#001b14!important;
    box-shadow:0 13px 31px rgba(44,231,177,.34),0 0 0 6px rgba(4,18,31,.94)!important;
  }
  body.site-theme-5170 .mobile-sections-command .nav-icon svg{fill:none!important;stroke:currentColor!important}
  body.site-theme-5170 .mobile-command-sheet[data-mobile-sheet="more"]{
    background:linear-gradient(180deg,#081a2a,#04111d 88%)!important;
    border-color:rgba(94,183,231,.20)!important;box-shadow:0 -20px 70px rgba(0,0,0,.58)!important;
  }
  body.site-theme-5170 .mobile-more-grid-v3>a,
  body.site-theme-5170 .mobile-more-account,
  body.site-theme-5170 .mobile-more-guest,
  body.site-theme-5170 .mobile-more-compact-list>a{
    background:linear-gradient(160deg,rgba(14,43,67,.9),rgba(7,27,45,.92))!important;
    border-color:rgba(97,180,225,.15)!important;color:#edf8ff!important;
  }
  body.site-theme-5170 .mobile-more-grid-v3>a small,
  body.site-theme-5170 .mobile-more-compact-list>a i,
  body.site-theme-5170 .mobile-menu-group-title small{color:#7994aa!important}
}
@media(max-width:620px){
  body.site-theme-5170 .zn-quick-grid-5170{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  body.site-theme-5170 .zn-quick-grid-5170>a{min-height:82px!important}
}

/* Dialogs should never expose old white surfaces. */
body.site-theme-5170.page-inbox .ecosystem-hero,
body.site-theme-5170.page-inbox .inbox-list,
body.site-theme-5170.page-inbox .inbox-detail,
body.site-theme-5170.page-message_user .direct-message-card-5155,
body.site-theme-5170 .dialog-recovery-5170{
  background:linear-gradient(165deg,rgba(10,32,51,.97),rgba(4,18,31,.98))!important;
  border:1px solid rgba(100,189,232,.16)!important;color:#f4faff!important;
  box-shadow:0 22px 54px rgba(0,0,0,.22)!important;
}
body.site-theme-5170.page-inbox .inbox-thread{background:rgba(8,30,49,.72)!important;border-color:rgba(112,184,220,.11)!important;color:#ecf8ff!important}
body.site-theme-5170.page-inbox .inbox-thread.active{background:linear-gradient(145deg,rgba(26,95,102,.34),rgba(11,48,67,.82))!important;border-color:rgba(56,237,189,.31)!important}
body.site-theme-5170.page-inbox .inbox-thread span,
body.site-theme-5170.page-inbox .inbox-thread small{color:#809db5!important}
body.site-theme-5170 .message-bubble,
body.site-theme-5170 .direct-message-bubble-5155{background:#0b2740!important;border:1px solid rgba(109,187,225,.13)!important;color:#f5fbff!important}
body.site-theme-5170 .message-bubble.is-mine,
body.site-theme-5170 .direct-message-bubble-5155.mine{background:linear-gradient(145deg,rgba(28,116,105,.72),rgba(13,72,76,.9))!important;border-color:rgba(56,237,189,.22)!important}
body.site-theme-5170 .inbox-composer,
body.site-theme-5170 .direct-message-composer-5155{background:rgba(5,20,34,.72)!important;border:1px solid rgba(104,185,226,.12)!important;border-radius:20px!important;padding:13px!important}
body.site-theme-5170 .inbox-composer textarea,
body.site-theme-5170 .direct-message-composer-5155 textarea{background:#061827!important;border-color:rgba(113,190,230,.18)!important;color:#fff!important}
body.site-theme-5170 .inbox-composer textarea:focus,
body.site-theme-5170 .direct-message-composer-5155 textarea:focus{border-color:rgba(56,237,189,.55)!important;box-shadow:0 0 0 4px rgba(56,237,189,.08)!important}
body.site-theme-5170 .dialog-recovery-5170{padding:18px;border-radius:20px;display:grid;gap:8px}
body.site-theme-5170 .dialog-recovery-5170 strong{font-size:18px}
body.site-theme-5170 .dialog-recovery-5170 span{color:#89a4ba;font-size:13px}

/* Make stale light utility blocks harmless on the changed areas. */
body.site-theme-5170 .mobile-command-sheet input,
body.site-theme-5170 .mobile-command-sheet textarea,
body.site-theme-5170 .mobile-command-sheet select,
body.site-theme-5170.page-inbox input,
body.site-theme-5170.page-inbox textarea,
body.site-theme-5170.page-message_user input,
body.site-theme-5170.page-message_user textarea{color-scheme:dark!important;background:#061827!important;color:#f6fbff!important}

@media(prefers-reduced-motion:reduce){body.site-theme-5170 .mobile-command-nav>*{transition:none!important}}


/* ---------- Source: upgrade-5171.css ---------- */
/* v5.171 — complete admin-panel redesign based on approved dark mint dashboard reference */
:root{
  --a171-bg:#020b14;
  --a171-bg-2:#04111d;
  --a171-sidebar:#03101c;
  --a171-card:#081a2a;
  --a171-card-2:#0b2135;
  --a171-card-3:#0d2840;
  --a171-line:rgba(111,181,224,.15);
  --a171-line-strong:rgba(104,201,231,.26);
  --a171-text:#f5f9fd;
  --a171-muted:#8ca2b7;
  --a171-faint:#62798e;
  --a171-mint:#35edbd;
  --a171-mint-2:#20cfa6;
  --a171-blue:#4aa8ff;
  --a171-purple:#a875ff;
  --a171-orange:#ffac62;
  --a171-red:#ff6f7e;
  --a171-shadow:0 22px 62px rgba(0,0,0,.24);
}

/* Turn admin pages into a standalone application shell. */
body.admin-body.site-theme-5171{
  margin:0!important;
  min-height:100vh!important;
  background:
    radial-gradient(circle at 82% -15%,rgba(28,163,176,.11),transparent 27%),
    radial-gradient(circle at 44% 12%,rgba(27,91,155,.07),transparent 26%),
    var(--a171-bg)!important;
  color:var(--a171-text)!important;
  color-scheme:dark;
  overflow-x:hidden;
}
body.admin-body.site-theme-5171>.top,
body.admin-body.site-theme-5171>.site-nav,
body.admin-body.site-theme-5171>.mobile-command-nav,
body.admin-body.site-theme-5171>.mobile-command-sheet,
body.admin-body.site-theme-5171>.support-fab,
body.admin-body.site-theme-5171>.site-footer,
body.admin-body.site-theme-5171>footer{display:none!important}
body.admin-body.site-theme-5171 .admin-shell{display:block!important;min-height:100vh!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

/* Desktop sidebar. */
body.admin-body.site-theme-5171 .admin-sidebar{
  position:fixed!important;inset:0 auto 0 0!important;z-index:95!important;
  width:252px!important;height:100dvh!important;box-sizing:border-box!important;
  padding:20px 14px 18px!important;
  display:flex!important;flex-direction:column!important;gap:12px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#041522 0%,#03101b 58%,#020c15 100%)!important;
  border:0!important;border-right:1px solid var(--a171-line)!important;border-radius:0!important;
  box-shadow:18px 0 65px rgba(0,0,0,.18)!important;
}
body.admin-body.site-theme-5171 .admin-brand{
  display:block!important;padding:8px 10px 16px!important;margin:0!important;border:0!important;background:none!important;
}
body.admin-body.site-theme-5171 .admin-brand-mark{display:none!important}
body.admin-body.site-theme-5171 .admin-brand-wordmark{display:flex;flex-direction:column;gap:5px}
body.admin-body.site-theme-5171 .admin-brand-wordmark strong{font-size:30px;line-height:1;font-weight:900;letter-spacing:-.045em;color:#f8fbff}
body.admin-body.site-theme-5171 .admin-brand-wordmark strong em{font-style:normal;color:var(--a171-mint)}
body.admin-body.site-theme-5171 .admin-brand-wordmark small{font-size:8px;letter-spacing:.28em;color:#7b93a8;font-weight:800;padding-left:2px}
body.admin-body.site-theme-5171 .admin-operator-card,
body.admin-body.site-theme-5171 .admin-quick,
body.admin-body.site-theme-5171 .admin-live-strip,
body.admin-body.site-theme-5171 .admin-sidebar-help{display:none!important}
body.admin-body.site-theme-5171 .admin-nav-search{padding:0 7px!important;margin:0!important;color:#72899d!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.09em;font-weight:800}
body.admin-body.site-theme-5171 .admin-nav-search input{
  width:100%!important;margin-top:7px!important;padding:10px 12px!important;border-radius:12px!important;
  border:1px solid rgba(106,181,219,.12)!important;background:#061724!important;color:#ecf7ff!important;font-size:12px!important;
  outline:none!important;box-shadow:none!important;
}
body.admin-body.site-theme-5171 .admin-nav-search input:focus{border-color:rgba(53,237,189,.42)!important;box-shadow:0 0 0 3px rgba(53,237,189,.07)!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav{
  min-height:0!important;flex:1 1 auto!important;overflow:auto!important;padding:2px 2px 20px!important;margin:0!important;
  scrollbar-width:thin;scrollbar-color:rgba(99,157,192,.28) transparent;
}
body.admin-body.site-theme-5171 .admin-sidebar-nav::-webkit-scrollbar{width:5px}
body.admin-body.site-theme-5171 .admin-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(99,157,192,.24);border-radius:99px}
body.admin-body.site-theme-5171 .admin-nav-section{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  margin:15px 9px 7px!important;padding:0!important;border:0!important;background:none!important;cursor:pointer;user-select:none;
}
body.admin-body.site-theme-5171 .admin-nav-section strong{font-size:10px!important;text-transform:uppercase;letter-spacing:.12em;color:#668096!important;font-weight:850!important}
body.admin-body.site-theme-5171 .admin-nav-section span{display:none!important}
body.admin-body.site-theme-5171 .admin-nav-section::after{content:'⌄';font-size:11px;color:#4f687c;transition:transform .15s ease}
body.admin-body.site-theme-5171 .admin-nav-section.is-collapsed::after{transform:rotate(-90deg)}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a,
body.admin-body.site-theme-5171 .admin-nav-create{
  min-height:43px!important;display:flex!important;align-items:center!important;gap:11px!important;
  margin:2px 0!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:11px!important;
  color:#aebfd0!important;background:transparent!important;text-decoration:none!important;box-shadow:none!important;transition:.16s ease!important;
}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a:hover{color:#edf8ff!important;background:rgba(24,65,91,.44)!important;border-color:rgba(99,187,218,.09)!important;transform:none!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a.active{
  color:#65f2ce!important;background:linear-gradient(90deg,rgba(24,123,127,.30),rgba(11,44,67,.76))!important;
  border-color:rgba(52,237,188,.18)!important;box-shadow:inset 3px 0 0 var(--a171-mint)!important;
}
body.admin-body.site-theme-5171 .admin-sidebar-nav .nav-ico{
  width:24px!important;height:24px!important;min-width:24px!important;display:grid!important;place-items:center!important;
  font-size:15px!important;color:#8eb7db!important;background:transparent!important;border:0!important;border-radius:0!important;
}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a.active .nav-ico{color:var(--a171-mint)!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a>span:last-child{min-width:0!important;display:block!important;flex:1!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a b{display:flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;line-height:1.2!important;font-weight:720!important;color:inherit!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav>a small{display:none!important}
body.admin-body.site-theme-5171 .admin-nav-count{margin-left:auto!important;min-width:21px!important;height:21px!important;padding:0 6px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#f04f61!important;color:#fff!important;font-size:10px!important;font-style:normal!important;font-weight:850!important;box-shadow:0 0 0 3px rgba(240,79,97,.09)!important}
body.admin-body.site-theme-5171 .admin-sidebar-status{
  margin-top:auto!important;padding:12px 11px!important;display:flex!important;gap:9px!important;align-items:center!important;
  border-radius:13px!important;background:rgba(8,31,48,.75)!important;border:1px solid rgba(83,170,209,.12)!important;
}
body.admin-body.site-theme-5171 .admin-sidebar-status .status-dot{width:8px!important;height:8px!important;min-width:8px!important;border-radius:50%!important;background:var(--a171-mint)!important;box-shadow:0 0 12px rgba(53,237,189,.6)!important}
body.admin-body.site-theme-5171 .admin-sidebar-status strong{font-size:11px!important;color:#d8f5ec!important}
body.admin-body.site-theme-5171 .admin-sidebar-status small{display:block!important;margin-top:2px!important;font-size:9px!important;color:#6f889d!important;line-height:1.3!important}

/* Top application bar shared by every admin screen. */
body.admin-body.site-theme-5171 .admin-globalbar-5171{
  position:fixed;z-index:90;left:252px;right:0;top:0;height:72px;box-sizing:border-box;
  display:flex;align-items:center;gap:18px;padding:12px 28px;
  background:rgba(3,15,26,.90);border-bottom:1px solid rgba(108,182,220,.12);
  backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);
}
body.admin-body.site-theme-5171 .admin-global-search-5171{width:min(620px,55vw);position:relative;display:flex;align-items:center}
body.admin-body.site-theme-5171 .admin-global-search-5171 svg{position:absolute;left:15px;width:18px;height:18px;fill:none;stroke:#7896b1;stroke-width:2;pointer-events:none}
body.admin-body.site-theme-5171 .admin-global-search-5171 input{
  width:100%!important;height:44px!important;padding:0 78px 0 45px!important;border:1px solid rgba(102,180,219,.16)!important;border-radius:12px!important;
  background:rgba(8,29,47,.92)!important;color:#eef8ff!important;outline:none!important;font-size:13px!important;box-shadow:none!important;
}
body.admin-body.site-theme-5171 .admin-global-search-5171 input::placeholder{color:#7991a6!important}
body.admin-body.site-theme-5171 .admin-global-search-5171 input:focus{border-color:rgba(53,237,189,.40)!important;box-shadow:0 0 0 4px rgba(53,237,189,.06)!important}
body.admin-body.site-theme-5171 .admin-global-search-5171 kbd{position:absolute;right:11px;padding:4px 7px;border:1px solid rgba(110,183,219,.14);border-radius:7px;background:#0b2134;color:#6f899f;font-size:9px;font:inherit}
body.admin-body.site-theme-5171 .admin-globalbar-spacer{flex:1}
body.admin-body.site-theme-5171 .admin-top-icon-5171{
  position:relative;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#a9bed1;text-decoration:none;cursor:pointer;transition:.15s ease
}
body.admin-body.site-theme-5171 .admin-top-icon-5171:hover{background:#0a2337;color:#eafbff}
body.admin-body.site-theme-5171 .admin-top-icon-5171 svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
body.admin-body.site-theme-5171 .admin-top-icon-5171 i{position:absolute;right:0;top:0;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:99px;background:#ef4f5d;color:#fff;font-size:9px;font-style:normal;font-weight:900;box-shadow:0 0 0 3px #03101c}
body.admin-body.site-theme-5171 .admin-top-user-5171{display:flex;align-items:center;gap:10px;padding:4px 8px 4px 5px;border-radius:13px;color:#eef8ff;text-decoration:none;transition:.15s ease}
body.admin-body.site-theme-5171 .admin-top-user-5171:hover{background:#0a2133}
body.admin-body.site-theme-5171 .admin-top-user-avatar-5171{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#164664,#0b2b43);border:1px solid rgba(69,238,189,.34);color:#68f0ca;font-weight:900}
body.admin-body.site-theme-5171 .admin-top-user-5171 strong{display:block;font-size:12px;line-height:1.1}
body.admin-body.site-theme-5171 .admin-top-user-5171 small{display:block;margin-top:4px;color:#5ee8c3;font-size:9px}

/* Main workspace. */
body.admin-body.site-theme-5171 .admin-main{
  margin:0 0 0 252px!important;padding:96px 28px 48px!important;min-height:100vh!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;
  background:transparent!important;
}
body.admin-body.site-theme-5171 .admin-main>*{max-width:1400px;margin-left:auto;margin-right:auto}
body.admin-body.site-theme-5171 .admin-menu-toggle{display:none!important}
body.admin-body.site-theme-5171 .admin-drawer-backdrop{display:none!important}

/* Shared admin surfaces, forms, tables and controls. */
body.admin-body.site-theme-5171 .panel,
body.admin-body.site-theme-5171 .admin-panel,
body.admin-body.site-theme-5171 .admin-card,
body.admin-body.site-theme-5171 .admin-filter-bar,
body.admin-body.site-theme-5171 .admin-bulk-bar-5155,
body.admin-body.site-theme-5171 .notice:not(.success):not(.error):not(.danger){
  background:linear-gradient(160deg,rgba(9,29,46,.98),rgba(5,20,33,.99))!important;
  border:1px solid var(--a171-line)!important;color:var(--a171-text)!important;border-radius:17px!important;box-shadow:none!important;
}
body.admin-body.site-theme-5171 .admin-panel{padding:18px!important}
body.admin-body.site-theme-5171 h1,body.admin-body.site-theme-5171 h2,body.admin-body.site-theme-5171 h3,body.admin-body.site-theme-5171 strong{color:#f5f9fd}
body.admin-body.site-theme-5171 .meta,body.admin-body.site-theme-5171 .link-muted,body.admin-body.site-theme-5171 p{color:var(--a171-muted)}
body.admin-body.site-theme-5171 .eyebrow{color:#59eec8!important;letter-spacing:.10em!important;font-size:10px!important;font-weight:850!important;text-transform:uppercase}
body.admin-body.site-theme-5171 input:not([type=checkbox]):not([type=radio]),
body.admin-body.site-theme-5171 select,
body.admin-body.site-theme-5171 textarea{
  background:#061827!important;border:1px solid rgba(108,181,220,.18)!important;color:#eff8ff!important;border-radius:11px!important;box-shadow:none!important;color-scheme:dark!important;
}
body.admin-body.site-theme-5171 input:focus,body.admin-body.site-theme-5171 select:focus,body.admin-body.site-theme-5171 textarea:focus{border-color:rgba(53,237,189,.5)!important;outline:none!important;box-shadow:0 0 0 3px rgba(53,237,189,.06)!important}
body.admin-body.site-theme-5171 .btn{border-radius:10px!important;background:linear-gradient(135deg,#4cf3c8,#2bd6ad)!important;color:#002319!important;border:0!important;font-weight:800!important;box-shadow:0 8px 24px rgba(35,220,170,.13)!important}
body.admin-body.site-theme-5171 .btn.secondary{background:#0a2438!important;border:1px solid rgba(105,182,222,.16)!important;color:#cae3f5!important;box-shadow:none!important}
body.admin-body.site-theme-5171 .btn.danger-soft{background:rgba(221,72,85,.11)!important;color:#ff919d!important;border:1px solid rgba(221,72,85,.21)!important;box-shadow:none!important}
body.admin-body.site-theme-5171 .table-wrap{border:1px solid var(--a171-line)!important;border-radius:15px!important;background:#061724!important;overflow:auto!important}
body.admin-body.site-theme-5171 table.table{background:transparent!important;color:#dceaf5!important;border-collapse:collapse!important}
body.admin-body.site-theme-5171 table.table th{background:#0a2134!important;color:#7791a7!important;border-color:rgba(110,183,220,.11)!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.07em}
body.admin-body.site-theme-5171 table.table td{background:rgba(6,23,36,.78)!important;border-color:rgba(110,183,220,.08)!important;color:#dceaf5!important}
body.admin-body.site-theme-5171 table.table tr:hover td{background:#0a2133!important}
body.admin-body.site-theme-5171 .badge{border-radius:999px!important;background:#102a40!important;color:#a8c1d5!important;border:1px solid rgba(111,185,222,.12)!important}
body.admin-body.site-theme-5171 .badge.ok{background:rgba(42,209,161,.11)!important;color:#5ef0c6!important;border-color:rgba(42,209,161,.18)!important}
body.admin-body.site-theme-5171 .badge.warn{background:rgba(255,174,79,.10)!important;color:#ffc274!important;border-color:rgba(255,174,79,.17)!important}

/* Dashboard header matching the approved reference. */
body.admin-body.site-theme-5171 .admin-welcome-5171{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px!important}
body.admin-body.site-theme-5171 .admin-welcome-5171 h1{margin:0 0 4px!important;font-size:30px!important;line-height:1.1!important;letter-spacing:-.035em!important}
body.admin-body.site-theme-5171 .admin-welcome-5171 p{margin:0!important;font-size:13px!important;color:#7f96aa!important}
body.admin-body.site-theme-5171 .admin-welcome-actions-5171{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body.admin-body.site-theme-5171 .admin-date-chip-5171{height:40px;display:flex;align-items:center;gap:8px;padding:0 13px;border-radius:10px;background:#071c2d;border:1px solid rgba(104,178,218,.15);color:#a8bed0;font-size:11px;font-weight:700}
body.admin-body.site-theme-5171 .admin-date-chip-5171 svg{width:16px;height:16px;fill:none;stroke:#8ea8bd;stroke-width:1.8}
body.admin-body.site-theme-5171 .admin-create-5171{height:40px!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 15px!important;text-decoration:none!important;white-space:nowrap}

body.admin-body.site-theme-5171 .admin-kpi-grid-5171{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px!important}
body.admin-body.site-theme-5171 .admin-kpi-5171{
  position:relative;min-height:120px;padding:16px 17px;border-radius:15px;background:linear-gradient(155deg,#0a2134,#061724);border:1px solid var(--a171-line);overflow:hidden;text-decoration:none;color:inherit;box-shadow:var(--a171-shadow)
}
body.admin-body.site-theme-5171 .admin-kpi-5171::after{content:'';position:absolute;right:-28px;bottom:-38px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,rgba(53,237,189,.09),transparent 70%)}
body.admin-body.site-theme-5171 .admin-kpi-head-5171{display:flex;align-items:center;gap:10px}
body.admin-body.site-theme-5171 .admin-kpi-icon-5171{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#113454;color:#65b9ff;font-size:17px}
body.admin-body.site-theme-5171 .admin-kpi-5171.is-mint .admin-kpi-icon-5171{background:rgba(38,211,163,.14);color:#42e7bb}
body.admin-body.site-theme-5171 .admin-kpi-5171.is-red .admin-kpi-icon-5171{background:rgba(247,98,114,.14);color:#ff8390}
body.admin-body.site-theme-5171 .admin-kpi-5171.is-purple .admin-kpi-icon-5171{background:rgba(157,111,255,.14);color:#b799ff}
body.admin-body.site-theme-5171 .admin-kpi-head-5171 span:last-child{font-size:12px;color:#a9bdcf;font-weight:700}
body.admin-body.site-theme-5171 .admin-kpi-value-5171{margin-top:9px;font-size:28px;line-height:1;font-weight:900;letter-spacing:-.03em;color:#f7fbff}
body.admin-body.site-theme-5171 .admin-kpi-foot-5171{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:9px;color:#718a9f}
body.admin-body.site-theme-5171 .admin-kpi-delta-5171{color:#4de8be;font-weight:850}
body.admin-body.site-theme-5171 .admin-kpi-delta-5171.is-down{color:#ff8290}
body.admin-body.site-theme-5171 .admin-spark-5171{display:flex;align-items:flex-end;gap:3px;height:22px}
body.admin-body.site-theme-5171 .admin-spark-5171 i{width:3px;border-radius:4px;background:linear-gradient(#4eeec3,#168ba0);opacity:.9}

body.admin-body.site-theme-5171 .admin-dashboard-primary-5171{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr);gap:15px;margin-bottom:15px!important}
body.admin-body.site-theme-5171 .admin-dashboard-card-5171{background:linear-gradient(160deg,#081d2f,#051522);border:1px solid var(--a171-line);border-radius:16px;padding:17px;min-width:0;box-shadow:var(--a171-shadow)}
body.admin-body.site-theme-5171 .admin-card-head-5171{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.admin-body.site-theme-5171 .admin-card-head-5171 h2{display:flex;align-items:center;gap:8px;margin:0!important;font-size:15px!important;letter-spacing:-.01em!important}
body.admin-body.site-theme-5171 .admin-card-head-5171 h2 i{font-style:normal;color:var(--a171-mint)}
body.admin-body.site-theme-5171 .admin-card-head-5171 a{font-size:10px;color:#63b7ff;text-decoration:none}
body.admin-body.site-theme-5171 .admin-chart-metrics-5171{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:2px 0 13px;border-bottom:1px solid rgba(109,184,221,.08)}
body.admin-body.site-theme-5171 .admin-chart-metrics-5171 div{min-width:0}
body.admin-body.site-theme-5171 .admin-chart-metrics-5171 span{display:block;color:#71899f;font-size:9px}
body.admin-body.site-theme-5171 .admin-chart-metrics-5171 b{display:block;margin-top:3px;font-size:17px;color:#eff9ff}
body.admin-body.site-theme-5171 .admin-line-chart-5171{position:relative;height:220px;margin-top:10px;border-radius:12px;overflow:hidden;background:
  linear-gradient(rgba(93,165,204,.06) 1px,transparent 1px),
  linear-gradient(90deg,rgba(93,165,204,.05) 1px,transparent 1px),
  linear-gradient(180deg,rgba(7,31,49,.55),rgba(4,20,32,.15));background-size:100% 25%,12.5% 100%,auto}
body.admin-body.site-theme-5171 .admin-line-chart-5171 svg{width:100%;height:100%;display:block;overflow:visible}
body.admin-body.site-theme-5171 .admin-line-chart-5171 .area-a{fill:url(#a171Area);opacity:.42}
body.admin-body.site-theme-5171 .admin-line-chart-5171 .line-a{fill:none;stroke:#46e9c0;stroke-width:2.2;vector-effect:non-scaling-stroke}
body.admin-body.site-theme-5171 .admin-line-chart-5171 .line-b{fill:none;stroke:#4a9cff;stroke-width:2;vector-effect:non-scaling-stroke}
body.admin-body.site-theme-5171 .admin-line-chart-5171 .line-c{fill:none;stroke:#a8bdd0;stroke-width:1.4;stroke-dasharray:4 5;opacity:.75;vector-effect:non-scaling-stroke}
body.admin-body.site-theme-5171 .admin-chart-legend-5171{display:flex;gap:15px;flex-wrap:wrap;margin-top:8px;color:#7890a4;font-size:9px}
body.admin-body.site-theme-5171 .admin-chart-legend-5171 span::before{content:'';display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#45e6bd}
body.admin-body.site-theme-5171 .admin-chart-legend-5171 span:nth-child(2)::before{background:#4a9cff}
body.admin-body.site-theme-5171 .admin-chart-legend-5171 span:nth-child(3)::before{background:#9db2c4}

body.admin-body.site-theme-5171 .admin-review-list-5171{display:grid;gap:2px}
body.admin-body.site-theme-5171 .admin-review-item-5171{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(110,183,220,.07);text-decoration:none;color:inherit}
body.admin-body.site-theme-5171 .admin-review-item-5171:last-child{border-bottom:0}
body.admin-body.site-theme-5171 .admin-review-thumb-5171{width:48px;height:40px;border-radius:9px;overflow:hidden;background:#0d2c45;display:grid;place-items:center;color:#72b8e0;font-size:17px}
body.admin-body.site-theme-5171 .admin-review-thumb-5171 img{width:100%;height:100%;object-fit:cover}
body.admin-body.site-theme-5171 .admin-review-item-5171 b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body.site-theme-5171 .admin-review-item-5171 small{display:block;margin-top:3px;color:#728ba0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body.site-theme-5171 .admin-review-status-5171{padding:4px 7px;border-radius:999px;background:rgba(255,174,79,.10);border:1px solid rgba(255,174,79,.18);color:#ffc16c;font-size:8px;font-weight:800}
body.admin-body.site-theme-5171 .admin-review-status-5171.blocked{background:rgba(255,101,117,.10);border-color:rgba(255,101,117,.18);color:#ff8794}

body.admin-body.site-theme-5171 .admin-dashboard-lower-5171{display:grid;grid-template-columns:1.05fr .95fr .88fr;gap:15px;margin-bottom:16px!important}
body.admin-body.site-theme-5171 .admin-category-list-5171{display:grid;gap:8px}
body.admin-body.site-theme-5171 .admin-category-row-5171{display:grid;grid-template-columns:minmax(90px,1fr) 52px 1fr;gap:9px;align-items:center}
body.admin-body.site-theme-5171 .admin-category-row-5171 span{font-size:10px;color:#adc0d0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body.site-theme-5171 .admin-category-row-5171 b{font-size:10px;text-align:right}
body.admin-body.site-theme-5171 .admin-category-track-5171{height:7px;border-radius:99px;background:#102a40;overflow:hidden}
body.admin-body.site-theme-5171 .admin-category-track-5171 i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38eabc,#48a5ff)}
body.admin-body.site-theme-5171 .admin-compact-feed-5171{display:grid;gap:2px}
body.admin-body.site-theme-5171 .admin-compact-feed-item-5171{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(108,182,220,.07);text-decoration:none;color:inherit}
body.admin-body.site-theme-5171 .admin-compact-feed-item-5171:last-child{border:0}
body.admin-body.site-theme-5171 .admin-feed-avatar-5171{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#0f324f;color:#6cf0cd;font-size:10px;font-weight:850}
body.admin-body.site-theme-5171 .admin-compact-feed-item-5171 b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body.site-theme-5171 .admin-compact-feed-item-5171 small{display:block;margin-top:3px;font-size:8px;color:#748da2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body.site-theme-5171 .admin-compact-feed-item-5171 time{font-size:8px;color:#597289}
body.admin-body.site-theme-5171 .admin-empty-5171{min-height:110px;display:grid;place-items:center;text-align:center;color:#6f899e;font-size:11px}

/* Hide old dashboard-only blocks after the new reference dashboard. They remain accessible through dedicated admin modules. */
body.admin-body.site-theme-5171.page-index .admin-legacy-dashboard-5171{display:none!important}

/* Other admin pages: cleaner top heading and consistent compact content. */
body.admin-body.site-theme-5171:not(.page-index) .admin-page-head{margin:0 auto 15px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.admin-body.site-theme-5171:not(.page-index) .admin-page-head h1{font-size:25px!important;letter-spacing:-.03em!important;margin-bottom:5px!important}
body.admin-body.site-theme-5171:not(.page-index) .admin-page-head p{font-size:12px!important}
body.admin-body.site-theme-5171 .panel-head{border-color:rgba(108,182,220,.08)!important}
body.admin-body.site-theme-5171 .admin-list-item{background:transparent!important;border-color:rgba(108,182,220,.08)!important;color:#dbe9f5!important}
body.admin-body.site-theme-5171 .admin-list-item:hover{background:#092137!important}

/* Compact mode toggle from the top bar. */
body.admin-body.site-theme-5171.admin-compact-5171 .admin-main{padding-top:86px!important}
body.admin-body.site-theme-5171.admin-compact-5171 .admin-panel{padding:14px!important}
body.admin-body.site-theme-5171.admin-compact-5171 .admin-sidebar-nav>a{min-height:38px!important;padding-block:6px!important}
body.admin-body.site-theme-5171.admin-compact-5171 .admin-kpi-5171{min-height:104px!important}
body.admin-body.site-theme-5171.admin-compact-5171 .admin-line-chart-5171{height:185px!important}

@media(max-width:1120px){
  body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.admin-body.site-theme-5171 .admin-dashboard-primary-5171{grid-template-columns:1fr}
  body.admin-body.site-theme-5171 .admin-dashboard-lower-5171{grid-template-columns:1fr 1fr}
  body.admin-body.site-theme-5171 .admin-dashboard-lower-5171>*:last-child{grid-column:1/-1}
}

@media(max-width:820px){
  body.admin-body.site-theme-5171 .admin-sidebar{transform:translateX(-105%)!important;transition:transform .2s ease!important;width:min(84vw,300px)!important;z-index:130!important;box-shadow:25px 0 80px rgba(0,0,0,.48)!important}
  body.admin-body.site-theme-5171.admin-drawer-open .admin-sidebar{transform:translateX(0)!important}
  body.admin-body.site-theme-5171 .admin-drawer-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:120!important;background:rgba(0,7,13,.67)!important;opacity:0!important;pointer-events:none!important;transition:opacity .2s ease!important;backdrop-filter:blur(4px)}
  body.admin-body.site-theme-5171.admin-drawer-open .admin-drawer-backdrop{opacity:1!important;pointer-events:auto!important}
  body.admin-body.site-theme-5171 .admin-globalbar-5171{left:0!important;height:66px!important;padding:10px 12px!important;gap:8px!important}
  body.admin-body.site-theme-5171 .admin-main{margin-left:0!important;padding:82px 12px 32px!important}
  body.admin-body.site-theme-5171 .admin-menu-toggle{position:fixed!important;display:grid!important;place-items:center!important;left:12px!important;top:13px!important;z-index:150!important;width:40px!important;height:40px!important;padding:0!important;border-radius:12px!important;background:#0a2438!important;border:1px solid rgba(104,181,220,.16)!important;color:#dbeaf6!important;box-shadow:none!important}
  body.admin-body.site-theme-5171 .admin-menu-toggle>span:not(.admin-menu-toggle-icon),body.admin-body.site-theme-5171 .admin-menu-toggle>strong{display:none!important}
  body.admin-body.site-theme-5171 .admin-menu-toggle-icon{width:18px!important;display:grid!important;gap:3px!important}
  body.admin-body.site-theme-5171 .admin-menu-toggle-icon span{height:2px!important;background:#9db6c9!important;border-radius:99px!important}
  body.admin-body.site-theme-5171 .admin-global-search-5171{margin-left:48px;width:auto;flex:1}
  body.admin-body.site-theme-5171 .admin-global-search-5171 kbd{display:none}
  body.admin-body.site-theme-5171 .admin-top-user-5171>span:last-child{display:none}
  body.admin-body.site-theme-5171 .admin-top-icon-5171[data-admin-compact]{display:none}
  body.admin-body.site-theme-5171 .admin-welcome-5171{align-items:flex-start;flex-direction:column}
  body.admin-body.site-theme-5171 .admin-welcome-actions-5171{width:100%;justify-content:space-between}
  body.admin-body.site-theme-5171 .admin-date-chip-5171{flex:1;justify-content:center}
}

@media(max-width:620px){
  body.admin-body.site-theme-5171 .admin-global-search-5171 input{font-size:11px!important;padding-right:12px!important}
  body.admin-body.site-theme-5171 .admin-top-icon-5171[data-admin-settings]{display:none}
  body.admin-body.site-theme-5171 .admin-welcome-5171 h1{font-size:25px!important}
  body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:1fr 1fr;gap:9px}
  body.admin-body.site-theme-5171 .admin-kpi-5171{min-height:110px;padding:13px}
  body.admin-body.site-theme-5171 .admin-kpi-head-5171 span:last-child{font-size:10px}
  body.admin-body.site-theme-5171 .admin-kpi-value-5171{font-size:23px}
  body.admin-body.site-theme-5171 .admin-dashboard-lower-5171{grid-template-columns:1fr}
  body.admin-body.site-theme-5171 .admin-dashboard-lower-5171>*:last-child{grid-column:auto}
  body.admin-body.site-theme-5171 .admin-chart-metrics-5171{grid-template-columns:1fr 1fr}
  body.admin-body.site-theme-5171 .admin-line-chart-5171{height:175px}
  body.admin-body.site-theme-5171 .admin-review-item-5171{grid-template-columns:43px minmax(0,1fr) auto}
  body.admin-body.site-theme-5171 .admin-review-thumb-5171{width:43px;height:38px}
}

@media(max-width:390px){
  body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:1fr}
  body.admin-body.site-theme-5171 .admin-global-search-5171{margin-left:45px}
  body.admin-body.site-theme-5171 .admin-top-user-5171{display:none}
}

@media(prefers-reduced-motion:reduce){
  body.admin-body.site-theme-5171 .admin-sidebar,body.admin-body.site-theme-5171 .admin-sidebar-nav>a,body.admin-body.site-theme-5171 .admin-top-icon-5171{transition:none!important}
}
body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2>a{min-height:74px!important;padding:13px!important;border-radius:13px!important;background:linear-gradient(155deg,#0a2438,#071927)!important;border:1px solid rgba(107,182,220,.13)!important;color:#eaf5fd!important;text-decoration:none!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important}
body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2>a:hover{border-color:rgba(53,237,189,.28)!important;background:linear-gradient(155deg,#0d2b40,#082033)!important;transform:none!important}
body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2>a b{font-size:11px!important}
body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2>a span{font-size:9px!important;color:#718ba0!important}
@media(max-width:900px){body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:430px){body.admin-body.site-theme-5171 .quick-action-grid.admin-quick-v2{grid-template-columns:1fr!important}}


/* ---------- Source: upgrade-5174-messages.css ---------- */
/* Znahodka 5.174 messages redesign */
.direct-message-page-5155{max-width:980px;margin:0 auto;padding:24px 14px}.direct-message-card-5155{background:linear-gradient(145deg,#071b2e,#03111f)!important;border:1px solid rgba(60,220,200,.16)!important;border-radius:32px!important;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.direct-message-card-5155 h1{font-size:clamp(36px,8vw,56px);margin:10px 0;color:#fff}.direct-message-card-5155 .eyebrow{color:#36e5c0;text-transform:uppercase;font-weight:800;letter-spacing:1px}
.direct-message-history-5155{display:flex;flex-direction:column;gap:12px}.direct-message-bubble-5155{background:#0b2236;border:1px solid #173750;border-radius:22px;padding:16px;color:#dbe9f5}.direct-message-bubble-5155.mine{border-color:#32e4c2;background:#0d3040}.direct-message-composer-5155 textarea{background:#061624;border:1px solid #24445e;color:white;border-radius:20px}
/* inbox/list style */
.page-inbox .panel,.page-inbox .card{background:#061624!important;border-color:#16344e!important}.page-inbox .dialog-card,.page-inbox .message-card{background:linear-gradient(120deg,#081b30,#071523);border:1px solid rgba(100,220,210,.15);border-radius:24px;padding:16px;transition:.2s}.page-inbox .dialog-card:hover{transform:translateY(-2px);border-color:#35e6c0}
/* bottom glass nav */
.mobile-bottom-nav,.bottom-nav,.site-bottom-menu{background:rgba(5,18,32,.82)!important;backdrop-filter:blur(18px);border:1px solid rgba(75,200,220,.18)!important;border-radius:30px!important;box-shadow:0 12px 35px rgba(0,0,0,.4)}
.mobile-bottom-nav .active,.bottom-nav .active{color:#38e8c2!important;background:rgba(56,232,194,.12);border-radius:18px}
@media(max-width:600px){.direct-message-page-5155{padding:12px}.direct-message-card-5155{border-radius:24px!important}.direct-message-card-5155 h1{font-size:40px}}


/* ---------- Source: upgrade-5175-auth.css ---------- */

/* 5.175 Authentication neon redesign */
.auth-body{
background:
radial-gradient(circle at top,#08365c 0,#03101d 45%,#020812 100%) !important;
min-height:100vh;
}
.auth-body .top{background:transparent!important;border:0}
.auth-body .auth-card,.auth-body .auth-panel,.auth-body .auth-shell,.auth-body section.auth-card{
background:rgba(8,28,50,.78)!important;
border:1px solid rgba(76,190,255,.28)!important;
box-shadow:0 25px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
backdrop-filter:blur(18px);
border-radius:32px!important;
}
.auth-body .field input,.auth-body .auth-input-wrap input{
background:rgba(16,45,74,.9)!important;
border:1px solid rgba(115,190,255,.45)!important;
color:#fff!important;
border-radius:18px!important;
height:56px;
}
.auth-body .auth-primary-action,.auth-body button[type=submit]{
background:linear-gradient(135deg,#38f1c5,#20cfee)!important;
color:#00131c!important;
border:0!important;
border-radius:18px!important;
font-weight:800;
height:58px;
box-shadow:0 10px 35px rgba(40,230,210,.35);
}
.auth-body .secondary,.auth-body .btn.secondary{
background:rgba(20,55,90,.75)!important;
border:1px solid rgba(80,180,255,.3)!important;
}
.auth-body .auth-trust-strip,.auth-body .consent-box{
background:rgba(10,30,52,.75)!important;
border-color:rgba(50,220,200,.25)!important;
border-radius:20px!important;
}
.auth-body h1,.auth-body h2{letter-spacing:-.03em}
.auth-body a{color:#38eac7}


/* ---------- Source: upgrade-5176-unified.css ---------- */

/* Znahodka 5.176 unified neon profile/auth/messages/payments */
body.site-theme-5176{background:#020d18;color:#eaf6ff}
.profile-page, .page-profile {--card:#071c2d}
.page-profile .panel, .page-profile .card, .page-profile section{
 background:linear-gradient(145deg,#062034,#041524)!important;
 border:1px solid rgba(42,210,255,.18)!important;
 border-radius:24px!important;
 box-shadow:0 12px 40px rgba(0,0,0,.28)!important;
}
.page-profile h1,.page-profile h2{font-weight:800;letter-spacing:-.02em}
.page-profile .profile-head,.page-profile .profile-card{
 background:linear-gradient(135deg,#08253c,#062031)!important;
 border-radius:24px!important;
}
.page-profile .btn,.page-profile button{
 border-radius:18px!important;
}
.profile-stat,.stats-card,.wallet-card,.promo-card,.listing-card{
 background:rgba(9,35,56,.8)!important;
 border:1px solid rgba(75,210,255,.18)!important;
 border-radius:20px!important;
}
.wallet-card{background:linear-gradient(120deg,#063c3c,#08263b)!important}
.promo-card{background:linear-gradient(120deg,#4011a8,#6925e8)!important;color:white!important}
.bottom-nav,.mobile-nav{
 background:rgba(3,16,30,.88)!important;
 backdrop-filter:blur(18px);
 border:1px solid rgba(80,210,255,.2)!important;
}
.nav-add,.bottom-nav .add{
 background:#37e6bd!important;
 color:#03202b!important;
 box-shadow:0 0 30px rgba(55,230,189,.45);
}
.auth-body{background:#020d18!important}
.auth-body .panel,.auth-body form{
 background:linear-gradient(145deg,#071d31,#031221)!important;
 border:1px solid rgba(80,210,255,.2)!important;
 border-radius:28px!important;
}
.auth-body input{
 background:#061a2c!important;color:white!important;
 border-color:#1d5474!important;border-radius:18px!important;
}
.auth-body .btn{background:#35e6be!important;color:#001b25!important;border-radius:18px}
.messages-page .panel,.message-card{
 background:#071d30!important;
 border-color:rgba(60,220,255,.18)!important;
 border-radius:22px!important;
}
.payment-card,.receipt-page .panel{
 background:#071d30!important;
 border-radius:22px!important;
}


/* ---------- Source: upgrade-5177-ui-rebuild.css ---------- */
/* Znahodka 5.177 real UI override */
:root{--zn-bg:#031321;--zn-card:#071d31;--zn-border:#123e5c;--zn-mint:#32e6bd;--zn-text:#f4f8ff;}
body{background:#020d18!important;color:var(--zn-text)}
.profile-card,.profile,.dashboard-card,.card,.panel,.box{background:linear-gradient(145deg,#082238,#061725)!important;border-color:#15486a!important;border-radius:24px!important;}
.btn,.button,.primary{background:linear-gradient(135deg,#32e6bd,#18bfa0)!important;color:#001b22!important;border-radius:18px!important;}
.mobile-nav{background:rgba(4,18,31,.92)!important;backdrop-filter:blur(18px);border:1px solid #164568!important;border-radius:28px!important;}
.mobile-create-command{background:#32e6bd!important;color:#002!important;border-radius:50%!important;}
.inbox-card,.message-card,.dialog-card{background:#071d31!important;border:1px solid #123e5c!important;border-radius:22px!important;}
input,textarea,select{background:#061827!important;color:white!important;border-color:#174665!important;}


/* ---------- Source: upgrade-5178-app-ui.css ---------- */
/* Znahodka 5.178 — template-level mobile app redesign */
:root{--zn-bg:#03101c;--zn-surface:#071d2f;--zn-surface2:#0b2740;--zn-line:#164a69;--zn-line-soft:rgba(78,169,218,.22);--zn-text:#f7fbff;--zn-muted:#8fa8bf;--zn-mint:#35f1c0;--zn-mint2:#18d6b4;--zn-blue:#3ba6ff;--zn-violet:#6d35ff;--zn-danger:#ff5d6c;--zn-warn:#ffbb45;--zn-shadow:0 22px 70px rgba(0,0,0,.35);--zn-radius:24px}
html,body{background:#03101c!important}.site-theme-5178{background:radial-gradient(circle at 50% -10%,rgba(15,113,166,.2),transparent 34%),#03101c!important;color:var(--zn-text)}
.site-theme-5178 .panel,.site-theme-5178 .card{background:linear-gradient(145deg,rgba(9,33,53,.97),rgba(5,24,39,.97));border:1px solid var(--zn-line-soft);box-shadow:none}
.site-theme-5178 input,.site-theme-5178 textarea,.site-theme-5178 select{background:#081c2e!important;color:#f7fbff!important;border-color:#28526e!important}.site-theme-5178 input::placeholder,.site-theme-5178 textarea::placeholder{color:#718da7}
.site-theme-5178 .btn{border-radius:16px}.site-theme-5178 .btn:not(.secondary):not(.danger){background:linear-gradient(135deg,#63ffd7,#27e0bb)!important;color:#001914!important;border:0!important;font-weight:900;box-shadow:0 12px 36px rgba(38,235,190,.16)}
.site-theme-5178 .btn.secondary{background:#0a2135!important;color:#eaf4ff!important;border:1px solid #24506e!important}

/* app pages hide generic desktop chrome; each page has its own compact header */
@media(max-width:900px){body.page-profile .top,body.page-inbox .top,body.page-wallet .top,body.page-receipt .top,body.page-notifications .top,body.page-account_restricted .top,body.auth-body .top{display:none!important}body.page-profile .footer,body.page-inbox .footer,body.page-wallet .footer,body.page-receipt .footer,body.page-notifications .footer,body.page-account_restricted .footer,body.auth-body .footer{display:none!important}}

/* shared compact app shell */
.zn-app-shell{width:min(100%,760px);margin:0 auto;padding:20px 18px 120px}.zn-app-topbar{display:flex;align-items:center;gap:14px;margin:0 0 18px}.zn-app-brand{font-size:32px;line-height:1;font-weight:950;letter-spacing:-.045em;color:#fff;text-decoration:none}.zn-app-brand em{font-style:normal;color:var(--zn-mint)}.zn-app-topbar .spacer{flex:1}.zn-icon-btn{width:46px;height:46px;border-radius:16px;border:1px solid #1d4c69;background:#071d2f;color:#eaf7ff;display:grid;place-items:center;text-decoration:none;font-size:22px}.zn-title{margin:0;font-size:clamp(34px,8vw,54px);line-height:1;letter-spacing:-.045em}.zn-subtitle{margin:8px 0 0;color:var(--zn-muted);font-size:16px}.zn-glass{background:linear-gradient(145deg,rgba(10,37,59,.96),rgba(5,25,41,.96));border:1px solid rgba(70,173,224,.3);border-radius:24px;box-shadow:0 20px 55px rgba(0,0,0,.18)}

/* profile */
.zn-profile-5178{width:min(100%,690px);margin:0 auto;padding:18px 16px 120px}.zn-profile-hero{padding:18px}.zn-profile-user{display:flex;align-items:center;gap:15px;padding:14px;border:1px solid rgba(59,166,255,.34);border-radius:22px;background:linear-gradient(135deg,rgba(20,78,112,.42),rgba(4,28,45,.7));text-decoration:none;color:#fff}.zn-profile-avatar{width:86px;height:86px;min-width:86px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#0c2133;border:4px solid #55f4cf;box-shadow:0 0 25px rgba(53,241,192,.24);font-size:26px;font-weight:900}.zn-profile-avatar img{width:100%;height:100%;object-fit:cover}.zn-profile-copy{min-width:0;flex:1}.zn-profile-copy strong{display:flex;align-items:center;gap:7px;font-size:23px;line-height:1.1}.zn-profile-copy small{display:block;color:#8fa8bf;margin-top:5px}.zn-profile-copy em{display:flex;gap:7px;margin-top:8px;font-style:normal}.zn-profile-copy em b{color:#ffc84a}.zn-profile-copy em span{color:#9db0c2}.zn-profile-arrow{font-size:38px;color:#a8cbe2}.zn-profile-kpis{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px;border:1px solid #1c4966;border-radius:18px;overflow:hidden}.zn-profile-kpis a{padding:12px 5px;text-align:center;text-decoration:none;color:#fff;border-right:1px solid #1c4966}.zn-profile-kpis a:last-child{border-right:0}.zn-profile-kpis strong{display:block;font-size:22px}.zn-profile-kpis span{display:block;color:#9ab0c3;font-size:12px;margin-top:3px}.zn-profile-balance{margin-top:14px;padding:16px;display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff;border-radius:22px;background:linear-gradient(135deg,rgba(4,100,91,.72),rgba(4,37,52,.9));border:1px solid rgba(35,226,184,.38)}.zn-profile-balance .ico{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#20d9ae,#07937c);font-size:25px}.zn-profile-balance small{display:block;color:#a5c9c2}.zn-profile-balance strong{font-size:25px}.zn-profile-balance b{margin-left:auto;background:linear-gradient(135deg,#63ffd7,#29e1bb);color:#002017;border-radius:999px;padding:13px 18px}.zn-profile-promo{margin-top:14px;min-height:118px;border-radius:23px;padding:20px;display:flex;align-items:center;gap:16px;text-decoration:none;color:#fff;background:radial-gradient(circle at 18% 50%,rgba(192,122,255,.55),transparent 28%),linear-gradient(135deg,#4620cc,#802eff 70%,#5d20d8);border:1px solid #8a5cff;box-shadow:0 18px 50px rgba(83,37,210,.25)}.zn-profile-promo .promo-ico{font-size:46px}.zn-profile-promo strong{font-size:24px;line-height:1.05;display:block}.zn-profile-promo small{display:block;color:#e3dbff;margin-top:7px}.zn-profile-promo .arrow{margin-left:auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);font-size:28px}.zn-section-head{display:flex;align-items:center;gap:12px;margin:18px 0 10px}.zn-section-head h2{font-size:22px;margin:0;letter-spacing:-.02em}.zn-section-head a{margin-left:auto;color:#a9bdd0;text-decoration:none}.zn-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.zn-stat{position:relative;overflow:hidden;min-height:122px;padding:14px 12px;border:1px solid #1f4f6c;border-radius:18px;background:#081f32;color:#fff;text-decoration:none}.zn-stat:after{content:"";position:absolute;left:15%;right:15%;bottom:-14px;height:25px;border-radius:50%;box-shadow:0 0 18px currentColor;border-top:3px solid currentColor;opacity:.65}.zn-stat:nth-child(1){color:#27eec2}.zn-stat:nth-child(2){color:#38a8ff}.zn-stat:nth-child(3){color:#ef48d7}.zn-stat:nth-child(4){color:#44e7c6}.zn-stat b{display:block;font-size:26px;color:#fff;margin:10px 0 2px}.zn-stat small{display:block;color:#9bb0c2}.zn-stat em{display:block;font-style:normal;font-size:11px;margin-top:6px}.zn-referral{margin-top:14px;min-height:82px;padding:14px 18px;border-radius:20px;display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff;background:linear-gradient(100deg,#d86731,#7035e8 62%,#4c24c7);border:1px solid rgba(255,125,88,.45)}.zn-referral span{font-size:38px}.zn-referral strong{font-size:18px}.zn-referral i{margin-left:auto;width:42px;height:42px;border-radius:16px;border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;font-style:normal;font-size:25px}.zn-listings-card{margin-top:14px;padding:14px;border-radius:22px;border:1px solid #1f506d;background:#071d2f}.zn-listing-row{display:grid;grid-template-columns:132px 1fr auto;gap:13px;align-items:center;padding:8px;border-radius:17px;text-decoration:none;color:#fff;border:1px solid transparent}.zn-listing-row+.zn-listing-row{margin-top:7px}.zn-listing-row:hover{border-color:#2e6a8f;background:#0b2941}.zn-listing-row img,.zn-listing-ph{width:132px;height:78px;border-radius:13px;object-fit:cover;background:#102a3e;display:grid;place-items:center}.zn-listing-row strong{display:block;font-size:17px}.zn-listing-row small{display:block;color:#97abc0;margin-top:3px}.zn-chip{display:inline-flex;padding:4px 8px;border-radius:999px;background:#12324a;color:#b7cee0;font-size:11px;margin-bottom:4px}.zn-chip.ok{background:rgba(31,222,175,.12);color:#48f3c6;border:1px solid rgba(31,222,175,.3)}.zn-profile-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.zn-profile-links a{display:flex;align-items:center;gap:11px;min-height:58px;padding:0 14px;border-radius:16px;text-decoration:none;color:#fff;background:#082238;border:1px solid #1f5575}.zn-profile-links a span{font-size:23px}.zn-profile-links a b{font-size:14px}.zn-profile-links a i{margin-left:auto;font-style:normal;color:#9bb5ca;font-size:22px}

/* messages */
.zn-messages-5178{width:min(100%,820px);margin:0 auto;padding:18px 16px 120px}.zn-message-hero{position:relative;padding:8px 2px 18px}.zn-message-hero h1{font-size:52px;margin:14px 0 5px;letter-spacing:-.05em}.zn-message-hero p{margin:0;color:#91a9bf;font-size:18px;max-width:600px}.zn-message-tools{display:flex;gap:10px;margin-top:20px}.zn-message-search{position:relative;flex:1}.zn-message-search input{width:100%;height:58px;border-radius:19px!important;padding:0 18px 0 48px!important}.zn-message-search span{position:absolute;left:17px;top:15px;font-size:25px;color:#7f9cb6}.zn-message-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.zn-message-tabs a{min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border-radius:18px;color:#a9bdd0;background:#071d30;border:1px solid #164865;font-weight:850}.zn-message-tabs a.active{color:#001c16;background:linear-gradient(135deg,#62ffd7,#27e0ba);border-color:transparent;box-shadow:0 12px 30px rgba(44,235,190,.16)}.zn-thread-list{display:grid;gap:10px}.zn-thread-card{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:13px;padding:14px;border-radius:20px;background:linear-gradient(145deg,#0a2840,#061c2e);border:1px solid #174a68;color:#fff;text-decoration:none;position:relative}.zn-thread-card.active,.zn-thread-card.unread{border-color:#25dcb5;box-shadow:0 0 0 1px rgba(53,241,192,.14) inset}.zn-thread-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#16384f,#091a2a);border:2px solid #315d78;font-weight:900;font-size:21px;position:relative}.zn-thread-avatar.online:after{content:"";position:absolute;right:1px;bottom:3px;width:13px;height:13px;border-radius:50%;background:#21e6ba;border:3px solid #071d30}.zn-thread-copy{min-width:0}.zn-thread-copy strong{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zn-thread-copy p{margin:4px 0;color:#e9f1f7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zn-thread-copy small{display:block;color:#7f99b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zn-thread-meta{text-align:right;color:#8ea6ba;font-size:12px}.zn-thread-meta em{display:grid;place-items:center;margin:7px 0 0 auto;width:29px;height:29px;border-radius:50%;font-style:normal;background:#35efc0;color:#002319;font-weight:950}.zn-thread-star{position:absolute;right:47px;bottom:12px;background:none;border:0;color:#68849b;font-size:18px;cursor:pointer}.zn-thread-star.is-starred{color:#ffc44f}.zn-chat-shell{margin-top:12px;padding:14px;border-radius:23px;background:#071d2f;border:1px solid #174a67}.zn-chat-head{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(75,146,187,.2)}.zn-chat-head h2{margin:0;font-size:20px}.zn-chat-head small{display:block;color:#8ea6ba}.zn-chat-head .spacer{flex:1}.zn-message-bubbles{padding:14px 0;display:grid;gap:9px;max-height:55vh;overflow:auto}.zn-bubble{max-width:82%;padding:11px 13px;border-radius:17px 17px 17px 6px;background:#0b2a42;border:1px solid #1d4e6b}.zn-bubble.mine{margin-left:auto;border-radius:17px 17px 6px 17px;background:linear-gradient(135deg,#114e57,#0d3b4d);border-color:#1ca88c}.zn-bubble strong,.zn-bubble small{display:block}.zn-bubble p{margin:5px 0}.zn-bubble small{color:#7f9ab1;font-size:11px}.zn-composer{display:grid;grid-template-columns:1fr auto;gap:10px}.zn-composer textarea{min-height:54px!important;max-height:130px;border-radius:17px!important;resize:vertical}.zn-composer button{min-width:54px;border-radius:17px!important}.zn-empty-chat{text-align:center;padding:42px 20px;color:#8da6bd}.zn-empty-chat b{display:block;color:#fff;font-size:22px;margin-bottom:8px}

/* auth */
.auth-body{background:radial-gradient(circle at 50% -8%,rgba(22,106,178,.35),transparent 35%),linear-gradient(180deg,#041728,#020b14)!important}.auth-body #main-content{min-height:100vh!important}.zn-auth-5178{min-height:100vh;display:grid;place-items:center;padding:24px 16px 42px}.zn-auth-card{width:min(100%,520px);border-radius:30px;padding:24px;background:linear-gradient(160deg,rgba(9,32,54,.97),rgba(4,18,31,.98));border:1px solid rgba(70,166,218,.34);box-shadow:0 28px 90px rgba(0,0,0,.4);overflow:hidden;position:relative}.zn-auth-art{height:150px;margin:-24px -24px 20px;position:relative;overflow:hidden;background:radial-gradient(circle at 72% 35%,rgba(55,242,192,.6),transparent 12%),radial-gradient(circle at 22% 65%,rgba(82,98,255,.75),transparent 24%),linear-gradient(145deg,#0c4781,#091b3d 45%,#082137)}.zn-auth-art:before,.zn-auth-art:after{content:"";position:absolute;border:2px solid rgba(76,245,208,.35);border-radius:50%;width:260px;height:100px;transform:rotate(-12deg);left:-40px;top:40px}.zn-auth-art:after{left:230px;top:-10px;transform:rotate(19deg)}.zn-auth-brand{position:absolute;left:24px;top:22px;font-size:27px;font-weight:950}.zn-auth-brand em{font-style:normal;color:#42f2c4}.zn-auth-art .bag{position:absolute;right:43px;bottom:18px;font-size:66px;filter:drop-shadow(0 10px 22px rgba(33,229,190,.3))}.zn-auth-card h1{font-size:37px;line-height:1;margin:0;letter-spacing:-.04em}.zn-auth-card>p{color:#94abc1;margin:10px 0 20px}.zn-auth-field{position:relative;margin-top:12px}.zn-auth-field label{display:block;font-size:12px;color:#9fb1c2;margin:0 0 6px}.zn-auth-field .ico{position:absolute;left:15px;bottom:15px;color:#8bb0ca;font-size:18px}.zn-auth-field input{width:100%;height:56px;border-radius:16px!important;padding-left:46px!important;background:#0b2440!important}.zn-auth-field .password-toggle{position:absolute;right:10px;bottom:10px;height:36px;padding:0 10px;border-radius:10px;background:#102e49;border:0;color:#b9ccdc}.zn-auth-row{display:flex;align-items:center;gap:10px;margin:13px 0}.zn-auth-row a{margin-left:auto;color:#45e9c0}.zn-auth-submit{width:100%;height:58px;font-size:17px;margin-top:7px}.zn-auth-separator{display:flex;align-items:center;gap:10px;color:#718ca4;margin:18px 0}.zn-auth-separator:before,.zn-auth-separator:after{content:"";height:1px;flex:1;background:#1e4863}.zn-socials{display:grid;gap:9px}.zn-socials a{min-height:51px;border-radius:15px;border:1px solid #285875;background:#0a2237;color:#fff;text-decoration:none;display:flex;align-items:center;gap:12px;padding:0 15px;font-weight:850}.zn-socials a span{width:30px;text-align:center;font-size:20px}.zn-auth-switch{text-align:center;margin-top:18px;color:#93a9bd}.zn-auth-switch a{color:#42ecc1;font-weight:850}.zn-auth-note{display:flex;gap:10px;margin-top:16px;padding:12px;border-radius:14px;background:rgba(29,91,118,.16);border:1px solid rgba(56,141,178,.22);color:#9bb0c3;font-size:12px}.zn-auth-error{margin:12px 0;border-radius:15px;padding:12px 14px;background:rgba(255,76,92,.1);border:1px solid rgba(255,76,92,.35);color:#ffb7bd}.zn-auth-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.zn-consent{display:flex;align-items:flex-start;gap:10px;margin-top:14px;color:#a9b9c7;font-size:12px}.zn-consent input{margin-top:2px}.zn-consent a{color:#43e8c0}

/* restriction / appeal */
.zn-restrict-5178{width:min(100%,650px);margin:0 auto;padding:24px 18px 80px;text-align:center}.zn-restrict-art{width:190px;height:190px;margin:20px auto 12px;border-radius:50%;display:grid;place-items:center;position:relative;font-size:84px}.zn-restrict-art.blocked{background:radial-gradient(circle,#54203e,#111a39 70%);box-shadow:0 0 55px rgba(255,68,95,.25)}.zn-restrict-art.frozen{background:radial-gradient(circle,#174d88,#071b34 70%);box-shadow:0 0 55px rgba(54,169,255,.3)}.zn-restrict-art:after{content:"";position:absolute;inset:-14px;border:1px solid currentColor;border-radius:50%;opacity:.28}.zn-restrict-5178 h1{font-size:42px;letter-spacing:-.04em;margin:12px 0}.zn-restrict-5178 h1 span{color:var(--zn-danger)}.zn-restrict-5178.is-frozen h1 span{color:#4bb6ff}.zn-restrict-5178>p{color:#a6b8c8;font-size:17px}.zn-reason-card{margin:18px 0;padding:16px;text-align:left;border-radius:20px;background:linear-gradient(145deg,#0b2439,#071a2a);border:1px solid #28516e}.zn-restrict-5178.is-blocked .zn-reason-card{border-color:rgba(255,84,105,.55);background:linear-gradient(145deg,rgba(86,28,45,.62),#151a2a)}.zn-reason-card small{display:block;color:#8fa6b9}.zn-reason-card strong{display:block;font-size:20px;margin-top:3px}.zn-restrictions-list{text-align:left;margin:12px 0 18px;border-radius:20px;background:#071d2e;border:1px solid #174764;padding:8px 16px}.zn-restrictions-list h2{font-size:20px}.zn-restrictions-list div{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid rgba(63,131,171,.18)}.zn-restrictions-list div:first-of-type{border-top:0}.zn-restrictions-list span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#102b40;color:#9ab2c7}.zn-restrictions-list b{display:block}.zn-restrictions-list small{display:block;color:#8fa4b6;margin-top:2px}.zn-restrict-actions{display:grid;gap:10px}.zn-restrict-actions .btn{min-height:56px;display:flex;align-items:center;justify-content:center}.zn-appeal-card{margin-top:16px;padding:18px;text-align:left}.zn-appeal-card textarea{min-height:150px}.zn-appeal-status{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(64,224,184,.12);color:#4df2c8;border:1px solid rgba(64,224,184,.28);font-size:12px;font-weight:850}

/* wallet/payment */
.zn-wallet-5178{width:min(100%,760px);margin:0 auto;padding:20px 16px 120px}.zn-wallet-balance{padding:20px;margin-bottom:14px}.zn-wallet-balance small{color:#8fa9bf}.zn-wallet-balance h1{font-size:42px;margin:6px 0}.zn-pay-card{padding:18px}.zn-pay-card h2{margin:0 0 4px;font-size:27px}.zn-pay-card>p{margin:0 0 15px;color:#91a9bf}.zn-amount-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.zn-amount-presets button{height:45px;border-radius:14px;border:1px solid #26516d;background:#0a2439;color:#fff;font-weight:850}.zn-provider-list{display:grid;gap:10px;margin-top:14px}.zn-provider{display:block;cursor:pointer}.zn-provider input{position:absolute;opacity:0;pointer-events:none}.zn-provider span{min-height:70px;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:18px;background:#082238;border:1px solid #234f6d}.zn-provider input:checked+span{border-color:#35edc0;box-shadow:0 0 0 1px rgba(53,237,192,.18),0 0 30px rgba(53,237,192,.09)}.zn-provider b{font-size:17px}.zn-provider small{display:block;color:#8ea6ba;margin-top:3px}.zn-provider em{margin-left:auto;font-style:normal;color:#4cefc6;font-size:12px}.zn-payment-summary{margin-top:14px;padding:14px;border-radius:17px;background:#061a2a;border:1px solid #1d4661;display:flex;justify-content:space-between;align-items:center}.zn-payment-summary small{color:#89a0b5}.zn-payment-summary strong{font-size:23px}.zn-wallet-history{margin-top:15px;padding:15px}.zn-wallet-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 0;border-top:1px solid rgba(61,132,171,.18)}.zn-wallet-row:first-child{border-top:0}.zn-wallet-row small{display:block;color:#8199ae}.zn-wallet-row strong{display:block}.zn-wallet-row .amount{font-weight:900;color:#5bf1ca}

/* receipt */
.zn-receipt-5178{width:min(100%,690px);margin:0 auto;padding:20px 16px 80px}.zn-receipt-title{display:flex;align-items:flex-start;gap:10px}.zn-receipt-title h1{margin:0;font-size:40px;letter-spacing:-.04em}.zn-success-orb{margin-left:auto;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#31efbf;color:#002017;font-size:29px;font-weight:950}.zn-success-card{margin-top:16px;padding:18px;border-radius:20px;background:linear-gradient(145deg,rgba(13,79,77,.7),rgba(6,27,43,.95));border:1px solid #2be4ba;display:flex;align-items:center;gap:14px}.zn-success-card .check{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;border:4px solid #36efc4;color:#36efc4;font-size:28px}.zn-receipt-info{margin-top:10px;padding:14px}.zn-receipt-info div{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:12px 0;border-top:1px solid rgba(70,138,178,.18)}.zn-receipt-info div:first-child{border-top:0}.zn-receipt-info dt{color:#8fa7ba}.zn-receipt-info dd{margin:0;font-weight:800}.zn-receipt-body{margin-top:10px;padding:16px}.zn-receipt-body h2{margin:0 0 12px}.zn-receipt-total{display:flex;align-items:center;justify-content:space-between;padding-top:14px;margin-top:14px;border-top:1px solid #31546d;font-size:22px}.zn-receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.zn-receipt-token{margin-top:14px;padding:13px;border-radius:16px;background:#071c2c;border:1px solid #1d4a66;color:#91a9bf;font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}

/* notification refresh */
.zn-notify-5178{width:min(100%,760px);margin:0 auto;padding:20px 16px 120px}.zn-notify-tabs{display:flex;gap:8px;overflow:auto;margin:15px 0;padding-bottom:2px}.zn-notify-tabs a{white-space:nowrap;padding:11px 14px;border-radius:14px;text-decoration:none;color:#a8bac9;background:#082137;border:1px solid #1b4965;font-weight:800}.zn-notify-tabs a.active{background:#42efc1;color:#002018;border-color:#42efc1}.zn-notify-list{display:grid;gap:10px}.zn-notify-item{display:grid;grid-template-columns:52px 1fr auto;gap:12px;padding:14px;border-radius:19px;background:#082137;border:1px solid #1a4966}.zn-notify-item.unread{border-color:#27dcb6}.zn-notify-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:#0b2d48;font-size:23px}.zn-notify-item strong{display:block}.zn-notify-item p{margin:4px 0;color:#9bb0c2}.zn-notify-item small{color:#778fa5}.zn-notify-item .new{display:inline-flex;padding:4px 8px;border-radius:999px;background:#43efc1;color:#002118;font-size:11px;font-weight:900}

/* nav */
@media(max-width:900px){.mobile-nav.zn-mobile-nav-5178{position:fixed!important;left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;height:78px!important;padding:6px 8px!important;border-radius:26px!important;background:rgba(5,23,38,.94)!important;border:1px solid rgba(65,145,190,.38)!important;backdrop-filter:blur(20px);box-shadow:0 18px 45px rgba(0,0,0,.42)!important;z-index:9999!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;overflow:visible!important}.mobile-nav.zn-mobile-nav-5178>a,.mobile-nav.zn-mobile-nav-5178>button{position:relative!important;min-width:0!important;height:64px!important;border:0!important;background:transparent!important;color:#9bb2c7!important;border-radius:18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:5px 2px!important}.mobile-nav.zn-mobile-nav-5178 .nav-icon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important}.mobile-nav.zn-mobile-nav-5178 svg{width:25px!important;height:25px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}.mobile-nav.zn-mobile-nav-5178 small{font-size:10px!important;line-height:1!important;color:inherit!important}.mobile-nav.zn-mobile-nav-5178 .is-active{color:#3df0c0!important;background:linear-gradient(180deg,rgba(48,236,193,.13),rgba(48,236,193,.05))!important;box-shadow:inset 0 0 0 1px rgba(48,236,193,.25)!important}.mobile-nav.zn-mobile-nav-5178 .mobile-create-command{overflow:visible!important}.mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon{position:absolute!important;top:-23px!important;width:60px!important;height:60px!important;border-radius:20px!important;background:linear-gradient(145deg,#5dffd6,#1fd5af)!important;color:#00211a!important;box-shadow:0 13px 30px rgba(32,223,179,.25),0 0 0 7px rgba(5,23,38,.92)!important}.mobile-nav.zn-mobile-nav-5178 .mobile-create-command small{margin-top:31px!important}.support-fab{display:none!important}.zn-profile-kpis{grid-template-columns:repeat(4,1fr)}.zn-stat-grid{grid-template-columns:repeat(4,1fr)}.zn-profile-links{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.zn-app-shell,.zn-profile-5178,.zn-messages-5178,.zn-wallet-5178,.zn-receipt-5178,.zn-notify-5178{padding-left:12px;padding-right:12px}.zn-profile-hero{padding:12px}.zn-profile-avatar{width:68px;height:68px;min-width:68px}.zn-profile-copy strong{font-size:19px}.zn-profile-kpis strong{font-size:19px}.zn-profile-kpis span{font-size:10px}.zn-profile-balance strong{font-size:21px}.zn-profile-promo{min-height:100px;padding:15px}.zn-profile-promo strong{font-size:20px}.zn-stat-grid{gap:6px}.zn-stat{min-height:112px;padding:11px 8px}.zn-stat b{font-size:22px}.zn-stat small{font-size:10px}.zn-listing-row{grid-template-columns:100px 1fr auto}.zn-listing-row img,.zn-listing-ph{width:100px;height:68px}.zn-profile-links{grid-template-columns:1fr 1fr}.zn-message-hero h1{font-size:40px}.zn-message-hero p{font-size:15px}.zn-message-tabs a{font-size:12px}.zn-thread-card{grid-template-columns:52px 1fr auto;padding:12px}.zn-thread-avatar{width:50px;height:50px}.zn-auth-card{padding:18px}.zn-auth-art{margin:-18px -18px 18px;height:130px}.zn-auth-card h1{font-size:31px}.zn-auth-two{grid-template-columns:1fr}.zn-restrict-5178 h1{font-size:34px}.zn-receipt-info div{grid-template-columns:1fr;gap:4px}.zn-receipt-actions{grid-template-columns:1fr}.zn-amount-presets{grid-template-columns:repeat(3,1fr)}}
@media print{.top,.footer,.mobile-nav,.support-fab,.zn-receipt-actions{display:none!important}.zn-receipt-5178{width:100%;padding:0;color:#000}.zn-receipt-5178 *{color:#000!important;background:#fff!important;box-shadow:none!important}.zn-receipt-5178 .zn-glass,.zn-success-card{border:1px solid #bbb!important}}

/* 5.178 private full-screen pages */
@media(max-width:900px){body.page-account_restricted .mobile-nav,body.page-account_appeal .mobile-nav,body.page-receipt .mobile-nav,body.auth-body .mobile-nav{display:none!important}}

/* 5.179 mobile edge-to-edge adaptation and border clipping fix */
*,*::before,*::after{box-sizing:border-box}
@media(max-width:900px){
  body.page-profile .shell.main,
  body.page-inbox .shell.main,
  body.page-wallet .shell.main,
  body.page-receipt .shell.main,
  body.page-notifications .shell.main,
  body.page-account_restricted .shell.main,
  body.page-account_appeal .shell.main,
  body.auth-body .shell.main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.page-profile .zn-profile-5178,
  body.page-inbox .zn-messages-5178,
  body.page-wallet .zn-wallet-5178,
  body.page-receipt .zn-receipt-5178,
  body.page-notifications .zn-notify-5178,
  body.page-account_restricted .zn-restrict-5178,
  body.page-account_appeal .zn-restrict-5178,
  body.auth-body .zn-auth-shell{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  body.page-profile .zn-profile-5178,
  body.page-inbox .zn-messages-5178,
  body.page-wallet .zn-wallet-5178,
  body.page-notifications .zn-notify-5178,
  body.page-account_restricted .zn-restrict-5178,
  body.page-account_appeal .zn-restrict-5178,
  body.auth-body .zn-auth-shell{
    padding-bottom:calc(108px + env(safe-area-inset-bottom))!important;
  }

  body.page-receipt .zn-receipt-5178{
    padding-bottom:calc(24px + env(safe-area-inset-bottom))!important;
  }

  .mobile-nav.zn-mobile-nav-5178{
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    height:82px!important;
    padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
    border-radius:24px 24px 0 0!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
  }

  .mobile-nav.zn-mobile-nav-5178>a,
  .mobile-nav.zn-mobile-nav-5178>button{
    min-width:0!important;
    overflow:hidden!important;
  }

  .mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon{
    box-shadow:0 12px 28px rgba(32,223,179,.25),0 0 0 6px rgba(5,23,38,.94)!important;
  }

  .zn-profile-hero,
  .zn-listings-card,
  .zn-profile-balance,
  .zn-profile-promo,
  .zn-referral,
  .zn-stat,
  .zn-profile-links a,
  .zn-thread-card,
  .zn-notify-item,
  .zn-pay-card,
  .zn-wallet-balance,
  .zn-success-card,
  .zn-receipt-info,
  .zn-receipt-body,
  .zn-restrictions-list,
  .zn-reason-card,
  .zn-auth-card{
    width:100%!important;
    max-width:100%!important;
  }

  .zn-profile-user,
  .zn-profile-copy,
  .zn-listing-row>span,
  .zn-thread-copy,
  .zn-notify-item>div,
  .zn-provider span,
  .zn-auth-card form,
  .zn-auth-note{
    min-width:0!important;
  }
}

@media(max-width:520px){
  .zn-profile-5178{padding-left:10px!important;padding-right:10px!important}
  .zn-profile-hero,.zn-listings-card{padding:12px!important}
  .zn-profile-user{gap:12px!important;padding:12px!important}
  .zn-profile-kpis{margin-top:10px!important}
  .zn-profile-kpis a{padding:11px 4px!important}
  .zn-profile-balance{padding:14px!important;gap:10px!important;align-items:center!important}
  .zn-profile-balance .ico{width:48px!important;height:48px!important;min-width:48px!important}
  .zn-profile-balance strong{font-size:19px!important;line-height:1.15!important;word-break:break-word}
  .zn-profile-balance b{padding:12px 14px!important;font-size:15px!important;white-space:nowrap!important}
  .zn-profile-promo{padding:14px!important;gap:12px!important;align-items:flex-start!important}
  .zn-profile-promo .promo-ico{font-size:38px!important}
  .zn-profile-promo strong{font-size:18px!important;line-height:1.15!important}
  .zn-profile-promo .arrow{width:40px!important;height:40px!important;min-width:40px!important;font-size:24px!important}
  .zn-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .zn-stat{min-height:106px!important;padding:10px 9px!important}
  .zn-stat b{font-size:21px!important}
  .zn-listing-row{grid-template-columns:92px minmax(0,1fr) auto!important;gap:10px!important;padding:6px!important}
  .zn-listing-row img,.zn-listing-ph{width:92px!important;height:64px!important}
  .zn-listing-row strong{font-size:15px!important;line-height:1.2!important}
  .zn-listing-row small{font-size:12px!important;line-height:1.3!important}
  .zn-profile-links{grid-template-columns:1fr!important;gap:8px!important}
  .zn-profile-links a{min-height:54px!important;padding:0 12px!important}
  .mobile-nav.zn-mobile-nav-5178 small{font-size:9px!important}
}


/* ---------- Source: upgrade-5180-responsive.css ---------- */
/* Znahodka 5.180 — mobile responsive hardening
   Loaded last on purpose: fixes legacy width/min-width rules from older releases. */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,canvas{max-width:100%;height:auto}

@media (max-width:900px){
  body.page-profile,
  body.page-inbox,
  body.page-wallet,
  body.page-receipt,
  body.page-notifications,
  body.page-account_restricted,
  body.page-account_appeal,
  body.auth-body{min-width:0!important;width:100%!important;overflow-x:hidden!important}

  body.page-profile .shell.main,
  body.page-inbox .shell.main,
  body.page-wallet .shell.main,
  body.page-receipt .shell.main,
  body.page-notifications .shell.main,
  body.page-account_restricted .shell.main,
  body.page-account_appeal .shell.main,
  body.auth-body .shell.main{
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:0!important;overflow:visible!important;
  }

  .zn-profile-5178,.zn-messages-5178,.zn-wallet-5178,.zn-receipt-5178,.zn-notify-5178,
  .zn-restrict-5178,.zn-auth-shell{
    width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
    padding-left:clamp(10px,3vw,16px)!important;padding-right:clamp(10px,3vw,16px)!important;
  }

  .zn-profile-5178,.zn-messages-5178,.zn-wallet-5178,.zn-notify-5178,.zn-restrict-5178,.zn-auth-shell{
    padding-top:12px!important;padding-bottom:calc(106px + env(safe-area-inset-bottom))!important;
  }
  .zn-receipt-5178{padding-top:12px!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}

  .zn-app-topbar{margin:0 0 12px!important;gap:9px!important;min-width:0!important}
  .zn-app-brand{font-size:clamp(27px,8vw,34px)!important;white-space:nowrap!important}
  .zn-icon-btn{width:44px!important;height:44px!important;min-width:44px!important;border-radius:14px!important}

  /* Profile: compact, edge-safe and close to the reference layout. */
  .zn-profile-hero{width:100%!important;padding:10px!important;border-radius:22px!important;overflow:hidden!important}
  .zn-profile-user{width:100%!important;display:grid!important;grid-template-columns:72px minmax(0,1fr) 20px!important;gap:11px!important;align-items:center!important;padding:11px!important;border-radius:19px!important;overflow:hidden!important}
  .zn-profile-avatar{width:72px!important;height:72px!important;min-width:72px!important;border-width:3px!important}
  .zn-profile-copy{min-width:0!important;overflow:hidden!important}
  .zn-profile-copy strong{font-size:clamp(18px,5.4vw,22px)!important;line-height:1.1!important;display:flex!important;flex-wrap:wrap!important;gap:4px 6px!important;overflow-wrap:anywhere!important}
  .zn-profile-copy small{font-size:13px!important;margin-top:4px!important}
  .zn-profile-copy em{gap:6px!important;margin-top:5px!important;align-items:center!important;flex-wrap:wrap!important;font-size:13px!important}
  .zn-profile-arrow{font-size:30px!important;line-height:1!important;justify-self:end!important}

  .zn-profile-kpis{width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:9px!important;border-radius:16px!important;overflow:hidden!important}
  .zn-profile-kpis a{min-width:0!important;padding:9px 3px!important;overflow:hidden!important}
  .zn-profile-kpis strong{font-size:clamp(17px,5vw,21px)!important;line-height:1!important}
  .zn-profile-kpis span{font-size:clamp(8px,2.7vw,11px)!important;line-height:1.15!important;margin-top:5px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}

  .zn-profile-balance{width:100%!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;margin-top:11px!important;padding:13px!important;border-radius:20px!important;overflow:hidden!important}
  .zn-profile-balance .ico{width:48px!important;height:48px!important;min-width:48px!important;border-radius:15px!important}
  .zn-profile-balance>span:nth-child(2){min-width:0!important}
  .zn-profile-balance small{font-size:12px!important}
  .zn-profile-balance strong{display:block!important;font-size:clamp(19px,5.5vw,24px)!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .zn-profile-balance b{margin:0!important;padding:11px 14px!important;max-width:42vw!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(13px,3.8vw,16px)!important}

  .zn-profile-promo{width:100%!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 40px!important;gap:11px!important;align-items:center!important;min-height:0!important;margin-top:11px!important;padding:14px!important;border-radius:20px!important;overflow:hidden!important}
  .zn-profile-promo .promo-ico{font-size:38px!important}
  .zn-profile-promo>span:nth-child(2){min-width:0!important}
  .zn-profile-promo strong{font-size:clamp(18px,5vw,22px)!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  .zn-profile-promo small{font-size:12px!important;line-height:1.35!important;margin-top:5px!important}
  .zn-profile-promo .arrow{width:40px!important;height:40px!important;min-width:40px!important;font-size:23px!important}

  .zn-section-head{margin:15px 0 8px!important;min-width:0!important}
  .zn-section-head h2{font-size:clamp(19px,5.5vw,23px)!important;line-height:1.1!important;min-width:0!important}
  .zn-section-head a{font-size:13px!important;white-space:nowrap!important}

  .zn-stat-grid{width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  .zn-stat{min-width:0!important;min-height:104px!important;padding:9px 6px!important;border-radius:16px!important;overflow:hidden!important}
  .zn-stat>span{font-size:15px!important}
  .zn-stat b{font-size:clamp(19px,5.4vw,23px)!important;line-height:1!important;margin:8px 0 3px!important}
  .zn-stat small{font-size:clamp(8px,2.55vw,10.5px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
  .zn-stat em{font-size:9px!important;line-height:1.15!important;margin-top:4px!important;white-space:normal!important}

  .zn-referral{width:100%!important;min-height:70px!important;margin-top:11px!important;padding:11px 14px!important;border-radius:18px!important;overflow:hidden!important}
  .zn-referral span{font-size:32px!important}
  .zn-referral strong{font-size:clamp(15px,4.3vw,18px)!important;line-height:1.14!important}
  .zn-referral i{width:38px!important;height:38px!important;min-width:38px!important}

  .zn-listings-card{width:100%!important;margin-top:11px!important;padding:10px!important;border-radius:20px!important;overflow:hidden!important}
  .zn-listing-row{width:100%!important;grid-template-columns:82px minmax(0,1fr) 14px!important;gap:9px!important;padding:6px!important;border-radius:15px!important;overflow:hidden!important}
  .zn-listing-row img,.zn-listing-ph{width:82px!important;height:62px!important;min-width:82px!important;border-radius:11px!important}
  .zn-listing-row>span:nth-child(2){min-width:0!important;overflow:hidden!important}
  .zn-listing-row strong{font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .zn-listing-row small{font-size:11px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .zn-chip{font-size:9px!important;padding:3px 6px!important;margin-bottom:3px!important}
  .zn-listing-row .zn-profile-arrow{font-size:25px!important}

  .zn-profile-links{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:11px!important}
  .zn-profile-links a{min-width:0!important;min-height:52px!important;padding:0 10px!important;border-radius:15px!important;overflow:hidden!important}
  .zn-profile-links a span{font-size:20px!important;min-width:23px!important}
  .zn-profile-links a b{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .zn-profile-links a i{font-size:19px!important}

  /* Messages and other app pages: never exceed viewport. */
  .zn-message-tools,.zn-message-tabs,.zn-thread-list,.zn-thread-card,.zn-wallet-5178>*,.zn-notify-5178>*,.zn-receipt-5178>*,.zn-restrict-5178>*{max-width:100%!important;min-width:0!important}
  .zn-message-hero h1{font-size:clamp(34px,10vw,48px)!important}
  .zn-message-hero p{font-size:14px!important;line-height:1.45!important}
  .zn-message-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .zn-message-tabs a{min-width:0!important;padding:0 7px!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .zn-thread-card{grid-template-columns:50px minmax(0,1fr) auto!important;padding:11px!important;gap:10px!important}
  .zn-thread-avatar{width:50px!important;height:50px!important}

  /* Bottom navigation: full viewport width, no clipped rounded border. */
  .mobile-nav.zn-mobile-nav-5178{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;max-width:none!important;margin:0!important;
    height:calc(76px + env(safe-area-inset-bottom))!important;
    padding:5px max(7px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))!important;
    border-radius:22px 22px 0 0!important;border-left:0!important;border-right:0!important;border-bottom:0!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;
  }
  .mobile-nav.zn-mobile-nav-5178>a,.mobile-nav.zn-mobile-nav-5178>button{min-width:0!important;height:60px!important;padding:4px 1px!important;border-radius:15px!important;overflow:visible!important}
  .mobile-nav.zn-mobile-nav-5178 small{font-size:9px!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon{top:-20px!important;width:56px!important;height:56px!important;border-radius:18px!important;box-shadow:0 11px 25px rgba(32,223,179,.24),0 0 0 5px rgba(5,23,38,.96)!important}
  .mobile-nav.zn-mobile-nav-5178 .mobile-create-command small{margin-top:29px!important}
}

@media (max-width:370px){
  .zn-profile-user{grid-template-columns:62px minmax(0,1fr) 16px!important;gap:8px!important;padding:9px!important}
  .zn-profile-avatar{width:62px!important;height:62px!important;min-width:62px!important}
  .zn-profile-kpis span{font-size:8px!important}
  .zn-profile-balance{grid-template-columns:44px minmax(0,1fr) auto!important;padding:11px!important}
  .zn-profile-balance .ico{width:44px!important;height:44px!important;min-width:44px!important}
  .zn-profile-balance b{padding:10px 11px!important;font-size:12px!important}
  .zn-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .zn-profile-links{grid-template-columns:1fr!important}
}


/* ---------- Source: upgrade-5181-referrals.css ---------- */
/* Znahodka 5.181 — referral center redesign */
body.page-referrals{background:radial-gradient(circle at 72% 0,rgba(29,118,255,.19),transparent 28%),radial-gradient(circle at 12% 18%,rgba(29,237,196,.08),transparent 25%),#03101c!important;color:#f7fbff}
.zn-referrals-5181{width:min(100%,820px);margin:0 auto;padding:18px 16px 126px;color:#f7fbff}
.zn-referral-topbar{display:flex;align-items:center;gap:11px;margin-bottom:18px}.zn-referral-topbar .spacer{flex:1}.zn-ref-icon-btn{width:46px;height:46px;border-radius:16px;border:1px solid #1b4e6c;background:rgba(6,28,46,.82);display:grid;place-items:center;color:#eef9ff;text-decoration:none;font-size:22px;position:relative;backdrop-filter:blur(14px)}.zn-ref-icon-btn i{position:absolute;width:8px;height:8px;border-radius:50%;background:#35f1c0;right:8px;top:8px;box-shadow:0 0 12px #35f1c0}
.zn-referral-hero-5181{position:relative;min-height:190px;display:flex;align-items:center;overflow:hidden;padding:28px;border:1px solid rgba(46,132,185,.35);border-radius:28px;background:radial-gradient(circle at 90% 30%,rgba(32,239,199,.2),transparent 25%),radial-gradient(circle at 70% 100%,rgba(32,100,255,.25),transparent 38%),linear-gradient(145deg,#092943,#061b2e 70%);box-shadow:0 24px 65px rgba(0,0,0,.24)}.zn-referral-hero-5181:before{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(68,238,208,.2);border-radius:50%;right:-70px;top:-70px;box-shadow:0 0 80px rgba(44,213,255,.12) inset}.zn-referral-hero-copy{position:relative;z-index:2;max-width:560px}.zn-ref-kicker{display:inline-flex;color:#40f0c4;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:900}.zn-referral-hero-copy h1{font-size:clamp(34px,7vw,56px);line-height:.96;letter-spacing:-.045em;margin:9px 0 10px}.zn-referral-hero-copy p{max-width:570px;color:#9bb2c8;font-size:17px;line-height:1.5;margin:0}.zn-referral-gift{position:absolute;right:26px;bottom:17px;width:142px;height:110px;border-radius:30px;background:linear-gradient(145deg,rgba(41,243,199,.18),rgba(35,92,198,.18));border:1px solid rgba(57,222,199,.25);transform:rotate(-4deg);display:grid;place-items:center;box-shadow:0 22px 55px rgba(24,224,186,.12)}.zn-referral-gift span{font-size:70px;filter:drop-shadow(0 8px 20px rgba(0,0,0,.3))}.zn-referral-gift i{position:absolute;left:-12px;top:10px;color:#38f0c1;font-style:normal;font-size:30px;font-weight:950}.zn-referral-gift b{position:absolute;right:-11px;bottom:8px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#35f1c0;background:#082941;border:1px solid #36d8bd;box-shadow:0 0 24px rgba(53,241,192,.25)}
.zn-referral-invite-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:16px;margin-top:14px;padding:18px;border:1px solid #1d5575;border-radius:24px;background:linear-gradient(145deg,rgba(9,37,59,.96),rgba(5,25,42,.97));box-shadow:0 18px 50px rgba(0,0,0,.16)}.zn-ref-label{display:block;color:#9bb2c7;font-size:13px;margin-bottom:8px}.zn-ref-code-box{height:64px;display:flex;align-items:center;gap:10px;padding:0 10px 0 17px;border-radius:17px;background:#0b2942;border:1px solid #3472a0}.zn-ref-code-box strong{font-size:26px;letter-spacing:.055em}.zn-ref-code-box button{margin-left:auto;width:44px;height:44px;border:0;border-radius:13px;background:#123a58;color:#b9dbf2;font-size:20px}.zn-referral-code-side>small{display:block;margin-top:9px;color:#8ea7ba;line-height:1.4}.zn-referral-actions-5181{display:grid;gap:10px;align-content:center}.zn-ref-primary,.zn-ref-secondary{min-height:58px;border-radius:17px;font:inherit;font-weight:900;cursor:pointer}.zn-ref-primary{display:flex;align-items:center;justify-content:center;gap:15px;border:0;color:#002018;background:linear-gradient(135deg,#64ffd8,#28e1bb);box-shadow:0 15px 36px rgba(40,226,187,.16);font-size:16px}.zn-ref-primary span{font-size:24px}.zn-ref-secondary{border:1px solid #2e6c94;color:#eaf7ff;background:#08243a;font-size:15px}.zn-ref-secondary span{margin-right:6px}
.zn-referral-kpis-5181{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.zn-referral-kpis-5181 article{min-height:132px;padding:16px;border-radius:20px;background:linear-gradient(150deg,#0a2a44,#061c2f);border:1px solid #1e5879;display:flex;flex-direction:column}.zn-referral-kpis-5181 .ico{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(26,241,198,.18),rgba(31,104,175,.2));border:1px solid rgba(53,241,192,.34);color:#39efc4;font-size:20px}.zn-referral-kpis-5181 strong{font-size:25px;margin-top:11px;line-height:1.1}.zn-referral-kpis-5181 small{color:#9bb0c3;font-size:12px;line-height:1.3;margin-top:5px}
.zn-referral-tier-5181{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,.9fr) auto;gap:15px;align-items:center;margin-top:14px;padding:17px;border-radius:23px;background:linear-gradient(145deg,#0a2b45,#061b2d);border:1px solid #1b6689;position:relative;overflow:hidden}.zn-referral-tier-5181:before{content:"";position:absolute;inset:auto -50px -75px auto;width:220px;height:160px;background:radial-gradient(circle,rgba(42,237,198,.14),transparent 64%)}.zn-tier-badge{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#1e5c91,#0a2948);border:2px solid #79bfff;box-shadow:inset 0 0 0 5px rgba(255,255,255,.04),0 10px 30px rgba(27,118,205,.15)}.zn-tier-badge span{font-size:30px}.zn-referral-tier-5181.bronze .zn-tier-badge{border-color:#cc8a60}.zn-referral-tier-5181.silver .zn-tier-badge{border-color:#b7d8f3}.zn-referral-tier-5181.gold .zn-tier-badge{border-color:#ffd66b;box-shadow:0 0 30px rgba(255,204,74,.15)}.zn-tier-copy small{display:block;color:#91a9bf}.zn-tier-copy strong{display:block;font-size:24px;margin:2px 0}.zn-tier-copy span{color:#a8bfd0;font-size:13px}.zn-tier-progress{position:relative}.zn-tier-progress>small{display:block;color:#a2b5c6;margin-bottom:8px}.zn-tier-progress>small b{color:#38efc2}.zn-tier-progress>div{height:11px;border-radius:999px;background:#0b1e31;border:1px solid #285671;overflow:hidden}.zn-tier-progress>div span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#25dfb5,#55ffd8);box-shadow:0 0 18px rgba(53,241,192,.35)}.zn-tier-progress em{display:block;text-align:right;color:#9cb1c2;font-style:normal;font-size:12px;margin-top:6px}.zn-tier-arrow{font-size:34px;color:#95bbd5}
.zn-referral-how-5181{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:14px;padding:18px;border-radius:23px;background:radial-gradient(circle at 90% 55%,rgba(40,106,255,.18),transparent 27%),linear-gradient(145deg,#0a2942,#061b2d);border:1px solid #1f5e7f}.zn-ref-how-icon{width:66px;height:66px;border-radius:21px;display:grid;place-items:center;font-size:36px;background:linear-gradient(145deg,rgba(44,239,198,.2),rgba(22,88,156,.24));border:1px solid rgba(46,226,194,.4)}.zn-ref-how-copy h2{margin:0 0 7px;font-size:21px}.zn-ref-how-copy p{margin:6px 0;color:#b1c2d0;font-size:13px}.zn-ref-how-copy p span,.zn-ref-how-copy p b{color:#37efc1}.zn-ref-ticket{width:92px;height:64px;border-radius:19px;display:grid;place-items:center;font-size:32px;font-weight:950;color:#38efc2;background:linear-gradient(135deg,#153b9b,#0b756e);border:1px solid #39c8d1;box-shadow:0 0 30px rgba(40,225,206,.12);transform:rotate(-7deg)}
.zn-referral-panel-5181{margin-top:14px;padding:16px;border-radius:23px;background:linear-gradient(145deg,#092741,#061b2e);border:1px solid #1b526f}.zn-ref-section-head{display:flex;align-items:end;gap:12px;margin-bottom:10px}.zn-ref-section-head div span{display:block;color:#3deec1;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900}.zn-ref-section-head h2{font-size:22px;margin:3px 0 0}.zn-ref-section-head>a{margin-left:auto;color:#9eb7c9;text-decoration:none;font-size:12px}.zn-referral-friends,.zn-referral-reward-history{display:grid;gap:0}.zn-ref-friend-row{display:grid;grid-template-columns:50px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:11px 4px;border-top:1px solid rgba(60,132,173,.2)}.zn-ref-friend-row:first-child{border-top:0}.zn-ref-avatar{width:48px;height:48px;border-radius:50%;position:relative;display:grid;place-items:center;overflow:visible}.zn-ref-avatar-img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:#0d2a42;border:1px solid #2a607e}.zn-ref-avatar i{position:absolute;width:12px;height:12px;border-radius:50%;right:0;bottom:1px;background:#6e8aa0;border:2px solid #082239}.zn-ref-avatar i.ok{background:#29e0b6}.zn-ref-avatar i.review{background:#4ca5ff}.zn-ref-friend-copy strong{display:block;font-size:15px}.zn-ref-friend-copy small{display:block;color:#879fb3;margin-top:3px;font-size:11px}.zn-ref-status{padding:7px 10px;border-radius:999px;border:1px solid #2a5c7a;background:#0b2b44;color:#a8bfd0;font-size:11px;font-weight:850;white-space:nowrap}.zn-ref-status.ok{border-color:#19ba92;color:#38edbf;background:rgba(33,219,174,.09)}.zn-ref-status.review{border-color:#397bb0;color:#85c8ff}.zn-ref-status.bad{border-color:#9d4050;color:#ff8692}.zn-ref-reward{color:#3af0c2;white-space:nowrap}.zn-ref-empty{padding:24px 12px;text-align:center;display:grid;justify-items:center;gap:6px;color:#91a8bb}.zn-ref-empty>span{font-size:28px}.zn-ref-empty strong{color:#f4faff}.zn-referral-reward-history article{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:11px;align-items:center;padding:11px 3px;border-top:1px solid rgba(60,132,173,.2)}.zn-referral-reward-history article:first-child{border-top:0}.zn-referral-reward-history article>.ico{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#0b2d47;border:1px solid #246081}.zn-referral-reward-history strong{display:block;font-size:14px}.zn-referral-reward-history small{display:block;color:#879fb3;font-size:11px;margin-top:3px}.zn-referral-reward-history time{color:#89a2b6;font-size:11px}.zn-referral-reward-history article>b{color:#3af0c2;white-space:nowrap}
.zn-referral-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.zn-referral-public-card,.zn-referral-leaders-card{padding:16px;border-radius:22px;background:#08243a;border:1px solid #1b526f}.zn-referral-public-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;align-items:center}.zn-referral-public-card>div>span{font-size:27px}.zn-referral-public-card strong{display:block;margin-top:4px}.zn-referral-public-card small{display:block;color:#8fa6b9;margin-top:4px;line-height:1.4}.zn-referral-public-card button{grid-column:1/-1;justify-self:start;border:1px solid #286789;background:#0c304c;color:#eaf7ff;border-radius:12px;padding:9px 14px;font-weight:800}.zn-switch{position:relative;width:48px;height:28px}.zn-switch input{position:absolute;opacity:0}.zn-switch span{position:absolute;inset:0;border-radius:999px;background:#17364d;border:1px solid #2d5e79}.zn-switch span:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;left:3px;top:3px;background:#8da3b6;transition:.2s}.zn-switch input:checked+span{background:#1ad4a7;border-color:#30e6ba}.zn-switch input:checked+span:after{left:23px;background:#fff}.zn-ref-leader-row{display:grid;grid-template-columns:28px 36px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-top:1px solid rgba(60,132,173,.17)}.zn-ref-leader-row:first-of-type{border-top:0}.zn-ref-avatar.small{width:34px;height:34px}.zn-ref-leader-row>strong{font-size:13px}.zn-ref-leader-row em{font-style:normal;color:#91a8ba;font-size:11px}.zn-referral-footnote{margin:14px 4px 0;text-align:center;color:#6f879b;font-size:11px;line-height:1.5}
@media(max-width:900px){body.page-referrals .top,body.page-referrals .footer{display:none!important}body.page-referrals .shell.main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.zn-referrals-5181{width:100%!important;max-width:none!important}.zn-referral-gift{opacity:.86}}
@media(max-width:680px){.zn-referrals-5181{padding-left:10px;padding-right:10px}.zn-referral-hero-5181{min-height:160px;padding:20px}.zn-referral-hero-copy{max-width:76%}.zn-referral-hero-copy p{font-size:14px}.zn-referral-gift{right:7px;bottom:8px;width:105px;height:88px}.zn-referral-gift span{font-size:52px}.zn-referral-invite-card{grid-template-columns:1fr;padding:14px}.zn-referral-kpis-5181{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.zn-referral-kpis-5181 article{min-height:112px;padding:13px}.zn-referral-tier-5181{grid-template-columns:auto minmax(0,1fr) auto}.zn-tier-progress{grid-column:1/-1}.zn-referral-how-5181{grid-template-columns:auto minmax(0,1fr);padding:14px}.zn-ref-ticket{display:none}.zn-referral-lower-grid{grid-template-columns:1fr}.zn-ref-friend-row{grid-template-columns:44px minmax(0,1fr) auto}.zn-ref-avatar{width:42px;height:42px}.zn-ref-reward{grid-column:3}.zn-ref-status{grid-column:2;justify-self:start;padding:5px 8px}.zn-referral-reward-history article{grid-template-columns:42px minmax(0,1fr) auto}.zn-referral-reward-history time{display:none}.zn-ref-code-box strong{font-size:23px}.zn-referral-panel-5181{padding:13px}.zn-ref-section-head h2{font-size:20px}}
@media(max-width:390px){.zn-referral-hero-copy{max-width:82%}.zn-referral-gift{opacity:.55}.zn-referral-kpis-5181 article{min-height:104px}.zn-referral-kpis-5181 strong{font-size:21px}.zn-tier-badge{width:58px;height:58px;border-radius:19px}.zn-tier-copy strong{font-size:20px}.zn-ref-friend-row{gap:8px}.zn-ref-status{font-size:10px}.zn-referral-reward-history article>b{font-size:12px}.zn-ref-primary,.zn-ref-secondary{min-height:54px}}


/* ---------- Source: upgrade-5183-system.css ---------- */
/* Znahodka 5.183 — system rework / final responsive guard */
*,*::before,*::after{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}
.site-theme-5178 img,.site-theme-5178 video,.site-theme-5178 svg{max-width:100%}
@media(max-width:900px){
 body:not(.admin-body) .shell.main{width:100%!important;max-width:100%!important;padding-inline:10px!important;margin-inline:auto!important;overflow:visible!important}
 .zn-profile-5178,.zn-messages-5178,.zn-wallet-5178,.zn-receipt-5178,.zn-notify-5178,.zn-referrals-5181,.zn-app-shell{width:100%!important;max-width:760px!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}
 .zn-profile-hero,.zn-profile-balance,.zn-profile-promo,.zn-referral,.zn-listings-card,.zn-thread-card,.zn-chat-shell,.zn-wallet-balance,.zn-pay-card,.zn-wallet-history,.zn-receipt-info,.zn-receipt-body,.zn-referral-hero-5181,.zn-referral-card-5181{max-width:100%!important;min-width:0!important}
 .mobile-nav.zn-mobile-nav-5178{left:8px!important;right:8px!important;width:auto!important;max-width:none!important;bottom:max(8px,env(safe-area-inset-bottom))!important;border-radius:24px!important}
}
@media(max-width:520px){
 body:not(.admin-body) .shell.main{padding-inline:8px!important}
 .zn-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .zn-profile-kpis a:nth-child(2){border-right:0!important}.zn-profile-kpis a:nth-child(-n+2){border-bottom:1px solid #1c4966}
 .zn-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.zn-profile-links{grid-template-columns:1fr!important}
 .zn-profile-user,.zn-profile-balance,.zn-profile-promo,.zn-listing-row,.zn-thread-card{min-width:0!important}
 .zn-profile-copy strong,.zn-listing-row strong,.zn-thread-copy strong{overflow-wrap:anywhere}
}
.system-check-grid-5183{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.system-check-5183{display:flex;gap:12px;align-items:center;padding:14px;border-radius:16px;border:1px solid var(--line,#dce4ea);background:var(--card,#fff)}.system-check-5183>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900}.system-check-5183.ok>span{background:#dff8ef;color:#08765f}.system-check-5183.bad>span{background:#ffe8ea;color:#b52b3a}.system-check-5183 small{display:block;color:var(--muted,#7b8794);margin-top:2px}.system-notes-5183{display:grid;gap:8px}.system-notes-5183 span{padding:11px 13px;border-radius:12px;background:rgba(80,140,170,.08)}
@media(max-width:640px){.system-check-grid-5183{grid-template-columns:1fr}}


/* ---------- Source: upgrade-5184-create-sheet.css ---------- */
/* Znahodka 5.184 — neon create/category sheet */
@media (max-width:900px){
  .mobile-command-sheet.zn-create-sheet-5184{
    left:10px!important;right:10px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:760px!important;margin-inline:auto!important;
    max-height:min(78dvh,760px)!important;overflow:auto!important;overscroll-behavior:contain!important;
    padding:14px 14px 18px!important;border-radius:30px 30px 22px 22px!important;
    border:1px solid rgba(54,185,255,.65)!important;
    background:
      radial-gradient(circle at 78% 18%,rgba(28,255,226,.14),transparent 24%),
      radial-gradient(circle at 8% 85%,rgba(0,144,255,.10),transparent 28%),
      linear-gradient(180deg,rgba(4,28,49,.985),rgba(3,20,35,.99))!important;
    box-shadow:0 30px 80px rgba(0,0,0,.58),inset 0 1px 0 rgba(118,216,255,.08)!important;
    color:#f7fbff!important;backdrop-filter:blur(24px) saturate(125%)!important;
  }
  .zn-create-sheet-5184::-webkit-scrollbar{width:0;height:0}
  .zn-create-sheet-5184 .mobile-sheet-grabber{width:56px!important;height:6px!important;border-radius:99px!important;background:#486783!important;margin:0 auto 20px!important;opacity:.9!important}

  .zn-create-head-5184{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;gap:14px!important;align-items:start!important;margin:0 0 16px!important;padding:0 3px 2px!important;border:0!important;background:transparent!important}
  .zn-create-head-5184>div{min-width:0!important}
  .zn-create-head-5184 .eyebrow{display:block!important;margin:0 0 7px!important;color:#39efd0!important;font-size:12px!important;line-height:1!important;font-weight:950!important;letter-spacing:.17em!important;text-transform:uppercase!important}
  .zn-create-head-5184 h2{margin:0!important;color:#f7fbff!important;font-size:clamp(29px,7.5vw,42px)!important;line-height:1.02!important;font-weight:950!important;letter-spacing:-.045em!important;text-shadow:0 0 24px rgba(85,197,255,.16)!important}
  .zn-create-head-5184 small{display:block!important;margin-top:9px!important;color:#9bb8d2!important;font-size:14px!important;line-height:1.35!important;max-width:520px!important}
  .zn-create-head-5184>button{width:54px!important;height:54px!important;min-width:54px!important;border-radius:18px!important;border:1px solid rgba(43,190,255,.7)!important;background:linear-gradient(145deg,#0a2d49,#071d31)!important;color:#dfeeff!important;font-size:34px!important;line-height:1!important;font-weight:700!important;box-shadow:0 12px 30px rgba(0,0,0,.22),inset 0 0 22px rgba(0,166,255,.07)!important}

  .zn-create-grid-5184{display:block!important}
  .zn-create-listing-5184{padding:12px!important;border-radius:26px!important;border:1px solid rgba(47,140,196,.48)!important;background:linear-gradient(180deg,rgba(6,37,61,.86),rgba(5,28,47,.86))!important;box-shadow:inset 0 1px 0 rgba(107,201,255,.06)!important}
  .zn-create-intro-5184{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;margin:0 0 14px!important;padding:13px 14px!important;min-height:86px!important;border:1px solid rgba(33,192,255,.68)!important;border-radius:22px!important;background:radial-gradient(circle at 88% 15%,rgba(37,255,226,.19),transparent 34%),linear-gradient(135deg,rgba(8,54,86,.98),rgba(5,37,61,.98))!important;box-shadow:inset 0 0 32px rgba(35,220,255,.04)!important;color:#fff!important}
  .zn-create-intro-icon{width:52px!important;height:52px!important;border-radius:16px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#0b5d83,#0a3559)!important;color:#69f4ff!important;font-size:25px!important;box-shadow:inset 0 0 0 1px rgba(79,214,255,.25),0 8px 24px rgba(0,151,255,.14)!important}
  .zn-create-intro-5184 b{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.15!important;font-weight:900!important}
  .zn-create-intro-5184 small{display:block!important;margin-top:5px!important;color:#a7c5dd!important;font-size:12px!important;line-height:1.35!important}
  .zn-create-intro-5184 .mobile-create-step-5154{justify-self:end!important;padding:10px 13px!important;border-radius:999px!important;border:1px solid rgba(55,240,217,.65)!important;background:rgba(2,57,69,.72)!important;color:#47f5d7!important;font-size:13px!important;font-weight:950!important;letter-spacing:.04em!important;white-space:nowrap!important}

  .zn-create-categories-5184{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-height:none!important;overflow:visible!important;padding:0!important}
  .zn-create-categories-5184 button{position:relative!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) 20px!important;align-items:center!important;gap:12px!important;min-height:82px!important;padding:10px 12px!important;border:1px solid rgba(39,121,169,.66)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(8,40,66,.98),rgba(5,30,50,.98))!important;color:#f7fbff!important;text-align:left!important;box-shadow:inset 0 1px 0 rgba(130,210,255,.04)!important;transition:transform .16s ease,border-color .16s ease,background .16s ease!important;overflow:hidden!important}
  .zn-create-categories-5184 button:active{transform:scale(.985)!important;background:linear-gradient(145deg,rgba(10,53,84,.98),rgba(6,35,57,.98))!important;border-color:#35dfc0!important}
  .zn-create-categories-5184 button b{min-width:0!important;color:#f4f9ff!important;font-size:14px!important;line-height:1.18!important;font-weight:850!important;overflow-wrap:anywhere!important}
  .zn-create-categories-5184 button i{font-style:normal!important;color:#8ec4ea!important;font-size:29px!important;line-height:1!important;justify-self:end!important}
  .zn-create-category-icon{width:54px!important;height:54px!important;border-radius:17px!important;display:grid!important;place-items:center!important;font-size:25px!important;background:linear-gradient(145deg,rgba(14,69,94,.95),rgba(4,37,59,.98))!important;color:#42f4d2!important;border:1px solid rgba(63,241,214,.35)!important;box-shadow:0 8px 25px rgba(0,0,0,.2),inset 0 0 22px rgba(24,236,207,.09)!important}
  .zn-create-categories-5184 button:nth-child(2) .zn-create-category-icon{color:#ff727f!important;border-color:rgba(255,95,117,.45)!important;background:linear-gradient(145deg,rgba(72,30,58,.96),rgba(34,26,53,.98))!important}
  .zn-create-categories-5184 button:nth-child(3) .zn-create-category-icon{color:#74baff!important;border-color:rgba(56,151,255,.48)!important;background:linear-gradient(145deg,rgba(17,50,93,.97),rgba(8,31,61,.98))!important}
  .zn-create-categories-5184 button:nth-child(4) .zn-create-category-icon{color:#d07bff!important;border-color:rgba(186,78,255,.45)!important;background:linear-gradient(145deg,rgba(61,31,91,.97),rgba(29,25,63,.98))!important}
  .zn-create-categories-5184 button:nth-child(5) .zn-create-category-icon{color:#6bc5ff!important;border-color:rgba(67,171,255,.45)!important}
  .zn-create-categories-5184 button:nth-child(6) .zn-create-category-icon{color:#64f39f!important;border-color:rgba(54,226,122,.45)!important;background:linear-gradient(145deg,rgba(17,70,58,.97),rgba(7,40,45,.98))!important}
  .zn-create-categories-5184 button:nth-child(7) .zn-create-category-icon{color:#ffd34d!important;border-color:rgba(255,197,53,.45)!important;background:linear-gradient(145deg,rgba(75,60,20,.97),rgba(43,37,17,.98))!important}
  .zn-create-categories-5184 button:nth-child(8) .zn-create-category-icon{color:#ff9f52!important;border-color:rgba(255,131,50,.5)!important;background:linear-gradient(145deg,rgba(72,45,22,.97),rgba(44,31,20,.98))!important}
  .zn-create-categories-5184 button:nth-child(9) .zn-create-category-icon{color:#ff6e99!important;border-color:rgba(255,78,135,.48)!important;background:linear-gradient(145deg,rgba(76,26,56,.97),rgba(42,23,46,.98))!important}
  .zn-create-categories-5184 button:nth-child(10) .zn-create-category-icon{color:#d792ff!important;border-color:rgba(202,102,255,.46)!important;background:linear-gradient(145deg,rgba(64,35,84,.97),rgba(38,27,62,.98))!important}
  .zn-create-categories-5184 button:nth-child(11) .zn-create-category-icon{color:#68eaff!important;border-color:rgba(52,215,255,.45)!important}
  .zn-create-categories-5184 button:nth-child(12) .zn-create-category-icon{color:#7cf4aa!important;border-color:rgba(61,231,139,.45)!important;background:linear-gradient(145deg,rgba(20,67,52,.97),rgba(10,39,42,.98))!important}
  .zn-create-categories-5184 button:nth-child(13) .zn-create-category-icon{color:#63c9ff!important;border-color:rgba(64,177,255,.45)!important}
  .zn-create-categories-5184 button:nth-child(14) .zn-create-category-icon{color:#d8e6ef!important;border-color:rgba(157,184,205,.42)!important;background:linear-gradient(145deg,rgba(50,68,82,.97),rgba(29,43,56,.98))!important}

  .zn-create-auth-5184{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:14px!important;border-radius:20px!important;border:1px solid rgba(54,194,255,.52)!important;background:linear-gradient(145deg,#0a2942,#071e32)!important;color:#fff!important;text-decoration:none!important}
  .zn-create-auth-5184.warning{border-color:rgba(255,187,69,.48)!important}
  .zn-create-auth-icon{width:48px!important;height:48px!important;border-radius:15px!important;display:grid!important;place-items:center!important;background:#0c3854!important;color:#4ef2d0!important;font-size:22px!important}
  .zn-create-auth-5184 b{display:block!important;color:#fff!important}.zn-create-auth-5184 small{display:block!important;color:#9ab7d0!important;margin-top:4px!important}

  .zn-create-extra-5184{margin-top:12px!important;border:1px solid rgba(38,111,157,.5)!important;border-radius:19px!important;background:rgba(6,31,51,.74)!important;overflow:hidden!important}
  .zn-create-extra-5184 summary{list-style:none!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:13px 15px!important;color:#b8cee0!important;font-size:12px!important;font-weight:850!important}
  .zn-create-extra-5184 summary::-webkit-details-marker{display:none!important}.zn-create-extra-5184 summary span{font-size:18px!important;color:#42eec8!important}
  .zn-create-extra-grid-5184{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:0 10px 10px!important}
  .zn-create-extra-grid-5184 a{display:grid!important;grid-template-columns:38px minmax(0,1fr) 14px!important;align-items:center!important;gap:9px!important;min-height:62px!important;padding:9px 10px!important;border:1px solid rgba(39,111,155,.5)!important;border-radius:15px!important;background:#071f34!important;color:#edf7ff!important;text-decoration:none!important}
  .zn-create-extra-grid-5184 a>span{width:38px!important;height:38px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#0c3550!important;font-size:18px!important}.zn-create-extra-grid-5184 a b{font-size:12px!important}.zn-create-extra-grid-5184 a small{display:block!important;color:#829db4!important;font-size:9px!important;margin-top:2px!important}.zn-create-extra-grid-5184 a i{font-style:normal!important;color:#7da8c7!important;font-size:20px!important}
}

@media (max-width:430px){
  .mobile-command-sheet.zn-create-sheet-5184{left:6px!important;right:6px!important;padding:12px 10px 14px!important;border-radius:26px 26px 18px 18px!important;max-height:min(80dvh,760px)!important}
  .zn-create-head-5184{grid-template-columns:minmax(0,1fr) 48px!important;gap:10px!important}.zn-create-head-5184>button{width:48px!important;height:48px!important;min-width:48px!important;border-radius:16px!important;font-size:30px!important}.zn-create-head-5184 h2{font-size:30px!important}.zn-create-head-5184 small{font-size:13px!important}
  .zn-create-listing-5184{padding:9px!important;border-radius:22px!important}.zn-create-intro-5184{grid-template-columns:46px minmax(0,1fr) auto!important;gap:9px!important;min-height:75px!important;padding:10px!important;border-radius:18px!important}.zn-create-intro-icon{width:46px!important;height:46px!important;border-radius:14px!important;font-size:22px!important}.zn-create-intro-5184 b{font-size:15px!important}.zn-create-intro-5184 small{font-size:10px!important}.zn-create-intro-5184 .mobile-create-step-5154{padding:8px 10px!important;font-size:11px!important}
  .zn-create-categories-5184{gap:8px!important}.zn-create-categories-5184 button{grid-template-columns:46px minmax(0,1fr) 14px!important;gap:8px!important;min-height:70px!important;padding:8px!important;border-radius:17px!important}.zn-create-category-icon{width:46px!important;height:46px!important;border-radius:14px!important;font-size:21px!important}.zn-create-categories-5184 button b{font-size:12px!important}.zn-create-categories-5184 button i{font-size:22px!important}
  .zn-create-extra-grid-5184{grid-template-columns:1fr!important}
}

@media (max-width:340px){
  .zn-create-categories-5184{grid-template-columns:1fr!important}.zn-create-head-5184 h2{font-size:27px!important}
}


/* ---------- Source: upgrade-5185-settings.css ---------- */
/* Znahodka 5.185 — app-like settings */
body.page-account_settings{background:radial-gradient(circle at 85% 0,rgba(109,54,255,.13),transparent 30%),radial-gradient(circle at 0 45%,rgba(20,217,168,.08),transparent 28%),#03101d!important}
body.page-account_settings .shell.main{max-width:760px!important;padding-top:18px!important;padding-bottom:118px!important}
body.page-account_settings .account-center-hero,body.page-account_settings .account-center-nav{display:none!important}
.zn-settings-5185{display:grid;gap:11px;margin:0 auto 16px;width:100%;max-width:700px}
.zn-settings-head{display:flex;align-items:center;gap:15px;padding:4px 2px 12px}.zn-settings-head h1{margin:0;color:#f5f9ff;font-size:32px;line-height:1.05;letter-spacing:-.03em}.zn-settings-head p{margin:5px 0 0;color:#8fa5bb;font-size:15px}.zn-settings-back{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid #1f4968;border-radius:16px;background:linear-gradient(145deg,#102a43,#071b2c);color:#eef8ff;font-size:37px;line-height:1;box-shadow:0 12px 28px rgba(0,0,0,.22)}
.zn-settings-theme-card,.zn-settings-group{border:1px solid rgba(79,161,211,.26);background:linear-gradient(145deg,rgba(11,37,59,.97),rgba(6,24,40,.98));box-shadow:0 14px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);border-radius:24px;overflow:hidden}
.zn-settings-theme-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 15px;margin-bottom:5px}
.zn-settings-label{margin:12px 8px 2px;color:#8197ad;font-size:12px;font-weight:850;letter-spacing:.12em}
.zn-settings-row{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;gap:13px;align-items:center;min-height:72px;padding:10px 15px;border-bottom:1px solid rgba(101,155,193,.13);transition:.18s ease}.zn-settings-row:last-child{border-bottom:0}.zn-settings-row:hover{background:rgba(34,239,188,.045)}.zn-settings-row>i{font-style:normal;color:#7591aa;font-size:30px;font-weight:300}.zn-settings-row-copy{display:grid;gap:2px;min-width:0}.zn-settings-row-copy b{font-size:16px;color:#f2f8ff!important;line-height:1.2}.zn-settings-row-copy small{font-size:13px!important;color:#839bb1!important;white-space:normal;line-height:1.25}
.zn-settings-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;font-size:22px;font-weight:900;border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 8px 18px rgba(0,0,0,.18)}.zn-settings-icon.is-purple{background:linear-gradient(145deg,#7934e9,#4b169c)}.zn-settings-icon.is-pink{background:linear-gradient(145deg,#c7328d,#7d175b)}.zn-settings-icon.is-indigo{background:linear-gradient(145deg,#5968f5,#313ea9)}.zn-settings-icon.is-green{background:linear-gradient(145deg,#20ca8c,#08735a)}.zn-settings-icon.is-blue{background:linear-gradient(145deg,#2d75ff,#1742a0)}.zn-settings-icon.is-orange{background:linear-gradient(145deg,#ff7b19,#aa3d09)}.zn-settings-icon.is-red{background:linear-gradient(145deg,#ff3561,#a10c38)}.zn-settings-icon.is-cyan{background:linear-gradient(145deg,#39a9ff,#2457c5)}.zn-settings-icon.is-violet{background:linear-gradient(145deg,#9346ff,#5123bb)}.zn-settings-icon.is-sky{background:linear-gradient(145deg,#28b7ff,#2166df)}.zn-settings-icon.is-teal{background:linear-gradient(145deg,#2bd8c2,#14746d)}
.zn-settings-switch{position:relative;width:58px;height:34px}.zn-settings-switch input{position:absolute;opacity:0}.zn-settings-switch i{position:absolute;inset:0;border-radius:999px;background:#20364a;box-shadow:inset 0 0 0 1px #31506c;transition:.2s}.zn-settings-switch i:after{content:"";position:absolute;width:28px;height:28px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:.2s}.zn-settings-switch input:checked+i{background:linear-gradient(90deg,#7e34f5,#b333f0);box-shadow:0 0 18px rgba(170,50,245,.28)}.zn-settings-switch input:checked+i:after{transform:translateX(24px)}
body.page-account_settings .account-center-section.zn-settings-detail{display:none!important;margin-top:14px!important;border-radius:24px!important;border:1px solid rgba(79,161,211,.26)!important;background:linear-gradient(145deg,#0a2338,#061827)!important;box-shadow:0 18px 42px rgba(0,0,0,.24)!important}body.page-account_settings .account-center-section.zn-settings-detail:target{display:block!important;animation:znSettingsIn .22s ease both}@keyframes znSettingsIn{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}
.zn-settings-detail-bar{display:flex;align-items:center;gap:12px;margin-bottom:18px}.zn-settings-detail-bar>a{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#102d46;border:1px solid #1d5276;color:#fff;font-size:28px}.zn-settings-detail-bar h2{margin:2px 0 0}.zn-settings-appearance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.zn-appearance-choice{display:grid;place-items:start;gap:5px;min-height:126px;padding:15px;border-radius:18px;border:1px solid #1e4d6d;background:#09243a;color:#fff;text-align:left;cursor:pointer}.zn-appearance-choice span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#153958;font-size:18px}.zn-appearance-choice b{font-size:15px}.zn-appearance-choice small{color:#87a0b6}.zn-appearance-choice.is-active{border-color:#2ce4ba;box-shadow:0 0 0 3px rgba(44,228,186,.08),inset 0 0 24px rgba(44,228,186,.05)}.zn-appearance-choice.is-static{cursor:default}.zn-settings-detail-note{margin:14px 0 0!important;font-size:12px!important}
body.page-account_settings.settings-light-preview{background:#f6f2fa!important}.settings-light-preview .zn-settings-head h1{color:#1d1a24}.settings-light-preview .zn-settings-head p,.settings-light-preview .zn-settings-label{color:#77717f}.settings-light-preview .zn-settings-theme-card,.settings-light-preview .zn-settings-group{background:#fff;border-color:#ece4f2;box-shadow:0 12px 30px rgba(69,45,83,.08)}.settings-light-preview .zn-settings-row{border-color:#eee8f2}.settings-light-preview .zn-settings-row:hover{background:#fbf8fd}.settings-light-preview .zn-settings-row-copy b{color:#201d25!important}.settings-light-preview .zn-settings-row-copy small{color:#8b8591!important}.settings-light-preview .zn-settings-row>i{color:#aaa0b0}
@media(max-width:620px){body.page-account_settings .shell.main{width:100%!important;padding:12px 12px 104px!important}.zn-settings-5185{gap:8px}.zn-settings-head{padding-top:0}.zn-settings-head h1{font-size:28px}.zn-settings-theme-card,.zn-settings-group{border-radius:20px}.zn-settings-theme-card{grid-template-columns:50px minmax(0,1fr) auto;padding:11px 12px}.zn-settings-row{grid-template-columns:44px minmax(0,1fr) 18px;min-height:66px;padding:9px 12px}.zn-settings-icon{width:44px;height:44px;border-radius:13px;font-size:20px}.zn-settings-row-copy b{font-size:15px}.zn-settings-row-copy small{font-size:12px!important}.zn-settings-appearance-grid{grid-template-columns:1fr}.zn-appearance-choice{min-height:88px}.account-center-section{padding:14px!important}.account-center-section-head{display:grid!important;gap:10px!important}.account-center-profile-grid,.account-security-grid{grid-template-columns:1fr!important}.account-channel-row,.account-event-grid,.account-function-grid{grid-template-columns:1fr!important}}

/* 5.186 persisted compact density */
body.page-account_settings.settings-compact .zn-settings-row{min-height:58px;padding-top:8px;padding-bottom:8px}
body.page-account_settings.settings-compact .zn-settings-group{gap:0}
body.page-account_settings.settings-compact .zn-settings-label{margin-top:18px;margin-bottom:7px}
body.page-account_settings.settings-compact .zn-settings-theme-card{padding-top:11px;padding-bottom:11px}


/* ---------- Source: upgrade-5188-app.css ---------- */
/* Знаходка 5.188 — coherent app design system. Loaded after legacy styles. */
:root{
 --zn-app-bg:#07121e;--zn-app-surface:#0d2030;--zn-app-card:#102638;
 --zn-app-elevated:#153247;--zn-app-stroke:rgba(113,171,203,.19);
 --zn-app-text:#f2f8fc;--zn-app-sub:#a5bacb;--zn-app-accent:#37e4b8;
 --zn-app-radius:20px;--zn-app-shadow:0 14px 42px rgba(0,0,0,.14);
 color-scheme:dark;
}
html{scroll-padding-top:88px;scrollbar-gutter:stable}
html,body{min-width:0;max-width:100%;overflow-x:clip}
body.site-theme-5178{background:linear-gradient(180deg,#0b1d2a 0,#07121e 440px,#07121e 100%)!important;color:var(--zn-app-text)}
body.site-theme-5178:not(.admin-body){font-synthesis:none;-webkit-tap-highlight-color:transparent}
body.site-theme-5178 .shell{min-width:0}
body.site-theme-5178 .shell.main{min-width:0}
body.site-theme-5178 :is(.panel,.card,.zn-glass){border-color:var(--zn-app-stroke);box-shadow:var(--zn-app-shadow)}
body.site-theme-5178 :is(p,small,.muted,.subtle){overflow-wrap:break-word}
body.site-theme-5178 :is(h1,h2,h3,h4){text-wrap:pretty;overflow-wrap:break-word;letter-spacing:-.025em}
body.site-theme-5178 :is(a,button,input,textarea,select,summary){touch-action:manipulation}
body.site-theme-5178 :is(button,a,[role="button"]):focus-visible{outline:2px solid var(--zn-app-accent)!important;outline-offset:3px}
body.site-theme-5178 :is(input,textarea,select):focus-visible{outline:2px solid #45d9bf!important;outline-offset:1px;box-shadow:0 0 0 4px rgba(55,228,184,.13)!important}
body.site-theme-5178 :is(input,select,textarea){min-width:0;max-width:100%;font-size:16px;accent-color:var(--zn-app-accent)}
body.site-theme-5178 :is(.btn,button[type="submit"]){transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
@media(hover:hover){body.site-theme-5178 :is(.btn,button[type="submit"]):not(:disabled):hover{filter:brightness(1.07);transform:translateY(-1px)}}
body.site-theme-5178 :is(.btn,button[type="submit"]):not(:disabled):active{transform:scale(.985)}
body.site-theme-5178 img{object-position:center}
body.site-theme-5178 .top{background:rgba(7,20,32,.91)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--zn-app-stroke);box-shadow:none!important}
body.site-theme-5178 .top-in{gap:clamp(8px,1.5vw,20px);min-height:70px}
body.site-theme-5178 .brand-name-5159{font-weight:900;letter-spacing:-.05em}
body.site-theme-5178 .brand-symbol-5159{border-radius:14px;box-shadow:none}
body.site-theme-5178 .top-search{border-radius:16px!important;background:#112a3d!important;border:1px solid var(--zn-app-stroke)!important;box-shadow:none!important;min-width:0}
body.site-theme-5178 .top-search input{min-width:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.site-theme-5178 .public-section-bar{border-bottom:1px solid var(--zn-app-stroke);background:#0b1e2e!important;box-shadow:none!important}
body.site-theme-5178 .unified-catalog-links a{border-radius:10px;transition:background .15s ease;color:#b7cedd}
body.site-theme-5178 .unified-catalog-links a[aria-current="page"]{color:#4cedc6!important;background:rgba(55,228,184,.09)}
body.site-theme-5178 .main{min-height:40vh}
body.site-theme-5178 .footer{background:#07131f!important;border-top:1px solid var(--zn-app-stroke);color:var(--zn-app-sub)}
body.site-theme-5178 .support-fab{box-shadow:0 12px 35px rgba(0,0,0,.24)}
/* Home: headline, search and merchandising designed as a compact app discovery screen. */
body.site-theme-5178 .zn-home-5166{min-width:0;max-width:1280px;margin-inline:auto}
body.site-theme-5178 .zn-search-zone-5166{margin-top:clamp(8px,2vw,24px)}
body.site-theme-5178 .zn-searchbar-5166{min-width:0;border-radius:18px!important;background:rgba(17,42,59,.98)!important;border:1px solid #315469!important;box-shadow:0 10px 26px rgba(0,0,0,.1)!important}
body.site-theme-5178 .zn-searchbar-5166 input{min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;color:#f4faff!important}
body.site-theme-5178 .zn-filter-button-5166{flex:0 0 auto;border-radius:12px!important}
body.site-theme-5178 .zn-quick-grid-5166{min-width:0;gap:clamp(7px,1.2vw,13px)}
body.site-theme-5178 .zn-quick-grid-5166 a{background:linear-gradient(150deg,#112a3e,#0d2232)!important;border:1px solid var(--zn-app-stroke)!important;border-radius:17px!important;box-shadow:none!important;min-width:0;transition:transform .16s ease,border-color .16s ease}
@media(hover:hover){body.site-theme-5178 .zn-quick-grid-5166 a:hover{transform:translateY(-3px);border-color:rgba(65,234,192,.5)!important}}
body.site-theme-5178 .zn-quick-grid-5166 strong{font-weight:750;line-height:1.16;overflow-wrap:anywhere}
body.site-theme-5178 .zn-promo-5166{border-radius:clamp(20px,3vw,30px)!important;overflow:hidden;min-width:0;background:radial-gradient(ellipse at 80% 20%,rgba(32,162,170,.36),transparent 45%),linear-gradient(115deg,#103c44,#0b2639 66%,#132d51)!important;border:1px solid rgba(77,220,189,.19)!important;box-shadow:0 22px 55px rgba(0,0,0,.13)!important}
body.site-theme-5178 .zn-promo-5166 h1{color:#f1fbfa!important;font-weight:900;letter-spacing:-.05em!important}
body.site-theme-5178 .zn-promo-copy-5166 h1 span{color:#62edc7!important}
body.site-theme-5178 .zn-promo-copy-5166 p{color:#b8d2dc!important}
body.site-theme-5178 .zn-promo-copy-5166>a{border-radius:14px!important;background:var(--zn-app-accent)!important;color:#06271f!important;box-shadow:0 12px 25px rgba(50,213,171,.14)!important}
body.site-theme-5178 .zn-promo-art-5166 img{max-width:100%;object-fit:contain}
body.site-theme-5178 :is(.zn-popular-5166,.zn-more-sections-5166){min-width:0}
body.site-theme-5178 .zn-section-head-5166 h2{font-weight:900;letter-spacing:-.035em}
body.site-theme-5178 .zn-section-head-5166 a{color:var(--zn-app-accent);font-weight:700}
body.site-theme-5178 .zn-listing-grid-5166{min-width:0;gap:clamp(8px,1.4vw,16px)}
body.site-theme-5178 .zn-listing-card-5166{min-width:0;max-width:100%;overflow:hidden;border-radius:18px!important;background:#102638!important;border:1px solid var(--zn-app-stroke)!important;box-shadow:none!important;transition:border-color .16s ease,transform .16s ease}
@media(hover:hover){body.site-theme-5178 .zn-listing-card-5166:hover{border-color:rgba(59,234,191,.55)!important;transform:translateY(-3px)}}
body.site-theme-5178 .zn-listing-image-5166{overflow:hidden;background:#0c2231}
body.site-theme-5178 .zn-listing-image-5166 img{width:100%;height:100%;object-fit:cover;display:block}
body.site-theme-5178 .zn-heart-5166{background:rgba(7,24,36,.83)!important;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px)}
body.site-theme-5178 .zn-listing-body-5166{min-width:0}
body.site-theme-5178 .zn-listing-body-5166 h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-width:0;overflow-wrap:break-word;line-height:1.32}
body.site-theme-5178 .zn-listing-body-5166 p{min-width:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap;color:#a6b8c8}
body.site-theme-5178 .zn-listing-price-5166{font-variant-numeric:tabular-nums}
body.site-theme-5178 .zn-more-grid-5166 a{min-width:0;background:#102638!important;border:1px solid var(--zn-app-stroke)!important;box-shadow:none!important;border-radius:18px!important}
body.site-theme-5178 :is(.zn-empty-5166,.empty-state,.empty,.empty-card){min-width:0;max-width:100%}
/* App-native secondary pages: consistent surfaces, not unbounded neon panels. */
body.site-theme-5178 :is(.zn-profile-hero,.zn-listings-card,.zn-thread-card,.zn-settings-group,.zn-settings-theme-card,.zn-settings-form,.zn-wallet-history,.zn-wallet-balance,.zn-notify-item,.zn-receipt-info,.zn-receipt-body,.zn-create-listing-5184){border-color:var(--zn-app-stroke)!important;box-shadow:none!important}
body.site-theme-5178 :is(.zn-profile-user,.zn-thread-card,.zn-listings-card){background:linear-gradient(145deg,#112a3c,#0b2030)!important}
body.site-theme-5178 .zn-profile-promo{background:linear-gradient(115deg,#284c69,#283467 80%,#34496d)!important;border-color:rgba(148,163,243,.27)!important;box-shadow:none!important}
body.site-theme-5178 .zn-referral{background:linear-gradient(115deg,#204a54,#253967)!important;border-color:rgba(85,199,212,.25)!important;box-shadow:none!important}
body.site-theme-5178 .zn-profile-avatar{border-color:var(--zn-app-accent)!important;box-shadow:0 0 0 5px rgba(55,228,184,.08)!important}
body.site-theme-5178 .zn-profile-balance{background:linear-gradient(115deg,#104d4e,#0d3443)!important;box-shadow:none!important}
body.site-theme-5178 .zn-profile-links a{background:#102638!important;border-color:var(--zn-app-stroke)!important}
body.site-theme-5178 .zn-icon-btn{box-shadow:none!important;background:#112a3b!important;border-color:var(--zn-app-stroke)!important}
body.site-theme-5178 :is(.zn-message-tabs a,.zn-stat,.zn-thread-card){box-shadow:none!important}
body.site-theme-5178 .zn-app-topbar{min-width:0}
body.site-theme-5178 .zn-app-topbar .spacer{min-width:0}
body.site-theme-5178 .zn-app-brand{font-size:clamp(25px,5vw,32px)}
/* Desktop content, forms and dense admin dashboards retain their layout. */
body.site-theme-5178 :is(.marketplace-grid,.products-grid,.listing-grid,.product-grid,.search-results,.content-grid,.admin-grid){min-width:0}
body.site-theme-5178 :is(.listing-card,.product-card,.market-card,.marketplace-card,.portal-product-card,.news-card,.article-card){min-width:0;max-width:100%;overflow:hidden;border-radius:18px}
body.site-theme-5178 :is(.listing-card,.product-card,.market-card,.marketplace-card,.portal-product-card,.news-card,.article-card) :is(h2,h3,strong){overflow-wrap:break-word}
body.site-theme-5178 :is(.listing-card,.product-card,.market-card,.marketplace-card,.portal-product-card,.news-card,.article-card) img{max-width:100%;object-fit:cover}
body.site-theme-5178 :is(.form-row,.form-grid,.filters-row,.row,.columns)>*{min-width:0}
body.site-theme-5178 :is(.modal,.site-modal,.mobile-command-sheet){overscroll-behavior:contain}
body.site-theme-5178 .site-modal-card{max-width:min(94vw,660px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:24px;border-color:var(--zn-app-stroke)}
/* Install control, connectivity and lightweight app feedback. */
.zn-app-install-5188{display:none;align-items:center;gap:10px;width:100%;padding:13px 15px;border:1px solid rgba(67,221,184,.34);background:linear-gradient(110deg,#103b42,#102d43);color:#f1fffb;border-radius:16px;text-align:left;font:inherit;cursor:pointer}
.zn-app-install-5188[data-install-visible="true"]{display:flex}
.zn-app-install-5188 .zn-install-logo{flex:0 0 41px;height:41px;display:grid;place-items:center;border-radius:13px;background:#36e3b7;color:#06322a;font-weight:900;font-size:25px}
.zn-app-install-5188 strong{display:block;font-size:14px}.zn-app-install-5188 small{display:block;margin-top:2px;color:#a8c6c9;font-size:12px}
.zn-app-install-5188 .zn-install-chevron{margin-left:auto;font-size:22px;color:#a8f3dc}
.zn-app-install-slot{min-width:0;margin-block:10px}
.zn-app-toast-5188{position:fixed;z-index:11050;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translate(-50%,15px);width:max-content;max-width:min(90vw,460px);min-height:48px;padding:13px 18px;border-radius:16px;background:#1a384a;border:1px solid rgba(87,220,189,.35);color:#fff;box-shadow:0 20px 65px rgba(0,0,0,.4);font-size:14px;font-weight:650;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.zn-app-toast-5188.is-visible{opacity:1;transform:translate(-50%,0)}
.zn-offline-pill-5188{position:fixed;z-index:11049;top:calc(10px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:9px 16px;background:#332a27;border:1px solid #ab7960;color:#fff3df;border-radius:99px;font-size:13px;font-weight:750;box-shadow:0 10px 35px rgba(0,0,0,.3)}
.zn-app-shortcuts-5188{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 8px}
.zn-app-shortcuts-5188>a{min-width:0;display:flex;align-items:center;gap:9px;padding:14px;border-radius:16px;text-decoration:none;color:#d8f4ef;background:#0e2a38;border:1px solid var(--zn-app-stroke);font-size:13px;font-weight:730;line-height:1.3}
.zn-app-shortcuts-5188 svg{width:19px;height:19px;flex:none;stroke:#6debd2;stroke-width:2;fill:none}
/* Bottom navigation is the app's primary mobile chrome. */
@media(max-width:900px){
 html{scrollbar-gutter:auto}
 body.site-theme-5178:not(.admin-body) .shell.main{width:100%!important;padding-inline:clamp(10px,3vw,18px)!important;padding-bottom:calc(95px + env(safe-area-inset-bottom))!important;overflow:visible!important}
 body.site-theme-5178 .top{position:sticky;top:0;z-index:400!important}
 body.site-theme-5178 .public-section-bar{display:none!important}
 body.site-theme-5178 .top-in{min-height:60px;padding:5px 12px;justify-content:space-between}
 body.site-theme-5178 .brand-name-5159{font-size:clamp(22px,6.5vw,28px)}
 body.site-theme-5178 .top-search{display:none!important}
 body.site-theme-5178 .author-top-cta,body.site-theme-5178 .guest-register-cta{display:none!important}
 body.site-theme-5178 .top-actions{gap:7px}
 body.site-theme-5178 .account-top-link{flex:0 0 39px;width:39px;height:39px;min-width:39px;border-radius:13px;margin:0!important;padding:0!important;display:grid;place-items:center}
 body.site-theme-5178 .account-top-link .account-top-name{display:none!important}
 body.site-theme-5178 .account-top-avatar{width:37px;height:37px;min-width:37px;border-radius:12px}
 body.site-theme-5178 .zn-home-5166{padding-bottom:0;margin-top:0}
 body.site-theme-5178 .zn-search-zone-5166{margin-top:6px!important}
 body.site-theme-5178 .zn-searchbar-5166{margin:0 0 12px!important;min-height:52px!important;padding:4px 7px 4px 12px!important}
 body.site-theme-5178 .zn-searchbar-5166 input{font-size:15px!important}
 body.site-theme-5178 .zn-quick-grid-5166{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0 0 13px!important}
 body.site-theme-5178 .zn-quick-grid-5166 a{min-width:0!important;min-height:86px!important;padding:10px 4px!important;gap:6px!important;border-radius:15px!important}
 body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:clamp(10px,3vw,12px)!important;line-height:1.22!important;text-align:center}
 body.site-theme-5178 .zn-quick-grid-5166 a span{margin:0!important}
 body.site-theme-5178 .zn-promo-5166{margin:8px 0 22px!important;min-height:205px!important}
 body.site-theme-5178 .zn-promo-copy-5166{min-width:0;position:relative;z-index:1}
 body.site-theme-5178 .zn-promo-copy-5166 h1{font-size:clamp(28px,8.5vw,42px)!important;line-height:1.07!important;max-width:70%}
 body.site-theme-5178 .zn-promo-copy-5166 p{font-size:13px!important;line-height:1.5!important;max-width:68%}
 body.site-theme-5178 .zn-promo-copy-5166>a{font-size:12px!important;padding:11px 12px!important;display:inline-flex;align-items:center}
 body.site-theme-5178 .zn-promo-art-5166{pointer-events:none;opacity:.78}
 body.site-theme-5178 .zn-section-head-5166{gap:8px}
 body.site-theme-5178 .zn-section-head-5166 h2{font-size:clamp(20px,5.6vw,25px)!important}
 body.site-theme-5178 .zn-listing-grid-5166{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.site-theme-5178 .zn-listing-card-5166{min-width:0!important;width:100%!important;border-radius:15px!important}
 body.site-theme-5178 .zn-listing-body-5166{padding:9px!important}
 body.site-theme-5178 .zn-listing-price-5166{font-size:clamp(15px,4vw,19px)!important;line-height:1.2}
 body.site-theme-5178 .zn-listing-body-5166 h3{font-size:clamp(12px,3.4vw,15px)!important;min-height:2.6em;margin:5px 0!important}
 body.site-theme-5178 .zn-listing-body-5166 p{font-size:10px!important;line-height:1.4!important}
 body.site-theme-5178 .zn-more-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.site-theme-5178 .zn-more-grid-5166 a{min-width:0!important;border-radius:15px!important;overflow:hidden}
 body.site-theme-5178 .zn-app-shortcuts-5188{gap:7px}
 body.site-theme-5178 .zn-app-shortcuts-5188>a{font-size:11px;flex-direction:column;text-align:center;padding:11px 5px}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178{
  display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;margin:0!important;
  height:calc(69px + env(safe-area-inset-bottom))!important;
  padding:3px max(7px,env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))!important;
  border:0!important;border-top:1px solid rgba(95,170,202,.2)!important;border-radius:19px 19px 0 0!important;
  background:rgba(9,26,39,.97)!important;box-shadow:0 -12px 40px rgba(0,0,0,.21)!important;
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);z-index:9200!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important
 }
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>a,body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>button{height:60px!important;min-width:0!important;padding:5px 0!important;border-radius:13px!important;gap:4px!important;color:#9bb1c4!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>a.is-active{color:#5df3c9!important;background:rgba(49,214,171,.09)!important;box-shadow:none!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .nav-icon{width:25px!important;height:25px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .nav-icon svg{width:24px!important;height:24px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 small{font-size:10px!important;letter-spacing:0;font-weight:650!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon{position:static!important;width:43px!important;height:43px!important;transform:none!important;border-radius:15px!important;background:#42e6bb!important;color:#032b22!important;box-shadow:0 4px 16px rgba(47,219,178,.21)!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon svg{width:26px!important;height:26px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .mobile-create-command{justify-content:flex-start!important;gap:1px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .mobile-create-command small{font-size:9px!important;line-height:1.1!important}
 body.site-theme-5178 .mobile-command-sheet{max-width:100vw!important;overscroll-behavior:contain}
 body.site-theme-5178 .mobile-sheet-head h2{font-size:clamp(22px,6vw,30px)!important}
 body.site-theme-5178 .support-fab{display:none!important}
 body.site-theme-5178 .footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
 body.site-theme-5178 :is(.zn-profile-5178,.zn-messages-5178,.zn-wallet-5178,.zn-notify-5178,.zn-app-shell,.zn-settings-5185){max-width:100%;min-width:0}
 body.site-theme-5178 .zn-profile-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.site-theme-5178 .zn-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.site-theme-5178 .zn-profile-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.site-theme-5178 .zn-profile-kpis a{border-bottom:0!important;border-right:1px solid #1c4966!important}
 body.site-theme-5178 .zn-profile-kpis a:last-child{border-right:0!important}
 body.site-theme-5178 .zn-profile-user{grid-template-columns:64px minmax(0,1fr) 17px!important;gap:8px!important}
 body.site-theme-5178 .zn-profile-avatar{width:64px!important;height:64px!important;min-width:64px!important}
 body.site-theme-5178 .zn-profile-copy strong{font-size:clamp(16px,4.5vw,21px)!important}
 body.site-theme-5178 .zn-profile-balance{grid-template-columns:43px minmax(0,1fr) auto!important;padding:11px!important}
 body.site-theme-5178 .zn-profile-balance .ico{width:43px!important;height:43px!important;min-width:43px!important}
 body.site-theme-5178 .zn-profile-promo{padding:13px!important;grid-template-columns:38px minmax(0,1fr) 34px!important}
 body.site-theme-5178 .zn-profile-promo strong{font-size:18px!important}
}
@media(max-width:360px){
 body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:10px!important}
 body.site-theme-5178 .zn-promo-copy-5166 h1{font-size:26px!important}
 body.site-theme-5178 .zn-profile-kpis span{font-size:9px!important}
 body.site-theme-5178 .zn-profile-balance b{font-size:11px!important;padding:8px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 small{font-size:9px!important}
}
@media(max-width:900px) and (orientation:landscape) and (max-height:500px){
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178{height:57px!important;padding-block:2px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>a,body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>button{height:52px!important}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178 .mobile-create-command .nav-icon{height:36px!important;width:36px!important}
}
@media(min-width:901px){
 body.site-theme-5178 .zn-app-shortcuts-5188{max-width:870px}
 body.site-theme-5178 .zn-home-5166 .zn-promo-5166{margin-block:24px 33px}
 body.site-theme-5178 .mobile-nav.zn-mobile-nav-5178{display:none!important}
}
@media(prefers-reduced-motion:reduce){body.site-theme-5178 *,body.site-theme-5178 *::before,body.site-theme-5178 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Exactly one search control at the top of every route. */
body.home-page-5166 .top-search{display:none!important}
.zn-header-search-5188{display:none;width:39px;height:39px;min-width:39px;align-items:center;justify-content:center;border:1px solid var(--zn-app-stroke);background:#102a3d;border-radius:13px;color:#cde8ec;text-decoration:none}
.zn-header-search-5188 svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;fill:none}
@media(max-width:900px){body.site-theme-5178 .zn-header-search-5188{display:flex}body.home-page-5166 .zn-header-search-5188{display:none!important}}


/* ---------- Source: upgrade-5189-design.css ---------- */
/* ZNAHODKA 5.189 — Unified application visual language. Appends after 5.188. */
:root{
  --zn-ink:#06131e;--zn-base:#081923;--zn-tile:#102632;--zn-tile-alt:#142c3c;
  --zn-tile-hover:#1b3746;--zn-border:rgba(149,196,208,.17);
  --zn-border-strong:rgba(150,204,207,.3);--zn-heading:#f5faff;--zn-reading:#d8e6ed;
  --zn-secondary:#9eb9c5;--zn-brand:#49e5b8;--zn-brand-2:#60b3ff;
  --zn-warning:#ffcf83;--zn-danger:#ff8b98;
  --zn-rad-lg:22px;--zn-rad-md:16px;--zn-rad-sm:12px;
  --zn-drop:0 12px 40px rgba(0,7,15,.22);
  --zn-speed:170ms cubic-bezier(.25,.8,.3,1);
}
html{scroll-behavior:smooth;scroll-padding-top:90px;accent-color:var(--zn-brand)}
body.site-theme-5178{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  background:radial-gradient(ellipse 75% 480px at 78% -100px,rgba(32,135,123,.14),transparent 75%),#081923!important;
  color:var(--zn-reading);line-height:1.5;font-synthesis:none;
}
body.site-theme-5178::selection{background:#186f6b;color:white}
body.site-theme-5178 :is(h1,h2,h3,h4,h5,h6){color:var(--zn-heading);letter-spacing:-.035em;line-height:1.2}
body.site-theme-5178 :is(a,button,[role="button"]){-webkit-tap-highlight-color:transparent}
body.site-theme-5178 :is(p,small,.meta,.muted){color:inherit}
body.site-theme-5178 :is(button,input,select,textarea){font-family:inherit}
body.site-theme-5178 :is(.shell,.main,.top-in,.top-search,.panel,.card,.table-wrap,.admin-shell,.admin-main,.section-head,.grid,.form-grid,.row){min-width:0;max-width:100%}
body.site-theme-5178 :is(.shell,.main) :is(img,svg,video,canvas){max-width:100%}
body.site-theme-5178 :is(.panel,.card,.zn-settings-group,.zn-settings-form,.zn-thread-card,.zn-listings-card,.article-card,.product-card,.market-card,.news-card,.listing-card,.marketplace-card){
  background:linear-gradient(155deg,rgba(21,47,61,.95),rgba(12,31,44,.96))!important;
  border:1px solid var(--zn-border)!important;border-radius:var(--zn-rad-lg)!important;
  box-shadow:0 7px 28px rgba(0,9,19,.12)!important;min-width:0;
}
body.site-theme-5178 :is(.panel,.card,.zn-settings-group,.zn-settings-form) :is(h2,h3,strong){max-width:100%;overflow-wrap:anywhere}
/* Buttons — one primary and one secondary affordance across the entire product. */
body.site-theme-5178 :is(.btn,button[type="submit"],.header-listing-cta){
  min-height:40px;max-width:100%;padding:10px 16px;border-radius:12px!important;
  font-weight:730;line-height:1.24;letter-spacing:-.01em;
  background:var(--zn-brand);border:1px solid transparent;color:#04251c;
  box-shadow:0 6px 18px rgba(40,193,145,.1);
  transition:background var(--zn-speed),transform var(--zn-speed),box-shadow var(--zn-speed);
}
body.site-theme-5178 :is(.btn.secondary,.btn.outline,.btn.ghost,button.secondary,button.ghost,button[type="button"]:not(.mobile-create-command):not(.nav-icon-create)){
  box-shadow:none;
}
body.site-theme-5178 :is(.btn.secondary,.btn.outline,.btn.ghost){
  background:#1a3545;color:#e5f3f8;border-color:var(--zn-border-strong)
}
body.site-theme-5178 :is(.btn,button):disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.3)}
body.site-theme-5178 :is(a,button,input,select,textarea,summary,[role="button"]):focus-visible{
  outline:3px solid #7ff1d2!important;outline-offset:2px!important;
}
body.site-theme-5178 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){
  background:#0b2130;color:#ecf8fa;border:1px solid #33505c;
  border-radius:12px;min-height:43px;max-width:100%;padding:9px 12px;
}
body.site-theme-5178 textarea{min-height:96px;resize:vertical}
body.site-theme-5178 :is(input,textarea)::placeholder{color:#8baaba;opacity:1}
body.site-theme-5178 :is(input,textarea,select):disabled{opacity:.63;cursor:not-allowed}
body.site-theme-5178 :is(label,.form-label){font-weight:620}
body.site-theme-5178 .badge{border-radius:100px;letter-spacing:0;max-width:100%;overflow-wrap:anywhere}
body.site-theme-5178 :is(.flash,.alert,.toast,.notification){border-radius:14px;overflow-wrap:anywhere}
/* Header: quiet but premium, without huge controls and duplicate sticky layers. */
body.site-theme-5178 .top{background:rgba(8,24,35,.93)!important;border-color:var(--zn-border)!important;box-shadow:0 5px 24px rgba(0,8,17,.14)!important;z-index:60}
body.site-theme-5178 .top-in{min-height:65px;gap:12px}
body.site-theme-5178 .brand{flex-shrink:0;min-width:0}
body.site-theme-5178 .brand-symbol-5159{background:linear-gradient(145deg,#42e9b1,#20aaac)}
body.site-theme-5178 .top-search{border:1px solid var(--zn-border-strong)!important;background:#102938!important;box-shadow:none!important;border-radius:14px!important}
body.site-theme-5178 .public-section-bar{background:#0b1e2d!important;border-color:var(--zn-border)!important}
body.site-theme-5178 .unified-catalog-links a{font-weight:590;white-space:nowrap}
body.site-theme-5178 .section-menu-panel{background:#132d3d!important;border:1px solid var(--zn-border-strong)!important;box-shadow:var(--zn-drop)!important}
body.site-theme-5178 .section-menu-card{border-radius:14px!important}
/* Discovery: higher information density; avoid enormous category buttons. */
body.site-theme-5178 .zn-home-5166{width:100%;max-width:1250px}
body.site-theme-5178 .zn-search-zone-5166{margin-block:12px 18px}
body.site-theme-5178 .zn-searchbar-5166{min-height:53px;box-shadow:0 8px 25px rgba(0,9,15,.14)!important}
body.site-theme-5178 .zn-searchbar-5166 input{min-height:42px!important;font-size:16px!important}
body.site-theme-5178 .zn-quick-grid-5166 a{position:relative;background:linear-gradient(156deg,#163749,#102734)!important;border-radius:18px!important;box-shadow:none!important;overflow:hidden}
body.site-theme-5178 .zn-quick-grid-5166 a::after{content:"";position:absolute;inset:auto 15% -25px 15%;height:35px;background:var(--zn-brand);opacity:.06;filter:blur(15px);pointer-events:none}
body.site-theme-5178 .zn-quick-grid-5166 a strong{font-weight:730}
body.site-theme-5178 .zn-promo-5166{background:radial-gradient(ellipse at 84% 22%,#1d6a74 0,transparent 55%),linear-gradient(110deg,#0f3b45,#112b48)!important}
body.site-theme-5178 .zn-promo-5166 h1{font-size:clamp(27px,4.3vw,56px);line-height:1.04!important}
body.site-theme-5178 .zn-promo-copy-5166>a{font-weight:760}
body.site-theme-5178 .zn-section-head-5166{gap:10px}
body.site-theme-5178 .zn-section-head-5166 h2{font-size:clamp(18px,2.8vw,25px)}
body.site-theme-5178 .zn-listing-grid-5166{grid-auto-rows:auto;align-items:stretch;gap:clamp(10px,1.5vw,18px)}
body.site-theme-5178 .zn-listing-card-5166{background:#132b3a!important;border-radius:19px!important}
body.site-theme-5178 .zn-listing-image-5166{background:#0a2130;isolation:isolate}
body.site-theme-5178 .zn-listing-body-5166{padding:clamp(9px,1.4vw,15px)!important}
body.site-theme-5178 .zn-listing-price-5166{color:#f9fcff!important;font-weight:820;letter-spacing:-.03em}
body.site-theme-5178 .zn-listing-body-5166 h3{color:#eaf2f6;font-weight:620;font-size:clamp(13px,1.7vw,16px)}
body.site-theme-5178 .zn-listing-body-5166 p{color:#99b2be;font-size:clamp(11px,1.35vw,13px)}
body.site-theme-5178 .zn-more-grid-5166 a{background:linear-gradient(150deg,#183549,#112939)!important}
/* Catalog, listings, ads, articles, conversation cards: unified visual hierarchy. */
body.site-theme-5178 :is(.product-card,.market-card,.marketplace-card,.portal-product-card,.news-card,.article-card,.listing-card){
  transition:transform var(--zn-speed),border-color var(--zn-speed);overflow:hidden
}
@media (hover:hover){body.site-theme-5178 :is(.product-card,.market-card,.marketplace-card,.portal-product-card,.news-card,.article-card,.listing-card):hover{transform:translateY(-2px);border-color:rgba(83,231,188,.4)!important}}
body.site-theme-5178 :is(.marketplace-grid,.products-grid,.listing-grid,.product-grid,.search-results,.content-grid){gap:clamp(10px,1.4vw,18px)}
body.site-theme-5178 :is(.product-card,.listing-card,.market-card,.news-card) :is(h2,h3,strong,p,small){overflow-wrap:anywhere}
body.site-theme-5178 :is(.product-card,.listing-card,.market-card,.news-card) img{display:block;max-width:100%}
body.site-theme-5178 :is(.filters,.filters-bar,.filter-bar,.search-filters){min-width:0;max-width:100%;overflow:visible}
body.site-theme-5178 :is(.filters,.filters-bar,.filter-bar,.search-filters) :is(button,select,input){max-width:100%;min-width:0}
body.site-theme-5178 :is(.tabs,.tab-row,.subnav,.profile-tabs,.zn-message-tabs){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body.site-theme-5178 :is(.tabs,.tab-row,.subnav,.profile-tabs,.zn-message-tabs)>*{flex-shrink:0}
/* Settings, profile, wallet, referrals, author and support screens. */
body.site-theme-5178 :is(.zn-settings-group,.zn-settings-theme-card,.zn-settings-form,.zn-profile-hero,.zn-profile-user,.zn-profile-links a,.zn-wallet-balance,.zn-wallet-history,.zn-thread-card,.zn-notify-item,.zn-receipt-body,.zn-receipt-info,.support-ticket,.zn-referral){border-radius:18px!important;border-color:var(--zn-border)!important;box-shadow:none!important}
body.site-theme-5178 .zn-profile-links a{background:#152e3c!important;transition:background var(--zn-speed)}
body.site-theme-5178 .zn-profile-links a:hover{background:#1c3c4d!important}
body.site-theme-5178 .zn-profile-promo{background:linear-gradient(115deg,#20546a,#263b68)!important}
body.site-theme-5178 .zn-profile-balance{background:linear-gradient(110deg,#12584c,#154457)!important}
body.site-theme-5178 .zn-message-tabs{scroll-padding:12px}
body.site-theme-5178 :is(.dialog-bubble,.message-bubble,.chat-bubble){max-width:min(84%,650px);overflow-wrap:anywhere;white-space:pre-wrap}
body.site-theme-5178 :is(.dialog-input,.chat-input,.message-compose){max-width:100%;min-width:0}
body.site-theme-5178 .form-grid{gap:14px}
/* Admin: retain functionality and present dense data without horizontal clipping. */
body.site-theme-5178.admin-body :is(.admin-shell,.admin-content,.admin-main,.admin-grid){min-width:0}
body.site-theme-5178.admin-body .admin-shell{gap:14px}
body.site-theme-5178.admin-body :is(.panel,.admin-card,.stat-card,.metric-card){background:#122d3d!important;border:1px solid var(--zn-border)!important;border-radius:17px!important}
body.site-theme-5178 .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.site-theme-5178 .table{width:100%;border-collapse:separate;border-spacing:0}
body.site-theme-5178 .table :is(th,td){padding:11px 13px;border-bottom:1px solid var(--zn-border);vertical-align:middle;overflow-wrap:break-word}
body.site-theme-5178 .table th{color:#bad3e0;font-size:12px;letter-spacing:.01em;font-weight:750}
body.site-theme-5178 .table tr:hover td{background:rgba(59,115,136,.08)}
body.site-theme-5178 :is(.table,.admin-shell) :is(.btn,button){white-space:normal}
/* Native-like mobile sheet & anchored bottom bar. */
body.site-theme-5178 .mobile-nav{box-sizing:border-box}
body.site-theme-5178 .zn-mobile-nav-5178{
  background:rgba(11,29,43,.95)!important;
  border:1px solid rgba(157,195,205,.18)!important;
  box-shadow:0 -12px 30px rgba(0,13,25,.27)!important;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
body.site-theme-5178 .zn-mobile-nav-5178 :is(a,button){min-width:0;overflow:hidden;white-space:nowrap}
body.site-theme-5178 .zn-mobile-nav-5178 :is(a,button).is-active{color:var(--zn-brand)!important}
body.site-theme-5178 .zn-mobile-nav-5178 small{font-weight:680!important;letter-spacing:-.015em}
body.site-theme-5178 .zn-mobile-nav-5178 .nav-icon-create{background:linear-gradient(140deg,#69f1c7,#30cfa7)!important;box-shadow:0 6px 18px rgba(31,192,147,.23)!important}
body.site-theme-5178 .mobile-command-backdrop{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
body.site-theme-5178 .mobile-command-sheet{border-radius:24px 24px 0 0!important;border:1px solid var(--zn-border-strong);border-bottom:0;background:#112b3a!important;color:var(--zn-reading);box-shadow:0 -20px 80px rgba(0,8,16,.35)!important;max-height:min(90dvh,830px)}
body.site-theme-5178 .mobile-sheet-head h2{font-weight:820;color:#f4f9fc}
body.site-theme-5178 .mobile-sheet-grabber{background:#647e8b}
body.site-theme-5178 :is(.mobile-more-grid,.mobile-activity-grid,.mobile-create-grid){min-width:0;max-width:100%}
body.site-theme-5178 .mobile-command-sheet a{overflow-wrap:anywhere}
/* Optional comfort reading density persists locally and never changes backend state. */
html.zn-comfort-reading body.site-theme-5178{font-size:17px;line-height:1.58}
html.zn-comfort-reading body.site-theme-5178 :is(.panel,.card){padding-block:clamp(16px,2vw,25px)}
html.zn-comfort-reading body.site-theme-5178 :is(.zn-listing-body-5166 h3,.zn-listing-body-5166 p){font-size:1em}
.zn-reading-toggle-5189{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;background:#1b3a4a;border:1px solid rgba(158,202,210,.25);border-radius:14px;padding:13px 15px;color:#f3fafb;cursor:pointer}
.zn-reading-toggle-5189 .zn-toggle-label{display:flex;flex-direction:column;gap:3px}
.zn-reading-toggle-5189 .zn-toggle-label small{font-size:12px;color:#b6cbd3}
.zn-reading-toggle-5189 .zn-toggle-track{display:inline-flex;align-items:center;width:43px;height:25px;padding:3px;border-radius:50px;background:#607786;flex:none;transition:background .2s}
.zn-reading-toggle-5189 .zn-toggle-track::before{content:"";height:19px;width:19px;border-radius:50%;background:#fff;transition:transform .2s}
.zn-reading-toggle-5189[aria-pressed="true"] .zn-toggle-track{background:#27bfa0}
.zn-reading-toggle-5189[aria-pressed="true"] .zn-toggle-track::before{transform:translateX(18px)}
/* Skeleton placeholders and visual async response, accessible motion opt-out. */
.zn-skeleton-5189{position:relative;background:#193747;border-radius:14px;overflow:hidden}
.zn-skeleton-5189::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(216,243,244,.1),transparent);transform:translateX(-110%);animation:zn-shimmer-5189 1.7s linear infinite}
@keyframes zn-shimmer-5189{to{transform:translateX(110%)}}
@media(max-width:900px){
 html{scroll-padding-top:75px}
 body.site-theme-5178 .top-in{min-height:58px}
 body.site-theme-5178 .main{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
 body.site-theme-5178 .zn-mobile-nav-5178{padding-bottom:env(safe-area-inset-bottom,0px)!important}
 body.site-theme-5178 .zn-quick-grid-5166{gap:8px}
 body.site-theme-5178 .zn-listing-grid-5166{gap:10px}
 body.site-theme-5178 .zn-listing-card-5166{border-radius:15px!important}
 body.site-theme-5178 .zn-promo-5166{border-radius:20px!important}
 body.site-theme-5178 :is(.panel,.card){border-radius:17px!important}
 body.site-theme-5178 .support-fab{bottom:calc(99px + env(safe-area-inset-bottom,0px))}
 body.site-theme-5178 .table{min-width:540px}
 body.site-theme-5178 .table-wrap{border-radius:16px;}
}
@media(max-width:430px){
 body.site-theme-5178 .shell{padding-inline:max(11px,env(safe-area-inset-left,0px))!important}
 body.site-theme-5178 .main{padding-inline:11px!important}
 body.site-theme-5178 .zn-search-zone-5166{margin-top:9px}
 body.site-theme-5178 .zn-quick-grid-5166 a{border-radius:14px!important;min-width:0}
 body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:clamp(10px,2.7vw,13px);hyphens:auto}
 body.site-theme-5178 .zn-listing-body-5166{padding:10px!important}
 body.site-theme-5178 .zn-listing-body-5166 h3{font-size:13px}
 body.site-theme-5178 .zn-listing-price-5166{font-size:16px!important}
 body.site-theme-5178 .zn-mobile-nav-5178 small{font-size:10px!important}
 body.site-theme-5178 .zn-mobile-nav-5178{left:0!important;right:0!important;max-width:100vw!important;min-width:0!important;border-radius:16px 16px 0 0!important}
 body.site-theme-5178 .zn-promo-art-5166{opacity:.72}
}
@media(max-width:340px){body.site-theme-5178 .zn-mobile-nav-5178 small{font-size:9px!important}body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:10px}}
@media(orientation:landscape) and (max-height:520px) and (max-width:900px){body.site-theme-5178 .mobile-command-sheet{max-height:94dvh;overflow-y:auto}body.site-theme-5178 .zn-mobile-nav-5178{min-height:50px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.site-theme-5178 *,body.site-theme-5178 *::after,body.site-theme-5178 *::before{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* QA polish: keep the hero heading legible at 320–430 px; six compact desktop tiles. */
@media(min-width:1050px){
 body.site-theme-5178 .zn-quick-grid-5166{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.site-theme-5178 .zn-quick-grid-5166 a{padding:14px 10px!important;min-height:98px!important}
 body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:13px!important;line-height:1.18}
}
@media(max-width:480px){
 body.site-theme-5178 .zn-promo-5166{min-height:335px!important;position:relative!important}
 body.site-theme-5178 .zn-promo-copy-5166{width:100%!important;max-width:100%!important;position:relative!important;z-index:3!important;padding:22px 18px 19px!important}
 body.site-theme-5178 .zn-promo-copy-5166 h1{font-size:clamp(28px,8vw,35px)!important;line-height:1.08!important;max-width:100%!important;margin:0 0 12px!important}
 body.site-theme-5178 .zn-promo-copy-5166 p{max-width:72%!important;font-size:12px!important;line-height:1.4!important;margin-bottom:13px!important}
 body.site-theme-5178 .zn-promo-copy-5166>a{padding:11px 13px!important;font-size:13px!important;border-radius:12px!important;gap:11px!important;max-width:100%}
 body.site-theme-5178 .zn-promo-copy-5166>a b{font-size:19px!important}
 body.site-theme-5178 .zn-promo-art-5166{width:67%!important;height:60%!important;top:auto!important;bottom:2%!important;right:-12%!important;opacity:.28!important;z-index:1!important}
 body.site-theme-5178 .zn-promo-art-5166 img{object-fit:contain!important}
}

/* Znahodka 5.191 — app UI refinements. Loaded after all legacy CSS layers.
   Minimal scoped overrides: no database/forms/URL contracts are changed. */
:root{
  --zn191-bg:#06141e;--zn191-surface:#102633;--zn191-edge:rgba(132,197,210,.18);
  --zn191-text:#edf7fa;--zn191-muted:#9db8c5;--zn191-aqua:#48eac1;
  --zn191-focus:#82fff0;--zn191-radius:18px;
}
html{overscroll-behavior-y:auto;-webkit-text-size-adjust:100%}
body.site-theme-5178{overflow-x:clip}
body.site-theme-5178 a,body.site-theme-5178 button,body.site-theme-5178 select{touch-action:manipulation}
body.site-theme-5178 :is(h1,h2,h3,h4,legend){text-wrap:balance;overflow-wrap:break-word}
body.site-theme-5178 :is(p,small,td,th,dd,.meta,.card-title,.notice,.notification-item){overflow-wrap:anywhere}
body.site-theme-5178 :is(.card,.panel,.market-card,.product-card,.listing-card,.zn-listing-card-5166,.notification-item,.profile-card,.chat-message,.support-card){min-width:0}
body.site-theme-5178 :is(.card,.panel,.market-card,.product-card,.listing-card,.zn-listing-card-5166,.notification-item){transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
@media(hover:hover) and (pointer:fine){
 body.site-theme-5178 :is(a.market-card,a.product-card,a.listing-card,a.zn-listing-card-5166):hover{border-color:rgba(77,231,194,.48)!important;box-shadow:0 13px 35px rgba(0,6,18,.32)!important;transform:translateY(-2px)}
}
body.site-theme-5178 :is(.table-wrap,.admin-table-wrap,.table-responsive){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.site-theme-5178 :is(.table-wrap,.admin-table-wrap,.table-responsive) table{width:100%;max-width:none}
body.site-theme-5178 :is(input,select,textarea){font-size:max(16px,1rem)}
body.site-theme-5178 :is(input,textarea,select):focus-visible{border-color:#50dcbe!important;box-shadow:0 0 0 3px rgba(72,234,193,.14)!important}
body.site-theme-5178 :is(.mobile-command-sheet,.site-modal-card,.zn-create-sheet-5184){box-sizing:border-box;max-width:100vw;max-height:calc(100dvh - 18px);overscroll-behavior:contain}
body.site-theme-5178 .mobile-command-sheet{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
body.site-theme-5178 .mobile-command-sheet :is(.mobile-create-grid,.mobile-more-grid,.mobile-more-account,.mobile-more-account-copy){min-width:0}
body.site-theme-5178 :is(.zn-listing-grid-5166,.zn-more-grid-5166,.mobile-more-grid-v3,.mobile-create-categories){min-width:0}
body.site-theme-5178 :is(.zn-listing-image-5166,.product-image,.market-card-image){background:linear-gradient(145deg,#153143,#0c2334)}
body.site-theme-5178 :is(.zn-listing-image-5166,.product-image,.market-card-image) img{display:block;max-width:100%;object-fit:cover}
body.site-theme-5178 :is(.zn-listing-card-5166,.product-card,.market-card) :is(h2,h3,.card-title,.product-title){word-break:normal;overflow-wrap:anywhere}
body.site-theme-5178 :is(.zn-listing-card-5166,.product-card,.market-card) :is(.price,.zn-listing-price-5166){font-variant-numeric:tabular-nums}
body.site-theme-5178 .support-fab em small{color:#a8c6cd!important}
body.site-theme-5178 :is(.flash,.alert,.error,.success,.notice){max-width:100%;overflow-wrap:anywhere}
body.site-theme-5178 :is(.mobile-nav,.zn-mobile-nav-5178){padding-bottom:max(6px,env(safe-area-inset-bottom,0px))!important}
body.site-theme-5178 :is(.mobile-nav,.zn-mobile-nav-5178) a,body.site-theme-5178 :is(.mobile-nav,.zn-mobile-nav-5178) button{min-width:0}
body.site-theme-5178 .zn-listing-grid-5166>a{min-width:0}
body.site-theme-5178 [disabled],body.site-theme-5178 [aria-disabled="true"]{cursor:not-allowed}
body.site-theme-5178 :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--zn191-focus)!important;outline-offset:3px!important}
/* One unmistakable loading state. The 5.169 poster remains a subtle branded ambient art,
   not an enormous duplicated text-heavy photo with a second progress bar. */
#site-loader[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191{
 position:fixed!important;inset:0!important;z-index:999999!important;display:grid!important;
 place-items:center!important;overflow:auto!important;padding:20px!important;
 background:radial-gradient(circle at 50% 25%,#153954 0%,#081927 45%,#020a12 100%)!important;
 backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
 opacity:1;visibility:visible;transition:opacity .2s ease,visibility .2s ease;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191.is-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191::before{inset:0!important;opacity:.12!important;filter:blur(54px)!important;background-size:cover!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191::after{background:radial-gradient(circle at 52% 62%,rgba(59,241,205,.08),transparent 60%)!important}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191 .zn-loader-window-5191{
 width:min(420px,100%)!important;height:auto!important;min-height:455px!important;
 max-width:420px!important;max-height:none!important;aspect-ratio:auto!important;
 padding:28px 25px 25px!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;gap:0!important;position:relative!important;
 background:linear-gradient(160deg,rgba(23,53,69,.97),rgba(5,20,32,.99))!important;
 border:1px solid rgba(104,226,215,.27)!important;border-radius:30px!important;
 box-shadow:0 32px 100px rgba(0,4,11,.64),inset 0 1px 0 rgba(206,255,242,.06)!important;
 isolation:isolate;
}
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191 .site-loader-image-5169,
body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191 .site-loader-shimmer-5169{display:none!important}
.zn-loader-aura-5191{pointer-events:none;position:absolute;inset:0;border-radius:inherit;overflow:hidden;z-index:-1}
.zn-loader-aura-5191::before{content:"";position:absolute;left:50%;top:31%;width:260px;height:260px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(39,243,198,.17),transparent 68%)}
.zn-loader-brand-5191{align-self:flex-start;display:flex;align-items:center;gap:11px;z-index:1}
.zn-loader-mark-5191{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#37f6ce,#43aaf4);color:#03272e;font-size:26px;font-weight:950;box-shadow:0 8px 23px rgba(25,221,195,.15)}
.zn-loader-brand-title-5191{display:block;font-size:26px;line-height:1;letter-spacing:-1.1px;font-weight:850;color:#fff}
.zn-loader-brand-title-5191>span{color:#52e9c9}
.zn-loader-brand-title-5191>small{display:block;font-size:11px;line-height:1.4;color:#a9c5d2!important;font-weight:500;letter-spacing:0;margin-top:5px}
.zn-loader-stage-5191{position:relative;flex:1;width:100%;min-height:216px;display:grid;place-items:center}
.zn-loader-ring-5191{width:170px;height:170px;display:grid;place-items:center;position:relative}
.zn-loader-ring-5191>span{position:absolute;inset:0;border-radius:36%;border:1px solid rgba(104,255,220,.32);transform:rotate(20deg);animation:zn191OrbitA 7s linear infinite}
.zn-loader-ring-5191>span:nth-child(2){inset:16px;border-color:rgba(102,180,255,.38);transform:rotate(-20deg);animation:zn191OrbitB 5s linear infinite}
.zn-loader-ring-5191>span:nth-child(3){inset:32px;background:linear-gradient(130deg,rgba(50,230,192,.18),rgba(34,113,177,.24));border:1px solid rgba(111,255,218,.16);border-radius:30px;box-shadow:0 0 60px rgba(25,224,190,.14);animation:zn191Pulse 2.6s ease-in-out infinite}
.zn-loader-ring-5191>i{z-index:2;font-style:normal;font-size:64px;font-weight:900;color:#7bffe3;text-shadow:0 0 45px rgba(42,240,198,.45)}
.zn-loader-bottom-5191{width:100%;text-align:center;margin-top:auto;display:grid;justify-items:center;gap:8px}
.zn-loader-bottom-5191 strong{font-size:21px;font-weight:750;letter-spacing:-.5px;color:#effdff!important;line-height:1.24}
.zn-loader-bottom-5191 small{font-size:13px;color:#9ebecd!important;line-height:1.5;max-width:300px}
.zn-loader-bottom-5191 p{margin:13px 0 0;color:#718f9c!important;font-size:11px;letter-spacing:.15px}
.zn-loader-track-5191{width:100%;height:5px;background:#163a49;border-radius:20px;overflow:hidden;margin-top:14px;box-shadow:inset 0 1px 3px rgba(0,0,0,.24)}
.zn-loader-track-5191 span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#49a8f4,#52f1ca);box-shadow:0 0 16px rgba(72,241,203,.6);animation:zn191Travel 1.6s ease-in-out infinite}
@keyframes zn191OrbitA{to{transform:rotate(380deg)}}
@keyframes zn191OrbitB{to{transform:rotate(-380deg)}}
@keyframes zn191Pulse{50%{opacity:.65;transform:scale(.94)}}
@keyframes zn191Travel{0%{transform:translateX(-110%)}50%{transform:translateX(135%)}100%{transform:translateX(275%)}}
/* Inline image/skeleton state improves perceived loading, without blocking links or clicks. */
body.site-theme-5178 img.zn-media-pending-5191{opacity:.22;transition:opacity .25s ease}
body.site-theme-5178 img.zn-media-ready-5191{opacity:1;transition:opacity .25s ease}
/* Small connectivity alert appears only when browser reports an actual change. */
.zn-connection-toast-5191{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom,0px));max-width:min(350px,calc(100vw - 24px));width:max-content;transform:translateX(-50%) translateY(12px);opacity:0;z-index:9500;pointer-events:none;border-radius:14px;padding:11px 15px;color:#f3fbff;background:#132f3d;border:1px solid rgba(120,231,211,.3);box-shadow:0 15px 45px rgba(0,6,13,.5);font-size:13px;font-weight:600;transition:transform .2s ease,opacity .2s ease}
.zn-connection-toast-5191.is-visible{opacity:1;transform:translateX(-50%)}
@media(min-width:901px){.zn-connection-toast-5191{bottom:28px}}
@media(max-width:420px){
 body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191{padding:13px!important}
 body.site-theme-5167.site-theme-5168.site-theme-5169 .site-loader-5191 .zn-loader-window-5191{min-height:min(500px,calc(100dvh - 26px))!important;border-radius:24px!important;padding:24px 22px!important}
 .zn-loader-brand-title-5191{font-size:24px}
 .zn-loader-stage-5191{min-height:178px}
 .zn-loader-ring-5191{transform:scale(.9)}
 body.site-theme-5178 .zn-listing-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.site-theme-5178 .zn-listing-card-5166{min-width:0!important}
 body.site-theme-5178 .zn-listing-body-5166 h3{font-size:12.5px!important;line-height:1.35!important}
 body.site-theme-5178 .zn-listing-price-5166{font-size:15px!important}
 body.site-theme-5178 .zn-listing-body-5166{padding:10px!important}
 body.site-theme-5178 .top-search{max-width:100%!important}
}
@media(max-width:340px){body.site-theme-5178 .zn-quick-grid-5166{gap:5px!important}body.site-theme-5178 .zn-quick-grid-5166 strong{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){
 body.site-theme-5178 :is(.card,.panel,.market-card,.product-card,.listing-card,.zn-listing-card-5166),.zn-loader-ring-5191>span,.zn-loader-track-5191 span,.zn-connection-toast-5191{animation:none!important;transition:none!important;transform:none!important}
 .zn-loader-ring-5191>span:nth-child(3){animation:none!important}
 .zn-loader-track-5191 span{width:62%!important}
}

/* --- upgrade-5192-account.css --- */
/* Znahodka 5.192 — clear, mobile-first account controls + shared account preferences. */
body.page-account_settings .zn-settings-head{align-items:center}
body.page-account_settings .zn-settings-theme-card{grid-template-columns:52px minmax(0,1fr) 60px;position:relative}
body.page-account_settings .zn-settings-switch{display:block;cursor:pointer}
body.page-account_settings .zn-settings-switch input:focus-visible+i{outline:3px solid #74ddf5;outline-offset:3px}
body.page-account_settings .zn-settings-fallback-save{grid-column:2 / -1;justify-self:end;background:transparent;color:#8edfd8;border:0;font-weight:700;padding:0;font-size:12px;cursor:pointer}
body.page-account_settings .zn-settings-fallback-save:disabled{opacity:.5}
body.page-account_settings .zn-account-save-state{min-height:0;font-size:13px;padding:0 12px;line-height:1.4}
body.page-account_settings .zn-account-save-state:not(:empty){min-height:36px;padding:9px 13px;border-radius:13px;background:#0c2b37;color:#aee9e3;border:1px solid #23515a}
body.page-account_settings .zn-account-save-state[data-state="error"]{color:#ffd9db;background:#481b2a;border-color:#9d3c54}
body.page-account_settings .zn-account-save-state[data-state="saving"]{color:#a8bdd4;background:#10283f}
body.page-account_settings .zn-account-save-state[data-state="pending"]{color:#f5e3ac}
body.page-account_settings .zn-settings-row-static{cursor:default}
body.page-account_settings .zn-settings-row-static:hover{background:transparent}
body.page-account_settings .zn-account-detail-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:17px;padding:9px 12px;border-radius:12px;border:1px solid rgba(111,193,204,.25);color:#b6e8ec;font-weight:700;background:#102c40}
body.page-account_settings.zn-detail-open #settings-home{display:none!important}
body.page-account_settings .zn-settings-detail.is-invalid{display:block!important}
body.page-account_settings .zn-settings-detail:target{scroll-margin-top:100px}
body.page-account_settings .zn-appearance-choice{min-width:0}
body.page-account_settings .zn-appearance-choice:focus-visible{outline:3px solid #76e0d4;outline-offset:3px}
body.page-account_settings .account-privacy-grid .check-row,body.page-account_settings .account-notification-form label{cursor:pointer}
body.page-account_settings input,body.page-account_settings select,body.page-account_settings textarea{max-width:100%}
body.page-account_settings .account-center-section-head h2,body.page-account_settings .account-center-section-head p{overflow-wrap:anywhere}
body.page-account_settings .account-center-section form button[type="submit"]{min-height:44px}
/* The density option is applied to every page, not merely the settings preview. */
body.zn-density-compact .shell.main{padding-top:12px}
body.zn-density-compact .panel{padding:clamp(12px,1.5vw,19px)}
body.zn-density-compact .btn:not(.small){padding:8px 12px}
body.zn-density-compact .section-head{margin-bottom:12px}
body.zn-density-compact .listing-card,body.zn-density-compact .market-card,body.zn-density-compact .product-card{gap:8px}
/* Light preference: keep contrast on content, forms and navigation, while preserving photographs and brand accents. */
body.zn-theme-light,body.zn-theme-system{color-scheme:light}
body.zn-theme-light{--bg:#f3f5f9;--card:#fff;--ink:#172537;--muted:#5c6a7c;--line:#dbe3ed;background:#f3f5f9!important;color:#172537!important}
body.zn-theme-light .top,body.zn-theme-light .public-section-bar,body.zn-theme-light .panel,body.zn-theme-light .zn-settings-theme-card,body.zn-theme-light .zn-settings-group,body.zn-theme-light .account-center-section.zn-settings-detail{background:#fff!important;color:#18283b!important;border-color:#d9e4ed!important;box-shadow:0 10px 35px rgba(18,53,83,.06)!important}
body.zn-theme-light .zn-settings-head h1,body.zn-theme-light .zn-settings-detail h2,body.zn-theme-light .zn-settings-row-copy b,body.zn-theme-light .account-center-section strong,body.zn-theme-light .account-center-section b{color:#172536!important}
body.zn-theme-light .zn-settings-head p,body.zn-theme-light .zn-settings-row-copy small,body.zn-theme-light .zn-settings-label,body.zn-theme-light .account-center-section p,body.zn-theme-light .account-center-section small{color:#596b7f!important}
body.zn-theme-light .zn-settings-row{border-color:#e1e8f0}
body.zn-theme-light .zn-settings-row:hover{background:#f5f9fc}
body.zn-theme-light .zn-settings-back,body.zn-theme-light .zn-account-detail-back{background:#eaf1f8;color:#244358}
body.zn-theme-light input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body.zn-theme-light select,body.zn-theme-light textarea{background:#f7faff!important;color:#18283c!important;border-color:#bfcfdf!important}
body.zn-theme-light .zn-appearance-choice{background:#f4f8fc;color:#1f3447;border-color:#bacfe0}
body.zn-theme-light .zn-appearance-choice small{color:#63778b}
body.zn-theme-light .zn-appearance-choice.is-active{border-color:#119e89;background:#e9f9f3}
body.zn-theme-light .top-search{background:#f7f9fc;border-color:#d6e3ed}
body.zn-theme-light .top-search input{color:#172536!important}
@media (prefers-color-scheme:light){
  body.zn-theme-system{--bg:#f3f5f9;--card:#fff;--ink:#172537;--muted:#5c6a7c;--line:#dbe3ed;background:#f3f5f9!important;color:#172537!important}
  body.zn-theme-system .panel,body.zn-theme-system .top,body.zn-theme-system .public-section-bar,body.zn-theme-system .zn-settings-group,body.zn-theme-system .zn-settings-theme-card,body.zn-theme-system .account-center-section.zn-settings-detail{background:#fff!important;color:#172537!important;border-color:#d9e4ed!important}
  body.zn-theme-system .zn-settings-row-copy b,body.zn-theme-system .zn-settings-head h1,body.zn-theme-system .account-center-section h2{color:#172536!important}
  body.zn-theme-system .zn-settings-row-copy small{color:#596b7f!important}
}
@media (max-width:640px){
 body.page-account_settings .zn-settings-theme-card{grid-template-columns:46px minmax(0,1fr) 60px}
 body.page-account_settings .zn-settings-row{min-width:0}
 body.page-account_settings .zn-settings-row-copy b{overflow-wrap:anywhere}
 body.page-account_settings .account-center-section.zn-settings-detail{padding:15px!important}
 body.page-account_settings .zn-appearance-choice{min-height:89px}
 body.page-account_settings .zn-settings-detail-bar{margin-top:3px}
}
@media (prefers-reduced-motion:reduce){body.page-account_settings .zn-settings-detail:target{animation:none!important}}

body.page-account_settings .zn-choice-radio{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
body.page-account_settings .zn-appearance-choice{position:relative;cursor:pointer}
body.page-account_settings .zn-appearance-choice:has(.zn-choice-radio:focus-visible){outline:3px solid #67e4d1;outline-offset:3px}

/* --- upgrade-5193-app.css --- */
/* ZNAHODKA 5.193 / deliberate browser vs installed-app design language. */
:root{--zn193-accent:#16cfa6;--zn193-blue:#60a5fa;--zn193-radius:18px}
body.site-theme-5178{--zn193-bg:#0b1621;--zn193-surface:#132331;--zn193-surface-2:#1a2d3b;--zn193-border:#294352;--zn193-text:#eaf6fa;--zn193-muted:#9fb7c5;--zn193-input:#0e2231;--zn193-hover:#233e4e;color-scheme:dark}
body.site-theme-5178.zn-theme-dark{background:#0b1621!important;color:var(--zn193-text)!important}
body.site-theme-5178.zn-theme-system:not(.zn-effective-light){background:#0b1621!important;color-scheme:dark}
/* Previous versions attached numerous dark-only backgrounds to page sections and cards.
   A terminal theme layer must retheme the whole application, not just .panel. */
body.site-theme-5178.zn-effective-light,
body.site-theme-5178.zn-theme-light{
 --zn193-bg:#f2f5f9;--zn193-surface:#fff;--zn193-surface-2:#eef3f8;
 --zn193-border:#d7e2ec;--zn193-text:#172837;--zn193-muted:#566c7e;
 --zn193-input:#f6f9fc;--zn193-hover:#e9f2f8;
 --zn-base:#f2f5f9;--zn-tile:#fff;--zn-tile-alt:#f5f8fb;
 --zn-border:#d7e2ec;--zn-border-strong:#b8cedb;--zn-heading:#132735;
 --zn-reading:#213748;--zn-secondary:#627888;--zn-app-text:#172837;
 --bg:#f2f5f9;--card:#fff;--ink:#172837;--muted:#566c7e;--line:#d7e2ec;
 --zn-app-bg:#f2f5f9;--zn-app-card:#fff;--zn-app-stroke:#d7e2ec;
 color-scheme:light;background:#f2f5f9!important;color:#172837!important;
}
@media (prefers-color-scheme: light){body.site-theme-5178.zn-theme-system{color-scheme:light}}
body.site-theme-5178.zn-effective-light .main,
body.site-theme-5178.zn-theme-light .main{background:transparent!important;color:var(--zn193-text)!important}
body.site-theme-5178.zn-effective-light :is(.panel,.card,.card-body,.category-card,.product-card,.product-tile,.market-card,.listing-card,.listing-tile,.news-card,.article-card,.events-story-card,.events-featured,.zn-listing-card-5166,.zn-quick-grid-5166 a,.zn-settings-group,.zn-settings-theme-card,.zn-settings-detail,.account-center-section,.profile-card,.profile-summary,.profile-info,.inbox-thread,.message-card,.forum-card,.forum-topic-card,.forum-category-card,.admin-panel,.metric-card,.stat-card,.ops-metric-grid>a,.report-command-card,.section-menu-panel,.section-menu-card,.table-wrap,.mobile-command-sheet,.mobile-more-grid a,.mobile-more-account,.mobile-menu-group,.notification-push-card,.notification-channel-grid>.check-row),
body.site-theme-5178.zn-theme-light :is(.panel,.card,.card-body,.category-card,.product-card,.product-tile,.market-card,.listing-card,.listing-tile,.news-card,.article-card,.events-story-card,.events-featured,.zn-listing-card-5166,.zn-quick-grid-5166 a,.zn-settings-group,.zn-settings-theme-card,.zn-settings-detail,.account-center-section,.profile-card,.profile-summary,.profile-info,.inbox-thread,.message-card,.forum-card,.forum-topic-card,.forum-category-card,.admin-panel,.metric-card,.stat-card,.ops-metric-grid>a,.report-command-card,.section-menu-panel,.section-menu-card,.table-wrap,.mobile-command-sheet,.mobile-more-grid a,.mobile-more-account,.mobile-menu-group,.notification-push-card,.notification-channel-grid>.check-row){
 background:var(--zn193-surface)!important;color:var(--zn193-text)!important;
 border-color:var(--zn193-border)!important;box-shadow:0 5px 18px rgba(32,61,91,.05)!important;
}
body.site-theme-5178.zn-effective-light :is(h1,h2,h3,h4,h5,h6,strong,.zn-listing-price-5166,.zn-listing-body-5166 h3,.section-head h2,.account-center-section b,.admin-shell h2,.nav-link),
body.site-theme-5178.zn-theme-light :is(h1,h2,h3,h4,h5,h6,strong,.zn-listing-price-5166,.zn-listing-body-5166 h3,.section-head h2,.account-center-section b,.admin-shell h2,.nav-link){color:var(--zn193-text)!important}
body.site-theme-5178.zn-effective-light :is(.meta,.muted,.subtle,small,.zn-listing-body-5166 p,.events-story-copy small,.profile-meta,.admin-page-head p,.setting-description),
body.site-theme-5178.zn-theme-light :is(.meta,.muted,.subtle,small,.zn-listing-body-5166 p,.events-story-copy small,.profile-meta,.admin-page-head p,.setting-description){color:var(--zn193-muted)!important}
body.site-theme-5178.zn-effective-light :is(.top,.public-section-bar,.mobile-bottom-nav,.mobile-nav,.mobile-command-bar,.nav-bottom,.bottom-navigation,.mobile-more-head,.admin-sidebar,.admin-nav,.top-search),
body.site-theme-5178.zn-theme-light :is(.top,.public-section-bar,.mobile-bottom-nav,.mobile-nav,.mobile-command-bar,.nav-bottom,.bottom-navigation,.mobile-more-head,.admin-sidebar,.admin-nav,.top-search){background:#fff!important;color:var(--zn193-text)!important;border-color:var(--zn193-border)!important;box-shadow:0 3px 14px rgba(46,71,92,.045)!important}
body.site-theme-5178.zn-effective-light :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.top-search input),
body.site-theme-5178.zn-theme-light :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.top-search input){background:var(--zn193-input)!important;color:var(--zn193-text)!important;border-color:var(--zn193-border)!important}
body.site-theme-5178.zn-effective-light :is(input,textarea)::placeholder,
body.site-theme-5178.zn-theme-light :is(input,textarea)::placeholder{color:#6f8293!important;opacity:1}
body.site-theme-5178.zn-effective-light :is(a,.unified-catalog-links a,.public-section-bar a,.mobile-more-grid a,.section-menu-card,.admin-nav a,.account-top-link),
body.site-theme-5178.zn-theme-light :is(a,.unified-catalog-links a,.public-section-bar a,.mobile-more-grid a,.section-menu-card,.admin-nav a,.account-top-link){color:#1c475b}
body.site-theme-5178.zn-effective-light :is(.btn.secondary,.btn.ghost,.btn.outline,.zn-settings-back,.zn-account-detail-back),
body.site-theme-5178.zn-theme-light :is(.btn.secondary,.btn.ghost,.btn.outline,.zn-settings-back,.zn-account-detail-back){background:#eaf2f7!important;color:#25435a!important;border-color:#cadae5!important}
body.site-theme-5178.zn-effective-light :is(.badge,.tag),
body.site-theme-5178.zn-theme-light :is(.badge,.tag){color:#214b5d;background:#e6f2f3;border-color:#c9dfdf}
body.site-theme-5178.zn-effective-light :is(th,td),body.site-theme-5178.zn-theme-light :is(th,td){color:var(--zn193-text);border-color:var(--zn193-border)}
body.site-theme-5178.zn-effective-light :is(.flash,.alert,.toast),body.site-theme-5178.zn-theme-light :is(.flash,.alert,.toast){background:#ecf3f7;color:#193549;border-color:#c6d8e5}
/* Keep identity accents intentional across themes. */
body.site-theme-5178 :is(.btn.primary,button[type=submit]:not(.secondary),.header-listing-cta){background:#30ddb5!important;color:#063428!important;border:0!important}
body.site-theme-5178 :is(.btn,.panel,.market-card,.listing-card,.zn-listing-card-5166){max-width:100%;min-width:0}
body.site-theme-5178 :is(h1,h2,h3,h4,summary,p,.text,.description){overflow-wrap:anywhere}
body.site-theme-5178 :is(img,video){max-width:100%;height:auto}
body.site-theme-5178 .zn-device-manager{display:grid;gap:12px}
body.site-theme-5178 .zn-device-row{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid var(--zn193-border);border-radius:15px;background:var(--zn193-surface-2);padding:12px 15px}
body.site-theme-5178 .zn-device-row>div{min-width:0;display:grid;gap:3px}
body.site-theme-5178 .zn-device-row small{font-size:12px;color:var(--zn193-muted)}
body.site-theme-5178 .zn-device-row strong{font-size:14px;color:var(--zn193-text)}
body.site-theme-5178 .zn-device-row button{flex-shrink:0}
/* Site = information-dense desktop experience. App = minimal chrome + tap ergonomics. */
body.site-theme-5178.zn-browser-shell:not(.zn-app-shell) .shell.main{padding-top:clamp(12px,2vw,24px)}
body.site-theme-5178.zn-browser-shell:not(.zn-app-shell) .top-in{min-height:61px}
body.site-theme-5178.zn-app-shell{--zn193-radius:15px;background:var(--zn193-bg)!important}
body.site-theme-5178.zn-app-shell .top{position:sticky;top:0;z-index:65;box-shadow:none!important;backdrop-filter:blur(20px)}
body.site-theme-5178.zn-app-shell .top-in{min-height:54px;padding-inline:max(12px,env(safe-area-inset-left),env(safe-area-inset-right))}
body.site-theme-5178.zn-app-shell :is(.public-section-bar,.support-fab,.author-top-cta){display:none!important}
body.site-theme-5178.zn-app-shell :is(.panel,.card,.market-card,.listing-card,.events-story-card,.zn-listing-card-5166){border-radius:16px!important;box-shadow:none!important}
body.site-theme-5178.zn-app-shell .shell.main{padding-top:10px;padding-bottom:calc(100px + env(safe-area-inset-bottom));min-height:calc(100dvh - 160px)}
body.site-theme-5178.zn-app-shell :is(.btn,button,select){min-height:42px}
body.site-theme-5178.zn-app-shell :is(.mobile-bottom-nav,.mobile-command-bar,.bottom-navigation){padding-bottom:env(safe-area-inset-bottom)!important;box-shadow:none!important}
body.site-theme-5178.zn-native-app [data-app-install],body.site-theme-5178.zn-app-shell .zn193-install-prompt{display:none!important}
body.site-theme-5178 .zn193-install-prompt{margin:10px 0 16px;border:1px solid var(--zn193-border);background:var(--zn193-surface);border-radius:18px;padding:14px;display:flex;gap:12px;align-items:center;box-shadow:0 9px 25px rgba(0,0,0,.08)}
body.site-theme-5178 .zn193-install-prompt .zn193-logo{background:#20bf9c;color:#06291c;border-radius:14px;width:45px;height:45px;display:grid;place-items:center;font-size:24px;font-weight:900;flex-shrink:0}
body.site-theme-5178 .zn193-install-prompt .zn193-copy{min-width:0;flex:1;display:grid;gap:3px}
body.site-theme-5178 .zn193-install-prompt .zn193-copy strong{color:var(--zn193-text);font-size:14px}
body.site-theme-5178 .zn193-install-prompt .zn193-copy small{color:var(--zn193-muted);font-size:12px}
body.site-theme-5178 .zn193-install-prompt .zn193-actions{display:flex;gap:7px;align-items:center}
body.site-theme-5178 .zn193-install-prompt .zn193-actions a{padding:9px 12px;text-decoration:none;background:#20cba4;color:#052c21;border-radius:10px;font-size:12px;font-weight:800;white-space:nowrap}
body.site-theme-5178 .zn193-install-prompt .zn193-actions button{border:0;background:transparent;color:var(--zn193-muted);font-size:22px;padding:5px;min-height:36px;cursor:pointer}
/* In-app news feed and admin should not require endless scrolling through giant controls. */
body.site-theme-5178 .admin-shell{gap:clamp(10px,1.7vw,22px)}
body.site-theme-5178 .admin-main{min-width:0;max-width:100%}
body.site-theme-5178 :is(.admin-grid-2,.admin-grid-3,.ops-metric-grid,.form-grid-2){min-width:0}
body.site-theme-5178 .admin-main :is(input,select,textarea){max-width:100%}
body.site-theme-5178 .zn193-admin-summary{display:flex;align-items:center;gap:12px;margin:0 0 16px;flex-wrap:wrap}
body.site-theme-5178 .zn193-admin-summary strong{font-size:14px}
body.site-theme-5178 .zn193-admin-summary small{color:var(--zn193-muted)}
body.site-theme-5178 .zn193-agency-table{overflow-x:auto}
body.site-theme-5178 .zn193-agency-table table{width:100%;min-width:650px;border-collapse:collapse}
body.site-theme-5178 .zn193-agency-table td,body.site-theme-5178 .zn193-agency-table th{text-align:left;padding:11px;border-bottom:1px solid var(--zn193-border)}
body.site-theme-5178 .site-loader.site-loader-5191 .zn-loader-window-5191{max-width:min(88vw,335px)!important;padding:22px!important;box-shadow:0 17px 55px rgba(0,0,0,.28)!important;border-radius:22px!important}
body.site-theme-5178 .site-loader.site-loader-5191{backdrop-filter:blur(5px)!important}
@media(max-width:650px){
 body.site-theme-5178 .zn193-install-prompt{padding:11px;align-items:start}
 body.site-theme-5178 .zn193-install-prompt .zn193-actions{align-self:center}
 body.site-theme-5178 .zn193-install-prompt .zn193-actions a{padding:9px;font-size:11px}
 body.site-theme-5178 .zn-device-row{padding:10px;gap:8px}
 body.site-theme-5178 .zn193-agency-table{margin:0 -10px}
 body.site-theme-5178.zn-browser-shell .shell.main{padding-inline:12px}
}
@media(max-width:370px){body.site-theme-5178 .zn193-install-prompt .zn193-logo{display:none}}
@media(prefers-reduced-motion:reduce){body.site-theme-5178 *,body.site-theme-5178 *::before,body.site-theme-5178 *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* --- upgrade-5196-management.css --- */
/* Znahodka v5.196 — management and referrals, additive responsive UI */
body.admin-body .admin-main{min-width:0}
body.admin-body .admin-page-head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
body.admin-body .admin-page-head h1{letter-spacing:-.04em}
body.admin-body .admin-filter-bar,.admin-bulk-toolbar,.users-result-summary{border-radius:18px;box-shadow:none}
body.admin-body .admin-filter-main-wide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.admin-body .admin-filter-main-wide .field{min-width:0}
body.admin-body .admin-filter-main-wide input,body.admin-body .admin-filter-main-wide select{width:100%;max-width:100%}
body.admin-body .users-quick-filters{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body.admin-body .users-quick-filters a{flex:0 0 auto;white-space:nowrap}
body.admin-body .admin-user-actions{display:flex;flex-wrap:wrap;gap:6px}
body.admin-body .admin-user-actions form{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
body.admin-body .admin-restriction-reason{width:175px;min-width:125px;font-size:12px;min-height:36px;padding:8px 10px;border-radius:10px}
body.admin-body .admin-bulk-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px}
body.admin-body .admin-bulk-toolbar input[name=bulk_reason]{min-width:min(100%,220px);flex:1}
body.admin-body .users-result-summary{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.admin-body .user-mobile-card{border-radius:18px}
body.admin-body .zn-mobile-select{display:inline-flex;gap:7px;align-items:center;font-size:13px;cursor:pointer;padding:8px 10px;border-radius:12px;background:var(--surface-2,rgba(130,150,180,.12))}
body.admin-body .zn-mobile-select input{width:18px;height:18px;accent-color:#17c59e}
body.admin-body .referral-review-row form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.admin-body .referral-review-row input[name=review_reason]{flex:1;min-width:160px;min-height:38px;padding:8px 11px;border-radius:10px}
body.admin-body .referral-review-row small.meta{display:block;max-width:350px;overflow-wrap:anywhere}
body.admin-body .admin-main .table-wrap{max-width:100%;overflow-x:auto}
@media (max-width:1000px){body.admin-body .admin-filter-main-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){body.admin-body .admin-main{padding-left:10px;padding-right:10px}body.admin-body .admin-filter-main-wide{grid-template-columns:1fr}body.admin-body .admin-bulk-toolbar{align-items:stretch;flex-direction:column}body.admin-body .admin-bulk-toolbar>*{width:100%}body.admin-body .admin-bulk-toolbar input[name=bulk_reason]{min-width:0}body.admin-body .user-mobile-actions{display:flex;gap:8px;flex-wrap:wrap}body.admin-body .referral-review-row{display:flex;flex-wrap:wrap;gap:12px}body.admin-body .referral-review-row form{width:100%}body.admin-body .referral-review-row input[name=review_reason]{width:100%}}
@media (prefers-reduced-motion:reduce){body.admin-body .admin-main *,body.admin-body .admin-main *::before,body.admin-body .admin-main *::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* --- upgrade-5197-stability.css --- */
/* 5.197: terminal light/dark palette and dependable mobile admin drawer. */
html{background:#081923;color-scheme:dark}
html.zn-effective-light{background:#f2f5f9!important;color-scheme:light}
body.site-theme-5178.zn-theme-dark,body.site-theme-5178.zn-theme-system:not(.zn-effective-light){background:#0b1621!important;color:#e9f3f7!important}
body.site-theme-5178.zn-effective-light{background:#f2f5f9!important;color:#172837!important}
body.site-theme-5178.zn-effective-light :is(.admin-shell,.admin-main,.admin-dashboard-v3,.admin-dashboard-lower-5171,.admin-welcome-5171,.admin-shell-content,.admin-page-head,.admin-metrics,.admin-metric-grid,.admin-welcome,.admin-settings,.admin-body,.admin-layout,.shell.main,.zn-home-5166,.main){background:#f2f5f9!important;color:#172837!important}
body.site-theme-5178.zn-effective-light :is(.admin-kpi-5171,.admin-dashboard-panel-5171,.admin-dashboard-card-5171,.admin-card,.admin-panel,.admin-chart,.admin-widget,.admin-feed,.admin-globalbar-5171,.admin-sidebar,.admin-operator-card,.admin-live-strip,.admin-global-search-5171,.admin-nav-search,.zn-glass,.zn-settings-group,.zn-settings-card,.zn-settings-detail,.site-modal-card,.zn-message-hero,.zn-chat-shell,.zn-bubble,.mobile-command-sheet,.account-center-section,.account-center-card,.zn-home-feed,.zn-popular-5166,.zn-more-sections-5166,.footer,.top,.mobile-nav,.public-section-bar){background:#fff!important;background-image:none!important;color:#172837!important;border-color:#d4e1e9!important;box-shadow:0 5px 18px rgba(25,58,80,.055)!important}
body.site-theme-5178.zn-effective-light :is(.admin-kpi-5171,.admin-kpi-5171 *,.admin-welcome-5171 *,.admin-sidebar *,.admin-globalbar-5171 *,.zn-message-hero *,.zn-chat-shell *,.footer *,h1,h2,h3,h4,h5,h6,p,label,small,strong,.muted,.meta,.text,.description){color:inherit}
body.site-theme-5178.zn-effective-light :is(.admin-welcome-5171 h1,.admin-kpi-value-5171,.admin-kpi-head-5171,.admin-panel h2,.zn-message-hero h1,.zn-chat-head h2,.footer strong){color:#172837!important}
body.site-theme-5178.zn-effective-light :is(.admin-kpi-foot-5171,.admin-welcome-5171 p,.admin-nav-section,.admin-nav-section span,.admin-sidebar-status small,.admin-kpi-head-5171 span,.footer small,.footer p,.zn-message-hero p){color:#526e80!important}
body.site-theme-5178.zn-effective-light :is(.admin-sidebar a,.admin-sidebar button,.admin-globalbar-5171 a,.mobile-nav a,.mobile-more-grid a){color:#264a60!important}
body.site-theme-5178.zn-effective-light :is(.admin-sidebar a.active,.mobile-nav a.is-active){background:#d7f7ed!important;color:#086657!important;border-color:#9de2d0!important}
body.site-theme-5178.zn-effective-light :is(.admin-date-chip-5171,.admin-global-search-5171 input,.top-search,.top-search input,.admin-nav-search input,.zn-message-search input){background:#f1f6fb!important;color:#193648!important;border-color:#d4e1e9!important}
body.site-theme-5178.zn-effective-light :is(.zn-glass,.admin-kpi-5171,.admin-panel,.panel) :is(a:not(.btn),small){color:#33687a}
body.site-theme-5178.zn-effective-light :is(.btn,.admin-create-5171,.mobile-create-command,.header-listing-cta){color:#052d2a!important}
body.site-theme-5178.zn-effective-light :is(.btn.secondary,.btn.ghost){color:#225369!important}
/* Dark mode explicitly restores the page canvas after legacy light-only preview classes. */
body.site-theme-5178.zn-theme-dark .admin-main,body.site-theme-5178.zn-theme-dark .admin-shell{background:#081923!important}
/* Mobile control: older CSS uses admin-menu-open, newer CSS uses admin-drawer-open. */
@media(max-width:820px){
 body.admin-body.site-theme-5171 .admin-menu-toggle{pointer-events:auto!important;touch-action:manipulation;cursor:pointer;z-index:160!important}
 body.admin-body.site-theme-5171 .admin-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;z-index:155!important;transition:transform .2s ease,visibility .2s ease!important}
 body.admin-body.site-theme-5171:is(.admin-drawer-open,.admin-menu-open) .admin-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
 body.admin-body.site-theme-5171 .admin-drawer-backdrop{position:fixed!important;inset:0!important;z-index:150!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;display:block!important}
 body.admin-body.site-theme-5171:is(.admin-drawer-open,.admin-menu-open) .admin-drawer-backdrop{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
}
@media(prefers-reduced-motion:reduce){body.admin-body.site-theme-5171 .admin-sidebar{transition:none!important}}
/* Readable admin dashboard in both themes, including the dark header shown in reports. */
body.admin-body.site-theme-5171:not(.zn-effective-light) .admin-welcome-5171 h1{color:#ebf7fc!important}
body.admin-body.site-theme-5171:not(.zn-effective-light) .admin-welcome-5171 p{color:#9ab6c7!important}
body.admin-body.site-theme-5171:not(.zn-effective-light) .admin-kpi-head-5171,body.admin-body.site-theme-5171:not(.zn-effective-light) .admin-kpi-head-5171 span{color:#b1c9d6!important}
@media(max-width:620px){
 body.admin-body.site-theme-5171 .admin-kpi-grid-5171{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
 body.admin-body.site-theme-5171 .admin-kpi-5171{min-width:0!important;min-height:142px!important;max-width:none!important;padding:13px!important;margin:0!important;border-radius:16px!important}
 body.admin-body.site-theme-5171 .admin-kpi-head-5171{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px!important;line-height:1.3!important}
 body.admin-body.site-theme-5171 .admin-kpi-icon-5171{width:29px!important;height:29px!important;min-width:29px!important;font-size:16px!important}
 body.admin-body.site-theme-5171 .admin-kpi-value-5171{font-size:clamp(26px,7vw,36px)!important;line-height:1.2!important}
 body.admin-body.site-theme-5171 .admin-kpi-foot-5171{font-size:11px!important;gap:6px!important}
 body.admin-body.site-theme-5171 .admin-spark-5171{display:none!important}
 body.admin-body.site-theme-5171 .admin-welcome-5171{gap:14px!important;margin-bottom:15px!important}
 body.admin-body.site-theme-5171 .admin-welcome-5171 h1{font-size:clamp(23px,6.5vw,29px)!important;line-height:1.2!important}
 body.admin-body.site-theme-5171 .admin-welcome-actions-5171{flex-direction:column!important;align-items:stretch!important;gap:8px!important}
 body.admin-body.site-theme-5171 .admin-date-chip-5171,body.admin-body.site-theme-5171 .admin-create-5171{min-height:42px!important;justify-content:center!important}
}
@media(max-width:340px){body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:1fr!important}body.admin-body.site-theme-5171 .admin-kpi-5171{min-height:105px!important}}

/* --- upgrade-5198-simplified.css --- */
/* Знаходка 5.198: unified, calm marketplace + compact administration.
   Loaded last. This is intentionally independent of legacy theme previews. */
:root{--zn-radius:14px;--zn-space:16px;--zn-mint:#22c9a7;--zn-ease:cubic-bezier(.2,.75,.2,1)}
html{scroll-behavior:smooth}
html,body{min-width:0;max-width:100%;overflow-x:clip}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:-.01em}
body.site-theme-5178.zn-effective-light{--zn-page:#f5f7f8;--zn-panel:#fff;--zn-ink:#162c34;--zn-secondary:#607580;--zn-line:#dce5e9;--zn-input:#f9fbfc;color-scheme:light}
body.site-theme-5178:not(.zn-effective-light){--zn-page:#0e1c25;--zn-panel:#132834;--zn-ink:#edf6f7;--zn-secondary:#aac0c9;--zn-line:#2b4654;--zn-input:#122632;color-scheme:dark}
body.site-theme-5178:is(.zn-theme-dark,.zn-theme-light,.zn-theme-system){background:var(--zn-page)!important;color:var(--zn-ink)!important}
body.site-theme-5178 :is(.panel,.admin-panel,.admin-kpi-5171,.user-mobile-card,.events-story-card,.events-featured,.market-card,.listing-card,.product-card,.account-center-card,.zn-settings-card){border-radius:var(--zn-radius)!important;border:1px solid var(--zn-line)!important;box-shadow:0 2px 12px rgba(0,0,0,.035)!important;max-width:100%;min-width:0}
body.site-theme-5178.zn-effective-light :is(.panel,.admin-panel,.admin-kpi-5171,.user-mobile-card,.events-story-card,.events-featured,.market-card,.listing-card,.product-card,.account-center-card,.zn-settings-card){background:var(--zn-panel)!important;color:var(--zn-ink)!important}
body.site-theme-5178:not(.zn-effective-light) :is(.panel,.admin-panel,.admin-kpi-5171,.user-mobile-card,.events-story-card,.events-featured,.market-card,.listing-card,.product-card,.account-center-card,.zn-settings-card){background:var(--zn-panel)!important;color:var(--zn-ink)!important}
body.site-theme-5178 :is(h1,h2,h3){letter-spacing:-.035em;overflow-wrap:anywhere;text-wrap:balance}
body.site-theme-5178 h1{line-height:1.14}
body.site-theme-5178 :is(p,.meta,small,.description){overflow-wrap:anywhere}
body.site-theme-5178 :is(.btn,button,input,select,textarea){font-family:inherit}
body.site-theme-5178 :is(input:not([type=checkbox]):not([type=radio]),textarea,select){min-width:0;max-width:100%;font-size:16px;line-height:1.35;border-radius:11px;border:1px solid var(--zn-line);background:var(--zn-input);color:var(--zn-ink)}
body.site-theme-5178.zn-effective-light :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#f8fafb!important;color:#19313a!important;border-color:#d8e3e7!important}
body.site-theme-5178 :is(a,button,input,textarea,select):focus-visible{outline:3px solid rgba(34,201,167,.76)!important;outline-offset:2px}
body.site-theme-5178 .btn{min-height:40px;padding:9px 14px;border-radius:11px!important;box-shadow:none!important;touch-action:manipulation}
body.site-theme-5178 :is(.btn.small,.admin-user-actions .btn){min-height:34px;font-size:12px;padding:6px 10px}
body.site-theme-5178 .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.site-theme-5178 table{width:100%;border-collapse:collapse}
body.site-theme-5178 th{text-align:left;white-space:nowrap}
body.site-theme-5178 td{min-width:0;vertical-align:middle}
/* Site chrome: cleaner and less tall on phones */
body.site-theme-5178 .top{box-shadow:none!important;border-bottom:1px solid var(--zn-line)!important}
body.site-theme-5178 .public-section-bar{border-bottom:1px solid var(--zn-line)!important;box-shadow:none!important}
body.site-theme-5178 .top .top-in{min-width:0;gap:12px}
body.site-theme-5178 .shell.main{min-width:0;max-width:1480px;margin-inline:auto}
body.site-theme-5178 .market-card img,body.site-theme-5178 .product-card img,body.site-theme-5178 .listing-card img,body.site-theme-5178 .category-card img{width:100%;object-fit:cover}
body.site-theme-5178 :is(.home-category-card,.section-menu-card,.category-card,.category-tile){border-radius:13px!important;box-shadow:none!important;transition:transform .18s var(--zn-ease),border-color .18s var(--zn-ease)}
body.site-theme-5178 :is(.home-category-card,.section-menu-card,.category-card,.category-tile):hover{transform:translateY(-2px)}
body.site-theme-5178 :is(.home-category-card,.section-menu-card,.category-card) img{object-fit:cover;filter:saturate(.85) contrast(.95)}
/* Platform news: editorial posts only */
body.site-theme-5178 .events-header-compact{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
body.site-theme-5178 .events-header-compact h1{font-size:clamp(23px,3vw,35px)}
body.site-theme-5178 .events-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
body.site-theme-5178 .events-tabs a{white-space:nowrap;padding:9px 14px;border-radius:999px;border:1px solid var(--zn-line);background:var(--zn-panel);color:var(--zn-secondary)}
body.site-theme-5178 .events-tabs a.active{background:#d7f8ee!important;color:#086655!important;border-color:#a8e3d3!important}
body.site-theme-5178 .events-featured{overflow:hidden}
body.site-theme-5178 .events-featured-media img,body.site-theme-5178 .events-story-media img{display:block;width:100%;object-fit:cover;aspect-ratio:16/10;filter:saturate(.82)}
body.site-theme-5178 .events-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.site-theme-5178 .events-story-card{overflow:hidden}
body.site-theme-5178 .events-story-copy{padding:14px}
/* Administration: desktop layout has a stable sidebar, not a giant dashboard. */
@media(min-width:1024px){
 body.admin-body.site-theme-5171 .admin-shell{display:grid!important;grid-template-columns:246px minmax(0,1fr)!important;align-items:start;max-width:none!important;min-width:0!important;background:var(--zn-page)!important}
 body.admin-body.site-theme-5171 .admin-sidebar{width:246px!important;max-width:246px!important;min-width:0!important;position:sticky!important;top:0!important;max-height:100dvh!important;overflow-y:auto!important;border-right:1px solid var(--zn-line)!important}
 body.admin-body.site-theme-5171 .admin-main{margin:0!important;width:100%!important;min-width:0!important;padding:24px clamp(16px,2vw,36px)!important;max-width:1620px!important}
 body.admin-body.site-theme-5171 .admin-kpi-grid-5171{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important}
 body.admin-body.site-theme-5171 .admin-kpi-5171{max-width:none!important;min-height:138px!important;margin:0!important;padding:16px!important}
 body.admin-body.site-theme-5171 .admin-kpi-value-5171{font-size:clamp(26px,2.5vw,40px)!important}
 body.admin-body.site-theme-5171 .admin-welcome-5171{margin-bottom:18px!important;gap:18px}
 body.admin-body.site-theme-5171 .admin-welcome-5171 h1{font-size:clamp(25px,2.8vw,38px)!important}
 body.admin-body.site-theme-5171 .admin-dashboard-lower-5171{min-width:0}
 body.admin-body.site-theme-5171 .admin-sidebar-nav a{min-height:39px!important;padding:9px 12px!important;font-size:13px!important}
}
@media(min-width:1024px) and (max-width:1220px){body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body.admin-body.site-theme-5171 .admin-main :is(.admin-panel,.panel){min-width:0}
body.admin-body.site-theme-5171 .admin-page-head{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}
body.admin-body.site-theme-5171 .admin-page-head h1{font-size:clamp(24px,2.5vw,35px);line-height:1.17}
body.admin-body.site-theme-5171 .admin-sidebar a.active{border-radius:9px!important}
body.admin-body.site-theme-5171 .admin-sidebar-nav .admin-nav-section{margin-top:12px;padding-top:6px}
body.admin-body.site-theme-5171 .admin-search-form,body.admin-body.site-theme-5171 .admin-users-filter{max-width:100%}
body.admin-body.site-theme-5171 .user-mobile-grid{gap:12px}
/* Avoid huge elements and squeezed content on small screens */
@media(max-width:820px){
 body.site-theme-5178 .shell{max-width:100%;min-width:0}
 body.site-theme-5178 .shell.main{padding-inline:12px!important;padding-top:16px!important;padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
 body.site-theme-5178 .top .top-in{padding-block:8px!important;gap:8px!important}
 body.site-theme-5178 :is(.top-search,.top-search input,.unified-search,.unified-search input){min-width:0!important;width:auto!important}
 body.site-theme-5178 :is(.home-category-rail,.events-tabs,.mobile-create-categories){scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
 body.site-theme-5178 .home-category-card{min-height:92px!important;flex-basis:98px!important;padding:8px!important}
 body.site-theme-5178 .mobile-nav{min-height:65px!important;padding-bottom:env(safe-area-inset-bottom)!important;box-shadow:0 -3px 12px rgba(0,0,0,.08)!important}
 body.site-theme-5178 .events-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.site-theme-5178 .events-story-copy{padding:11px!important}
 body.site-theme-5178 .events-story-copy h3{font-size:14px;line-height:1.35}
 body.admin-body.site-theme-5171 .admin-main{padding:12px!important;min-width:0!important;max-width:100%!important}
 body.admin-body.site-theme-5171 .admin-page-head h1{font-size:25px}
 body.admin-body.site-theme-5171 .admin-kpi-grid-5171{gap:10px!important}
 body.admin-body.site-theme-5171 .admin-sidebar{width:min(88vw,330px)!important}
 body.admin-body.site-theme-5171 .admin-page-head .admin-head-actions{display:flex;flex-wrap:wrap;gap:8px}
 body.admin-body.site-theme-5171 :is(.admin-grid-2,.two){min-width:0}
}
@media(max-width:420px){body.site-theme-5178 .events-card-grid{grid-template-columns:1fr!important}body.site-theme-5178 .events-featured-copy{padding:14px!important}body.admin-body.site-theme-5171 .admin-kpi-grid-5171{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.site-theme-5178 *,body.site-theme-5178 *:before,body.site-theme-5178 *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
[hidden]{display:none!important}
/* Contrast guard for legacy dashboard widgets (old rule colors were almost black in dark mode). */
body.admin-body.site-theme-5178:not(.zn-effective-light) :is(.admin-main h1,.admin-main h2,.admin-main h3,.admin-kpi-value-5171,.admin-kpi-head-5171,.admin-kpi-head-5171 span,.admin-panel strong,.admin-panel label){color:#eff7f8!important}
body.admin-body.site-theme-5178:not(.zn-effective-light) :is(.admin-main p,.admin-main .meta,.admin-main small,.admin-kpi-foot-5171,.admin-kpi-foot-5171 span,.admin-nav-section,.admin-kpi-head-5171 small){color:#abc4cf!important}
body.admin-body.site-theme-5178.zn-effective-light :is(.admin-main h1,.admin-main h2,.admin-main h3,.admin-kpi-value-5171,.admin-kpi-head-5171,.admin-kpi-head-5171 span,.admin-panel strong,.admin-panel label){color:#173441!important}
body.admin-body.site-theme-5178.zn-effective-light :is(.admin-main p,.admin-main .meta,.admin-main small,.admin-kpi-foot-5171,.admin-kpi-foot-5171 span){color:#617782!important}
body.admin-body.site-theme-5171 .admin-main>h1{font-size:clamp(24px,3vw,39px)!important;line-height:1.18!important;margin-block:0 16px!important}
/* Actual admin-shell child order is toolbar, backdrop, globalbar, sidebar, main.
   Named grid areas avoid accidentally placing the sidebar in the content column. */
@media(min-width:1024px){
 body.admin-body.site-theme-5171 .admin-shell{grid-template-areas:"bar bar" "sidebar content"!important;grid-template-rows:auto minmax(0,1fr)!important}
 body.admin-body.site-theme-5171 .admin-globalbar-5171{grid-area:bar!important;min-width:0;width:100%!important}
 body.admin-body.site-theme-5171 .admin-sidebar{grid-area:sidebar!important}
 body.admin-body.site-theme-5171 .admin-main{grid-area:content!important}
 body.admin-body.site-theme-5171 :is(.admin-menu-toggle,.admin-drawer-backdrop){display:none!important}
}
@media(min-width:1024px){
 body.admin-body.site-theme-5171 .admin-globalbar-5171{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;height:auto!important;min-height:58px!important;grid-area:bar!important;z-index:15!important}
}

/* --- upgrade-5199-ui-support.css --- */
/* Знаходка v5.199 — one design system for all site/admin/support screens.
   Loaded last; light and dark themes use the same semantic palette. */
html{background:#0b151e;scrollbar-gutter:stable}
html.zn-effective-light{background:#f5f7fa!important}
body.site-theme-5178{
  --zn-accent:#16bea2;--zn-accent-strong:#079b86;--zn-radius:15px;--zn-radius-sm:10px;
  --zn-page:#0b151e;--zn-panel:#122331;--zn-elevated:#182b38;--zn-ink:#f1f7fa;--zn-secondary:#b0c5d0;
  --zn-line:#294352;--zn-input:#142836;--zn-shadow:0 4px 18px rgba(0,0,0,.10);
  --bg:var(--zn-page);--card:var(--zn-panel);--paper:var(--zn-panel);--soft:var(--zn-elevated);
  --ink:var(--zn-ink);--muted:var(--zn-secondary);--line:var(--zn-line);--shadow:var(--zn-shadow);
  --a171-bg:var(--zn-page);--a171-bg-2:var(--zn-elevated);--a171-card:var(--zn-panel);--a171-card-2:var(--zn-panel);
  --a171-text:var(--zn-ink);--a171-muted:var(--zn-secondary);--a171-line:var(--zn-line);
  background:var(--zn-page)!important;color:var(--zn-ink)!important;color-scheme:dark;
}
body.site-theme-5178.zn-effective-light{
  --zn-page:#f5f7fa;--zn-panel:#ffffff;--zn-elevated:#f0f5f8;--zn-ink:#122632;--zn-secondary:#567081;
  --zn-line:#d9e4ea;--zn-input:#f7fafc;--zn-shadow:0 5px 22px rgba(16,43,62,.06);
  background:var(--zn-page)!important;color:var(--zn-ink)!important;color-scheme:light;
}
body.site-theme-5178 .shell.main,body.site-theme-5178 :is(.main,.admin-main,.admin-shell,.admin-dashboard-v3,.admin-dashboard-lower-5171,.admin-page-head,.account-center,.account-center-layout,.profile-page,.support-chat-page,.support-page-upgraded,.support-layout-grid){color:var(--zn-ink)!important;background-color:transparent!important;min-width:0}
body.site-theme-5178 :is(.top,.footer,.public-section-bar,.mobile-nav,.admin-sidebar,.admin-globalbar-5171,.admin-nav,.admin-header,.mobile-more-grid,.account-center-section,.account-center-card,.zn-settings-card,.zn-settings-group,.zn-settings-detail,.admin-panel,.panel,.admin-kpi-5171,.admin-dashboard-panel-5171,.admin-card,.admin-widget,.admin-dashboard-card-5171,.admin-operator-card,.admin-live-strip,.admin-global-search-5171,.zn-glass,.zn-chat-shell,.zn-bubble,.site-modal-card,.support-hero-card,.support-start-panel,.support-chat-panel,.support-admin-filterbar,.support-admin-conversation,.support-ticket-list,.support-history-card,.support-faq,.public-profile-card,.listing-card,.product-card,.market-card,.user-mobile-card,.events-story-card,.events-featured){
  background-color:var(--zn-panel)!important;background-image:none!important;color:var(--zn-ink)!important;
  border-color:var(--zn-line)!important;box-shadow:var(--zn-shadow)!important;
}
body.site-theme-5178 :is(.admin-sidebar,.panel,.admin-panel,.support-history-card,.support-admin-filterbar,.admin-kpi-5171,.account-center-card){border:1px solid var(--zn-line)!important;border-radius:var(--zn-radius)!important}
body.site-theme-5178 :is(.top,.mobile-nav,.public-section-bar,.footer,.admin-globalbar-5171){background-color:var(--zn-panel)!important}
body.site-theme-5178 :is(.admin-sidebar-nav a,.admin-sidebar-nav a b,.admin-sidebar-nav a small,.admin-nav-section,.top a,.mobile-nav a,.footer a,.footer p,.footer strong,.support-topic strong,.support-history-card strong,.support-history-card span,.support-conversation-toolbar strong,.support-faq h2,.support-faq summary,.admin-page-head h1,.admin-panel h2,.admin-kpi-value-5171,.admin-welcome-5171 h1,.zn-settings-group h2,.zn-settings-detail h2,.account-center-section h2,.support-chat-page h1,.support-chat-page h2){color:var(--zn-ink)!important}
body.site-theme-5178 :is(.meta,small,.ticket-meta,.eyebrow,.support-topic span,.support-history-card small,.support-hero-copy p,.support-chat-head p,.support-agent span,.support-side-card .meta,.admin-kpi-head-5171,.admin-kpi-foot-5171,.admin-nav-section span,.admin-sidebar-status small,.admin-nav-search,.footer small){color:var(--zn-secondary)!important}
body.site-theme-5178 :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.top-search,.admin-nav-search input,.admin-global-search-5171 input,.zn-settings-input){background:var(--zn-input)!important;color:var(--zn-ink)!important;border:1px solid var(--zn-line)!important;box-shadow:none!important;min-width:0;border-radius:var(--zn-radius-sm)!important}
body.site-theme-5178 :is(input,textarea)::placeholder{color:var(--zn-secondary);opacity:.82}
body.site-theme-5178 :is(.btn,button){box-shadow:none;touch-action:manipulation}
body.site-theme-5178 .btn:not(.secondary):not(.ghost):not(.danger){background:#23d1af!important;color:#062a2b!important;border-color:#23d1af!important;font-weight:750}
body.site-theme-5178 :is(.btn.secondary,.btn.ghost,.support-quick-actions button,.support-reply-templates button){background:var(--zn-elevated)!important;color:var(--zn-ink)!important;border:1px solid var(--zn-line)!important}
body.site-theme-5178 a:focus-visible,body.site-theme-5178 button:focus-visible,body.site-theme-5178 :is(input,textarea,select):focus-visible{outline:3px solid #2acdae!important;outline-offset:2px}
body.site-theme-5178 :is(.admin-sidebar-nav a.active,.mobile-nav a.active,.mobile-nav a.is-active,.admin-quick a:hover){background:rgba(29,198,167,.14)!important;color:var(--zn-ink)!important;border-color:rgba(29,198,167,.25)!important}
body.site-theme-5178.zn-effective-light :is(.admin-sidebar-nav a.active,.mobile-nav a.active,.mobile-nav a.is-active){background:#ddf8f0!important;color:#07584e!important}
body.site-theme-5178 .admin-shell .admin-main{background:transparent!important}
body.site-theme-5178 .admin-sidebar .nav-ico{display:inline-grid!important;place-items:center!important;width:32px;height:32px;min-width:32px;border-radius:10px;background:var(--zn-elevated)!important;color:#39d6b7!important;font-family:system-ui;font-size:16px}
body.site-theme-5178 .admin-sidebar-nav a{border-radius:10px!important;min-height:44px!important;gap:10px!important}
body.site-theme-5178 .admin-sidebar-nav a:hover{background:var(--zn-elevated)!important}
body.site-theme-5178 .admin-page-head{margin-bottom:17px!important}
body.site-theme-5178 :is(.admin-table-wrap,.table-wrap,.admin-users-table-wrap){overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
body.site-theme-5178 :is(.admin-table-wrap,.table-wrap) table{background:var(--zn-panel)!important;color:var(--zn-ink)!important}
body.site-theme-5178 :is(th,td){border-color:var(--zn-line)!important}
body.site-theme-5178 th{background:var(--zn-elevated)!important;color:var(--zn-secondary)!important}
body.site-theme-5178 .support-chat-page{max-width:1250px;margin:0 auto}
body.site-theme-5178 .support-hero-card{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:clamp(18px,2.5vw,30px)!important;min-height:0!important;overflow:hidden}
body.site-theme-5178 .support-hero-card h1{font-size:clamp(24px,3.1vw,38px)!important;line-height:1.15}
body.site-theme-5178 .support-hero-copy{flex:1 1 60%;min-width:0}
body.site-theme-5178 .support-hero-side{display:flex!important;align-items:stretch;gap:9px;flex-wrap:wrap;max-width:500px}
body.site-theme-5178 .support-hero-kpi{flex:1 1 120px;min-width:105px;background:var(--zn-elevated)!important;border-radius:12px!important;border:1px solid var(--zn-line)!important;padding:12px}
body.site-theme-5178 .support-hero-kpi strong{color:var(--zn-ink)!important;font-size:22px!important}
body.site-theme-5178 .support-hero-kpi span{color:var(--zn-secondary)!important;font-size:12px!important}
body.site-theme-5178 .support-history-rail{display:flex;gap:10px;overflow:auto;padding-bottom:5px;scroll-snap-type:x proximity}
body.site-theme-5178 .support-history-card{flex:0 0 min(240px,75vw);padding:12px!important;scroll-snap-align:start;text-decoration:none}
body.site-theme-5178 .support-history-card.active{border-color:#26cba9!important;box-shadow:0 0 0 1px #26cba9!important}
body.site-theme-5178 .support-start-panel{padding:18px!important}
body.site-theme-5178 .support-topic-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.site-theme-5178 .support-topic{min-width:0!important;min-height:88px!important;padding:14px!important;border:1px solid var(--zn-line)!important;border-radius:13px!important;background:var(--zn-elevated)!important;color:var(--zn-ink)!important;text-align:left!important;box-shadow:none!important;display:flex!important;flex-direction:column;gap:6px}
body.site-theme-5178 .support-topic.is-selected{border-color:#26cba9!important;background:rgba(27,199,162,.12)!important}
body.site-theme-5178 .support-live-pill{background:var(--zn-elevated)!important;color:var(--zn-secondary)!important;border-color:var(--zn-line)!important}
body.site-theme-5178 .support-chat-head{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0 12px}
body.site-theme-5178 .support-chat-head h1{font-size:clamp(22px,2.6vw,31px)!important}
body.site-theme-5178 .support-agent-card{border:1px solid var(--zn-line)!important;border-radius:12px!important;background:var(--zn-panel)!important;padding:10px 14px!important}
body.site-theme-5178 .support-layout-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;gap:15px!important}
body.site-theme-5178 .support-main-column,body.site-theme-5178 .support-side-column{min-width:0}
body.site-theme-5178 .support-chat-panel{overflow:hidden;padding:0!important}
body.site-theme-5178 .support-conversation-toolbar{padding:16px!important;border-bottom:1px solid var(--zn-line)!important;background:var(--zn-panel)!important}
body.site-theme-5178 .support-quick-actions{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:10px 14px!important;scrollbar-width:thin}
body.site-theme-5178 .support-quick-actions button{font-size:12px!important;white-space:nowrap;border-radius:999px!important;padding:8px 11px!important}
body.site-theme-5178 .support-messages{min-height:200px;max-height:min(58vh,630px)!important;overflow:auto!important;overscroll-behavior:contain;padding:16px!important;background:var(--zn-page)!important;scrollbar-width:thin}
body.site-theme-5178 .support-messages .message{max-width:min(88%,600px)!important;min-width:0;padding:13px 15px!important;border:1px solid var(--zn-line)!important;border-radius:15px!important;background:var(--zn-panel)!important;box-shadow:none!important;margin-bottom:12px!important;color:var(--zn-ink)!important}
body.site-theme-5178 .support-messages .message.user{margin-left:auto!important;background:color-mix(in srgb,var(--zn-panel) 80%,#22cda8 20%)!important;border-color:rgba(34,204,168,.4)!important}
body.site-theme-5178 .support-messages .message :is(.message-body,.message-author,.ticket-meta){color:var(--zn-ink)!important;overflow-wrap:anywhere}
body.site-theme-5178 .support-messages .ticket-meta{color:var(--zn-secondary)!important}
body.site-theme-5178 .support-composer-rich{background:var(--zn-panel)!important;padding:14px!important;border-top:1px solid var(--zn-line)!important}
body.site-theme-5178 .support-composer-rich .composer-row{display:flex!important;align-items:end!important;gap:9px!important;min-width:0}
body.site-theme-5178 .support-composer-rich textarea{flex:1 1 auto!important;max-height:180px!important;min-height:55px!important;resize:vertical}
body.site-theme-5178 .support-composer-rich .btn{white-space:nowrap;min-height:48px}
body.site-theme-5178 .support-selected-topic{color:var(--zn-secondary)!important}
body.site-theme-5178 .support-side-card{padding:16px!important}
body.site-theme-5178 .support-faq{padding:20px!important;margin:20px 0}
body.site-theme-5178 .support-faq details{border-bottom:1px solid var(--zn-line)!important;padding:12px 0!important}
body.site-theme-5178 .support-faq summary{cursor:pointer}
/* Admin support: compact ticket manager + fixed conversation column on desktop. */
body.site-theme-5178 .support-admin-head{align-items:center}
body.site-theme-5178 .support-admin-metrics{display:flex;gap:9px;flex-wrap:wrap}
body.site-theme-5178 .support-admin-metrics span{background:var(--zn-panel)!important;color:var(--zn-secondary)!important;border:1px solid var(--zn-line)!important;border-radius:10px!important;padding:10px 13px}
body.site-theme-5178 .support-admin-metrics b{color:var(--zn-ink)!important}
body.site-theme-5178 .support-admin-filterbar{display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap;padding:15px!important}
body.site-theme-5178 .support-admin-filterbar .field{flex:1 1 170px;min-width:0}
body.site-theme-5178 .support-admin-filterbar input{width:100%}
body.site-theme-5178 .support-admin-workspace,body.site-theme-5178 .support-admin-grid{gap:14px!important;min-width:0}
body.site-theme-5178 .support-ticket-row,body.site-theme-5178 .support-ticket-card{background:var(--zn-panel)!important;border-color:var(--zn-line)!important;color:var(--zn-ink)!important;box-shadow:none!important}
body.site-theme-5178 .support-ticket-row:hover,body.site-theme-5178 .support-ticket-card:hover{background:var(--zn-elevated)!important}
body.site-theme-5178 .support-conv-header{padding:14px!important;border-bottom:1px solid var(--zn-line)!important;gap:12px;flex-wrap:wrap}
body.site-theme-5178 .admin-chat-scroll{height:min(55vh,560px)!important;min-height:260px!important;overflow:auto!important;background:var(--zn-page)!important;padding:13px!important}
body.site-theme-5178 .admin-chat-message{background:var(--zn-panel)!important;border:1px solid var(--zn-line)!important;border-radius:13px!important;color:var(--zn-ink)!important;max-width:88%;margin-bottom:12px;overflow-wrap:anywhere}
body.site-theme-5178 .admin-chat-message.from-support{margin-left:auto;background:color-mix(in srgb,var(--zn-panel) 82%,#25c9a6 18%)!important}
body.site-theme-5178 .admin-chat-message :is(.admin-chat-text,.admin-chat-author){color:var(--zn-ink)!important}
body.site-theme-5178 .support-reply-templates{display:flex;gap:7px;flex-wrap:wrap;padding:12px!important}
body.site-theme-5178 .zn-support-template-title{display:flex;align-items:center;flex:0 0 auto;color:var(--zn-secondary);font-size:12px}
body.site-theme-5178 .support-reply-templates button{min-height:35px!important;border-radius:9px!important}
body.site-theme-5178 .admin-composer{padding:13px!important;background:var(--zn-panel)!important}
body.site-theme-5178 .admin-composer textarea{width:100%;min-height:72px}
body.site-theme-5178 .support-status-form{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:10px 14px!important}
body.site-theme-5178 .support-status-form label{display:flex;align-items:center;gap:10px}
/* Consistent photo/card presentation, based on the reference UI. */
body.site-theme-5178 :is(.category-card,.home-category-card,.home-section-card,.product-card,.listing-card,.market-card) img{border-radius:12px;object-fit:cover}
body.site-theme-5178 .mobile-nav{z-index:120!important}
@media(min-width:1080px){body.site-theme-5178 .support-side-column{position:sticky;top:82px;align-self:start}}
@media(max-width:980px){body.site-theme-5178 .support-layout-grid{grid-template-columns:minmax(0,1fr)!important}body.site-theme-5178 .support-side-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.site-theme-5178 .support-hero-card{flex-wrap:wrap}}
@media(max-width:680px){body.site-theme-5178 .support-hero-card{padding:16px!important}body.site-theme-5178 .support-hero-side{width:100%;max-width:none}body.site-theme-5178 .support-hero-kpi{flex:1 1 95px}body.site-theme-5178 .support-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.site-theme-5178 .support-layout-grid{gap:10px!important}body.site-theme-5178 .support-side-column{grid-template-columns:1fr}body.site-theme-5178 .support-chat-head{align-items:start}body.site-theme-5178 .support-messages{max-height:55vh!important;padding:10px!important}body.site-theme-5178 .support-messages .message{max-width:94%!important}body.site-theme-5178 .support-composer-rich .composer-row{flex-wrap:wrap}body.site-theme-5178 .support-composer-rich textarea{flex:1 1 calc(100% - 60px)!important}body.site-theme-5178 .support-composer-rich .btn{width:100%}body.site-theme-5178 .admin-chat-scroll{min-height:250px!important}body.site-theme-5178 .support-admin-filterbar .field{flex:1 1 100%}}
@media(max-width:360px){body.site-theme-5178 .support-topic-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){body.site-theme-5178 *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

body.site-theme-5178 .admin-sidebar .nav-ico img{width:19px!important;height:19px!important;object-fit:contain!important;display:block!important;filter:none!important}
/* The old sticky composer overlapped messages and the bottom nav on Android. */
body.site-theme-5178 .support-chat-panel .support-composer-rich{position:relative!important;inset:auto!important;bottom:auto!important;top:auto!important;margin:0!important;z-index:2!important;box-shadow:none!important;border-radius:0 0 14px 14px!important;transform:none!important}
body.site-theme-5178 .admin-sidebar-nav{align-content:start!important;grid-auto-rows:min-content!important}
body.site-theme-5178 .admin-sidebar-nav a{flex:0 0 auto!important;align-self:start!important}

/* --- upgrade-5200-reference.css --- */
/* Знаходка 5.200 — production-oriented interpretation of supplied UI references.
   One semantic palette, actual content/navigation, no mock statistics. Must load LAST. */
:root{--zn-5200-radius:14px;--zn-5200-focus:#2cdebb}
body.site-theme-5178{--zn-page:#091824;--zn-panel:#102635;--zn-elevated:#163444;--zn-line:#285063;--zn-ink:#f1f8fb;--zn-secondary:#aac2ce;--zn-input:#112b3b;--zn-shadow:0 5px 20px #030e1429;--zn-brand:#21d3b2;color-scheme:dark}
body.site-theme-5178.zn-effective-light{--zn-page:#f5f7fa;--zn-panel:#ffffff;--zn-elevated:#edf3f7;--zn-line:#d7e2e9;--zn-ink:#102733;--zn-secondary:#60798a;--zn-input:#f8fafc;--zn-shadow:0 6px 23px #16324b0e;--zn-brand:#08a889;color-scheme:light}
html.zn-effective-light,body.site-theme-5178.zn-effective-light{background:#f5f7fa!important}
body.site-theme-5178:not(.zn-effective-light){background:#091824!important}
body.site-theme-5178 :is(.top,.footer,.public-section-bar,.mobile-nav,.admin-sidebar,.admin-globalbar-5171,.admin-panel,.panel,.admin-card,.account-center-card,.zn-settings-card,.support-chat-panel,.support-start-panel,.support-hero-card,.support-faq,.support-admin-filterbar,.support-ticket-card,.listing-card,.product-card,.market-card,.site-modal-card){background:var(--zn-panel)!important;background-image:none!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178 :is(h1,h2,h3,h4,.admin-kpi-value-5171,.zn-settings-detail h2){color:var(--zn-ink)!important;overflow-wrap:anywhere}
body.site-theme-5178 :is(p,.meta,.description,.text-muted,.eyebrow){color:var(--zn-secondary)}
body.site-theme-5178 :is(.panel,.admin-panel,.admin-card,.account-center-card,.zn-settings-card,.support-chat-panel,.support-start-panel,.support-hero-card,.support-faq,.support-admin-filterbar,.support-ticket-card){border:1px solid var(--zn-line)!important;border-radius:14px!important;box-shadow:var(--zn-shadow)!important}
body.site-theme-5178 :is(.panel,.admin-panel,.account-center-card,.support-faq,.support-hero-card,.support-start-panel){min-width:0;max-width:100%}
body.site-theme-5178 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--zn-input)!important;color:var(--zn-ink)!important;border:1px solid var(--zn-line)!important;min-width:0}
body.site-theme-5178 :is(input,textarea)::placeholder{color:var(--zn-secondary)!important;opacity:.85}
body.site-theme-5178 :is(button,a,input,textarea,select):focus-visible{outline:3px solid var(--zn-5200-focus)!important;outline-offset:2px}
body.site-theme-5178 :is(.top,.public-section-bar,.mobile-nav,.admin-globalbar-5171){box-shadow:none!important}
body.site-theme-5178 .top{min-height:62px!important}
body.site-theme-5178 .top .top-in{gap:14px!important}
body.site-theme-5178 .top-actions{gap:8px!important;min-width:0}
.zn-theme-toggle-5200{min-width:39px;width:39px;height:39px;display:inline-grid;place-items:center;align-self:center;border-radius:11px;background:var(--zn-elevated)!important;border:1px solid var(--zn-line)!important;color:var(--zn-ink)!important;font-size:22px;cursor:pointer;flex-shrink:0;box-shadow:none!important}
.zn-theme-toggle-5200:hover{border-color:var(--zn-brand)!important}
body.zn-effective-light .top :is(.brand,.top-actions a,.zn-header-search-5188){color:#183340!important}
body.zn-effective-light :is(.mobile-more-sheet,.mobile-command-sheet,.site-modal,.site-modal-card,.admin-sidebar){--zn-panel:#fff;--zn-elevated:#edf3f7;--zn-ink:#102733;--zn-line:#d7e2e9;background-color:var(--zn-panel)!important;color:var(--zn-ink)!important}
/* Desktop public home: real sidebar, search and a photo hero as on reference. */
.zn-desktop-home-layout-5200{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start;margin-top:10px;min-width:0}
.zn-desktop-home-layout-5200>.zn-home-main-5200{min-width:0}
.zn-home-sidebar-5200{position:sticky;top:86px;min-width:0;padding:12px 9px;border:1px solid var(--zn-line);border-radius:15px;background:var(--zn-panel);display:grid;gap:3px;box-shadow:var(--zn-shadow)}
.zn-home-sidebar-title-5200{font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:850;color:var(--zn-secondary);margin:4px 10px 9px}
.zn-home-sidebar-5200 a{display:flex;align-items:center;gap:10px;min-height:39px;border-radius:10px;padding:8px 10px;color:var(--zn-ink)!important;font-size:13px;text-decoration:none;overflow-wrap:anywhere}
.zn-home-sidebar-5200 a>span{font-size:19px;color:var(--zn-brand);width:22px;flex-shrink:0;text-align:center}
.zn-home-sidebar-5200 a:hover{background:var(--zn-elevated)}
.zn-home-sidebar-5200 a[aria-current=page]{background:color-mix(in srgb,var(--zn-brand) 14%,var(--zn-panel));font-weight:800}
body.site-theme-5178 .zn-photo-hero-5200{min-height:clamp(250px,24vw,390px)!important;position:relative;overflow:hidden;background:linear-gradient(90deg,#071926ed 0%,#081a2785 47%,#081a2730 100%),url('category-bg-home.jpg') center 54%/cover no-repeat!important;border:1px solid var(--zn-line)!important;border-radius:18px!important;display:flex!important;align-items:center;box-shadow:var(--zn-shadow)!important}
body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166{position:relative;z-index:2;padding:clamp(18px,3vw,42px);max-width:570px;width:100%;margin:0!important}
body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166 h1{font-size:clamp(35px,4.8vw,66px)!important;line-height:1.06!important;color:#fff!important;text-shadow:0 4px 24px #0006;margin:0 0 12px!important}
body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166 h1 span{color:#38e9ca!important}
body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166 p{color:#e4f4f4!important;font-size:clamp(13px,1.5vw,19px)!important;line-height:1.5!important}
body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166>a{display:inline-flex;align-items:center;gap:14px;text-decoration:none;border-radius:11px;background:#2cdbb8!important;color:#062a2b!important;font-weight:850!important;border:0!important;padding:12px 18px!important;box-shadow:none!important}
body.site-theme-5178 .zn-photo-hero-5200 :is(.zn-promo-art-5166,.zn-promo-dots-5166){display:none!important}
body.site-theme-5178 .zn-home-5166 .zn-quick-grid-5166{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important;margin-block:15px 18px!important;min-width:0}
body.site-theme-5178 .zn-quick-grid-5166>a{min-width:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px!important;padding:11px 7px!important;border-radius:12px!important;background:var(--zn-panel)!important;color:var(--zn-ink)!important;border:1px solid var(--zn-line)!important;box-shadow:none!important;text-align:center;text-decoration:none}
body.site-theme-5178 .zn-quick-grid-5166>a span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#dff4fe;color:#1557a8!important}
body.site-theme-5178 .zn-quick-grid-5166>a:nth-child(2) span{background:#dff9ed;color:#00876c!important}
body.site-theme-5178 .zn-quick-grid-5166>a:nth-child(3) span{background:#f3e8fe;color:#8a48b5!important}
body.site-theme-5178 .zn-quick-grid-5166>a:nth-child(4) span{background:#fff0e6;color:#ca6336!important}
body.site-theme-5178 .zn-quick-grid-5166>a:nth-child(5) span{background:#e5f8f3;color:#079d7d!important}
body.site-theme-5178 .zn-quick-grid-5166>a:nth-child(6) span{background:#ebf2ff;color:#3b6bac!important}
body.site-theme-5178 .zn-quick-grid-5166>a strong{color:var(--zn-ink)!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.site-theme-5178 .zn-listing-grid-5166{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px!important;min-width:0}
body.site-theme-5178 .zn-listing-card-5166{background:var(--zn-panel)!important;border:1px solid var(--zn-line)!important;border-radius:13px!important;overflow:hidden!important;min-width:0;box-shadow:var(--zn-shadow)!important;text-decoration:none!important}
body.site-theme-5178 .zn-listing-image-5166 img{width:100%;aspect-ratio:4/3;object-fit:cover}
body.site-theme-5178 .zn-listing-body-5166{padding:10px 11px!important}
body.site-theme-5178 .zn-listing-body-5166 :is(strong,h3){color:var(--zn-ink)!important}
body.site-theme-5178 .zn-listing-body-5166 p{color:var(--zn-secondary)!important}
/* Profiles, publishing and support follow the same densities; no mockups inserted as content. */
body.site-theme-5178 :is(.profile-page,.account-center,.account-center-layout,.support-chat-page){min-width:0;max-width:1280px;margin-inline:auto}
body.site-theme-5178 :is(.support-chat-panel,.support-start-panel,.support-history-card,.support-admin-conversation){overflow-wrap:anywhere}
body.site-theme-5178 .support-topic-grid{gap:10px!important}
body.site-theme-5178 :is(.support-topic,.support-ticket-row,.support-history-card){transition:border-color .16s ease,background .16s ease}
body.site-theme-5178 :is(.support-topic,.support-ticket-row,.support-history-card):hover{border-color:var(--zn-brand)!important}
body.site-theme-5178 .support-chat-head{max-width:100%}
body.site-theme-5178 .support-composer-rich textarea{max-width:100%!important}
/* Admin toolbar/sidebar/table density on wide screens. */
body.admin-body.site-theme-5178 .admin-globalbar-5171{background:var(--zn-panel)!important;border-bottom:1px solid var(--zn-line)!important}
body.admin-body.site-theme-5178 .admin-sidebar{background:var(--zn-panel)!important;border-color:var(--zn-line)!important}
body.admin-body.site-theme-5178 .admin-sidebar-nav a{min-height:39px!important;border-radius:10px!important}
body.admin-body.site-theme-5178 .admin-sidebar-nav .nav-ico{background:var(--zn-elevated)!important}
body.admin-body.site-theme-5178 .admin-global-search-5171{background:var(--zn-elevated)!important;border:1px solid var(--zn-line)!important;border-radius:12px!important}
body.admin-body.site-theme-5178 .admin-main{min-width:0;background:var(--zn-page)!important;color:var(--zn-ink)!important}
body.admin-body.site-theme-5178 :is(.admin-panel,.admin-kpi-5171,.admin-dashboard-panel-5171,.user-mobile-card){border-radius:13px!important;background:var(--zn-panel)!important;color:var(--zn-ink)!important;border:1px solid var(--zn-line)!important;box-shadow:var(--zn-shadow)!important}
body.admin-body.site-theme-5178 :is(.admin-kpi-5171,.admin-panel,.user-mobile-card){min-width:0!important}
body.admin-body.site-theme-5178 .admin-main :is(table,thead,tbody,tr){color:var(--zn-ink)}
body.admin-body.site-theme-5178 .admin-main td{color:var(--zn-ink)!important}
body.admin-body.site-theme-5178 .admin-main th{background:var(--zn-elevated)!important;color:var(--zn-secondary)!important}
@media(min-width:1024px){body.admin-body.site-theme-5178 .admin-main{padding:22px 30px!important}}
@media(max-width:1160px){.zn-desktop-home-layout-5200{grid-template-columns:170px minmax(0,1fr);gap:12px}body.site-theme-5178 .zn-listing-grid-5166{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.zn-desktop-home-layout-5200{display:block;margin-top:0}.zn-home-sidebar-5200{display:none!important}body.site-theme-5178 .zn-listing-grid-5166{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){body.site-theme-5178 .top{min-height:55px!important}body.site-theme-5178 .top .top-in{gap:7px!important}body.site-theme-5178 .zn-photo-hero-5200{min-height:218px!important;border-radius:15px!important;background-position:center!important}body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166{padding:18px!important}body.site-theme-5178 .zn-photo-hero-5200 .zn-promo-copy-5166 h1{font-size:35px!important}body.site-theme-5178 .zn-home-5166 .zn-quick-grid-5166{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}body.site-theme-5178 .zn-listing-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}body.site-theme-5178 .zn-quick-grid-5166>a{padding:8px 4px!important}body.site-theme-5178 .zn-quick-grid-5166>a span{width:39px;height:39px}body.site-theme-5178 .zn-listing-body-5166{padding:8px!important}body.site-theme-5178 .zn-listing-body-5166 h3{font-size:12px!important}body.site-theme-5178 .zn-listing-body-5166 strong{font-size:15px!important}.zn-theme-toggle-5200{min-width:34px;width:34px;height:34px;border-radius:9px;font-size:19px}body.admin-body.site-theme-5178 .admin-main{padding:13px!important}}
@media(max-width:350px){body.site-theme-5178 .zn-home-5166 .zn-quick-grid-5166{grid-template-columns:repeat(2,minmax(0,1fr))}body.site-theme-5178 .zn-listing-grid-5166{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.site-theme-5178 *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* --- upgrade-5201-profile-theme.css --- */
/* Знаходка 5.201: final profile + genuinely shared light/dark tokens. Load LAST. */
html,body.site-theme-5178{min-width:0}
html:not(.zn-effective-light){background:#091824!important;color-scheme:dark}
html.zn-effective-light{background:#f4f7fa!important;color-scheme:light}
body.site-theme-5178:not(.zn-effective-light){--zn-page:#091824;--zn-panel:#102635;--zn-elevated:#193645;--zn-line:#2b4b5b;--zn-ink:#f1f8fb;--zn-secondary:#a7becb;--zn-input:#112c3b;--zn-shadow:0 8px 28px #020f193d;--zn-brand:#27dabb;--zn-profile-accent:#34d9bb;background:#091824!important;color:#f1f8fb!important;color-scheme:dark}
body.site-theme-5178.zn-effective-light{--zn-page:#f4f7fa;--zn-panel:#fff;--zn-elevated:#eef3f6;--zn-line:#dce6ec;--zn-ink:#182d3a;--zn-secondary:#667c8a;--zn-input:#f8fafb;--zn-shadow:0 8px 26px #11384a12;--zn-brand:#009d83;--zn-profile-accent:#00a88b;background:#f4f7fa!important;color:#182d3a!important;color-scheme:light}
body.site-theme-5178 :is(.shell.main,.main,.admin-main,.account-center,.page-content){background-color:transparent!important;color:var(--zn-ink)!important}
body.site-theme-5178 :is(.top,.public-section-bar,.mobile-nav,.footer,.admin-sidebar,.admin-globalbar-5171,.panel,.admin-panel,.zn-settings-group,.zn-settings-theme-card,.zn-settings-detail,.account-center-section,.account-center-hero,.mobile-command-sheet,.site-modal-card,.support-start-panel,.support-chat-panel,.support-ticket-card){background-color:var(--zn-panel)!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178 :is(.account-center-section,.zn-settings-group,.zn-settings-detail,.admin-panel,.panel) :is(h1,h2,h3,h4,strong,b){color:var(--zn-ink)!important}
body.site-theme-5178 :is(.account-center-section,.zn-settings-group,.zn-settings-detail,.admin-panel,.panel) :is(small,.muted,.meta,.description){color:var(--zn-secondary)!important}
body.site-theme-5178.zn-effective-light :is(.zn-settings-row,.account-device-row,.account-center-nav,.account-center-section-head,.admin-sidebar-nav a,.mobile-more-grid a,.support-topic,.support-ticket-row){background-color:var(--zn-panel)!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178:not(.zn-effective-light) :is(.zn-settings-row,.account-device-row,.account-center-nav,.support-topic,.support-ticket-row){background-color:var(--zn-panel)!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178 :is(.account-center-section,.zn-settings-group,.admin-panel,.support-chat-panel) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--zn-input)!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178.zn-effective-light :is(.zn-settings-back,.zn-account-detail-back,.zn-settings-switch,.zn-settings-row-static,.zn-appearance-choice){color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.site-theme-5178.zn-effective-light .zn-settings-head :is(h1,h2,p),body.site-theme-5178.zn-effective-light .zn-settings-label{color:var(--zn-ink)!important}
body.site-theme-5178 :is(.zn-settings-row-copy small,.account-center-section-head p,.account-center-hero p){color:var(--zn-secondary)!important}
body.site-theme-5178.zn-effective-light :is(.admin-sidebar-nav a,.admin-globalbar-5171 a,.mobile-nav a,.mobile-nav small,.mobile-more-grid a){color:var(--zn-ink)!important}
body.site-theme-5178.zn-effective-light :is(.zn-settings-group,.admin-panel,.account-center-section){box-shadow:var(--zn-shadow)!important}
body.site-theme-5178 .zn-theme-toggle-5200{color:var(--zn-ink)!important;background:var(--zn-elevated)!important;border-color:var(--zn-line)!important}
body.site-theme-5178 .zn-theme-toggle-5200:disabled{opacity:.55;cursor:wait}
.zn-theme-notice-5201{position:fixed;right:18px;top:max(68px,env(safe-area-inset-top));z-index:20000;background:#07392f;color:#defff5;border:1px solid #17ad89;padding:11px 15px;border-radius:12px;font-size:13px;font-weight:650;box-shadow:0 12px 40px #05172040;max-width:min(350px,calc(100vw - 30px))}
.zn-theme-notice-5201.is-error{background:#50222c;color:#ffe5e7;border-color:#be5267}
/* Profile: based on user reference, using live account stats and an existing licensed project asset. */
body.page-profile.site-theme-5178 .zn-profile-5201{width:min(100%,840px)!important;margin:0 auto!important;padding:12px 16px 125px!important;min-width:0}
body.page-profile.site-theme-5178 .zn-profile-5201 *{box-sizing:border-box}
.zn-profile-page-heading-5201{display:flex;align-items:center;gap:12px;min-height:50px;margin-bottom:12px;color:var(--zn-ink)}
.zn-profile-page-heading-5201 strong{font-size:17px;font-weight:800;flex:1;color:var(--zn-ink)}
.zn-profile-back-5201,.zn-profile-settings-5201{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:var(--zn-elevated)!important;border:1px solid var(--zn-line)!important;color:var(--zn-ink)!important;text-decoration:none;font-size:24px}
.zn-profile-settings-5201{font-size:18px}
.zn-profile-main-card-5201{border:1px solid var(--zn-line);border-radius:20px;overflow:hidden;background:var(--zn-panel)!important;box-shadow:var(--zn-shadow);min-width:0;color:var(--zn-ink)}
.zn-profile-cover-5201{height:clamp(125px,22vw,205px);position:relative;background:linear-gradient(0deg,#0316223c,#0316221d),url('category-bg-home.jpg') center 44%/cover no-repeat!important}
.zn-profile-cover-caption-5201{position:absolute;left:17px;top:14px;padding:6px 10px;border-radius:9px;background:#061e2e99;color:#eaffff;font-size:12px;font-weight:720;backdrop-filter:blur(6px)}
.zn-profile-cover-edit-5201{position:absolute;top:13px;right:13px;width:36px;height:36px;border-radius:11px;border:1px solid #ffffff70;background:#09202eaa;color:#fff!important;font-size:20px;text-decoration:none;display:grid;place-items:center}
.zn-profile-details-5201{padding:0 23px 18px!important;background:var(--zn-panel)!important;color:var(--zn-ink)!important}
.zn-profile-heading-5201{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:61px;margin-top:-42px;position:relative;z-index:1}
.zn-profile-photo-link-5201{width:98px;height:98px;flex-shrink:0;display:grid;place-items:center;text-decoration:none;border-radius:50%;border:5px solid var(--zn-panel);background:var(--zn-elevated);overflow:hidden;box-shadow:0 2px 15px #0002}
.zn-profile-photo-link-5201 img,.zn-profile-photo-5201{width:100%!important;height:100%!important;object-fit:cover;display:grid;place-items:center;background:var(--zn-elevated);color:var(--zn-ink);font-size:35px;font-weight:750}
.zn-profile-edit-5201{align-self:flex-end;margin-bottom:4px;padding:10px 14px;background:var(--zn-elevated)!important;color:var(--zn-ink)!important;font-size:13px;font-weight:720;border-radius:11px;text-decoration:none;border:1px solid var(--zn-line)}
.zn-profile-name-5201{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:5px}
body.page-profile.site-theme-5178 .zn-profile-name-5201 h1{font-size:clamp(22px,3.5vw,30px)!important;line-height:1.2!important;letter-spacing:-.03em;margin:0!important;color:var(--zn-ink)!important;overflow-wrap:anywhere}
.zn-profile-trust-5201{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:7px 0!important;font-size:12px;color:var(--zn-secondary)!important}
.zn-profile-trust-state-5201{font-weight:700;color:var(--zn-brand)}
.zn-profile-location-5201{font-size:12px;margin:6px 0;color:var(--zn-secondary)!important}
.zn-profile-mini-stats-5201{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:17px;padding:14px 0 2px;border-top:1px solid var(--zn-line)}
.zn-profile-mini-stats-5201 a{color:var(--zn-ink)!important;text-decoration:none;text-align:center;border-right:1px solid var(--zn-line);display:grid;gap:4px;min-width:0}
.zn-profile-mini-stats-5201 a:last-child{border-right:0}
.zn-profile-mini-stats-5201 strong{font-size:23px;line-height:1.2;color:var(--zn-ink)!important}
.zn-profile-mini-stats-5201 span{font-size:12px;color:var(--zn-secondary)!important}
.zn-profile-verify-5201{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:12px;margin-top:14px;background:#fef2db;color:#774c05;border-radius:10px;font-size:12px}
.zn-profile-verify-5201 a{font-weight:780;color:#744508}
.zn-profile-menu-5201{margin-top:15px;background:var(--zn-panel)!important;border:1px solid var(--zn-line)!important;border-radius:17px;overflow:hidden;box-shadow:var(--zn-shadow);display:block!important}
.zn-profile-menu-5201>a{display:flex!important;align-items:center;gap:13px;min-height:61px;padding:10px 16px;text-decoration:none;color:var(--zn-ink)!important;background:var(--zn-panel)!important;border-bottom:1px solid var(--zn-line)!important;min-width:0;transition:background .15s ease}
.zn-profile-menu-5201>a:last-child{border-bottom:0!important}
.zn-profile-menu-5201>a:hover{background:var(--zn-elevated)!important}
.zn-profile-menu-icon-5201{display:grid;place-items:center;width:37px;height:37px;min-width:37px;border-radius:11px;font-size:19px;font-weight:800}
.zn-profile-menu-icon-5201.is-blue{background:#e3edfe;color:#346fc2}.zn-profile-menu-icon-5201.is-red{background:#fce8ec;color:#e44b69}.zn-profile-menu-icon-5201.is-teal{background:#dff8f2;color:#079e83}.zn-profile-menu-icon-5201.is-gold{background:#fff1d9;color:#ac7c1a}.zn-profile-menu-icon-5201.is-violet{background:#f1eafe;color:#8260c1}.zn-profile-menu-icon-5201.is-gray{background:#e9eff2;color:#486575}
.zn-profile-menu-5201>a>span:nth-child(2){flex:1;min-width:0;font-size:14px;font-weight:760;overflow-wrap:anywhere}
.zn-profile-menu-5201>a small{display:block;margin-top:2px;font-size:11px;font-weight:450;color:var(--zn-secondary)!important}
.zn-profile-menu-5201>a>b{color:var(--zn-secondary)!important;font-size:22px;font-weight:400}
.zn-profile-unread-5201{font-style:normal;color:white;background:#ef4561;border-radius:999px;min-width:24px;height:24px;padding:3px 6px;text-align:center;font-size:12px;font-weight:800}
.zn-profile-activity-5201{margin-top:16px;padding:16px;border:1px solid var(--zn-line);border-radius:17px;background:var(--zn-panel)!important;box-shadow:var(--zn-shadow);color:var(--zn-ink)}
.zn-profile-section-title-5201{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px}
.zn-profile-section-title-5201 h2{font-size:16px!important;color:var(--zn-ink)!important;margin:0}
.zn-profile-section-title-5201 a,.zn-profile-empty-5201 a{font-size:12px;text-decoration:none;color:var(--zn-brand)!important;font-weight:750}
.zn-profile-activity-grid-5201{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.zn-profile-activity-grid-5201 a{display:grid;gap:4px;padding:14px 8px;text-align:center;border-radius:12px;background:var(--zn-elevated)!important;border:1px solid var(--zn-line)!important;text-decoration:none;color:var(--zn-ink)!important;min-width:0}
.zn-profile-activity-grid-5201 strong{font-size:19px;color:var(--zn-ink)!important}
.zn-profile-activity-grid-5201 span{font-size:11px;color:var(--zn-secondary)!important}
.zn-profile-listing-5201{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--zn-line);color:var(--zn-ink)!important;text-decoration:none;min-width:0}
.zn-profile-listing-5201:last-child{border-bottom:0}
.zn-profile-listing-5201 img,.zn-profile-listing-ph-5201{width:62px;height:56px;flex-shrink:0;object-fit:cover;display:grid;place-items:center;border-radius:10px;background:var(--zn-elevated)}
.zn-profile-listing-5201>span:nth-child(2){flex:1;min-width:0}
.zn-profile-listing-5201 strong{display:block;color:var(--zn-ink)!important;font-size:13px;overflow-wrap:anywhere}
.zn-profile-listing-5201 small{display:block;color:var(--zn-secondary)!important;font-size:11px;margin-top:4px}
.zn-profile-listing-5201>b{font-size:23px;font-weight:400;color:var(--zn-secondary)}
.zn-profile-empty-5201{font-size:13px;color:var(--zn-secondary)!important}
body.page-profile.site-theme-5178 .top{background-color:var(--zn-panel)!important}
body.page-profile.site-theme-5178 .mobile-nav.zn-mobile-nav-5178{background:var(--zn-panel)!important;border-color:var(--zn-line)!important}
body.page-profile.site-theme-5178 .mobile-nav.zn-mobile-nav-5178>a:not(.is-active) :is(.nav-icon,small){color:var(--zn-secondary)!important}
@media(min-width:901px){body.page-profile.site-theme-5178 .zn-profile-5201{padding-top:23px!important}}
@media(max-width:640px){body.page-profile.site-theme-5178 .zn-profile-5201{padding:9px 11px 125px!important;width:100%!important} .zn-profile-main-card-5201{border-radius:17px} .zn-profile-cover-5201{height:150px} .zn-profile-details-5201{padding:0 15px 16px!important} .zn-profile-photo-link-5201{height:87px;width:87px} .zn-profile-heading-5201{margin-top:-38px} .zn-profile-edit-5201{font-size:12px;padding:9px 11px} .zn-profile-mini-stats-5201 strong{font-size:21px} .zn-profile-menu-5201>a{min-height:58px;padding:9px 12px} .zn-profile-activity-5201{padding:13px} .zn-profile-mini-stats-5201 span{font-size:11px}}
@media(max-width:350px){.zn-profile-edit-5201{padding:8px!important;font-size:11px!important}.zn-profile-mini-stats-5201 span{font-size:10px!important}.zn-profile-menu-5201>a>span:nth-child(2){font-size:12px}.zn-profile-activity-grid-5201 a{padding:9px 3px}}
@media(prefers-reduced-motion:reduce){.zn-profile-5201 *{transition:none!important}}
/* Legacy generic page-profile section rules carry !important; override them explicitly. */
body.page-profile.site-theme-5178 section.zn-profile-main-card-5201,
body.page-profile.site-theme-5178 section.zn-profile-activity-5201{background-color:var(--zn-panel)!important;background-image:none!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
body.page-profile.site-theme-5178 .zn-profile-details-5201{background-color:var(--zn-panel)!important;color:var(--zn-ink)!important}

/* --- upgrade-5202-dialogs-theme.css --- */
/* Знаходка 5.202: диалоги и системные уведомления, в обеих темах. */
body.site-theme-5178{--zn-chat-bg:#091c29;--zn-chat-card:#102b3a;--zn-chat-soft:#193948;--zn-chat-border:#2a4e5e;--zn-chat-text:#ebf7fa;--zn-chat-sub:#a8c4d2;--zn-chat-sent:#065b60;--zn-chat-accent:#18d6b3}
body.site-theme-5178.zn-effective-light{--zn-chat-bg:#f3f7fa;--zn-chat-card:#fff;--zn-chat-soft:#edf3f6;--zn-chat-border:#d8e4eb;--zn-chat-text:#142b39;--zn-chat-sub:#597586;--zn-chat-sent:#e0f9f3;--zn-chat-accent:#008d78}
body.site-theme-5178 .zn-messages-5178{width:min(100%,920px);margin:0 auto 110px;padding:12px clamp(12px,3vw,25px);min-width:0;color:var(--zn-chat-text)!important}
body.site-theme-5178 .zn-messages-5178 :is(.zn-message-hero,.zn-thread-list,.zn-thread-card,.zn-chat-shell,.zn-chat-head,.zn-message-bubbles,.zn-bubble,.zn-composer,.zn-message-tabs a,.zn-message-search,.zn-official-thread-5202,.zn-official-chat-5202){border-color:var(--zn-chat-border)!important;color:var(--zn-chat-text)!important}
body.site-theme-5178 .zn-messages-5178 :is(.zn-message-hero,.zn-chat-shell,.zn-thread-card,.zn-official-chat-5202){background:var(--zn-chat-card)!important}
body.site-theme-5178 .zn-messages-5178 :is(.zn-thread-card,.zn-official-thread-5202):hover{background:var(--zn-chat-soft)!important}
body.site-theme-5178 .zn-messages-5178 .zn-message-hero h1{font-size:clamp(24px,4vw,34px)!important;line-height:1.2!important;margin-bottom:8px;color:var(--zn-chat-text)!important}
body.site-theme-5178 .zn-messages-5178 :is(.zn-message-hero p,.zn-thread-copy p,.zn-thread-copy small,.zn-thread-meta,.zn-chat-head small,.zn-bubble small){color:var(--zn-chat-sub)!important}
body.site-theme-5178 .zn-messages-5178 :is(.zn-message-search,.zn-message-search input,.zn-composer textarea){background:var(--zn-chat-soft)!important;color:var(--zn-chat-text)!important;border-color:var(--zn-chat-border)!important}
body.site-theme-5178 .zn-messages-5178 .zn-thread-card{border:1px solid var(--zn-chat-border)!important;border-radius:16px!important;margin-block:7px;min-width:0;overflow:hidden}
body.site-theme-5178 .zn-messages-5178 .zn-thread-copy{min-width:0;overflow-wrap:anywhere}
body.site-theme-5178 .zn-messages-5178 .zn-thread-copy :is(strong,p,small){overflow-wrap:anywhere}
body.site-theme-5178 .zn-messages-5178 .zn-bubble{max-width:min(82%,600px);background:var(--zn-chat-soft)!important;color:var(--zn-chat-text)!important;border:1px solid var(--zn-chat-border)!important;border-radius:16px 16px 16px 5px!important;overflow-wrap:anywhere}
body.site-theme-5178 .zn-messages-5178 .zn-bubble.mine{margin-left:auto;background:var(--zn-chat-sent)!important;border-radius:16px 16px 5px 16px!important}
body.site-theme-5178 .zn-messages-5178 .zn-bubble :is(strong,p){color:var(--zn-chat-text)!important}
body.site-theme-5178 .zn-messages-5178 .zn-composer{display:flex!important;gap:8px;align-items:flex-end;background:var(--zn-chat-card)!important;border-top:1px solid var(--zn-chat-border)!important;padding:12px!important}
body.site-theme-5178 .zn-messages-5178 .zn-composer textarea{min-height:45px!important;max-height:165px;resize:vertical;border-radius:13px!important;padding:12px!important;flex:1}
body.site-theme-5178 .zn-messages-5178 .zn-composer .btn{height:46px;min-width:48px;border-radius:13px!important;background:#16cba8!important;color:#06241d!important}
.zn-messenger-official-shortcut-5202{margin:10px 0 3px;font-size:13px}.zn-messenger-official-shortcut-5202 a{display:inline-flex;gap:8px;align-items:center;padding:9px 13px;border-radius:999px;background:var(--zn-chat-soft);border:1px solid var(--zn-chat-border);color:var(--zn-chat-text)!important;text-decoration:none}.zn-messenger-official-shortcut-5202 b{background:#07bb98;color:#02251f;border-radius:999px;padding:2px 7px;font-size:11px}
.zn-official-logo-5202,.zn-official-logo-small-5202{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:15px;background:linear-gradient(150deg,#31f0c9,#0090b0);color:#05303b;font-size:28px;font-weight:900;box-shadow:0 5px 18px #00bbac26}
.zn-official-logo-small-5202{width:24px;height:24px;border-radius:8px;font-size:16px}
.zn-official-thread-5202{display:flex;align-items:center;gap:12px;padding:13px 16px;margin:12px 0 14px;background:var(--zn-chat-card);border:1px solid var(--zn-chat-border);border-radius:17px;color:var(--zn-chat-text);text-decoration:none;min-width:0}
.zn-official-thread-text-5202{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.zn-official-thread-text-5202 strong{color:var(--zn-chat-text);font-size:15px}.zn-official-thread-text-5202 strong span{font-size:10px;color:var(--zn-chat-accent);margin-left:4px}.zn-official-thread-text-5202 small{font-size:12px;color:var(--zn-chat-sub);overflow-wrap:anywhere}.zn-official-thread-5202 em{font-style:normal;font-size:12px;background:#18d6b3;color:#073127;padding:5px 8px;border-radius:50px}.zn-official-thread-5202>b{color:var(--zn-chat-sub)}
.zn-official-chat-5202{overflow:hidden;border:1px solid var(--zn-chat-border);border-radius:20px;background:var(--zn-chat-card);box-shadow:0 12px 38px #00000012;min-height:500px}
.zn-official-chat-header-5202{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--zn-chat-border)}.zn-official-chat-header-5202>a{color:var(--zn-chat-text);font-size:25px;text-decoration:none;padding:2px 8px}.zn-official-chat-header-5202>div:last-child{min-width:0}.zn-official-chat-header-5202 h2{color:var(--zn-chat-text)!important;font-size:18px!important;margin:0 0 4px!important}.zn-official-chat-header-5202 h2 span{font-size:10px;color:var(--zn-chat-accent);white-space:nowrap}.zn-official-chat-header-5202 small{color:var(--zn-chat-sub)}
.zn-official-chat-body-5202{padding:clamp(12px,3vw,25px);display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-height:280px;background:var(--zn-chat-bg)}
.zn-official-bubble-5202{width:min(100%,650px);background:var(--zn-chat-card);border:1px solid var(--zn-chat-border);border-radius:16px 16px 16px 5px;padding:15px;overflow-wrap:anywhere;box-shadow:0 6px 22px #0000000a}
.zn-official-sender-5202{display:flex;gap:8px;align-items:center;margin-bottom:10px;color:var(--zn-chat-text)}.zn-official-sender-5202 strong{font-size:13px}.zn-official-sender-5202 small{margin-left:auto;color:var(--zn-chat-sub);font-size:11px}.zn-official-bubble-5202 h3{font-size:16px;margin:0 0 6px;color:var(--zn-chat-text)!important}.zn-official-bubble-5202 p{margin:0 0 10px;line-height:1.58;color:var(--zn-chat-text)!important;font-size:14px}.zn-official-link-5202{display:inline-flex;padding:8px 12px;background:var(--zn-chat-soft);border:1px solid var(--zn-chat-border);border-radius:10px;color:var(--zn-chat-accent)!important;font-weight:700;text-decoration:none}
.zn-official-chat-5202 .zn-official-locked-5202{display:flex;gap:10px;padding:13px 17px;border-top:1px solid var(--zn-chat-border);color:var(--zn-chat-sub);font-size:12px;line-height:1.45;background:var(--zn-chat-card)}.zn-official-locked-5202 a{color:var(--zn-chat-accent)!important}.zn-official-empty-5202{align-self:center;text-align:center;max-width:380px;display:grid;justify-items:center;gap:10px;padding:40px 15px}.zn-official-empty-5202 h3{margin:0;color:var(--zn-chat-text)!important}.zn-official-empty-5202 p{margin:0;color:var(--zn-chat-sub)!important}
body.site-theme-5178 .zn-admin-compose-5202{background:var(--zn-panel)!important;border-color:var(--zn-line)!important;color:var(--zn-ink)!important;margin-block:18px}body.site-theme-5178 .zn-admin-compose-5202 :is(input,textarea,select){background:var(--zn-input)!important;color:var(--zn-ink)!important;border-color:var(--zn-line)!important}
@media(max-width:600px){body.site-theme-5178 .zn-messages-5178{padding:8px 8px 110px}.zn-official-chat-header-5202{padding:12px}.zn-official-chat-header-5202 h2{font-size:16px!important}.zn-official-chat-header-5202 h2 span{display:block;margin-top:3px}.zn-official-chat-body-5202{padding:12px}.zn-official-chat-5202{border-radius:16px}.zn-official-thread-5202{padding:10px;gap:10px}.zn-official-thread-text-5202 small{font-size:11px}body.site-theme-5178 .zn-messages-5178 .zn-bubble{max-width:92%}body.site-theme-5178 .zn-messages-5178 .zn-message-tabs{overflow-x:auto;scrollbar-width:none}body.site-theme-5178 .zn-messages-5178 .zn-composer{position:static!important} }
@media(prefers-reduced-motion:reduce){.zn-official-chat-5202 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* --- upgrade-5203-unified-sections.css --- */
/* Знаходка 5.203 — real page templates, no static mockup overlays.
   One palette for notices, marketplace, catalog, forum, authors, adverts, wallet. */
body.site-theme-5178{--v203-bg:var(--zn-page,#091824);--v203-card:var(--zn-panel,#102635);--v203-raised:var(--zn-elevated,#183645);--v203-stroke:var(--zn-line,#2b4b5b);--v203-text:var(--zn-ink,#f1f8fb);--v203-sub:var(--zn-secondary,#a7becb);--v203-accent:var(--zn-brand,#22d8b5);--v203-input:var(--zn-input,#112c3b);--v203-shadow:var(--zn-shadow,0 8px 28px #020f1925)}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178,.product-detail-v2,.listing-page-v2){box-sizing:border-box;color:var(--v203-text)!important;min-width:0;max-width:min(100%,1280px);margin-inline:auto!important}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(h1,h2,h3,h4,.section-head strong){color:var(--v203-text)!important;overflow-wrap:anywhere;letter-spacing:-.018em}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(.meta,small,.muted,.eyebrow,.lead){color:var(--v203-sub)!important}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(.panel,.zn-glass,.notifications-hero-card,.notification-card,.ad-public-card,.author-metric,.author-section-card,.forum-topic-list,.xf-topic-row,.product-card,.marketplace-card,.catalog-filter-panel,.forum-sidebar section){background:var(--v203-card)!important;color:var(--v203-text)!important;border-color:var(--v203-stroke)!important;box-shadow:var(--v203-shadow)}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--v203-input)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;border-radius:11px!important;min-width:0;max-width:100%}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(input,textarea,select)::placeholder{color:var(--v203-sub)!important;opacity:.83}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(a,button,input,summary):focus-visible{outline:3px solid var(--v203-accent)!important;outline-offset:2px}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) .btn:not(.secondary){background:var(--v203-accent)!important;color:#062d30!important;border-color:transparent!important;font-weight:760;box-shadow:none!important}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) .btn.secondary{background:var(--v203-raised)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;box-shadow:none!important}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.zn-wallet-5178) :is(.btn,a,button){-webkit-tap-highlight-color:transparent}
body.site-theme-5178.zn-effective-light :is(.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.notifications-page,.zn-wallet-5178) :is(.panel,.zn-glass,.ad-public-card,.author-section-card,.notifications-hero-card,.zn-wallet-balance){background:var(--v203-card)!important;color:var(--v203-text)!important}
body.site-theme-5178 :is(.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.notifications-page,.zn-wallet-5178) :is(.panel,.zn-glass,.ad-public-card,.author-section-card,.notifications-hero-card,.zn-wallet-balance) :is(h1,h2,h3,h4,strong){color:var(--v203-text)!important}
body.site-theme-5178 :is(.catalog-hub,.forum-shell,.author-dashboard,.advertising-page,.notifications-page,.zn-wallet-5178) :is(.panel,.zn-glass,.ad-public-card,.author-section-card,.notifications-hero-card,.zn-wallet-balance) :is(p,small,.meta){color:var(--v203-sub)!important}
/* Shared quick switcher to actual PHP pages, never dead decoration. */
.zn-section-rail-5203{display:flex;gap:8px;align-items:center;width:min(100% - 30px,1280px);margin:14px auto 20px;padding:8px;background:var(--v203-card);border:1px solid var(--v203-stroke);border-radius:16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;box-shadow:var(--v203-shadow);scroll-snap-type:x proximity}
.zn-section-rail-5203 a{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:38px;padding:8px 13px;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:730;border:1px solid transparent;border-radius:10px;color:var(--v203-sub)!important;scroll-snap-align:start}
.zn-section-rail-5203 a span{font-size:19px;line-height:1;min-width:19px;text-align:center}
.zn-section-rail-5203 a:is(:hover,:focus-visible){background:var(--v203-raised)!important;color:var(--v203-text)!important}
.zn-section-rail-5203 a.is-current{background:var(--v203-accent)!important;color:#073328!important}
/* Notification center */
.notifications-page.notifications-page-upgraded{padding:0 clamp(10px,2vw,25px) 115px!important}
body.site-theme-5178 .notifications-hero-card{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:20px!important;padding:clamp(17px,3vw,28px)!important;box-shadow:var(--v203-shadow)}
.notifications-hero-copy{max-width:850px}.notifications-hero-copy h1{font-size:clamp(24px,3vw,36px)!important;line-height:1.2!important;margin:7px 0 9px!important}
.notifications-hero-card .notifications-hero-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.notifications-overview-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}
body.site-theme-5178 .notifications-kpi{background:var(--v203-raised)!important;border:1px solid var(--v203-stroke)!important;border-radius:14px!important;min-width:0;padding:15px!important;box-shadow:none!important}
.notifications-kpi strong{font-size:clamp(23px,3vw,35px)!important;color:var(--v203-text)!important}
.notifications-kpi span{color:var(--v203-sub)!important;overflow-wrap:anywhere;font-size:12px}
.notification-filters{display:flex!important;flex-wrap:wrap;gap:7px;padding:9px 0!important}
body.site-theme-5178 .notification-filter{display:inline-flex;align-items:center;padding:8px 12px!important;background:var(--v203-raised)!important;border:1px solid var(--v203-stroke)!important;border-radius:999px!important;color:var(--v203-text)!important;text-decoration:none;font-size:12px}
body.site-theme-5178 .notification-filter.active{background:var(--v203-accent)!important;color:#06342c!important;border-color:transparent!important;font-weight:800}
.notification-list-rich{display:grid;gap:9px}
body.site-theme-5178 .notification-item.notification-card{display:flex!important;gap:14px;align-items:flex-start;border:1px solid var(--v203-stroke)!important;border-radius:15px!important;padding:clamp(12px,2vw,17px)!important;background:var(--v203-card)!important;box-shadow:none!important;min-width:0}
body.site-theme-5178 .notification-item.unread{border-left:4px solid var(--v203-accent)!important;background:var(--v203-raised)!important}
.notification-item .notification-content{min-width:0;flex:1}.notification-item .notification-content p{color:var(--v203-sub)!important;overflow-wrap:anywhere;line-height:1.5}
.notification-item .notification-heading strong{font-size:15px;color:var(--v203-text)!important}
.notification-item .notification-meta-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px}
.notification-item .notification-icon{width:43px;min-width:43px;height:43px;display:grid;place-items:center;border-radius:13px!important}
.notification-item .notification-actions{display:flex!important;flex-wrap:wrap;gap:6px}
/* Catalog, product cards and categories */
.catalog-hub{padding:0 clamp(10px,2vw,25px) 110px!important;gap:14px!important}
.catalog-hub .catalog-hub-hero{border-radius:20px!important;border:1px solid var(--v203-stroke)!important;background:var(--v203-card)!important;padding:clamp(18px,3vw,28px)!important}
.catalog-hub .catalog-hub-hero h1{font-size:clamp(25px,4vw,38px)!important;line-height:1.18!important;margin:6px 0 8px!important}
.catalog-category-rail,.hybrid-category-rail{display:flex!important;align-items:stretch;overflow-x:auto!important;scrollbar-width:thin;gap:9px;padding:4px 0 9px!important;max-width:100%}
body.site-theme-5178 .catalog-category-rail .hybrid-category-chip{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;color:var(--v203-text)!important;border-radius:13px!important;min-width:105px;min-height:80px}
body.site-theme-5178 .catalog-category-rail .hybrid-category-chip.is-active{border-color:var(--v203-accent)!important;box-shadow:inset 0 0 0 1px var(--v203-accent)!important}
.zn-feature-trust-5203{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.zn-feature-trust-5203>span{display:flex;gap:7px;align-items:center;padding:12px 13px;border-radius:13px;border:1px solid var(--v203-stroke);background:var(--v203-card);font-size:18px;color:var(--v203-accent);min-width:0;flex-wrap:wrap}
.zn-feature-trust-5203 b{font-size:13px;color:var(--v203-text)}.zn-feature-trust-5203 small{font-size:11px;line-height:1.25;color:var(--v203-sub);flex-basis:100%}
.catalog-layout{display:grid!important;grid-template-columns:minmax(205px,260px) minmax(0,1fr);align-items:start;gap:16px}
body.site-theme-5178 .catalog-filter-panel{padding:13px!important;background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:16px!important;min-width:0;position:sticky;top:90px}
.catalog-filter-panel summary{font-size:16px;font-weight:800;color:var(--v203-text)!important;cursor:pointer;padding:6px 3px}
.catalog-filter-form label{color:var(--v203-text)!important;font-size:13px}.catalog-price-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.catalog-results,.catalog-results>*{min-width:0}.catalog-products-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}
.catalog-sort{display:flex;gap:6px;overflow-x:auto;max-width:100%;scrollbar-width:none}
body.site-theme-5178 .catalog-sort>a{display:inline-flex;flex:none;background:var(--v203-raised)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;border-radius:999px!important;padding:8px 10px}
body.site-theme-5178 .catalog-sort>a.active{background:var(--v203-accent)!important;color:#042b26!important}
.catalog-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;min-width:0}
body.site-theme-5178 .catalog-product-grid .zn-product-card-5203{border:1px solid var(--v203-stroke)!important;border-radius:16px!important;overflow:hidden;min-width:0;background:var(--v203-card)!important;box-shadow:var(--v203-shadow)!important;display:flex;flex-direction:column}
.catalog-product-grid .product-card-media{display:block;width:100%;aspect-ratio:4/3;background:var(--v203-raised);overflow:hidden}
.catalog-product-grid .product-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.catalog-product-grid .product-card-body{padding:12px!important;display:flex;flex:1;flex-direction:column;gap:7px;min-width:0}
.catalog-product-grid .product-card-body h3{font-size:15px!important;line-height:1.38!important;margin:0!important;overflow-wrap:anywhere}
.catalog-product-grid .product-card-body h3 a{color:var(--v203-text)!important}
.catalog-product-grid .product-card-meta{display:flex;gap:7px;flex-wrap:wrap;flex-direction:column;align-items:flex-start;margin-top:auto}
.catalog-product-grid .product-card-meta strong{color:var(--v203-accent)!important;font-size:18px}
.catalog-product-grid .product-card-meta span{color:var(--v203-sub)!important;font-size:11px}
.catalog-product-grid .product-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
/* Marketplace classified listing cards */
.marketplace-page{padding:0 clamp(10px,2vw,25px) 110px!important}
body.site-theme-5178 .marketplace-command{background:var(--v203-card)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;border-radius:20px!important;padding:clamp(16px,3vw,25px)!important}
.marketplace-page .marketplace-command h1{font-size:clamp(24px,3.6vw,38px)!important}
.marketplace-page .marketplace-layout{min-width:0;gap:15px!important}
body.site-theme-5178 .marketplace-filter-card{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:16px!important}
.marketplace-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;min-width:0}
body.site-theme-5178 .marketplace-card-grid .marketplace-card{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:15px!important;overflow:hidden;min-width:0;box-shadow:var(--v203-shadow)!important}
.marketplace-card .marketplace-card-media{aspect-ratio:4/3;min-height:0}.marketplace-card-media img{width:100%;height:100%;object-fit:cover}
.marketplace-card .marketplace-card-copy{min-width:0;padding:12px!important}.marketplace-card .marketplace-card-copy :is(h3,strong){color:var(--v203-text)!important;overflow-wrap:anywhere}
/* Forum */
.forum-shell.forum-pro{padding:0 clamp(10px,2vw,25px) 110px!important}
body.site-theme-5178 .forum-banner{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:20px!important;padding:clamp(18px,3vw,29px)!important}
.forum-banner h1{font-size:clamp(25px,4vw,38px)!important;margin:6px 0 10px!important}
.forum-command-nav,.forum-tabs{display:flex;flex-wrap:wrap;gap:8px!important}
body.site-theme-5178 :is(.forum-command-nav,.forum-tabs) a{background:var(--v203-raised)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;border-radius:999px!important;padding:9px 12px;text-decoration:none}
body.site-theme-5178 :is(.forum-command-nav,.forum-tabs) a.active{background:var(--v203-accent)!important;color:#06332c!important;border-color:transparent!important}
.forum-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(225px,290px);gap:16px!important}
.forum-content,.forum-sidebar{min-width:0}.forum-sidebar .panel{border-radius:15px!important}
body.site-theme-5178 .xf-topic-row{display:grid!important;gap:10px;align-items:center;grid-template-columns:44px minmax(0,1fr) auto auto;min-width:0;border-bottom:1px solid var(--v203-stroke)!important;padding:13px!important;background:var(--v203-card)!important;color:var(--v203-text)!important;text-decoration:none}
body.site-theme-5178 .xf-topic-row.is-unread{background:var(--v203-raised)!important;border-left:3px solid var(--v203-accent)!important}
.xf-topic-row .xf-topic-title{font-weight:760;overflow-wrap:anywhere}.xf-topic-row .xf-topic-title a{color:var(--v203-text)!important}
.xf-topic-row :is(.xf-topic-excerpt,.xf-topic-meta,.xf-topic-last){color:var(--v203-sub)!important;overflow-wrap:anywhere}
body.site-theme-5178 .xf-category{background:var(--v203-raised)!important;color:var(--v203-text)!important;border-color:var(--v203-stroke)!important;border-radius:11px!important}
body.site-theme-5178 .xf-category.active{border-color:var(--v203-accent)!important;color:var(--v203-accent)!important}
/* Author center */
.author-dashboard.author-dashboard-v2{padding:0 clamp(10px,2vw,25px) 110px!important}
body.site-theme-5178 .author-dashboard-hero{border:1px solid var(--v203-stroke)!important;background:var(--v203-card)!important;border-radius:20px!important;gap:16px!important}
.author-dashboard-hero h1{font-size:clamp(25px,4vw,36px)!important}
.author-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}
body.site-theme-5178 .author-metric{border:1px solid var(--v203-stroke)!important;border-radius:14px!important;background:var(--v203-card)!important;padding:17px!important;box-shadow:none!important}
.author-metric strong{font-size:clamp(22px,3vw,31px)!important;color:var(--v203-accent)!important}
.author-dashboard-columns{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(255px,1fr);gap:16px!important}
body.site-theme-5178 .author-work-stats>span{background:var(--v203-raised)!important;color:var(--v203-text)!important;border:1px solid var(--v203-stroke)!important;border-radius:12px!important}
body.site-theme-5178 :is(.author-post-row,.author-ranking-row,.author-tool-list a){background:var(--v203-card)!important;color:var(--v203-text)!important;border-color:var(--v203-stroke)!important;text-decoration:none}
.author-post-row strong{color:var(--v203-text)!important}.author-post-row span,.author-ranking-row small{color:var(--v203-sub)!important}
.author-progress{background:var(--v203-raised)!important;overflow:hidden;border-radius:999px!important}.author-progress div{background:var(--v203-accent)!important}
/* Advertising: preserve actual packages and ordering */
.advertising-page{padding:0 clamp(10px,2vw,25px) 110px!important}
body.site-theme-5178 .advertising-hero{border:1px solid var(--v203-stroke)!important;background:var(--v203-card)!important;border-radius:20px!important;padding:clamp(19px,3vw,29px)!important}
.advertising-hero h1{font-size:clamp(25px,4vw,38px)!important}
body.site-theme-5178 .ad-public-card{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:16px!important;padding:17px!important;box-shadow:none!important;transform:none!important}
body.site-theme-5178 .ad-public-card.is-selected{border-color:var(--v203-accent)!important;box-shadow:inset 0 0 0 1px var(--v203-accent)!important;background:var(--v203-raised)!important}
body.site-theme-5178 :is(.ad-live-preview-5164,.ad-order-history,.active-ad-card,.ad-surface-guide-5157){background:var(--v203-card)!important;border-color:var(--v203-stroke)!important;color:var(--v203-text)!important}
body.site-theme-5178 .ad-public-grid{gap:12px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* Wallet: display real amounts; no fake payment badges */
.zn-wallet-5178{padding:0 clamp(10px,2vw,25px) 115px!important}
body.site-theme-5178 .zn-wallet-balance{background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:20px!important;color:var(--v203-text)!important;padding:clamp(22px,3vw,30px)!important;box-shadow:var(--v203-shadow)!important}
.zn-wallet-balance h1{font-size:clamp(31px,5vw,46px)!important;overflow-wrap:anywhere;color:var(--v203-text)!important}
.zn-wallet-summary-5203{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.zn-wallet-summary-5203>div{padding:15px;border:1px solid var(--v203-stroke);background:var(--v203-card);border-radius:14px;display:grid;gap:6px;min-width:0}
.zn-wallet-summary-5203>div>span{font-size:23px;color:var(--v203-accent)}
.zn-wallet-summary-5203 strong{color:var(--v203-text);font-size:clamp(14px,2vw,19px);overflow-wrap:anywhere}
.zn-wallet-summary-5203 small{color:var(--v203-sub);font-size:12px}
body.site-theme-5178 :is(.zn-pay-card,.zn-wallet-history){background:var(--v203-card)!important;border:1px solid var(--v203-stroke)!important;border-radius:17px!important;color:var(--v203-text)!important}
body.site-theme-5178 :is(.zn-wallet-row,.zn-provider,.zn-payment-summary){border-color:var(--v203-stroke)!important;color:var(--v203-text)!important}
body.site-theme-5178 .zn-provider{background:var(--v203-raised)!important;border-radius:11px!important}
body.site-theme-5178 .zn-provider:has(input:checked){outline:2px solid var(--v203-accent);outline-offset:1px}
/* Light-theme isolation: prevent dark fixed backgrounds showing as black/white seams */
body.site-theme-5178.zn-effective-light :is(.catalog-layout,.catalog-results,.notification-list-rich,.forum-layout,.author-dashboard-columns,.ad-public-grid,.marketplace-layout,.zn-wallet-5178){background:transparent!important;color:var(--v203-text)!important}
body.site-theme-5178.zn-effective-light :is(.zn-wallet-5178,.author-dashboard,.forum-shell,.catalog-hub,.advertising-page,.notifications-page) :is(.notice,.filter-reset,.author-hero-meta,.forum-stats){color:var(--v203-text)!important}
/* Breakpoints / overflow, without hiding actions or clipping text */
@media(max-width:1080px){.catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.author-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.forum-layout{grid-template-columns:minmax(0,1fr)}.forum-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:760px){
 .zn-section-rail-5203{width:calc(100% - 20px);margin:6px auto 12px;padding:6px;border-radius:12px;gap:4px;box-shadow:none}
 .zn-section-rail-5203 a{font-size:12px;min-height:36px;padding:7px 9px}
 .catalog-layout{display:flex!important;flex-direction:column;gap:12px!important}.catalog-filter-panel{position:static!important;width:100%;padding:8px 13px!important}.catalog-results{width:100%}
 .catalog-hub .catalog-hub-hero,.forum-banner,.advertising-hero{flex-direction:column;align-items:flex-start}
 .catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
 .zn-feature-trust-5203{grid-template-columns:1fr 1fr;gap:7px}.zn-feature-trust-5203>span{padding:10px}
 .notifications-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .notifications-desktop-filters{display:none!important}.notification-list-rich .notification-item{gap:10px!important}
 .forum-sidebar{display:block}.xf-topic-row{grid-template-columns:34px minmax(0,1fr)!important}.xf-topic-row :is(.xf-topic-stat,.xf-topic-last){grid-column:2}
 .author-dashboard-columns{display:flex!important;flex-direction:column}.author-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ad-public-grid{grid-template-columns:1fr!important}
 .zn-wallet-summary-5203{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
 .zn-feature-trust-5203{grid-template-columns:1fr 1fr}.zn-feature-trust-5203 span:last-child{grid-column:span 2}
 .catalog-product-grid,.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .catalog-product-grid .product-card-body{padding:9px!important}.catalog-product-grid .product-card-body h3{font-size:13px!important}
 .catalog-product-grid .product-card-actions .btn{padding:6px 8px!important;font-size:11px!important}
 .zn-wallet-summary-5203{grid-template-columns:1fr}
 .notifications-page .notification-item .notification-icon{width:35px;min-width:35px;height:35px}
 .notifications-page .notification-item .notification-actions .btn{font-size:11px!important;padding:7px 9px!important}
}
@media(prefers-reduced-motion:reduce){.zn-section-rail-5203 *,.zn-product-card-5203{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* --- upgrade-5204-account.css --- */
/* Znahodka 5.204 — coherent account command center in both themes. */
body.page-account_settings .account-center-5151,
body.page-account_security .main { --ac-bg:var(--zn-page,#0b1b26); --ac-panel:var(--zn-panel,#122b3b); --ac-ink:var(--zn-ink,#f3f8fc); --ac-muted:var(--zn-muted,#a8beca); --ac-border:var(--zn-line,rgba(136,185,209,.20)); color:var(--ac-ink); }
body.zn-effective-light.page-account_settings .account-center-5151,
body.zn-effective-light.page-account_security .main { --ac-bg:#f2f6f9; --ac-panel:#ffffff; --ac-ink:#142638; --ac-muted:#526779; --ac-border:#dbe5ec; }
.page-account_settings .account-center-5151 {max-width:1160px; margin-inline:auto; width:100%; min-width:0;}
.page-account_settings .account-center-hero,
.page-account_settings .account-center-section,
.page-account_settings .zn-settings-theme-card,
.page-account_settings .zn-settings-group,
.page-account_settings .account-security-card,
.page-account_settings .account-device-row,
.page-account_settings .account-payment-list>a,
.page-account_settings .zn-account-safety-5204,
.page-account_settings .zn-account-safety-5204>a { background:var(--ac-panel); color:var(--ac-ink); border:1px solid var(--ac-border); box-shadow:none; }
.page-account_settings .account-center-5151 :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {max-width:100%;min-width:0;background:var(--ac-panel);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:11px;}
.page-account_settings .account-center-5151 :is(h1,h2,h3,strong,b,label){color:var(--ac-ink)}
.page-account_settings .account-center-5151 :is(p,small,.meta,.account-security-card>span,.account-device-row span){color:var(--ac-muted)}
.page-account_settings .account-center-nav {position:sticky;top:8px;z-index:20;display:flex;gap:7px;overflow:auto;scrollbar-width:none;white-space:nowrap;padding:9px;border:1px solid var(--ac-border);border-radius:16px;background:var(--ac-panel);}
.page-account_settings .account-center-nav a {flex:0 0 auto;border-radius:10px;padding:10px 13px;color:var(--ac-ink);text-decoration:none;}
.page-account_settings .account-center-nav a[aria-current="location"] {background:rgba(28,204,177,.18);color:var(--ac-ink);font-weight:750;}
.page-account_settings .zn-account-safety-5204 {display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:10px;padding:14px;border-radius:18px;margin:16px 0;}
.page-account_settings .zn-account-safety-5204>div {display:flex;justify-content:center;flex-direction:column;padding:10px;gap:5px;min-width:0;}
.page-account_settings .zn-account-safety-5204>div strong {font-size:1.08rem}
.page-account_settings .zn-account-safety-5204>div span {font-size:.8rem;color:var(--ac-muted)}
.page-account_settings .zn-account-safety-5204>a {padding:13px;display:flex;flex-direction:column;justify-content:center;gap:5px;border-radius:12px;text-decoration:none;min-width:0;}
.page-account_settings .zn-account-safety-5204>a b{font-size:.9rem;line-height:1.2}
.page-account_settings .zn-account-safety-5204>a small{font-size:.75rem;line-height:1.35;color:var(--ac-muted)}
.page-account_settings .zn-account-safety-5204>a.is-attention{border-color:#efb667}
.page-account_settings .zn-account-safety-5204>a.is-ok{border-color:#2ad3ac}
.page-account_settings .zn-session-revoke-form-5204{display:flex;flex-wrap:wrap;gap:9px;align-items:end;}
.page-account_settings .zn-session-revoke-form-5204 label{display:grid;gap:5px;flex:1 1 230px;font-size:.85rem;}
.page-account_settings .zn-session-revoke-form-5204 small {flex-basis:100%;}
.page-account_settings .zn-password-reveal-5204 {font-size:.84rem;background:transparent;border:1px solid var(--ac-border);border-radius:9px;color:var(--ac-ink);padding:6px 10px;cursor:pointer;align-self:start;}
.page-account_settings .zn-unsaved-5204 {color:#b87715;font-size:.86rem;font-weight:650;min-height:1.3em;}
.page-account_settings .account-device-row {border-radius:12px;margin:8px 0;padding:11px;align-items:center;}
.page-account_settings .account-center-section {scroll-margin-top:82px;}
.page-account_settings .account-center-5151 :is(a,button,input,textarea,select):focus-visible {outline:3px solid #20bfae;outline-offset:3px;}
@media(max-width:900px){.page-account_settings .zn-account-safety-5204{grid-template-columns:repeat(3,minmax(0,1fr));}.page-account_settings .zn-account-safety-5204>div{grid-column:1/-1}}
@media(max-width:560px){.page-account_settings .zn-account-safety-5204{grid-template-columns:1fr;gap:6px;padding:10px}.page-account_settings .zn-account-safety-5204>a{padding:12px}.page-account_settings .account-center-nav{top:0;border-radius:12px;padding:7px}.page-account_settings .account-center-nav a{padding:9px 11px}.page-account_settings .zn-session-revoke-form-5204>button{width:100%;}}
@media(prefers-reduced-motion:reduce){.page-account_settings *{scroll-behavior:auto!important;transition:none!important}}

/* --- upgrade-5205-experience.css --- */
/* Знаходка 5.205 — live templates, no mockup screenshots. Shared tokens and page-specific states. */
body.site-theme-5178{
 --z5-bg:#071925;--z5-panel:#0e2838;--z5-raised:#173448;--z5-stroke:#2b5062;
 --z5-ink:#f3f9fd;--z5-muted:#a6c1d0;--z5-turq:#22dfbd;--z5-cyan:#37b9f5;
 --z5-blue:#277cff;--z5-red:#fa657c;--z5-gold:#f6ba5a;--z5-field:#0a2131;
 --v203-card:var(--z5-panel);--v203-raised:var(--z5-raised);--v203-stroke:var(--z5-stroke);
 --v203-text:var(--z5-ink);--v203-sub:var(--z5-muted);--v203-accent:var(--z5-turq);
 --v203-input:var(--z5-field);--v203-shadow:0 9px 30px rgba(0,10,19,.14);
}
body.site-theme-5178.zn-effective-light,html.zn-effective-light body.site-theme-5178{
 --z5-bg:#f3f7fb;--z5-panel:#ffffff;--z5-raised:#eaf2f8;--z5-stroke:#d6e4ee;
 --z5-ink:#14293b;--z5-muted:#597184;--z5-turq:#008e7d;--z5-cyan:#086dac;
 --z5-blue:#176bdd;--z5-red:#c43f55;--z5-gold:#925c12;--z5-field:#f7fafc;
 --v203-card:#ffffff;--v203-raised:#edf3f8;--v203-stroke:#d5e2ed;
 --v203-text:#14293b;--v203-sub:#587083;--v203-accent:#008e7d;
 --v203-input:#f8fbff;--v203-shadow:0 6px 26px rgba(32,62,85,.075);
}
body.site-theme-5178:is(.page-notifications,.page-marketplace,.page-catalog,.page-community,.page-topic,.page-advertising,.page-wallet,.page-listing,.page-product),
body.site-theme-5178:has(.author-dashboard){background:var(--z5-bg)!important;color:var(--z5-ink)!important;}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2){
 --zn-panel:var(--z5-panel);--zn-elevated:var(--z5-raised);--zn-line:var(--z5-stroke);--zn-ink:var(--z5-ink);--zn-secondary:var(--z5-muted);--zn-input:var(--z5-field);
 min-width:0;color:var(--z5-ink)!important;
}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(.panel,.zn-glass,.notification-card,.xf-topic-row,.author-metric,.ad-public-card,.marketplace-card,.product-card,.catalog-filter-panel,.marketplace-filter-card,.zn-wallet-balance,.zn-wallet-history,.zn-pay-card){
 border-color:var(--z5-stroke)!important;color:var(--z5-ink)!important;box-shadow:0 5px 24px rgba(3,25,40,.09);
}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(.panel,.zn-glass,.xf-topic-row,.notification-card,.author-metric,.marketplace-card,.product-card,.catalog-filter-panel,.marketplace-filter-card,.zn-wallet-balance,.zn-wallet-history,.zn-pay-card){background:var(--z5-panel)!important;}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(h1,h2,h3,h4,strong,b,.price,.amount){color:var(--z5-ink)}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(.meta,small,.lead,.eyebrow){color:var(--z5-muted)}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--z5-field)!important;color:var(--z5-ink)!important;border:1px solid var(--z5-stroke)!important;outline-color:var(--z5-turq);}
body.site-theme-5178 :is(.notifications-page,.marketplace-page,.catalog-hub,.forum-shell,.forum-thread,.author-dashboard,.advertising-page,.zn-wallet-5178,.listing-page-v2,.product-detail-v2) :is(a,button,input,textarea,select):focus-visible{outline:3px solid var(--z5-cyan)!important;outline-offset:2px}
/* Unified navigation with real destinations and scroll indicator. */
.zn-section-rail-5203{background:var(--z5-panel)!important;border-color:var(--z5-stroke)!important;box-shadow:0 6px 20px #0000000c!important}
.zn-section-rail-5203 a{color:var(--z5-muted)!important}.zn-section-rail-5203 a.is-current{background:var(--z5-turq)!important;color:#05332f!important}
/* Notifications – dense, distinct event states; existing POST handlers preserved. */
body.site-theme-5178 .notifications-hero-card{background:linear-gradient(115deg,var(--z5-panel),var(--z5-raised))!important;border-color:var(--z5-stroke)!important}
.notifications-hero-card .notifications-hero-copy{width:100%}
.zn-notice-tools-5205{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0 5px}
.zn-notice-search-5205{display:flex;align-items:center;gap:8px;flex:1 1 230px;min-width:0;padding:9px 12px;border-radius:12px;background:var(--z5-panel);border:1px solid var(--z5-stroke);color:var(--z5-muted)}
.zn-notice-search-5205 input{border:0!important;background:transparent!important;box-shadow:none!important;flex:1;width:100%;min-width:0;padding:2px 1px!important;color:var(--z5-ink)!important}
.zn-notice-tools-5205 output{font-size:12px;color:var(--z5-muted)}
body.site-theme-5178 .notification-item.notification-card{border-radius:13px!important;padding:13px 15px!important;transition:border-color .16s,transform .16s}
body.site-theme-5178 .notification-item.notification-card:hover{border-color:var(--z5-cyan)!important;transform:translateY(-1px)}
body.site-theme-5178 .notification-item.unread{border-left:3px solid var(--z5-turq)!important;background:var(--z5-raised)!important}
.notification-item .notification-icon{background:var(--z5-raised)!important;color:var(--z5-turq)!important;border:1px solid var(--z5-stroke)}
.notification-item .notification-content{overflow-wrap:anywhere}.notification-item .notification-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.zn-notice-empty-5205{padding:24px;background:var(--z5-panel);border:1px dashed var(--z5-stroke);border-radius:14px;color:var(--z5-muted)}
body.site-theme-5178 .notification-filter.active{background:var(--z5-turq)!important;color:#052e29!important}
/* Catalog + listing cards – photographs are actual listing photos, not generated visuals. */
body.site-theme-5178 .catalog-hub-hero,body.site-theme-5178 .marketplace-command{background:var(--z5-panel)!important;color:var(--z5-ink)!important;border-color:var(--z5-stroke)!important}
body.site-theme-5178 .marketplace-card,body.site-theme-5178 .catalog-product-grid .product-card{border:1px solid var(--z5-stroke)!important;overflow:hidden;border-radius:15px!important;min-width:0}
:is(.marketplace-card,.catalog-product-grid .product-card) :is(img,.marketplace-card-media){object-fit:cover}
:is(.marketplace-card,.catalog-product-grid .product-card) :is(.marketplace-card-copy,.product-card-body){padding:12px!important;min-width:0}
:is(.marketplace-card,.catalog-product-grid .product-card) :is(h3,.marketplace-card-title){font-size:clamp(13px,1.3vw,17px)!important;line-height:1.35;overflow-wrap:anywhere}
:is(.marketplace-card,.catalog-product-grid .product-card) :is(.marketplace-card-price,.product-card-meta strong){font-size:clamp(17px,1.6vw,21px)!important;font-weight:850;color:var(--z5-turq)!important}
body.site-theme-5178 :is(.marketplace-card-tags,.product-card-actions){display:flex;flex-wrap:wrap;gap:5px}
body.site-theme-5178 .marketplace-card-favorite{min-width:33px;min-height:33px;border-radius:999px;}
body.site-theme-5178 .catalog-category-rail .hybrid-category-chip{border-color:var(--z5-stroke)!important;border-radius:12px!important}
body.site-theme-5178 :is(.marketplace-filter-card,.catalog-filter-panel){position:sticky;top:75px}
body.site-theme-5178 .listing-page-v2 :is(.listing-main-info-5168,.listing-seller-card-5168,.listing-description-5168,.listing-gallery-v2){background:var(--z5-panel)!important;border-color:var(--z5-stroke)!important;color:var(--z5-ink)!important}
/* Forum – readable topic rows and responsive categories. */
body.site-theme-5178 .forum-shell .forum-banner{background:linear-gradient(110deg,var(--z5-panel),var(--z5-raised))!important}
body.site-theme-5178 .forum-shell .forum-topic-list{border:1px solid var(--z5-stroke)!important;border-radius:16px!important;overflow:hidden;padding:5px!important}
body.site-theme-5178 .forum-shell .xf-topic-row{display:grid;align-items:center;gap:10px;border:1px solid transparent!important;border-bottom:1px solid var(--z5-stroke)!important;border-radius:10px!important;padding:13px 12px!important;color:var(--z5-ink)!important;transition:background .15s}
body.site-theme-5178 .forum-shell .xf-topic-row:hover{background:var(--z5-raised)!important}
body.site-theme-5178 .forum-shell .xf-topic-row.is-unread{border-left:3px solid var(--z5-turq)!important}
.forum-shell .xf-topic-main,.forum-shell .xf-topic-title{min-width:0;overflow-wrap:anywhere}
body.site-theme-5178 .forum-shell :is(.xf-topic-excerpt,.xf-topic-meta,.xf-topic-last,.forum-help p){color:var(--z5-muted)!important}
body.site-theme-5178 .forum-shell .xf-category{background:var(--z5-panel)!important;color:var(--z5-ink)!important;border:1px solid var(--z5-stroke)!important;border-radius:12px!important;margin:5px 0}
body.site-theme-5178 .forum-shell .xf-category:is(:hover,.active){background:var(--z5-raised)!important;border-color:var(--z5-turq)!important}
/* Author center and advertiser dashboard – metadata stays from real PHP values. */
body.site-theme-5178 :is(.author-dashboard-hero,.advertising-hero){background:linear-gradient(115deg,var(--z5-panel),var(--z5-raised))!important;border:1px solid var(--z5-stroke)!important}
body.site-theme-5178 .author-dashboard :is(.author-metric,.author-monetization-card,.author-post-row,.author-ranking-row,.author-section-card){background:var(--z5-panel)!important;border-color:var(--z5-stroke)!important;color:var(--z5-ink)!important;border-radius:13px!important}
body.site-theme-5178 .author-dashboard :is(.author-metric strong,.author-money-number){color:var(--z5-turq)!important;font-variant-numeric:tabular-nums}
body.site-theme-5178 .author-command-tabs a.active{background:var(--z5-turq)!important;color:#072a27!important}
body.site-theme-5178 .advertising-page :is(.ad-owner-stats-5164,.ad-campaign-overview-5164,.ad-public-card,.active-ad-card,.ad-payment-summary,.ad-surface-guide-5157){background:var(--z5-panel)!important;border:1px solid var(--z5-stroke)!important;color:var(--z5-ink)!important;border-radius:15px!important}
body.site-theme-5178 .advertising-page :is(.ad-campaign-steps-5164,.ad-order-history){max-width:100%;overflow-x:auto}
body.site-theme-5178 .advertising-page :is(.ad-public-grid,.active-ads-grid){min-width:0}
/* Wallet – trustworthy transaction hierarchy, real ledger values. */
body.site-theme-5178 .zn-wallet-5178 .zn-wallet-balance{background:linear-gradient(110deg,var(--z5-panel),var(--z5-raised))!important}
body.site-theme-5178 .zn-wallet-5178 .zn-wallet-balance h1{font-size:clamp(31px,4vw,49px)!important;line-height:1.16!important}
.zn-wallet-links-5205{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;margin:12px 0 14px}
.zn-wallet-links-5205 a{min-height:42px;display:inline-flex;align-items:center;flex:none;text-decoration:none;padding:8px 14px;border-radius:11px;border:1px solid var(--z5-stroke);background:var(--z5-panel);color:var(--z5-ink)!important;font-size:13px;font-weight:700}
.zn-wallet-links-5205 a:is(:hover,:focus-visible){border-color:var(--z5-turq)}
body.site-theme-5178 .zn-wallet-5178 :is(.zn-wallet-row,.zn-provider){background:var(--z5-panel)!important;border-color:var(--z5-stroke)!important;overflow-wrap:anywhere;min-width:0}
body.site-theme-5178 .zn-wallet-5178 .zn-provider:has(input:checked){background:var(--z5-raised)!important;border-color:var(--z5-turq)!important}
body.site-theme-5178 .zn-wallet-5178 .zn-wallet-row .amount{font-variant-numeric:tabular-nums;word-break:normal}
body.site-theme-5178 .zn-wallet-5178 .zn-payment-summary{background:var(--z5-raised)!important}
/* Message inbox already has its own functions; avoid altering message send event handlers. */
body.site-theme-5178 .zn-official-chat :is(.panel,.message-item),body.site-theme-5178 .inbox-shell :is(.thread-row,.chat-bubble){border-color:var(--z5-stroke);color:var(--z5-ink)}
/* Account moderation uses the real status and signed admin forms. */
body.site-theme-5178 :is(.admin-shell .user-control-hero,.admin-shell .admin-user-command-grid .command-card,.admin-shell .verification-center,.admin-shell .user-mobile-card,.admin-shell .users-table-wrap){background:var(--z5-panel)!important;border:1px solid var(--z5-stroke)!important;color:var(--z5-ink)!important;border-radius:15px!important}
body.site-theme-5178 .admin-shell :is(.detail-grid>div,.admin-user-command-grid .command-card){min-width:0}
body.site-theme-5178 .admin-shell :is(.detail-grid strong,.user-title-row h1){overflow-wrap:anywhere;color:var(--z5-ink)!important}
body.site-theme-5178 .admin-shell .command-card.danger{border-color:color-mix(in srgb,var(--z5-red) 56%,var(--z5-stroke))!important}
body.site-theme-5178 .admin-shell .command-card.warning{border-color:color-mix(in srgb,var(--z5-gold) 55%,var(--z5-stroke))!important}
body.site-theme-5178 .admin-shell :is(.admin-page-head,.user-control-hero,.admin-user-command-grid,.users-mobile-grid){max-width:100%;min-width:0}
/* Desktop tablet phone — no cut-off sidebars or horizontal page overflow. */
@media(max-width:1040px){body.site-theme-5178 :is(.catalog-layout,.marketplace-layout){grid-template-columns:215px minmax(0,1fr)}body.site-theme-5178 :is(.catalog-product-grid,.marketplace-card-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.site-theme-5178 :is(.catalog-filter-panel,.marketplace-filter-card){position:static!important}body.site-theme-5178 .forum-shell .xf-topic-row{grid-template-columns:38px minmax(0,1fr)!important}.zn-notice-tools-5205{gap:7px}.zn-notice-search-5205{flex-basis:100%}body.site-theme-5178 .zn-wallet-summary-5203{grid-template-columns:repeat(2,minmax(0,1fr))}body.site-theme-5178 :is(.author-dashboard,.advertising-page,.notifications-page,.catalog-hub,.forum-shell,.marketplace-page,.zn-wallet-5178){padding-bottom:90px!important}}
@media(max-width:390px){body.site-theme-5178 :is(.catalog-product-grid,.marketplace-card-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}body.site-theme-5178 :is(.marketplace-card,.catalog-product-grid .product-card) :is(.marketplace-card-copy,.product-card-body){padding:8px!important}body.site-theme-5178 .zn-wallet-summary-5203{grid-template-columns:1fr}body.site-theme-5178 .notifications-kpi{padding:10px!important}body.site-theme-5178 .notification-item.notification-card{padding:10px!important}}
@media(prefers-reduced-motion:reduce){body.site-theme-5178 .notification-item.notification-card,body.site-theme-5178 .forum-shell .xf-topic-row{transition:none!important;transform:none!important}}
/* Dynamic local filtering must override legacy display:flex !important. */
body.site-theme-5178 .notification-item[hidden],body.site-theme-5178 .zn-notice-empty-5205[hidden]{display:none!important}
.zn-admin-status-5205{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.zn-admin-status-card-5205{display:flex;align-items:center;min-width:0;gap:11px;padding:14px;border:1px solid var(--z5-stroke);background:var(--z5-panel);border-radius:14px;color:var(--z5-ink)}
.zn-admin-state-ico-5205{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;background:var(--z5-raised);color:var(--z5-turq);border-radius:11px;font-size:18px}
.zn-admin-status-card-5205>div{min-width:0}.zn-admin-status-card-5205 strong{font-size:14px;display:block;color:var(--z5-ink)}.zn-admin-status-card-5205 small{display:block;margin-top:4px;color:var(--z5-muted);font-size:11px;line-height:1.3}
.zn-admin-status-card-5205.status-frozen .zn-admin-state-ico-5205{color:var(--z5-blue)}.zn-admin-status-card-5205.status-blocked .zn-admin-state-ico-5205{color:var(--z5-red)}
.zn-admin-status-card-5205.is-current{border-color:var(--z5-turq);box-shadow:inset 0 0 0 1px var(--z5-turq)}
.zn-admin-state-label-5205{margin-left:auto;font-size:10px;color:var(--z5-turq)}
.zn-admin-reason-5205{display:grid;gap:6px;font-size:12px;color:var(--z5-muted);margin-top:9px}
.zn-admin-reason-5205 input{width:100%;min-width:0;padding:9px 10px;border-radius:10px;border:1px solid var(--z5-stroke);color:var(--z5-ink);background:var(--z5-field)}
@media(max-width:720px){.zn-admin-status-5205{grid-template-columns:1fr}.zn-admin-status-card-5205{padding:10px}}

/* --- upgrade-5206-official-notices.css --- */
/* Znahodka 5.206 – real components, reference-inspired, no image overlays */
:root{--zn206-accent:#18d5bd;--zn206-radius:18px}
body:not(.zn-effective-light) .admin-shell .panel,body:not(.zn-effective-light) .report-command-card,body:not(.zn-effective-light) .official-thread,body:not(.zn-effective-light) .message-thread{background:#092235;color:#eaf7fc;border:1px solid #1b4960}
body.zn-effective-light .admin-shell .panel,body.zn-effective-light .report-command-card,body.zn-effective-light .official-thread,body.zn-effective-light .message-thread{background:#fff;color:#172b3e;border:1px solid #dae6ed}
.report-command-list{display:grid;gap:12px}.report-command-card{border-radius:var(--zn206-radius);padding:18px;min-width:0}.report-card-top,.report-card-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.report-command-card details{margin-top:12px}.report-command-card summary{cursor:pointer;padding:12px;border-radius:12px;background:color-mix(in srgb,var(--zn206-accent) 12%,transparent)}
.admin-shell .admin-page-head,.admin-shell .ops-metric-grid>*{border-radius:var(--zn206-radius)}.admin-shell input,.admin-shell select,.admin-shell textarea{max-width:100%;min-width:0}.report-action-form .form-actions{display:flex;flex-wrap:wrap;gap:8px}.report-action-form .form-actions>*{min-width:0}
.official-thread,.official-message,.chat-message,.conversation-row,.notification-card{border-radius:16px;overflow-wrap:anywhere}.official-message{border-inline-start:3px solid var(--zn206-accent)}
body:not(.zn-effective-light) .official-message{background:#0b3041;color:#eaf7fc}body.zn-effective-light .official-message{background:#ecf9f8;color:#16354b}
@media(max-width:760px){.admin-shell .admin-main{min-width:0;width:100%;padding-inline:12px}.report-command-card{padding:13px}.report-action-form .form-actions button{flex:1 1 125px}.admin-shell .table-wrap{max-width:100%;overflow-x:auto}.report-card-meta{font-size:12px}}
@media(prefers-reduced-motion:reduce){.report-command-card,.official-message{transition:none!important}}

/* --- security-center-5208.css --- */
/* Znahodka 5.208 — account security center, responsive and fully theme aware. */
.zn-security-5208{--sec-bg:#091d2b;--sec-card:#0f2a3c;--sec-card2:#133246;--sec-text:#f3fbff;--sec-muted:#9cb8c8;--sec-border:#284c61;--sec-soft:#163a4b;--sec-accent:#21d6bd;--sec-button-text:#042d32;--sec-danger:#ff6b7e;--sec-good:#35d4ad;--sec-field:#0a2434;color:var(--sec-text);max-width:1120px;margin:26px auto 70px;padding:0 22px 24px;font-family:inherit;min-width:0}
html.zn-effective-light .zn-security-5208,html[data-theme="light"] .zn-security-5208,body.theme-light .zn-security-5208{--sec-bg:#f4f7fa;--sec-card:#fff;--sec-card2:#f7fafb;--sec-text:#18232d;--sec-muted:#677985;--sec-border:#dfe8ed;--sec-soft:#f0f7f8;--sec-accent:#0cbd9d;--sec-button-text:#032d29;--sec-danger:#b92847;--sec-good:#087c64;--sec-field:#fff}
.zn-security-5208,.zn-security-5208 *{box-sizing:border-box}
.zn-security-5208 h1,.zn-security-5208 h2,.zn-security-5208 h3,.zn-security-5208 p{color:var(--sec-text);margin-top:0}
.zn-security-5208 h1{font-size:clamp(26px,3vw,36px);line-height:1.15;letter-spacing:-.035em;margin:6px 0}
.zn-security-5208 h2{font-size:clamp(19px,2vw,24px);line-height:1.25;letter-spacing:-.02em;margin:3px 0}
.zn-security-5208 h3{font-size:16px;margin-bottom:6px}
.zn-security-5208 p{color:var(--sec-muted);font-size:14px;line-height:1.6}
.zn-security-eyebrow{font-size:11px;font-weight:800;letter-spacing:.09em;color:var(--sec-accent)}
.zn-sec-header{display:flex;align-items:center;gap:15px;margin-bottom:25px}
.zn-sec-header p{margin:4px 0 0}
.zn-sec-back{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--sec-border);border-radius:13px;background:var(--sec-card);color:var(--sec-text)!important;font-size:33px;line-height:1;text-decoration:none;flex:none}
.zn-sec-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;align-items:start}
.zn-security-card{background:var(--sec-card);border:1px solid var(--sec-border);border-radius:23px;padding:24px;box-shadow:0 16px 45px rgba(0,0,0,.07);min-width:0}
.zn-sec-cardhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.zn-sec-cardhead h2{margin-top:7px}
.zn-sec-status{display:inline-flex;align-items:center;white-space:nowrap;flex:none;border-radius:999px;border:1px solid var(--sec-border);padding:7px 11px;font-weight:800;font-size:12px;color:var(--sec-muted);background:var(--sec-soft)}
.zn-sec-status.is-enabled{color:var(--sec-good);border-color:rgba(30,201,153,.4)}
.zn-sec-status.is-disabled{color:var(--sec-muted)}
.zn-sec-feature{display:flex;align-items:center;gap:12px;padding:15px;background:var(--sec-soft);border:1px solid var(--sec-border);border-radius:16px;margin:17px 0}
.zn-sec-feature div{min-width:0}.zn-sec-feature b,.zn-sec-feature small{display:block;overflow-wrap:anywhere}.zn-sec-feature small{color:var(--sec-muted);font-size:12px;margin-top:3px}
.zn-sec-icon,.zn-sec-symbol{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;color:var(--sec-accent);background:var(--sec-soft);font-weight:bold;font-size:23px}
.zn-sec-form{display:grid;gap:9px;margin:12px 0 0;min-width:0}.zn-sec-form label{color:var(--sec-text);font-weight:700;font-size:13px}.zn-sec-form small{color:var(--sec-muted);font-size:12px}
.zn-security-5208 input,.zn-security-5208 select{display:block;min-width:0;width:100%;border-radius:12px!important;border:1px solid var(--sec-border)!important;background:var(--sec-field)!important;color:var(--sec-text)!important;padding:12px 13px!important;font:inherit!important;font-size:15px!important;min-height:46px!important}
.zn-security-5208 input:focus{outline:2px solid var(--sec-accent);outline-offset:2px}
.zn-security-5208 input::placeholder{color:var(--sec-muted)}
.zn-sec-primary,.zn-sec-secondary,.zn-sec-danger{display:inline-flex;align-items:center;justify-content:center;min-height:43px;border-radius:11px;font:inherit;font-size:13px;font-weight:800;padding:10px 16px;cursor:pointer;max-width:100%;text-align:center;text-decoration:none!important}
.zn-sec-primary{background:var(--sec-accent);color:var(--sec-button-text)!important;border:1px solid transparent}.zn-sec-secondary{background:var(--sec-soft);color:var(--sec-text)!important;border:1px solid var(--sec-border)}.zn-sec-danger{background:#ffe9ec;color:#9a233d!important;border:1px solid #ffd1d8}
.zn-sec-primary:hover,.zn-sec-secondary:hover{filter:brightness(1.06)}.zn-sec-primary:focus-visible,.zn-sec-secondary:focus-visible,.zn-sec-danger:focus-visible{outline:3px solid #5fa6ee;outline-offset:3px}
.zn-sec-details{border:1px solid var(--sec-border);border-radius:14px;padding:12px 14px;margin:10px 0;background:var(--sec-card2)}
.zn-sec-details summary{font-size:14px;font-weight:800;color:var(--sec-text);cursor:pointer;list-style-position:inside}.zn-sec-details p{font-size:13px;margin:10px 0}.zn-sec-details .zn-sec-form+.zn-sec-form{margin-top:20px;border-top:1px solid var(--sec-border);padding-top:14px}
.zn-sec-error,.zn-sec-ok{padding:13px 15px;margin:12px 0 18px;border-radius:12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.zn-sec-error{color:#a32845;background:#fff0f2;border:1px solid #f5beca}.zn-sec-ok{color:#087158;background:#e4f9ef;border:1px solid #a5e8cf}
.zn-sec-hint{font-size:12px;line-height:1.65;color:var(--sec-muted);padding:14px;background:var(--sec-soft);border-radius:12px;margin-top:18px}
.zn-sec-action{display:flex;align-items:center;gap:12px;min-height:66px;padding:11px 0;border-bottom:1px solid var(--sec-border);color:var(--sec-text)!important;text-decoration:none!important}
.zn-sec-action:hover{color:var(--sec-accent)!important}.zn-sec-action span:nth-child(2){min-width:0;flex:1}.zn-sec-action b,.zn-sec-action small{display:block}.zn-sec-action b{font-size:14px}.zn-sec-action small{font-size:12px;color:var(--sec-muted);margin-top:2px}.zn-sec-action i{font-size:22px;font-style:normal;color:var(--sec-muted)}
.zn-sec-divider{height:1px;background:var(--sec-border);margin:24px 0}
.zn-sec-history{margin-top:18px}.zn-sec-history>p{margin-top:0}.zn-sec-history p strong{color:var(--sec-text)}
.zn-sec-device{display:flex;align-items:center;gap:13px;padding:15px 4px;border-bottom:1px solid var(--sec-border)}.zn-sec-device:last-child{border-bottom:0}.zn-sec-device-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;color:var(--sec-accent);background:var(--sec-soft);font-size:21px;flex:none}
.zn-sec-device-text{min-width:0}.zn-sec-device-text b{font-size:14px;overflow-wrap:anywhere}.zn-sec-device-text small{display:block;margin-top:5px;font-size:12px;line-height:1.5;color:var(--sec-muted);overflow-wrap:anywhere}.zn-sec-current{display:inline-block;color:var(--sec-good);font-size:11px;font-weight:700;margin-left:6px}.zn-sec-empty{color:var(--sec-muted);padding:24px 8px}
.zn-sec-foot{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;font-size:13px;margin:24px 0}.zn-sec-foot a{color:var(--sec-muted)!important}
.zn-factor-shell{max-width:500px;margin:55px auto 80px}.zn-factor-card{text-align:center}.zn-factor-card .zn-sec-form{text-align:left}.zn-factor-card .zn-sec-form input{text-align:center;font-size:27px!important;letter-spacing:.25em!important}.zn-factor-card .zn-sec-primary{width:100%}.zn-factor-card .zn-security-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:var(--sec-soft);font-size:32px;color:var(--sec-accent);margin:0 auto 15px}.zn-sec-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0 0}.zn-sec-link{border:0;background:transparent;color:var(--sec-accent);font:inherit;font-weight:700;font-size:13px;cursor:pointer;padding:9px}
@media(max-width:800px){.zn-sec-layout{grid-template-columns:1fr}.zn-security-5208{margin:16px auto 55px;padding:0 14px}.zn-security-card{padding:19px;border-radius:19px}.zn-sec-history{margin-top:14px}.zn-sec-header{margin-bottom:15px}.zn-factor-shell{margin:40px auto 50px}}
@media(max-width:400px){.zn-sec-cardhead{flex-wrap:wrap}.zn-sec-status{font-size:11px}.zn-sec-feature{padding:12px}.zn-sec-inline{justify-content:center}}
@media(prefers-reduced-motion:reduce){.zn-security-5208 *{scroll-behavior:auto!important;transition:none!important}}

/* --- upgrade-5209-auth-chat.css --- */
/* Знаходка 5.209. Code-only visual refresh. No externally hosted fonts, images or trackers. */
/* Auth: use a clean marketplace palette and retain all existing server-side handlers. */
body.auth-body.site-theme-5178 {--z209-card:#fff;--z209-ink:#162a26;--z209-muted:#62736f;--z209-input:#f2f5f4;--z209-line:#dfe8e4;--z209-accent:#0a9c69;--z209-soft:#e6f7ee;--z209-bg:#f5faf8;background:radial-gradient(ellipse at 90% 9%,#e0f5ea 0%,transparent 39%),radial-gradient(ellipse at 3% 85%,#e9f7f3,transparent 46%),var(--z209-bg)!important;color:var(--z209-ink)!important}
body.auth-body.site-theme-5178:not(.zn-effective-light){--z209-card:#0c2530;--z209-ink:#effcf7;--z209-muted:#b1c9c3;--z209-input:#15313b;--z209-line:#31515a;--z209-accent:#34dbb2;--z209-soft:#163d3a;--z209-bg:#061b25;background:radial-gradient(ellipse at 80% 10%,#10483c 0%,transparent 46%),#061b25!important}
body.auth-body.site-theme-5178 #main-content{color:var(--z209-ink)!important;background:transparent!important}
body.auth-body.site-theme-5178 .zn-auth-5209{min-height:min(100svh,1000px);padding:clamp(14px,3vw,36px) 12px 52px;display:grid;place-items:center}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-card{width:min(100%,490px);max-width:100%;border-radius:28px!important;background:var(--z209-card)!important;border:1px solid var(--z209-line)!important;box-shadow:0 16px 60px rgba(19,61,48,.10)!important;padding:clamp(20px,4vw,30px)!important;overflow:hidden;color:var(--z209-ink)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-art{height:132px;margin:-30px -30px 26px;background:linear-gradient(110deg,rgba(226,247,236,.94),rgba(244,253,249,.92)),radial-gradient(circle at 90% 10%,#91e3bc,transparent 50%)!important;border:0!important;isolation:isolate}
body.auth-body.site-theme-5178:not(.zn-effective-light) .zn-auth-5209 .zn-auth-art{background:linear-gradient(125deg,#154a43,#082a36)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-art::before{width:175px;height:175px;left:auto;right:75px;top:54px;border:0;background:rgba(26,170,116,.14);border-radius:50%;transform:none}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-art::after{width:115px;height:115px;top:-54px;right:-36px;left:auto;border:0;background:rgba(20,163,119,.13);border-radius:50%;transform:none}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-brand{font-size:26px;left:26px;top:22px;letter-spacing:-1px;color:var(--z209-ink)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-brand em{color:#048c61!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-art .bag{right:32px;bottom:17px;font-size:29px;width:57px;height:57px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(140deg,#29ce93,#007a63);color:#fff;box-shadow:0 12px 23px rgba(11,147,101,.23);filter:none}
body.auth-body.site-theme-5178 .zn-auth-kicker-5209{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--z209-accent);margin-bottom:9px}
body.auth-body.site-theme-5178 .zn-auth-5209 h1{color:var(--z209-ink)!important;font-size:clamp(27px,4vw,34px)!important;line-height:1.12!important;letter-spacing:-.035em;margin:0 0 7px!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-card>p{color:var(--z209-muted)!important;font-size:14px;line-height:1.5;margin:0 0 21px!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-two{gap:12px}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-field{margin-top:12px;min-width:0}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-field label{color:var(--z209-muted)!important;font-size:12px;font-weight:700;margin-bottom:6px}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-field .ico{color:var(--z209-muted)!important;bottom:16px}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-field input{height:52px!important;min-width:0;background:var(--z209-input)!important;border:1px solid var(--z209-line)!important;border-radius:13px!important;color:var(--z209-ink)!important;box-shadow:none!important;font-size:15px}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-field input:focus,body.auth-body.site-theme-5178 .verify-modern-form input:focus{outline:3px solid rgba(12,172,118,.20)!important;border-color:var(--z209-accent)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .password-toggle{color:var(--z209-accent)!important;background:transparent!important;font-size:12px;font-weight:700}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-row,body.auth-body.site-theme-5178 .zn-auth-5209 .zn-consent{color:var(--z209-muted)!important;font-size:13px;line-height:1.55}
body.auth-body.site-theme-5178 .zn-auth-5209 a{color:var(--z209-accent)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-submit,body.auth-body.site-theme-5178 .verify-modern-card .btn:not(.secondary){background:#0b9b69!important;color:#fff!important;border:0!important;box-shadow:none!important;border-radius:14px!important;min-height:53px;height:auto;font-weight:800;display:flex;align-items:center;justify-content:center}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-submit:hover,body.auth-body.site-theme-5178 .verify-modern-card .btn:not(.secondary):hover{background:#087d55!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-separator{color:var(--z209-muted)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-separator::before,body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-separator::after{background:var(--z209-line)!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-socials{grid-template-columns:repeat(auto-fit,minmax(126px,1fr))!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-socials a{min-height:48px;padding:8px;justify-content:center;text-align:center;font-size:12px;background:var(--z209-card)!important;border:1px solid var(--z209-line)!important;color:var(--z209-ink)!important;border-radius:13px!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-switch{color:var(--z209-muted)!important;font-size:14px}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-note{background:var(--z209-soft)!important;border:0!important;color:var(--z209-ink)!important;border-radius:16px!important;padding:14px;font-size:12px;line-height:1.5}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-error{background:#fff2f3!important;border:1px solid #f4bfca!important;color:#9b1c35!important}
body.auth-body.site-theme-5178:not(.zn-effective-light) .zn-auth-5209 .zn-auth-error{background:#492833!important;color:#ffb6c0!important;border-color:#94445b!important}
body.auth-body.site-theme-5178 .zn-auth-5209 .zn-consent input,body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-row input{accent-color:#078a5e}
/* Email verification, compatible with the existing one-input server-side code flow. */
body.auth-body.site-theme-5178 .verify-page-5209{padding:clamp(12px,4vw,46px) 12px 80px;min-height:calc(100svh - 130px);place-items:center}
body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-card{width:min(100%,500px);max-width:100%;padding:clamp(22px,4vw,36px)!important;background:var(--z209-card)!important;color:var(--z209-ink)!important;border:1px solid var(--z209-line)!important;box-shadow:0 15px 55px rgba(19,61,48,.10)!important;border-radius:27px!important;text-align:center}
body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-icon{width:82px;height:82px;margin:0 auto 16px;border:0;border-radius:25px;background:var(--z209-soft);color:var(--z209-accent);font-size:45px;display:grid;place-items:center}
body.auth-body.site-theme-5178 .verify-page-5209 .eyebrow{color:var(--z209-accent)!important;font-size:11px;font-weight:850;letter-spacing:.04em}
body.auth-body.site-theme-5178 .verify-page-5209 h1{color:var(--z209-ink)!important;font-size:clamp(27px,5vw,38px)!important;margin:9px 0 12px!important;letter-spacing:-.04em}
body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-lead,body.auth-body.site-theme-5178 .verify-page-5209 .verify-security-note,body.auth-body.site-theme-5178 .verify-page-5209 .field small{color:var(--z209-muted)!important;font-size:14px;line-height:1.55}
body.auth-body.site-theme-5178 .verify-page-5209 .verify-email-pill{background:var(--z209-input)!important;color:var(--z209-ink)!important;border:1px solid var(--z209-line)!important;max-width:100%;overflow-wrap:anywhere}
body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-form,body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-actions{text-align:left}
body.auth-body.site-theme-5178 .verify-page-5209 .field{margin-bottom:15px}
body.auth-body.site-theme-5178 .verify-page-5209 .field label{color:var(--z209-ink)!important;font-weight:700}
body.auth-body.site-theme-5178 .verify-page-5209 .field input{background:var(--z209-input)!important;color:var(--z209-ink)!important;border:1px solid var(--z209-line)!important;border-radius:13px!important;box-shadow:none!important}
body.auth-body.site-theme-5178 .verify-page-5209 .btn.secondary{color:var(--z209-accent)!important;background:var(--z209-card)!important;border:1px solid var(--z209-line)!important;border-radius:12px!important}
body.auth-body.site-theme-5178 .verify-page-5209 .zn-verify-advice-5209{padding:14px;text-align:left;background:var(--z209-soft)!important;border:0!important;border-radius:15px}
body.auth-body.site-theme-5178 .verify-page-5209 .zn-verify-advice-5209 :is(b,small){color:var(--z209-ink)!important}
.zn-otp-wrap-5209{position:relative;width:100%;max-width:420px;min-height:64px;margin:4px auto 10px}
.zn-otp-slots-5209{display:none;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,1.6vw,10px);height:64px;pointer-events:none}
.zn-otp-slots-5209 span{display:grid;place-items:center;border:1px solid var(--z209-line);background:var(--z209-input);border-radius:11px;color:var(--z209-ink);font-size:25px;font-weight:800;font-variant-numeric:tabular-nums}
.zn-otp-wrap-5209.is-enhanced .zn-otp-slots-5209{display:grid}
body.auth-body.site-theme-5178 .zn-otp-wrap-5209.is-enhanced #mail-code{position:absolute;inset:0;width:100%;height:64px;z-index:2;opacity:.02!important;cursor:text;letter-spacing:2px}
.zn-otp-wrap-5209.is-focused .zn-otp-slots-5209 span.is-current{border-color:var(--z209-accent);box-shadow:0 0 0 3px rgba(14,168,111,.14);background:var(--z209-card)}
/* Product-associated conversations: avoid faking checkout or delivery support. */
body.site-theme-5178{--z209-chat-safe-bg:#e8f8f0;--z209-chat-safe-ink:#154634;--z209-chat-safe-border:#c7ead9}
body.site-theme-5178:not(.zn-effective-light){--z209-chat-safe-bg:#14392f;--z209-chat-safe-ink:#e2fff2;--z209-chat-safe-border:#2a6455}
body.site-theme-5178 .zn-messages-5209 .zn-chat-shell-5209{overflow:hidden;max-width:100%;border-radius:22px!important}
body.site-theme-5178 .zn-messages-5209 .zn-chat-head{min-height:76px;gap:12px;align-items:center;border-bottom:1px solid var(--zn-chat-border)!important}
body.site-theme-5178 .zn-messages-5209 .zn-chat-head h2{font-size:clamp(17px,2.8vw,22px)!important;overflow-wrap:anywhere;margin:0}
body.site-theme-5178 .zn-messages-5209 .zn-chat-head small{display:block;margin-top:4px}
.zn-chat-listing-5209{margin:13px clamp(10px,3vw,20px) 10px;display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:16px;background:var(--zn-chat-card);border:1px solid var(--zn-chat-border);min-width:0}
.zn-chat-listing-icon-5209{width:56px;height:54px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:var(--zn-chat-soft);color:var(--zn-chat-accent);font-size:29px}
.zn-chat-listing-name-5209{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.zn-chat-listing-name-5209 small{font-size:11px;color:var(--zn-chat-sub)}
.zn-chat-listing-name-5209 strong{font-size:14px;overflow-wrap:anywhere;line-height:1.35;color:var(--zn-chat-text)}
.zn-chat-listing-5209 a{font-weight:700;text-decoration:none;font-size:12px;white-space:nowrap;color:var(--zn-chat-accent)}
body.site-theme-5178 .zn-chat-safety-5209{margin:10px clamp(10px,3vw,20px) 12px;padding:14px;display:flex;align-items:flex-start;gap:12px;border-radius:17px;background:var(--z209-chat-safe-bg)!important;border:1px solid var(--z209-chat-safe-border)!important;color:var(--z209-chat-safe-ink)!important}
.zn-chat-safety-icon-5209{flex-shrink:0;display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#179e74;color:#fff;font-size:23px;font-weight:900}
.zn-chat-safety-5209>div{min-width:0;flex:1}
body.site-theme-5178 .zn-chat-safety-5209 strong{font-size:14px;color:var(--z209-chat-safe-ink)!important;line-height:1.35;display:block}
body.site-theme-5178 .zn-chat-safety-5209 p{font-size:13px;line-height:1.55;margin:7px 0 9px;color:var(--z209-chat-safe-ink)!important}
body.site-theme-5178 .zn-chat-safety-5209 a{display:inline-flex;gap:7px;color:var(--z209-chat-safe-ink)!important;font-size:13px;font-weight:800;border:1px solid #15996f;border-radius:10px;padding:9px 11px;text-decoration:none}
body.site-theme-5178 .zn-messages-5209 .zn-message-bubbles{padding:clamp(10px,3vw,20px)!important;min-height:220px}
body.site-theme-5178 .zn-messages-5209 .zn-bubble{box-shadow:none!important;max-width:min(84%,620px);padding:12px 14px!important}
body.site-theme-5178 .zn-messages-5209 .zn-bubble.mine{background:var(--zn-chat-sent)!important}
body.site-theme-5178 .zn-messages-5209 .zn-bubble :is(p,small){overflow-wrap:anywhere}
body.site-theme-5178 .zn-messages-5209 .zn-composer textarea{max-width:100%;min-width:0;font-size:15px!important}
body.site-theme-5178 .zn-messages-5209 .zn-composer .btn{background:#0aad80!important;color:#fff!important}
body.site-theme-5178 .zn-profile-message-5209{max-width:850px;margin:0 auto;padding:12px 10px 90px}
body.site-theme-5178 .zn-profile-message-5209 .zn-chat-safety-5209{margin:12px 0}
@media(max-width:580px){body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-card{padding:19px!important;border-radius:22px!important}body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-art{margin:-19px -19px 20px;height:112px}body.auth-body.site-theme-5178 .zn-auth-5209 .zn-auth-two{grid-template-columns:1fr}body.auth-body.site-theme-5178 .verify-page-5209 .verify-modern-card{padding:20px 16px!important}.zn-otp-slots-5209{height:57px}.zn-otp-wrap-5209{min-height:57px}body.site-theme-5178 .zn-messages-5209 .zn-chat-listing-5209{gap:8px}.zn-chat-listing-icon-5209{width:43px;height:45px}.zn-chat-listing-5209 a{font-size:11px}.zn-chat-safety-icon-5209{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.zn-auth-5209 *,.zn-chat-safety-5209 *{animation:none!important;transition:none!important}}
/* In a chat, keep only the conversation and not the inbox search controls. */
body.site-theme-5178 .zn-messages-5209.zn-chat-active-5209 .zn-message-hero,
body.site-theme-5178 .zn-messages-5209.zn-chat-active-5209 .zn-messenger-official-shortcut-5202,
body.site-theme-5178 .zn-messages-5209.zn-chat-active-5209 .zn-message-tabs {display:none!important}
body.site-theme-5178 .zn-messages-5209.zn-chat-active-5209 .zn-chat-shell-5209{margin-top:12px}

/* --- upgrade-5211-warns.css --- */
.zn-warns-page{min-width:0}.zn-warns-page .panel{margin-bottom:16px}.zn-warns-search .form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.zn-warns-search .field{flex:1;min-width:180px}.zn-warns-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.zn-warns-count{border:1px solid rgba(33,186,160,.38);background:rgba(28,189,154,.1);border-radius:18px;padding:14px 20px;display:grid;gap:3px;min-width:130px;text-align:center}.zn-warns-count b{font-size:28px}.zn-warns-count.danger{border-color:#ff6d7b;background:rgba(255,65,94,.12)}.zn-warns-count small{opacity:.75}.zn-warn-entry{padding:16px 0;border-top:1px solid var(--border,rgba(128,160,180,.2));overflow-wrap:anywhere}.zn-warn-entry-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.zn-warn-entry p{line-height:1.5}.zn-warn-revoke{display:flex;gap:10px;flex-wrap:wrap}.zn-warn-revoke input{flex:1;min-width:190px}.zn-warns-alert{border-left:4px solid #ff667a}.zn-warns-page button,.zn-warns-page input,.zn-warns-page textarea{max-width:100%;min-width:0}.zn-warns-page .table-wrap{overflow-x:auto}@media(max-width:620px){.zn-warns-search .form,.zn-warn-revoke{display:grid}.zn-warns-summary{align-items:stretch}.zn-warns-count{width:100%}}

/* --- upgrade-5213-unified.css --- */
/* Znahodka 5.213: presentation-only component upgrade; no external assets. */
:root{--zn213-accent:#12bd91;--zn213-accent2:#1b8bea;--zn213-radius:16px;--zn213-ease:cubic-bezier(.2,.8,.2,1)}
html{scrollbar-gutter:stable}body{overflow-x:clip}img,video{max-width:100%;height:auto}input,textarea,select{max-width:100%;min-width:0}button,a{touch-action:manipulation} :focus-visible{outline:3px solid #37cdb1;outline-offset:2px}
/* Global cards and tables: preserve semantic existing classes. */
.panel,.card,.section-card,.admin-panel,.listing-card,.product-card,.topic-card,.notification-item,.conversation-item,.conversation-row{border-radius:var(--zn213-radius);min-width:0;overflow-wrap:anywhere;transition:border-color .18s var(--zn213-ease),box-shadow .18s var(--zn213-ease)}
.btn,.button,button[type=submit]{border-radius:12px;min-height:39px;transition:filter .16s ease,transform .16s ease}.btn:hover,button[type=submit]:hover{filter:brightness(1.05)}
/* Auth, email code, secure dialogs; desktop form must remain readable. */
.auth-body .panel,.auth-body .auth-card,.page-login .panel,.page-register .panel,.page-verify .panel{max-width:510px;margin-inline:auto;border-radius:26px;padding:clamp(18px,3vw,32px)}
.auth-body input:not([type=checkbox]),.auth-body select{border-radius:13px;min-height:47px}
.auth-body button[type=submit]{min-height:48px;font-weight:750}
/* Messages / marketplace cards */
.page-inbox .conversation-row,.page-inbox .conversation-item,.page-message_user .panel,.page-inbox .message-bubble{border-radius:17px}
.page-inbox .chat-composer,.page-message_user .chat-composer{position:sticky;bottom:env(safe-area-inset-bottom);z-index:4}
.page-marketplace .listing-card,.page-catalog .product-card,.page-product .panel{overflow:hidden}
/* Shop, author, forum, notification and admin controls */
.page-wallet .panel,.page-promotion .panel,.page-referrals .panel,.page-community .panel,.page-notifications .panel,.page-account_restricted .panel{border-radius:18px}
.admin-body table{width:100%;border-collapse:separate;border-spacing:0 5px}.admin-body td,.admin-body th{vertical-align:middle;overflow-wrap:anywhere}.admin-body .panel{min-width:0}
body.zn-effective-light,html.zn-effective-light body{--zn213-surface:#fff;--zn213-text:#122630;--zn213-border:#dbe9e8}
body:not(.zn-effective-light){--zn213-surface:#092236;--zn213-text:#e8f8ff;--zn213-border:#24465a}
.auth-body .panel,.page-inbox .conversation-row,.page-inbox .conversation-item,.page-notifications .notification-item{border:1px solid var(--zn213-border);color:var(--zn213-text)}
@media(max-width:680px){.admin-body table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.auth-body .panel,.auth-body .auth-card{padding:17px;max-width:100%}.panel,.card,.section-card{max-width:100%}.page-inbox .message-bubble{max-width:88%}}
@media(prefers-reduced-motion:reduce){.panel,.card,.btn,.button{transition:none!important}}

/* --- upgrade-5214-home-sections.css --- */
/* Znahodka 5.214. New components only, no image mockups. */
:root{--zn214-green:#21d3b1;--zn214-blue:#3bbbe8}
body:not(.zn-effective-light){--zn214-bg:#071c2a;--zn214-panel:#0c293b;--zn214-text:#edfaff;--zn214-muted:#a5bfd1;--zn214-line:#254759}
body.zn-effective-light{--zn214-bg:#f2f8f7;--zn214-panel:#fff;--zn214-text:#16252e;--zn214-muted:#526974;--zn214-line:#d8e4e5}
.zn-all-sections-trigger-5214,.zn-all-sections-desktop-5214{border:1px solid var(--zn214-line,#254759);border-radius:13px;width:40px;height:40px;min-width:40px;display:inline-grid;place-items:center;cursor:pointer;font:900 27px/1 system-ui;background:var(--zn214-panel,#0c293b);color:var(--zn214-text,#edfaff);text-decoration:none;box-sizing:border-box}
.zn-all-sections-trigger-5214{display:none}.zn-directory-link-5214{display:block;border-radius:12px;padding:12px 14px;background:#0b866e;color:#fff!important;margin:8px 0 13px;font-weight:750}
.zn-mobile-all-sections-5214{display:flex;align-items:center;gap:12px;padding:14px 15px;border-radius:15px;background:linear-gradient(120deg,#13bb9a,#2cb6db);color:#061b26!important;text-decoration:none;margin:8px 0 16px}
.zn-mobile-all-sections-5214 span{font-size:26px}.zn-mobile-all-sections-5214 b{flex:1}.zn-mobile-all-sections-5214 i{font-size:24px;font-style:normal}
.zn-sections-page-5214{max-width:1200px;margin:auto;color:var(--zn214-text,#edfaff)}
.zn-sections-hero-5214{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;padding:clamp(20px,4vw,46px);border:1px solid var(--zn214-line,#254759);border-radius:26px;background:linear-gradient(125deg,var(--zn214-panel,#0c293b),var(--zn214-bg,#071c2a));margin:8px 0 30px}
.zn-sections-hero-5214 h1{margin:8px 0 12px;font-size:clamp(27px,4vw,44px);line-height:1.1;color:var(--zn214-text)}.zn-sections-hero-5214 p{color:var(--zn214-muted);max-width:510px;margin:0}
.zn-sections-hero-5214 form{flex:0 1 390px;max-width:100%}.zn-sections-hero-5214 form label{font-weight:700;font-size:13px;display:block;margin-bottom:8px}.zn-sections-hero-5214 form div{display:flex;align-items:center;gap:8px;background:var(--zn214-panel);border:1px solid var(--zn214-line);border-radius:14px;padding:5px}
.zn-sections-hero-5214 input{color:var(--zn214-text);min-width:0;width:100%;flex:1;background:transparent!important;border:0!important;box-shadow:none!important;outline:0;padding:12px}.zn-sections-hero-5214 button{border:0;border-radius:10px;background:#1bd2ad;color:#04272f;font-weight:800;padding:12px;cursor:pointer}
.zn-sections-group-5214{margin:0 0 36px}.zn-sections-title-5214{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 13px}.zn-sections-title-5214 h2{font-size:clamp(19px,2.3vw,26px);margin:0;color:var(--zn214-text)}.zn-sections-title-5214 a{font-weight:700;text-decoration:none;color:var(--zn214-green)}
.zn-sections-grid-5214{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.zn-directory-card-5214{min-width:0;display:flex;gap:12px;align-items:center;background:var(--zn214-panel);border:1px solid var(--zn214-line);border-radius:17px;padding:16px 13px;text-decoration:none;color:var(--zn214-text);transition:transform .15s,border-color .15s}.zn-directory-card-5214:hover,.zn-category-grid-5214>a:hover{transform:translateY(-2px);border-color:var(--zn214-green)}.zn-directory-card-5214>span:nth-child(2){min-width:0;flex:1}.zn-directory-card-5214 b,.zn-category-grid-5214 b{display:block;font-size:14px;overflow-wrap:anywhere}.zn-directory-card-5214 small{display:block;color:var(--zn214-muted);font-size:12px;margin-top:4px}.zn-directory-card-5214 i,.zn-category-grid-5214 i{font-style:normal;color:var(--zn214-muted)}.zn-directory-icon-5214{background:rgba(24,211,182,.11);border-radius:13px;display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;color:var(--zn214-green);font-size:23px}
.zn-category-grid-5214{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.zn-category-grid-5214>a{display:flex;gap:10px;align-items:center;border:1px solid var(--zn214-line);border-radius:14px;padding:13px;background:var(--zn214-panel);color:var(--zn214-text);text-decoration:none;min-width:0;transition:transform .15s,border-color .15s}.zn-category-grid-5214 span{font-size:24px;min-width:29px;text-align:center}.zn-category-grid-5214 b{min-width:0;flex:1}
.zn-home-sections-5214{padding:14px 0}.zn-home-category-list-5214{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.zn-home-category-list-5214 a{border:1px solid var(--zn214-line);border-radius:15px;padding:14px 9px;display:flex;align-items:center;gap:8px;background:var(--zn214-panel);color:var(--zn214-text);text-decoration:none;min-width:0;font-size:13px}.zn-home-category-list-5214 span{font-size:22px}.zn-home-category-list-5214 b{overflow-wrap:anywhere}.zn-catalog-error-5214{display:grid;gap:8px;border-color:#e0a64e!important;margin-bottom:15px}
@media(max-width:820px){.zn-sections-grid-5214,.zn-category-grid-5214{grid-template-columns:repeat(2,minmax(0,1fr))}.zn-home-category-list-5214{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.zn-all-sections-desktop-5214{display:none}.zn-all-sections-trigger-5214{display:grid}.zn-sections-page-5214{padding-bottom:100px}.zn-sections-hero-5214{padding:20px 16px}.zn-sections-hero-5214 form{flex:1 1 100%}}
@media(max-width:420px){.zn-sections-grid-5214,.zn-category-grid-5214{grid-template-columns:1fr 1fr;gap:8px}.zn-directory-card-5214{padding:13px 10px;gap:8px;align-items:flex-start;flex-direction:column}.zn-directory-icon-5214{width:34px;height:34px;flex:0 0 34px;font-size:19px}.zn-directory-card-5214 i{display:none}.zn-category-grid-5214>a{padding:10px 8px;gap:6px}.zn-category-grid-5214 b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.zn-directory-card-5214,.zn-category-grid-5214>a{transition:none}}

/* --- upgrade-5215-home-reference.css --- */
/* Znahodka 5.215: home reconstructed in live HTML/CSS, not a screenshot background. */
body.home-page-5166{
 --zn215-bg:#051725;--zn215-panel:#0a2334;--zn215-panel-2:#102e44;
 --zn215-border:rgba(108,194,218,.21);--zn215-text:#f5fbff;--zn215-muted:#aac1d4;
 --zn215-accent:#28e3cd;--zn215-accent-ink:#002d33;
}
body.home-page-5166.zn-effective-light,
body.home-page-5166.zn-theme-light{
 --zn215-bg:#edf5f8;--zn215-panel:#ffffff;--zn215-panel-2:#edf5fb;
 --zn215-border:#d1e0e8;--zn215-text:#122838;--zn215-muted:#5c7382;
 --zn215-accent:#05bca6;--zn215-accent-ink:#052d2b;
}
body.home-page-5166 #main-content{max-width:1480px!important;width:100%!important;min-width:0!important;padding-top:12px!important;}
body.home-page-5166 .zn215-layout,
body.home-page-5166 .zn215-layout *{box-sizing:border-box}
body.home-page-5166 .zn215-layout{display:grid;grid-template-columns:178px minmax(0,1fr);gap:16px;width:100%;max-width:100%;margin:0 auto 30px;min-width:0;color:var(--zn215-text);}
body.home-page-5166 .zn215-content{min-width:0;display:flex;flex-direction:column;gap:0}
body.home-page-5166 .zn215-sidebar{position:sticky;top:82px;align-self:start;display:flex;flex-direction:column;padding:10px 7px;gap:3px;background:var(--zn215-panel)!important;border:1px solid var(--zn215-border);border-radius:15px;box-shadow:0 10px 32px #00000012}
body.home-page-5166 .zn215-sidebar .zn215-side-label{padding:10px 11px 5px;font-weight:750;letter-spacing:.04em;font-size:11px;text-transform:uppercase;color:var(--zn215-muted)}
body.home-page-5166 .zn215-sidebar a{display:flex!important;align-items:center;gap:10px;width:100%;min-width:0;padding:11px 10px;color:var(--zn215-muted)!important;border-radius:9px;text-decoration:none!important;font-size:13px;line-height:1.15;transition:background .18s,color .18s}
body.home-page-5166 .zn215-sidebar a span{flex:0 0 23px;font-size:18px;text-align:center;color:var(--zn215-muted)}
body.home-page-5166 .zn215-sidebar a b{font-weight:650;min-width:0;overflow-wrap:anywhere}
body.home-page-5166 .zn215-sidebar a:hover,body.home-page-5166 .zn215-sidebar a[aria-current]{background:linear-gradient(95deg,rgba(12,191,187,.27),rgba(12,191,187,.06));color:var(--zn215-text)!important}
body.home-page-5166 .zn215-sidebar a[aria-current] span{color:var(--zn215-accent)}
body.home-page-5166 .zn215-hero{min-height:306px;position:relative;overflow:hidden;border-radius:17px;border:1px solid var(--zn215-border);background:#0a2437;isolation:isolate;display:flex;align-items:center;box-shadow:0 18px 50px #0003}
body.home-page-5166 .zn215-hero-image{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,17,32,.99) 0%,rgba(3,24,40,.91) 30%,rgba(3,26,41,.2) 74%),url('section-bg-auto.jpg') center/cover no-repeat;z-index:-1;transform:scale(1.01)}
body.home-page-5166 .zn215-hero-content{padding:clamp(23px,3.6vw,46px);max-width:67%;min-width:0;position:relative;z-index:1}
body.home-page-5166 .zn215-kicker{display:inline-flex;align-items:center;border:1px solid #71d8f568;color:#b8faff;background:#003d5799;border-radius:999px;padding:5px 11px;margin:0 0 13px;font-weight:800;font-size:11px;letter-spacing:.035em;text-transform:uppercase}
body.home-page-5166 .zn215-hero h1{color:#fff!important;font-weight:900!important;letter-spacing:-.038em;font-size:clamp(31px,3.7vw,57px)!important;line-height:1.06!important;margin:0 0 14px!important;text-shadow:0 4px 20px #0004}
body.home-page-5166 .zn215-hero h1 span{color:#80fce6}
body.home-page-5166 .zn215-hero p{color:#e2f1fa!important;font-size:clamp(13px,1.28vw,16px)!important;line-height:1.5;margin:0 0 22px;max-width:430px;text-shadow:0 1px 6px #0006}
body.home-page-5166 .zn215-main-button{display:inline-flex!important;align-items:center;justify-content:center;gap:14px;border-radius:12px;background:linear-gradient(115deg,#14f1dc,#1abce9)!important;box-shadow:0 12px 22px rgba(0,210,201,.19);color:#003039!important;padding:12px 20px!important;border:0!important;text-decoration:none!important;font-size:13px;font-weight:850;max-width:100%;min-height:43px;white-space:normal;text-align:center}
body.home-page-5166 .zn215-main-button:hover{filter:brightness(1.07)}
body.home-page-5166 .zn215-hero-benefits{position:absolute;right:14px;top:14px;bottom:14px;display:flex;flex-direction:column;gap:7px;width:154px;justify-content:center}
body.home-page-5166 .zn215-hero-benefits a{display:flex;align-items:center;gap:10px;min-height:57px;border:1px solid #7bbce85c;border-radius:11px;padding:10px 10px;background:rgba(7,38,63,.83);backdrop-filter:blur(12px);color:#f5ffff!important;font-size:12px;text-decoration:none!important;font-weight:800;line-height:1.3}
body.home-page-5166 .zn215-hero-benefits span{color:#20eedb;font-size:23px;flex:0 0 25px}
body.home-page-5166 .zn215-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin:23px 0 12px}
body.home-page-5166 .zn215-section-title h2{font-size:clamp(17px,1.65vw,23px)!important;font-weight:850!important;line-height:1.15!important;letter-spacing:-.018em;margin:0!important;color:var(--zn215-text)!important}
body.home-page-5166 .zn215-section-title>a{color:var(--zn215-accent)!important;font-weight:750;font-size:12px;text-decoration:none!important;white-space:nowrap}
body.home-page-5166 .zn215-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;min-width:0}
body.home-page-5166 .zn215-category-grid .zn215-cat{border:1px solid var(--zn215-border);border-radius:14px;min-height:155px;min-width:0;overflow:hidden;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:13px 11px 11px;text-decoration:none!important;color:#fff!important;background:#10283b;isolation:isolate;box-shadow:0 8px 18px #0002;transition:transform .17s,border-color .17s}
body.home-page-5166 .zn215-cat::before{content:'';position:absolute;inset:0;z-index:-2;background-image:var(--zn215-photo);background-position:center;background-size:cover;transition:transform .3s ease}
body.home-page-5166 .zn215-cat::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#061d2c33 0%,#00152249 42%,#00111be8 100%)}
body.home-page-5166 .zn215-cat:hover{transform:translateY(-3px);border-color:#5ff5e9}body.home-page-5166 .zn215-cat:hover::before{transform:scale(1.05)}
body.home-page-5166 .zn215-cat-icon{display:grid;place-items:center;background:linear-gradient(130deg,#00d6e0,#1662d8);height:35px;width:35px;border-radius:10px;box-shadow:0 4px 16px #003a63a0;font-size:20px;color:#fff}
body.home-page-5166 .zn215-cat-mint .zn215-cat-icon{background:linear-gradient(120deg,#06d2a0,#047b7b)}
body.home-page-5166 .zn215-cat-violet .zn215-cat-icon{background:linear-gradient(120deg,#895eff,#4524ac)}
body.home-page-5166 .zn215-cat-amber .zn215-cat-icon{background:linear-gradient(120deg,#ffbb4c,#dc732b)}
body.home-page-5166 .zn215-cat-pink .zn215-cat-icon{background:linear-gradient(120deg,#f4519d,#813ff7)}
body.home-page-5166 .zn215-cat-caption{display:block;padding-right:10px;min-width:0}.zn215-cat-caption b{font-size:13px;font-weight:850;display:block;color:#fff!important;line-height:1.2;overflow-wrap:anywhere;text-shadow:0 2px 8px #000}
body.home-page-5166 .zn215-cat-caption small{display:block;color:#d4e8f4;font-size:10px;line-height:1.4;margin-top:3px}
body.home-page-5166 .zn215-cat-arrow{position:absolute;bottom:9px;right:8px;color:#fff;font-weight:800;font-size:15px}
body.home-page-5166 .zn215-filters{display:flex;gap:7px;align-items:center;overflow-x:auto;max-width:100%;scrollbar-width:thin;padding:1px 0 9px}
body.home-page-5166 .zn215-filters a{white-space:nowrap;flex:0 0 auto;display:inline-flex;padding:8px 12px;border-radius:11px;color:var(--zn215-muted)!important;background:var(--zn215-panel);border:1px solid var(--zn215-border);text-decoration:none!important;font-size:12px;font-weight:700}
body.home-page-5166 .zn215-filters a.is-selected{color:#032d37!important;background:var(--zn215-accent);border-color:transparent}
body.home-page-5166 .zn215-listings-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;min-width:0}
body.home-page-5166 .zn215-card{min-width:0;position:relative;background:var(--zn215-panel)!important;border:1px solid var(--zn215-border)!important;border-radius:13px;overflow:hidden;box-shadow:0 10px 22px #00000016;transition:transform .16s,box-shadow .16s}
body.home-page-5166 .zn215-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px #00000024}
body.home-page-5166 .zn215-card-main{display:block;text-decoration:none!important;color:var(--zn215-text)!important;height:100%}
body.home-page-5166 .zn215-card-photo{width:100%;aspect-ratio:1.35/1;background:var(--zn215-panel-2);overflow:hidden;display:block}
body.home-page-5166 .zn215-card-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:auto!important;transition:transform .2s}
body.home-page-5166 .zn215-card:hover img{transform:scale(1.03)}
body.home-page-5166 .zn215-card-info{padding:10px 10px 12px!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
body.home-page-5166 .zn215-card-info h3{font-weight:750!important;font-size:12.5px!important;color:var(--zn215-text)!important;line-height:1.28!important;margin:0!important;min-height:31px;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
body.home-page-5166 .zn215-card-info>strong{color:var(--zn215-text)!important;font-size:17px!important;font-weight:900;line-height:1.25}
body.home-page-5166 .zn215-card-info>small{font-size:10px;color:var(--zn215-muted)!important;line-height:1.4;min-height:15px}
body.home-page-5166 .zn215-seller{display:block;color:var(--zn215-muted);font-size:11px;padding-top:6px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
body.home-page-5166 .zn215-seller>span{color:#06bd89;font-weight:900}
body.home-page-5166 .zn215-card-fav{position:absolute;top:8px;right:8px;margin:0!important;z-index:3}
body.home-page-5166 .zn215-card-fav button,body.home-page-5166 a.zn215-card-fav{display:grid!important;place-items:center!important;min-width:31px!important;width:31px!important;height:31px!important;padding:0!important;border:1px solid #bdd6e4!important;border-radius:10px!important;background:rgba(255,255,255,.97)!important;color:#e83860!important;font-size:21px!important;line-height:1!important;box-shadow:0 3px 12px #00182745;text-decoration:none!important;cursor:pointer}
body.home-page-5166 .zn215-card-fav button[aria-pressed=true]{color:#f0285b!important;background:#ffe7ed!important}
body.home-page-5166 .zn215-no-listings{grid-column:1/-1;border:1px dashed var(--zn215-border);border-radius:16px;padding:24px;display:grid;justify-items:start;gap:10px;background:var(--zn215-panel);color:var(--zn215-text)}
body.home-page-5166 .zn215-no-listings p{margin:0;color:var(--zn215-muted)}
body.home-page-5166 .zn215-discover{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:27px 0 15px}
body.home-page-5166 .zn215-discover a{min-width:0;text-decoration:none!important;display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;align-items:center;gap:2px 10px;background:var(--zn215-panel)!important;border:1px solid var(--zn215-border)!important;border-radius:13px;padding:13px;color:var(--zn215-text)!important}
body.home-page-5166 .zn215-discover span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid #1bc9d28a;color:var(--zn215-accent);font-size:22px}
body.home-page-5166 .zn215-discover b{font-size:13px;color:var(--zn215-text)}body.home-page-5166 .zn215-discover small{color:var(--zn215-muted);font-size:11px}
body.home-page-5166 .zn215-mobile-search{display:none}
body.home-page-5166 .zn215-ad-slot{min-width:0;overflow:hidden}
/* Keep the light theme light across the real page rather than just on cards. */
body.home-page-5166.zn-effective-light .zn215-sidebar,body.home-page-5166.zn-effective-light .zn215-card,
body.home-page-5166.zn-effective-light .zn215-discover a{background:#fff!important;color:#142c39!important}
@media(min-width:1380px){body.home-page-5166 .zn215-category-grid{gap:13px}}
@media(max-width:1220px){body.home-page-5166 .zn215-layout{grid-template-columns:154px minmax(0,1fr);gap:12px}body.home-page-5166 .zn215-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.home-page-5166 .zn215-category-grid .zn215-cat{min-height:137px}body.home-page-5166 .zn215-listings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:960px){body.home-page-5166 .zn215-layout{display:block}body.home-page-5166 .zn215-sidebar{display:none!important}body.home-page-5166 .zn215-content{width:100%}body.home-page-5166 .zn215-listings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.home-page-5166 #main-content{padding-inline:10px!important;padding-top:8px!important;padding-bottom:90px!important}body.home-page-5166 .zn215-mobile-search{display:flex;gap:8px;align-items:center;background:var(--zn215-panel);border:1px solid var(--zn215-border);border-radius:12px;padding:6px 7px 6px 12px;margin-bottom:12px}body.home-page-5166 .zn215-mobile-search span{color:var(--zn215-muted);font-size:23px}body.home-page-5166 .zn215-mobile-search input{flex:1;min-width:0;background:transparent!important;box-shadow:none!important;border:0!important;color:var(--zn215-text)!important;padding:7px 2px!important;outline:0;font-size:13px}body.home-page-5166 .zn215-mobile-search button{padding:9px 11px;border-radius:9px;border:0;background:var(--zn215-accent);color:#003437;font-weight:800;font-size:12px}body.home-page-5166 .zn215-hero{min-height:216px;border-radius:13px}body.home-page-5166 .zn215-hero-image{background-position:60% center;background-image:linear-gradient(90deg,rgba(2,19,31,.96),rgba(2,22,34,.79) 55%,rgba(5,29,47,.22)),url('section-bg-auto.jpg')}body.home-page-5166 .zn215-hero-content{max-width:85%;padding:18px}body.home-page-5166 .zn215-hero h1{font-size:clamp(25px,6.3vw,36px)!important}body.home-page-5166 .zn215-hero p{font-size:12px!important;max-width:330px;margin-bottom:13px}body.home-page-5166 .zn215-kicker{font-size:9px;padding:4px 9px;margin-bottom:10px}body.home-page-5166 .zn215-hero-benefits{display:none!important}body.home-page-5166 .zn215-main-button{min-height:37px;padding:9px 12px!important;font-size:11px}body.home-page-5166 .zn215-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body.home-page-5166 .zn215-cat{min-height:118px!important;border-radius:12px;padding:10px 8px!important}body.home-page-5166 .zn215-cat-icon{width:29px;height:29px;font-size:18px}body.home-page-5166 .zn215-cat-caption b{font-size:11px}body.home-page-5166 .zn215-cat-caption small{font-size:9px}body.home-page-5166 .zn215-cat-arrow{display:none}body.home-page-5166 .zn215-section-title{margin:19px 0 11px}body.home-page-5166 .zn215-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.home-page-5166 .zn215-card-info>strong{font-size:15px!important}body.home-page-5166 .zn215-card-photo{aspect-ratio:1.34/1}body.home-page-5166 .zn215-discover{grid-template-columns:1fr;gap:8px}body.home-page-5166 .zn215-discover a{padding:11px}body.home-page-5166 .zn215-section-title h2{font-size:18px!important}body.home-page-5166 .zn215-section-title>a{font-size:11px}}
@media(max-width:380px){body.home-page-5166 .zn215-hero{min-height:215px}body.home-page-5166 .zn215-hero-content{max-width:96%}body.home-page-5166 .zn215-hero h1{font-size:25px!important}body.home-page-5166 .zn215-category-grid{gap:6px}body.home-page-5166 .zn215-cat{padding:8px 7px!important;min-height:109px!important}body.home-page-5166 .zn215-cat-caption b{font-size:10px}body.home-page-5166 .zn215-card-info{padding:8px!important}}
@media(prefers-reduced-motion:reduce){body.home-page-5166 .zn215-cat,body.home-page-5166 .zn215-cat::before,body.home-page-5166 .zn215-card,body.home-page-5166 .zn215-card img{transition:none!important}}

/* --- upgrade-5216-marketplace.css --- */
/* Znahodka 5.216 — design system, deliberately last in ordered CSS bundle. */
:root {--zn216-ink:#ecf8ff;--zn216-bg:#061724;--zn216-surface:#0a2637;--zn216-surface2:#0d3144;--zn216-border:rgba(99,200,236,.21);--zn216-muted:#9cb9c9;--zn216-accent:#16ddca;--zn216-link:#56d8ff;--zn216-shadow:0 12px 38px rgba(1,8,17,.22)}
body.zn-effective-light, .zn-effective-light body, body.zn-theme-light {--zn216-ink:#14293a;--zn216-bg:#f4f8fb;--zn216-surface:#fff;--zn216-surface2:#edf4f9;--zn216-border:#dce7ef;--zn216-muted:#617686;--zn216-accent:#0c987d;--zn216-link:#116fc0;--zn216-shadow:0 10px 26px rgba(16,43,60,.08)}
/* Global backgrounds and foregrounds must change together, not just cards. */
body:not(.auth-body) {background:var(--zn216-bg);color:var(--zn216-ink)}
body:not(.auth-body) :is(.admin-main,.zn215-layout,.marketplace-page,.zn-wallet-5178,.zn216-promo-page,.author-hub,.notification-center,.zn-inbox,.zn-app-screen,.section-directory-5214){color:var(--zn216-ink)}
body :is(.panel,.admin-panel,.zn-glass,.zn-wallet-balance,.zn-wallet-history,.zn-pay-card,.marketplace-card,.notification-row,.zn216-panel){box-shadow:var(--zn216-shadow);border-color:var(--zn216-border)}
body.zn-effective-light :is(.panel,.admin-panel,.zn-glass,.zn-wallet-balance,.zn-wallet-history,.zn-pay-card,.marketplace-card,.notification-row,.zn216-panel),body.zn-theme-light :is(.panel,.admin-panel,.zn-glass,.zn-wallet-balance,.zn-wallet-history,.zn-pay-card,.marketplace-card,.notification-row,.zn216-panel){background:var(--zn216-surface);color:var(--zn216-ink);border-color:var(--zn216-border)}
body.zn-effective-light :is(h1,h2,h3,.marketplace-card-price,.zn-wallet-balance h1,.notification-title,.zn216-panel h2),body.zn-theme-light :is(h1,h2,h3,.marketplace-card-price,.zn-wallet-balance h1,.notification-title,.zn216-panel h2){color:var(--zn216-ink)}
body.zn-effective-light :is(.muted,.meta,small,.zn-wallet-row small),body.zn-theme-light :is(.muted,.meta,small,.zn-wallet-row small){color:var(--zn216-muted)}
body .btn:not(.secondary), body .zn215-main-button {background:linear-gradient(112deg,#11cfae,#13beca);color:#062433;border-color:transparent}
body .btn:not(.secondary):hover, body .zn215-main-button:hover {filter:brightness(1.06)}
/* Primary page rhythm used by wallet, promotion campaigns, author hub, catalog and conversations. */
:where(.zn-wallet-5178,.promotion-page-5158,.zn216-promo-page){width:min(1200px,calc(100% - 28px));max-width:1200px;margin:24px auto 80px}
.zn-wallet-5178 .zn-wallet-balance {padding:clamp(20px,3.5vw,36px);background:linear-gradient(130deg,#075665,#0c2f4b 70%);border:1px solid #24a5af;border-radius:22px}
.zn-wallet-5178 .zn-wallet-balance h1 {font-size:clamp(29px,5vw,47px);letter-spacing:-.04em;margin:8px 0}
.zn-wallet-5178 :is(.zn-wallet-links-5205,.zn-wallet-summary-5203){gap:12px}
.zn-wallet-5178 :is(.zn-wallet-row,.zn-provider){border-color:var(--zn216-border)}
.zn-wallet-5178 :is(.zn-pay-card,.zn-wallet-history){border-radius:19px;padding:clamp(17px,2.5vw,28px)}
/* Product visuals: fixed image crop; prevent cards from expanding the horizontal viewport. */
:where(.marketplace-grid,.marketplace-list,.zn215-listings-grid,.zn215-category-grid)>* {min-width:0}
.marketplace-card{overflow:hidden;border-radius:16px}
.marketplace-card img{width:100%;object-fit:cover}
:where(.marketplace-card-price,.zn215-card-info strong){font-variant-numeric:tabular-nums}
:where(.marketplace-card-copy,.zn215-card-info){min-width:0;overflow-wrap:anywhere}
:where(.marketplace-card-copy,.zn215-card-info) h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
:where(.marketplace-filters,.marketplace-tags,.zn215-filters){scrollbar-width:thin}
/* Conversations and notices */
.zn-bubble{max-width:min(86%,610px);border-radius:19px 19px 19px 5px;overflow-wrap:anywhere}
.zn-bubble.mine{border-radius:19px 19px 5px 19px;background:linear-gradient(122deg,#086679,#0b8c82);color:#efffff}
.zn-composer{border-radius:20px}
body.zn-effective-light .zn-bubble:not(.mine){background:#edf3f6;color:#1e3341}
body.zn-effective-light .zn-bubble.mine{background:#d0f8e7;color:#14392d}
/* Forum, news, authors, marketing and moderation cards adapt together */
:where(.author-section-card,.forum-topic-card,.forum-topic-row,.notification-row,.admin-stat-card,.admin-user-card,.zn-wallet-summary-5203>div){border-radius:17px;min-width:0}
:where(.admin-main,.author-side-column,.zn-wallet-5178,.promotion-page-5158) :is(input,select,textarea){max-width:100%}
:where(.admin-main,.zn216-promo-page) :is(input,select,textarea){border-color:var(--zn216-border)}
:where(.admin-main,.zn216-promo-page) :is(input,select,textarea):focus-visible{outline:2px solid var(--zn216-accent);outline-offset:2px}
/* Promotion-code pages and management dashboard */
.zn216-promo-page{padding-top:18px}
.zn216-eyebrow{font-size:12px;letter-spacing:.14em;color:var(--zn216-accent);text-transform:uppercase;font-weight:800}
.zn216-intro{margin-bottom:25px}.zn216-intro h1{font-size:clamp(26px,4vw,39px);margin:9px 0}.zn216-intro p{color:var(--zn216-muted);max-width:620px;line-height:1.6}
.zn216-promo-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.zn216-panel{background:var(--zn216-surface);padding:clamp(18px,3vw,28px);border:1px solid var(--zn216-border);border-radius:21px;min-width:0}
.zn216-panel h2{margin:0 0 19px;font-size:21px}
.zn216-form{display:grid;gap:12px}.zn216-form label{font-weight:700}
.zn216-form input{background:var(--zn216-surface2);border:1px solid var(--zn216-border);color:var(--zn216-ink);font-size:16px;height:54px;border-radius:12px;padding:0 14px;min-width:0}
.zn216-form .btn{min-height:49px;border-radius:12px;font-weight:800}
.zn216-history{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--zn216-border)}
.zn216-history strong{display:block}.zn216-history small,.zn216-current span{display:block;color:var(--zn216-muted);font-size:12px;margin-top:4px}.zn216-history b{white-space:nowrap;color:var(--zn216-accent)}
.zn216-current{margin-top:17px;background:var(--zn216-surface2);border:1px solid var(--zn216-border);padding:17px;border-radius:12px}
.zn216-current strong{color:var(--zn216-accent)}.zn216-links{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0}.zn216-links a{color:var(--zn216-link)}
.zn216-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.zn216-table{width:100%;min-width:800px;border-collapse:collapse}
.zn216-table th{text-align:left;font-size:12px;color:var(--zn216-muted);padding:12px;border-bottom:1px solid var(--zn216-border)}
.zn216-table td{padding:13px 12px;vertical-align:top;border-bottom:1px solid var(--zn216-border);font-size:13px}
.zn216-table td small{display:block;color:var(--zn216-muted);margin-top:4px}.zn216-inline-form{display:inline-block;margin:4px}
.zn216-discount-note{padding:12px 16px;border:1px solid var(--zn216-border);border-radius:12px;background:var(--zn216-surface2);margin-bottom:15px}
.zn216-discount-note strong{color:var(--zn216-accent)}
@media(max-width:720px){.zn216-promo-columns{grid-template-columns:minmax(0,1fr)}.zn216-history{align-items:start}.zn-wallet-5178 .zn-wallet-summary-5203{grid-template-columns:1fr}.zn216-table{min-width:700px}.zn216-intro{margin-top:8px}}
@media(max-width:380px){.zn216-promo-page{width:calc(100% - 22px)}.zn216-panel{padding:15px}.zn216-history{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.zn216-promo-page *, .zn216-admin-promos *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
