/* Общая оболочка: токены, сайдбар, шапка, нижнее меню, карточки, формы.
   Стили конкретного экрана — в своём файле: index.css, profile.css, catalog.css и т.д. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg-1:#eef1fb;--bg-2:#f6f3ff;--bg-3:#fff6f1;
  --ink-900:#0f1222;--ink-700:#2b3050;--ink-500:#565d82;--ink-400:#7a80a3;
  --line:rgba(15,18,34,.08);--line-strong:rgba(15,18,34,.14);
  --glass:#fff;--glass-strong:#fff;
  --glass-border:#e6e9f0;
  --accent:#2f4f86;--accent-2:#6e8bb8;--accent-soft:#eef2f8;
  --green:#16a34a;--green-soft:rgba(22,163,74,.12);
  --amber:#f59e0b;--amber-soft:rgba(245,158,11,.14);
  --red:#ef4444;--red-soft:rgba(239,68,68,.12);
  --purple:#8b5cf6;--purple-soft:rgba(139,92,246,.12);
  --shadow-sm:0 2px 8px -2px rgba(15,18,34,.06);
  --shadow-md:0 12px 28px -14px rgba(15,18,34,.18);
  --shadow-lg:0 24px 48px -20px rgba(15,18,34,.22);
  --radius-sm:14px;--radius-md:20px;--radius-lg:28px;--radius-xl:36px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --sidebar-w:256px;--header-h:68px;
}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  font-weight:400;color:var(--ink-900);font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(820px 420px at -8% -8%,rgba(70,96,160,.1),transparent 58%),
    radial-gradient(640px 360px at 108% 0%,rgba(196,154,120,.1),transparent 52%),
    linear-gradient(180deg,#f7f8fb,var(--bg-1) 46%,#f4f2ee);
  background-attachment:fixed;min-height:100vh;line-height:1.5;letter-spacing:-.011em;
  padding-bottom:calc(92px + env(safe-area-inset-bottom));
}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none}
.app{display:grid;grid-template-columns:1fr;max-width:1560px;margin:0 auto;padding:0 16px;min-height:100vh}
.app-admin{max-width:1680px}
.sidebar{display:none;position:sticky;top:0;height:100vh;padding:22px 0;overflow:auto;scrollbar-width:none}
.sidebar::-webkit-scrollbar{display:none}
.sidebar-inner{display:flex;flex-direction:column;height:100%;padding:20px 14px;border-radius:var(--radius-xl);background:#fff;border:1px solid #e6e9f0;box-shadow:none}
.brand{display:flex;align-items:center;gap:10px;padding:6px 10px 0;font-size:19px;font-weight:600;letter-spacing:-.03em}
.brand-mark,.header-mobile-brand .brand-mark{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#2c3b55;color:#fff;font-weight:500;font-size:15px;box-shadow:none;flex-shrink:0}
.brand-logo{height:38px;width:auto;max-width:180px;background:transparent;border-radius:0;box-shadow:none;object-fit:contain;flex-shrink:0}
.avatar img,.chat-ava img,.host-ava img,.review-avatar img,.ava-mini img,.ava-inline img,.side-ava img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ava-inline{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;overflow:hidden;background:#eef2f8;color:#2f4f86;font-size:11px;font-weight:500;vertical-align:middle;flex:0 0 auto}
.side-ava{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#eef2f8;color:#2f4f86;font-size:9px;font-weight:500;flex:0 0 22px}
.icon-btn.user-ava{padding:0;overflow:hidden}
.ava-mini{width:100%;height:100%;border-radius:inherit;display:grid;place-items:center;overflow:hidden;background:#eef2f8;color:#2f4f86;font-size:12px;font-weight:500}
.cat-tiles{display:flex;gap:10px;margin-top:18px;overflow:auto;scrollbar-width:none;padding-bottom:6px;scroll-snap-type:x mandatory}
.cat-tiles::-webkit-scrollbar{display:none}
.cat-tile{flex:0 0 92px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--ink-700)}
.cat-tile-media{width:78px;height:78px;border-radius:22px;overflow:hidden;display:grid;place-items:center;background:var(--glass-strong);border:1px solid var(--glass-border);box-shadow:var(--shadow-sm)}
.cat-tile-media img{width:100%;height:100%;object-fit:cover}
.cat-tile-fallback{font-size:22px;font-weight:600;color:var(--accent)}
.cat-tile-name{font-size:12px;font-weight:500;text-align:center;line-height:1.2;max-width:92px}
.cat-tile:hover .cat-tile-media{box-shadow:var(--shadow-md)}
.brand-name span{color:var(--accent)}
.brand-city,.brand-tag{font-size:10px;font-weight:600;color:var(--ink-400);background:var(--glass-strong);padding:3px 8px;border-radius:99px;border:1px solid var(--glass-border);margin-left:auto;letter-spacing:0}
.brand-tag{color:var(--accent);background:var(--accent-soft);border:0}
.side-label{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-400);padding:22px 14px 8px}
.side-nav{display:flex;flex-direction:column;gap:2px}
.side-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:14px;font-size:14.5px;color:var(--ink-700);position:relative;width:100%}
.side-item svg{width:19px;height:19px;flex:0 0 19px;stroke:currentColor;stroke-width:1.7;fill:none}
.side-item:hover{background:rgba(255,255,255,.7);color:var(--ink-900)}
.side-item.active{background:#eef2f8;color:var(--ink-900);font-weight:500;border:1px solid #e3e7ef}
.side-item.active svg{stroke:var(--accent)}
.side-item.active::before{content:"";position:absolute;left:-14px;top:50%;transform:translateY(-50%);width:3px;height:20px;border-radius:3px;background:var(--accent)}
.side-badge{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--red);color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.side-badge.amber{background:var(--amber)}
.site-foot{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;margin-top:22px;padding:18px 0 10px;border-top:1px solid var(--line);color:var(--ink-500);font-size:13px;min-width:0;max-width:100%;min-height:196px}
.site-foot::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url("../../uploads/ftr.png") right center / auto 92% no-repeat;opacity:.34;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 22%,#000 48%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 22%,#000 48%)}
.site-foot > *{position:relative;z-index:1}
.site-foot nav,.foot-contact,.foot-brand{min-width:0}
.site-foot nav,.foot-contact{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.site-foot b{color:var(--ink-900);font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:500}
.site-foot a{overflow-wrap:anywhere}
.site-foot a:hover{color:var(--ink-900)}
.foot-brand{grid-column:1 / -1}
.foot-brand p{max-width:42ch;margin-top:8px;line-height:1.45}
.foot-contact{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;gap:8px 14px;padding-top:12px;border-top:1px solid var(--line)}
.foot-contact b{width:100%}
.foot-brand .brand{padding:0}
.side-footer{margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.content{display:flex;flex-direction:column;min-width:0;padding:14px 0 32px}
.header{display:flex;align-items:center;gap:10px;min-height:var(--header-h);position:sticky;top:0;z-index:60;background:linear-gradient(180deg,rgba(238,241,247,.92),rgba(238,241,247,.55) 80%,transparent);backdrop-filter:blur(16px);margin:0 -16px 8px;padding:8px 16px}
.header-mobile-brand{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:600}
.header-mobile-brand .brand-mark{width:30px;height:30px;border-radius:10px;font-size:13px}
.header-mobile-brand .brand-logo{height:44px;max-width:210px}
.site-foot .brand-logo{height:32px;max-width:150px}
.header-nav{display:none;align-items:center;gap:2px}
.header-nav a{padding:9px 13px;border-radius:12px;font-size:13.5px;color:var(--ink-700)}
.header-nav a:hover,.header-nav a.active{background:rgba(255,255,255,.7);color:var(--ink-900)}
.header-nav a.active{font-weight:500}
.header-title{display:none;font-size:15px;font-weight:600}
.header-spacer{flex:1}
.header-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.header-tools .dropdown-menu{right:0;left:auto}
.city-switch select,.sort-select,.search-mini input,.tool-search,select,textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]){
  height:44px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.86);padding:0 14px;outline:none;min-width:0
}
.form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.form-grid select,.form-grid textarea,.panel > label input,.panel > label select,.panel > label textarea,
.publish-fields input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.publish-fields select,.publish-fields textarea{width:100%}
input:focus,select:focus,textarea:focus{border-color:rgba(59,91,255,.45);box-shadow:0 0 0 4px var(--accent-soft)}
textarea{height:auto;min-height:96px;padding:12px 14px;width:100%;border-radius:16px;resize:vertical}
input[type="file"]{height:auto;padding:12px;border:1px dashed var(--line-strong);border-radius:16px;background:rgba(255,255,255,.72);width:100%}
input[type="checkbox"],input[type="radio"]{width:16px;height:16px;accent-color:var(--accent);flex:0 0 auto}
.city-switch select,.search-mini input{height:40px;width:auto}
.city-switch select{max-width:140px;font-size:13px}
.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;color:var(--ink-700);background:var(--glass);border:1px solid var(--glass-border);position:relative;flex:0 0 auto}
.icon-btn svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
.icon-btn:hover{background:#fff}
.live-dot,.bn-dot{position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px #fff}
.dropdown{position:relative}
.dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:240px;max-height:70vh;overflow:auto;padding:8px;border-radius:20px;background:var(--glass-strong);border:1px solid var(--glass-border);backdrop-filter:blur(24px);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(-6px);z-index:80}
.dropdown.open .dropdown-menu{opacity:1;visibility:visible;transform:none}
.dropdown-menu a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;font-size:13.5px;color:var(--ink-700)}
.dropdown-menu a svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none}
.dropdown-menu a:hover{background:#fff;color:var(--ink-900)}
.dropdown-divider{height:1px;background:var(--line);margin:6px 8px}
.city-in-menu{display:none;margin:2px 4px 8px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.city-in-menu label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-400)}
.city-in-menu select{width:100%;max-width:none;height:40px;font-size:14px;text-transform:none;letter-spacing:0;color:var(--ink-900)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:13px;font-size:13.5px;font-weight:500}
.btn svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;fill:none}
.btn-primary{background:#2f4f86;color:#fff;box-shadow:none;font-weight:500;display:none}
.btn-primary.show,.is-admin .btn-primary{display:inline-flex}
.btn-primary:hover{background:#1c2140}
.bottom-nav{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:100;display:flex;align-items:center;gap:2px;padding:8px;border-radius:24px;background:var(--glass-strong);border:1px solid var(--glass-border);backdrop-filter:blur(26px) saturate(200%);box-shadow:var(--shadow-lg)}
.bn-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 4px;border-radius:16px;font-size:10px;font-weight:500;color:var(--ink-400);position:relative}
.bn-item svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none}
.bn-item.active{color:var(--ink-900)}
.bn-item.active::after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.bn-fab{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:#2c3b55;color:#fff;flex:0 0 auto}
.bn-fab svg{width:21px;height:21px;stroke:#fff;stroke-width:2;fill:none}
.card{display:flex;flex-direction:column;border-radius:18px;background:#fff;border:1px solid #e6e9f0;box-shadow:none;position:relative}
.card:hover{box-shadow:0 10px 22px -18px rgba(28,36,51,.4)}
.card-media{position:relative;aspect-ratio:1/1;overflow:hidden;margin:6px 6px 0;border-radius:14px;background:#e8edf4}
.card-media img{width:100%;height:100%;object-fit:cover}
.placeholder,.ph{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 50%),linear-gradient(135deg,#c9d5e8,#aebfd8)}
.card-badge,.gallery-badge{position:absolute;top:10px;left:10px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:600;color:#fff;background:rgba(15,18,34,.55)}
.card-badge.hot,.gallery-badge{background:rgba(239,68,68,.8)}
.fav-form{position:absolute;top:18px;right:18px;z-index:5;margin:0}
.card-fav{position:static;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);z-index:5}
.card-fav svg{width:15px;height:15px;stroke:var(--ink-700);stroke-width:1.9;fill:none}
.card-fav.liked svg{fill:#e5486a;stroke:#e5486a}
.card-body{padding:13px 15px 15px;display:flex;flex-direction:column;gap:9px;flex:1}
.card-title{font-size:15px;font-weight:500;letter-spacing:-.015em;line-height:1.35}
.card-meta{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:12px;color:var(--ink-500)}
.card-specs{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.card-specs span{max-width:100%;padding:2px 7px;border-radius:999px;background:#eef2f8;color:#3a4356;font-size:11px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-meta span,.card-rating{display:inline-flex;align-items:center;gap:4px}
.card-meta svg,.card-rating svg{width:12px;height:12px;stroke:currentColor;fill:none}
.card-rating{font-weight:600;color:var(--ink-900)}
.card-rating svg{fill:#ffb020;stroke:#ffb020}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:11px;border-top:1px solid var(--line)}
.price{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}
.price small{font-size:11px;font-weight:400;color:var(--ink-400)}
.card-cta,.btn-book,.tool-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 14px;border-radius:11px;background:#2f4f86;color:#fff;font-size:13px;font-weight:500}
.tool-btn{background:#fff;color:#2f4f86;border:1px solid #e3e7ef}
.tool-btn.active{background:#2f4f86;color:#fff}
.panel{background:#fff;border:1px solid #e6e9f0;box-shadow:none;border-radius:18px;padding:16px}
.content > .panel,.content > form.panel{margin-top:16px}
.panel-title{font-size:16px;font-weight:500;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.panel-title svg{width:18px;height:18px;stroke:var(--accent);fill:none}
.flashes{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.flash{padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--line);font-size:14px}
.flash-error{background:var(--red-soft);color:#991b1b}
.flash-ok{background:var(--green-soft);color:#166534}
.table-wrap{overflow:auto;border-radius:18px;background:#fff;border:1px solid #e6e9f0}
table.data{width:100%;border-collapse:collapse;font-size:13.5px;min-width:640px}
table.data th,table.data td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
table.data th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-400)}
.badge{display:inline-flex;padding:3px 8px;border-radius:99px;font-size:11px;font-weight:600;background:var(--accent-soft);color:var(--accent)}
.st-active,.st-confirmed,.st-paid,.st-succeeded,.st-published{background:var(--green-soft);color:var(--green)}
.st-pending{background:var(--amber-soft);color:#b45309}
.st-rejected,.st-cancelled,.st-canceled,.st-blocked{background:var(--red-soft);color:#b91c1c}
.st-expired,.st-archived,.st-hidden,.st-draft{background:rgba(15,18,34,.06);color:var(--ink-500)}
.form-grid{display:grid;grid-template-columns:1fr;gap:14px}
.form-grid > label,.field,form.panel > label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--ink-500);letter-spacing:0;margin-bottom:0}
.form-grid > .btn-book,.form-grid > button,.form-actions{grid-column:1/-1}
.wide{grid-column:1/-1}
.check{flex-direction:row !important;align-items:center;gap:8px;color:var(--ink-700);font-size:14px;font-weight:500}
.checks{display:flex;flex-wrap:wrap;gap:8px}
.checks label{flex-direction:row;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid var(--line);color:var(--ink-700);font-size:13px;font-weight:500}
.checks label:has(input:checked){background:#eef2f8;color:#1c2433;border-color:#8aa0c4}
.section{margin-top:28px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px}
.section-head h2{font-size:clamp(20px,3vw,24px);font-weight:500;letter-spacing:-.015em}
.section-head .sub{color:var(--ink-400);font-size:13px}
.muted{color:var(--ink-400);font-size:13px}
.empty{padding:28px;border-radius:var(--radius-lg);background:var(--glass);text-align:center;color:var(--ink-500);margin-top:16px}
.pager{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}
.pager a,.pager-gap{min-width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--glass);border:1px solid var(--glass-border);font-size:13px}
.pager a.on{background:#2f4f86;color:#fff}
.toolbar.filter{display:grid;grid-template-columns:1fr;gap:10px;margin:16px 0;padding:14px;border-radius:24px;background:var(--glass-strong);border:1px solid var(--glass-border);box-shadow:var(--shadow-sm)}
.filter-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;color:var(--ink-400)}
.filter-field input,.filter-field select{width:100%;height:44px;background:#fff}
.filter-field input[type="number"]::-webkit-outer-spin-button,.filter-field input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.filter-submit,.toolbar.filter .tool-btn.active{height:44px;width:100%;border-radius:14px;background:#2f4f86;color:#fff;font-weight:500;padding:0 16px;border:0}
.toolbar.filter .tool-btn{height:44px;border-radius:14px;background:#fff}
@media(min-width:900px){
  .toolbar.filter.cols-7{grid-template-columns:1.5fr 1fr .7fr .7fr .6fr 1.1fr auto;align-items:end}
  .toolbar.filter.cols-3{grid-template-columns:1.4fr 1fr auto auto;align-items:end}
  .toolbar.filter.cols-2{grid-template-columns:280px auto;align-items:end;width:fit-content}
  .filter-submit,.toolbar.filter .tool-btn,.toolbar.filter .tool-btn.active{width:auto}
}
.breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--ink-400);margin-bottom:10px}
.breadcrumbs svg{width:12px;height:12px;stroke:currentColor;fill:none}
.breadcrumbs .current{color:var(--ink-900);font-weight:500}
.page-head h1,.article h1{font-size:clamp(26px,4vw,36px);font-weight:500;letter-spacing:-.02em;line-height:1.2}
.page-head h1 .accent,.accent{color:#2f4f86}
.page-sub{margin-top:8px;color:var(--ink-500);font-size:14px}
.prose{font-size:15.5px;color:var(--ink-700);line-height:1.65}
.prose p{margin:12px 0}
.seo-text{color:var(--ink-500);font-size:14px;max-width:70ch}
.search-mini{display:none}
@media(min-width:768px){
  body{padding-bottom:32px}
  .bottom-nav{display:none}
  .header{position:relative;background:none;backdrop-filter:none;margin:0 0 8px;padding:0}
  .header-mobile-brand{display:none}
  .header-nav,.header-title,.btn-primary,.search-mini{display:flex}
  .search-mini{align-items:center}
  .search-mini input{width:220px}
  .form-grid{grid-template-columns:1fr 1fr}
}
@media(min-width:1024px){
  .app{grid-template-columns:var(--sidebar-w) 1fr;padding:0 24px}
  .sidebar{display:block}
  .sidebar .brand-logo{height:56px;max-width:208px}
  .content{padding-left:28px}
  .header .brand-city{display:none}
}
.city-modal{position:fixed;inset:0;z-index:180;display:flex;align-items:flex-end;justify-content:center;padding:10px;background:rgba(28,36,51,.46)}
.city-sheet{width:min(560px,100%);max-height:min(82vh,640px);overflow:auto;padding:14px;border-radius:20px 20px 16px 16px;background:#fff;border:1px solid #e6e9f0}
.city-sheet-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.city-sheet-top b{display:block;font-size:18px;font-weight:500}
.city-sheet-top p{margin-top:4px;color:#5c6578;font-size:13px;line-height:1.4}
.city-sheet-top button{width:32px;height:32px;border-radius:10px;background:#f6f7f9;font-size:18px;line-height:1;color:#3a4356}
.city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.city-pick{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:6px;border-radius:14px;border:1px solid #e6e9f0;background:#fff;color:#1c2433;font-size:12.5px;font-weight:500}
.city-pick.on{border-color:#2f4f86;background:#f4f7fb}
.city-pick img,.city-ph{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover;background:#e7eef8}
.city-ph{display:grid;place-items:center;color:#2f4f86;font-size:22px}
.city-pick span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:760px){
  .city-modal{align-items:center;padding:24px}
  .city-sheet{border-radius:20px;padding:18px}
  .city-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:380px){.city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pwa-bar{position:fixed;z-index:130;left:10px;right:10px;bottom:calc(74px + env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 8px 8px 12px;border-radius:16px;background:#2c3b55;color:#fff;box-shadow:0 12px 28px -16px rgba(28,36,51,.7)}
.pwa-bar[hidden]{display:none}
.pwa-copy{min-width:0}
.pwa-bar b,.pwa-bar .pwa-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pwa-bar b{font-size:14px;font-weight:500;line-height:1.2}
.pwa-bar .pwa-copy span{font-size:12px;font-weight:400;color:rgba(255,255,255,.72);line-height:1.3}
.pwa-bar small{grid-column:1 / -1;font-size:12px;font-weight:400;color:rgba(255,255,255,.78);line-height:1.35}
.pwa-bar small[hidden]{display:none}
#pwaInstall{height:36px;padding:0 12px;border:0;border-radius:11px;background:#fff;color:#2c3b55;font-weight:500;font-size:13px;white-space:nowrap}
#pwaClose{width:32px;height:32px;border-radius:10px;color:#fff;font-size:18px;line-height:1}
@media(min-width:768px){
  .pwa-bar{left:auto;right:24px;bottom:24px;width:min(380px,calc(100vw - 48px))}
}
@media(min-width:800px){
  .site-foot{grid-template-columns:1.4fr .7fr .7fr .7fr;align-items:start;gap:18px}
  .foot-brand,.foot-contact{grid-column:auto}
  .foot-contact{flex-direction:column;flex-wrap:nowrap;gap:6px;padding-top:0;border-top:0}
  .foot-contact b{width:auto}
}
@media(max-width:767px){
  .side-nav{display:flex}
  .header .brand-city,.header-mobile-brand .brand-city,.header .only-desk{display:none}
  .profile-sub .only-desk{display:none}
  .header{min-height:60px;gap:6px;padding:8px 12px;margin:0 -16px 4px}
  .header-tools{gap:4px}
  .icon-btn{width:34px;height:34px;border-radius:11px}
  .icon-btn svg{width:16px;height:16px}
  .header-tools > .city-switch{display:none}
  .city-in-menu{display:block}
  .panel{padding:14px}
  .page-head h1,.article h1{font-size:26px}
  .site-foot{gap:14px 10px;margin-top:18px;min-height:0;padding:14px 0 6px}
  .site-foot::before{background-position:center bottom;background-size:min(520px,108%) auto;opacity:.22;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 38%);mask-image:linear-gradient(180deg,transparent 0%,#000 38%)}
  .foot-brand p{font-size:13px;max-width:none}
  .site-foot nav a,.foot-contact a{font-size:13px;line-height:1.35}
  .card-body{padding:8px 8px 10px;gap:6px}
  .card-title{font-size:13.5px}
  .card-meta{font-size:11px}
  .card-foot{flex-direction:column;align-items:stretch;gap:6px;padding-top:8px}
  .card-cta{width:100%;height:32px}
  .price{font-size:14px}
  .fav-form{top:12px;right:12px}
  .card-fav{width:28px;height:28px}
  .card:hover{transform:none}
}
