/* VigVag readability recovery: PWA sections, WEB offer rows and account panels.
   No sitewide bold/small resets, safe for older PHP templates. */
.app-more-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
  margin:18px 0 24px; align-items:stretch;
}
.app-more-grid > a {
  display:grid; grid-template-columns:48px minmax(0,1fr) 18px;
  align-items:center; column-gap:12px; min-width:0; min-height:84px;
  padding:15px; border:1px solid #e1e7ef; background:#fff;
  box-shadow:0 5px 20px rgba(16,24,40,.045); border-radius:18px;
  text-decoration:none; color:#1f2937; line-height:1.35;
}
.app-more-grid > a > i {
  display:grid; place-items:center; font-size:22px; font-style:normal;
  width:46px; height:46px; border-radius:14px; background:#fff4cd;
}
.app-more-grid > a > span { display:flex; flex-direction:column; min-width:0; gap:4px; }
.app-more-grid > a > span > b { display:block; font-size:15px; line-height:1.28; overflow-wrap:anywhere; }
.app-more-grid > a > span > small {display:block; font-size:12px; font-weight:400; color:#66758a; line-height:1.4; overflow-wrap:anywhere;}
.app-more-grid > a::after {content:"›"; color:#8290a3; font-size:24px; justify-self:end;}
.app-more-grid > a.danger > i {background:#fff0ee;}
.app-more-grid > a:hover {border-color:#e5c450; box-shadow:0 9px 28px rgba(16,24,40,.09);}
@media(max-width:680px){
 .app-more-grid{grid-template-columns:1fr;gap:10px}
 .app-more-grid > a{min-height:76px;padding:12px 14px;}
}
.vv-home-page .vv-hot {
 display:grid; grid-template-columns:72px minmax(0,1fr) 36px;
 gap:13px; align-items:center; min-width:0; padding:13px 0;
 text-decoration:none; color:#233149; border-bottom:1px solid #edf0f3;
}
.vv-home-page .vv-hot > span:nth-of-type(1){
 display:flex; flex-direction:column; min-width:0; gap:5px;
}
.vv-home-page .vv-hot > span:nth-of-type(1) > b:first-child {
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;font-size:14px;line-height:1.35;overflow-wrap:anywhere;
}
.vv-home-page .vv-hot > span:nth-of-type(1) > small {
 display:block;font-size:12px;line-height:1.35;color:#63748b;overflow-wrap:anywhere;
}
.vv-home-page .vv-hot > span:nth-of-type(1) > b:last-child {
 display:block;font-size:17px;line-height:1.3;font-weight:800;color:#172941;
}
.vv-home-page .vv-hot > .vv-heart {margin:0; align-self:center;}
.vv-home-page .vv-hot-photo {min-width:0;width:72px;height:72px;background-position:center;background-size:cover;}
.dx-side-stack .dx-breakdown-row {
 display:grid; grid-template-columns:22px minmax(0,1fr); gap:12px;
 padding:13px;align-items:start;
}
.dx-side-stack .dx-breakdown-row > span:nth-child(2) {display:flex;flex-direction:column;gap:5px;min-width:0;}
.dx-side-stack .dx-breakdown-row > span:nth-child(2) > b {display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere;}
.dx-side-stack .dx-breakdown-row > span:nth-child(2) > small {display:block;font-size:12px;line-height:1.45;color:#697a90;overflow-wrap:anywhere;}
.dx-side-stack .dx-breakdown-row > b:last-child {grid-column:2;justify-self:start;}
.vv-desktop-city {position:relative;max-width:100%;min-width:0;}
.vv-city-button {background:#f2f5f8;border:1px solid #e3e8f0;border-radius:14px;color:#26354a;padding:10px 12px;display:flex;align-items:center;gap:9px;white-space:nowrap;cursor:pointer;max-width:220px;font:650 13px/1.4 system-ui,-apple-system,sans-serif;}
.vv-city-button > span {overflow:hidden;text-overflow:ellipsis;min-width:0;}
.vv-city-button:hover {border-color:#e8c633;background:#fff9db;}
.vv-desktop-city-panel {display:none;position:absolute;z-index:85;top:calc(100% + 8px);left:0;width:min(320px,90vw);background:white;border:1px solid #dfe6ef;border-radius:17px;padding:17px;box-shadow:0 16px 45px rgba(22,38,60,.16);}
.vv-desktop-city-panel.open {display:block;}
.vv-desktop-city-panel > form {display:grid;gap:10px;}
.vv-desktop-city-panel label {font-size:13px;font-weight:750;}
.vv-desktop-city-panel input {min-width:0;width:100%;border:1px solid #ced7e4;padding:11px;border-radius:11px;font:inherit;}
.vv-desktop-city-panel button[type="submit"] {background:#ffd21f;color:#141414;border:0;border-radius:11px;padding:11px;font-weight:800;cursor:pointer;}
.vv-desktop-city-panel small{color:#738093;line-height:1.45;}
.app-city-panel{z-index:100;}
.app-city-panel form{gap:11px;}
.app-city-panel input{width:100%;min-width:0;}
@media(max-width:950px){
 .vv-desktop-city-panel{left:auto;right:0;}
 .vv-city-button{max-width:165px;font-size:12px;padding:9px;}
}

/* City selection is always visible, but requesting GPS remains opt-in. */
.app-top.pwa3-top.pwa3-top-compact {
  height:auto!important; min-height:64px;
  display:block!important;
  padding-top:calc(8px + env(safe-area-inset-top))!important;
}
.pwa3-top-compact .pwa3-topline{display:flex;gap:8px;min-height:43px;}
.pwa3-top-shortcuts{flex-shrink:0;}
.pwa3-city-choose{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  text-align:left;gap:12px;color:#2b3b50;cursor:pointer;
  margin:5px 0 1px;padding:7px 10px;border-radius:12px;
  border:1px solid #e9edf3;background:#f5f7fa;
  font:700 12px/1.45 system-ui,-apple-system,Arial,sans-serif;
}
.pwa3-city-choose > span{flex-shrink:0;color:#476b9e;font-weight:700;}
[data-city-geo-status]{display:block;font-size:12px;color:#66758a;line-height:1.5;}
/* Avoid an extra, unstyled nav line under desktop WEB content. */
.vv-mobile-bottom {display:none!important;}
@media(max-width:750px){
 .vv-mobile-bottom{
   display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;
   position:fixed;bottom:0;left:0;right:0;z-index:90;
   padding:7px 7px calc(7px + env(safe-area-inset-bottom));
   border-top:1px solid #e4e9f0;background:#fff;
   box-shadow:0 -3px 16px rgba(20,35,50,.08);
 }
 .vv-mobile-bottom a{display:grid;place-items:center;text-align:center;gap:3px;min-width:0;text-decoration:none;color:#546478;font:650 10px/1.2 system-ui,sans-serif;}
 .vv-mobile-bottom a b{font-size:19px;font-weight:750;line-height:1.2;}
 .vv-mobile-bottom a span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 .vv-mobile-bottom a.active{color:#1e314b;}
 .vv-page.vv-home-page{padding-bottom:76px;}
}

.vv-desktop-city-panel .vv-city-gps-button{background:#fff7da;border:1px solid #efd988;border-radius:11px;padding:11px;cursor:pointer;font-weight:750;color:#35445a}.vv-desktop-city-panel .vv-city-gps-button:disabled{opacity:.55;cursor:wait}.vv-desktop-city-panel [data-vv-city-feedback]{display:block;line-height:1.45;color:#6c7b8c;font-size:12px;overflow-wrap:anywhere;}
