/* ============================================================
   style.css — AFAD Deprem Takip
   Modern, sakin ve veri odaklı arayüz
   Haritanın SVG/koordinat katmanına müdahale etmez.
   ============================================================ */

:root {
  color-scheme: dark;

  --bg: #0c0e12;
  --surface: #12151b;
  --surface-2: #171b22;
  --surface-3: #1d222b;
  --surface-hover: #202630;
  --input: #0f1217;

  --text: #f3f5f7;
  --text-secondary: #aeb6c2;
  --text-muted: #727c8a;

  --accent: #7aa2f7;
  --accent-soft: rgba(122, 162, 247, 0.12);
  --accent-border: rgba(122, 162, 247, 0.28);

  --success: #5fcf9a;
  --success-soft: rgba(95, 207, 154, 0.11);
  --warning: #e7b86b;
  --warning-soft: rgba(231, 184, 107, 0.11);
  --danger: #ee7c86;
  --danger-soft: rgba(238, 124, 134, 0.11);

  --border: #252b35;
  --border-strong: #343c48;
  --divider: rgba(255,255,255,0.07);

  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.24);
  --shadow: 0 10px 32px rgba(0,0,0,0.20);
  --transition: 160ms ease;
}

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

html {
  font-size: 14px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
input,
select,
label {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(12, 14, 18, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-left,
.header-right,
.header-logo {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 16px;
  min-width: 0;
}

.header-logo {
  gap: 11px;
  min-width: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
}

.logo-mark span {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--text-secondary);
}

.logo-mark span:nth-child(1) { height: 8px; }
.logo-mark span:nth-child(2) { height: 18px; background: var(--accent); }
.logo-mark span:nth-child(3) { height: 11px; }

.logo-text {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.logo-sub {
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(95, 207, 154, 0.20);
  border-radius: 999px;
  background: var(--success-soft);
  color: #8cddb5;
  font-size: 11px;
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(95, 207, 154, 0.08);
}

.header-right {
  gap: 14px;
  flex: 0 0 auto;
}

.header-source {
  color: var(--text-muted);
  font-size: 11px;
}

.live-clock {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Layout */
.app-layout {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - 68px);
}

.status-bar {
  grid-column: 1 / -1;
  min-height: 38px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f1217;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}

.status-label {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 650;
}

.status-msg {
  color: var(--text-secondary);
}

.status-info .status-label {
  background: var(--accent-soft);
  color: #a8c2ff;
}

.status-success .status-label {
  background: var(--success-soft);
  color: #8cddb5;
}

.status-error .status-label {
  background: var(--danger-soft);
  color: #f2a0a7;
}

/* Sidebar */
.sidebar {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface);
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.sidebar::-webkit-scrollbar,
#quake-list::-webkit-scrollbar {
  width: 7px;
}

.sidebar::-webkit-scrollbar-track,
#quake-list::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
#quake-list::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border: 2px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
}

.sidebar-intro {
  padding: 20px 18px 14px;
  border-bottom: 1px solid var(--divider);
}

.sidebar-intro h2,
.map-title,
.list-title {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-intro-copy {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
}

#error-banner {
  display: none;
  margin: 14px 16px 0;
  padding: 10px 12px;
  border: 1px solid rgba(238, 124, 134, 0.26);
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: #f1a6ad;
  font-size: 11px;
  line-height: 1.5;
}

.limit-warning {
  display: none;
  margin-bottom: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(231, 184, 107, 0.26);
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  color: #e6c690;
  font-size: 11px;
  line-height: 1.5;
}

.limit-bump-btn {
  width: 100%;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(231, 184, 107, 0.3);
  border-radius: 7px;
  background: transparent;
  color: #edc989;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}

.limit-bump-btn:hover {
  background: rgba(231, 184, 107, 0.08);
  border-color: rgba(231, 184, 107, 0.48);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 14px 16px;
}

.stat-card {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

.stat-label {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 550;
}

.stat-value {
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat-value.danger {
  color: #f19aa2;
}

/* Live filter */
.live-filter {
  padding: 3px 16px 17px;
  border-bottom: 1px solid var(--divider);
}

.live-filter-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-filter-header label {
  margin: 0;
}

.live-filter-val {
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: #a8c2ff;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--range-pct, 0%),
    #2b313c var(--range-pct, 0%),
    #2b313c 100%
  );
}

input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(122, 162, 247, 0.5);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(122, 162, 247, 0.5);
  cursor: pointer;
}

/* Filter sections */
.filter-panel {
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-section {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.section-header {
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--divider);
  background: rgba(255,255,255,0.012);
}

.section-index {
  min-width: 22px;
  padding-top: 1px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.section-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 620;
}

.section-header p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 10px;
}

.section-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

fieldset.form-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-group.disabled {
  opacity: 0.42;
  pointer-events: none;
}

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

.form-row-spaced {
  margin-top: 8px;
}

label,
legend {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 550;
}

legend {
  margin-bottom: 6px;
}

.field-note {
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.45;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  background: var(--input);
  color: var(--text);
  font-size: 11px;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

input::placeholder {
  color: #555f6d;
}

input:hover:not(:disabled),
select:hover:not(:disabled) {
  border-color: var(--border-strong);
  background: #11151b;
}

input:focus,
select:focus {
  border-color: rgba(122, 162, 247, 0.62);
  box-shadow: 0 0 0 3px rgba(122, 162, 247, 0.09);
}

input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

select {
  cursor: pointer;
}

select option {
  background: var(--surface-2);
  color: var(--text);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.62;
  filter: invert(1);
  cursor: pointer;
}

/* Radio */
.radio-group {
  display: grid;
  gap: 6px;
}

.radio-option {
  min-height: 32px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input);
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.radio-option:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.radio-option:has(input:checked) {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: #c9d8ff;
}

.radio-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
}

/* Quick date buttons */
.quick-dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.quick-btn {
  min-height: 31px;
  padding: 6px 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 10px;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.quick-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: #c9d8ff;
}

/* Buttons */
.search-actions {
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.btn-primary,
.btn-secondary,
.btn-icon {
  min-height: 36px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 620;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn-primary {
  width: 100%;
  border: 1px solid #8aafff;
  background: #7aa2f7;
  color: #0c1424;
}

.btn-primary:hover {
  background: #89adfa;
}

.btn-primary:active,
.btn-secondary:active,
.btn-icon:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary,
.btn-icon {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
}

.btn-secondary {
  width: 100%;
}

.btn-icon {
  width: 100%;
}

.btn-secondary:hover,
.btn-icon:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
  color: var(--text);
}

.last-update {
  padding: 5px 0 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 9px;
}

.last-update span {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Main */
.main-content {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* Map shell only.
   #map-container aspect ratio and content behavior remain unchanged.
   No SVG selectors or coordinate-related styles are added here. */
.map-section {
  position: relative;
  flex: 0 0 auto;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.map-header,
.list-header {
  min-height: 58px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.map-title,
.list-title {
  font-size: 14px;
}

.map-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Haritanın mevcut oranı korunuyor. */
#map-container {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 295;
  position: relative;
  overflow: hidden;
}

/* Loading overlay: harita geometrisine dokunmaz. */
#loading-spinner {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  background: rgba(12, 14, 18, 0.74);
  backdrop-filter: blur(2px);
}

.spinner-ring {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.spinner-text {
  color: var(--text-secondary);
  font-size: 10px;
}

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

/* List */
.list-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.list-header {
  flex-shrink: 0;
}

.list-actions {
  display: flex;
  align-items: center;
}

.result-count {
  color: var(--text-muted);
  font-size: 10px;
}

.result-count strong {
  color: var(--text-secondary);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

#quake-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.quake-item {
  position: relative;
  min-height: 60px;
  padding: 8px 12px 8px 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.quake-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.quake-item.selected {
  border-color: var(--accent-border);
  background: rgba(122, 162, 247, 0.065);
}

.quake-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.quake-item.selected::before {
  opacity: 1;
}

.qi-mag {
  min-width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid;
  border-radius: 9px;
  background: rgba(255,255,255,0.018);
}

.qi-mag-val {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.qi-mag-type {
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.qi-info {
  flex: 1;
  min-width: 0;
}

.qi-loc {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 610;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qi-meta {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qi-date,
.qi-ago {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.qi-date {
  color: var(--text-secondary);
}

.qi-ago {
  color: var(--text-muted);
}

.qi-depth {
  margin-top: 4px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.qi-tag {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255,255,255,0.045);
  color: var(--text-muted);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}

.qi-id {
  color: #8793a2;
}

.qi-bar {
  position: absolute;
  right: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  height: auto !important;
  border-radius: 2px 0 0 2px;
  opacity: 0.48;
}

.list-load-more {
  width: calc(100% - 20px);
  min-height: 38px;
  margin: 8px 10px 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 10px;
  font-weight: 620;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.list-load-more:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: #c9d8ff;
}

.list-empty {
  min-height: 190px;
  padding: 42px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  text-align: center;
}

.empty-icon {
  margin-bottom: 4px;
  color: var(--border-strong);
  font-size: 26px;
  font-weight: 300;
}

.list-empty p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.list-empty small {
  color: var(--text-muted);
  font-size: 10px;
}

/* map.js tarafından kullanılan animasyon sınıfı aynı bırakıldı. */
.quake-pulse {
  animation: quakePulse 2s ease-out infinite;
}

@keyframes quakePulse {
  0% { r: attr(r px); opacity: 0.6; }
  100% { r: calc(attr(r px) + 12px); opacity: 0; }
}

/* Utility */
.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 1080px) {
  .app-layout {
    grid-template-columns: 292px minmax(0, 1fr);
  }

  .map-legend {
    gap: 7px;
  }
}

@media (max-width: 900px) {
  .header {
    position: relative;
  }

  .app-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
  }

  .sidebar {
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .filter-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .search-actions,
  .last-update {
    grid-column: 1 / -1;
  }

  /* Harita oranı masaüstü ile aynıdır. */
  #map-container {
    aspect-ratio: 900 / 295;
  }
}

@media (max-width: 680px) {
  .header {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .header-source,
  .logo-sub {
    display: none;
  }

  .header-left {
    gap: 10px;
  }

  .header-right {
    gap: 8px;
  }

  .app-layout {
    min-height: calc(100vh - 64px);
  }

  .status-bar {
    padding: 8px 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    display: flex;
  }

  .map-header,
  .list-header {
    min-height: 54px;
    padding: 10px 12px;
  }

  .map-legend {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row-spaced {
    margin-top: 0;
  }

  #quake-list {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .spinner-ring,
  .quake-pulse {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}