.timeline {
  gap: 8px;
  min-width: 0;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.header-title {
  min-width: 0;
}

.header-title h1 {
  margin: 5px 0 0;
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-name-part {
  display: inline-block;
}

.visit-counts {
  flex: none;
  min-width: 132px;
  margin-top: 1px;
  padding: 7px 10px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(23, 28, 37, 0.8);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.visit-counts-title {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.visit-count-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 3px 0 0;
}

.visit-count-grid div {
  min-width: 0;
}

.visit-count-grid dt {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.2;
}

.visit-count-grid dd {
  margin: 1px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.15;
}

#visit-count-today {
  color: var(--accent);
}

/* Compact two-row search controls that scroll away with the page. */
.filters {
  position: static;
  top: auto;
  z-index: auto;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  backdrop-filter: none;
}

.filters label span {
  display: block;
  margin: 0;
  white-space: nowrap;
  font-size: 0.7rem;
}

.search-box {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(250px, 1.3fr) 100px;
  align-items: center;
  gap: 8px;
}

.filter-row label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.filters input,
.filters select,
.filters button {
  min-width: 0;
  height: 36px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.filters button {
  margin: 0;
}

.post-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-right: 0;
  white-space: nowrap;
}

.area-chip {
  flex: none;
  padding: 2px 7px;
  font-size: 0.68rem;
  line-height: 1.45;
}

.store-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
  font-weight: 850;
}

/* Seven hue families with deliberately separated light, medium and deep tones. */
.post-card[data-store-id="filt"] .store-name { color: #b5e1f8; }
.post-card[data-store-id="bar440"] .store-name { color: #74c7f1; }
.post-card[data-store-id="bar_face"] .store-name { color: #33adeb; }

.post-card[data-store-id="retreat"] .store-name { color: #f9becd; }
.post-card[data-store-id="honey_trap"] .store-name { color: #f27d9a; }
.post-card[data-store-id="arabesque"] .store-name { color: #ee4f76; }

.post-card[data-store-id="rusk"] .store-name { color: #f9edbe; }
.post-card[data-store-id="papillon"] .store-name { color: #f1d874; }
.post-card[data-store-id="land_land"] .store-name { color: #eac32a; }

.post-card[data-store-id="bar_canelo"] .store-name { color: #e2d1fa; }
.post-card[data-store-id="ogikubo_himitsu"] .store-name { color: #c29ef5; }
.post-card[data-store-id="voluptuous"] .store-name { color: #a26af0; }

.post-card[data-store-id="campo_bar"] .store-name { color: #f9d6be; }
.post-card[data-store-id="colors_bar"] .store-name { color: #f1a874; }
.post-card[data-store-id="bar_spear"] .store-name { color: #eb7f33; }

.post-card[data-store-id="mille_feuille"] .store-name { color: #bef4f9; }
.post-card[data-store-id="neo"] .store-name { color: #74e7f1; }
.post-card[data-store-id="silent_moon"] .store-name { color: #2adaea; }

.post-card[data-store-id="agreeable"] .store-name { color: #bef9cd; }
.post-card[data-store-id="b_dash"] .store-name { color: #74f193; }
.post-card[data-store-id="club_zeus"] .store-name { color: #2aea5a; }

.source-time {
  display: inline;
  flex: none;
  margin-top: 0;
  margin-left: auto;
  font-size: 0.78rem;
}

.new-label {
  position: static;
  flex: none;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.card-content {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 5px;
  line-height: 1.35;
}

.post-author {
  flex: none;
  max-width: 28%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dbe4ee;
  font-size: 0.82rem;
  font-weight: 750;
}

.post-author::after {
  content: "：";
  color: var(--muted);
}

.author-mask {
  color: #ff5263;
  font-size: 0.76em;
  letter-spacing: 0.02em;
  text-shadow: 0 0 5px rgba(255, 82, 99, 0.28);
  vertical-align: 0.06em;
}

.post-body {
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.source-link {
  flex: none;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
}

.source-link:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .header-title h1 {
    display: flex;
    flex-direction: column;
    font-size: clamp(0.875rem, 3.8vw, 1.125rem);
  }

  .site-name-part {
    display: block;
  }

  .site-header {
    gap: 8px;
  }

  .visit-counts {
    min-width: 112px;
    padding: 6px 7px 5px;
  }

  .visit-count-grid {
    gap: 5px;
  }

  .visit-count-grid dd {
    font-size: 0.98rem;
  }

  .filters {
    gap: 6px;
    padding: 8px;
  }

  .search-box {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 5px;
  }

  .filter-row {
    grid-template-columns: 82px minmax(0, 1fr) 72px;
    gap: 4px;
  }

  .filter-row label {
    gap: 3px;
  }

  .filters label span {
    font-size: 0.62rem;
  }

  .filters input,
  .filters select,
  .filters button {
    height: 34px;
    padding: 5px 6px;
    font-size: 0.76rem;
  }

  .post-card {
    padding: 9px 11px;
  }

  .card-meta,
  .card-content {
    gap: 6px;
  }

  .post-author {
    max-width: 29%;
  }

  .area-chip {
    display: none;
  }
}
