:root {
  --bg: #0c0f14;
  --bg-elevated: #141922;
  --bg-card: #1a1f2b;
  --bg-card-hover: #1f2533;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f0f2f5;
  --text-secondary: #8b95a8;
  --text-muted: #5c6578;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.12);
  --yellow: #eab308;
  --yellow-dim: rgba(234, 179, 8, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-h: 0px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #000000;
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 166, 35, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(34, 197, 94, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(0 0 0 / 85%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px 14px;
  padding-top: max(12px, env(safe-area-inset-top));
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

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

.header__icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.4));
}

.header__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.header__actions .btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--text-muted);
}

.header__actions .btn-icon:active {
  background: transparent;
  color: var(--text);
  opacity: 0.75;
}

.header__actions .btn-icon svg {
  width: 18px;
  height: 18px;
}

.header__actions .btn-icon.spinning svg {
  animation: spin 0.8s linear infinite;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-icon:active {
  transform: scale(0.94);
  background: var(--bg-card);
  color: var(--text);
}

.btn-icon.spinning svg {
  animation: spin 0.8s linear infinite;
}

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

/* Filters */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.alert-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 0.8125rem;
  color: #fca5a5;
  line-height: 1.45;
}

.alert-banner--warn {
  background: var(--accent-dim);
  border-color: rgba(245, 166, 35, 0.25);
  color: var(--accent);
}

.alert-banner code {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
}

.filter-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.filter-chip:active {
  transform: scale(0.96);
}

.filter-chip.active {
  background: var(--accent-dim);
  border-color: rgba(245, 166, 35, 0.35);
  color: var(--accent);
}

/* Main */
.main {
  flex: 1;
  padding: 12px 2px 24px;
}

