/* ─────────────────────────────────────────────────────────────
   띠니 r57 (2026-11-19) — 100% 모바일 · 토스 UI 톤 전면 리뉴얼
   · max-width 480px 앱 프레임 + 바깥 바탕 #F2F4F6
   · 흰 카드(16~20px) · #191F28 / #4E5968 / #8B95A1 · #3182F6 액센트
   · 이 파일이 style.css 뒤에 로드되어 화면 전체를 다시 칠합니다.
   ───────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --bg: #f2f4f6;
  --card: #ffffff;
  --ink: #191f28;
  --ink-2: #4e5968;
  --ink-3: #8b95a1;
  --line: #e5e8eb;
  --line-2: #f2f4f6;
  --blue: #3182f6;
  --blue-d: #1b64da;
  --blue-soft: #e8f3ff;
  --red: #f04452;
  --red-soft: #ffedee;
  --green: #00b843;
  --green-soft: #e8f8ee;
  --amber: #b7791f;
  --amber-soft: #fdf6e7;
  --coupang: #e52528;
  --toss: #0064ff;
  --naver: #03c75a;
  --talk: #fee500;
  --talk-ink: #191f28;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
  --frame: 480px;
  --hdr-h: 56px;
  --tab-h: 62px;
  --pad: 16px;
  --max: var(--frame);
  --surface: var(--card);
  --ink-3b: var(--ink-3);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 700; }
.sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 12px; top: -48px; z-index: 90; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }

/* ── 앱 프레임 ─────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--frame); margin: 0 auto;
  height: var(--hdr-h); display: flex; align-items: center; gap: 4px;
  padding: 0 8px 0 var(--pad);
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1 1 auto; height: 100%; }
.mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
}
.word { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.brand-line { display: flex; align-items: center; gap: 6px; }
.brand-line strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand-badge {
  font-size: 11px; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); border-radius: 6px; padding: 2px 6px; line-height: 1.3;
}
.word em { display: none; }
.hdr-find, .topnav, .hdr-share, .hdr-add { display: none; }
.hdr-info, .hdr-alert, .hdr-bell {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border-radius: 12px;
  color: var(--ink-2);
}
.hdr-info:active, .hdr-alert:active, .hdr-bell:active { background: var(--line-2); }
/* r58 — '전체 특가' 옆에서 헤더로 올린 알림 종 */
.hdr-bell { position: relative; }
.hdr-bell.is-on { color: var(--blue); }
.hdr-bell .spot-bell-n {
  position: absolute; top: 6px; right: 7px;
  min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px; line-height: 1;
  box-shadow: 0 0 0 2px var(--card);
}
.hdr-bell .spot-bell-n.is-dot { min-width: 8px; width: 8px; height: 8px; padding: 0; }

main { max-width: var(--frame); margin: 0 auto; background: var(--bg); min-height: 60vh; }
.view { padding: 0 0 8px; }
@media (min-width: 520px) {
  body { background: #e9ebee; }
  .hdr { box-shadow: var(--shadow); }
  .hdr-in, main { box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.04); }
}

/* ── 스플래시 ──────────────────────────────────────────── */
.splash {
  position: fixed; inset: 0; z-index: 95; background: var(--card);
  display: grid; place-items: center; transition: opacity 0.3s ease;
}
.splash.is-out { opacity: 0; pointer-events: none; }
.splash-in { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: sp-rise 0.5s ease both; }
.splash-mark {
  width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 30px; font-weight: 800;
}
.splash-copy { font-size: 14px; font-weight: 600; color: var(--ink-3); }
@keyframes sp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── 홈 상단 ──────────────────────────────────────────── */
.home-hero { padding: 20px var(--pad) 4px; background: var(--bg); }
.home-hero h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.home-hero p { margin-top: 5px; font-size: 13px; color: var(--ink-3); }

.sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px var(--pad) 8px;
}
.sec-head h2, .home-head-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.home-head-n { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.sec-count { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.sec-sub { font-size: 12px; color: var(--ink-3); }
.home-head-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.home-legend { display: none !important; }

.spot-bell {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; padding: 0 11px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; font-weight: 600;
}
.spot-bell:active { background: var(--line-2); }
.spot-bell-ico { width: 15px; height: 15px; }
.spot-bell-n {
  min-width: 16px; height: 16px; border-radius: 8px; background: var(--blue); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}

/* 정렬 버튼 (r58 — 큰 셀렉트 박스 대신 작은 텍스트 버튼 하나) */
.ctl-sort { display: none; }
.ctl-sortbtn {
  flex: none; display: inline-flex; align-items: center; gap: 2px;
  height: 36px; padding: 0 6px 0 8px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.ctl-sortbtn i { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: 1px; }
.ctl-sortbtn:active { background: var(--line-2); }
.ctlbar {
  display: flex; align-items: center; gap: 6px;
  padding: 4px var(--pad) 10px; flex-wrap: nowrap; overflow: visible;
}
.ctl-picks { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.cchip {
  height: 40px; padding: 0 13px; border-radius: 11px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap; flex: none;
  letter-spacing: -0.02em;
}
.cchip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.cchip.is-good.is-on { background: #039e46; border-color: #039e46; }
.cchip.is-wow.is-on { background: #d92b2b; border-color: #d92b2b; }

/* r58 — 정렬 바텀시트(작은 '할인순 ▾' 버튼이 연다) */
.sort-modal {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(17, 24, 39, 0.45);
  display: flex; align-items: flex-end; justify-content: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.sort-card {
  width: 100%; max-width: var(--frame);
  background: var(--card); border-radius: 22px 22px 0 0;
  padding: 6px 0 calc(10px + env(safe-area-inset-bottom));
  animation: sheet-up 0.18s ease;
}
@keyframes sheet-up { from { transform: translateY(14px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.sort-head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad) 4px; }
.sort-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.sort-x { width: 36px; height: 36px; border-radius: 10px; color: var(--ink-3); font-size: 14px; }
.sort-x:active { background: var(--line-2); }
.sort-list { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px 6px; }
.sort-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 10px; border-radius: 12px; text-align: left; }
.sort-opt:active { background: var(--line-2); }
.sort-opt-main { display: flex; flex-direction: column; gap: 2px; }
.sort-opt-main b { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.sort-opt-main em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.sort-opt-check { width: 18px; text-align: center; color: var(--blue); font-size: 15px; font-weight: 800; }
.sort-opt.is-on .sort-opt-main b { color: var(--blue-d); }

/* ── 상품 목록 (1열 리스트 카드) ───────────────────────── */
.shelf { padding: 0 0 4px; }
.list, .list--grid { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--pad); }
.list--grid { display: flex; }
.ranklist { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--pad); }

.pc {
  position: relative;
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px;
  background: var(--card); border-radius: var(--r-md);
  padding: 12px; box-shadow: var(--shadow);
  align-items: start;
}
.pc.is-flash { animation: pc-flash 1.4s ease; }
@keyframes pc-flash { 0% { background: var(--blue-soft); } 100% { background: var(--card); } }
.pc.is-first { box-shadow: 0 0 0 1.5px var(--blue) inset, var(--shadow); }

.pc-photo {
  position: relative; width: 92px; height: 92px; flex: none;
  border-radius: var(--r-sm); background: #f7f8fa; overflow: hidden;
  padding: 0; align-self: start;
}
.pc-main {
  display: flex; flex-direction: column; gap: 2px;
  text-align: left; width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pc-main:active { opacity: 0.72; }
.pc-photo-btn { width: 100%; height: 100%; display: block; padding: 0; }
.pc-photo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.photo-blank { display: grid; place-items: center; width: 100%; height: 100%; font-size: 11px; color: var(--ink-3); }
.pc-fab { display: none; }
.pc-rank {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  min-width: 22px; height: 22px; padding: 0 5px; border-radius: 8px;
  background: rgba(25, 31, 40, 0.9); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.pc-rank.is-top { background: var(--blue); }
.pc.is-rank .pc-photo { margin: 0; }
.pc.is-rank { grid-template-columns: 92px minmax(0, 1fr); }

.pc-body {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  justify-content: flex-start; min-height: 0; padding: 0;
}
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 16px; overflow: hidden; }
.pc-brand { font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src { display: none; }
.pc-parttag, .pc-rate { display: none; }
.pc-name {
  font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink); word-break: keep-all; overflow-wrap: break-word;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 20px;
}
.pc-price {
  display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.pc-price { gap: 6px; }
.pc-price strong { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.pc-off { color: var(--red); font-size: 13px; font-weight: 700; }
.was { color: var(--ink-3); font-size: 11.5px; margin-left: 1px; text-decoration: line-through; }
.pc-unit { font-size: 12px; color: var(--ink-3); }
.pc-unit b { color: var(--ink-2); font-weight: 700; }
.pc-unit .per { color: var(--ink-3); }
.pc-each { display: inline; color: var(--ink-3); }
.pc-each b { color: var(--ink-2); font-weight: 600; }
.pc-nvtag { font-size: 11px; color: var(--naver); font-weight: 600; }
.pc-prot { display: none; }

.pc-flag { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; min-height: 22px; overflow: hidden; }

/* 배지 — 알약 3단계 (r58: 🔥 역대 최저 · 🟢 지금 사기 좋아요 · 🟡 아쉬워요) */
.sig {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px; border-radius: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.sig i { font-style: normal; font-size: 10px; }
.sig.is-best, .sig-best { background: #fff1f2; color: #d92b2b; }
.sig.is-good, .sig-good { background: #e8f9ee; color: #039e46; }
.sig.is-meh { background: #fff8e1; color: #8a6d0b; }
.sig.is-none, .sig-soso, .sig-none, .sig-high { background: #f2f4f6; color: var(--ink-3); }
.bd {
  display: inline-flex; align-items: center; gap: 3px;
  height: 22px; padding: 0 8px; border-radius: 7px;
  font-size: 11.5px; font-weight: 600; background: var(--line-2); color: var(--ink-2);
  white-space: nowrap;
}
.bd-deal { background: var(--amber-soft); color: var(--amber); }
.fresh {
  display: inline-flex; align-items: center; gap: 3px;
  height: 22px; font-size: 11.5px; font-weight: 500; color: var(--ink-3);
  white-space: nowrap;
}
.fresh.is-stale { color: var(--ink-3); }

/* 옵션 칩 */
.pc-opts { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 30px; }
.pc-opts::-webkit-scrollbar { display: none; }
.opt {
  height: 30px; padding: 0 10px; border-radius: 8px; flex: none;
  background: #f7f8fa; border: 1px solid transparent;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.opt.is-on { background: var(--blue-soft); border-color: #bcd8ff; color: var(--blue-d); }

/* 구매 버튼 (r58 — 원색 통버튼 대신 토스 톤 소프트 틴트: 연한 배경 + 진한 브랜드 글씨 + 미세 보더) */
.pc-acts { margin-top: 8px; padding-top: 0; display: flex; align-items: center; gap: 6px; }
.pc-acts .pc-buys { flex: 1 1 auto; width: auto; min-width: 0; }
.pc-buys, .pc-buys.is-multi { display: flex; gap: 6px; width: 100%; align-items: center; }
.btn-buy::before, .btn-buy::after { content: none; display: none; }
.btn-buy {
  flex: 1 1 0; min-width: 0; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  padding: 0 8px; white-space: nowrap; overflow: hidden;
  border: 1px solid transparent; color: var(--ink);
}
.btn-buy .bp-lab, .btn-buy .buy-lab { font-weight: 700; }
.btn-buy .bp-price { font-weight: 700; font-size: 12.5px; opacity: 1; }
.btn-buy.pl-coupang, .btn-buy.is-coupang { background: #fff1f2; color: #d92b2b; border-color: #ffdde0; }
.btn-buy.pl-toss, .btn-buy.is-toss { background: #e8f3ff; color: #1b64da; border-color: #d3e5ff; }
.btn-buy.pl-naver, .btn-buy.is-naver { background: #e8f9ee; color: #039e46; border-color: #cfefdc; }
.btn-buy.pl-talkdeal, .btn-buy.is-talkdeal { background: #fff9db; color: #856404; border-color: #f4e7aa; }
.btn-buy.is-alt { background: #f2f4f6 !important; color: var(--ink-2) !important; border-color: var(--line) !important; }
.btn-buy:active { filter: none; opacity: 0.82; }
.pending-label { font-size: 12px; color: var(--ink-3); }
.buy-more { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--ink-3); flex: none; }

/* r58 — 🤔 애매해요 (작은 알약 버튼, 상품별 누적) */
.meh {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  height: 34px; padding: 0 9px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  white-space: nowrap; letter-spacing: -0.02em;
}
.meh:active { background: var(--line-2); }
.meh.is-on { background: #fff8e1; border-color: #f2e2a8; color: #8a6d0b; }
.meh .meh-e { font-size: 12px; line-height: 1; }
.meh .meh-n { font-weight: 800; font-size: 11px; color: inherit; }
.meh-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; padding: 0 2px; }
.meh-q { font-size: 12px; color: var(--ink-3); }

/* r58 — 카드에서는 '1곳 더' 안내를 숨깁니다: 🤔 애매해요 알약과 같이 놓으면 구매 버튼 글자가 잘립니다.
   다른 판매처는 상세 시트의 '가격 비교'에서 모두 보입니다. */
.pc-acts .pc-buys .btn-buy.is-alt { display: none; }
.pc-acts .buy-more { display: none; }

/* 더 보기 · 빈 상태 */
.more-btn {
  display: block; width: calc(100% - 32px); margin: 12px var(--pad) 8px;
  height: 48px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.empty { padding: 48px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }
.empty-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.empty-btn { height: 42px; padding: 0 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.empty-btn.is-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.group-head { padding: 14px var(--pad) 6px; }
.group-head h2 { font-size: 15px; font-weight: 700; }
.group-hint { display: none; }

/* ── 검색 ──────────────────────────────────────────────── */
.toolbar { padding: 12px var(--pad) 8px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 12px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
}
.search-ico { display: grid; place-items: center; color: var(--ink-3); flex: none; }
.search-ico svg { width: 19px; height: 19px; }
.search-input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; font-weight: 500; min-width: 0; }
.search-input::placeholder { color: var(--ink-3); font-weight: 400; }
.search-clear { width: 28px; height: 28px; border-radius: 50%; background: var(--line-2); color: var(--ink-2); font-size: 12px; flex: none; }
.search-lead { padding: 6px var(--pad) 10px; font-size: 13px; color: var(--ink-3); }
.search-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--pad) 14px; scrollbar-width: none; }
.search-chips::-webkit-scrollbar { display: none; }
.chip-key {
  height: 34px; padding: 0 12px; border-radius: 10px; flex: none;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.panel { padding: 0; }
.promos { padding: 4px var(--pad) 16px; }
.promos-lab { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.promo-grid { display: flex; flex-direction: column; gap: 8px; }
.promo {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px;
  background: var(--card); border-radius: var(--r-md); padding: 12px 14px;
  min-height: 56px;
}
.promo-emoji { display: none; }
.promo-title { display: flex; flex-direction: column; align-items: flex-start; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; flex: 1; }
.promo-title span:first-child { font-size: 14px; font-weight: 700; }
.promo-sub { font-size: 12px; color: var(--ink-3); font-weight: 400; }

/* ── 카테고리 (한 줄 리스트 타일) ─────────────────────── */
.cattiles { display: flex; flex-direction: column; gap: 8px; padding: 16px var(--pad) 8px; margin: 0; grid-template-columns: none; }
.cattiles .tile {
  position: relative; display: flex; flex-direction: row; align-items: center;
  gap: 12px; text-align: left; width: 100%; min-height: 76px;
  background: var(--card); border: 1px solid transparent; border-radius: var(--r-md);
  padding: 12px; overflow: visible; box-shadow: var(--shadow);
}
.cattiles .tile:last-child { grid-column: auto; flex-direction: row; align-items: center; }
.cattiles .tile:active { transform: none; background: #fafbfc; }
.cattiles .tile-photo {
  display: block; width: 52px; height: 52px; flex: none; aspect-ratio: auto;
  border-radius: var(--r-sm); background: #f7f8fa; overflow: hidden;
}
.cattiles .tile:last-child .tile-photo { width: 52px; aspect-ratio: auto; align-self: center; }
.cattiles .tile-photo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cattiles .tile-body { display: flex; flex-direction: column; gap: 2px; padding: 0; flex: 1; min-width: 0; }
.cattiles .tile-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.cattiles .tile-sub { font-size: 12px; font-weight: 400; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cattiles .tile-n {
  position: static; flex: none; margin-left: auto;
  font-size: 13px; font-weight: 700; color: var(--blue);
  background: none; border-radius: 0; padding: 0;
}
/* r58 — 맨 위 '전체' 칸(사진 대신 격자 아이콘)과 카테고리 헤더 */
.cat-top { padding: 16px var(--pad) 2px; }
.cattiles .tile.is-all .tile-photo {
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-d);
}
.cattiles .tile.is-all .tile-photo svg { padding: 0; }
.cattiles .tile.is-all { border-color: #dbe9ff; }
/* r58 — 판매처는 카테고리 밑의 작은 서브 필터로 */
.cat-stores-wrap { display: flex; align-items: center; gap: 8px; padding: 2px var(--pad) 10px; }
.cat-sub-lab { font-size: 12px; font-weight: 600; color: var(--ink-3); flex: none; }
.cat-stores { display: flex; gap: 6px; padding: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.cat-stores .store-chip { height: 32px; padding: 0 11px; border-radius: 9px; gap: 5px; font-size: 12px; font-weight: 600; }
.cat-stores .store-chip .n { font-size: 11px; }
.cat-stores .store-chip::before { width: 6px; height: 6px; }
.cat-stores { display: flex; gap: 6px; padding: 4px var(--pad) 12px; overflow-x: auto; scrollbar-width: none; }
.cat-stores::-webkit-scrollbar { display: none; }
.store-chip {
  height: 38px; padding: 0 14px; border-radius: 10px; flex: none;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.store-chip .n { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.store-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.store-chip.is-coupang::before { background: var(--coupang); }
.store-chip.is-toss::before { background: var(--toss); }
.store-chip.is-naver::before { background: var(--naver); }
.store-chip.is-on::before { background: #fff; }
.store-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.store-chip.is-on .n { color: #fff; }
.promo-bar { padding: 12px var(--pad) 0; }
.promo-link {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
  background: var(--card); border-radius: 12px;
}
.promo-txt { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.back-btn { height: 40px; padding: 0 var(--pad); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.cat-head { padding: 4px var(--pad) 10px; }
.cat-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.cat-head p { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.filters-wrap { padding: 0 var(--pad) 4px; }
.filter-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.filter-lab { font-size: 12px; font-weight: 600; color: var(--ink-3); flex: none; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip, .filters button {
  height: 34px; padding: 0 12px; border-radius: 9px; flex: none;
  background: var(--card); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 4px;
}
.filters .is-on, .filters button.is-on { background: var(--blue-soft); border-color: #bcd8ff; color: var(--blue-d); }
.chip-n { font-size: 11px; color: var(--ink-3); }
.cat-reset { height: 34px; font-size: 12px; font-weight: 600; color: var(--ink-3); }

/* ── 랭킹 ──────────────────────────────────────────────── */
.seg {
  display: flex; gap: 6px; padding: 12px var(--pad) 6px;
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  height: 36px; padding: 0 13px; border-radius: 10px; flex: none;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.seg button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
#rank-parts { flex-wrap: wrap; overflow: visible; row-gap: 6px; }
#rank-parts button { font-size: 12.5px; padding: 0 11px; }
.rank-mode { padding-top: 2px; flex-wrap: wrap; }
.rankblock { padding-top: 6px; }
.rankblock .sec-head { padding: 12px var(--pad) 8px; }
.rank-note { padding: 8px var(--pad) 20px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.rank-metric { display: none !important; }

/* ── 모달 공통(바텀시트) ───────────────────────────────── */
.pm-modal, .info-modal, .hub-modal, .alert-modal, .install-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(17, 24, 39, 0.45);
  display: flex; align-items: flex-end; justify-content: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.pm-card, .info-card, .hub-card, .alert-card, .install-card {
  width: 100%; max-width: var(--frame); max-height: 92vh;
  background: var(--card); border-radius: 22px 22px 0 0;
  padding: 8px 0 calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  animation: sheet-up 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.pm-x, .info-x, .hub-x, .alert-x, .install-x {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: var(--ink-2);
  background: var(--line-2);
}
.pm-scroll, .info-scroll, .hub-scroll, .alert-body { overflow-y: auto; padding: 8px var(--pad) 8px; -webkit-overflow-scrolling: touch; }
.pm-eyebrow { font-size: 12px; font-weight: 700; color: var(--blue); padding-top: 6px; }
.pm-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; padding: 4px 40px 0 0; }
.pm-src { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.pm-fine { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.pm-block { margin-top: 18px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.pm-block:first-of-type { border-top: 0; }
.pm-block h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pm-h3 { font-size: 16px; font-weight: 700; margin: 20px 0 0; }
.pm-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pm-list li { position: relative; padding-left: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pm-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.pm-list li b { color: var(--ink); font-weight: 700; }
.pm-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.pm-verdict { display: none; }
.grade-line { display: flex; align-items: center; gap: 6px; }
.grade-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px;
  font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink-2);
}
.grade-badge.is-best { background: #fff1f2; color: #d92b2b; }
.grade-badge.is-good, .grade-badge.is-great { background: #e8f9ee; color: #039e46; }
.grade-badge.is-meh { background: #fff8e1; color: #8a6d0b; }
.grade-badge.is-none { background: #f2f4f6; color: var(--ink-3); }
.grade-note { font-size: 12px; color: var(--ink-3); }
.pm-track { margin-top: 14px; padding: 14px; border-radius: 14px; background: #f7f8fa; }
.pm-track-start { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pm-track-desc { margin-top: 5px; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.pm-bars { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pm-bar-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; }
.pm-bar-label { font-size: 11px; color: var(--ink-3); }
.pm-bar-track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pm-bar-fill { height: 100%; border-radius: 4px; background: var(--blue); }
.pm-bar-fill.is-list { background: #cfd6de; }
.pm-bar-value { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.pm-stats { display: flex; gap: 8px; margin-top: 10px; }
.pm-stat { flex: 1; background: #f7f8fa; border-radius: 12px; padding: 10px; text-align: center; }
.pm-k { display: block; font-size: 11px; color: var(--ink-3); }
.pm-stat b { font-size: 14px; }
.pm-buy {
  margin: 20px 0 8px; padding: 14px; border-radius: 16px; background: #f7f8fa;
  display: flex; flex-direction: column; gap: 10px;
}
.pm-buy-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pm-buy-k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.pm-buy-head strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.pm-buy-head em { font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.pm-buy .btn-buy { height: 46px; border-radius: 12px; font-size: 14px; }
.pm-foot { margin-top: 14px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.pm-legend, .pm-chart, .pm-warn { font-size: 12px; color: var(--ink-3); }
.pm-warn { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); }

/* 이용 안내 */
.info-title, .hub-title, .alert-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; padding: 14px var(--pad) 0; }
.info-lead { padding: 8px var(--pad) 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.info-lead-strong { font-size: 13px; color: var(--ink-3); }
.info-sec { margin-top: 18px; }
.info-sec h3 { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.info-sec ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.info-sec li { position: relative; padding-left: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.info-sec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.info-fine { margin-top: 16px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.info-actions { padding: 12px var(--pad) 0; display: flex; gap: 8px; }
.info-close, .install-close, .install-copy {
  flex: 1; height: 48px; border-radius: 12px; background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 700;
}
.info-actions .info-share, .info-actions .info-add {
  flex: 1; height: 48px; border-radius: 12px; background: var(--line-2); color: var(--ink-2);
  font-size: 14px; font-weight: 600;
}

/* 알림 허브·목표가 */
.hub-title, .alert-title { padding-right: 56px; }
.hub-scroll { padding-top: 10px; }
.hub-lead { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.hub-sec { margin-top: 16px; }
.hub-sec h3 { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.hub-list { display: flex; flex-direction: column; gap: 8px; }
.hub-row { display: flex; align-items: center; gap: 10px; background: #f7f8fa; border-radius: 12px; padding: 9px 10px; }
.hub-photo { width: 40px; height: 40px; border-radius: 9px; background: #fff; overflow: hidden; flex: none; }
.hub-photo img { width: 100%; height: 100%; object-fit: contain; }
.hub-txt { flex: 1; min-width: 0; }
.hub-txt b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-txt span { font-size: 12px; color: var(--ink-3); }
.hub-go { height: 34px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hub-fine { margin-top: 14px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.hub-kakao { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: var(--talk); color: var(--talk-ink); font-size: 14px; font-weight: 700; margin-top: 10px; }
.alert-name { padding: 6px var(--pad) 0; font-size: 13px; color: var(--ink-3); }
.alert-inline { padding: 0 var(--pad) 10px; }
.alert-sub { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.alert-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.alert-chip { height: 34px; padding: 0 10px; border-radius: 9px; background: #f7f8fa; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.alert-target { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.alert-target input { flex: 1; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; }
.alert-go { height: 44px; padding: 0 14px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.alert-note, .alert-fine { font-size: 11.5px; color: var(--ink-3); line-height: 1.55; margin-top: 8px; }
.alert-btn { height: 40px; padding: 0 12px; border-radius: 10px; background: var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.alert-off { color: var(--red); }

/* 홈 화면 추가 */
.install-card { padding-top: 26px; }
.install-title, #install-title { font-size: 19px; font-weight: 800; padding: 0 var(--pad); }
.install-device { font-size: 12px; color: var(--ink-3); padding: 4px var(--pad) 0; }
.install-steps { padding: 10px var(--pad) 0; display: flex; flex-direction: column; gap: 8px; list-style: none; counter-reset: st; }
.install-steps li { position: relative; padding-left: 26px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.install-steps li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-d); font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center;
}
.install-hint { font-size: 12px; color: var(--ink-3); padding: 8px var(--pad) 0; }
.install-actions { display: flex; gap: 8px; padding: 12px var(--pad) 0; }
.install-copy { background: var(--line-2); color: var(--ink-2); }
.install-copied { font-size: 12px; color: var(--blue); text-align: center; padding-top: 6px; }

/* ── 하단 탭바 ─────────────────────────────────────────── */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: var(--frame); z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  height: var(--tab-h); min-height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em;
}
.tabbar a .ico { display: grid; place-items: center; width: 24px; height: 24px; }
.tabbar a .ico svg { width: 23px; height: 23px; display: block; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] .ico svg { stroke: var(--ink); }
.tabbar a:active { background: var(--line-2); }

/* ── 푸터 ──────────────────────────────────────────────── */
.foot { margin-top: 20px; padding: 20px var(--pad) 28px; background: var(--bg); border-top: 1px solid var(--line); }
.legal-foot { font-size: 11.5px; line-height: 1.65; color: #9aa3ad; margin-bottom: 8px; }
.foot-meta {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 12px; font-size: 12px; color: var(--ink-3);
}
.foot-meta .update-ico { display: none; }
.update-date { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.update-k { font-style: normal; }
.update-date strong { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.update-cycle-main { font-size: 11.5px; color: var(--ink-3); }
.view-stat { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.view-stat b { color: var(--ink-2); font-weight: 600; }
.foot-bgm { margin-top: 14px; }
.bgm-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); width: 100%; }
.bgm-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bgm-eq i { width: 2px; background: var(--ink-3); border-radius: 1px; height: 6px; }
.bgm-eq i:nth-child(2) { height: 11px; }
.bgm-eq i:nth-child(3) { height: 8px; }
.bgm-name { flex: 1; text-align: left; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgm-state { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.bgm-btn[aria-pressed="true"] .bgm-state { color: var(--blue); }
.bgm-credit { display: block; margin-top: 6px; font-size: 10.5px; color: #a8b0b9; }
.copy { margin-top: 14px; font-size: 11px; color: #a8b0b9; }
.foot-shortcuts { display: flex; gap: 8px; margin-top: 12px; }
.foot-shortcuts button {
  flex: 1; height: 42px; border-radius: 10px; background: var(--card);
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}

/* BGM 플로팅 버튼 */
.bgm-fab {
  position: fixed; right: max(10px, calc(50% - var(--frame) / 2 + 10px)); bottom: calc(var(--tab-h) + 10px + env(safe-area-inset-bottom));
  width: 38px; height: 38px; border-radius: 50%; z-index: 55;
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
  display: grid; place-items: center; font-size: 14px; color: var(--ink-2);
}
.bgm-fab[aria-pressed="true"] { background: var(--blue-soft); border-color: #bcd8ff; }
.bgm-yt { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* 토스트 */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom));
  z-index: 90; max-width: calc(var(--frame) - 32px);
  background: rgba(25, 31, 40, 0.94); color: #fff;
  font-size: 13px; font-weight: 500; padding: 11px 16px; border-radius: 10px;
  text-align: center;
}

/* 유튜브 숨김 접근성 */
.bgm-yt iframe { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* 구형 클래스 정리(r53 이전 잔재) */
.tip-line, .grade-line[style], .prot-rail, .hot-card, .rec-pick, .spark, .chart-btn { }

/* ══════════════════════════════════════════════════════════
   r59 — 상세 시트 썸네일 · 단백질 20g당 · 최근 검색어 · 알림 목록 관리
   ══════════════════════════════════════════════════════════ */

/* 상세 바텀시트 상단: 상품 사진(88px 둥근 썸네일) + 분류·판매처·확인 시각 */
.pm-hero { display: flex; align-items: center; gap: 12px; padding: 8px 44px 4px 0; }
.pm-thumb {
  width: 88px; height: 88px; flex: none; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center;
}
.pm-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pm-thumb.is-blank { background: #f7f8fa; color: var(--ink-3); font-size: 18px; font-weight: 800; }
.pm-hero-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pm-hero-meta .pm-eyebrow { padding-top: 0; }
.pm-hero-brand { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pm-hero-meta .pm-src { margin-top: 2px; font-size: 11.5px; line-height: 1.45; }

/* 단가 요약 — '100g/100ml당 · 단백질 20g당' 한 줄 */
.pm-units {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  margin-top: 8px; font-size: 12.5px; color: var(--ink-3);
}
.pm-units b { color: var(--ink); font-weight: 800; }
.pm-unit-sep { color: #d5d9de; }
.pm-unit-p20 b { color: #039e46; }
.pm-unit-p20 em { font-style: normal; font-size: 10.5px; color: var(--ink-3); margin-left: 3px; }

/* 카드 단가 아래 — 고기·단백질 음료·쉐이크 공통 한 줄 */
.pc-prot20 { margin-top: 2px; font-size: 11.5px; font-weight: 600; color: #039e46; }
.pc-prot20 b { font-weight: 800; }
.pc-prot20-n { margin-left: 3px; font-size: 10px; font-weight: 500; color: var(--ink-3); }

/* 검색 탭 — 최근 검색어 · 추천 검색어 */
.search-lab-row { display: flex; align-items: center; justify-content: space-between; padding: 2px var(--pad) 6px; }
.search-lab { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.search-recent-clear { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.search-recent { margin-bottom: 2px; }
.search-recent-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--pad) 12px; }
.chip-recent {
  display: inline-flex; align-items: center; height: 34px; max-width: 100%;
  border-radius: 10px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
}
.chip-recent-go {
  height: 100%; padding: 0 4px 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chip-recent-x { height: 100%; padding: 0 10px 0 4px; font-size: 11px; color: var(--ink-3); }
.chip-recent-x:active, .chip-recent-go:active { background: var(--line-2); }
.search-rec .search-chips { padding-bottom: 14px; }

/* 알림 허브 — 목표가 알림 목록 관리 */
.hub-row { gap: 6px; padding: 7px 8px; }
.hub-open {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  text-align: left; background: none; border: 0; padding: 0; color: inherit;
}
.hub-del {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: 12px;
  display: grid; place-items: center;
}
.hub-del:active { background: #fdecec; border-color: #f7c9c9; color: #d92b2b; }
.hub-sec-hint { margin-left: 6px; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.hub-empty {
  margin-top: 6px; padding: 12px; border-radius: 12px; background: #f7f8fa;
  font-size: 12px; line-height: 1.6; color: var(--ink-3);
}
.hub-empty b { color: var(--ink-2); }
