/* Todaki — home page (강남언니 식 절제 + 큰 위계). */

body.todaki-home { background: var(--bg); margin: 0; }

.todaki-home-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg);
  font-family: var(--font-kr);
  min-height: 100vh;
}

/* ───────────── Header (sticky, 56px clean) ───────────── */
.todaki-home__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-softer);
  height: 56px;
}
.todaki-home__brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--pink);
  text-decoration: none;
  font-family: var(--font-kr);
}
.todaki-home__header-right {
  display: flex;
  gap: 4px;
  align-items: center;
}
.todaki-home__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--t-fast);
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.todaki-home__icon-btn:hover { background: var(--bg-3); }
.todaki-home__bell-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

/* ───────────── BIG search bar (강남언니 의 핵심) ───────────── */
.todaki-home__searchbar-wrap {
  padding: 16px;
  background: var(--bg);
}
.todaki-home__searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 0 18px;
  text-decoration: none;
  color: var(--ink-3);
  font-size: 15px;
  transition: background var(--t-fast);
}
.todaki-home__searchbar:hover { background: var(--bg-3); }
.todaki-home__searchbar .todaki-icon { color: var(--ink-2); }

/* ───────────── Live Reviews ───────────── */
.todaki-live { padding-top: 8px; }
.todaki-live__head {
  padding: 24px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.todaki-live__pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}
.todaki-live__pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: todaki-pulse 2s infinite;
}

.todaki-live__tabs {
  padding: 4px 16px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.todaki-live__tabs::-webkit-scrollbar { display: none; }

.todaki-chip__count { margin-left: 4px; font-size: 11px; opacity: 0.7; font-weight: 500; }

/* Featured review */
.todaki-review--featured {
  display: block;
  padding: 18px 16px 20px;
  text-decoration: none;
  color: inherit;
  border-bottom: 8px solid var(--bg-2);
}
.todaki-review__meta-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.todaki-chip--ghost {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-3);
  border-color: transparent;
  color: var(--ink-2);
  font-weight: 600;
}
.todaki-review__rating {
  font-size: 12px;
  color: var(--pink);
  font-weight: 700;
}
.todaki-review__tag-inline {
  font-size: 12px;
  color: var(--ink-3);
}
.todaki-review__title {
  font: var(--t-h2);
  margin: 0;
  color: var(--ink);
}
.todaki-review__body {
  font: var(--t-body);
  color: var(--ink-2);
  margin: 8px 0 0;
}
.todaki-review__photos {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.todaki-review__photo {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  position: relative;
  background-size: cover;
  background-position: center;
}
.todaki-review__photo-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.5);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-md);
  backdrop-filter: blur(2px);
}
.todaki-review__foot {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
}
.todaki-review__when { margin-left: auto; }

/* Compact thread list */
.todaki-thread {
  display: block;
  padding: 16px;
  border-bottom: 1px solid var(--line-softer);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-fast);
}
.todaki-thread:hover { background: var(--bg-2); }
.todaki-thread__tag {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.todaki-thread__title {
  font: var(--t-h3);
  margin-top: 6px;
  color: var(--ink);
}
.todaki-thread__body {
  font: var(--t-body);
  color: var(--ink-2);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.todaki-thread__foot {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* ───────────── Today's Pick — 큰 카드, 2:3 비율 ───────────── */
.todaki-pick {
  background: var(--bg);
  border-top: 8px solid var(--bg-2);
  padding-top: 8px;
}
.todaki-pick__head { padding: 24px 16px 12px; }
.todaki-pick__rail {
  padding: 4px 16px 28px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.todaki-pick__rail::-webkit-scrollbar { display: none; }

.todaki-pick__card {
  min-width: 200px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.todaki-pick__thumb {
  width: 200px;
  height: 240px;
  border-radius: var(--r-lg);
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.todaki-pick__thumb::after {
  /* Bottom fade for text overlay readability */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}
.todaki-pick__vip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
}
.todaki-pick__rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r);
  font-family: var(--font-num);
  z-index: 2;
}
.todaki-pick__name {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.todaki-pick__meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ───────────── Columns 2x2 ───────────── */
.todaki-columns {
  border-top: 8px solid var(--bg-2);
  padding-top: 8px;
}
.todaki-columns__head { padding: 24px 16px 12px; }
.todaki-columns__grid {
  padding: 4px 16px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.todaki-columns__card {
  text-decoration: none;
  color: inherit;
}
.todaki-columns__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
}
.todaki-columns__title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.todaki-columns__author {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ───────────── Desktop ───────────── */
@media (min-width: 768px) {
  body.todaki-home { background: var(--bg-2); padding: 0; }
  .todaki-home-shell {
    margin: 0 auto;
    box-shadow: 0 0 0 1px var(--line-softer);
    min-height: 100vh;
  }
}
