:root {
  --canvas: #faf8ff;
  --surface: #ffffff;
  --surface-hover: #f5f3f0;
  --ink: #1d1533;
  --ink-secondary: rgba(29, 21, 51, 0.55);
  --ink-tertiary: rgba(29, 21, 51, 0.35);
  --ink-muted: rgba(29, 21, 51, 0.18);
  --grape: #753ff3;
  --grape-light: rgba(117, 63, 243, 0.08);
  --grape-border: rgba(117, 63, 243, 0.15);
  --grape-hover: rgba(117, 63, 243, 0.12);
  --mint: #16a34a;
  --mint-bg: rgba(22, 163, 74, 0.08);
  --coral: #e5484d;
  --coral-bg: rgba(229, 72, 77, 0.07);
  --border: rgba(29, 21, 51, 0.08);
  --border-emphasis: rgba(29, 21, 51, 0.14);
  --control-bg: rgba(29, 21, 51, 0.04);
  --control-border: rgba(29, 21, 51, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', ui-monospace, monospace;
  --transition: 150ms ease;
}

.store-lists-content {
  background: var(--canvas);
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Hero banner ── */
.hero-banner {
  position: relative;
  padding: 48px 0 40px;
  margin-bottom: 24px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(165deg, #ece4fb 0%, #e8ddfb 20%, #edddf6 45%, #f2dced 65%, #f0dee8 85%, #ede2e8 100%);
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero-headline .hero-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(29, 21, 51, 0.6);
  margin: 0 auto;
  max-width: 480px;
  font-weight: 400;
}
.hero-tagline a {
  color: var(--grape);
  text-decoration: none;
  font-weight: 500;
}
.hero-tagline a:hover { text-decoration: underline; }

/* ── Controls ── */
.controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 32px;
  max-width: 1440px;
  margin: 0 auto 16px;
}

.search-wrap {
  position: relative;
  flex: 0 1 320px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-tertiary);
  pointer-events: none;
}

.store-lists-content input[type="text"] {
  font-family: var(--font-sans);
  background: var(--surface);
  border: 1px solid var(--control-border);
  color: var(--ink);
  padding: 9px 12px 9px 36px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
}
.store-lists-content input[type="text"]:focus { border-color: var(--grape); }
.store-lists-content input[type="text"]::placeholder { color: var(--ink-tertiary); }
.store-lists-content ::placeholder { color: var(--ink-tertiary); }

.store-lists-content select {
  font-family: var(--font-sans);
  background: var(--surface);
  border: 1px solid var(--control-border);
  color: var(--ink);
  padding: 9px 28px 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%231d1533' stroke-opacity='0.4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition);
}
.store-lists-content select:focus { border-color: var(--grape); }

.stats {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── Table ── */
.table-wrap {
  padding: 0 32px 48px;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: auto;
}
.table-wrap:has(+ .usage-notice) { padding-bottom: 0; }

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table th {
  background: var(--canvas);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-emphasis);
  white-space: nowrap;
}

.data-table th.num {
  text-align: right;
}

.data-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}
.data-table th.sortable:hover {
  color: var(--ink);
}
.data-table th .sort-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  opacity: 0;
  transition: opacity var(--transition);
}
.data-table th .sort-arrow.asc {
  border-bottom: 4.5px solid currentColor;
  border-top: none;
}
.data-table th .sort-arrow.desc {
  border-top: 4.5px solid currentColor;
  border-bottom: none;
}
.data-table th.sortable:hover .sort-arrow {
  opacity: 0.35;
}
.data-table th.active .sort-arrow {
  opacity: 1;
  color: var(--grape);
}
.data-table th.active {
  color: var(--ink);
}

.data-table td {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(29, 21, 51, 0.015);
}

.data-table tbody tr:hover {
  background: var(--grape-light);
}

/* ── Table cell content ── */
.store-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-logo-placeholder {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--grape);
  background: var(--grape-light);
  border-radius: 4px;
  flex-shrink: 0;
}

