.michelin-ranking-app {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  box-sizing: border-box;
}

.michelin-header {
  margin-bottom: 28px;
}

.michelin-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.michelin-header h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.michelin-subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.45;
  opacity: 0.8;
}

.michelin-meta {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.65;
}

.michelin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 24px;
}

.michelin-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.14);
  background: transparent;
  color: inherit;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.michelin-btn:hover,
.michelin-btn.active {
  border-color: rgba(0,0,0,0.9);
}

.michelin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.michelin-table {
  width: 100%;
  border-collapse: collapse;
}

.michelin-table thead th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.michelin-table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  vertical-align: middle;
}

.michelin-table tbody tr:hover {
  background: rgba(0,0,0,0.025);
}

.michelin-col-rank {
  width: 64px;
}

.michelin-col-type {
  width: 180px;
}

.michelin-col-count {
  width: 140px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.michelin-table thead th:nth-child(4) {
  text-align: center;
}

.michelin-table tbody td:nth-child(4) {
  text-align: center;
}

.michelin-col-source {
  width: 180px;
}

.michelin-source-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.michelin-source-link:hover {
  border-bottom-color: rgba(0,0,0,0.9);
}

.michelin-type-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  opacity: 0.8;
}

.michelin-empty,
.michelin-error {
  padding: 24px 12px;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .michelin-ranking-app {
    padding: 24px 14px 48px;
  }

  .michelin-subtitle {
    font-size: 15px;
    line-height: 1.4;
  }

  .michelin-table {
    width: 100%;
    table-layout: fixed;
  }

  .michelin-table thead th,
  .michelin-table tbody td {
    padding: 12px 6px;
    font-size: 13px;
  }

  .michelin-table thead th:nth-child(1),
  .michelin-table tbody td:nth-child(1) {
    width: 24px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    white-space: nowrap;
  }

  .michelin-table thead th:nth-child(2),
  .michelin-table tbody td:nth-child(2) {
    width: 50%;
    word-break: break-word;
  }

  .michelin-table thead th:nth-child(3),
  .michelin-table tbody td:nth-child(3) {
    width: 18%;
    padding-left: 4px;
    padding-right: 4px;
  }

  .michelin-table thead th:nth-child(4),
  .michelin-table tbody td:nth-child(4) {
    width: 32%;
    text-align: center;
    white-space: nowrap;
  }

  .michelin-table thead th:nth-child(5),
  .michelin-table tbody td:nth-child(5) {
    display: none;
  }

  .michelin-type-badge {
    padding: 3px 6px;
    font-size: 10px;
  }

  .michelin-source-link {
    word-break: break-word;
  }
}