*{box-sizing:border-box}body{margin:0;font-family:"Trebuchet MS",Arial,sans-serif;color:#173a7a;background:#fffdf7}a{text-decoration:none;color:inherit}.wrap{width:min(1180px,92%);margin:auto}.top{position:sticky;top:0;z-index:20;background:#fffef9eF;backdrop-filter:blur(12px);border-bottom:1px solid #f1ead9}.nav{height:78px;display:flex;align-items:center;gap:28px}.logo{display:flex;align-items:center;gap:9px;color:#ff641e;font-size:25px}.logo span{font-size:36px}.nav nav{display:flex;gap:22px;flex:1;justify-content:center;font-weight:800}.nav nav a:hover{color:#ff641e}.actions{display:flex;gap:8px;align-items:center}.btn{border:0;border-radius:16px;padding:12px 18px;background:#eef6ff;color:#173a7a;font:800 14px "Trebuchet MS";cursor:pointer}.btn.primary{background:linear-gradient(135deg,#16d69a,#00b976);color:#fff;box-shadow:0 8px 20px #16d69a33}.wide{width:100%}.hero{background:linear-gradient(#b9f1ff,#e8fbff 55%,#ffe2a3);overflow:hidden}.heroGrid{min-height:500px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:25px}.hero h1{font-size:58px;line-height:.98;margin:10px 0;color:#193e96}.hero p{font-size:19px;max-width:590px}.heroArt{align-self:stretch;background:url('assets/design-reference.png') center/cover no-repeat;border-radius:40px 0 0 40px;min-height:430px;box-shadow:inset 0 0 0 6px #ffffff77}.search{display:flex;background:white;border-radius:22px;padding:7px;box-shadow:0 15px 35px #22558c25;margin-top:28px}.search input{border:0;outline:0;flex:1;padding:13px;font:700 16px "Trebuchet MS"}.search button{border:0;border-radius:16px;background:#ffad00;color:white;padding:0 25px;font-weight:900}.cats{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;padding:30px 0}.cat{text-align:center;font-weight:900}.cat i{display:grid;place-items:center;width:92px;height:92px;margin:auto auto 8px;border-radius:38% 62% 55% 45%;font-style:normal;font-size:45px;box-shadow:0 10px 20px #183d7015}.pink{background:#ffe2ef}.yellow{background:#fff1a9}.green{background:#c8f7d7}.orange{background:#ffe0b6}.blue{background:#cdefff}.lilac{background:#eadcff}.aqua{background:#c9f6ef}.section{padding:48px 0}.section.sand{background:#fff1c8}.head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.head h2{font-size:38px;margin:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border-radius:24px;padding:8px;box-shadow:0 10px 28px #173a7a16;border:1px solid #efe9dc}.pic{height:210px;border-radius:19px;overflow:hidden;background:linear-gradient(145deg,#e8f8ff,#fff0c8);display:grid;place-items:center}.pic img{width:100%;height:100%;object-fit:cover}.no-photo{font-size:55px;text-align:center}.no-photo small{display:block;font-size:12px}.body{padding:10px}.cardtop{display:flex;justify-content:space-between}.tag{background:#f6d8ff;padding:5px 10px;border-radius:12px;font-size:12px;font-weight:900}.heart{border:0;background:#fff;font-size:23px;color:#1b4b9c;cursor:pointer}.heart.on{color:#ff3c71}.title{font-weight:900;display:block;margin:7px 0}.price{font-size:20px;font-weight:900}.loc{font-size:12px;color:#7d8aa4;margin-top:6px}.filters{background:#fff8e9;border:5px solid #ffd58a;border-radius:35px;padding:26px;box-shadow:0 18px 0 #f2bd5b;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px}.filter-block label,.field label{display:block;font-weight:900;margin-bottom:8px}.age-chips{display:flex;flex-wrap:wrap;gap:8px}.age-chips button{border:0;border-radius:14px;padding:9px 13px;background:#c9f2ff;color:#173a7a;font-weight:900;cursor:pointer}.age-chips button:nth-child(2n){background:#ffe398}.age-chips button:nth-child(3n){background:#f6c7ee}.age-chips button.active{outline:3px solid #ff7b28}.filters select,.filters input,.field input,.field select,.field textarea{width:100%;padding:13px;border:2px solid #e8e1d5;border-radius:15px;background:white;font:700 14px "Trebuchet MS"}.field textarea{min-height:110px;resize:vertical}.empty{grid-column:1/-1;text-align:center;background:#fff8e9;border:3px dashed #ffc85b;border-radius:28px;padding:35px}.emptyToy{font-size:65px}.panel{background:#fff;border-radius:28px;padding:25px;box-shadow:0 12px 35px #173a7a12}.pageTitle{padding:38px 0 18px}.pageTitle h1{font-size:46px;margin:0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{margin:12px 0}.modal{position:fixed;inset:0;background:#173a7a66;display:none;place-items:center;z-index:50;padding:20px}.modal.open{display:grid}.box{background:#fffdf8;width:min(650px,96vw);max-height:90vh;overflow:auto;border-radius:30px;padding:25px}.modalHead{display:flex;justify-content:space-between}.modalHead h3{font-size:28px;margin:5px 0}.close{border:0;background:#fff0dc;border-radius:50%;width:38px;height:38px;font-size:24px}.notice{background:#fff0b9;border-radius:16px;padding:12px}.eyebrow{font-size:12px;font-weight:900;color:#ff6b22}.itemGrid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}.galleryMain{height:520px;border-radius:30px;overflow:hidden;background:#eaf8ff;display:grid;place-items:center}.galleryMain img{width:100%;height:100%;object-fit:cover}.forumRow{padding:18px;border-bottom:1px solid #eee}.forumRow h3{margin:0 0 6px}.foot{padding:35px 0;display:flex;justify-content:space-between;align-items:center}footer{background:#f3f9ff;margin-top:50px}.toyBand{background:#fff1c9;border-radius:35px;padding:28px}.journalGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.articleCard{background:white;border-radius:25px;padding:25px;border:1px solid #eee}.articleIcon{font-size:48px}@media(max-width:850px){.nav nav{display:none}.nav{height:68px}.actions .btn:not(.primary){display:none}.heroGrid{grid-template-columns:1fr;padding:35px 0}.hero h1{font-size:43px}.heroArt{min-height:290px;border-radius:30px}.cats{grid-template-columns:repeat(4,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr}.itemGrid{grid-template-columns:1fr}.journalGrid{grid-template-columns:1fr}}@media(max-width:520px){.logo b{font-size:20px}.cats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.hero h1{font-size:38px}.pageTitle h1{font-size:36px}.formgrid{grid-template-columns:1fr}.head h2{font-size:31px}}
/* ===== v9 toy design ===== */
:root{--navy:#18345f;--cream:#fff9ee;--orange:#ff9d4d;--pink:#ff7eac;--sky:#6bd5f6;--green:#8be07f;--yellow:#ffd656;--lilac:#b59df6;--sand:#f7d995}
body.toy-home{background:var(--cream);color:var(--navy)}
.toy-top{background:#fffdf7f4;border-bottom:2px solid #f4ead2;box-shadow:0 6px 18px #21375b0a}.toy-top .nav{height:84px}.toy-top .logo{min-width:260px}.toy-top .logo small{display:block;font-size:10px;color:#66a8ae;font-weight:900;letter-spacing:.02em;margin-left:2px}.toy-top .logo b{color:#ff6b28}.toy-top .nav nav a{padding:10px 12px;border-radius:14px}.toy-top .nav nav a:hover{background:#fff0d8}.toy-top .btn{border:2px solid #22395d;background:#fff;box-shadow:0 4px 0 #22395d}.toy-top .btn.primary{border-color:#0c9668;background:#25d18f;box-shadow:0 4px 0 #0c9668}
.toy-hero{padding:42px 0 28px;background:linear-gradient(180deg,#fefaf0 0%,#fff8e9 100%);position:relative;overflow:hidden}.toy-hero:before,.toy-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(.2px);opacity:.6}.toy-hero:before{width:180px;height:180px;background:#ffe187;left:-55px;top:82px}.toy-hero:after{width:190px;height:190px;background:#bdeef8;right:-65px;bottom:10px}.toy-hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:stretch;position:relative;z-index:1}.toy-hero-copy{padding:54px 8px 40px 12px}.hero-kicker{display:inline-flex;align-items:center;gap:7px;background:white;border:3px solid var(--navy);border-radius:999px;padding:8px 15px;font-weight:900;box-shadow:0 5px 0 var(--navy);font-size:13px}.toy-hero h1{font-size:64px;line-height:.94;letter-spacing:-.045em;margin:28px 0 18px;color:#223f8d}.toy-hero p{font-size:20px;line-height:1.48;max-width:620px;margin:0}.toy-search{margin-top:28px;border:3px solid #fff;box-shadow:0 13px 30px #274a7f1d}.toy-search button{min-width:132px;background:linear-gradient(180deg,#ffbf21,#ff9800);font-size:15px}.hero-mini-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.hero-mini-actions a,.hero-mini-actions button{border:0;background:white;border-radius:999px;padding:10px 14px;font:900 13px "Trebuchet MS";color:var(--navy);box-shadow:0 4px 12px #263e6520;cursor:pointer}.toy-hero-visual{border:4px solid white;border-radius:42px;overflow:hidden;box-shadow:0 18px 0 #2a4067,0 26px 45px #1c345c22;min-height:480px;background:#bcecff}.toy-hero-visual img{width:100%;height:100%;object-fit:cover;display:block}
.category-strip-section{background:#fff;padding:26px 0 12px}.category-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}.picture-cat{text-align:center;font-weight:900;color:#18345f;transition:.2s}.picture-cat:hover{transform:translateY(-5px)}.picture-cat img{width:100%;aspect-ratio:1/1;border-radius:42% 58% 48% 52%;object-fit:cover;background:#fff;box-shadow:0 8px 22px #23436b16}.picture-cat span{display:block;margin-top:7px;line-height:1.12;font-size:13px}
.toy-section-title{display:flex;align-items:center;gap:14px;margin-bottom:22px}.toy-section-title>span{font-size:42px}.toy-section-title small,.filters-heading small{font-weight:900;color:#f19127;text-transform:uppercase;letter-spacing:.08em}.toy-section-title h2,.filters-heading h2{font-size:38px;margin:2px 0 0;letter-spacing:-.03em}.action-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.action-card{appearance:none;border:4px solid var(--navy);border-radius:30px;padding:25px 20px;text-align:left;color:var(--navy);box-shadow:0 9px 0 var(--navy);transition:.18s;min-height:176px;font-family:"Trebuchet MS";cursor:pointer}.action-card:hover{transform:translateY(-5px);box-shadow:0 14px 0 var(--navy)}.action-card b{display:block;font-size:43px;margin-bottom:16px}.action-card strong{display:block;font-size:24px}.action-card span{display:block;font-size:13px;font-weight:800;line-height:1.3;margin-top:4px}.action-card.blue{background:#70d5f3}.action-card.yellow{background:#ffd85b}.action-card.pink{background:#f58cc0}.action-card.green{background:#96e189}.action-card.lilac{background:#b69ef4}
.age-section{padding-top:34px}.home-age-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.home-age-card{background:white;border:4px solid var(--navy);border-radius:27px;min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 8px 0 var(--navy);font-weight:900;transition:.18s}.home-age-card:nth-child(2n){background:#fff6cd}.home-age-card:nth-child(3n){background:#d8f6ff}.home-age-card:nth-child(4n){background:#fce2f0}.home-age-card:hover{transform:translateY(-4px)}.home-age-card span{font-size:34px}.home-age-card.any{background:#76d8d1}
.nearby-section{background:#fff;padding-top:56px;padding-bottom:58px}.toy-head h2{font-size:42px;margin:2px 0 3px}.toy-head p{margin:0;color:#6f7b8f}.mini-kicker{font-weight:900;color:#f0654a}.soft-btn{background:#fff4cf;border:2px solid #f0be50}.nearby-section .card{border:3px solid #f1e4c4;box-shadow:0 10px 0 #f0e1bf,0 18px 26px #18345f0c}.nearby-section .pic{height:230px}.nearby-section .empty{background:linear-gradient(180deg,#fffaf0,#fff3c6);border:4px dashed #f7ba46;box-shadow:none;padding:46px}
.filter-playground{background:linear-gradient(180deg,#fff 0,#fff5da 60%,#f5ce7b 100%);padding:70px 0 86px;overflow:hidden}.filter-stage{position:relative}.filter-deco{position:absolute;z-index:0;bottom:-70px;pointer-events:none}.filter-deco-left{left:-92px;width:205px}.filter-deco-right{right:-92px;width:225px}.home-filters{position:relative;z-index:1;grid-template-columns:1.8fr 1fr 1fr 1fr;padding:32px 36px 30px;background:#fffaf0;border:5px solid #f5bd58;box-shadow:0 16px 0 #e8a93c;border-radius:42px}.filters-heading{grid-column:1/-1;display:flex;align-items:center;gap:12px}.filters-heading>span{font-size:36px}.filter-age-wide{min-width:0}.home-filters .age-chips button{border:2px solid transparent;box-shadow:0 3px 0 #b3dbe5}.home-filters .age-chips button:nth-child(2n){box-shadow:0 3px 0 #e1bd5e}.home-filters .age-chips button:nth-child(3n){box-shadow:0 3px 0 #d5a4c6}.home-filters .age-chips button.active{outline:none;border-color:#ff7c31;box-shadow:0 4px 0 #d9601e}.filter-submit{grid-column:1/-1;text-align:center}.big-btn{font-size:16px;padding:15px 28px;min-width:300px;border:0}
.home-cta{background:linear-gradient(110deg,#ffd653 0,#ffb152 47%,#ff7aa3 100%);border:4px solid var(--navy);box-shadow:0 12px 0 var(--navy);border-radius:38px;padding:38px 42px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}.home-cta h2{font-size:42px;margin:18px 0 8px}.home-cta p{max-width:700px;font-size:17px}.home-cta .hero-kicker{box-shadow:0 4px 0 var(--navy)}.home-cta .btn{margin-top:10px;background:#57db92;box-shadow:0 5px 0 #187d59}.cta-toys{font-size:52px;max-width:280px;line-height:1.4;transform:rotate(-4deg)}
footer{background:#203557;color:white}.foot .logo b{color:white}.foot .logo span{filter:none}
@media(max-width:1100px){.category-strip{grid-template-columns:repeat(4,1fr)}.action-cards{grid-template-columns:repeat(3,1fr)}.home-age-grid{grid-template-columns:repeat(3,1fr)}.home-filters{grid-template-columns:1fr 1fr}.filter-age-wide{grid-column:1/-1}}
@media(max-width:850px){.toy-top .logo small{display:none}.toy-hero-grid{grid-template-columns:1fr}.toy-hero-copy{padding:28px 4px 12px}.toy-hero h1{font-size:50px}.toy-hero-visual{min-height:360px;border-radius:34px}.action-cards{grid-template-columns:repeat(2,1fr)}.home-age-grid{grid-template-columns:repeat(2,1fr)}.home-filters{grid-template-columns:1fr}.filter-age-wide,.filter-submit{grid-column:auto}.filter-deco{opacity:.35}.home-cta{grid-template-columns:1fr}.cta-toys{font-size:38px}}
@media(max-width:520px){.toy-top .nav{height:70px}.toy-top .logo{min-width:0}.toy-hero{padding-top:20px}.toy-hero h1{font-size:40px}.toy-hero p{font-size:16px}.toy-search{flex-direction:column;padding:6px}.toy-search button{padding:13px}.toy-hero-visual{min-height:265px;border-width:3px;box-shadow:0 10px 0 #2a4067}.category-strip{grid-template-columns:repeat(2,1fr)}.picture-cat img{max-width:135px}.action-cards{grid-template-columns:1fr 1fr;gap:10px}.action-card{min-height:145px;padding:18px 15px;border-width:3px;box-shadow:0 6px 0 var(--navy)}.action-card b{font-size:34px;margin-bottom:9px}.action-card strong{font-size:20px}.home-age-grid{grid-template-columns:1fr 1fr}.toy-section-title h2,.filters-heading h2,.toy-head h2,.home-cta h2{font-size:30px}.home-filters{padding:22px 18px;border-radius:30px}.big-btn{min-width:0;width:100%}.home-cta{padding:28px 22px}.filter-deco{display:none}}

/* v9.1: explicit Give Away flow */
.hero-mini-actions .give-away{background:#fff0f7;color:#b02d70;border:2px solid #f58cc0}
.catalog-type-panel{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff7df;border:4px solid #ffd36b;border-radius:28px;padding:18px 20px;margin-bottom:18px;box-shadow:0 8px 0 #e8b64c}
.catalog-type-title{font-weight:1000;font-size:18px;margin-right:4px}.type-chips{display:flex;flex-wrap:wrap;gap:9px;flex:1}.type-chips button{border:2px solid #d8e1ef;background:white;color:var(--navy,#233451);border-radius:16px;padding:10px 13px;font:900 14px "Trebuchet MS";cursor:pointer;box-shadow:0 3px 0 #c7d1df}.type-chips button.active{background:#ffcf58;border-color:#f39c23;box-shadow:0 4px 0 #d98717}.give-btn{background:#f58cc0!important;color:#5b1743!important;border:2px solid #d65394!important}.catalog-filters{grid-template-columns:2fr 1fr 1fr 1fr}.catalog-filters .filter-submit{grid-column:1/-1;text-align:center}@media(max-width:850px){.catalog-type-panel{align-items:stretch}.type-chips{width:100%}.catalog-filters{grid-template-columns:1fr}.catalog-filters .filter-submit{grid-column:auto}}

/* ===== v10: trust, articles, legal and rating ===== */
.owner-mini{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:9px;font-size:12px;font-weight:800;color:#657695}.owner-mini a{color:#224c96}.owner-mini a:hover{text-decoration:underline}
.legal-links{border-top:1px solid #dce8f3;padding:18px 0 28px;display:flex;gap:16px;flex-wrap:wrap;font-size:12px;font-weight:800;color:#5f7390}.legal-links a:hover{color:#ff6b28;text-decoration:underline}
.legal-wrap{max-width:930px}.legal-warning{background:#fff0b8;border:3px solid #f5c454;border-radius:22px;padding:16px 20px;margin-bottom:18px;color:#62470c}.legal-card{background:white;border:2px solid #efe6d7;border-radius:26px;padding:24px;margin:18px 0;box-shadow:0 10px 25px #173a7a0d}.legal-card h2{margin:0 0 10px;font-size:25px;color:#213f82}.legal-card p{line-height:1.65;color:#435572}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rules-grid .legal-card{margin:0}.tiny-legal{font-size:12px;line-height:1.45;color:#728099;margin:10px 0}.tiny-legal a,.legal-check a{color:#255bb4;text-decoration:underline}.legal-check{display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:13px;line-height:1.45;color:#44536d}.legal-check input{margin-top:3px;flex:0 0 auto}.consent-box{margin:8px 0 14px;padding:10px 13px;border:2px solid #a9daf2;border-radius:16px;background:#f0fbff}.auth-switch{text-align:center;margin-top:14px;font-size:13px;color:#687792}.auth-switch button{border:0;background:none;color:#245ab1;font-weight:900;cursor:pointer;text-decoration:underline}
.journal-title{max-width:760px}.article-link{display:block;transition:.18s transform,.18s box-shadow;position:relative;overflow:hidden}.article-link:hover{transform:translateY(-5px);box-shadow:0 16px 34px #173a7a18}.article-link strong{color:#245ab1}.article-cat{display:inline-block;background:#eff7ff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;color:#315785;margin:4px 0 8px}.articleCard.art-0{background:#fff9d9}.articleCard.art-1{background:#eefbff}.articleCard.art-2{background:#fff0f5}.articleCard.art-3{background:#eefce9}.article-wrap{max-width:860px;padding-top:28px}.back-link{font-weight:900;color:#315aa5}.full-article{margin-top:18px;background:white;border:3px solid #f2dfb6;border-radius:34px;padding:38px;box-shadow:0 16px 40px #173a7a12}.article-hero-icon{font-size:72px}.full-article h1{font-size:46px;line-height:1.06;margin:14px 0 12px;color:#203e87}.article-lead{font-size:20px;line-height:1.55;color:#4c5f7d}.full-article section{padding:12px 0;border-top:1px solid #eee9df}.full-article section h2{font-size:24px;color:#214683}.full-article section p{line-height:1.7;color:#465a78}.article-note{margin-top:20px;padding:17px;border-radius:18px;background:#fff6cf;color:#66551d}.home-journal-section{background:#f5fbff}.home-journal .articleCard{min-height:250px}
.profile-hero,.cab-profile{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,#fff4c7,#e9faff);border:3px solid #f2d58c;border-radius:34px;padding:28px;box-shadow:0 14px 32px #173a7a12}.cab-profile{display:grid;grid-template-columns:auto 1fr auto}.profile-avatar,.seller-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffcc64,#ff8db6);color:white;font-weight:900;box-shadow:0 8px 0 #db7590}.profile-avatar{width:96px;height:96px;font-size:42px}.seller-avatar{width:52px;height:52px;font-size:23px}.profile-hero h1,.cab-profile h2{margin:3px 0 7px}.rating-big{font-size:24px;font-weight:900;color:#22498f}.rating-big small{font-size:14px;color:#60718c}.profile-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.profile-badges span,.profile-badges a{background:white;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900}.review-list{display:grid;gap:12px}.review-card{background:white;border:2px solid #eee4d5;border-radius:22px;padding:18px}.review-stars{font-size:22px;color:#ffb300;letter-spacing:2px}.review-card p{color:#43536d;line-height:1.55}.review-card small{color:#748198}.text-btn{border:0;background:none;color:#8a7790;text-decoration:underline;cursor:pointer;margin-left:10px}.review-wrap{max-width:760px}.star-picker{display:flex;gap:6px;margin:16px 0}.star-picker button{border:0;background:none;font-size:42px;color:#ddd;cursor:pointer}.star-picker button.on{color:#ffb000}.review-btn{background:#fff0af!important;color:#6c5010!important}.report-btn{margin-top:9px;background:#fff5f5;color:#9b4c5c}.seller-card{display:flex;align-items:center;gap:13px;margin:18px 0;padding:14px;background:#f6fbff;border-radius:20px}.seller-name{font-weight:900;color:#214f9e}.seller-rating{font-size:13px;color:#6d7c94;margin-top:3px}.item-tags{display:flex;gap:7px;flex-wrap:wrap}.status-tag{background:#e7f7d9}.item-price{font-size:36px;margin:10px 0}.item-meta{padding:8px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.item-description{white-space:pre-wrap;line-height:1.65;color:#43536d;margin:16px 0}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.owner-actions{margin-top:15px;padding-top:12px;border-top:1px solid #eee}.thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbs button{width:78px;height:70px;padding:0;border:3px solid white;border-radius:14px;overflow:hidden;box-shadow:0 3px 10px #173a7a20;cursor:pointer}.thumbs img{width:100%;height:100%;object-fit:cover}.conversation-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eee}.conversation-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.catalog-type-panel{background:linear-gradient(135deg,#fff3c9,#e9fbff);border:4px solid #f5cf76;border-radius:30px;padding:20px;margin-bottom:20px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.catalog-type-title{font-size:18px;font-weight:900}.type-chips{display:flex;gap:8px;flex-wrap:wrap;flex:1}.type-chips button{border:2px solid #d7e4f0;border-radius:999px;background:white;padding:10px 14px;font-weight:900;color:#244c8c;cursor:pointer}.type-chips button.active{background:#1fbf89;color:white;border-color:#15966c}.give-btn{background:#ff88b2!important;color:white!important}.filter-submit{display:flex;align-items:end}.big-btn{min-height:48px}
@media(max-width:850px){.rules-grid{grid-template-columns:1fr}.cab-profile{grid-template-columns:auto 1fr}.cab-profile>.btn{grid-column:1/-1}.profile-hero{align-items:flex-start}.full-article h1{font-size:38px}.conversation-row{flex-direction:column}.legal-links{justify-content:center;text-align:center}}
@media(max-width:520px){.profile-hero{flex-direction:column}.profile-avatar{width:76px;height:76px;font-size:32px}.full-article{padding:24px 18px}.full-article h1{font-size:32px}.cab-profile{grid-template-columns:1fr}.profile-avatar{justify-self:start}.legal-card{padding:19px}.legal-links{font-size:11px}.journalGrid{gap:12px}}

/* v10.1 — brand and hero image refinement */
.logo b{white-space:nowrap}
.toy-top .logo{gap:8px}
.toy-top .logo b{font-size:23px}
.toy-hero-grid{grid-template-columns:.92fr 1.08fr;align-items:center}
.toy-hero-visual{min-height:0;aspect-ratio:752/350;border-radius:38px;align-self:center;background:#c9f2ff}
.toy-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:850px){.toy-hero-visual{min-height:0;aspect-ratio:752/350}.toy-top .logo b{font-size:21px}}
@media(max-width:520px){.toy-hero-visual{min-height:0;aspect-ratio:752/350;border-radius:26px}.toy-top .logo b{font-size:18px}}

/* ===== v11: SEO, favicon branding and mobile-first polish ===== */
.brand-icon{width:42px;height:42px;object-fit:contain;flex:0 0 auto}.logo .brand-icon{filter:drop-shadow(0 3px 4px rgba(30,55,90,.12))}.toy-top .logo{min-width:290px}.toy-top .logo b{font-size:25px}.toy-top .logo small{font-size:11px}
.picture-cat{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0}.picture-cat img{width:132px;max-width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:0;background:transparent;box-shadow:none;display:block}.picture-cat span{margin-top:8px}
.seo-intro-section{background:linear-gradient(180deg,#fffdf8,#f4fbff)}.seo-intro{display:grid;grid-template-columns:1.35fr .65fr;gap:34px;align-items:center;background:#fff;border:2px solid #ecedf2;border-radius:34px;padding:34px;box-shadow:0 14px 34px rgba(23,58,122,.08)}.seo-intro h2{font-size:36px;margin:8px 0 12px;line-height:1.08;color:#203f88}.seo-intro p{line-height:1.65;color:#4b5d79}.seo-link-cloud{display:flex;flex-wrap:wrap;gap:9px}.seo-link-cloud a{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border-radius:999px;background:#f1f8ff;border:2px solid #d8e8f5;color:#214c91;font-size:13px;font-weight:900}.seo-link-cloud a:hover{background:#fff0d7;border-color:#ffc867;color:#b85b16}.footer-discovery{padding:22px 0 8px;display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;font-size:13px;color:#4c6283}.footer-discovery strong{color:#244788}.footer-discovery a{font-weight:800}.footer-discovery a:hover{text-decoration:underline;color:#ff6b28}
.seo-landing{max-width:980px}.seo-landing .pageTitle{max-width:780px}.seo-landing .pageTitle>p{font-size:19px;line-height:1.6;color:#4e5f7d}.seo-cta{margin-top:20px}.seo-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.seo-info-card{background:white;border:2px solid #eee5d6;border-radius:26px;padding:24px;box-shadow:0 10px 26px rgba(23,58,122,.08)}.seo-info-card h2{font-size:22px;margin:0 0 10px;color:#214684}.seo-info-card p{line-height:1.6;color:#4b5d79}.seo-bottom{margin-top:24px}
.catalog-search-row{display:grid;grid-template-columns:1.5fr 1fr auto;gap:12px;align-items:end;background:white;border:2px solid #e8e4db;border-radius:26px;padding:16px 18px;margin-bottom:18px;box-shadow:0 8px 24px rgba(23,58,122,.07)}.catalog-search-row .field{margin:0}.catalog-search-btn{min-height:50px}.catalog-filters{grid-template-columns:1.35fr 1fr 1fr 1fr;align-items:end}.catalog-filters .filter-age-wide{grid-column:1/-1}.photo-only{display:flex;align-items:center;gap:8px;min-height:48px;border:2px solid #e8e1d5;border-radius:15px;background:#fff;padding:11px 13px;font-weight:900;color:#38527c}.photo-only input{width:20px;height:20px}.catalog-filters .filter-submit{grid-column:auto}.catalog-filters .big-btn{width:100%;min-width:0}
.mobile-nav{display:none}
.btn,.hero-mini-actions a,.hero-mini-actions button,.type-chips button,.age-chips button{min-height:44px}

@media(max-width:1000px){
  .toy-top .logo{min-width:auto}.toy-top .nav{gap:14px}.toy-top .nav nav{gap:8px}.toy-top .nav nav a{padding:9px 7px}.toy-top .logo small{display:none}
  .seo-intro{grid-template-columns:1fr}.seo-info-grid{grid-template-columns:1fr 1fr}.catalog-filters{grid-template-columns:1fr 1fr 1fr}.catalog-search-row{grid-template-columns:1fr 1fr auto}
}
@media(max-width:760px){
  body{padding-bottom:78px}.wrap{width:min(100% - 28px,1180px)}
  .top{position:sticky}.toy-top .nav{height:64px;justify-content:space-between}.toy-top .nav nav,.toy-top .actions{display:none}.toy-top .logo{gap:7px}.toy-top .logo b{font-size:21px}.brand-icon{width:38px;height:38px}
  .toy-hero{padding:20px 0 24px}.toy-hero-grid{gap:18px}.toy-hero-copy{padding:16px 0 2px}.toy-hero h1{font-size:clamp(39px,11vw,50px);line-height:.98;margin:20px 0 14px}.toy-hero p{font-size:17px}.hero-kicker{font-size:12px;box-shadow:0 4px 0 var(--navy)}.toy-search{margin-top:20px}.toy-hero-visual{order:2;width:100%}.hero-mini-actions{gap:8px}.hero-mini-actions a,.hero-mini-actions button{flex:1 1 calc(50% - 8px);text-align:center;padding:10px 9px}
  .category-strip-section{padding:18px 0 8px}.category-strip{display:flex;overflow-x:auto;gap:12px;padding:4px 2px 14px;scroll-snap-type:x mandatory;scrollbar-width:none}.category-strip::-webkit-scrollbar{display:none}.picture-cat{flex:0 0 112px;scroll-snap-align:start}.picture-cat img{width:108px}.picture-cat span{font-size:12px}
  .section{padding:34px 0}.action-cards{grid-template-columns:1fr 1fr}.action-card{min-height:140px;padding:17px 14px}.action-card b{font-size:32px;margin-bottom:8px}.action-card strong{font-size:19px}.home-age-grid{grid-template-columns:1fr 1fr}.home-age-card{min-height:102px;border-width:3px;box-shadow:0 6px 0 var(--navy)}
  .head{align-items:flex-start;gap:12px}.head .btn{white-space:nowrap}.grid{grid-template-columns:1fr 1fr}.pic{height:180px}
  .home-filters,.filters{grid-template-columns:1fr!important;padding:22px 17px;border-width:4px;border-radius:30px}.filter-age-wide,.filter-submit,.catalog-filters .filter-age-wide,.catalog-filters .filter-submit{grid-column:auto!important}.age-chips{gap:7px}.age-chips button{padding:9px 11px}.big-btn{width:100%;min-width:0}
  .catalog-search-row{grid-template-columns:1fr;padding:15px}.catalog-search-btn{width:100%}.catalog-type-panel{padding:15px;border-width:3px}.type-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}.type-chips::-webkit-scrollbar{display:none}.type-chips button{flex:0 0 auto}.give-btn{width:100%}
  .itemGrid{grid-template-columns:1fr;gap:16px}.galleryMain{height:auto;aspect-ratio:4/3}.item-info{padding:20px}.item-price{font-size:31px}
  .pageTitle{padding:28px 0 14px}.pageTitle h1{font-size:clamp(34px,9vw,44px);line-height:1.05}.journalGrid{grid-template-columns:1fr}.seo-intro{padding:24px 20px;border-radius:27px}.seo-intro h2{font-size:30px}.seo-info-grid{grid-template-columns:1fr}.seo-landing .pageTitle>p{font-size:17px}
  .foot{flex-direction:column;align-items:flex-start;gap:12px;padding:26px 0}.footer-discovery,.legal-links{justify-content:flex-start;text-align:left;gap:9px 14px}.legal-links{padding-bottom:22px}
  .modal{padding:0;place-items:end center}.box{width:100%;max-width:none;max-height:94dvh;border-radius:28px 28px 0 0;padding:22px 18px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}.field input,.field select,.field textarea,.filters input,.filters select{font-size:16px}.formgrid{grid-template-columns:1fr}.modalHead h3{font-size:25px}
  .mobile-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,254,249,.97);backdrop-filter:blur(16px);border-top:1px solid #e9dfcd;padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(28,50,84,.12)}.mobile-nav a,.mobile-nav button{border:0;background:none;color:#65738b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;font-family:"Trebuchet MS";cursor:pointer}.mobile-nav span{font-size:20px;line-height:1}.mobile-nav b{font-size:10px}.mobile-nav a.active{color:#ff6b28}.mobile-nav .mobile-add{color:white;background:linear-gradient(135deg,#1ed797,#08b979);border-radius:16px;margin:-11px 3px 0;box-shadow:0 5px 0 #0a9168}.mobile-nav .mobile-add span{font-size:26px}.mobile-nav .mobile-add b{font-size:10px}
}
@media(max-width:480px){
  .wrap{width:min(100% - 22px,1180px)}.toy-top .logo b{font-size:19px}.brand-icon{width:34px;height:34px}.toy-hero h1{font-size:39px}.toy-hero-visual{border-radius:22px;box-shadow:0 9px 0 #2a4067}.category-strip{margin-right:-11px}.picture-cat{flex-basis:104px}.picture-cat img{width:100px}.action-cards{gap:9px}.action-card{border-width:3px;box-shadow:0 5px 0 var(--navy);min-height:134px}.action-card span{font-size:12px}.home-age-grid{gap:10px}.home-age-card{min-height:96px}.grid{grid-template-columns:1fr}.pic{height:230px}.toy-section-title h2,.filters-heading h2,.toy-head h2,.home-cta h2{font-size:29px}.head{flex-direction:column}.head .btn{width:100%;text-align:center}.seller-card{align-items:flex-start}.row-actions .btn{flex:1 1 100%;text-align:center}.profile-badges{align-items:flex-start}.seo-intro{padding:21px 17px}.seo-link-cloud a{width:100%;justify-content:center}.footer-discovery{flex-direction:column;align-items:flex-start}.mobile-nav b{font-size:9px}
}

/* v11.2 — hero image: remove dark bottom shadow */
.toy-hero-visual{box-shadow:none!important}


/* v11.6 — live transparent peeking characters */
@media (min-width:1101px){
  .filter-playground{
    padding:78px 0 104px;
    overflow:hidden;
  }
  .filter-stage{
    position:relative;
    overflow:visible;
  }
  .home-filters{
    position:relative;
    z-index:2;
  }
  .filter-deco{
    display:block;
    position:absolute;
    z-index:3;
    pointer-events:none;
    opacity:1;
    height:auto;
    object-fit:contain;
    filter:drop-shadow(0 12px 16px rgba(35,52,81,.14));
    transform-origin:bottom center;
  }
  .filter-deco-left{
    width:245px;
    left:-112px;
    bottom:-72px;
    transform:rotate(-3deg);
  }
  .filter-deco-right{
    width:235px;
    right:-106px;
    bottom:-78px;
    transform:rotate(3deg);
  }
  .filter-deco-left:hover{transform:rotate(-2deg) translateY(-3px)}
  .filter-deco-right:hover{transform:rotate(2deg) translateY(-3px)}
}
@media (max-width:1100px){
  .filter-deco{display:none!important}
}


/* v11.7 — filter block: replace characters with soft decorative bubbles */
.filter-deco{display:none!important}
.filter-playground{overflow:hidden}
.filter-stage{position:relative;overflow:visible}
.home-filters{position:relative;z-index:2}
@media (min-width:901px){
  .filter-stage::before,
  .filter-stage::after,
  .home-filters::before,
  .home-filters::after{
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    z-index:1;
    opacity:.95;
  }
  .filter-stage::before{
    width:140px;height:140px;
    left:-56px;top:22px;
    background:radial-gradient(circle at 35% 35%, #fff8, #ffd8e8 65%, #f8bfd6 100%);
  }
  .filter-stage::after{
    width:170px;height:170px;
    right:-74px;bottom:-26px;
    background:radial-gradient(circle at 35% 35%, #fff8, #d8f2ff 65%, #b7e7ff 100%);
  }
  .home-filters::before{
    width:58px;height:58px;
    right:88px;top:-24px;
    background:radial-gradient(circle at 35% 35%, #fff8, #ffe89a 62%, #ffd25f 100%);
    box-shadow:0 0 0 8px rgba(255,255,255,.35);
  }
  .home-filters::after{
    width:44px;height:44px;
    left:86px;bottom:-18px;
    background:radial-gradient(circle at 35% 35%, #fff8, #cff7d8 62%, #97e8ad 100%);
    box-shadow:0 0 0 6px rgba(255,255,255,.32);
  }
}
@media (max-width:900px){
  .filter-stage::before,
  .filter-stage::after,
  .home-filters::before,
  .home-filters::after{display:none}
}



/* v11.8 — category “Особая забота” */
@media (min-width:1101px){
  .category-strip{
    grid-template-columns:repeat(9,minmax(0,1fr));
    gap:10px;
  }
  .picture-cat img{
    width:118px;
    margin:0 auto;
  }
}

/* ===== v11.21 — profile photo, 5 photos, owner controls ===== */
.card>.card{box-shadow:none;border:0;padding:0;border-radius:20px}
.card .pic{overflow:hidden;position:relative}
.card .pic img{display:block;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.profile-title-line{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.profile-title-line h1{margin:0}
.profile-baby{width:96px;height:76px;object-fit:contain;object-position:center bottom;display:block}
.profile-avatar-wrap{position:relative;width:96px;height:96px;flex:0 0 96px}
.profile-avatar{overflow:hidden;position:relative}
.profile-avatar img,.seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-camera{position:absolute;right:-7px;bottom:-7px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:white;border:3px solid white;box-shadow:0 5px 14px #173a7a26;cursor:pointer;font-size:18px}
.existing-photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.existing-photo{border:2px solid #e8e1d5;border-radius:14px;padding:5px;background:#fff;overflow:hidden;font-size:11px;font-weight:800;text-align:center}
.existing-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block;margin-bottom:5px}
.owner-card{padding:8px}
.owner-card>.card{padding:0}
.owner-card-actions{display:grid;gap:7px;padding:8px}
.owner-card-actions .btn{width:100%;padding:9px 10px}
.danger-btn{background:#fff0f0!important;color:#b54343!important}
.primary-owner-actions{margin-bottom:12px}.status-actions{opacity:.85}
@media(max-width:760px){.profile-baby{width:78px;height:62px}.existing-photo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.profile-title-line{gap:8px}.profile-baby{width:68px;height:54px}.profile-avatar-wrap{width:76px;height:76px}.existing-photo-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== v11.22 — visible 5-photo editor, contained media, real avatars, chat ===== */
.header-avatar,.mobile-profile-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:center;display:inline-grid;place-items:center;flex:0 0 28px;background:linear-gradient(135deg,#ffd36b,#ff9ab6);color:#173a7a;font-weight:900;border:2px solid #fff;box-shadow:0 2px 7px #173a7a20}
.userPill{display:inline-flex!important;align-items:center;gap:7px}
.header-avatar.avatar-initial{font-size:12px}
.mobile-profile-avatar{width:25px;height:25px;flex-basis:25px;margin:0 auto}
.mobile-profile-fallback{width:25px;height:25px;border-radius:50%;display:grid!important;place-items:center;margin:0 auto;background:#ffd978;color:#173a7a;font-size:10px}

.ad-photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:8px}
.ad-photo-slot{position:relative;min-width:0;aspect-ratio:1/1;border:2px dashed #d9cdbb;border-radius:17px;background:#fffaf1;overflow:hidden;transition:.18s ease}
.ad-photo-slot:hover{border-color:#f3ad3b;transform:translateY(-1px)}
.ad-photo-slot.has-photo{border-style:solid;border-color:#f0d9aa;background:#fff}
.ad-photo-pick{display:grid;place-items:center;width:100%;height:100%;padding:6px;border:0;background:transparent;cursor:pointer;overflow:hidden}
.ad-photo-pick img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;border-radius:11px;background:#fff}
.ad-photo-placeholder{display:grid;place-items:center;gap:4px;color:#6d7c94;text-align:center}
.ad-photo-placeholder b{font-size:28px;line-height:1;color:#f2a627}.ad-photo-placeholder small{font-weight:900;font-size:11px}
.ad-photo-remove{position:absolute;right:5px;top:5px;width:26px;height:26px;border:0;border-radius:50%;background:#fff;color:#b43e4b;font-size:20px;line-height:1;box-shadow:0 3px 12px #173a7a2b;cursor:pointer;z-index:2}
.ad-photo-remove[hidden]{display:none}

/* Фото вещей всегда полностью помещаются в свои рамки. */
.galleryMain{background:#fffdf8;padding:10px;box-sizing:border-box}
.galleryMain img{width:100%;height:100%;object-fit:contain!important;object-position:center;display:block}
.thumbs button{background:#fff;padding:3px}.thumbs img{object-fit:contain!important;background:#fff}
.existing-photo img,.card .pic img{object-fit:contain!important;object-position:center;background:#fff}

/* Фото пользователя — круглое, вместо серой иконки. */
.profile-avatar,.seller-avatar{overflow:hidden}
.profile-avatar img,.seller-avatar img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

.messages-layout{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(0,1.45fr);gap:14px;align-items:start}
.conversation-list{display:grid;gap:8px;max-height:560px;overflow:auto;padding-right:3px}
.conversation-card{width:100%;display:grid;grid-template-columns:46px 1fr auto;gap:9px;align-items:center;text-align:left;border:2px solid #eee4d5;background:#fff;border-radius:17px;padding:9px;cursor:pointer;color:#173a7a}
.conversation-card:hover,.conversation-card.active{border-color:#ffd06c;background:#fffaf0}
.conversation-avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ffd36b,#ff9ab6);font-weight:900}
.conversation-avatar img{width:100%;height:100%;object-fit:cover}
.conversation-main{min-width:0}.conversation-main b,.conversation-main small,.conversation-main span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-main small{color:#77849a;margin-top:3px}.conversation-main span{font-size:11px;color:#4f6182;margin-top:2px}
.unread-badge{min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#ff6b54;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}
.chat-pane{min-height:330px;border:2px solid #eee4d5;border-radius:20px;background:#fff;overflow:hidden}
.chat-empty{min-height:326px;display:grid;place-items:center;text-align:center;padding:28px;color:#6d7c94}
.chat-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eee;background:#fffaf1}.chat-head .conversation-avatar{width:42px;height:42px;flex:0 0 42px}.chat-head-info{min-width:0;flex:1}.chat-head-info b,.chat-head-info a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-head-info a{font-size:12px;color:#4268a4;margin-top:2px}
.chat-messages{display:flex;flex-direction:column;gap:8px;padding:14px;max-height:390px;overflow:auto;background:#f8fbff}
.chat-message{max-width:78%;padding:9px 12px;border-radius:16px;background:#fff;border:1px solid #e3eaf4;box-shadow:0 2px 7px #173a7a0d}.chat-message.mine{align-self:flex-end;background:#fff2be;border-color:#f5dda0}.chat-message.other{align-self:flex-start}.chat-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message small{display:block;margin-top:4px;color:#8290a5;font-size:10px}
.chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;background:#fff;border-top:1px solid #eee}.chat-compose textarea{min-height:52px;max-height:120px;resize:vertical;border:2px solid #e8e1d5;border-radius:14px;padding:11px;font:700 14px "Trebuchet MS"}.chat-compose .btn{align-self:end}
.chat-safety{padding:0 13px 10px;background:#fff;color:#8691a3;font-size:10px}

@media(max-width:760px){.ad-photo-grid{grid-template-columns:repeat(3,1fr)}.messages-layout{grid-template-columns:1fr}.conversation-list{max-height:260px}.chat-message{max-width:88%}}
@media(max-width:480px){.ad-photo-grid{grid-template-columns:repeat(2,1fr)}.ad-photo-slot:last-child{grid-column:auto}.chat-compose{grid-template-columns:1fr}.chat-compose .btn{width:100%}}
.conversation-side{display:grid;justify-items:end;gap:5px}.conversation-listing-thumb,.chat-listing-thumb{width:42px;height:42px;border-radius:11px;overflow:hidden;background:#fff;border:1px solid #ece3d5;display:grid;place-items:center;flex:0 0 42px}.conversation-listing-thumb img,.chat-listing-thumb{object-fit:contain}.conversation-listing-thumb img{width:100%;height:100%;object-fit:contain}.chat-listing-thumb{width:48px;height:48px}

/* ===== v11.23 — messages in header + unread badge ===== */
.header-messages-link{display:inline-flex!important;align-items:center;gap:6px;position:relative}
.header-message-icon{font-size:16px;line-height:1}
.header-unread-badge,.profile-unread-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff3f69;color:#fff;font-size:11px;font-weight:900;line-height:1;border:2px solid #fff;box-shadow:0 3px 9px #173a7a22}
.header-unread-badge[hidden],.profile-unread-badge[hidden]{display:none!important}
.header-avatar-wrap,.mobile-profile-wrap{position:relative;display:inline-grid;place-items:center;flex:0 0 auto}
.header-avatar-wrap .profile-unread-badge{position:absolute;right:-9px;top:-8px;z-index:2}
.mobile-profile-wrap .mobile-unread-badge{position:absolute;right:-11px;top:-8px;min-width:18px;height:18px;padding:0 4px;font-size:10px}
@media(max-width:850px){.header-messages-link{display:none!important}}

/* ===== v11.28 — main listing photo marker ===== */
.ad-photo-cell{min-width:0;display:grid;gap:6px}
.ad-photo-cell-label{font-size:11px;font-weight:900;color:#718098;text-align:center;line-height:1.1}
.ad-photo-cell.is-main .ad-photo-cell-label{color:#173a7a}
.ad-photo-cell.is-main .ad-photo-slot{border-color:#f1b43e;box-shadow:0 0 0 3px #fff1c8}

/* ===== v11.29 — full-size listing photo without cropping ===== */
.galleryMain{
  height:auto!important;
  min-height:420px;
  max-height:none!important;
  padding:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden;
  background:#fffdf8;
}
.galleryMain img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:650px!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block;
}
@media(max-width:850px){
  .galleryMain{min-height:300px}
  .galleryMain img{max-height:70vh!important}
}
@media(max-width:520px){
  .galleryMain{min-height:240px;padding:8px!important}
  .galleryMain img{max-height:65vh!important}
}


/* PESO_CATEGORY_GAP_FIX_V11_49J */
@media (min-width:1101px){
  .category-strip{
    gap:0 !important;
  }
  .picture-cat img{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
}


/* PESO_SPECIAL_CARE_SEPARATE_V11_50 */

@media (min-width:1101px){
  .category-strip.peso-category-strip-eight{
    grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .category-strip.peso-category-strip-eight .picture-cat img{
    width:132px !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 auto !important;
    object-fit:contain !important;
  }
}

.peso-special-care-wrap{
  width:min(100% - 32px,1180px);
  margin:18px auto 28px;
}

.peso-special-care-card{
  display:flex;
  align-items:center;
  gap:22px;
  min-height:132px;
  padding:18px 24px;
  border:2px solid #f3d87c;
  border-radius:28px;
  background:linear-gradient(105deg,#fff8d9,#f3fbff);
  text-decoration:none;
  color:#123f7a;
  box-shadow:0 14px 30px rgba(35,67,107,.08);
}

.peso-special-care-card img{
  width:112px;
  height:112px;
  object-fit:contain;
  flex:0 0 112px;
}

.peso-special-care-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.peso-special-care-kicker{
  color:#e29a00;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}

.peso-special-care-copy strong{
  font-size:22px;
  line-height:1.15;
}

.peso-special-care-copy span{
  color:#5f6f85;
  font-size:14px;
  line-height:1.4;
}

.peso-special-care-arrow{
  margin-left:auto;
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  font-size:24px;
  font-weight:900;
  box-shadow:0 6px 16px rgba(35,67,107,.10);
}

@media(max-width:700px){
  .peso-special-care-wrap{
    width:min(100% - 22px,1180px);
    margin:14px auto 22px;
  }

  .peso-special-care-card{
    align-items:flex-start;
    gap:14px;
    padding:16px;
    border-radius:22px;
  }

  .peso-special-care-card img{
    width:82px;
    height:82px;
    flex-basis:82px;
  }

  .peso-special-care-copy strong{
    font-size:18px;
  }

  .peso-special-care-copy span{
    font-size:13px;
  }

  .peso-special-care-arrow{
    display:none;
  }
}


/* PESO_CATEGORY_ROW_FIX_V11_50B */
@media (min-width:1101px){
  .category-strip.peso-category-strip-eight{
    grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    gap:0 !important;
    column-gap:0 !important;
  }

  .category-strip.peso-category-strip-eight .picture-cat{
    min-width:0 !important;
    width:100% !important;
  }

  .category-strip.peso-category-strip-eight .picture-cat img,
  .category-strip.peso-category-strip-eight .picture-cat:nth-child(1) img,
  .category-strip.peso-category-strip-eight .picture-cat:nth-child(2) img{
    width:145px !important;
    height:145px !important;
    max-width:100% !important;
    margin:0 auto !important;
    object-fit:contain !important;
    display:block !important;
  }
}


/* PESO_HOME_SUPPORT_V11_51 */
.peso-home-support{
  background:#fffdf7;
}
.peso-home-support-line{
  border-top:1px solid #eadfce;
  padding:18px 0 16px;
  font-size:16px;
  color:#7a5a35;
}
.peso-home-support-line a{
  color:#7a5a35;
  font-weight:900;
}
.peso-home-support-line a:hover{
  text-decoration:underline;
}

/* PESO_PASSWORD_EYE_V11_53 */
.password-field-wrap{
  position:relative;
}
.password-field-wrap input{
  padding-right:48px!important;
}
.password-eye{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:12px;
  background:transparent;
  cursor:pointer;
  font-size:19px;
  line-height:1;
}
.password-eye:hover{
  background:#f3f7fb;
}
.password-eye:focus-visible{
  outline:2px solid #6bd5f6;
  outline-offset:2px;
}

/* PESO_NEARBY_PHOTOS_V11_57
   На главной в «Сейчас рядом» вещь показывается целиком, без обрезки. */
.nearby-section .card .pic{
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nearby-section .card .pic img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff;
  display:block;
}

/* CATALOG PHOTO FIX */
#products .card .pic{background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
#products .card .pic img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;display:block}



/* ===== RESPONSIVE HERO FINAL 320-1024 ===== */



@media (max-width:1024px){



  .toy-hero{

    width:100%!important;

    max-width:100%!important;

    overflow:hidden!important;

    padding:26px 0 32px!important;

    box-sizing:border-box!important;

  }



  .toy-hero > .wrap{

    width:calc(100% - 40px)!important;

    max-width:820px!important;

    margin:0 auto!important;

    padding:0!important;

    box-sizing:border-box!important;

  }



  /*

    Один существующий hero.

    Содержимое .toy-hero-copy становится частью общей сетки,

    поэтому картинку можно поставить сразу после h1.

  */

  .toy-hero-grid{

    display:grid!important;

    grid-template-columns:minmax(0,1fr)!important;

    grid-template-areas:

      "kicker"

      "title"

      "visual"

      "text"

      "search"

      "actions"!important;

    gap:0!important;

    width:100%!important;

    max-width:100%!important;

    box-sizing:border-box!important;

    align-items:start!important;

  }



  .toy-hero-copy{

    display:contents!important;

  }



  .hero-kicker{

    grid-area:kicker!important;

    justify-self:center!important;

    max-width:100%!important;

    box-sizing:border-box!important;

    margin:0 0 20px!important;

    text-align:center!important;

    white-space:normal!important;

  }



  .toy-hero h1{

    grid-area:title!important;

    width:100%!important;

    max-width:100%!important;

    box-sizing:border-box!important;

    margin:0 0 20px!important;

    color:#173a72!important;

    font-size:clamp(42px,7vw,62px)!important;

    line-height:1!important;

    letter-spacing:-1.2px!important;

    text-align:center!important;

    overflow-wrap:normal!important;

    word-break:normal!important;

  }



  .toy-hero-grid > .toy-hero-visual{

    grid-area:visual!important;

    display:flex!important;

    align-items:center!important;

    justify-content:center!important;

    width:100%!important;

    max-width:100%!important;

    min-height:0!important;

    height:auto!important;

    aspect-ratio:auto!important;

    margin:0 auto 22px!important;

    padding:0!important;

    box-sizing:border-box!important;

    background:transparent!important;

    border:0!important;

    box-shadow:none!important;

    overflow:visible!important;

  }



  .toy-hero-grid > .toy-hero-visual img{

    display:block!important;

    width:min(100%,460px)!important;

    max-width:100%!important;

    height:auto!important;

    max-height:none!important;

    margin:0 auto!important;

    object-fit:contain!important;

    object-position:center!important;

    border-radius:26px!important;

  }



  .toy-hero p{

    grid-area:text!important;

    width:100%!important;

    max-width:680px!important;

    box-sizing:border-box!important;

    margin:0 auto 22px!important;

    font-size:clamp(16px,2.2vw,19px)!important;

    line-height:1.5!important;

    text-align:center!important;

  }



  .toy-search{

    grid-area:search!important;

    display:grid!important;

    grid-template-columns:minmax(0,1fr) auto!important;

    gap:10px!important;

    width:100%!important;

    max-width:680px!important;

    box-sizing:border-box!important;

    margin:0 auto 14px!important;

    padding:11px!important;

  }



  .toy-search input{

    width:100%!important;

    min-width:0!important;

    max-width:100%!important;

    box-sizing:border-box!important;

  }



  .toy-search button{

    min-width:120px!important;

    box-sizing:border-box!important;

    white-space:nowrap!important;

  }



  .hero-mini-actions{

    grid-area:actions!important;

    display:grid!important;

    grid-template-columns:repeat(4,minmax(0,1fr))!important;

    gap:10px!important;

    width:100%!important;

    max-width:680px!important;

    box-sizing:border-box!important;

    margin:0 auto!important;

  }



  .hero-mini-actions a,

  .hero-mini-actions button{

    width:100%!important;

    min-width:0!important;

    max-width:100%!important;

    box-sizing:border-box!important;

    margin:0!important;

  }

}





/* Телефоны */

@media (max-width:760px){



  .toy-hero{

    padding:22px 0 28px!important;

  }



  .toy-hero > .wrap{

    width:calc(100% - 32px)!important;

  }



  .toy-hero h1{

    font-size:clamp(38px,10vw,48px)!important;

    line-height:1.02!important;

  }



  .toy-hero-grid > .toy-hero-visual img{

    width:min(88%,350px)!important;

    border-radius:22px!important;

  }



  .toy-hero p{

    font-size:17px!important;

  }



  .toy-search{

    grid-template-columns:minmax(0,1fr)!important;

  }



  .toy-search button{

    width:100%!important;

    min-width:0!important;

  }



  .hero-mini-actions{

    grid-template-columns:repeat(2,minmax(0,1fr))!important;

  }

}





/* Маленькие телефоны */

@media (max-width:390px){



  .toy-hero > .wrap{

    width:calc(100% - 24px)!important;

  }



  .hero-kicker{

    font-size:13px!important;

    padding:9px 14px!important;

  }



  .toy-hero h1{

    font-size:36px!important;

  }



  .toy-hero-grid > .toy-hero-visual img{

    width:min(92%,310px)!important;

  }



  .toy-hero p{

    font-size:16px!important;

  }

}





/* Очень узкие экраны */

@media (max-width:340px){



  .toy-hero > .wrap{

    width:calc(100% - 18px)!important;

  }



  .toy-hero h1{

    font-size:32px!important;

  }



  .toy-hero-grid > .toy-hero-visual img{

    width:94%!important;

  }

}






/* ===== MOBILE/TABLET HERO WITHOUT IMAGE v11.69 ===== */

@media (max-width:1024px){



  .toy-hero{

    width:100%!important;

    max-width:100%!important;

    overflow:hidden!important;

    padding:26px 0 34px!important;

  }



  .toy-hero > .wrap{

    width:calc(100% - 40px)!important;

    max-width:760px!important;

    margin:0 auto!important;

    padding:0!important;

    box-sizing:border-box!important;

  }



  .toy-hero-grid{

    display:block!important;

    width:100%!important;

    max-width:100%!important;

  }



  .toy-hero-copy{

    display:block!important;

    width:100%!important;

    max-width:none!important;

    padding:0!important;

    box-sizing:border-box!important;

  }



  .toy-hero-visual{

    display:none!important;

  }



  .hero-kicker{

    display:table!important;

    max-width:100%!important;

    margin:0 auto 22px!important;

    text-align:center!important;

  }



  .toy-hero h1{

    display:block!important;

    width:100%!important;

    max-width:none!important;

    margin:0 0 20px!important;

    font-size:clamp(40px,7vw,60px)!important;

    line-height:1.02!important;

    letter-spacing:-1px!important;

    text-align:center!important;

  }



  .toy-hero p{

    display:block!important;

    width:100%!important;

    max-width:650px!important;

    margin:0 auto 24px!important;

    font-size:18px!important;

    line-height:1.5!important;

    text-align:center!important;

  }



  .toy-search{

    display:grid!important;

    grid-template-columns:minmax(0,1fr) auto!important;

    gap:10px!important;

    width:100%!important;

    max-width:650px!important;

    margin:0 auto 14px!important;

    box-sizing:border-box!important;

  }



  .toy-search input{

    width:100%!important;

    min-width:0!important;

    max-width:100%!important;

    box-sizing:border-box!important;

  }



  .hero-mini-actions{

    display:grid!important;

    grid-template-columns:repeat(4,minmax(0,1fr))!important;

    gap:10px!important;

    width:100%!important;

    max-width:650px!important;

    margin:0 auto!important;

  }

}



@media (max-width:760px){



  .toy-hero > .wrap{

    width:calc(100% - 32px)!important;

  }



  .toy-hero h1{

    font-size:clamp(38px,10vw,46px)!important;

  }



  .toy-hero p{

    font-size:17px!important;

  }



  .toy-search{

    grid-template-columns:1fr!important;

  }



  .toy-search button{

    width:100%!important;

  }



  .hero-mini-actions{

    grid-template-columns:repeat(2,minmax(0,1fr))!important;

  }

}



@media (max-width:390px){



  .toy-hero > .wrap{

    width:calc(100% - 24px)!important;

  }



  .toy-hero h1{

    font-size:36px!important;

  }



  .toy-hero p{

    font-size:16px!important;

  }

}






/* ===== MOBILE/TABLET CLEAN FIRST SCREEN v11.70 ===== */

@media (max-width:1024px){



  /* Убираем закреплённую верхнюю полоску */

  .toy-top,

  header.toy-top{

    display:none!important;

  }



  /* Убираем hero-картинку полностью */

  .toy-hero .toy-hero-visual,

  .toy-hero-grid > .toy-hero-visual{

    display:none!important;

  }

}






/* ===== MOBILE/TABLET HEADER STATIC v11.71 ===== */

@media (max-width:1024px){



  .toy-top,

  header.toy-top{

    display:block!important;

    position:static!important;

    top:auto!important;

    left:auto!important;

    right:auto!important;

    z-index:auto!important;

    width:100%!important;

    transform:none!important;

  }



}