/* Station cards */
.station-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.station-card {
  background: #1a1a1a;
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.station-card:active {
  transform: scale(0.985);
  background: var(--bg-card-hover);
}

.station-card--closed {
  border-color: rgba(167, 139, 250, 0.25);
}

.station-card__closed {
  margin: -4px 0 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
  font-size: 0.8125rem;
  font-weight: 600;
}

.station-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.station-card__info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.station-card__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.station-card__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand-logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  font-size: 1.125rem;
  line-height: 1;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-dot--tatneft { background: #00a651; }
.brand-dot--gazpromneft { background: #0072bc; }
.brand-dot--lukoil { background: #e30613; }
.brand-dot--rosneft { background: #ffd100; }
.brand-dot--teboil { background: #003da5; }
.brand-dot--ptk { background: #ff6600; }
.brand-dot--gazprom { background: #0066b3; }

.station-card__address {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.25;
}

.station-card__chevron {
  color: var(--text-muted);
  flex-shrink: 0;
}

.station-card__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.station-card__msg-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}

.station-card__msg-btn:active {
  background: var(--bg-card);
}

.station-card__msg-btn svg {
  display: block;
}

.station-card__msg-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--accent);
  color: #0c0f14;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.fuel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
}

.fuel-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.fuel-badge__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fuel-badge__status {
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fuel-badge__time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.fuel-badge__limit {
  font-size: 0.6875rem;
  color: var(--accent);
  font-weight: 600;
}

.fuel-badge--yes {
  background: var(--green-dim);
  border-color: rgba(34, 197, 94, 0.2);
}
.fuel-badge--yes .fuel-badge__label { color: var(--text); }
.fuel-badge--yes .fuel-badge__status { color: var(--green); }

.fuel-badge--no {
  background: var(--red-dim);
  border-color: rgba(239, 68, 68, 0.2);
}
.fuel-badge--no .fuel-badge__status { color: var(--red); }

.fuel-badge--unknown {
  background: var(--bg-elevated);
}
.fuel-badge--unknown .fuel-badge__status { color: var(--text-muted); }

.fuel-badge--stale {
  background: var(--yellow-dim);
  border-color: rgba(234, 179, 8, 0.2);
}
.fuel-badge--stale .fuel-badge__status { color: var(--yellow); }

/* Empty & Loading */
.empty-state, .loading {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.empty-state__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.loading__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

.hidden {
  display: none !important;
}

/* Footer */
.footer {
  padding: 16px;
  padding-bottom: max(16px, var(--safe-bottom));
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__views,
.footer__contributors {
  color: var(--text-muted);
  font-weight: 400;
}

.footer__meta {
  margin-top: 4px;
  color: var(--text-secondary);
}

.info-sheet__body {
  padding: 8px 16px 24px;
  padding-bottom: max(24px, var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.info-sheet__body p {
  margin: 0;
}

.info-sheet__body strong {
  color: var(--text);
  font-weight: 600;
}

.sheet--info {
  max-height: 70dvh;
}

/* Bottom sheet */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}

.sheet-overlay.visible {
  opacity: 1;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  max-width: 480px;
  margin: 0 auto;
  background: #000000;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: var(--shadow);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
}

.sheet.visible {
  transform: translateY(0);
}

.sheet--messages {
  max-height: 88dvh;
}

.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}

.messages-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.message-item {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.message-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.message-thread:last-child {
  margin-bottom: 0;
}

.message-item--reply {
  padding: 10px 12px;
  background: var(--bg-elevated);
}

.message-item--fresh {
  border-color: rgba(245, 166, 35, 0.2);
}

.message-item__text {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.message-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.message-item__meta--root {
  align-items: flex-start;
}

.message-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.message-reply-btn {
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

.message-reply-btn:active {
  transform: scale(0.97);
}

.message-replies-toggle {
  display: block;
  width: 100%;
  padding: 8px 12px;
  margin-top: -2px;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.message-replies-toggle:active {
  opacity: 0.85;
}

.message-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
}

.message-replies.hidden {
  display: none;
}

.message-reply-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 2px;
}

.message-reply-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 56px;
}

.message-reply-form__input:focus {
  outline: none;
  border-color: rgba(245, 166, 35, 0.45);
}

.message-reply-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.message-reply-form__cancel,
.message-reply-form__send {
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.message-reply-form__cancel {
  background: transparent;
  color: var(--text-muted);
}

.message-reply-form__send {
  background: var(--accent);
  color: #111;
}

.message-item__time {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.message-like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

.message-like:active {
  transform: scale(0.97);
}

.message-like--active {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.message-like__icon {
  font-size: 0.875rem;
  line-height: 1;
}

.messages-compose {
  flex-shrink: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, var(--safe-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-elevated);
}

.messages-compose__input {
  width: 100%;
  min-height: 44px;
  max-height: 100px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  resize: none;
  outline: none;
}

.messages-compose__input:focus {
  border-color: rgba(245, 166, 35, 0.35);
}

.messages-compose__input::placeholder {
  color: var(--text-muted);
}

.messages-compose__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.messages-compose__counter {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.messages-compose__counter--warn {
  color: var(--accent);
}

.messages-compose__counter--limit {
  color: var(--red);
}

.messages-compose__btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.messages-compose__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sheet__handle {
  width: 36px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sheet__title {
  font-size: 1.0625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet__address {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sheet__body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.report-row:last-child {
  margin-bottom: 0;
}

.report-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.report-section__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.report-section__title--fuels {
  margin-bottom: 12px;
}

.report-section__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.report-row {
  margin-bottom: 16px;
}

.report-row:last-child {
  margin-bottom: 0;
}

.report-row__label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-row__current {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.limit-picker {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.limit-picker.hidden {
  display: none;
}

.limit-picker__label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.limit-picker__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.limit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.limit-chip {
  padding: 8px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.limit-chip:active {
  transform: scale(0.97);
}

.limit-chip--active {
  background: var(--accent-dim);
  border-color: rgba(245, 166, 35, 0.45);
  color: var(--accent);
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.15);
}

.limit-custom {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.limit-custom.hidden {
  display: none;
}

.limit-custom__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

.limit-custom__input:focus {
  outline: none;
  border-color: rgba(245, 166, 35, 0.4);
}

.limit-custom__btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.report-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.report-buttons--single {
  grid-template-columns: 1fr;
}

.report-btn {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #1a1a1a;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}

.report-btn:active {
  transform: scale(0.97);
}

.report-btn--yes:hover,
.report-btn--yes:focus-visible {
  background: var(--green-dim);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.report-btn--no:hover,
.report-btn--no:focus-visible {
  background: var(--red-dim);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red);
}

.report-btn--closed:hover,
.report-btn--closed:focus-visible {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.3);
  color: #c4b5fd;
}

.report-btn--active.report-btn--yes {
  background: var(--green-dim);
  border-color: rgba(34, 197, 94, 0.55);
  color: var(--green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.report-btn--active.report-btn--no {
  background: var(--red-dim);
  border-color: rgba(239, 68, 68, 0.55);
  color: var(--red);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.report-btn--active.report-btn--closed {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.55);
  color: #c4b5fd;
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.2);
}

.report-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(12, 15, 20, 0.82);
  border: none;
  box-shadow: none;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100% - 32px);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  color: #fca5a5;
}

.toast--success {
  color: #86efac;
}

/* Desktop */
@media (min-width: 481px) {
  .app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
