/* ─── SEARCH SECTION ─── */
.search-section {
  background: var(--surface);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}
.search-inner {
  max-width: 680px;
  margin: 0 0 auto;
}

/* ─── CONTROLS ─── */
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.controls .section-title { flex: 1; }

/* ─── TLD GRID ─── */
.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

/* ─── TLD CARD ─── */
.tld-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.tld-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.tld-name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -.5px;
  text-decoration: none;
  transition: opacity .15s;
}
.tld-name:hover { opacity: .7; }
.card-meta { display: flex; gap: 8px; align-items: center; }
.avg-badge {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--mono);
  text-decoration: none;
  transition: color .15s;
}
.avg-badge strong { color: var(--text); font-size: 13px; }
.avg-badge:hover, .avg-badge:hover strong { color: var(--accent); }

/* ─── SHOW MORE (TLD詳細リンク) ─── */
.show-more-btn {
  display: block;
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  font-family: var(--body);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: background .1s;
}
.show-more-btn:hover { background: var(--accent-light); }

/* ─── MISC ─── */
.no-data { padding: 16px 20px; color: var(--text-muted); font-size: 13px; }
.highlight-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light);
}

/* ─── HERO ─── */
/* common.css に統合済み。page-index.css 固有の上書きのみここに記述 */
.hero {
  padding: 28px 24px 24px; /* site.css より小さめのpadding */
}
.hero-search-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.hero-search-bar-inner {
  max-width: 640px;
  margin: 0 auto;
}
.hero-search-box {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-search-box:focus-within { border-color: var(--accent); }
.hero-search-prefix {
  display: flex;
  align-items: center;
  padding: 0 4px 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--mono);
  font-size: 14px;
  padding: 13px 6px;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.hero-search-input::placeholder { color: var(--text-muted); font-family: var(--body); font-size: 13px; }
.hero-search-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.hero-search-btn:hover { background: #1558cc; }
