﻿.station-search-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid #edf0f3;
}
.station-search-result-row .station-search-result {
  border-bottom: 0;
}
.f-station-save {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  background: #fff1f2;
  color: #dc2626;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 900;
}
.f-station-save.is-saved {
  border-color: #7dd3fc;
  background: #eff8ff;
  color: #0369a1;
}
.f-station-save-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.f-station-save-icon .f-save-box { fill: #fff; }
.f-station-save-icon[data-state="saved"] .f-save-box { fill: #0284c7; stroke: #0284c7; }
.f-station-save-icon[data-state="saved"] .f-save-mark { stroke: #fff; stroke-width: 2.4; }
.f-station-save-icon[data-state="empty"] .f-save-box { fill: #ef4444; stroke: #dc2626; }
.f-station-save-icon[data-state="empty"] .f-save-mark { stroke: #fff; stroke-width: 2.4; }
.card-action.is-save {
  width: auto;
  min-width: 72px;
  gap: 5px;
  border: 1px solid #fca5a5;
  background: #fff1f2;
  color: #dc2626;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 950;
}
.card-action.is-save.is-saved {
  border-color: #7dd3fc;
  background: #eff8ff;
  color: #0369a1;
}
.card-action.is-save.is-saved .f-station-save-icon { stroke: #0369a1; }
.public-save-result-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.public-delete-confirm-icon { background: linear-gradient(135deg,#f97316,#dc2626); box-shadow: 0 10px 24px rgba(220,38,38,.24); }
.public-delete-confirm-icon svg { width: 31px; height: 31px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-account-member {
  padding: 22px;
}
.public-account-member > p {
  margin-bottom: 14px;
}
.public-sms-quota {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  background: #faf5ff;
  padding: 9px 11px;
  color: #6d28d9;
  font-size: 9px;
  font-weight: 850;
}
.public-sms-quota span { display: inline-flex; align-items: center; gap: 6px; }
.public-sms-quota strong { font-size: 10px; }
.public-sms-quota strong.is-empty { color: #dc2626; }
.public-saved-header-button {
  display: inline-flex;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #7dd3fc;
  border-radius: 7px;
  background: #eff8ff;
  color: #0369a1;
  padding: 0 11px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.public-saved-header-button[hidden] { display: none !important; }
.public-saved-header-button:hover { border-color: #38bdf8; background: #dff3ff; color: #075985; }
.public-saved-header-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: #e0f2fe;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.public-auth-user {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
  padding: 0 13px;
  gap: 8px;
  box-shadow: 0 5px 14px rgba(67,56,202,.1);
}
.public-auth-user:hover { border-color: #a5b4fc; background: #e0e7ff; color: #3730a3; }
.public-settings-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
}
.public-settings-icon svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.nearby-card-grid,
.nearby-card-grid.is-saved-stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nearby-inline.is-direct-station .nearby-toolbar,
.nearby-inline.is-direct-station .nearby-pagination { display: none; }
.nearby-inline.is-direct-station .nearby-card-grid { grid-template-columns: minmax(0, 560px); }
.f-saved-list-sms {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
  border: 1px solid #c4b5fd;
  border-radius: 8px;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 10px;
  font-weight: 900;
}
.f-saved-list-sms:hover { background: #ede9fe; }
.f-sms-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-sms-icon.is-large { width: 25px; height: 25px; }
.public-saved-stations {
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}
.public-saved-stations > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
  padding: 11px 12px;
}
.public-saved-stations > header strong {
  font-size: 12px;
}
.public-saved-stations > header span {
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 900;
}
.public-saved-stations-list {
  max-height: 330px;
  overflow: auto;
  padding: 7px;
}
.public-saved-stations-state {
  padding: 24px 10px;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  line-height: 1.5;
}
.f-saved-station {
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #fff;
}
.f-saved-station + .f-saved-station {
  margin-top: 6px;
}
.f-saved-station-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}
.f-saved-station-info {
  min-width: 0;
  flex: 1;
}
.f-saved-station-info strong,
.f-saved-station-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.f-saved-station-info strong {
  color: #172033;
  font-size: 11px;
}
.f-saved-station-info small {
  margin-top: 3px;
  color: #667085;
  font-size: 8px;
}
.f-saved-station-delete {
  display: inline-flex;
  min-width: 52px;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 9px;
  font-weight: 800;
}
.f-saved-station-delete svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.f-saved-station-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border-top: 1px solid #eef2f6;
  padding: 6px 10px;
  color: #667085;
  font-size: 8px;
}
.f-saved-station-prices span:last-child {
  text-align: right;
}
.f-saved-station-prices span:first-child strong {
  color: #ea580c;
}
.f-saved-station-prices span:last-child strong {
  color: #2563eb;
}
.f-saved-station-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid #eef2f6;
  padding: 8px 10px 10px;
}
.f-saved-station-actions button,
.f-saved-station-actions a {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
  gap: 5px;
}
.f-saved-station-actions button i {
  font-size: 11px;
}
.f-saved-station-actions .is-sms {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #6d28d9;
}
.f-saved-station-actions a {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}
.f-saved-route-apps {
  border-top: 1px solid #dbeafe;
  background: #f8fbff;
  padding: 8px;
}
.f-saved-route-apps[hidden] {
  display: none;
}
.f-saved-route-apps > span {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 8px;
  font-weight: 900;
}
.f-saved-route-apps > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.f-saved-route-apps button {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #d5dde7;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font-size: 8px;
  font-weight: 900;
}
.f-saved-route-apps img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
}
.f-saved-sms-status {
  border-top: 1px solid #eef2f6;
  padding: 7px 10px;
  color: #64748b;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}
.f-saved-sms-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  border-top: 1px solid #ddd6fe;
  background: #fafaff;
  padding: 10px;
}
.f-saved-sms-panel[hidden],
.f-saved-sms-panel [hidden] {
  display: none;
}
.f-saved-sms-panel label {
  min-width: 0;
}
.f-saved-sms-panel label > span {
  display: block;
  margin-bottom: 4px;
  color: #475569;
  font-size: 8px;
  font-weight: 900;
}
.f-saved-sms-panel select {
  width: 100%;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0 7px;
  font-size: 9px;
  font-weight: 800;
}
.f-saved-sms-buttons {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.f-saved-sms-buttons button {
  height: 38px;
  border: 1px solid #8b5cf6;
  border-radius: 8px;
  background: #7c3aed;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.f-saved-sms-buttons button:only-child {
  grid-column: 1 / -1;
}
.f-saved-sms-buttons .is-disable {
  border-color: #fecaca;
  background: #fff;
  color: #dc2626;
}
.f-saved-sms-panel > small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
}
.public-account-logout {
  margin-top: 5px;
}
.public-auth-user {
  max-width: none;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 0 12px;
  white-space: nowrap;
}
.public-confirm-modal {
  position: fixed;
  z-index: 10300;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15,23,42,.58);
  padding: 18px;
  backdrop-filter: blur(5px);
}
.public-confirm-modal[hidden] { display: none; }
.public-confirm-card {
  position: relative;
  width: min(420px,100%);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
  padding: 25px;
  text-align: center;
}
.public-confirm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
}
.public-confirm-close:hover { border-color: #93c5fd; background: #eff6ff; color: #0369a1; }
.public-confirm-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.public-confirm-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 13px; place-items: center; border-radius: 16px; background: linear-gradient(135deg,#7c3aed,#4f46e5); color: #fff; box-shadow: 0 10px 24px rgba(99,102,241,.25); font-size: 20px; }
.public-confirm-card > strong { display: block; color: #172033; font-size: 18px; }
.public-confirm-card > p { margin: 7px 0 14px; color: #64748b; font-size: 11px; font-weight: 700; line-height: 1.55; }
.public-confirm-station { border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; padding: 11px; text-align: left; }
.public-confirm-station strong,.public-confirm-station span { display: block; }
.public-confirm-station strong { color: #172033; font-size: 11px; }
.public-confirm-station span { margin-top: 4px; color: #64748b; font-size: 9px; line-height: 1.4; }
.public-confirm-quota { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; border: 1px solid #ddd6fe; border-radius: 10px; background: #f5f3ff; padding: 9px 11px; color: #5b21b6; font-size: 10px; font-weight: 900; }
.public-confirm-quota strong { color: #6d28d9; font-size: 13px; }
.public-confirm-quota strong.is-empty { color: #dc2626; }
.public-confirm-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.public-confirm-actions button { height: 46px; border-radius: 11px; font-size: 11px; font-weight: 900; }
.public-confirm-actions .is-cancel { border: 1px solid #d5dde7; background: #fff; color: #475569; }
.public-confirm-actions .is-confirm { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #6d28d9; background: #7c3aed; color: #fff; }
.public-confirm-actions .is-delete { border: 1px solid #dc2626; background: #ef4444; color: #fff; }
.public-confirm-actions .is-confirm .f-sms-icon { width: 17px; height: 17px; flex-basis: 17px; }
.public-confirm-actions.is-single { grid-template-columns: 1fr; }
.public-result-card .public-confirm-icon.is-error { background: linear-gradient(135deg,#ef4444,#dc2626); box-shadow: 0 10px 24px rgba(220,38,38,.24); }
.home-promo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.home-promo-grid .shop-promo { width: 100%; min-height: 90px; gap: 12px; border: 0; border-radius: 14px; padding: 11px 14px; text-align: left; box-shadow: 0 10px 24px rgba(15,23,42,.14); transition: transform .18s ease,box-shadow .18s ease; }
.home-promo-grid .shop-promo:hover { transform: translateY(-2px); box-shadow: 0 17px 36px rgba(15,23,42,.22); }
.home-promo-grid .shop-promo-service { border-left: 6px solid #38bdf8; background: #102a46; }
.home-promo-grid .shop-promo-service picture { position: absolute; z-index: 0; inset: 0; display: block; pointer-events: none; }
.home-promo-grid .shop-promo-service::after { background: linear-gradient(90deg,rgba(6,22,40,.9) 0%,rgba(6,22,40,.68) 54%,rgba(6,22,40,.16) 100%); }
.home-promo-grid .shop-promo-service .shop-promo-photo { opacity: .88; }
.home-promo-grid .shop-promo-copy { width: auto; max-width: none; border: 0; background: transparent; padding: 0; text-shadow: 0 2px 6px rgba(0,0,0,.72); box-shadow: none; word-break: keep-all; }
.home-promo-grid .shop-promo-copy small { color: #7dd3fc; font-size: 9px; letter-spacing: .08em; }
.home-promo-grid .shop-promo-copy strong { margin-top: 3px; color: #fff; font-size: 19px; line-height: 1.18; white-space: nowrap; }
.home-promo-grid .shop-promo-copy span { margin-top: 4px; color: #f1f5f9; font-size: 9px; }
.home-promo-grid .shop-promo-action { position: relative; z-index: 2; height: 34px; border-color: rgba(255,255,255,.62); border-radius: 8px; background: rgba(15,23,42,.8); padding: 0 11px; font-size: 9px; }
.home-promo-grid .shop-promo-service:hover .shop-promo-action { background: #0369a1; }
.home-promo-grid .shop-promo-sms { grid-template-columns: 44px minmax(0,1fr) auto; border: 1px solid #a7f3d0; background: linear-gradient(135deg,#064e3b 0%,#047857 58%,#059669 100%); color: #fff; }
.home-promo-grid .shop-promo-sms::after { display: none; }
.shop-promo-sms-icon { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.shop-promo-sms-icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-promo-grid .shop-promo-sms .shop-promo-copy { max-width: none; }
.home-promo-grid .shop-promo-sms .shop-promo-copy small { color: #a7f3d0; }
.home-promo-grid .shop-promo-sms .shop-promo-copy strong { font-size: 17px; }
.home-promo-grid .shop-promo-sms .shop-promo-copy span { color: #d1fae5; }
.home-promo-grid .shop-promo-sms:hover .shop-promo-action { background: #065f46; }
.home-promo-grid .shop-promo-sms:disabled { cursor: default; opacity: 1; color: #fff; }
.home-promo-grid .shop-promo-sms.is-auth-disabled:hover { transform: none; box-shadow: 0 10px 24px rgba(15,23,42,.14); }
@media (orientation: portrait) and (max-width: 1200px) {
  .home-promo-grid { grid-template-columns: minmax(0,1fr); }
}
html.shop-main-modal-open,
html.shop-main-modal-open body { overflow: hidden; }
.shop-main-modal { --shop-main-modal-top: 8px; position: fixed; z-index: 10070; inset: 0; display: grid; place-items: start center; padding: var(--shop-main-modal-top) 22px 8px; background: rgba(15,23,42,.66); backdrop-filter: blur(5px); }
.shop-main-modal[hidden] { display: none; }
.shop-main-modal-card { display: grid; width: min(1180px,calc(100vw - 32px)); height: calc(100dvh - var(--shop-main-modal-top) - 8px); grid-template-rows: auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; background: #fff; box-shadow: 0 28px 90px rgba(15,23,42,.36); }
.shop-main-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cfe8f7; padding: 12px 18px; background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%); }
.shop-main-modal-head > div { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 18px; }
.shop-main-modal-head small { color: #15803d; font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.shop-main-modal-head strong { flex: 0 0 auto; color: #0c4a6e; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.shop-main-modal-nav { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 6px; }
.shop-main-modal-nav button { min-height: 36px; border: 1px solid #bae6fd; border-radius: 7px; padding: 0 14px; background: #fff; color: #0369a1; font-size: 12px; font-weight: 900; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.shop-main-modal-nav .shop-main-orders-btn { display: inline-flex; margin-left: auto; align-items: center; gap: 6px; }
.shop-main-orders-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-main-modal-nav button:hover { border-color: #38bdf8; background: #e0f2fe; color: #075985; transform: translateY(-1px); }
.shop-main-modal-nav button.is-active { border-color: #0284c7; background: #0284c7; color: #fff; box-shadow: 0 5px 13px rgba(2,132,199,.2); }
.shop-main-modal-close { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid #dce3ea; border-radius: 12px; background: #f8fafc; color: #475569; }
.shop-main-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.shop-main-modal-body { position: relative; min-height: 0; overflow-x: hidden; overflow-y: auto; background: #f4faff; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; scroll-padding-bottom: 110px; }
@media (max-width: 980px) {
  .nearby-card-grid,
  .nearby-card-grid.is-saved-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nearby-inline .nearby-card-grid,
  .nearby-inline .nearby-card-grid.is-saved-stations { grid-template-columns: minmax(0, 1fr) !important; }
  .nearby-inline .nearby-card-grid .station-card { width: 100%; min-width: 0; }
}
@media (max-width: 760px) {
  .home-promo-grid { gap: 9px; margin: -5px 0 11px; }
  .home-promo-grid .shop-promo { min-height: 78px; border-radius: 12px; padding: 9px 10px; }
  .home-promo-grid .shop-promo-copy { max-width: none; }
  .home-promo-grid .shop-promo-copy small { font-size: 7px; }
  .home-promo-grid .shop-promo-copy strong { margin-top: 3px; font-size: 16px; }
  .home-promo-grid .shop-promo-copy span { margin-top: 4px; font-size: 8px; white-space: normal; }
  .home-promo-grid .shop-promo-action { width: 34px; height: 34px; justify-content: center; padding: 0; }
  .home-promo-grid .shop-promo-action span { display: none; }
  .home-promo-grid .shop-promo-sms { grid-template-columns: 38px minmax(0,1fr) 34px; }
  .shop-promo-sms-icon { width: 36px; height: 36px; border-radius: 10px; }
  .shop-promo-sms-icon svg { width: 20px; height: 20px; }
  .home-promo-grid .shop-promo-sms .shop-promo-copy { max-width: none; }
  .home-promo-grid .shop-promo-sms .shop-promo-copy strong { font-size: 13px; }
  .shop-main-modal { box-sizing: border-box; padding: 6px 6px max(14px,env(safe-area-inset-bottom)); }
  .shop-main-modal-card { width: 100%; height: calc(100dvh - 20px - env(safe-area-inset-bottom)); border-radius: 16px; }
  .shop-main-modal-head { padding: 11px 12px; }
  .shop-main-modal-head > div { gap: 8px; overflow: hidden; }
  .shop-main-modal-head strong { font-size: 15px; }
  .shop-main-modal-nav { overflow-x: auto; }
  .shop-main-modal-nav button { min-height: 32px; padding: 0 9px; font-size: 10px; white-space: nowrap; }
  .shop-main-modal-nav .shop-main-orders-btn { position: sticky; right: 0; flex: 0 0 auto; margin-left: 8px; background: #fff; box-shadow: -8px 0 10px rgba(240,249,255,.95); }
  .shop-main-orders-btn svg { width: 14px; height: 14px; }
  .shop-main-modal-close { width: 44px; height: 44px; flex-basis: 44px; }
  .station-search-result-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .station-search-result-row .station-search-result {
    min-width: 0;
  }
  .public-account-member {
    padding: 18px 14px 14px;
  }
  .site-head .head-inner { grid-template-columns: minmax(72px,1fr) auto auto auto; }
  .site-head .public-saved-header-button { grid-column: 3; grid-row: 1; width: auto; min-width: 86px; height: 44px; padding: 0 9px; border-radius: 9px; font-size: 9px; }
  .site-head .public-auth { grid-column: 4; }
  .public-saved-header-button span { display: inline; }
  .public-confirm-card { border-radius: 17px; padding: 22px 17px 17px; }
  .public-confirm-actions button { height: 50px; font-size: 12px; }
  .public-auth-user {
    width: auto;
    min-width: 70px;
    height: 44px;
    padding: 0 9px;
    font-size: 10px;
  }
  .public-saved-stations-list {
    max-height: 52dvh;
  }
  .f-saved-station-head {
    padding: 9px;
  }
  .f-saved-station-info strong {
    font-size: 11px;
  }
  .f-saved-station-info small {
    font-size: 8px;
  }
  .f-saved-station-delete {
    min-width: 56px;
    height: 44px;
  }
  .f-saved-station-actions button,
  .f-saved-station-actions a {
    height: 44px;
    font-size: 10px;
  }
  .f-saved-route-apps button {
    height: 44px;
    font-size: 9px;
  }
  .f-saved-route-apps img {
    width: 22px;
    height: 22px;
  }
  .f-saved-station-actions {
    gap: 5px;
  }
  .f-saved-station-actions button,
  .f-saved-station-actions a {
    font-size: 9px;
  }
  .nearby-card-grid,
  .nearby-card-grid.is-saved-stations { grid-template-columns: minmax(0, 1fr); }
  .nearby-card-grid.is-saved-stations .station-card { width: 100%; min-width: 0; }
  .f-saved-list-sms { min-height: 44px; font-size: 11px; }
  .f-saved-sms-panel {
    grid-template-columns: 1fr;
  }
  .f-saved-sms-panel label > span,
  .f-saved-sms-status,
  .f-saved-sms-panel > small {
    font-size: 9px;
  }
  .f-saved-sms-panel select,
  .f-saved-sms-buttons button {
    height: 44px;
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .shop-main-modal { padding: max(4px,env(safe-area-inset-top)) 4px max(12px,env(safe-area-inset-bottom)); }
  .shop-main-modal-card { min-width: 0; height: calc(100dvh - max(16px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom))); border-radius: 13px; }
  .shop-main-modal-head { position: relative; display: block; min-width: 0; padding: 10px 54px 9px 10px; }
  .shop-main-modal-head > div { display: grid; width: 100%; min-width: 0; gap: 7px; overflow: visible; }
  .shop-main-modal-head strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
  .shop-main-modal-nav { display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; overflow: visible; }
  .shop-main-modal-nav button { width: 100%; min-width: 0; min-height: 31px; padding: 0 3px; font-size: 8px; }
  .shop-main-modal-nav .shop-main-orders-btn { position: static; margin-left: 0; box-shadow: none; }
  .shop-main-modal-close { position: absolute; top: 9px; right: 9px; width: 38px; height: 38px; }
  .shop-main-modal-body { width: 100%; min-width: 0; }
}
@media (max-width: 390px) {
  .site-head .public-saved-header-button { min-width: 78px; padding: 0 6px; font-size: 8px; }
  .site-head .public-auth-user { min-width: 62px; padding: 0 6px; font-size: 9px; }
}
