/* 홈(가게) 화면 전용. 공통 클래스(.next-up .fab .sheet .fld .inp .btn)는 style.css 에 있다. */

.home {
  padding-bottom: 120px;
}

.home-title {
  margin: 4px 0 4px;
  font-size: 1.6rem;
}

.home .next-up {
  margin-top: 16px;
}

.next-up-sub {
  font-size: 0.85em;
  opacity: 0.75;
}

/* 여섯 단계 안내 */
.journey {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.journey li {
  counter-increment: step;
  font-size: 0.72em;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
  word-break: keep-all;
}

.journey li::before {
  content: counter(step);
  display: block;
  margin-bottom: 2px;
  font-family: var(--f-mono);
  color: var(--ink);
}

.shops {
  margin-top: 22px;
}

.shops h2 {
  margin-bottom: 2px;
}

#shop-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.shop {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.shop-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.shop-code {
  font-weight: 600;
}

.shop .shop-tags,
.shop .shop-progress {
  margin: 0;
  font-size: 0.85em;
  color: var(--muted);
}

.rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.rail i {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.rail i.d {
  background: var(--accent);
}

.rail i.c {
  background: var(--accent);
  opacity: 0.45;
}

.rail-lb {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.72em;
  color: var(--muted);
}

.shop-act {
  display: flex;
  gap: 8px;
}

.shop-act .btn {
  min-height: 40px;
  font-size: 0.93em;
}

.shop-act .review-link {
  flex: none;
  width: auto;
  text-decoration: none;
}

/* 새 가게 시트 */
#sheet-shop .opt-title {
  margin: 6px 0 0;
  font-size: 0.93em;
  color: var(--muted);
}

#sheet-shop #start-btn {
  margin-top: 4px;
}
