:root {
  --bg: #081826;
  --app-bg-solid: #081b2a;
  --app-bg:
    radial-gradient(circle at 18% 12%, rgba(39, 173, 179, 0.16), transparent 24rem),
    linear-gradient(180deg, #081927 0%, #081b2a 42%, #091d2b 100%);
  --panel: #122635;
  --panel-2: #183042;
  --line: rgba(169, 205, 224, 0.14);
  --text: #f6fbff;
  --muted: #a7b8c6;
  --green: #8df02f;
  --cyan: #31e8e0;
  --orange: #ff9e18;
  --red: #ff5c7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --topbar-content-h: 68px;
  --topbar-h: calc(var(--topbar-content-h) + var(--safe-top));
  --anchor-offset: 12px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  padding: 0;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-color: var(--app-bg-solid) !important;
  background-image: none !important;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--anchor-offset));
}

html.station-modal-lock,
body.station-modal-lock {
  overflow: hidden;
}

body.station-modal-lock {
  position: fixed;
  left: 0;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-color: var(--app-bg-solid) !important;
  background-image: none !important;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(49, 232, 224, 0.75);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  background-color: var(--app-bg-solid);
  background: var(--app-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--app-bg-solid);
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

@supports (-webkit-touch-callout: none) {
  html {
    height: -webkit-fill-available;
  }

  body,
  .app-shell {
    min-height: -webkit-fill-available;
  }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--topbar-h);
  padding: var(--safe-top) max(clamp(18px, 4vw, 56px), calc(12px + var(--safe-right))) 0 max(clamp(18px, 4vw, 56px), calc(12px + var(--safe-left)));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.84);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  justify-self: start;
  grid-column: 1;
  min-width: 0;
}

.brand-stack {
  display: grid;
  gap: 4px;
  align-items: start;
  justify-items: start;
  min-width: 0;
}

.brand-title {
  white-space: nowrap;
}

.desktop-nav {
  justify-self: center;
  justify-content: center;
  grid-column: 2;
}

.topbar-actions {
  justify-self: end;
  grid-column: 3;
}

body:not([data-logged-in="true"]) .desktop-nav,
body:not([data-logged-in="true"]) .menu-button,
body:not([data-logged-in="true"]) .mobile-drawer {
  display: none;
}

body:not([data-logged-in="true"]) {
  --topbar-h: 0px;
}

body:not([data-logged-in="true"]) .app-shell {
  padding-top: 0;
}

body:not([data-logged-in="true"]) .topbar {
  display: none;
}

body[data-logged-in="true"] {
  --topbar-content-h: 68px;
}

body[data-logged-in="true"] .app-shell {
  padding-top: var(--topbar-h);
}

body[data-logged-in="true"] .topbar {
  display: grid;
  background: rgba(12, 24, 35, 0.82);
  backdrop-filter: blur(18px);
}

html[data-preauth="logged-in"] body .hero {
  display: none !important;
}

.favorites-title-mobile {
  display: none;
}

.brand-ticker {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.brand-ticker:hover,
.brand-ticker:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  outline: none;
}

.brand-ticker .ticker-station {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
}

.brand-ticker .ticker-name {
  max-width: 26ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.brand-ticker .ticker-place {
  color: var(--muted);
  font-size: 0.84em;
  font-weight: 700;
  margin-left: 6px;
  opacity: 0.92;
}

.brand-ticker .ticker-fuel {
  color: var(--muted);
  font-weight: 800;
}

.brand-ticker .ticker-price {
  font-weight: 900;
  letter-spacing: 0;
}

.brand-ticker[data-fuel="e5"] .ticker-fuel,
.brand-ticker[data-fuel="e5"] .ticker-price,
.brand-ticker[data-fuel="e5"] .ticker-price .price-main,
.brand-ticker[data-fuel="e5"] .ticker-price sup.price-last {
  color: var(--green);
}

.brand-ticker[data-fuel="e10"] .ticker-fuel,
.brand-ticker[data-fuel="e10"] .ticker-price,
.brand-ticker[data-fuel="e10"] .ticker-price .price-main,
.brand-ticker[data-fuel="e10"] .ticker-price sup.price-last {
  color: var(--cyan);
}

.brand-ticker[data-fuel="diesel"] .ticker-fuel,
.brand-ticker[data-fuel="diesel"] .ticker-price,
.brand-ticker[data-fuel="diesel"] .ticker-price .price-main,
.brand-ticker[data-fuel="diesel"] .ticker-price sup.price-last {
  color: var(--orange);
}

.brand-ticker.is-closed .ticker-fuel {
  color: var(--muted);
}

.brand-ticker.is-closed .ticker-price {
  color: #ff9f9f;
  letter-spacing: 0.04em;
}

.brand-ticker .ticker-price {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}

.brand-ticker .ticker-price sup.price-last {
  font-size: 0.56em;
  line-height: 1;
  position: relative;
  top: -0.34em;
  margin-left: 1px;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
}

.brand-logo img {
  width: 38px;
  height: 46px;
  object-fit: contain;
}

.desktop-nav,
.topbar-actions,
.hero-actions,
.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-meta {
  justify-content: space-between;
  width: 100%;
}

.results-toolbar-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  margin-bottom: 4px;
  width: 100%;
}

.results-toolbar h2 {
  width: 100%;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toolbar-meta-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.toolbar-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: flex-end;
}

.results-toolbar-top .eyebrow {
  min-width: 0;
  margin: 0;
}

.pwa-banner {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  width: min(1120px, calc(100% - max(24px, calc(var(--safe-left) + var(--safe-right) + 24px))));
  max-width: calc(100vw - max(24px, calc(var(--safe-left) + var(--safe-right) + 24px)));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(49, 232, 224, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(7, 16, 25, 0.98), rgba(18, 38, 53, 0.96));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity 220ms ease, transform 280ms ease;
}

.pwa-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.install-banner.is-visible + .update-banner.is-visible,
.install-banner:not([hidden]) + .update-banner.is-visible {
  bottom: calc(112px + var(--safe-bottom));
}

.install-banner {
  border-color: rgba(49, 232, 224, 0.38);
}

.update-banner {
  border-color: rgba(255, 122, 69, 0.44);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 69, 0.24), transparent 14rem),
    linear-gradient(135deg, rgba(58, 17, 14, 0.98), rgba(95, 31, 18, 0.96));
}

.pwa-banner-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.update-banner .pwa-banner-icon {
  color: #ffb39a;
}