.store-name {
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.parent-name {
  color: var(--ink-secondary);
  font-size: 13px;
}

.domain-link {
  color: var(--ink-tertiary);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
}
.domain-link:hover { color: var(--grape); }

td.row-num {
  color: var(--ink-tertiary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  width: 1%;
  white-space: nowrap;
}

.num-cell {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.col-country, .data-table th.col-country { text-align: center; width: 8%; white-space: nowrap; }
.col-popularity { white-space: nowrap; text-align: center; }
.country-flag { font-size: 22px; line-height: 1; }

.data-table th.num, .data-table td.num-cell { width: 15%; white-space: nowrap; }

/* ── Empty state ── */
.empty-row td {
  text-align: center;
  padding: 64px 16px;
  color: var(--ink-tertiary);
}
.empty-icon { font-size: 32px; margin-bottom: 8px; opacity: 0.5; }
.empty-text { font-size: 15px; }

/* ── Detail view ── */
.detail-view {
  padding: 16px 32px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.detail-view:has(+ .usage-notice) { padding-bottom: 0; }

.detail-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.back-btn {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.back-btn:hover { background: var(--surface-raised, #f5f5f5); }

.detail-headline-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.detail-headline-center > span { display: flex; align-items: center; }

.detail-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.last-updated {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 4px 0 0 0;
  font-weight: 400;
}

.detail-info-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-info-card {
  flex: 1;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.detail-info-card a {
  color: var(--grape);
  text-decoration: none;
  font-weight: 500;
}
.detail-info-card a:hover {
  text-decoration: underline;
}
.detail-info-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.detail-info-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-muted);
  transition: background 0.2s;
}
.detail-info-dot.active {
  background: var(--grape);
}

.detail-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  background: #e5e3df;
}
.detail-map.map-hidden { display: none; }

.pitch-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pitch-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.pitch-text { flex: 1; }

.detail-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.detail-logo-placeholder {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--grape);
  background: var(--grape-light);
  border-radius: 4px;
  flex-shrink: 0;
}

.download-btn {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.download-btn:hover { background: var(--surface-hover); border-color: var(--border-emphasis); }
.download-btn svg { width: 14px; height: 14px; }

.download-btn .free-badge {
  display: inline-block;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grape);
  border-radius: var(--radius-full);
  line-height: 1.6;
}

.detail-table-wrap { overflow-x: auto; }

.hours-cell {
  white-space: normal;
  min-width: 140px;
}

.hours-inline {
  display: table;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.5;
}

.hours-inline-row {
  display: table-row;
}

.hours-inline-day {
  display: table-cell;
  font-weight: 600;
  color: var(--ink);
  padding-right: 12px;
  white-space: nowrap;
}

.hours-inline-time {
  display: table-cell;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.hours-inline-closed {
  color: var(--ink-tertiary);
  font-style: italic;
}

/* ── Maps button ── */
.addr-cell { position: relative; }
.addr-text { margin-right: 4px; }
.maps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  color: var(--ink-tertiary);
  vertical-align: middle;
  transition: color var(--transition), background var(--transition);
}
.maps-btn:hover { color: var(--grape); background: var(--grape-light); }
.maps-btn svg { width: 14px; height: 14px; }

.table-wrap .data-table tbody tr { cursor: pointer; }
.table-wrap .data-table th.num, .table-wrap .data-table td.num-cell { width: 10%; }
.table-wrap .col-country { width: 10%; }

/* ── Email modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29, 21, 51, 0.4);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 16px 48px rgba(29, 21, 51, 0.18);
  position: relative;
}

.modal-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.modal-input,
input[type="text"].modal-input {
  font-family: var(--font-sans);
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 16px;
  box-sizing: border-box;
}
textarea.modal-input { resize: vertical; min-height: 60px; }
.modal-input:focus { border-color: var(--grape); }
.modal-input.invalid { border-color: var(--coral); }
.modal-input:disabled { opacity: 0.55; cursor: not-allowed; }

.modal-error {
  margin: -10px 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--coral);
}
.modal-error[hidden] { display: none; }

.modal-cancel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-tertiary);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.modal-cancel:hover { color: var(--ink); background: var(--control-bg); }

.modal-submit {
  font-family: var(--font-sans);
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--grape);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition);
}
.modal-submit:hover { opacity: 0.9; }

/* ── Usage notice (page bottom + modal fine print) ── */
.usage-notice {
  margin: 64px auto;
  padding: 0 24px;
  max-width: 860px;
}
.usage-notice-card {
  position: relative;
  padding: 22px 26px 22px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grape-border);
  background:
    linear-gradient(180deg, var(--grape-light) 0%, rgba(117, 63, 243, 0.02) 100%),
    var(--surface);
  box-shadow: 0 1px 0 rgba(117, 63, 243, 0.04);
}
.usage-notice-card::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--grape) 0%, rgba(117, 63, 243, 0.35) 100%);
}
.usage-notice-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grape);
  margin: 0 0 8px;
}
.usage-notice-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.usage-notice-text a {
  color: var(--grape);
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.usage-notice-text a:hover { color: #5c2edb; }

.modal-fine-print {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grape-border);
  background: var(--grape-light);
}
.modal-fine-print p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.modal-fine-print p strong {
  color: var(--ink);
  font-weight: 600;
}
.modal-fine-print a {
  color: var(--grape);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .usage-notice { padding: 0 16px; margin: 48px auto; }
  .usage-notice-card { padding: 18px 20px 18px 26px; }
  .usage-notice-card::before { left: 8px; }
  .usage-notice-text { font-size: 13px; }
}

/* ── Scope toggle ── */
.scope-toggle {
  display: flex;
  gap: 0;
  background: var(--control-bg);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 16px;
}
.scope-btn {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.scope-btn:hover { color: var(--ink); }
.scope-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ── FAQ Section ── */
.faq-section { margin-top: 32px; }
.faq-heading { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 8px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.faq-item:hover { border-color: var(--grape-border); }
.faq-item[open] {
  border-color: var(--grape-border);
  box-shadow: 0 0 0 1px var(--grape-border), 0 2px 8px rgba(117, 63, 243, 0.06);
  background: linear-gradient(to bottom, rgba(117, 63, 243, 0.03), var(--surface) 80px);
}
.faq-question {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }
.faq-question::after {
  content: '+';
  font-size: 16px;
  font-weight: 500;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-tertiary);
  background: var(--control-bg);
  flex-shrink: 0;
  margin-left: 12px;
  transition: background var(--transition), color var(--transition), transform 200ms ease;
}
.faq-item:hover .faq-question::after { background: var(--grape-light); color: var(--grape); }
.faq-item[open] .faq-question { color: var(--grape); }
.faq-item[open] .faq-question::after {
  content: '\2212';
  background: var(--grape);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer { padding: 2px 20px 16px; font-size: 14px; line-height: 1.7; color: var(--ink-secondary); }
.faq-answer a { color: var(--grape); text-decoration: none; font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }

/* ── Request button ── */
.request-btn,
.api-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  border: 1px solid var(--grape);
}
.request-btn {
  color: var(--grape);
  background: none;
}
.request-btn:hover {
  background: var(--grape);
  color: #fff;
}
.api-btn {
  color: var(--grape);
  background: none;
}
.api-btn:hover {
  background: var(--grape);
  color: #fff;
}
.request-success {
  display: none;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: 13px;
  font-weight: 500;
}

.btn-short { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header { padding: 12px 16px 0; }
  .controls { padding: 0 16px; }
  .table-wrap { padding: 0 16px 32px; }
  .hero-banner { padding: 32px 0 28px; }
  .hero-inner { padding: 0 16px; }
  .hero-headline { font-size: 36px; }
  .hero-tagline { font-size: 14px; }
  .detail-info-bar { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 12px; padding-bottom: 6px; }
  .detail-info-bar::-webkit-scrollbar { display: none; }
  .detail-info-card { min-width: 0; flex: 0 0 calc(100% - 24px); scroll-snap-align: start; }
  .detail-info-dots { display: flex; }
  .search-wrap { flex: 1 1 100%; }
  .detail-view { padding: 12px 16px 32px; }
  .faq-question { padding: 12px 16px; font-size: 14px; }
  .faq-answer { padding: 2px 16px 14px; font-size: 13px; }
  .request-btn { font-size: 12px; padding: 6px 10px; }
  .btn-full { display: none; }
  .btn-short { display: inline; }
  .header-updated { display: none; }
  .detail-top-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .detail-headline-center { flex-basis: 100%; justify-content: center; order: -1; }
  .detail-headline { white-space: normal; font-size: 18px; text-align: center; }
  .col-hours { display: none; }
  .request-btn, .api-btn { font-size: 14px; padding: 9px 16px; }
}

@media (max-width: 600px) {
  .col-zip { display: none; }
  .detail-info-card { min-width: 0; }
  .data-table th { padding: 8px 10px; font-size: 13px; }
  .data-table td { padding: 8px 10px; font-size: 12px; }
  .col-domain { display: none; }
  .col-popularity { display: none; }
  .faq-question { padding: 10px 14px; font-size: 13px; }
  .faq-answer { padding: 2px 14px 12px; font-size: 12px; }
  .hero-headline { font-size: 30px; letter-spacing: -0.03em; }
}

@media (max-width: 480px) {
  .modal-card { padding: 20px 16px; max-width: calc(100vw - 32px); }
  .col-phone, .col-country { display: none; }
  td.row-num, th.row-num { display: none; }
  .hero-banner { padding: 28px 0 22px; }
  .hero-headline { font-size: 26px; margin-bottom: 12px; }
  .hero-tagline { font-size: 13px; }
  .header { padding: 12px 12px 0; }
  .controls { padding: 0 12px; }
  .table-wrap { padding: 0 12px 32px; }
  .detail-view { padding: 12px 12px 32px; }
  .back-btn, .download-btn { font-size: 12px; }
  .store-logo { width: 24px; height: 24px; }
}

/* ── Choropleth map ── */
.choropleth-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--surface);
}
.choropleth-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  transition: viewBox 0.3s ease;
}
.map-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.map-toggle-btn {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  border-radius: calc(var(--radius-sm) - 2px);
  transition: all 150ms ease;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
}
.map-toggle-btn:hover { background: var(--grape-light); color: var(--ink); }
.map-toggle-btn.active {
  background: var(--grape);
  color: #fff;
  box-shadow: 0 1px 3px rgba(117,63,243,0.25);
}
.map-toggle-btn.active:hover { background: var(--grape); }
.map-toggle-count {
  font-size: 11px;
  opacity: 0.8;
}
.state-table-wrap {
  margin-bottom: 20px;
}
.state-table-wrap .data-table tbody tr {
  cursor: pointer;
}
.state-table-wrap .data-table tbody td a {
  color: inherit;
  text-decoration: none;
}
.state-table-wrap .data-table tbody td a:hover {
  color: var(--grape);
}
.state-table-wrap .data-table th.num,
.state-table-wrap .data-table td.num-cell { width: 20%; }
.state-table-wrap .col-country { width: 20%; }
.country-table-section { margin-top: 28px; }
.country-table-section:first-child { margin-top: 0; }
.country-table-heading {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.country-table-count {
  font-weight: 400;
  color: var(--ink-secondary);
  font-size: 14px;
}