@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

/* Clover = Minover palette, payer-first layout */
:root {
  --ink: #0b1f33;
  --ink-soft: #16324c;
  --paper: #f4e6cc;
  --card: #fff8ee;
  --line: #e4d3b4;
  --muted: #6d5e48;
  --text: #1a140e;
  --gold: #e0a01a;
  --gold-deep: #b57a0c;
  --gold-soft: #fbe7b0;
  --green: #0f7a4a;
  --green-soft: #d4f0e2;
  --red: #b42318;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 18, 34, 0.08);
  --radius: 18px;
  --c-bg: var(--paper);
  --c-panel: var(--card);
  --c-ink: var(--text);
  --c-muted: var(--muted);
  --c-accent: var(--gold-deep);
  --c-accent-ink: var(--ink);
  --c-error: var(--red);
  --c-bubble: #fff8e8;
  --font: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body.clover {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--c-ink);
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(15, 122, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #efe9dc 0%, var(--paper) 38%);
}

.c-offline-banner {
  display: none;
  background: #5a3a12;
  color: #ffe7c2;
  text-align: center;
  padding: 0.45rem;
  font-size: 0.85rem;
}
.c-offline-banner.show { display: block; }

.c-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--ink);
  color: #f6f3ec;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.c-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #f6f3ec;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.c-brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: 0 0 auto;
  display: block;
}
.c-top nav {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}
.c-top a { color: rgba(246,243,236,0.78); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.c-top a:hover, .c-top a.active { color: #f3c34a; }
.c-top form.inline { display: inline; margin: 0; }
.c-top button.linkish {
  background: none; border: none; color: rgba(246,243,236,0.78); cursor: pointer; font: inherit; padding: 0;
}
.c-top button.linkish:hover { color: #f3c34a; }
.c-top-app { justify-content: flex-start; }

.c-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 5rem;
}
body.c-signed-in .c-main-app {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
body.c-hide-chrome .c-top,
body.c-hide-chrome .c-tabs {
  display: none !important;
}
body.c-hide-chrome .c-main.wa-thread-page {
  padding-bottom: 0;
  min-height: 100dvh;
}

/* Bottom tabs (signed-in app shell) */
.c-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.c-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.55rem 0.25rem;
  color: rgba(246,243,236,0.62);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.c-tab.active { color: #f3c34a; }
.c-tab:hover { color: #f6f3ec; }

.c-page-head {
  margin: 0 0 1rem;
}
.c-page-head h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 0 0 0.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.c-page-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.98rem;
}
.c-page-actions { margin-top: 0; margin-bottom: 1rem; }
.c-crumb { margin: 0 0 0.5rem !important; font-size: 0.9rem; }
.c-crumb a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }
.c-hero-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.c-hero-brand img {
  width: 0.92em;
  height: 0.92em;
  border-radius: 0.28em;
  flex: 0 0 auto;
  display: block;
}
.c-hero h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.c-foot {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.c-foot a { color: var(--gold-deep); }

.c-hero h1, .c-panel h1, .c-inbox h1, .c-chat-head h1, .c-shop h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.45rem);
  margin: 0 0 0.7rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.c-hero p, .c-sub {
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.02rem;
}
.c-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.35rem 0; align-items: center; }
.c-note { font-size: 0.9rem; color: var(--muted); }

.c-btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform .12s ease, background .12s ease;
}
.c-btn:hover { transform: translateY(-1px); }
.c-btn.primary {
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}
.c-btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(12, 18, 34, 0.16);
}
.c-top .c-btn {
  padding: 0.45rem 0.9rem;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  border: none;
}

.c-panel, .c-perms {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.c-form { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1rem; }
.c-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; }
.c-form input[type="email"],
.c-form input[type="tel"],
.c-form input[type="password"],
.c-form input[type="text"],
.c-form input[type="search"],
.c-compose textarea {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}
.c-form label.check { flex-direction: row; align-items: center; gap: 0.5rem; color: var(--muted); font-weight: 400; }
.c-error { color: var(--red); }
.c-otp {
  background: var(--gold-soft);
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #ead7a0;
}