.pwa-banner-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.pwa-banner-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.pwa-banner-eyebrow {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.update-banner .pwa-banner-eyebrow {
  color: #ffb39a;
}

.pwa-banner-copy strong {
  font-size: 16px;
}

.pwa-banner-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pwa-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.online-bar {
  position: fixed;
  right: max(12px, calc(var(--safe-right) + 12px));
  bottom: max(12px, calc(var(--safe-bottom) + 12px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.86);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 11px;
  pointer-events: none;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(146, 240, 47, 0.92);
  box-shadow: 0 0 0 4px rgba(146, 240, 47, 0.12);
  flex: 0 0 auto;
}

.online-copy strong {
  color: var(--text);
  font-weight: 900;
}

.frame-online-bar {
  z-index: 20;
}

@media (display-mode: standalone) {
  .online-bar {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 520px) {
  .online-bar {
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: 10px;
  }
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.desktop-nav a [data-lucide] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.desktop-nav a span {
  flex: 0 1 auto;
}

.pricealert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: #071019;
  background: var(--green);
}

.pricealert-top-button .pricealert-badge {
  position: absolute;
  top: -4px;
  right: -4px;
}

.pricealert-top-button,
.mobile-drawer a.pricealert-drawer-link {
  position: relative;
}

.pricealert-top-button.is-attention,
.mobile-drawer a.pricealert-drawer-link.is-attention {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 158, 24, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 158, 24, 0.1), 0 14px 34px rgba(255, 92, 122, 0.12);
  animation: pricealert-pulse 1.05s ease-in-out infinite;
}

.pricealert-top-button.is-attention [data-lucide],
.mobile-drawer a.pricealert-drawer-link.is-attention [data-lucide] {
  color: var(--orange);
}

@keyframes pricealert-pulse {
  0% {
    box-shadow: 0 0 0 4px rgba(255, 158, 24, 0.08), 0 12px 30px rgba(255, 92, 122, 0.09);
    border-color: rgba(255, 158, 24, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(49, 232, 224, 0.12), 0 18px 38px rgba(255, 92, 122, 0.16);
    border-color: rgba(49, 232, 224, 0.75);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(255, 158, 24, 0.08), 0 12px 30px rgba(255, 92, 122, 0.09);
    border-color: rgba(255, 158, 24, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricealert-top-button.is-attention,
  .mobile-drawer a.pricealert-drawer-link.is-attention {
    animation: none;
  }
}

.menu-button {
  position: relative;
}

.menu-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.18), 0 10px 24px rgba(255, 92, 122, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: pricealert-dot 1.1s ease-in-out infinite;
}

@keyframes pricealert-dot {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-dot {
    animation: none;
  }
}

.icon-button,
.ghost-button,
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-button {
  width: 38px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.icon-button.pricealerts-button {
  width: auto;
  padding: 0 12px;
  white-space: nowrap;
}

.icon-button.pricealerts-button.is-on {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.icon-button.pricealerts-button.is-on [data-lucide] {
  color: #7ef08b;
}

.icon-button.pricealerts-button.is-off {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.icon-button.pricealerts-button.is-off [data-lucide] {
  color: #ff7b7b;
}

.icon-button.pricealerts-button.is-busy {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.icon-button.pricealerts-button.is-busy [data-lucide] {
  color: #ffd166;
}

.ghost-button,
.secondary-button {
  padding: 0 12px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary-button {
  padding: 0 14px;
  color: #071019;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(141, 240, 47, 0.22);
}

.search-actions .primary-button,
.search-actions .secondary-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.search-actions .primary-button.active,
.search-actions .primary-button[aria-pressed="true"],
.secondary-button.active,
.secondary-button[aria-pressed="true"] {
  color: #071019;
  border-color: transparent;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(141, 240, 47, 0.22);
}

.danger-button {
  width: 100%;
  color: #fff;
  background: rgba(255, 92, 122, 0.18);
  border: 1px solid rgba(255, 92, 122, 0.34);
}

.icon-button:hover,
.ghost-button:hover,
.secondary-button:hover,
.primary-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.full {
  width: 100%;
}

.search-actions .full + .full,
.hero-actions .full + .full,
.auth-form .full + .full,
.admin-row .full + .full {
  margin-top: 10px;
}

[data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.menu-button {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: var(--topbar-h) 0 0 auto;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(84vw, 340px);
  padding: 16px max(16px, calc(12px + var(--safe-right))) max(22px, calc(16px + var(--safe-bottom))) max(16px, calc(12px + var(--safe-left)));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at top right, rgba(49, 232, 224, 0.08), transparent 15rem),
    linear-gradient(180deg, rgba(8, 21, 32, 0.985), rgba(8, 19, 29, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 220ms ease;
  box-shadow: var(--shadow);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a,
.mobile-drawer button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.mobile-drawer button {
  width: 100%;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.mobile-drawer a:hover,
.mobile-drawer a:focus-visible,
.mobile-drawer button:hover,
.mobile-drawer button:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(49, 232, 224, 0.22);
  transform: translateX(-2px);
  outline: none;
}

.mobile-drawer a [data-lucide],
.mobile-drawer button [data-lucide] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.mobile-drawer a span,
.mobile-drawer button span {
  flex: 1 1 auto;
}

.mobile-drawer .drawer-logout [data-lucide] {
  color: #ffb2b2;
}

.hero {
  flex: 1 1 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  min-height: calc(100svh - var(--topbar-h));
  padding:
    clamp(28px, 5vw, 70px)
    max(clamp(18px, 6vw, 92px), calc(16px + var(--safe-right)))
    max(clamp(46px, 6vw, 72px), calc(32px + var(--safe-bottom)))
    max(clamp(18px, 6vw, 92px), calc(16px + var(--safe-left)));
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, #081520, transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: rise-in 700ms ease both;
}

.hero-logo-mobile {
  display: none;
}

.hero-logo-mobile .live-logo {
  width: min(52vw, 210px);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.live-logo {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.live-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.live-logo-img--live,
.live-logo-overlay {
  display: none;
}

body:not([data-logged-in="true"]) .live-logo-img--default {
  display: block;
}

body:not([data-logged-in="true"]) .live-logo-img--live {
  display: block;
}

body:not([data-logged-in="true"]) .live-logo-overlay {
  display: block;
}

.live-logo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --live-logo-price-shift: 2%;
}

.live-logo-price {
  position: absolute;
  left: 43%;
  width: 36.2%;
  height: 8.2%;
  padding: 0 1.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(-50%);
}

.live-logo-price[data-fuel="e10"] {
  top: calc(35.2% + var(--live-logo-price-shift));
}

.live-logo-price[data-fuel="e5"] {
  top: calc(52.1% + var(--live-logo-price-shift));
}

.live-logo-price[data-fuel="diesel"] {
  top: calc(69.3% + var(--live-logo-price-shift));
}

.live-logo-indicator {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 140px;
}

.live-logo-label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.live-logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(141, 240, 47, 0.72);
  animation: live-pulse 1.8s infinite;
}

.live-logo-text {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(246, 251, 255, 0.92);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
  transform: translateY(1px);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-logo-station {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(246, 251, 255, 0.78);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-logo-price strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700;
  font-size: clamp(15px, 5.6vw, 46px);
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--green);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
}

.live-logo-price[data-fuel="e10"] strong {
  color: var(--cyan);
}

.live-logo-price[data-fuel="diesel"] strong {
  color: var(--orange);
}

.live-logo-price .price-main {
  display: inline-block;
}

.live-logo-price sup.price-last {
  font-size: 0.56em;
  line-height: 1;
  position: relative;
  top: -0.34em;
  margin-left: 1px;
}

.live-logo.is-pulsing .live-logo-price strong {
  animation: live-logo-pop 420ms ease;
}

@keyframes live-logo-pop {
  0% {
    transform: scale(1);
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  }
  55% {
    transform: scale(1.03);
    text-shadow: 0 14px 28px rgba(0, 0, 0, 0.75);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-logo.is-pulsing .live-logo-price strong {
    animation: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.compact {
  margin-bottom: 8px;
  color: var(--green);
}

.live-dot,
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(141, 240, 47, 0.72);
  animation: live-pulse 1.8s infinite;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.88;
  font-weight: 900;
}

h2 {
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
}

.account-title {
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.title-compact {
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.05;
}

.favorites-toolbar h2.title-compact {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-text {
  max-width: 560px;
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
}

.signup-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 0 16px;
  padding: 9px 11px;
  color: var(--text);
  border: 1px solid rgba(141, 240, 47, 0.26);
  border-radius: var(--radius);
  background: rgba(141, 240, 47, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.price-monument {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  animation: board-in 900ms 120ms ease both;
}

.price-monument .live-logo {
  width: min(58vw, 760px);
}

.price-monument .live-logo img {
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
  filter: drop-shadow(0 38px 55px rgba(0, 0, 0, 0.46));
  transform: rotateY(-6deg) rotateX(2deg);
}

.workspace {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 20px;
  padding:
    0
    max(clamp(18px, 4vw, 56px), calc(16px + var(--safe-right)))
    max(46px, calc(24px + var(--safe-bottom)))
    max(clamp(18px, 4vw, 56px), calc(16px + var(--safe-left)));
}

.frame-stage {
  position: relative;
  flex: 1 1 auto;
  padding: 0 0 max(34px, calc(20px + var(--safe-bottom)));
}

.frame-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  contain: layout paint style;
}

.frame-panel[hidden] {
  display: block;
}

.frame-panel.active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.section-frame {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: var(--app-bg-solid);
}

.frame-body {
  --topbar-h: 0px;
  min-height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-color: var(--app-bg-solid) !important;
  background-image: none !important;
}

.frame-workspace {
  padding: 0 0 24px;
}

.frame-band {
  padding: 28px 0 38px;
}

.desktop-nav a.active,
.mobile-drawer a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.search-rail,
.results-zone,
.account-band,
.help-band,
.admin-band {
  border-top: 1px solid var(--line);
}

.search-rail,
.results-zone {
  border-top: 0;
}

.search-rail {
  position: sticky;
  top: var(--topbar-h);
  align-self: start;
  padding-top: 0;
  margin-top: 0;
}

#search,
#station-panel {
  scroll-margin-top: calc(var(--topbar-h) + var(--anchor-offset));
}

.rail-header,
.results-toolbar,
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rail-header {
  margin-bottom: 12px;
}

.rail-header span,
.panel-head span,
.toolbar-meta,
label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.rail-header strong {
  max-width: 180px;
  text-align: right;
  color: var(--cyan);
  font-size: 11px;
}

.search-form,
.profile-form,
.auth-form {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 5px;
}

input,
select {
  width: 100%;
  height: 42px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}

.check-row span {
  color: var(--text);
}

.auth-terms-row {
  align-items: flex-start;
  margin-top: 2px;
}

.auth-terms-row span {
  color: var(--muted);
  line-height: 1.45;
}

.auth-terms-row a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

.auth-terms-row a:hover,
.auth-terms-row a:focus-visible {
  text-decoration: underline;
}

.auth-feedback {
  margin: -4px 0 2px;
  min-height: 18px;
  font-size: 11px;
  font-weight: 700;
}

.auth-feedback.error {
  color: #ff8f96;
}

.auth-feedback.ok {
  color: var(--green);
}

.link-button {
  width: fit-content;
  margin: -2px 0 2px;
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.legal-page {
  min-height: 100svh;
  min-height: 100dvh;
  padding:
    max(18px, calc(14px + var(--safe-top)))
    max(clamp(18px, 4vw, 44px), calc(16px + var(--safe-right)))
    max(28px, calc(20px + var(--safe-bottom)))
    max(clamp(18px, 4vw, 44px), calc(16px + var(--safe-left)));
  background:
    radial-gradient(circle at top left, rgba(49, 232, 224, 0.08), transparent 20rem),
    linear-gradient(180deg, #081522 0%, #0b1925 100%);
}

.legal-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 22, 33, 0.88);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: clamp(18px, 3vw, 28px);
}

.legal-card {
  padding: clamp(15px, 2.5vw, 22px);
}

.legal-hero h1,
.legal-card h2 {
  margin: 0;
}

.legal-hero h1 {
  font-size: clamp(28px, 4.6vw, 42px);
}

.legal-hero p,
.legal-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.legal-meta {
  margin-top: 8px;
  color: rgba(167, 184, 198, 0.72);
  font-size: 12px;
}

.legal-card h2 {
  margin-bottom: 8px;
  font-size: clamp(16px, 2vw, 21px);
}

.legal-card p + p {
  margin-top: 8px;
}

.legal-copyright {
  padding: 4px 0 2px;
  text-align: center;
  color: rgba(167, 184, 198, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forgot-section {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

input {
  padding: 0 11px;
}

select {
  padding: 0 10px;
  appearance: none;
  color-scheme: dark;
}

option {
  color: #f6fbff;
  background: #102331;
}

input:focus,
select:focus {
  border-color: rgba(49, 232, 224, 0.68);
  box-shadow: 0 0 0 4px rgba(49, 232, 224, 0.12);
}

.input-wrap {
  position: relative;
}

.input-wrap [data-lucide] {
  position: absolute;
  top: 13px;
  left: 11px;
  color: var(--muted);
}

.input-wrap input {
  padding-left: 38px;
}

.fuel-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fuel-option {
  min-height: 62px;
  padding: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: left;
}

.fuel-option span,
.fuel-option small {
  display: block;
}

.fuel-option span {
  font-size: 12px;
  font-weight: 900;
}

.fuel-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.fuel-option.active {
  color: #071019;
  border-color: transparent;
  background: var(--green);
}

.fuel-option.active small {
  color: rgba(7, 16, 25, 0.72);
}

.field-grid,
.account-layout,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.freshness-panel,
.status-banner,
.account-note,
.admin-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 39, 53, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.account-note.is-ok {
  border-color: rgba(146, 240, 47, 0.28);
  background: linear-gradient(180deg, rgba(146, 240, 47, 0.12), rgba(18, 39, 53, 0.92));
}

.profile-dashboard {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (max-width: 920px) {
  .profile-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.settings-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 39, 53, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 10px;
  align-self: start;
  height: fit-content;
}

.alerts-list {
  display: grid;
  gap: 12px;
}

.alerts-pref-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(49, 232, 224, 0.16);
  border-radius: var(--radius);
  background: rgba(14, 31, 43, 0.74);
  color: var(--muted);
  font-size: 12px;
}

.settings-card-embedded {
  margin: 0;
}

.alerts-pref-card.is-disabled {
  opacity: 0.72;
}

.alerts-pref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.alerts-pref-grid .admin-input {
  margin-top: 6px;
}

.profile-summary {
  display: grid;
  gap: 4px;
  padding: 2px 0 0;
}

.profile-summary strong {
  display: block;
  margin-top: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.profile-summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.profile-name-field {
  display: grid;
  gap: 6px;
}

.profile-name-field input {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.profile-name-field input::placeholder {
  color: rgba(246, 251, 255, 0.42);
}

.profile-name-field input:focus {
  box-shadow: none;
}

body[data-section-page="account"] .settings-card:first-child {
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.toggle-row > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.toggle-row strong {
  font-size: 12px;
}

.switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.switch-ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  transition: background 160ms ease, border-color 160ms ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 160ms ease, background 160ms ease;
}

.switch input:focus-visible + .switch-ui {
  border-color: rgba(49, 232, 224, 0.68);
  box-shadow: 0 0 0 4px rgba(49, 232, 224, 0.12);
}

.switch input:checked + .switch-ui {
  border-color: rgba(146, 240, 47, 0.42);
  background: rgba(146, 240, 47, 0.18);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(20px);
  background: var(--green);
}

.switch input:disabled {
  cursor: not-allowed;
}

.switch input:disabled + .switch-ui {
  opacity: 0.58;
}

.push-state-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 2px 10px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.push-state-chip.is-on {
  border-color: rgba(146, 240, 47, 0.42);
  background: rgba(146, 240, 47, 0.18);
  color: var(--green);
}

.push-state-chip.is-off {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 240, 243, 0.82);
}

.admin-tabs {
  margin-top: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  gap: 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-tab {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab.active {
  background: rgba(49, 232, 224, 0.14);
  border-color: rgba(49, 232, 224, 0.28);
  color: var(--text);
}

.admin-tab-panel {
  margin-top: 12px;
}

.admin-pwa-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-pwa-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (max-width: 920px) {
  .admin-pwa-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.admin-grid.admin-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.maintenance-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.maintenance-indicator.is-on {
  border-color: rgba(255, 154, 162, 0.42);
  background: rgba(255, 154, 162, 0.1);
}

.maintenance-indicator.is-off {
  border-color: rgba(146, 240, 47, 0.42);
  background: rgba(146, 240, 47, 0.1);
}

.freshness-panel div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.freshness-panel p,
.admin-copy,
.account-note,
.auth-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.admin-db-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-db-status.is-ok {
  color: #92f74d;
}

.admin-db-status.is-error {
  color: #ff9aa2;
}

.results-zone {
  min-height: 640px;
  padding-top: 6px;
}

.results-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin-bottom: 12px;
  gap: 8px;
}

.results-toolbar > div {
  width: 100%;
  min-width: 0;
}

.results-toolbar-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.results-toolbar .toolbar-meta {
  justify-content: flex-end;
  gap: 8px;
}

.results-toolbar .toolbar-meta-copy {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: auto;
  width: auto;
  white-space: nowrap;
}

.results-toolbar-main .toolbar-meta-actions {
  margin-left: 0;
  justify-content: flex-end;
}

.results-toolbar .live-updated-chip,
.results-toolbar .live-refresh-chip {
  max-width: 100%;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
}

.status-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
}

.station-list,
.favorite-grid,
.admin-list {
  display: grid;
  gap: 10px;
}

.station-list,
.favorite-grid {
  position: relative;
}

.opening-price-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: calc(var(--radius) + 2px);
  pointer-events: none;
}

.opening-price-overlay-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 360px);
  padding: 16px 18px;
  border: 1px solid rgba(92, 220, 224, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(10, 23, 32, 0.95), rgba(16, 39, 54, 0.9)),
    radial-gradient(circle at top right, rgba(49, 232, 224, 0.2), transparent 48%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  animation: opening-price-card-float 1.7s ease-in-out infinite;
  overflow: hidden;
}

.opening-price-overlay-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(141, 240, 47, 0.08));
  opacity: 0.65;
  pointer-events: none;
}

.opening-price-overlay-card::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-18deg);
  animation: opening-price-card-sheen 1.9s ease-in-out infinite;
  pointer-events: none;
}

.opening-price-overlay-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.opening-price-overlay-kicker {
  color: rgba(151, 238, 242, 0.92);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opening-price-overlay-card strong {
  color: #f4fbff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.opening-price-overlay-copy span:last-child {
  color: rgba(231, 241, 247, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .opening-price-overlay {
    padding: 14px;
  }

  .opening-price-overlay-card {
    width: min(100%, 260px);
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .opening-price-overlay-copy span:last-child {
    font-size: 11px;
  }
}

.opening-price-overlay-spinner {
  z-index: 1;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.opening-price-overlay-spinner::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 2px solid rgba(49, 232, 224, 0.12);
  border-top-color: rgba(49, 232, 224, 0.92);
  border-right-color: rgba(141, 240, 47, 0.82);
  animation: opening-price-spin 0.95s linear infinite;
}

.opening-price-overlay-spinner > span {
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(160, 245, 246, 0.95), rgba(49, 232, 224, 0.32));
  box-shadow: 0 0 18px rgba(49, 232, 224, 0.3);
}

.station-list.is-opening-refresh .station-row,
.favorite-grid.is-opening-refresh .station-row {
  pointer-events: none;
}

.station-list.is-opening-refresh .price-block strong,
.favorite-grid.is-opening-refresh .price-block strong,
.station-list.is-opening-refresh .price-trend,
.favorite-grid.is-opening-refresh .price-trend,
body.is-opening-price-mask [data-brand-ticker] .ticker-price,
body.is-opening-price-mask .live-logo-price strong {
  filter: blur(9px);
  opacity: 0.34;
  transform: translateZ(0);
  transition: filter 180ms ease, opacity 180ms ease;
}

.station-list.is-opening-refresh .price-block .price-label,
.favorite-grid.is-opening-refresh .price-block .price-label {
  opacity: 0.6;
}

.station-list.is-opening-refresh .price-block::after,
.favorite-grid.is-opening-refresh .price-block::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  width: min(110px, 72%);
  height: 30px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(49, 232, 224, 0.18), rgba(255, 255, 255, 0.04));
  opacity: 0.72;
  filter: blur(0.4px);
  animation: opening-price-sheen 1.2s ease-in-out infinite;
}

.station-list.is-soft-refresh .station-row,
.favorite-grid.is-soft-refresh .station-row {
  animation: none;
  transition: none;
}

.station-list.is-opening-refresh .station-row,
.favorite-grid.is-opening-refresh .station-row,
.station-list.is-soft-refresh .station-row,
.favorite-grid.is-soft-refresh .station-row {
  animation: none;
}

.station-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.2fr) minmax(180px, 0.7fr) 52px;
  grid-template-areas: "logo main price fav";
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 37, 51, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  animation: row-in 280ms ease both;
  cursor: pointer;
}

.station-row .brand-mark,
.station-row .station-main,
.station-row .station-main *,
.station-row .price-block,
.station-row .price-block * {
  cursor: pointer;
}

.station-row:hover {
  transform: translateY(-2px);
  border-color: rgba(65, 205, 214, 0.3);
  background: rgba(23, 43, 59, 0.98);
}

.station-row.is-closed {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.station-row.is-closed:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.station-row.is-closed .station-main,
.station-row.is-closed .brand-mark,
.station-row.is-closed .price-block {
  filter: grayscale(1) blur(1.6px);
}

.station-row.is-closed .fav-button,
.station-row.is-closed .station-closed-chip,
.station-row.is-closed .pricecheck-chip {
  filter: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  grid-area: logo;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: #f3f7fa;
  border: 1px solid rgba(196, 210, 221, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-weight: 900;
  color: var(--cyan);
}

.brand-mark span {
  opacity: 1;
  transition: opacity 140ms ease;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: transparent;
}

.brand-mark.has-logo span {
  opacity: 0;
}

.station-main strong,
.price-block strong {
  display: block;
}

.station-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.station-closed-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #ff9f9f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.station-main span,
.station-main small,
.price-block .price-label {
  color: var(--muted);
  font-size: 11px;
}

.station-main small {
  display: block;
  margin-top: 5px;
}

.pricecheck-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #b8c4cf;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.price-block {
  grid-area: price;
  text-align: right;
  position: relative;
  min-height: 58px;
  padding-bottom: 16px;
}

.price-block strong {
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 0;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.station-row.is-closed .price-block strong,
.station-row.is-closed .price-block[data-fuel="e10"] strong,
.station-row.is-closed .price-block[data-fuel="diesel"] strong {
  color: rgba(245, 247, 250, 0.44);
}

.price-block .price-main {
  display: inline-block;
}

.price-block sup.price-last {
  font-size: 0.56em;
  line-height: 1;
  position: relative;
  top: -0.34em;
  margin-left: 1px;
}

.price-block[data-fuel="e10"] strong {
  color: var(--cyan);
}

.price-block[data-fuel="diesel"] strong {
  color: var(--orange);
}

.price-trend {
  position: absolute;
  right: 0;
  bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.price-trend-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.price-trend.is-up {
  color: #ff8e8e;
}

.price-trend.is-down {
  color: #c9fb97;
}

.station-row.is-closed .price-trend {
  opacity: 0.55;
}

.price-trend-since {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

button.icon-button.fav-button.active {
  color: #ffd54a;
  background: rgba(255, 213, 74, 0.16);
  border-color: rgba(255, 213, 74, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 74, 0.22);
}

button.icon-button.fav-button.active [data-lucide] {
  color: #ffd54a;
  stroke: #ffd54a;
  fill: rgba(255, 213, 74, 0.2);
}

.account-band,
.help-band,
.admin-band {
  padding: 30px clamp(18px, 4vw, 56px) 42px;
}

.favorites-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.help-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.help-intro {
  max-width: 64rem;
  margin-top: 8px;
}

.help-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.account-quicklinks {
  margin: 10px 0 14px;
}

.account-quicklinks .help-chip {
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.account-quicklinks .help-chip:hover,
.account-quicklinks .help-chip:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  outline: none;
}

.help-grid {
  column-count: 2;
  column-gap: 14px;
}

@media (max-width: 1100px) {
  .help-grid {
    column-count: 1;
  }
}

.help-card,
.help-faq-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 39, 53, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  break-inside: avoid;
}

.help-card-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.help-card-head [data-lucide] {
  color: var(--cyan);
}

.help-card p,
.help-faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.help-card p + p,
.help-faq-item p + p {
  margin-top: 2px;
}

.help-faq {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.help-faq-item strong {
  font-size: 14px;
}

.help-status {
  margin-top: 16px;
}

.favorites-live-copy {
  margin-top: 8px;
  max-width: 44rem;
}

.profile-form,
.account-note,
.admin-panel {
  max-width: 640px;
}

.profile-form.profile-dashboard,
.profile-form.profile-dashboard .settings-card {
  max-width: none;
}

.favorites-updated {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  margin-top: 8px;
  margin-bottom: 12px;
  width: fit-content;
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  line-height: 1;
}

[data-favorites-updated] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.live-time-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.live-updated-chip,
.live-refresh-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.live-updated-chip {
  color: var(--text);
}

.live-refresh-chip .pulse {
  width: 8px;
  height: 8px;
}

.favorites-toolbar .toolbar-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-input {
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(9, 21, 31, 0.9);
  color: var(--text);
  padding: 0 12px;
}

select.admin-input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a9b8c6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}

.icon-button.is-loading [data-lucide="refresh-cw"] {
  animation: spin 0.8s linear infinite;
}

.admin-panel {
  margin-top: 0;
  display: grid;
  gap: 12px;
}

.admin-panel > * {
  min-width: 0;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-row .admin-db-status {
  margin: 0;
  flex: 1 1 220px;
  min-width: 0;
}

.admin-mini-button {
  width: auto;
  padding: 7px 9px;
}

.admin-mini-button [data-lucide] {
  width: 16px;
  height: 16px;
}

.admin-api-button {
  min-width: 116px;
  padding: 7px 10px;
  font-weight: 900;
}

.admin-api-button.is-loading {
  opacity: 0.86;
  cursor: wait;
}

.admin-api-button.is-loading [data-lucide] {
  animation: spin 0.9s linear infinite;
}

.admin-api-button:disabled {
  opacity: 0.72;
}

.admin-users-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.favorite-history-periods {
  gap: 8px;
  flex-wrap: wrap;
}

.favorite-history-periods .secondary-button.is-active {
  border-color: rgba(82, 248, 221, 0.38);
  background: rgba(82, 248, 221, 0.12);
  color: var(--text);
}

.favorite-history-date-label {
  color: var(--text);
  font-weight: 700;
}

.admin-users-bulk {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.admin-users-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-users-bulk-actions .secondary-button,
.admin-users-bulk-actions .danger-button {
  padding-left: 10px;
  padding-right: 10px;
}

.admin-users-bulk-meta {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.admin-users-table {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.admin-users-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-users-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.admin-users-check {
  display: grid;
  place-items: center;
}

.admin-users-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.admin-users-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-users-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.admin-users-topline strong {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-users-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-left: auto;
}

.admin-users-row .admin-role-select {
  height: 30px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
}

.admin-users-subline {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.admin-alert-profile-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.admin-alert-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
}

.admin-alert-score.is-warm {
  border-color: rgba(49, 232, 224, 0.22);
  background: rgba(49, 232, 224, 0.11);
}

.admin-alert-score.is-strong {
  border-color: rgba(146, 240, 47, 0.3);
  background: rgba(146, 240, 47, 0.16);
  color: var(--green);
}

.admin-alert-profile-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.admin-alert-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-alert-profile-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 19, 27, 0.36);
}

.admin-alert-profile-card-wide {
  grid-column: 1 / -1;
}

.admin-alert-profile-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-alert-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 30px;
}

.admin-alert-profile-pill strong {
  font-size: 11px;
  text-transform: capitalize;
}

.admin-alert-profile-pill small {
  color: var(--muted);
  font-size: 11px;
}

.admin-alert-profile-empty {
  color: var(--muted);
  font-size: 12px;
}

.admin-users-email {
  display: block;
  color: var(--muted);
  font-size: 11px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}

.admin-users-date {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.admin-users-meta {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-users-role {
  appearance: none;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1.2;
  flex: 0 0 auto;
  cursor: pointer;
}

.admin-users-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

@media (max-width: 920px) {
  .admin-users-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-users-head {
    display: none;
  }
  .admin-users-row {
    align-items: start;
  }
  .admin-users-check {
    display: none;
  }
  .admin-users-topline {
    gap: 8px;
  }
  .admin-users-inline-actions {
    justify-content: flex-end;
    gap: 6px;
  }
  .admin-users-actions {
    gap: 6px;
  }
  .admin-alert-profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.admin-users-row .admin-password-reset {
  grid-column: 1 / -1;
}

.admin-online-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.admin-online-item {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-online-item strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-online-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.admin-audit-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(60vh, 620px);
  overflow-y: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
}

.admin-audit-item {
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  display: block;
  min-width: 0;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-audit-item strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-audit-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-audit-card {
  display: block;
  overflow: hidden;
}

.admin-audit-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: start;
  gap: 12px;
  color: var(--text);
  min-height: 0;
}

.admin-audit-summary-main {
  display: grid;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
}

.admin-audit-summary-side {
  min-width: 0;
  text-align: right;
}

.admin-audit-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  max-width: 100%;
}

.admin-audit-date {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0.92;
}

.admin-audit-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0;
}

.admin-audit-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(169, 205, 224, 0.14);
  background: rgba(122, 160, 184, 0.08);
  color: rgba(224, 237, 244, 0.82);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.admin-audit-details {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(169, 205, 224, 0.1);
  margin-top: 10px;
}

.admin-audit-detail-row {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .admin-audit-item {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .admin-audit-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .admin-audit-summary-side {
    flex: 0 0 auto;
    text-align: left;
  }

  .admin-audit-title {
    font-size: 12px;
    text-wrap: pretty;
  }

  .admin-audit-date {
    font-size: 10px;
  }
}

.favorite-history-day {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.favorite-history-day-head {
  display: grid;
  gap: 4px;
}

.favorite-history-day-head strong {
  font-size: 13px;
  text-transform: capitalize;
}

.favorite-history-day-head small {
  color: var(--muted);
  font-size: 11px;
}

.favorite-history-day-list {
  display: grid;
  gap: 8px;
}

.cron-run-line {
  display: block;
}

.cron-run-line + .cron-run-line {
  margin-top: 3px;
}

.cron-run-item.is-push-sent {
  border-color: rgba(141, 240, 47, 0.28);
  box-shadow: inset 0 0 0 1px rgba(141, 240, 47, 0.12);
}

.cron-run-item.is-alert-run {
  background: rgba(255, 255, 255, 0.055);
}

.cron-run-line.is-alerts {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.cron-run-line.is-alerts-active {
  border-color: rgba(94, 207, 255, 0.35);
  background: rgba(94, 207, 255, 0.12);
  color: #dbf7ff;
  font-weight: 800;
}

.cron-run-line.is-alerts-none {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.cron-run-line.is-push {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.cron-run-line.is-push-sent {
  border-color: rgba(141, 240, 47, 0.35);
  background: rgba(141, 240, 47, 0.12);
  color: #eaffd8;
  font-weight: 800;
}

.cron-run-line.is-push-none {
  border-color: rgba(255, 211, 138, 0.25);
  background: rgba(255, 211, 138, 0.08);
  color: rgba(255, 211, 138, 0.95);
  font-weight: 700;
}

.server-health-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.server-health-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.server-health-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 4px;
}

.server-health-dot.is-ok {
  background: #92f74d;
}

.server-health-dot.is-warn {
  background: #ffd38a;
}

.server-health-dot.is-error {
  background: #ff9aa2;
}

.server-health-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.server-health-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-health-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-health-actions {
  margin-top: 10px;
}

.cron-filter-toggle {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.cron-filter-toggle span {
  font-weight: 600;
}

@media (max-width: 720px) {
  .server-health-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.admin-user {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.admin-user-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.admin-user-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-user-email {
  display: block;
  color: var(--muted);
  font-size: 11px;
  word-break: break-word;
}

.admin-password-reset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.admin-password-input {
  height: 34px;
}

.admin-protected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  width: fit-content;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
}

.admin-protected-badge svg {
  width: 13px;
  height: 13px;
}

.admin-role-select {
  width: auto;
  height: 30px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
}

.admin-textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  padding: 7px 11px;
  resize: vertical;
  min-height: 78px;
}

.admin-textarea:focus {
  border-color: rgba(49, 232, 224, 0.68);
  box-shadow: 0 0 0 4px rgba(49, 232, 224, 0.12);
}

.admin-api-log {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(246, 251, 255, 0.9);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  line-height: 1.45;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
}

html.is-maintenance,
html.is-maintenance body {
  overflow: hidden;
}

.maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 16, 25, 0.92);
  backdrop-filter: blur(6px);
}

.maintenance-card {
  width: min(92vw, 520px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.maintenance-card h2 {
  margin-top: 6px;
  margin-bottom: 10px;
}

.maintenance-card .secondary-button {
  margin-top: 16px;
  width: 100%;
}

.auth-modal {
  width: min(92vw, 430px);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1721;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  max-height: calc(100svh - 32px);
  overflow: auto;
}

.auth-modal::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

body.auth-modal-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9996;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.auth-modal:not([open]):not(.is-open) {
  display: none;
}

.auth-modal[open],
.auth-modal.is-open {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 9999;
}

.auth-modal-brand {
  display: grid;
  place-items: center;
  margin: 2px 0 12px;
}

.auth-modal .modal-close-form {
  position: absolute;
  top: 14px;
  right: 14px;
  margin-bottom: 0;
  z-index: 2;
}

.auth-modal-brand-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 30% 25%, rgba(49, 232, 224, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(10px) scale(0.94);
}

.auth-modal-brand-mark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.auth-modal[open] .auth-modal-brand-mark,
.auth-modal.is-open .auth-modal-brand-mark {
  animation: auth-logo-fade-in 560ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
}

.pricealert-inbox-modal {
  width: min(94vw, 720px);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 158, 24, 0.1), transparent 18rem),
    radial-gradient(circle at top right, rgba(49, 232, 224, 0.08), transparent 18rem),
    linear-gradient(180deg, #0a1620 0%, #0c1b27 100%);
  box-shadow: var(--shadow);
  padding: 22px;
  max-height: calc(100svh - 32px);
  overflow: auto;
}

.pricealert-inbox-modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.pricealert-inbox-head {
  margin-bottom: 14px;
}

.pricealert-inbox-head h3 {
  margin: 6px 0 4px;
  font-size: clamp(20px, 4vw, 28px);
}

.pricealert-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricealert-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.pricealert-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.pricealert-card-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pricealert-card .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.pricealert-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pricealert-card-title strong {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricealert-card-title span {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricealert-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.pricealert-card-meta .meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pricealert-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  align-items: center;
}

.pricealert-card-message {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.pricealert-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.pricealert-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.pricealert-price-line {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.pricealert-price-old {
  color: #ff6b6b;
}

.pricealert-price-new {
  color: #8df02f;
}

.pricealert-price-old .price-main,
.pricealert-price-new .price-main {
  display: inline-block;
}

.pricealert-price-old sup.price-last,
.pricealert-price-new sup.price-last {
  font-size: 0.62em;
  line-height: 1;
  position: relative;
  top: -0.32em;
  margin-left: 1px;
}

.pricealert-price-arrow {
  opacity: 0.8;
  margin: 0 6px;
}

.pricealert-price-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pricealert-price-unit {
  margin-left: 2px;
}

.pricealert-price-unit {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.pricealert-price-value {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.pricealert-price-row .pricealert-price-value.old {
  color: rgba(246, 251, 255, 0.82);
}

.pricealert-price-row.down .pricealert-price-value.new {
  color: var(--green);
}

.pricealert-price-row.up .pricealert-price-value.new {
  color: var(--orange);
}

@media (max-width: 520px) {
  .pricealert-inbox-modal {
    padding: 16px;
  }
  .pricealert-card-meta .meta-pill-kind {
    display: none;
  }
  .pricealert-card-head {
    padding: 12px 12px 10px;
  }
  .pricealert-card-body {
    padding: 12px;
  }
  .pricealert-price-line {
    font-size: 12px;
  }
  .pricealert-price-arrow {
    margin: 0 4px;
  }
  .pricealert-price-value {
    font-size: 16px;
  }
}

.pricealert-inbox-empty {
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 6px;
  justify-items: start;
}

.pricealert-inbox-empty [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.pricealert-inbox-empty strong {
  font-size: 16px;
  font-weight: 950;
}

.pricealert-inbox-empty span {
  color: var(--muted);
}

.station-modal {
  width: min(94vw, 940px);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(49, 232, 224, 0.08), transparent 18rem),
    linear-gradient(180deg, #0a1620 0%, #0c1b27 100%);
  box-shadow: var(--shadow);
  padding: 16px;
  max-height: min(calc(100svh - 14px), 680px);
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 9998;
}

.station-modal:not(.is-open) {
  display: none;
}

.station-modal.is-open {
  display: block;
}

body.station-modal-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.station-modal-head {
  margin-bottom: 10px;
}

.station-modal-head h3 {
  margin: 4px 0 2px;
  font-size: clamp(22px, 4vw, 32px);
}

.station-modal-subtitle {
  margin: 0;
  color: var(--muted);
}

.station-modal-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
}

.station-modal-status {
  margin-bottom: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.station-modal-status.is-error {
  border-color: rgba(255, 92, 122, 0.3);
  color: #ffc4cf;
}

.station-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 10px;
}

.station-modal-panel {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.station-modal-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.station-modal-panel-head span {
  color: var(--muted);
  font-size: 12px;
}

.station-hours-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.station-hours-toggle-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.station-hours-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}

.station-hours-toggle.is-open svg {
  transform: rotate(180deg);
  color: var(--text);
}

.station-modal-price {
  margin-bottom: 6px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.station-modal[data-fuel="e5"] .station-modal-price,
.station-modal[data-fuel="e5"] [data-station-modal-fuel] {
  color: var(--green);
}

.station-modal[data-fuel="e10"] .station-modal-price,
.station-modal[data-fuel="e10"] [data-station-modal-fuel] {
  color: var(--cyan);
}

.station-modal[data-fuel="diesel"] .station-modal-price,
.station-modal[data-fuel="diesel"] [data-station-modal-fuel] {
  color: var(--orange);
}

.station-modal[data-fuel="e5"] .history-range-button.active {
  border-color: rgba(141, 240, 47, 0.34);
  background: rgba(141, 240, 47, 0.12);
  color: var(--green);
}

.station-modal[data-fuel="e10"] .history-range-button.active {
  border-color: rgba(49, 232, 224, 0.28);
  background: rgba(49, 232, 224, 0.12);
  color: var(--cyan);
}

.station-modal[data-fuel="diesel"] .history-range-button.active {
  border-color: rgba(255, 158, 24, 0.34);
  background: rgba(255, 158, 24, 0.12);
  color: var(--orange);
}

.station-modal-price .price-main,
.station-modal-price sup.price-last {
  color: inherit;
}

.station-modal-chart {
  min-height: 170px;
}

.station-chart-shell {
  position: relative;
}

.station-chart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.history-range-toggle {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.history-range-button {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(10, 20, 30, 0.82);
  color: rgba(214, 224, 233, 0.76);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.history-range-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  transform: translateY(-1px);
}

.history-range-button.active {
  border-color: rgba(49, 232, 224, 0.28);
  background: rgba(49, 232, 224, 0.12);
  color: var(--cyan);
}

.station-fuel-toggle {
  margin-left: auto;
  justify-content: flex-end;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.station-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.station-chart-area {
  fill: url(#stationChartFill);
}

.station-chart-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.station-chart-crosshair {
  stroke: rgba(126, 244, 238, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.station-chart-vgrid,
.station-chart-hgrid {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.station-chart-vgrid.is-strong,
.station-chart-hgrid.is-strong {
  stroke: rgba(49, 232, 224, 0.1);
}

.station-chart-tick {
  fill: rgba(200, 214, 226, 0.58);
  font-size: 9px;
  font-weight: 700;
}

.station-chart-ytick {
  fill: rgba(200, 214, 226, 0.52);
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: rgba(8, 19, 29, 0.9);
  stroke-width: 3.5;
  stroke-linejoin: round;
}

.station-chart-point {
  fill: #7ef4ee;
  stroke: rgba(8, 19, 29, 0.82);
  stroke-width: 1.8;
  transition: r 0.15s ease, fill 0.15s ease, stroke 0.15s ease;
}

.station-chart-point.is-active {
  r: 4.8;
  fill: #ffffff;
  stroke: rgba(49, 232, 224, 0.88);
}

.station-chart-point-hit {
  fill: transparent;
  stroke: transparent;
  cursor: crosshair;
}

.station-chart-tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
  pointer-events: none;
  min-width: 118px;
  padding: 8px 10px;
  border: 1px solid rgba(126, 244, 238, 0.22);
  border-radius: 12px;
  background: rgba(7, 17, 27, 0.94);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 2px;
  z-index: 2;
}

.station-chart-tooltip strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.station-chart-tooltip span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.station-chart-footer {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.station-chart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.station-chart-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(224, 232, 239, 0.86);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.station-chart-badge-range {
  color: var(--text);
  background: rgba(82, 248, 221, 0.09);
  border-color: rgba(82, 248, 221, 0.16);
}

.station-chart-badge-minmax {
  color: var(--muted);
}

.station-chart-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

.station-open-state {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.station-open-state.is-open {
  background: rgba(141, 240, 47, 0.12);
  color: #c9fb97;
}

.station-open-state.is-closed {
  background: rgba(255, 92, 122, 0.12);
  color: #ffc2cd;
}

.station-modal-hours {
  display: grid;
  gap: 10px;
}

.station-hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.station-hours-item strong {
  font-size: 12px;
}

.station-hours-item span {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.modal-close-form {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.auth-tabs button {
  height: 40px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #071019;
  background: var(--green);
}

@keyframes auth-logo-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes live-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(141, 240, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(141, 240, 47, 0);
  }
}

@keyframes opening-price-pulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(49, 232, 224, 0.3);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 9px rgba(49, 232, 224, 0);
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(49, 232, 224, 0);
  }
}

@keyframes opening-price-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes opening-price-card-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.26),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  }
  50% {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
      0 26px 56px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  }
}

@keyframes opening-price-card-sheen {
  0%,
  100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  35% {
    opacity: 0;
  }
  55% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(420%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes opening-price-sheen {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.48;
  }
  50% {
    transform: translateX(-8px);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-modal-brand-mark {
    opacity: 1;
    transform: none;
  }

  .auth-modal[open] .auth-modal-brand-mark,
  .auth-modal.is-open .auth-modal-brand-mark {
    animation: none;
  }

  .opening-price-overlay-pulse,
  .opening-price-overlay-card,
  .opening-price-overlay-card::after,
  .opening-price-overlay-spinner::before,
  .station-list.is-opening-refresh .price-block::after,
  .favorite-grid.is-opening-refresh .price-block::after {
    animation: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes board-in {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

button.fav-button {
  grid-area: fav;
}

.station-main {
  grid-area: main;
}

@media (max-width: 980px) {
  .desktop-nav,
  .ghost-button span {
    display: none;
  }

  .pricealert-top-button:not([hidden]) {
    display: inline-flex !important;
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
  }

  .pricealert-top-button span:not(.pricealert-badge) {
    display: none;
  }

  .pwa-banner {
    bottom: calc(10px + var(--safe-bottom));
    width: calc(100% - 20px);
    max-width: calc(100vw - 20px);
  }

  .install-banner.is-visible + .update-banner.is-visible,
  .install-banner:not([hidden]) + .update-banner.is-visible {
    bottom: calc(98px + var(--safe-bottom));
  }

  .favorites-toolbar {
    flex-direction: column;
  }

  .favorites-toolbar .toolbar-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .favorites-updated {
    margin-left: 0;
  }

  .logout-button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - var(--topbar-h));
    gap: 18px;
  }

  .price-monument {
    justify-content: flex-start;
  }

  .price-monument .live-logo {
    width: min(92vw, 620px);
  }

  .price-monument .live-logo img {
    width: 100%;
    max-height: 34svh;
    transform: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .frame-stage {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: max(20px, calc(20px + var(--safe-bottom)));
  }

  .frame-panel {
    overflow: hidden;
  }

  .search-rail {
    position: static;
    padding-top: 0;
    border-top: 0;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .admin-band {
    padding-inline: 18px;
    padding-bottom: 30px;
  }

  .admin-panel {
    gap: 10px;
    padding: 14px;
  }

  .panel-head {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }

  .admin-row {
    align-items: stretch;
  }

  .admin-row .secondary-button,
  .admin-row .danger-button,
  .admin-row .full,
  .admin-api-button {
    width: 100%;
  }

  .admin-mini-button {
    justify-content: center;
    min-height: 38px;
  }

  .admin-api-log {
    max-height: 180px;
  }
}

@media (max-width: 680px) {
  :root {
    --topbar-content-h: 70px;
  }

  .pwa-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    width: calc(100% - 16px);
    max-width: calc(100vw - 16px);
    border-radius: 16px;
  }

  .pwa-banner-icon {
    width: 42px;
    height: 42px;
  }

  .pwa-banner-actions {
    width: 100%;
    justify-content: space-between;
  }

  .pwa-banner-actions .secondary-button,
  .pwa-banner-actions .primary-button {
    flex: 1 1 auto;
  }

  .favorites-live-copy {
    margin-top: 6px;
  }

  body[data-section-page="favorites"] .favorites-toolbar .toolbar-meta [data-refresh],
  body[data-section-page="account"] .favorites-toolbar .toolbar-meta [data-refresh] {
    display: none;
  }

  .help-band {
    padding: 24px 12px 30px;
  }

  .help-hero {
    gap: 12px;
    margin-bottom: 14px;
  }

  .help-chip-row {
    gap: 8px;
  }

  .help-chip {
    width: fit-content;
    padding: 7px 10px;
    font-size: 10px;
  }

  .help-card,
  .help-faq-item {
    padding: 13px;
    border-radius: 16px;
    gap: 8px;
  }

  .help-card p,
  .help-faq-item p {
    font-size: 12px;
  }

  .help-faq-item strong {
    font-size: 13px;
  }

  .station-modal-nav-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .admin-band {
    padding: 22px 12px 28px;
  }

  .admin-panel,
  [data-admin-locked] .status-banner {
    border-radius: 14px;
  }

  .admin-grid {
    gap: 12px;
  }

  .admin-panel {
    padding: 12px;
    gap: 9px;
  }

  .panel-head {
    align-items: flex-start;
  }

  .panel-head span,
  .panel-head strong {
    width: 100%;
  }

  .alerts-pref-grid {
    grid-template-columns: 1fr;
  }

  .admin-copy,
  .admin-user-email {
    font-size: 10px;
    line-height: 1.45;
  }

  .admin-row {
    gap: 8px;
    justify-content: flex-start;
  }

  .admin-row .admin-db-status {
    flex-basis: 100%;
  }

  .admin-row .secondary-button,
  .admin-row .danger-button,
  .admin-row .full,
  .admin-api-button,
  .admin-password-reset .secondary-button {
    width: 100%;
  }

  .admin-user {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    gap: 9px;
    justify-items: stretch;
  }

  .admin-user-name {
    gap: 8px;
    align-items: flex-start;
  }

  .admin-user-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-user-actions .icon-button {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .admin-role-select,
  .admin-input,
  .admin-password-input {
    width: 100%;
    min-height: 38px;
  }

  .admin-password-reset {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 8px;
  }

  .admin-textarea {
    min-height: 92px;
  }

  .admin-api-log {
    padding: 9px;
    font-size: 9px;
    max-height: 160px;
  }

  .results-toolbar,
  .favorites-toolbar {
    gap: 8px;
  }

  .results-toolbar > div:first-child,
  .favorites-toolbar > div:first-child {
    min-width: 0;
  }

  .results-toolbar-top {
    margin-bottom: 6px;
  }

  .results-toolbar .toolbar-meta,
  .favorites-toolbar .toolbar-meta {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
  }

  .results-toolbar .toolbar-meta-copy,
  .favorites-toolbar .toolbar-meta-copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .results-toolbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .results-toolbar-main h2 {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.05;
  }

  .results-toolbar-main .toolbar-meta {
    grid-column: 1 / -1;
    order: 3;
  }

  .results-toolbar-main .toolbar-meta-actions {
    margin-left: 0;
    order: 2;
  }

  .results-toolbar .toolbar-meta-actions,
  .favorites-toolbar .toolbar-meta-actions {
    justify-content: flex-end;
    margin-left: auto;
  }

  .results-toolbar .toolbar-meta .icon-button,
  .favorites-toolbar .toolbar-meta .icon-button {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .favorites-toolbar .toolbar-meta .icon-button.pricealerts-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0 10px;
    gap: 8px;
    font-size: 11px;
  }

  .results-toolbar .live-updated-chip,
  .results-toolbar .live-refresh-chip,
  .favorites-toolbar .live-updated-chip,
  .favorites-toolbar .live-refresh-chip {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .favorites-updated {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding: 7px 10px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
  }

  [data-favorites-updated] {
    width: 100%;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .favorites-updated .pulse {
    flex: 0 0 auto;
  }

  .favorites-updated .live-time-chip {
    margin-left: 4px;
    padding: 2px 6px;
    font-size: 10px;
  }

  body[data-logged-in="true"] {
    --topbar-content-h: 70px;
  }

  body:not([data-logged-in="true"]) {
    --topbar-h: 0px;
  }

  body:not([data-logged-in="true"]) .topbar {
    display: none;
  }

  .topbar {
    min-height: var(--topbar-h);
    padding: var(--safe-top) max(16px, calc(12px + var(--safe-right))) 0 max(16px, calc(12px + var(--safe-left)));
  }

  .brand-stack {
    display: grid;
    gap: 4px;
    align-items: start;
  }

  .brand-title {
    font-size: 17px;
    line-height: 1.1;
  }

  .brand-ticker {
    display: inline-flex;
    padding: 3px 7px;
    font-size: 9px;
    max-width: min(56vw, 280px);
  }

  .brand-ticker .ticker-place {
    display: none;
  }

  .profile-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-logo img {
    width: 46px;
    height: 54px;
  }

  .topbar [data-lucide] {
    width: 20px;
    height: 20px;
  }

  .topbar-actions {
    gap: 12px;
  }

  .topbar-actions .icon-button {
    width: 46px;
    min-height: 46px;
    height: 46px;
  }

  .topbar-actions .ghost-button {
    min-height: 46px;
    padding: 0 14px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .favorites-title-desktop {
    display: none;
  }

  .favorites-title-mobile {
    display: inline;
  }

  .hero {
    padding: 16px max(16px, calc(12px + var(--safe-right))) max(22px, calc(18px + var(--safe-bottom))) max(16px, calc(12px + var(--safe-left)));
    min-height: auto;
  }

  body:not([data-logged-in="true"]) .hero-logo-mobile {
    display: flex;
    justify-content: center;
    margin: 10px 0 8px;
  }

  body:not([data-logged-in="true"]) .hero-logo-mobile .live-logo-price {
    left: 48%;
  }

  h1 {
    font-size: clamp(32px, 13vw, 48px);
  }

  .hero-text {
    margin: 14px 0 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .signup-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .price-monument .live-logo img {
    max-height: 26svh;
  }

  .price-monument {
    display: none;
  }

  body[data-section-page="search"]:not([data-has-search="true"]) {
    overflow: hidden;
  }

  body[data-section-page="search"]:not([data-has-search="true"]) .results-zone {
    display: none;
  }

  .hero-actions,
  .account-layout,
  .admin-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fuel-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fuel-option {
    min-height: 48px;
    padding: 9px;
  }

  .fuel-option span {
    font-size: 11px;
  }

  .search-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .search-actions .full + .full {
    margin-top: 0;
  }

  .search-actions .primary-button,
  .search-actions .secondary-button {
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  [data-hero-location] {
    display: none;
  }

  .station-row {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "logo main fav"
      ". price price";
    min-height: 60px;
    padding: 8px;
    gap: 8px;
    align-items: start;
  }

  .admin-user {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-password-reset {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .price-block {
    text-align: left;
    display: grid;
    grid-template-columns: minmax(60px, auto) minmax(82px, 1fr) minmax(98px, auto);
    align-items: center;
    column-gap: 6px;
    min-height: auto;
    padding-bottom: 0;
    padding-top: 1px;
  }

  .price-block .price-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin: 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .price-block strong {
    position: relative;
    min-width: 0;
    padding: 0 10px;
    justify-self: stretch;
    justify-content: center;
    font-size: clamp(19px, 7.2vw, 26px);
    text-align: center;
  }

  .price-block strong::before,
  .price-block strong::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
    transform: translateY(-50%);
  }

  .price-block strong::before {
    left: 0;
  }

  .price-block strong::after {
    right: 0;
  }

  .station-main strong {
    font-size: 13px;
  }

  .station-main span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10.5px;
  }

  .station-main small {
    display: none;
  }

  .station-list,
  .favorite-grid {
    gap: 8px;
  }

  .price-trend {
    position: static;
    display: grid;
    justify-items: end;
    gap: 1px;
    min-width: 0;
    font-size: 11px;
    line-height: 1.05;
    text-align: right;
    white-space: normal;
  }

  .price-trend-delta {
    justify-self: end;
    font-size: 11px;
    font-weight: 900;
  }

  .price-trend-since {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9.5px;
    font-weight: 700;
  }

  .results-toolbar {
    display: grid;
  }

}

@media (max-width: 760px) {
  .station-modal {
    width: min(96vw, 96vw);
    top: max(2px, calc(var(--safe-top) + 2px));
    left: 50%;
    transform: translateX(-50%);
    max-height: calc(100svh - var(--safe-top) - 6px);
    padding: 10px;
    overflow: hidden;
  }

  .frame-body .station-modal {
    top: 2px;
    max-height: calc(100svh - 4px);
  }

  .station-modal-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .station-modal-chart {
    min-height: 156px;
  }

  .station-chart-controls {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  .history-range-toggle {
    flex-wrap: wrap;
  }

  .station-fuel-toggle {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-left: 0;
    border-left: 0;
  }

  .station-chart-meta {
    gap: 6px;
  }

  .station-chart-badge {
    width: 100%;
    justify-content: center;
  }

  .station-hours-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .topbar-actions {
    gap: 8px;
  }

  .brand-ticker {
    max-width: 100%;
    gap: 6px;
    white-space: normal;
  }

  .brand-ticker .ticker-station {
    min-width: 0;
    flex: 1 1 100%;
  }

  .field-grid,
  .search-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .pwa-banner-actions {
    flex-wrap: wrap;
  }

  .pwa-banner-actions .icon-button {
    margin-left: auto;
  }
}