.c-thread-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.c-thread-list li { margin: 0 0 0.65rem; }
.c-thread-list a,
form.c-chat-start button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: var(--card);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(12, 18, 34, 0.04);
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, transform .12s ease;
}
.c-thread-list a:hover,
form.c-chat-start button:hover {
  border-color: #d4b45a;
  transform: translateY(-1px);
}
.c-thread-list strong, form.c-chat-start strong { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }
.c-thread-list span, form.c-chat-start span { color: var(--muted); font-size: 0.92rem; }
.c-thread-list .empty, .c-bubbles .empty { color: var(--muted); padding: 1rem 0; }
.c-thread-list em, form.c-chat-start em {
  display: block;
  margin-top: 0.3rem;
  color: var(--green);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
}
.c-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
form.c-chat-start { margin: 0; }

.c-chat-head { margin-bottom: 1rem; }
.c-chat-head a { color: var(--gold-deep); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.c-bubbles { display: flex; flex-direction: column; gap: 0.75rem; }
.c-bubble {
  background: var(--c-bubble);
  padding: 1rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0.35rem;
  max-width: 92%;
  border: 1px solid #f0e2b8;
}
.c-bubble.payer {
  align-self: flex-end;
  border-radius: 1.1rem 1.1rem 0.35rem 1.1rem;
  background: var(--gold-soft);
  border-color: #ead7a0;
}
.c-bubble.shop {
  align-self: flex-start;
  background: var(--card);
  border-color: var(--line);
}
.c-bubble.system, .c-bubble.receipt {
  align-self: flex-start;
  background: #fff;
  border-color: var(--line);
}
.c-bubble pre {
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
}
.c-bubble time { display: block; margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted); }

.c-compose {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 1.25rem;
  position: sticky;
  bottom: 0.75rem;
  background: linear-gradient(transparent, var(--paper) 35%);
  padding-top: 0.85rem;
}
.c-compose textarea {
  flex: 1;
  min-height: 2.9rem;
  resize: vertical;
}

.c-perms { margin-bottom: 1.25rem; }
.c-perms p { color: var(--muted); margin-top: 0; }

.c-shop-grid, .c-product-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
}
.c-shop-grid a, .c-product-card {
  display: block;
  padding: 1rem;
  background: var(--card);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(12, 18, 34, 0.05);
}
.c-shop-grid strong, .c-product-card strong { display: block; margin-bottom: 0.25rem; }
.c-shop-grid span, .c-product-card span { color: var(--gold-deep); font-weight: 700; }
.c-shop-grid em {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
}
.c-product-card em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}
.c-product-media {
  height: 7.5rem;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.65rem;
  background-color: #efe8d8;
}
.c-product-media.empty {
  background-image: linear-gradient(135deg, #f8e7b0, #e8f0ff);
}
.c-price { font-size: 1.4rem; font-weight: 700; color: var(--gold-deep); }
.c-product-img, .c-product-video {
  width: 100%;
  max-height: 22rem;
  border-radius: 16px;
  margin: 1rem 0;
  object-fit: cover;
  background: #111;
  border: 1px solid var(--line);
}

.c-search-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.c-search-form input {
  flex: 1;
  min-width: 12rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(12,18,34,0.03);
}
.c-search-results { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.c-search-card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.05rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(12, 18, 34, 0.05);
}
.c-search-card a { color: inherit; text-decoration: none; }
.c-search-card strong { display: block; font-size: 1.05rem; }
.c-search-card span { color: var(--gold-deep); font-weight: 700; }
.c-search-card em { display: block; color: var(--muted); font-style: normal; margin: 0.25rem 0; }
.c-search-card p { color: var(--muted); margin: 0.4rem 0 0; font-size: 0.9rem; }
.c-search-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }

.c-install {
  display: none;
  position: sticky;
  bottom: 0;
  margin: 1.5rem -1.25rem -1rem;
  padding: 0.95rem 1.25rem;
  background: var(--ink);
  color: #f6f3ec;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 16px 16px 0 0;
}
.c-install.show { display: flex; }
body.c-signed-in .c-install,
body.c-hide-chrome .c-install,
.wa-thread-page #c-install { display: none !important; }
.c-install p { margin: 0; color: rgba(246,243,236,0.78); font-size: 0.9rem; flex: 1; min-width: 12rem; }
.c-install .c-btn.ghost { color: #f6f3ec; border-color: rgba(255,255,255,0.25); }

@media (max-width: 640px) {
  .c-top { padding: 0.8rem 1rem; }
  .c-main { padding: 1.35rem 1rem 4.5rem; }
  body.c-signed-in .c-main-app { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
  .c-top nav { gap: 0.55rem; }
}

/* —— WhatsApp-style chats —— */
body.c-signed-in .c-page-chats {
  max-width: 40rem;
  margin: 0 auto;
}
body.c-signed-in .wa-chat-list {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.wa-chats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  flex-wrap: wrap;
}
.wa-chats-head h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.wa-chats-head .wa-back {
  margin-right: 0.35rem;
}
.wa-chats-tools { display: flex; gap: 0.35rem; }
.wa-icon-btn, .wa-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  cursor: pointer;
}
.wa-icon-btn:hover, .wa-back:hover { background: rgba(12, 18, 34, 0.06); }

.wa-search { margin: 0 0 0.5rem; }
.wa-search input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: #efe8da;
  color: var(--text);
  font: inherit;
  outline: none;
}
.wa-search input:focus { box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.35); }

.wa-chat-list {
  margin: 0 -0.25rem;
  display: flex;
  flex-direction: column;
}
.wa-row-form { margin: 0; }
.wa-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.5rem;
  border: none;
  border-bottom: 1px solid rgba(12, 18, 34, 0.06);
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.wa-row:hover { background: rgba(12, 18, 34, 0.03); }
.wa-avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
}
.wa-avatar.sm { width: 2.35rem; height: 2.35rem; font-size: 0.95rem; }
.wa-avatar.muted { background: linear-gradient(145deg, #6b7280, #374151); }
.wa-row-main { flex: 1; min-width: 0; }
.wa-row-top, .wa-row-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.wa-row-top strong {
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-row-top time, .wa-row-bottom .wa-preview {
  color: var(--muted);
  font-size: 0.82rem;
}
.wa-row-top time { flex: 0 0 auto; }
.wa-preview {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-unread {
  flex: 0 0 auto;
  min-width: 1.2rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}
.wa-empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 0;
}

/* Thread (conversation) */
.clover .c-main.wa-thread-page {
  padding: 0;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.wa-thread {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(248, 231, 176, 0.45), transparent 50%),
    linear-gradient(180deg, rgba(246, 243, 236, 0.96), rgba(243, 239, 230, 0.98)),
    repeating-linear-gradient(
      -12deg,
      transparent 0 10px,
      rgba(12, 18, 34, 0.015) 10px 11px
    );
}
.wa-thread-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: var(--ink);
  color: #f6f3ec;
  position: sticky;
  top: 0;
  z-index: 5;
}
.wa-thread-head .wa-back { color: #f6f3ec; }
.wa-peer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.wa-peer:hover { opacity: 0.92; }
.wa-thread-head .wa-avatar {
  background: linear-gradient(145deg, #d4b45a, #8a6d1f);
}
.wa-thread-meta { min-width: 0; flex: 1; }
.wa-thread-meta strong {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-thread-meta a {
  color: rgba(246, 243, 236, 0.7);
  font-size: 0.78rem;
  text-decoration: none;
}
.wa-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wa-bubble {
  max-width: 82%;
  padding: 0.45rem 0.55rem 0.3rem;
  border-radius: 0.55rem;
  position: relative;
  box-shadow: 0 1px 1px rgba(12, 18, 34, 0.06);
}
.wa-bubble.payer {
  align-self: flex-end;
  background: var(--gold-soft);
  border: 1px solid #ead7a0;
  border-top-right-radius: 0.15rem;
}
.wa-bubble.shop, .wa-bubble.system, .wa-bubble.receipt, .wa-bubble.pay_link {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 0.15rem;
}
.wa-bubble.assistant {
  align-self: flex-start;
  background: var(--gold-soft);
  border: 1px solid #ead7a0;
  border-top-left-radius: 0.15rem;
}
.wa-shop-thread-body .wa-bubble.shop {
  align-self: flex-end;
  background: var(--gold-soft);
  border: 1px solid #ead7a0;
  border-top-right-radius: 0.15rem;
  border-top-left-radius: 0.55rem;
}
.wa-shop-thread-body .wa-bubble.assistant,
.wa-shop-thread-body .wa-bubble.payer,
.wa-shop-thread-body .wa-bubble.system {
  align-self: flex-start;
}
.wa-avatar.clover-ai-mark {
  background:
    url("/static/clover/mark.svg") center / 58% no-repeat,
    linear-gradient(145deg, #d4b45a, #8a6d1f) !important;
  color: transparent;
}
.wa-bubble-body pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
}
.wa-pdf {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 600;
}
.wa-bubble time {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: #667781;
  margin-top: 0.15rem;
  padding-left: 1.5rem;
}
.wa-composer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem 0.65rem;
  background: #efe8da;
  position: sticky;
  bottom: 0;
}
.wa-composer input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  background: #fff;
  outline: none;
}
.wa-send {
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.wa-send:hover { filter: brightness(1.05); }

/* Settings */
.wa-settings { max-width: 28rem; }
.wa-settings-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  margin: 0 0 0.85rem;
}
.wa-settings-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.wa-settings-line a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.wa-settings-line strong { color: var(--text); }
.wa-settings .c-actions { margin-top: 0.75rem; }
.wa-settings .check { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0; }

@media (max-width: 640px) {
  .clover .c-main.wa-thread-page { min-height: 100dvh; }
  .wa-thread { min-height: 100dvh; }
}

.wa-avatar.online { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d4a017; }
.wa-avatar.xl { width: 6.5rem; height: 6.5rem; font-size: 2rem; overflow: hidden; }
.wa-avatar.xl img, .wa-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
.wa-profile-hero { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.wa-settings-card label { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.65rem 0; font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.wa-settings-card input, .wa-settings-card textarea {
  font: inherit; font-weight: 400; color: var(--text);
  padding: 0.65rem 0.75rem; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.wa-thread-meta span { display: block; font-size: 0.75rem; color: rgba(246,243,236,0.72); min-height: 1em; }
.wa-icon-btn.light { color: #f6f3ec; }
.wa-media { max-width: 100%; border-radius: 0.4rem; display: block; margin-bottom: 0.35rem; }
.wa-media-audio { width: 100%; margin-bottom: 0.35rem; }
.wa-doc { display: block; margin-bottom: 0.35rem; color: var(--gold-deep); font-weight: 600; }
.wa-quote {
  border-left: 3px solid var(--gold-deep); background: rgba(248, 231, 176, 0.35);
  padding: 0.25rem 0.45rem; margin-bottom: 0.35rem; border-radius: 0.25rem; font-size: 0.8rem; color: #556;
}
.wa-fwd { font-size: 0.72rem; color: #667; font-style: italic; margin-bottom: 0.2rem; }
.wa-ticks {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.08em;
  margin-left: 0.12em;
  color: #8a8378;
  letter-spacing: 0;
}
.wa-ticks.read { color: var(--gold-deep); }
.wa-ticks::before,
.wa-ticks.delivered::after,
.wa-ticks.read::after {
  content: "";
  width: 0.82em;
  height: 0.82em;
  background: currentColor;
  -webkit-mask: url("/static/clover/mark.svg") center / contain no-repeat;
  mask: url("/static/clover/mark.svg") center / contain no-repeat;
}
.wa-ticks.delivered::after,
.wa-ticks.read::after {
  margin-left: -0.1em;
}
.wa-bubble.deleted pre { font-style: italic; color: #778; }
.wa-reacts { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.2rem; }
.wa-react-pill { background: #fff; border: 1px solid #ddd; border-radius: 999px; padding: 0.05rem 0.35rem; font-size: 0.75rem; }
.wa-reply-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0.75rem; background: var(--gold-soft); font-size: 0.85rem;
}
.wa-reply-bar[hidden] { display: none !important; }
.wa-emoji-panel {
  display: none; flex-wrap: wrap; gap: 0.25rem; padding: 0.5rem;
  background: #fff; border-top: 1px solid var(--line); max-height: 8rem; overflow-y: auto;
}
.wa-emoji-panel.show { display: flex; }
.wa-emoji { border: none; background: transparent; font-size: 1.35rem; cursor: pointer; }
.wa-attach-menu {
  display: none; gap: 0.5rem; padding: 0.5rem 0.75rem; background: #fff; border-top: 1px solid var(--line);
}
.wa-attach-menu.show { display: flex; flex-wrap: wrap; }
.wa-attach-menu label { cursor: pointer; padding: 0.4rem 0.75rem; background: #efe8da; border-radius: 999px; font-size: 0.85rem; }
.wa-icon-btn.recording { background: #e11; color: #fff; border-radius: 999px; }
.wa-sheet {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-radius: 1rem 1rem 0 0; padding: 0.75rem;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
}
.wa-sheet.show { display: block; }
.wa-sheet button {
  display: block; width: 100%; text-align: left; padding: 0.85rem 0.75rem;
  border: none; background: transparent; font: inherit; cursor: pointer; border-bottom: 1px solid #eee;
}
.wa-sheet-reacts { display: flex; gap: 0.35rem; justify-content: center; padding: 0.5rem; }
.wa-sheet-reacts button { width: auto; border: none; font-size: 1.4rem; padding: 0.35rem; }
.wa-call-ui {
  position: fixed; inset: 0; z-index: 50; background: #0c1222; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.wa-call-ui[hidden] { display: none !important; }
.wa-call-ui video { max-width: 90vw; max-height: 40vh; background: #111; border-radius: 12px; }
.wa-call-ui.audio-only .wa-call-stage { display: none; }
.wa-call-ui.video-call .wa-call-stage {
  position: relative; width: min(92vw, 28rem); height: min(55vh, 24rem);
  background: #111; border-radius: 16px; overflow: hidden;
}
.wa-call-ui.video-call #wa-remote {
  width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none;
}
.wa-call-ui.video-call #wa-local {
  position: absolute; right: 0.75rem; bottom: 0.75rem; top: auto;
  width: 30%; max-width: 8rem; height: auto; aspect-ratio: 3/4;
  object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,0.35);
}
.wa-call-status { color: #f6f3ec; font-size: 1.1rem; margin: 0; }
#wa-local { position: absolute; right: 1rem; top: 1rem; width: 28vw; max-width: 9rem; }

.c-incoming-call {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%);
  z-index: 60; width: min(22rem, calc(100vw - 2rem));
  background: var(--ink); color: #f6f3ec; border-radius: 1rem;
  padding: 1rem 1.1rem; box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-align: center;
}
.c-incoming-call[hidden] { display: none !important; }
.c-incoming-call p { margin: 0 0 0.85rem; font-weight: 600; }
.c-incoming-actions { display: flex; gap: 0.65rem; justify-content: center; }
.c-incoming-actions .c-btn.primary {
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  border-color: transparent;
  color: var(--ink);
}
.wa-status-row {
  display: flex; gap: 0.75rem; align-items: center; width: 100%;
  padding: 0.65rem 0; border: none; border-bottom: 1px solid var(--line);
  background: transparent; text-align: left; font: inherit; cursor: pointer;
}
.wa-status-row em { display: block; color: var(--muted); font-style: normal; font-size: 0.85rem; }
.wa-status-item { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.wa-status-item img { max-width: 100%; border-radius: 12px; }
.wa-shop-picks { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.5rem 0 1rem; }

.desk-banner {
  display: block;
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 0.85rem;
  background: #efe0c4;
}
.c-panel .desk-banner {
  margin: -1.5rem -1.5rem 1.15rem;
  width: calc(100% + 3rem);
  border-radius: 18px 18px 0 0;
  height: 8.2rem;
}
.wa-chats-head .desk-banner {
  flex: 1 0 100%;
}

.desk-stage {
  position: relative;
  min-height: 18rem;
}
.desk-view {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .42s ease, transform .42s ease;
}
.desk-view.is-in {
  opacity: 1;
  transform: none;
}
.desk-view.is-out {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}
.desk-back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  padding: 0 0 .85rem;
  cursor: pointer;
}
.desk-back:hover { color: var(--ink); }
.desk-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.desk-choice {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem .85rem 1.1rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.desk-choice img {
  display: block;
  width: 100%;
  height: 8.2rem;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: .75rem;
  background: #efe0c4;
}
.desk-choice:hover,
.desk-choice:focus-visible {
  border-color: var(--gold-deep);
  background: #fff;
  transform: translateY(-3px);
  outline: none;
}
.desk-choice strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  margin-bottom: .35rem;
  color: var(--ink);
}
.desk-choice span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.desk-choice-quiet {
  background: #f7edd8;
}
@media (prefers-reduced-motion: reduce) {
  .desk-view,
  .desk-choice {
    transition: none;
    transform: none;
  }
}

.st-page { max-width: 28rem; margin: 0 auto; padding-bottom: 4rem; }
.st-head h1 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.st-rings {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 1rem;
  margin: 0 -0.35rem 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.st-rings::-webkit-scrollbar { display: none; }
.st-rings-chat { padding-bottom: 0.85rem; border-bottom: 1px solid rgba(12, 18, 34, 0.06); margin-bottom: 0.75rem; }
.st-ring-item {
  flex: 0 0 auto;
  width: 4.5rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: center;
}
.st-ring-item small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-ring {
  position: relative;
  display: block;
  width: 4.1rem;
  height: 4.1rem;
  margin: 0 auto;
  border-radius: 999px;
  padding: 2px;
  background: #cbbda6;
}
.st-ring.sm { width: 3.35rem; height: 3.35rem; }
.st-ring.unseen {
  background: conic-gradient(from -90deg, #e0a01a, #0f7a4a 55%, #e0a01a);
}
.st-ring.mine.empty { background: #ddd4c2; }
.st-ring-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--paper);
  padding: 3px;
}
.st-ring-inner .wa-avatar {
  width: 100%;
  height: 100%;
  font-size: 1.05rem;
  overflow: hidden;
}
.st-plus {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #0f7a4a;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.05rem;
  font-weight: 700;
  border: 2px solid var(--paper);
}
.st-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.7rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(12, 18, 34, 0.06);
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.st-row:hover { background: rgba(12, 18, 34, 0.03); }
.st-row-main { min-width: 0; }
.st-row-main strong { display: block; font-weight: 650; }
.st-row-main em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}
.st-label {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.st-empty { color: var(--muted); padding: 1.5rem 0.25rem; }
.st-fab {
  position: fixed;
  right: 1.1rem;
  bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.18);
  z-index: 25;
}
.st-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--card);
  border-radius: 1.1rem 1.1rem 0 0;
  padding: 0.75rem 0.75rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(12, 18, 34, 0.18);
}
.st-sheet[hidden], .st-viewer[hidden], .st-text-composer[hidden] { display: none !important; }
.st-sheet-btn, .st-sheet-close {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.95rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.st-sheet-close { color: var(--muted); font-weight: 500; border-bottom: 0; text-align: center; }
.st-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0b1f33;
  color: #f6f3ec;
  display: flex;
  flex-direction: column;
}
.st-progress {
  display: flex;
  gap: 4px;
  padding: 0.55rem 0.65rem 0;
}
.st-progress i {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
  overflow: hidden;
}
.st-progress i b {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
.st-progress i.done b { width: 100%; }
.st-progress i.active b { animation: stFill 5s linear forwards; }
@keyframes stFill { to { width: 100%; } }
.st-viewer-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem 0.4rem;
}
.st-viewer-head strong { display: block; font-size: 0.95rem; }
.st-viewer-head span { display: block; font-size: 0.75rem; color: rgba(246,243,236,0.7); }
.st-viewer-head > div:nth-child(2) { flex: 1; min-width: 0; }
.st-media {
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 0;
}
.st-media img, .st-media video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.st-text-slide {
  margin: 0 1.5rem;
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}
.st-caption {
  margin: 0;
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  text-align: center;
}
.st-x {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.6rem;
  cursor: pointer;
}
.st-text-composer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.st-text-stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1.25rem;
  color: #f6f3ec;
}
.st-text-stage textarea {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  resize: none;
  outline: none;
  margin-top: 2.5rem;
}
.st-themes { display: flex; gap: 0.45rem; justify-content: center; margin: 0.75rem 0 1rem; }
.st-themes button {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.st-themes button.on { border-color: #fff; }
.st-send {
  align-self: flex-end;
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
}
body.st-open .c-top,
body.st-open .c-tabs,
body.st-caption-open .c-top,
body.st-caption-open .c-tabs { display: none !important; }

.clove-home { max-width: 28rem; margin: 0 auto; padding-bottom: 4.5rem; }
.clove-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
}
.clove-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8860b;
  font-weight: 700;
}
.clove-head h1 {
  margin: 0.1rem 0 0;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}
.clove-add {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: #0b1f33;
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.28);
}
.clove-rings {
  padding: 0.35rem 0 1rem;
  margin: 0 -0.15rem 0.5rem;
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}
.clove-feed { display: grid; gap: 1.1rem; }
.clove-card {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.06);
}
.clove-card::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f3c34a, #0f7a4a 70%);
  opacity: 0.55;
  pointer-events: none;
}
.clove-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem 0.65rem;
}
.clove-card-head strong { display: block; font-size: 0.95rem; }
.clove-card-head em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.75rem;
}
.clove-media img, .clove-media video {
  display: block;
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  background: #0b1f33;
}
.clove-text {
  min-height: 12rem;
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem;
  color: #f6f3ec;
  font-size: 1.35rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.35;
}
.clove-caption {
  margin: 0;
  padding: 0.75rem 0.95rem 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.clove-caption strong { margin-right: 0.3rem; }
.clove-talk { padding: 0 0.15rem 0.35rem; }
.clove-actions {
  display: flex;
  align-items: center;
  padding: 0.15rem 0.7rem 0.2rem;
}
.clove-like {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  color: #8a7340;
  cursor: pointer;
  padding: 0.2rem 0.25rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
}
.clove-like .clove-mark {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}
.clove-like .clove-mark rect { fill: currentColor; stroke: none; }
.clove-like.on { color: #0f7a4a; }
.clove-like.on .clove-mark { fill: #f3c34a; stroke: #0f7a4a; }
.clove-like.on .clove-mark rect { fill: #1f7a45; }
.clove-like.on-dark {
  color: #f6f3ec;
  position: absolute;
  left: 0.85rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 22, 36, 0.45);
}
.clove-like.on-dark.on { color: #f3c34a; }
.clove-like.on-dark.on .clove-mark { fill: #f3c34a; stroke: #f6f3ec; }
.clove-like.on-dark.on .clove-mark rect { fill: #2ea35c; }
.clove-like [data-like-count]:empty { display: none; }
.clove-view-all {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  text-align: left;
  padding: 0.2rem 0.95rem 0.45rem;
  cursor: pointer;
}
.clove-comments {
  list-style: none;
  margin: 0;
  padding: 0 0.95rem 0.35rem;
}
.clove-comments li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.28rem 0;
}
.clove-comments .wa-avatar.sm {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.clove-comments p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.clove-comments em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}
.clove-comment-form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.85rem 0.85rem;
  border-top: 1px solid rgba(11, 31, 51, 0.06);
}
.clove-comment-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  outline: none;
}
.clove-comment-form button {
  border: 0;
  background: none;
  color: #b8860b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
}
.clove-comment-form button:hover { color: #0b1f33; }
.st-caption-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0b1f33;
  color: #f6f3ec;
  display: flex;
  flex-direction: column;
  padding: 3.2rem 1rem 1.25rem;
}
.st-caption-sheet[hidden] { display: none !important; }
.st-caption-preview {
  flex: 1;
  min-height: 12rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background: #081624;
}
.st-caption-preview img, .st-caption-preview video {
  max-width: 100%;
  max-height: 52vh;
  object-fit: contain;
}
.st-caption-label {
  display: block;
  margin: 0.9rem 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 650;
}
.st-caption-label span { color: rgba(246,243,236,0.55); font-weight: 500; }
.st-caption-label textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 4.2rem;
  border: 1px solid rgba(246,243,236,0.18);
  border-radius: 0.85rem;
  background: rgba(246,243,236,0.08);
  color: #f6f3ec;
  font: inherit;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}
.st-caption-sheet .c-btn { width: 100%; }
.clove-empty {
  padding: 1.5rem 0.25rem 2rem;
  color: var(--muted);
  text-align: center;
}
.clove-empty .c-btn { margin-top: 0.85rem; }
.st-channel-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}
.st-channel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}
.st-channel button {
  border: 1px solid rgba(11, 31, 51, 0.12);
  background: #f6f3ec;
  color: #0b1f33;
  border-radius: 999px;
  padding: 0.55rem 0.4rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}
.st-channel button.on {
  background: #0b1f33;
  color: #f3c34a;
  border-color: #0b1f33;
}
.c-shop-face {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.45rem;
  border: 2px solid #f3c34a;
}
.c-shop-face img { width: 100%; height: 100%; object-fit: cover; }
.clove-shop-face { object-fit: cover; }
.clove-map {
  margin: 0.65rem 0 0.85rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 51, 0.1);
  background: #efe8da;
  min-height: 11rem;
}
.clove-map iframe {
  display: block;
  width: 100%;
  height: 11.5rem;
  border: 0;
}
.clove-map-canvas {
  width: 100%;
  height: 12rem;
  background: #efe8da;
}
.clove-map-links {
  margin: 0;
  padding: 0.45rem 0.7rem 0.55rem;
  font-size: 0.85rem;
}
.clove-map-links a { color: #0b1f33; }
