@font-face {
  font-family: "Parkway Lush";
  src:
    url("assets/fonts/parkway-lush.otf") format("opentype"),
    url("assets/fonts/parkway-lush.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* === Brand colors === */
  --orange: #ea5330;
  --orange-deep: #cc4424;
  --pink: #ff4f30;
  --ink: #111111;
  --sub: #69615f;
  --muted: #a69d9a;
  --line: #efe7e5;
  --warm: #fff7f4;
  --pink-soft: #f3eee6;
  --orange-soft: #fde6df;
  --paper: #ffffff;

  /* === Accent (cards/chips) === */
  --pastel-violet: #e8dffb;
  --pastel-yellow: #ffe8a3;
  --pastel-mint: #d6f0e0;
  --pastel-sky: #d8e8fb;
  --pastel-coral: #ffd6c8;

  /* === Radius === */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* === Shadows (Sandra/Meditation 레퍼런스 무드) === */
  --shadow-sm:  0 4px 12px rgba(17, 17, 17, .04);
  --shadow:     0 12px 30px rgba(17, 17, 17, .08);
  --shadow-lg:  0 20px 50px rgba(17, 17, 17, .12);
  --shadow-pop: 0 18px 44px rgba(112, 115, 124, .22);
  --script-font: "Parkway Lush", "Segoe Script", "Brush Script MT", "Bradley Hand ITC", cursive;
  --body-font: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
[data-theme="dark"] {
  --pastel-violet: #2a2235;
  --pastel-yellow: #3a3320;
  --pastel-mint:   #1f2e26;
  --pastel-sky:    #1f2a3a;
  --pastel-coral:  #3a2a24;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #e8e2de;
  font-family: var(--body-font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; }

.stage {
  width: min(100vw, 920px);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.phone {
  width: 390px;
  height: 844px;
  border-radius: 38px;
  border: 10px solid #191919;
  background: var(--paper);
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 90px rgba(17, 17, 17, .24);
}

.screen {
  height: 100%;
  overflow-y: auto;
  padding: 22px 18px 110px;
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(112, 115, 124, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 90% 50% at 100% 20%, rgba(255, 79, 48, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 0% 35%, rgba(253, 230, 223, 0.6) 0%, transparent 70%),
    linear-gradient(180deg, #fffaf2 0%, #f3eee6 60%, #fffdfb 100%);
  scrollbar-width: none;
  position: relative;
}
[data-theme="dark"] .screen {
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(112, 115, 124, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 90% 50% at 100% 20%, rgba(106, 51, 38, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, #1a1614 0%, #1f1816 100%);
}

.screen::-webkit-scrollbar { display: none; }

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 22px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin: -10px -8px 12px;
  padding: 26px 22px 32px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 5%, rgba(255,255,255,0.45) 0%, transparent 35%),
    radial-gradient(circle at 0% 110%, rgba(255, 79, 48, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, #ff8e6e 0%, var(--orange) 50%, #d04a26 100%);
  color: white;
  box-shadow:
    0 24px 48px rgba(112, 115, 124, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 88% 88%, rgba(255,255,255,0.25) 0%, transparent 8%),
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.15) 0%, transparent 10%),
    radial-gradient(circle at 95% 60%, rgba(255,255,255,0.18) 0%, transparent 7%);
  pointer-events: none;
}
.top > * { position: relative; z-index: 1; }
.top h1 { color: #fff; }
.top .lead { color: rgba(255,255,255,0.85); }

.top-text {
  flex: 1;
  min-width: 0;
}

.backbar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.back > span { display: block; transform: translateY(-1px); }

.route-label {
  color: var(--sub);
  font-size: 12px;
  font-weight: 620;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 11px;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.store-icon { display: inline-grid; place-items: center; width: 14px; height: 14px; }
.store-icon svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.store-name { overflow: hidden; text-overflow: ellipsis; }

h1 {
  margin: 8px 0 4px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lead {
  margin: 14px 0 0;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead-soft { color: var(--sub); }

.icons {
  display: flex;
  gap: 8px;
  padding-top: 4px;
  flex-shrink: 0;
}

.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: inline-grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(112,115,124,.16);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  padding: 0;
}

.round-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.round-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(17,17,17,.1); }

.dev-switcher {
  position: fixed;
  left: 18px;
  top: 18px;
  width: 218px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(17,17,17,.10);
  backdrop-filter: blur(18px);
  padding: 12px;
}
.dev-switcher h2 { margin: 4px 4px 10px; font-size: 13px; }
.dev-grid { display: grid; gap: 6px; }
.dev-grid button {
  border: 0; border-radius: 12px; background: var(--warm); color: var(--ink);
  font-size: 11px; font-weight: 600; text-align: left; padding: 8px 10px; cursor: pointer;
}
.dev-grid button.active { background: var(--orange); color: white; }

/* Hero block */
.hero {
  position: relative;
  min-height: 220px;
  margin-top: 22px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,255,255,.25) 0%, transparent 60%),
    linear-gradient(135deg, var(--orange) 0%, #d8492c 60%, #c43d20 100%);
  color: white;
  padding: 28px 26px;
  box-shadow:
    0 20px 50px rgba(112, 115, 124, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.hero-tight { margin-top: 28px; }
.hero-mini { min-height: 116px; }

.hero-logo {
  position: absolute;
  width: 220px;
  height: 220px;
  object-fit: cover;
  right: -60px;
  bottom: -70px;
  opacity: .92;
  transform: rotate(-8deg);
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.28));
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-8px); }
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: #ffe4dc;
  letter-spacing: .04em;
}
.eyebrow-static { margin: 0; }

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 240px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  word-break: keep-all;
}
.hero-title-sm { font-size: 22px; }

.hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

/* Buttons / pills */
.pill {
  border: 0;
  border-radius: 999px;
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .15s, box-shadow .15s, background .15s;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.pill.full { width: 100%; height: 50px; font-size: 14px; }
.pill-dark { background: var(--ink); color: white; }
.pill-soft { background: var(--pink-soft); color: var(--orange); }
.pill-on { background: var(--orange); color: white; }
.pill-ghost { background: rgba(255,255,255,.18); color: white; border: 1px solid rgba(255,255,255,.32); }
.pill-cta {
  height: 60px;
  background: var(--ink);
  color: white;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow: 0 14px 32px rgba(17,17,17,.28);
}
.pill-cta:hover { background: #000; transform: translateY(-2px); }
.pill-outline { background: white; color: var(--ink); border: 1.5px solid rgba(17,17,17,.08); }
.pill-soft { background: var(--orange-soft); color: var(--orange-deep); }
.pill-dark { background: var(--ink); color: white; }
.pill-square {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 24px rgba(17,17,17,.18);
}
.pill-square svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.quick-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* Sections */
.section { margin-top: 30px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 2px;
  gap: 8px;
}
.section-head h2 { font-size: 17px; }

.link {
  border: 0; background: transparent; color: var(--orange);
  font-size: 12px; font-weight: 500; padding: 0; cursor: pointer;
}
.link-active { color: var(--orange-deep); }

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product {
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.product:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.art {
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--orange);
  margin-bottom: 10px;
}
.art .mark {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.product h3 {
  margin: 0;
  min-height: 38px;
  font-size: 12px;
  line-height: 1.32;
  font-weight: 500;
  word-break: keep-all;
}
.product p {
  margin: 6px 0 0;
  min-height: 28px;
  color: var(--sub);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 550;
}

.price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 8px;
}
.price-row.big { gap: 12px; padding-top: 6px; }

.price {
  color: var(--orange);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.price-row.big .price { font-size: 28px; }

.was {
  color: var(--muted);
  font-size: 11px;
  text-decoration: line-through;
  font-weight: 550;
}
.price-row.big .was { font-size: 14px; }

.discount-badge {
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
}

/* Group buy */
.group-buy-hero {
  min-height: 156px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(240,190,212,.8), transparent 34%),
    linear-gradient(135deg, var(--ink) 0%, #2d2420 56%, var(--orange) 100%);
  color: white;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  position: relative;
}
.group-buy-hero h2 {
  margin: 6px 0 8px;
  font-size: 31px;
  line-height: .98;
  font-weight: 500;
}
.group-buy-hero p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
}
.group-buy-hero .simple-kicker { color: var(--pink); }
.group-buy-hero-mark {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.group-buy-hero-mark strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}
.group-buy-hero-mark span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 620;
  color: rgba(255,255,255,.78);
}
.group-buy-list {
  display: grid;
  gap: 14px;
}
.group-buy-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  padding: 12px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 14px;
  box-shadow: 0 10px 26px rgba(112,115,124,.08);
}
.group-buy-featured {
  border-color: rgba(112,115,124,.26);
  box-shadow: 0 18px 40px rgba(112,115,124,.14);
}
.group-buy-photo {
  min-height: 158px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.group-buy-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.group-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  width: auto;
  max-width: calc(100% - 20px);
  min-height: 26px;
  border-radius: 999px;
  background: white;
  color: var(--orange);
  border: 1.5px solid rgba(112,115,124,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(17,17,17,.08);
}
.group-discount small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 500;
  color: var(--sub);
}
.group-buy-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 2px 2px 0;
}
.group-buy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.group-buy-meta span,
.group-tier {
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 10px;
  font-weight: 500;
}
.group-buy-copy h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 500;
  word-break: keep-all;
}
.group-buy-copy p {
  margin: 7px 0 0;
  color: var(--sub);
  font-size: 11px;
  line-height: 1.36;
  font-weight: 550;
  word-break: keep-all;
}
.group-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.group-price-row strong {
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}
.group-price-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
  text-decoration: line-through;
}
.group-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  margin-top: 12px;
}
.group-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}
.group-tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}
.group-tier {
  background: var(--paper);
  color: var(--sub);
  padding: 0 8px;
}
.group-tier.on {
  background: var(--ink);
  color: white;
}

.admin-note {
  border: 1px solid rgba(112,115,124,.14);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,245,236,.92));
  border-radius: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.admin-note h2 {
  margin: 5px 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  word-break: keep-all;
}
.admin-note p {
  margin: 0;
  color: var(--sub);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
  word-break: keep-all;
}
.group-admin-list {
  display: grid;
  gap: 14px;
}
.admin-deal {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(17,17,17,.04);
}
.admin-product-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--paper);
}
.admin-product-preview img {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  object-fit: contain;
  background: white;
}
.admin-product-preview strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  word-break: keep-all;
}
.admin-product-preview span {
  display: block;
  margin-top: 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
}
.admin-field {
  display: grid;
  gap: 6px;
  color: var(--sub);
  font-size: 11px;
  font-weight: 600;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-grid-two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.admin-toggle {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.admin-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.admin-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Grid tiles */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.grid3-tight { gap: 8px; }

.tile {
  min-height: 96px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  font-size: 13px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  word-break: keep-all;
  box-shadow:
    0 8px 22px rgba(112, 115, 124, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .18s, box-shadow .18s;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(112, 115, 124, 0.1); }
.tile:active { transform: scale(.98); }
.tile small {
  display: block;
  color: var(--sub);
  font-size: 10px;
  font-weight: 550;
  margin-top: 6px;
}
.tile.pink {
  background: linear-gradient(150deg, #f8c8db 0%, #f0a4be 100%);
  border-color: transparent;
  color: #5a1f33;
  box-shadow: 0 10px 24px rgba(240, 164, 190, 0.35);
}
.tile.warm {
  background: linear-gradient(150deg, #ffe8d4 0%, #ffcfa8 100%);
  border-color: transparent;
  color: #5a3115;
  box-shadow: 0 10px 24px rgba(255, 207, 168, 0.32);
}
.tile.hot {
  background: linear-gradient(150deg, #ff8e6e 0%, var(--orange-deep) 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 12px 28px rgba(112, 115, 124, 0.38);
}
.tile.hot small { color: #ffe4dc; }

/* List items */
.list { display: grid; gap: 12px; }

.item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  padding: 14px 18px;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(112, 115, 124, 0.06),
    0 2px 6px rgba(17,17,17,0.03),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(112, 115, 124, 0.12),
    0 4px 10px rgba(17,17,17,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.88);
}
.item:active { transform: scale(.985); }
[data-theme="dark"] .item {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.thumb {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd1c0 0%, var(--pink) 100%);
  color: var(--orange-deep);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.thumb-svg-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}
.thumb-svg-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thumb::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-100%) rotate(0deg);
  animation: thumb-shimmer 4s ease-in-out infinite;
}
@keyframes thumb-shimmer {
  0%, 70%, 100% { transform: translateX(-100%) rotate(0deg); }
  85% { transform: translateX(100%) rotate(0deg); }
}
.thumb .mark {
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
}

.item-text { min-width: 0; }
.item-title {
  font-size: 14px;
  line-height: 1.28;
  font-weight: 500;
  word-break: keep-all;
}
.item-sub {
  margin-top: 6px;
  color: var(--sub);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  word-break: keep-all;
}

.right {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
  min-width: 70px;
}

.tag {
  min-width: 64px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.tag-button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* Search */
.search-input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: white;
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

/* Empty / states */
.empty-state {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  background: var(--warm);
  padding: 18px;
}
.empty-state strong { font-size: 16px; font-weight: 500; }
.empty-state span { color: var(--sub); font-size: 12px; font-weight: 550; }

/* Challenge card */
.challenge-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 79, 48, 0.14) 0%, rgba(243, 238, 230, 0.75) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 22px 24px;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(255, 79, 48, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .18s, box-shadow .18s;
}
.challenge-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255, 79, 48, 0.18); }
.challenge-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.challenge-card p { margin: 0; color: var(--sub); font-size: 12px; font-weight: 500; }

/* Detail visual */
.detail-visual {
  position: relative;
  height: 220px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 70%, rgba(112,115,124,.42) 0 32px, transparent 33px),
    radial-gradient(circle at 70% 60%, rgba(240,190,212,.55) 0 88px, transparent 89px),
    var(--pink-soft);
  display: grid;
  place-items: center;
}
.detail-orb {
  position: absolute;
  inset: 0;
  opacity: .35;
  filter: blur(34px);
}
.detail-visual img {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 142px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 18px 40px rgba(112,115,124,.22);
}
.detail-mark {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(17,17,17,.10);
}
.detail-mark span { line-height: 1; }
.detail-flag {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Chips */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--ink);
  font-size: 11px;
  font-weight: 620;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.stat {
  min-height: 76px;
  border-radius: 18px;
  background: var(--warm);
  padding: 14px 12px;
}
.stat strong {
  display: block;
  color: var(--orange);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 7px;
  color: var(--sub);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

/* Nutrition */
.nutrition {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.nut {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
}
.nut strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}
.nut span {
  display: block;
  margin-top: 4px;
  color: var(--sub);
  font-size: 10px;
  font-weight: 600;
}

/* Coupon */
.coupon-card {
  min-height: 144px;
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.coupon-card[onclick] {
  cursor: pointer;
}
.coupon-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(240,190,212,.55);
}
.coupon-card h3 {
  margin: 0;
  max-width: 230px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 500;
}
.coupon-card p {
  margin: 12px 0 0;
  color: #ffe4dc;
  font-size: 12px;
  font-weight: 600;
}
.code {
  display: inline-flex;
  margin-top: 16px;
  height: 30px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  position: relative;
  z-index: 1;
}
.coupon-card-action {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  border: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--orange);
  font-weight: 500;
  font-size: 12px;
  font-family: inherit;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* Map */
.map-card {
  height: 250px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(112,115,124,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(112,115,124,.08) 1px, transparent 1px),
    var(--orange-soft);
  background-size: 42px 42px;
  position: relative;
  overflow: hidden;
}
.map-card-real {
  background: var(--orange-soft);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 18px 42px rgba(121,75,54,.12);
}
.location-connect-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 16px 34px rgba(121,75,54,.10);
}
.location-connect-card.is-connected {
  background: var(--orange-soft);
  border-color: rgba(112,115,124,.16);
}
.location-connect-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.location-connect-card.is-connected .location-connect-icon {
  background: var(--orange);
}
.location-connect-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.location-connect-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.location-connect-copy strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.location-connect-copy span {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  color: var(--muted);
  word-break: keep-all;
}
.location-connect-button {
  grid-column: 1 / -1;
  width: 100%;
}
.map-card-real iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.86) contrast(.96) brightness(1.05);
  pointer-events: none;
}
.map-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,246,240,.28), rgba(255,220,208,.18)),
    radial-gradient(circle at 16% 18%, rgba(255,232,137,.26), transparent 28%),
    radial-gradient(circle at 94% 26%, rgba(240,190,212,.34), transparent 30%);
}
.pin {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 6px;
  transform: translate(-50%, -100%) rotate(-45deg);
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(112,115,124,.30);
  border: 0;
  padding: 0;
  font-family: inherit;
}
.pin > span {
  transform: rotate(45deg);
  color: white;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.thumb-logo {
  padding: 0;
  overflow: hidden;
  background: var(--pink-soft) !important;
}

.thumb-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.18);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.day {
  min-height: 52px;
  border-radius: 14px;
  display: grid;
  gap: 2px;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.05;
  padding: 6px 3px;
}
.day.on { background: var(--orange); color: white; }
.day strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.day span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  opacity: .78;
}

/* FAB row */
.fab-row {
  position: sticky;
  bottom: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 52px;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 10px;
  z-index: 4;
  padding: 12px 0 4px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,250,244,.82) 42%, rgba(255,250,244,.96) 100%);
}

.fab-row .pill,
.fab-row .pill-cta,
.fab-row .pill-square {
  height: 52px;
  min-height: 52px;
}

.fab-row .pill-cta {
  font-size: 13px;
  box-shadow: 0 13px 28px rgba(17,17,17,.22);
}

.fab-row .pill-square {
  width: 52px;
  padding: 0;
  border-radius: 22px;
}

/* Stamp / grade */
.stamp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--orange);
  border: 2px solid var(--orange);
  flex-shrink: 0;
}
.stamp > span {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  display: block;
}

.grade {
  min-height: 178px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.grade h2 { font-size: 30px; color: white; line-height: 1.15; }
.grade p { color: var(--muted); margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.grade-symbol {
  position: absolute;
  right: 26px;
  top: 32px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}
.grade-symbol > span {
  font-size: 30px;
  font-weight: 500;
  color: white;
  line-height: 1;
}

.dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-soft);
}
.dot.on { background: var(--orange); }

/* Workout ring */
.center-row { display: grid; place-items: center; }
.ring {
  width: 218px;
  height: 218px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 220deg, var(--orange-soft) 220deg);
  display: grid;
  place-items: center;
}
.ring-inner {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 14px 28px rgba(112,115,124,.16);
}
.ring-num {
  color: var(--orange);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
}

/* Filters */
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.filter-row::-webkit-scrollbar { display: none; }

/* Onboarding / login */
.center-text { text-align: center; }
.center-h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
}
.onboarding-visual {
  display: grid;
  place-items: center;
  text-align: center;
}
.onboarding-visual img {
  width: 196px;
  height: 196px;
  object-fit: cover;
  border-radius: 48px;
  box-shadow: 0 22px 44px rgba(112,115,124,.18);
}
.login-card {
  border-radius: 30px;
  background: var(--pink-soft);
  padding: 28px;
  text-align: center;
}
.login-card img {
  width: 230px;
  max-width: 100%;
  border-radius: 14px;
}
.login-stack { gap: 10px; }

/* Tabbar */
.tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: max(14px, var(--safe-bottom));
  height: 64px;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px;
  box-shadow: 0 14px 36px rgba(17,17,17,.28);
  z-index: 5;
}

.tab {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.tab:hover { color: rgba(255,255,255,.85); }

.tab .ico {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.tab svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.tab.active { color: white; font-weight: 600; }
.tab.active .ico { background: white; color: var(--ink); }
.tab.active svg { stroke: var(--ink); }
.tab-label { line-height: 1; }

@media (max-width: 520px) {
  .stage { padding: 0; }
  .dev-switcher { display: none; }
  .phone {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ----- Market strip (home) ----- */
.market-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.market-tile {
  border-radius: 28px;
  padding: 22px 18px;
  text-align: left;
  border: 0;
  position: relative;
  overflow: hidden;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s, box-shadow .18s;
  cursor: default;
}
.market-tile::after {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
}
.market-tile:nth-child(1) { background: linear-gradient(155deg, #ffaa90 0%, #ff7a55 100%); color: #fff; box-shadow: 0 12px 32px rgba(255, 122, 85, 0.32); }
.market-tile:nth-child(2) { background: linear-gradient(155deg, #ffe06b 0%, #ffb938 100%); color: #4a3500; box-shadow: 0 12px 32px rgba(255, 185, 56, 0.32); }
.market-tile:nth-child(3) { background: linear-gradient(155deg, #a8e8c0 0%, #6dd99c 100%); color: #0d3a23; box-shadow: 0 12px 32px rgba(109, 217, 156, 0.3); }
.market-tile strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}
.market-tile:hover { transform: translateY(-3px); }
.market-tile span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  word-break: keep-all;
  opacity: .85;
  position: relative;
  z-index: 1;
}

/* ----- Value cards (onboarding / about) ----- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.value-card {
  position: relative;
  min-height: 152px;
  border-radius: 22px;
  padding: 16px 14px 14px;
  background: white;
  border: 0;
  box-shadow: 0 6px 18px rgba(17,17,17,.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.value-card strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.value-card span {
  color: var(--sub);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.35;
  word-break: keep-all;
}
.value-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: white;
  font-weight: 500;
  font-size: 13px;
}
.value-mark span { line-height: 1; }
.value-zero { background: var(--orange-soft); border-color: transparent; }
.value-zero strong { color: var(--orange); }
.value-zero .value-mark { background: var(--orange); }
.value-wellness { background: var(--pink-soft); border-color: transparent; }
.value-wellness strong { color: var(--orange); }
.value-wellness .value-mark { background: var(--pink); color: var(--ink); }
.value-pleasure { background: var(--ink); border-color: transparent; }
.value-pleasure strong { color: white; }
.value-pleasure span { color: rgba(255,255,255,.78); }
.value-pleasure .value-mark { background: var(--orange); color: white; }

/* ----- 4-in-1 pillars ----- */
.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pillar {
  min-height: 110px;
  border-radius: 18px;
  padding: 14px 10px 12px;
  background: var(--orange);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-break: keep-all;
}
.pillar strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.18;
}
.pillar span {
  color: rgba(255,255,255,.85);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}
.pillar-pink { background: var(--pink); color: var(--ink); }
.pillar-pink span { color: rgba(17,17,17,.62); }
.pillar-warm { background: var(--warm); color: var(--ink); border: 1px solid var(--line); }
.pillar-warm span { color: var(--sub); }
.pillar-dark { background: var(--ink); color: white; }
.pillar-dark span { color: rgba(255,255,255,.65); }

/* ----- About: positioning card ----- */
.positioning-card {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}
.positioning-line {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
}
.positioning-line strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.positioning-line em {
  font-style: normal;
  color: var(--sub);
  font-size: 11px;
  font-weight: 600;
}
.positioning-line .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  background: transparent;
}
.positioning-line .dot-pink { background: var(--pink); }
.positioning-line .dot-orange { background: var(--orange); }
.positioning-line .dot-ink { background: var(--ink); }

/* ----- About: market grid ----- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.market-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 14px;
}
.market-card strong {
  display: block;
  color: var(--orange);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.market-card span {
  display: block;
  margin-top: 8px;
  color: var(--sub);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}

/* Eyebrow on white backgrounds */
.eyebrow-dark { color: var(--orange); }

/* ----- Category icons in product art / thumb / detail ----- */
.art {
  position: relative;
  overflow: hidden;
}
.art-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--orange);
}
.art-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(17,17,17,.08);
}

.thumb-art { position: relative; overflow: hidden; }
.thumb-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--orange);
}
.thumb-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thumb-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: white;
  color: var(--orange);
  font-size: 9px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.detail-cat {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: var(--orange);
  display: grid;
  place-items: center;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.detail-cat svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Modal layer ----- */
.modal-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.modal-layer:empty { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.42);
  backdrop-filter: blur(2px);
  pointer-events: auto;
  animation: hzFadeIn .18s ease;
}

.modal {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  width: auto;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  border-radius: 28px;
  padding: 24px 22px 22px;
  box-shadow: 0 24px 60px rgba(17,17,17,.32);
  pointer-events: auto;
  text-align: center;
  animation: hzSlideUp .24s cubic-bezier(.2,.8,.2,1);
}
.modal h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  word-break: keep-all;
}
.modal p {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  word-break: keep-all;
}
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: white;
}
.modal-icon-orange { background: var(--orange); }
.modal-icon-pink { background: var(--pink-soft); color: var(--orange); }
.modal-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.modal-row-3 {
  grid-template-columns: .82fr .95fr 1.2fr;
}
.modal-row .pill {
  width: 100%;
  height: 46px;
  min-width: 0;
  padding: 0 14px;
  font-size: 13px;
}
.modal-row .pill-cta {
  height: 46px;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(17,17,17,.20);
}
.modal-progress {
  margin-top: 16px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  overflow: hidden;
}
.modal-progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
  transition: width .4s ease;
}

.spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--orange-soft);
  border-top-color: var(--orange);
  animation: hzSpin .9s linear infinite;
  display: inline-block;
}

@keyframes hzFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hzSlideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes hzSpin {
  to { transform: rotate(360deg); }
}

body.has-modal .tabbar { filter: blur(1px) brightness(.96); }

/* ----- Search highlight & removable chips ----- */
mark.hl {
  background: var(--orange-soft);
  color: var(--orange);
  padding: 0 2px;
  border-radius: 4px;
  font-weight: 500;
}

.chip-removable {
  padding: 0 0 0 12px;
  gap: 6px;
}
.chip-removable .chip-text {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--ink);
  font-size: 11px;
  font-weight: 620;
  cursor: pointer;
}
.pin em {
  position: absolute;
  left: 50%;
  top: 42px;
  min-width: max-content;
  transform: translateX(-50%) rotate(45deg);
  padding: 4px 7px;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(17,17,17,.10);
  pointer-events: none;
}
.pin-user {
  z-index: 4;
  width: 28px;
  height: 28px;
  background: #1d6fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(29,111,255,.18), 0 10px 24px rgba(29,111,255,.22);
}
.pin-user > span svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
}
.pin-user em {
  top: 34px;
}
.map-note {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(17,17,17,.08);
}
.map-card-real .pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: translate(-50%, -100%);
}
.map-card-real .pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 6px;
  transform: rotate(-45deg);
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(112,115,124,.30);
}
.map-card-real .pin-active::before {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(17,17,17,.36);
}
.map-card-real .pin > span {
  position: relative;
  z-index: 1;
  transform: none;
}
.map-card-real .pin em {
  top: 38px;
  transform: translateX(-50%);
}
.map-card-real .pin:hover {
  transform: translate(-50%, -100%) scale(1.06);
}
.map-card-real .pin-user {
  width: 28px;
  height: 28px;
}
.map-card-real .pin-user::before {
  border-radius: 50%;
  background: #1d6fff;
  border: 3px solid #fff;
  transform: none;
  box-shadow: 0 0 0 4px rgba(29,111,255,.18), 0 10px 24px rgba(29,111,255,.22);
}
.chip-removable .chip-x {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  border-left: 1px solid rgba(17,17,17,.10);
  margin-left: 4px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.chip-removable .chip-x:hover { color: var(--orange); }

/* ----- Product photos ----- */
.art.art-photo { padding: 0; overflow: hidden; }
.art-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb.thumb-photo-wrap { padding: 0; overflow: hidden; }
.thumb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-visual.detail-photo {
  background:
    radial-gradient(circle at 22% 18%, rgba(240,190,212,.55) 0 70px, transparent 71px),
    var(--pink-soft);
}
.detail-img {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(17,17,17,.18);
}

/* ----- Toast layer ----- */
.toast-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 88px;
  display: grid;
  place-items: center;
  z-index: 60;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 620;
  box-shadow: 0 14px 32px rgba(17,17,17,.32);
  animation: hzToastIn .26s cubic-bezier(.2,.8,.2,1);
  max-width: calc(100% - 36px);
  text-align: center;
}
.toast-orange { background: var(--orange); }
.toast-pink { background: var(--pink); color: var(--ink); }
.toast-ink { background: var(--ink); color: white; }

@keyframes hzToastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Reservation modal ----- */
.modal-tall { max-height: calc(100% - 50px); overflow-y: auto; }
.modal-tall::-webkit-scrollbar { display: none; }

.reservation-stores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.store-pick {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: white;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: inherit;
}
.store-pick.on {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.store-pick:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: var(--warm);
}
.store-pick-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.store-pick-stock {
  font-size: 11px;
  color: var(--sub);
  font-weight: 600;
}
.store-pick.on .store-pick-stock { color: var(--orange); }

.reservation-qty {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reservation-qty > span {
  font-size: 13px;
  font-weight: 620;
}
.qty-note {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: var(--sub);
  font-size: 10px;
  font-weight: 620;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--warm);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
}
.qty-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.reservation-summary {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--warm);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reservation-summary span { font-size: 12px; font-weight: 600; color: var(--sub); }
.reservation-summary strong { font-size: 18px; font-weight: 500; color: var(--orange); }

/* Three-button fab row when product detail shows reservation CTA */
.fab-row { grid-template-columns: minmax(0, 1fr) 52px 52px; }
.pill-square-soft { background: var(--pink-soft); color: var(--orange); font-size: 18px; }

.stock-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stock-chip {
  min-height: 68px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 22px;
  padding: 13px 14px;
  text-align: left;
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.72) 0 18px, transparent 20px),
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,237,230,.66));
  color: var(--v23-ink, var(--ink));
  box-shadow: 0 12px 28px rgba(121,75,54,.10);
}

.stock-chip strong,
.stock-chip span {
  display: block;
}

.stock-chip strong {
  font-size: 13px;
  font-weight: 500;
}

.stock-chip span {
  margin-top: 7px;
  color: rgba(20,17,16,.58);
  font-size: 11px;
  font-weight: 620;
}

.stock-chip.in span { color: var(--orange); }
.stock-chip.out {
  opacity: .62;
  background: rgba(255,255,255,.58);
}
.stock-chip.unknown {
  opacity: 1;
  border-color: rgba(20,17,16,.22);
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(245,241,232,.86));
}
.stock-chip.unknown span {
  color: var(--ink);
}

/* ============ Dark mode tokens ============ */
[data-theme="dark"] {
  --ink: #f5f1ee;
  --sub: #b6aca9;
  --muted: #756c69;
  --line: #2a2624;
  --warm: #1d1916;
  --pink-soft: #2a1f24;
  --orange-soft: #2e1d18;
  --paper: #14110f;
}
[data-theme="dark"] body { background: #0b0907; }
[data-theme="dark"] .phone { border-color: #0b0907; background: var(--paper); box-shadow: 0 28px 90px rgba(0,0,0,.6); }
[data-theme="dark"] .screen { background: linear-gradient(180deg, var(--warm) 0 188px, var(--paper) 188px); }
[data-theme="dark"] .product,
[data-theme="dark"] .item,
[data-theme="dark"] .tile,
[data-theme="dark"] .market-card,
[data-theme="dark"] .market-tile,
[data-theme="dark"] .nut,
[data-theme="dark"] .modal,
[data-theme="dark"] .store-pick {
  background: #1a1614;
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"] .grade { background: #0b0907; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] .item-title,
[data-theme="dark"] .product h3, [data-theme="dark"] .market-card span,
[data-theme="dark"] .modal h3, [data-theme="dark"] .grade-symbol > span {
  color: var(--ink);
}
[data-theme="dark"] .stat strong, [data-theme="dark"] .market-card strong { color: #ffb796; }
[data-theme="dark"] .tile.warm,
[data-theme="dark"] .stat,
[data-theme="dark"] .empty-state,
[data-theme="dark"] .positioning-card { background: #1d1916; }
[data-theme="dark"] .pill-soft { background: #2a1f24; color: #ffb796; }
[data-theme="dark"] .pill { background: #2a2624; color: #ffb796; }
[data-theme="dark"] .pill-outline { background: #1a1614; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .round-btn,
[data-theme="dark"] .back { background: #1a1614; color: var(--ink); }
[data-theme="dark"] .store { background: #2a1f24; color: #ffb796; }
[data-theme="dark"] .tabbar { background: rgba(20,17,15,.96); }
[data-theme="dark"] .search-input { background: #1a1614; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] mark.hl { background: #2e1d18; color: #ffb796; }
[data-theme="dark"] .modal-backdrop { background: rgba(0,0,0,.62); }

/* ============ Notification bell badge ============ */
.round-btn-bell { position: relative; }
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px white;
}
[data-theme="dark"] .badge { box-shadow: 0 0 0 2px var(--paper); }

.notif .notif-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--orange);
}
.notif .notif-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ Theme toggle + general toggle ============ */
.toggle {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  display: inline-block;
  transition: background .2s ease;
}
.toggle.on { background: var(--orange); }
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform .2s ease;
  box-shadow: 0 2px 6px rgba(17,17,17,.18);
}
.toggle.on .toggle-knob { transform: translateX(18px); }

.theme-toggle { cursor: pointer; }

/* ============ Onboarding interest chips ============ */
.interest-chip {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 620;
  cursor: pointer;
}
.interest-chip.on {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
[data-theme="dark"] .interest-chip { background: #1a1614; color: var(--ink); }
[data-theme="dark"] .interest-chip.on { background: var(--orange); color: white; }

.pill-cta:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

/* ============ Store detail ============ */
.store-map { height: 220px; }
.pin { cursor: pointer; transition: transform .15s ease; }
.pin:hover { transform: translate(-50%, -100%) rotate(-45deg) scale(1.06); }
.pin-active {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(17,17,17,.36);
}
[data-theme="dark"] .pin-active { background: var(--orange); }

/* ============ Challenge variations ============ */
.challenge-item {
  cursor: pointer;
}
.challenge-thumb-orange { background: var(--orange-soft); color: var(--orange); }
.challenge-thumb-pink { background: var(--pink-soft); color: var(--orange); }
.challenge-thumb-ink { background: var(--ink); color: white; }
.challenge-thumb-warm { background: var(--warm); color: var(--orange); border: 1px solid var(--line); }
.challenge-thumb-orange svg,
.challenge-thumb-pink svg,
.challenge-thumb-ink svg,
.challenge-thumb-warm svg {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.challenge-orange .item-title,
.challenge-pink .item-title,
.challenge-warm .item-title { color: var(--ink); }

.pill-tiny { height: 26px; padding: 0 10px; font-size: 11px; }

/* ============ QR modal ============ */
.qr-svg {
  width: 168px;
  height: 168px;
  margin: 18px auto 0;
  display: block;
  background: white;
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(17,17,17,.18);
}
[data-theme="dark"] .qr-svg { background: white; }
.qr-svg rect { fill: var(--ink); }
.qr-img {
  width: min(230px, 74vw);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 18px auto 0;
  display: block;
  background: white;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(17,17,17,.18);
}
.qr-meta {
  margin-top: 16px;
  display: grid;
  gap: 4px;
  text-align: center;
}
.qr-meta strong { font-size: 14px; font-weight: 500; }
.qr-meta span { color: var(--sub); font-size: 12px; font-weight: 600; }
.qr-channel-link {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  text-align: center;
}
.qr-channel-link span {
  color: var(--sub);
  font-size: 11px;
  font-weight: 600;
}
.qr-channel-link button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
[data-theme="dark"] .qr-channel-link {
  background: rgba(255, 255, 255, .08);
}
.qr-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em;
  font-size: 11px !important;
  margin-top: 6px;
}

/* ============ Search suggestions ============ */
.sug-host { position: relative; }
.sug-dropdown {
  position: absolute;
  top: 60px;
  left: 18px;
  right: 18px;
  z-index: 30;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(17,17,17,.18);
  display: grid;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
}
[data-theme="dark"] .sug-dropdown { background: #1a1614; }
.sug-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: var(--ink);
}
.sug-item:hover { background: var(--warm); }
.sug-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--orange);
}
.sug-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sug-text { display: grid; gap: 2px; min-width: 0; }
.sug-text strong { font-size: 13px; font-weight: 500; line-height: 1.2; word-break: keep-all; }
.sug-text em { font-style: normal; font-size: 11px; color: var(--sub); font-weight: 600; }

/* ============ Reviews ============ */
.review .thumb { font-size: 22px; }
.review-stars { color: var(--orange); font-weight: 500; letter-spacing: 1px; margin-left: 6px; }

/* ============ Receipt ============ */
.receipt-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 14px;
  text-align: center;
}
[data-theme="dark"] .receipt-card { background: #1a1614; }
.receipt-head {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.receipt-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.receipt-store { font-size: 15px; font-weight: 500; }
.receipt-meta { font-size: 11px; color: var(--sub); font-weight: 600; margin-top: 2px; }
.receipt-divider {
  height: 1px;
  background: var(--line);
}
.receipt-divider.dashed {
  background-image: linear-gradient(to right, var(--line) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-color: transparent;
  height: 1px;
}
.receipt-lines { display: grid; gap: 8px; text-align: left; }
.receipt-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.receipt-line .receipt-name { font-weight: 500; grid-column: 1; }
.receipt-line .receipt-qty { grid-column: 1; color: var(--sub); font-size: 11px; font-weight: 600; }
.receipt-line .receipt-amount { grid-column: 2; grid-row: 1 / span 2; font-weight: 500; align-self: center; }
.receipt-total { display: grid; gap: 4px; text-align: left; font-size: 12px; }
.receipt-total > div { display: flex; justify-content: space-between; }
.receipt-final { padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 4px; }
.receipt-final span { font-weight: 500; }
.receipt-final strong { font-size: 18px; color: var(--orange); font-weight: 500; }
.receipt-id {
  font-family: ui-monospace, monospace;
  letter-spacing: .04em;
  font-size: 11px;
  color: var(--sub);
}

/* ============ Mobile / PWA polish ============ */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html, body { overscroll-behavior-y: none; }
body { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (display-mode: standalone) {
  body { background: var(--paper); }
  .stage { padding: 0; }
  .dev-switcher { display: none; }
  .phone {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--paper);
  }
  .screen {
    padding-top: max(18px, var(--safe-top));
    padding-bottom: calc(94px + max(0px, var(--safe-bottom)));
    padding-left: max(18px, var(--safe-left));
    padding-right: max(18px, var(--safe-right));
  }
  .tabbar {
    height: calc(72px + var(--safe-bottom));
    padding-bottom: calc(10px + var(--safe-bottom));
  }
  .toast-layer {
    bottom: calc(88px + var(--safe-bottom));
  }
  .modal {
    bottom: calc(28px + var(--safe-bottom));
  }
}

@media (max-width: 520px) {
  .stage { padding: 0; }
  .dev-switcher { display: none; }
  .phone {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--paper);
  }
  .screen {
    padding-top: max(18px, var(--safe-top));
    padding-bottom: calc(94px + var(--safe-bottom));
    padding-left: max(18px, var(--safe-left));
    padding-right: max(18px, var(--safe-right));
  }
  .tabbar {
    height: calc(72px + var(--safe-bottom));
    padding-bottom: calc(10px + var(--safe-bottom));
  }
  .toast-layer {
    bottom: calc(88px + var(--safe-bottom));
  }
  .modal {
    left: max(18px, var(--safe-left));
    right: max(18px, var(--safe-right));
    width: calc(100% - max(36px, var(--safe-left) + var(--safe-right)));
    transform: none;
    bottom: calc(28px + var(--safe-bottom));
  }
}

/* ============ Install prompt ============ */
.install-prompt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(96px + var(--safe-bottom));
  width: calc(100% - 28px);
  max-width: 360px;
  background: var(--ink);
  color: white;
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: 0 18px 36px rgba(17,17,17,.34);
  z-index: 70;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
}
.install-prompt.show { display: flex; }
.install-prompt strong { font-weight: 500; font-size: 13px; display: block; margin-bottom: 2px; }
.install-prompt em { font-style: normal; color: rgba(255,255,255,.78); font-weight: 600; }
.install-prompt .install-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.install-prompt .install-icon img { width: 28px; height: 28px; border-radius: 6px; }
.install-prompt .install-text { flex: 1; min-width: 0; }
.install-prompt button {
  border: 0;
  background: var(--orange);
  color: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
}
.install-prompt .install-close {
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: 18px;
  padding: 0 4px;
}

/* Larger tap targets on small screens */
@media (max-width: 520px) {
  .pill { height: 38px; font-size: 13px; }
  .pill-cta { height: 52px; font-size: 14px; }
  .pill.full { height: 52px; }
  .round-btn { width: 38px; height: 38px; }
  .round-btn svg { width: 18px; height: 18px; }
  .item { min-height: 82px; }
  .tab .ico { width: 36px; height: 36px; }
  .tab svg { width: 20px; height: 20px; }
}

/* ============ Point status + version mark ============ */
.top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 11px;
}
.top-row .store { margin-bottom: 0; }

.brand-lockup {
  flex: 0 0 132px;
  width: 132px;
  height: 43px;
  margin: 0 100% 4px 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 22px rgba(121,75,54,.11);
}

.brand-lockup-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.point-status {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111;
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
  cursor: pointer;
  user-select: none;
}
[data-theme="dark"] .point-status { background: var(--orange); }

.version-mark {
  margin: 28px 0 6px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em;
}

/* ============================================
 * Auth screens (NEW v16) — gradient + pill buttons + bold typo
 * ============================================ */

/* 배경 그라데이션 토큰 */
:root {
  --auth-gradient-soft: linear-gradient(165deg, #fffaf2 0%, #f3eee6 38%, #ffb6a3 78%, #ea5330 100%);
  --auth-gradient-warm: linear-gradient(180deg, #ffece4 0%, #ffc7b3 60%, #ea5330 100%);
  --my-greet-gradient: linear-gradient(135deg, #ea5330 0%, #f5806a 60%, #fffaf2 100%);
}
[data-theme="dark"] {
  --auth-gradient-soft: linear-gradient(165deg, #1a1614 0%, #2a1a18 50%, #4a1d12 100%);
  --auth-gradient-warm: linear-gradient(180deg, #1a1614 0%, #3a1d14 100%);
  --my-greet-gradient: linear-gradient(135deg, #cc4424 0%, #6b3326 60%, #3a2024 100%);
}

/* 미로그인 시 탭바 숨김 + 화면 풀스크린 */
body.auth-locked .tabbar { display: none !important; }
body.auth-locked .screen {
  padding: 0 !important;
  background: transparent !important;
}
body.auth-locked .screen::before {
  display: none;
}

.auth-screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: max(28px, var(--safe-top)) 22px max(24px, var(--safe-bottom));
  box-sizing: border-box;
  position: relative;
  background: var(--auth-gradient-soft);
}
.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(255,255,255,.4) 0%, transparent 60%);
  pointer-events: none;
}
.auth-screen > * { position: relative; z-index: 1; }

.auth-back {
  position: absolute;
  top: max(16px, var(--safe-top));
  left: 12px;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
}
.auth-back:hover { background: rgba(0,0,0,.05); }

.auth-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 28px;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
}
.auth-hero-compact {
  flex: 0 0 auto;
  padding: 16px 0 12px;
}
.auth-actions {
  flex: 0 0 auto;
}
.auth-form {
  flex: 0 0 auto;
}

.auth-logo {
  width: 112px; height: 112px;
  border-radius: 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 40px rgba(112, 115, 124, 0.28);
  transform: rotate(-4deg);
}

.auth-title {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.08;
  word-break: keep-all;
}
.auth-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(17,17,17,.62);
  line-height: 1.5;
  font-weight: 500;
}
[data-theme="dark"] .auth-title { color: #fff7f4; }
[data-theme="dark"] .auth-subtitle { color: rgba(255,247,244,.7); }

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 16px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0 0;
}

.auth-terms {
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
}

[data-theme="dark"] .auth-screen { background: #1a1614; }

/* Splash (인증 모듈 부팅 중) */
.auth-splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--warm);
}
.auth-splash-logo { width: 72px; height: 72px; border-radius: 20px; }
.auth-splash-spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(112, 115, 124, 0.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-splash-text { color: var(--sub); font-size: 13px; margin: 0; }
[data-theme="dark"] .auth-splash { background: #1a1614; }

/* ============================================
 * Login buttons — pill style with bigger radius
 * ============================================ */
.login-stack { gap: 10px; }

/* 공통 pill 스타일 강화 */
.auth-actions .pill,
.auth-form .pill {
  height: 56px;
  font-size: 15px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.auth-actions .pill:active { transform: scale(.985); }

/* 카카오 (노랑) */
.pill.login-kakao {
  background: #FEE500;
  color: #181600;
  border: 0;
  box-shadow: 0 6px 18px rgba(254, 229, 0, 0.35);
}
.pill.login-kakao:hover { background: #f7d800; }
.pill.login-kakao:disabled { opacity: .6; }

/* 구글 (흰 + 외곽선) */
.pill.login-google {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.pill.login-google:hover { background: #f8f8f8; }

/* 이메일 (검정 알약 + 화살표) — 메인 강조 */
.pill.login-email-hero {
  background: #111111;
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  position: relative;
}
.pill.login-email-hero:hover { background: #000; }
.pill.login-email-hero .arrow {
  margin-left: 4px;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 14px;
}

/* 카카오/구글 아이콘 */
.login-icon { font-size: 16px; line-height: 1; }
.login-icon-k {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  font-size: 13px;
  color: #181600;
}
.login-icon-g {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: conic-gradient(from -45deg, #4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0);
  color: #fff;
  font-weight: 600; font-size: 12px;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] .pill.login-google {
  background: #2a2624; color: #f5f0ee; border-color: #3a3431;
}
[data-theme="dark"] .pill.login-kakao { background: #FEE500; color: #181600; }
[data-theme="dark"] .pill.login-email-hero { background: #fff; color: #111; }
[data-theme="dark"] .pill.login-email-hero .arrow { background: rgba(0,0,0,.1); }

/* Email login form */
.login-form { display: flex; flex-direction: column; gap: 14px; padding: 0 16px; }

.form-row {
  display: flex; flex-direction: column; gap: 6px;
}
.form-label {
  font-size: 12px; font-weight: 500; color: var(--sub); letter-spacing: .02em;
}
.form-input {
  appearance: none; -webkit-appearance: none;
  width: 100%; box-sizing: border-box;
  padding: 14px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(112, 115, 124, 0.14);
}
[data-theme="dark"] .form-input {
  background: #1f1b19;
  color: #f5f0ee;
  border-color: #2f2926;
}

.form-error {
  margin: 0; padding: 10px 12px;
  background: #fde6df; color: #b03a1a;
  border-radius: 10px;
  font-size: 13px; line-height: 1.4;
}
[data-theme="dark"] .form-error { background: #3a1a0f; color: #ffb59c; }

.signup-consent-box {
  display: grid;
  gap: 8px;
  padding: 4px 0 2px;
  border: none;
  border-radius: 0;
  background: transparent;
}
.signup-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
  word-break: keep-all;
}
.signup-check > span { min-width: 0; }
.signup-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
  margin-top: 1px;
}
.signup-check b {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 6px;
  margin-left: 3px;
  border-radius: 6px;
  background: rgba(255,90,53,.12);
  color: var(--orange);
}
.signup-check b.opt {
  background: rgba(120,120,120,.14);
  color: var(--sub);
}
.signup-consent-note {
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: left;
  word-break: keep-all;
}
[data-theme="dark"] .signup-consent-box {
  background: transparent;
}

.login-toggle {
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
}
.login-toggle a {
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
}
.login-toggle a:hover { text-decoration: underline; }

/* ============================================
 * Profile card (My tab) + Profile edit screen
 * ============================================ */
/* 마이 탭 컴팩트 헤더 (그라데이션 박스 없이) */
.my-mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 4px 4px 8px;
  margin-bottom: 6px;
}

.my-mini-header .brand-lockup {
  flex-basis: 108px;
  margin: 0 100% 4px 0;
}

.my-mini-header .store {
  background: var(--paper, #fff);
  color: var(--ink);
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow: 0 4px 12px rgba(17,17,17,0.04);
}
.my-mini-header .point-status {
  margin-right: auto;
}
.my-mini-header .icons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.round-btn-light {
  background: var(--paper, #fff);
  color: var(--ink);
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow: 0 4px 12px rgba(17,17,17,0.04);
}
.round-btn-light:hover {
  background: var(--paper, #fff);
  box-shadow: 0 8px 20px rgba(112, 115, 124, 0.12);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin: 12px 16px;
  background: var(--paper, #fff);
  border-radius: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.profile-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}
[data-theme="dark"] .profile-card { background: #221d1b; border-color: #2f2926; }

.profile-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.profile-avatar-initial {
  font-size: 22px;
  font-weight: 600;
  color: var(--orange);
}
.profile-avatar-lg {
  width: 96px; height: 96px;
  margin: 0 auto;
}
.profile-avatar-lg .profile-avatar-initial { font-size: 38px; }

.profile-info {
  flex: 1 1 auto;
  min-width: 0;
}
.profile-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-edit-icon {
  font-size: 12px;
  opacity: .6;
}
.profile-sub {
  font-size: 13px;
  color: var(--sub);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Profile edit screen */
.profile-edit-hero {
  text-align: center;
  padding: 8px 16px 0;
}
.profile-avatar-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}
.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.profile-meta-card {
  margin: 8px 16px;
  padding: 16px;
  background: var(--warm);
  border-radius: 14px;
  border: 1px solid var(--line);
}
[data-theme="dark"] .profile-meta-card {
  background: #1f1b19;
  border-color: #2f2926;
}
.section-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: .02em;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.meta-row:last-child { border-bottom: 0; }
.meta-key { color: var(--sub); }
.meta-val { color: var(--ink); font-weight: 600; }
[data-theme="dark"] .meta-row { border-color: #2f2926; }

.profile-danger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  margin-top: 8px;
}
.pill.pill-text {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
}
.danger-btn { color: var(--orange); }
.danger-text { color: #c8593f; }
.danger-text:hover { color: #a83e26; }

/* ============================================
 * Store hero + gallery (NEW v21)
 * ============================================ */
.store-hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17,17,17,0.18);
}
.store-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.store-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 22px;
  color: white;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.55) 100%);
}
.store-hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--orange);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(112, 115, 124, 0.4);
}
.store-hero-name {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.store-hero-addr {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.9;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.store-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.store-gallery-item {
  aspect-ratio: 1/1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--pink-soft);
}
.store-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.store-gallery-item:nth-child(3n+1) { grid-column: span 1; aspect-ratio: 1/1; }
.store-gallery-item:nth-child(3n)   { grid-column: span 2; aspect-ratio: 16/9; }

/* ============================================
 * Version badge (bottom right)
 * ============================================ */
.version-badge {
  position: fixed;
  right: 14px;
  bottom: max(94px, calc(var(--safe-bottom, 0) + 80px));
  z-index: 100;
  background: rgba(17,17,17,0.7);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.auth-locked .version-badge { display: none; }


/* ============================================
 * Motion / animations (NEW v16)
 * ============================================ */

/* 사과 심볼 둥둥 */
@keyframes float-symbol {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-10px); }
}
.auth-logo {
  animation: float-symbol 5s ease-in-out infinite;
  will-change: transform;
}

/* 그라데이션 배경 슬로우 시프트 */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 50%; }
}
.auth-screen {
  background-size: 180% 180%;
  animation: gradient-shift 18s ease-in-out infinite;
}

/* 페이지 진입 stagger fade-up */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-hero { animation: fade-up .55s ease-out .05s both; }
.auth-actions .pill:nth-child(1) { animation: fade-up .5s ease-out .25s both; }
.auth-actions .pill:nth-child(2) { animation: fade-up .5s ease-out .35s both; }
.auth-actions .pill:nth-child(3) { animation: fade-up .5s ease-out .45s both; }
.auth-form .form-row:nth-child(1) { animation: fade-up .45s ease-out .15s both; }
.auth-form .form-row:nth-child(2) { animation: fade-up .45s ease-out .25s both; }
.auth-form .form-row:nth-child(3) { animation: fade-up .45s ease-out .35s both; }
.auth-form .pill { animation: fade-up .45s ease-out .45s both; }
.auth-terms { animation: fade-up .5s ease-out .55s both; }

/* 버튼 hover/tap 마이크로 인터랙션 */
.auth-actions .pill,
.auth-form .pill,
.pill-cta-arrow {
  transition: transform .18s cubic-bezier(.2,.7,.3,1.3), box-shadow .18s, background .18s;
}
.auth-actions .pill:hover,
.pill-cta-arrow:hover {
  transform: translateY(-2px);
}
.auth-actions .pill:hover .arrow,
.pill-cta-arrow:hover .arrow {
  animation: arrow-slide .6s ease-in-out;
}
@keyframes arrow-slide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
.auth-actions .pill:active,
.pill-cta-arrow:active {
  transform: scale(0.97);
  transition-duration: .08s;
}

/* 입력 필드 포커스 글로우 */
.form-input:focus {
  border-color: var(--orange);
  box-shadow:
    0 0 0 4px rgba(112, 115, 124, 0.12),
    0 4px 18px rgba(255, 79, 48, 0.16);
  outline: none;
}

/* 인사 카드 sparkle */
.greeting-card {
  position: relative;
}
.greeting-card::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 12%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow:
    18px 30px 0 -1px rgba(255,255,255,.6),
    50px 8px 0 -2px rgba(255,255,255,.7),
    80px 36px 0 -2px rgba(255,255,255,.5),
    132px 12px 0 -1px rgba(255,255,255,.8),
    168px 38px 0 -2px rgba(255,255,255,.6);
  animation: sparkle 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sparkle {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.15); }
}

/* 인사 카드 부드러운 호흡 */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.005); }
}
.greeting-card {
  animation: breathe 6s ease-in-out infinite;
}

/* 스플래시 로딩 살짝 페이드 */
.auth-splash { animation: fade-up .35s ease-out both; }

/* ============================================
 * Flashy motions (NEW v19) — pulse / shimmer / float / bounce
 * ============================================ */

/* Pulse glow ring — round button, point status */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(112, 115, 124, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(112, 115, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(112, 115, 124, 0); }
}
.point-status { animation: pulse-ring 2.4s ease-out infinite; }

/* Shimmer card — on hero & market-tile */
.hero, .challenge-card, .greeting-card, .market-tile, .top {
  position: relative;
}
.hero::before, .challenge-card::after, .greeting-card .shimmer-overlay, .market-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 45%,
    rgba(255,255,255,0.32) 50%,
    rgba(255,255,255,0.18) 55%,
    transparent 100%);
  transform: skewX(-18deg);
  animation: shimmer-slide 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes shimmer-slide {
  0%, 80% { left: -60%; }
  100%    { left: 160%; }
}

/* Floating little dots (decorative particles) */
.float-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-dots span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: float-dot 6s ease-in-out infinite;
}

/* Tab bar active dot — pulse */
.tab.active .ico {
  position: relative;
}
.tab.active .ico::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: pulse-ring 1.8s ease-out infinite;
  z-index: -1;
}

/* Round button hover — colorful glow */
.round-btn {
  position: relative;
  overflow: visible;
}
.round-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255,255,255,0.4);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.2),
    0 12px 24px rgba(112,115,124,0.22);
}

/* Pill button gradient sweep on hover */
.pill-cta {
  position: relative;
  overflow: hidden;
}
.pill-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.pill-cta:hover::before { transform: translateX(100%); }

/* Item card — colorful sparkle on icon */
.item .thumb-icon {
  filter: drop-shadow(0 2px 4px rgba(112, 115, 124, 0.25));
}

/* Grid tile — bouncy hover */
.tile:hover {
  transform: translateY(-3px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 18px 36px rgba(112, 115, 124, 0.18);
}

/* 모션 멀미 사용자 보호 */
@media (prefers-reduced-motion: reduce) {
  .auth-logo,
  .auth-screen,
  .greeting-card,
  .greeting-card::before,
  .auth-hero,
  .auth-actions .pill,
  .auth-form .form-row,
  .auth-form .pill,
  .auth-terms,
  .auth-splash {
    animation: none !important;
  }
  * {
    transition-duration: .01s !important;
  }
}


/* ============================================
 * My tab greeting card (NEW v16)
 * ============================================ */
.greeting-card {
  margin: 12px 16px;
  padding: 22px 22px 24px;
  border-radius: 28px;
  background: var(--my-greet-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(112, 115, 124, 0.22);
}
.greeting-card::after {
  content: "";
  position: absolute;
  right: -24px; top: -24px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,.28) 0%, transparent 70%);
  pointer-events: none;
}
.greeting-headline {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.greeting-sub {
  font-size: 13px;
  opacity: .9;
  margin: 0 0 16px;
  line-height: 1.5;
}
.greeting-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stat-chip {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.18);
}
.greeting-edit-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.22);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}
.greeting-edit-btn:hover { background: rgba(255,255,255,0.32); }

/* Profile edit hero update */
.profile-edit-hero { padding-top: 24px; }
.profile-greet {
  text-align: center;
  margin: 12px 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.profile-greet-sub {
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  margin: 0 0 8px;
}

/* 입력 필드 더 둥글게 + 큰 패딩 */
.auth-form .form-input,
.profile-edit-form .form-input {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  border: 1.5px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
[data-theme="dark"] .auth-form .form-input,
[data-theme="dark"] .profile-edit-form .form-input {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* 검정 알약 + 화살표 (재사용 가능) */
.pill.pill-cta-arrow {
  background: #111;
  color: #fff;
  border-radius: 999px;
  height: 56px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  letter-spacing: -0.01em;
}
.pill.pill-cta-arrow:hover { background: #000; }
.pill.pill-cta-arrow .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 14px;
}
[data-theme="dark"] .pill.pill-cta-arrow { background: #fff; color: #111; }
[data-theme="dark"] .pill.pill-cta-arrow .arrow { background: rgba(0,0,0,0.1); }

/* 약관 텍스트 더 부드럽게 */
.auth-terms {
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(17,17,17,0.5);
  margin: 18px 0 0;
}
[data-theme="dark"] .auth-terms { color: rgba(255,247,244,0.5); }

/* 뒤로가기 버튼도 둥글게 강화 */
.auth-back {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.5);
}
.auth-back:hover { background: rgba(255,255,255,0.6); }
[data-theme="dark"] .auth-back {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

/* ============================================
 * v23 full redesign pass
 * Softer meditation mood + bold app surfaces
 * ============================================ */
:root {
  --v23-cream: #fff8f1;
  --v23-peach: #ffd9c8;
  --v23-sorbet: #ff9c7e;
  --v23-pink: #f4bdd5;
  --v23-lemon: #ffe889;
  --v23-ink: #141110;
}

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(240,190,212,.45), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255,156,126,.35), transparent 30%),
    linear-gradient(135deg, #eee7df 0%, #f8eee8 100%);
}

.phone {
  background: var(--v23-cream);
  box-shadow:
    0 38px 90px rgba(73,47,35,.28),
    0 0 0 1px rgba(255,255,255,.5);
}

.screen {
  padding: 18px 18px 112px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,232,137,.55) 0 58px, transparent 60px),
    radial-gradient(circle at 98% 18%, rgba(240,190,212,.62) 0 76px, transparent 78px),
    radial-gradient(circle at -10% 42%, rgba(255,156,126,.22) 0 96px, transparent 98px),
    linear-gradient(180deg, #fff6ef 0%, #fff1f5 47%, #fffaf4 100%);
}

.status {
  margin-bottom: 10px;
  color: var(--v23-ink);
}

.top {
  margin: 0 0 8px;
  padding: 2px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--v23-ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.top::before {
  display: none;
}

.top h1 {
  color: var(--v23-ink);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.top .lead {
  max-width: 240px;
  margin-top: 7px;
  color: #75635c;
  font-size: 12px;
  line-height: 1.45;
}

.store {
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(112,115,124,.14);
  background: rgba(255,255,255,.78);
  color: var(--orange);
  box-shadow: 0 8px 18px rgba(112,115,124,.08);
}

.point-status {
  background: linear-gradient(135deg, var(--orange), #ff8d6c);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px rgba(112,115,124,.22);
}

.round-btn,
.round-btn-light {
  width: 38px;
  height: 38px;
  border-color: rgba(17,17,17,.05);
  background: rgba(255,255,255,.84);
  color: var(--v23-ink);
  box-shadow: 0 10px 24px rgba(121,75,54,.12);
}

.quick-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10px;
  margin-top: 14px;
}

.quick-row .pill {
  height: 44px;
  gap: 8px;
  box-shadow: 0 14px 28px rgba(112,115,124,.18);
}

.quick-row .pill-dark {
  background: linear-gradient(135deg, var(--orange), #ff8d6c);
  color: #fff;
}

.quick-row .pill-soft {
  background: rgba(255,255,255,.78);
  color: var(--orange);
  border: 1px solid rgba(112,115,124,.12);
}

.quick-row .pill svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.status-rail {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 10px;
  margin-top: 10px;
}

.status-card {
  min-height: 82px;
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.7) 0 18px, transparent 20px),
    linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,233,225,.68));
  box-shadow: 0 16px 34px rgba(121,75,54,.1);
  color: var(--v23-ink);
  text-align: left;
}

.status-card-main {
  grid-row: span 2;
  background:
    radial-gradient(circle at 84% 20%, rgba(240,190,212,.74) 0 34px, transparent 36px),
    linear-gradient(145deg, #fff3e8, #ffb699);
}

.status-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(112,115,124,.12);
  color: var(--orange);
}

.status-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.status-card strong,
.status-card em {
  display: block;
}

.status-card strong {
  font-size: 13px;
  font-weight: 500;
}

.status-card em {
  margin-top: 5px;
  color: rgba(20,17,16,.56);
  font-size: 10px;
  font-style: normal;
  font-weight: 620;
  line-height: 1.25;
}

.recent-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 2px 18px 8px;
  scrollbar-width: none;
}

.recent-strip::-webkit-scrollbar { display: none; }

.recent-pill {
  flex: 0 0 128px;
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 30px rgba(121,75,54,.09);
  color: var(--v23-ink);
  text-align: left;
}

.recent-thumb {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.recent-thumb svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-pill strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--v23-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.22;
}

.recent-pill em {
  color: var(--orange);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.hero {
  min-height: 188px;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 34px;
  padding: 18px 22px 22px;
  background:
    radial-gradient(circle at 92% 72%, rgba(112,115,124,.96) 0 42px, transparent 44px),
    radial-gradient(circle at 84% 60%, rgba(240,190,212,.84) 0 88px, transparent 90px),
    radial-gradient(circle at 96% 8%, rgba(255,255,255,.46), transparent 22%),
    linear-gradient(145deg, #fff9f2 0%, #ffd9c8 56%, #ff946f 100%);
  color: var(--v23-ink);
  box-shadow:
    0 24px 56px rgba(112,115,124,.22),
    inset 0 1px 0 rgba(255,255,255,.78);
}

.hero::before { opacity: .34; }

.hero-wordmark {
  position: relative;
  z-index: 4;
  display: block;
  width: 132px;
  height: 40px;
  margin: 0 0 14px;
  border-radius: 13px;
  object-fit: cover;
  object-position: left center;
  box-shadow: 0 10px 24px rgba(121,75,54,.1);
}

.hero-wordmark-small {
  width: 118px;
  height: 36px;
  margin-bottom: 10px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  right: -46px;
  bottom: -44px;
  opacity: .26;
  border-radius: 44px;
  filter: saturate(1.08) drop-shadow(0 18px 28px rgba(112,115,124,.18));
}

.hero-bubble {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  box-shadow: 0 12px 26px rgba(17,17,17,.12);
}

.hero-bubble-a {
  right: 76px;
  top: 24px;
  background: linear-gradient(135deg, var(--orange), #ff8d6c);
  color: #fff;
}

.hero-bubble-b {
  display: none !important;
}

.eyebrow {
  color: var(--orange);
  font-size: 11px;
}

.hero-title {
  max-width: 205px;
  color: var(--v23-ink);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.brush-kicker,
.brush-accent {
  font-family: var(--script-font);
  font-weight: 400;
  letter-spacing: 0;
}

.brush-kicker {
  font-size: 22px;
  line-height: .9;
  color: var(--orange);
  text-transform: none;
}

.hero .brush-kicker {
  margin: 0 0 9px;
  font-size: 36px;
  line-height: .86;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.brush-accent {
  font-size: 30px !important;
  font-style: italic;
}

.hero-title-sm {
  font-family: var(--body-font) !important;
  font-size: 23px !important;
  font-weight: 500;
  font-style: normal !important;
  line-height: 1.12;
}

.hero-row { margin-top: 16px; }

.hero .pill {
  background: linear-gradient(135deg, var(--orange), #ff8d6c);
  color: white;
  box-shadow: 0 14px 30px rgba(112,115,124,.24);
}

.hero .eyebrow-static {
  color: rgba(20,17,16,.62);
  font-size: 10px;
  max-width: 78px;
  line-height: 1.25;
}

.hero > .eyebrow,
.hero > .hero-title,
.hero > .hero-row,
.hero > .hero-bubble {
  position: relative;
  z-index: 3;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,247,242,.94), rgba(255,247,242,.68) 72%, transparent);
  pointer-events: none;
}

.hero-title,
.hero-title * {
  background: transparent !important;
  text-decoration: none !important;
}

.hero-photo-stack {
  position: absolute;
  right: 8px;
  bottom: 12px;
  z-index: 0;
  width: 104px;
  height: 84px;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.82);
  box-shadow: 0 14px 28px rgba(121,75,54,.2);
}

.hero-photo-a {
  width: 74px;
  height: 58px;
  right: 22px;
  bottom: 20px;
  border-radius: 20px;
  transform: rotate(-7deg);
}

.hero-photo-b {
  width: 58px;
  height: 58px;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  transform: rotate(8deg);
}

.routine-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.routine-dock button {
  min-height: 78px;
  border: 0;
  border-radius: 24px;
  padding: 12px 10px;
  text-align: left;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.72) 0 18px, transparent 20px),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,240,235,.68));
  color: var(--v23-ink);
  box-shadow: 0 14px 30px rgba(121,75,54,.1);
}

.routine-dock button:nth-child(1) {
  background: linear-gradient(145deg, #fff5d0, #ffd7c9);
}

.routine-dock button:nth-child(2) {
  background: linear-gradient(145deg, #ffd9bc, #ffb77e);
}

.routine-dock button:nth-child(3) {
  background: linear-gradient(145deg, #f8c3dc, #f0a1c2);
}

.routine-dock span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.74);
  color: var(--orange);
  font-size: 10px;
  font-weight: 500;
}

.routine-dock strong,
.routine-dock em {
  display: block;
}

.routine-dock strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.routine-dock em {
  margin-top: 4px;
  color: rgba(20,17,16,.58);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-actions button {
  min-height: 92px;
  border: 0;
  border-radius: 28px;
  padding: 16px;
  text-align: left;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.72) 0 22px, transparent 24px),
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,237,230,.74));
  color: var(--v23-ink);
  box-shadow: 0 16px 34px rgba(121,75,54,.1);
}

.home-actions button:nth-child(2) {
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.7) 0 22px, transparent 24px),
    linear-gradient(145deg, #f8c5dc, #ffcfa8);
}

.home-actions span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
}

.home-actions svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
}

.home-actions strong,
.home-actions em {
  display: block;
}

.home-actions strong {
  font-size: 13px;
  font-weight: 500;
}

.home-actions em {
  margin-top: 5px;
  color: rgba(20,17,16,.56);
  font-size: 10px;
  line-height: 1.32;
  font-style: normal;
  font-weight: 550;
}

.section { margin-top: 22px; }

.section-head {
  margin-bottom: 12px;
  align-items: center;
}

.section-head h2 {
  font-size: 16px;
  letter-spacing: 0;
}

.link {
  height: 28px;
  min-width: 46px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(121,75,54,.08);
}

.market-strip { gap: 10px; }

.market-tile {
  min-height: 118px;
  padding: 18px 14px;
  border: 0;
  border-radius: 28px;
  transform: rotate(-.8deg);
}

.market-tile:nth-child(2) { transform: translateY(10px) rotate(.7deg); }
.market-tile:nth-child(3) { transform: rotate(1deg); }

.market-tile strong {
  font-size: 20px;
  letter-spacing: 0;
}

.market-tile span {
  max-width: 82px;
  font-size: 10px;
  line-height: 1.32;
}

.products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 2px 18px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.products::-webkit-scrollbar { display: none; }

.product {
  flex: 0 0 132px;
  min-height: 206px;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  padding: 10px 10px 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.56)),
    radial-gradient(circle at 70% 0%, rgba(240,190,212,.35), transparent 52%);
  box-shadow: 0 18px 38px rgba(121,75,54,.12);
}

.art {
  height: 96px;
  border-radius: 22px;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.art img { transform: scale(1.08); }
.art-icon svg { width: 42px; height: 42px; }

.art-mark {
  top: 8px;
  right: 8px;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  color: #fff;
}

.product h3 {
  min-height: 40px;
  font-size: 12px;
  line-height: 1.28;
  letter-spacing: 0;
}

.product p {
  min-height: 24px;
  font-size: 10px;
}

.product .price { font-size: 14px; }
.was { font-size: 10px; }

.grid3 { gap: 10px; }

.tile {
  min-height: 94px;
  border: 0;
  border-radius: 28px;
  padding: 17px 16px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.7) 0 20px, transparent 22px),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,246,240,.68));
  color: var(--v23-ink);
  box-shadow: 0 16px 34px rgba(121,75,54,.11);
}

.tile:nth-child(1),
.tile.pink {
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.45) 0 22px, transparent 24px),
    linear-gradient(150deg, #f6bdd6 0%, #ed8db3 100%);
  color: #562238;
}

.tile:nth-child(2),
.tile.warm {
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.48) 0 22px, transparent 24px),
    linear-gradient(150deg, #ffe5c0 0%, #ffbe7e 100%);
  color: #56300e;
}

.tile:nth-child(5) {
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.44) 0 22px, transparent 24px),
    linear-gradient(150deg, #f4bdd5 0%, #de81ad 100%);
}

.tile.hot {
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.28) 0 24px, transparent 26px),
    linear-gradient(150deg, #ff8d6c 0%, #ea5330 100%);
  color: #fff;
}

.tile small {
  margin-top: 22px;
  font-size: 10px;
  color: currentColor;
  opacity: .66;
}

.challenge-card {
  min-height: 106px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 32px;
  padding: 22px;
  background:
    radial-gradient(circle at 88% 50%, rgba(112,115,124,.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,230,223,.56));
  box-shadow: 0 20px 44px rgba(121,75,54,.12);
}

.challenge-card h3 { font-size: 17px; }

.stamp {
  width: 60px;
  height: 60px;
  border: 0;
  background: linear-gradient(135deg, var(--orange), #ff8d6c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(112,115,124,.22);
}

.stamp > span { transform: translateY(-1px); }

.stamp-logo,
.grade-logo,
.value-logo {
  overflow: hidden;
  padding: 0;
}

.stamp-logo-img,
.grade-logo-img,
.value-logo-img,
.pin-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stamp-logo-img {
  border-radius: 50%;
  transform: scale(1.22);
}

.grade-logo {
  background: transparent !important;
  box-shadow: 0 18px 34px rgba(112,115,124,.24);
}

.grade-logo-img {
  border-radius: 50%;
  transform: scale(1.16);
}

.value-logo {
  background: transparent !important;
}

.value-logo-img {
  border-radius: 50%;
  transform: scale(1.16);
}

.pin-logo {
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid #fff;
}

.pin-logo > span {
  width: 100%;
  height: 100%;
  display: block;
}

.grade-seeker {
  min-height: 226px;
  padding: 24px 24px 22px;
  border: 0;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 28%, rgba(240,190,212,.9) 0 58px, transparent 60px),
    radial-gradient(circle at 92% 84%, rgba(255,232,137,.48) 0 74px, transparent 76px),
    linear-gradient(145deg, #fff4eb 0%, #ffb59c 48%, #ea5330 135%);
  box-shadow:
    0 24px 52px rgba(121,75,54,.18),
    0 10px 34px rgba(112,115,124,.18);
}

.grade-seeker::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(255,255,255,.12) 54% 56%, transparent 56%),
    radial-gradient(circle at 12% 84%, rgba(255,232,137,.18), transparent 28%);
  pointer-events: none;
}

.grade-copy {
  position: relative;
  z-index: 2;
  max-width: 220px;
}

.grade-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: #8f341f;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
}

.grade-mini-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.brush-title {
  margin-top: 18px;
  font-family: var(--script-font);
  font-size: 42px !important;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  color: #211612;
  text-shadow: 0 2px 0 rgba(255,255,255,.42);
}

.grade-seeker p {
  max-width: 176px;
  color: rgba(33,22,18,.62);
  font-size: 12px;
  line-height: 1.35;
}

.seeker-meter {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.seeker-meter span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,230,223,.9);
}

.seeker-meter span.on {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(112,115,124,.12);
}

.seeker-caption {
  margin-top: 12px;
  color: rgba(33,22,18,.52);
  font-size: 10px;
  font-weight: 620;
}

.seeker-character {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: -4px;
  width: 154px;
  height: 154px;
  transform-origin: 50% 100%;
}

.seeker-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(121,75,54,.24));
}

.character-walk {
  animation: character-walk 5.2s ease-in-out infinite;
}

@keyframes character-walk {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1.5deg); }
}

.motion-note {
  position: absolute;
  z-index: 4;
  color: #2f211b;
  font-size: 20px;
  font-weight: 500;
  transform: rotate(-14deg);
  opacity: .52;
}

.note-a {
  right: 118px;
  top: 26px;
}

.note-b {
  right: 8px;
  top: 10px;
  transform: rotate(14deg);
}

.challenge-character {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 8px;
  width: 110px;
  height: 110px;
  pointer-events: none;
}

.challenge-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(121,75,54,.18));
}

.character-jog {
  animation: character-jog 6s ease-in-out infinite;
}

@keyframes character-jog {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(-4px, -2px, 0) rotate(1deg); }
}

.modal-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.16);
}

.pill-done {
  background: rgba(255,255,255,.78) !important;
  color: var(--orange) !important;
  box-shadow: inset 0 0 0 1px rgba(112,115,124,.14) !important;
}

.coupon-meter {
  width: 100%;
  height: 9px;
  margin: 14px 0 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(112,115,124,.12);
}

.coupon-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #ff8d6c);
}

.coupon-meter-soon span,
.coupon-meter-urgent span {
  background: linear-gradient(90deg, #ff5a35, #ffcc66);
}

.coupon-meter-done {
  background: rgba(17,17,17,.08);
}

.coupon-meter-done span {
  background: linear-gradient(90deg, #9f9a96, #d8d1cc);
}

.checkin-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.checkin-chip,
.checkin-empty {
  min-height: 72px;
  border-radius: 24px;
  padding: 14px 12px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.65) 0 18px, transparent 20px),
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,232,223,.74));
  box-shadow: 0 14px 30px rgba(121,75,54,.1);
}

.checkin-chip strong,
.checkin-empty strong {
  display: block;
  color: var(--v23-ink);
  font-size: 13px;
  font-weight: 500;
}

.checkin-chip span,
.checkin-empty span {
  display: block;
  margin-top: 8px;
  color: rgba(20,17,16,.58);
  font-size: 11px;
  font-weight: 620;
}

.checkin-empty {
  grid-column: 1 / -1;
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 34px rgba(121,75,54,.11);
}

.brand-strip-logo {
  width: 138px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  object-position: left center;
}

.brand-strip span {
  color: var(--orange);
  font-family: var(--script-font);
  font-size: 28px;
  font-weight: 400;
  line-height: .9;
}

[data-theme="dark"] .item,
[data-theme="dark"] .theme-toggle {
  background:
    radial-gradient(circle at 88% 18%, rgba(112,115,124,.12) 0 22px, transparent 24px),
    linear-gradient(145deg, #231c19, #171311) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff7f2 !important;
}

[data-theme="dark"] .item .item-title,
[data-theme="dark"] .item .item-sub,
[data-theme="dark"] .theme-toggle .item-title,
[data-theme="dark"] .theme-toggle .item-sub {
  color: #fff7f2 !important;
}

[data-theme="dark"] .item .item-sub,
[data-theme="dark"] .theme-toggle .item-sub {
  opacity: .68;
}

[data-theme="dark"] .brand-strip,
[data-theme="dark"] .brand-lockup {
  background: rgba(255,255,255,.92);
}

.tabbar {
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 52px rgba(121,75,54,.18);
}

.tab { color: rgba(20,17,16,.48); }

.tab .ico {
  width: 36px;
  height: 36px;
}

.tab.active { color: var(--orange); }

.tab.active .ico {
  background: linear-gradient(135deg, #ffe8df, #f8bfd7);
  color: var(--orange);
  box-shadow: 0 0 0 7px rgba(112,115,124,.08);
}

.tab.active .ico::before { display: none; }

.tab svg {
  width: 18px;
  height: 18px;
}

.version-badge {
  right: 30px;
  bottom: 76px;
  background: rgba(17,17,17,.8);
  border-radius: 999px;
}

@media (max-width: 520px) {
  .screen { padding-bottom: calc(104px + max(0px, var(--safe-bottom))); }
  .tabbar {
    bottom: max(10px, var(--safe-bottom));
    height: 72px;
  }
}

[data-theme="dark"] .top h1,
[data-theme="dark"] .top .lead {
  color: #fff7f2;
}

[data-theme="dark"] .hero,
[data-theme="dark"] .challenge-card,
[data-theme="dark"] .home-actions button,
[data-theme="dark"] .item,
[data-theme="dark"] .tile.pink,
[data-theme="dark"] .tile.warm,
[data-theme="dark"] .tile.hot {
  color: #1b1411;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-title *,
[data-theme="dark"] .challenge-card h3,
[data-theme="dark"] .challenge-card p,
[data-theme="dark"] .home-actions strong,
[data-theme="dark"] .home-actions em,
[data-theme="dark"] .item-title,
[data-theme="dark"] .item-sub {
  color: #1b1411;
}

[data-theme="dark"] .product {
  background:
    radial-gradient(circle at 70% 0%, rgba(240,190,212,.12), transparent 52%),
    linear-gradient(180deg, rgba(34,28,25,.96), rgba(24,19,17,.94));
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 38px rgba(0,0,0,.32);
}

[data-theme="dark"] .product h3,
[data-theme="dark"] .product p {
  color: #fff7f2;
}

[data-theme="dark"] .product p,
[data-theme="dark"] .was {
  color: rgba(255,247,242,.58);
}

[data-theme="dark"] .tile:not(.pink):not(.warm):not(.hot) {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.10) 0 20px, transparent 22px),
    linear-gradient(145deg, rgba(35,28,25,.98), rgba(22,18,16,.96));
  color: #fff7f2;
  box-shadow: 0 16px 34px rgba(0,0,0,.34);
}

[data-theme="dark"] .tile:not(.pink):not(.warm):not(.hot) small {
  color: rgba(255,247,242,.82);
}

[data-theme="dark"] .tile.warm {
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.48) 0 22px, transparent 24px),
    linear-gradient(150deg, #ffe5c0 0%, #ffbe7e 100%);
  color: #56300e;
}

[data-theme="dark"] .grade-seeker {
  color: #fff7f2;
}

[data-theme="dark"] .grade-seeker .brush-title,
[data-theme="dark"] .grade-seeker p,
[data-theme="dark"] .seeker-caption {
  color: #fff7f2;
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}

[data-theme="dark"] .seeker-caption,
[data-theme="dark"] .grade-seeker p {
  opacity: .78;
}

[data-theme="dark"] .stat {
  background: rgba(34,28,25,.96);
  border: 1px solid rgba(255,255,255,.08);
}

[data-theme="dark"] .stat span {
  color: rgba(255,247,242,.66);
}

[data-theme="dark"] .price-row.big .was,
[data-theme="dark"] .lead-soft,
[data-theme="dark"] .nut span,
[data-theme="dark"] .detail-visual + .section .lead {
  color: rgba(255,247,242,.68);
}

[data-theme="dark"] .nut {
  background: rgba(34,28,25,.96);
  border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] .nut strong,
[data-theme="dark"] .discount-badge {
  color: #ffb796;
}

[data-theme="dark"] .stock-chip {
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.10) 0 18px, transparent 20px),
    linear-gradient(145deg, rgba(34,28,25,.96), rgba(24,19,17,.96));
  border-color: rgba(255,255,255,.10);
  color: #fff7f2;
  box-shadow: 0 14px 32px rgba(0,0,0,.32);
}

[data-theme="dark"] .stock-chip span {
  color: rgba(255,247,242,.64);
}

[data-theme="dark"] .stock-chip.in span {
  color: #ffb796;
}

[data-theme="dark"] .fab-row {
  background: linear-gradient(180deg, transparent 0%, rgba(20,17,15,.82) 42%, rgba(20,17,15,.96) 100%);
}

[data-theme="dark"] .map-card-real {
  border-color: rgba(255,255,255,.10);
  background: #1a1614;
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
}

[data-theme="dark"] .map-card-real iframe {
  filter: saturate(.72) contrast(.9) brightness(.74);
}

[data-theme="dark"] .map-glass {
  background:
    linear-gradient(180deg, rgba(20,17,15,.20), rgba(20,17,15,.34)),
    radial-gradient(circle at 16% 18%, rgba(255,232,137,.13), transparent 28%),
    radial-gradient(circle at 94% 26%, rgba(240,190,212,.17), transparent 30%);
}

[data-theme="dark"] .section-head h2,
[data-theme="dark"] .route-label,
[data-theme="dark"] .link {
  color: #fff7f2;
}

[data-theme="dark"] .hero .eyebrow-static {
  color: rgba(27,20,17,.62);
}

[data-theme="dark"] .tab {
  color: rgba(255,247,242,.48);
}

[data-theme="dark"] .tabbar {
  background: rgba(20,17,15,.88);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 20px 52px rgba(0,0,0,.46);
}

[data-theme="dark"] .tab.active {
  color: var(--orange);
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.rating-row button {
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--warm);
  color: rgba(20,17,16,.32);
  font-size: 22px;
  font-weight: 500;
}

.rating-row button.on {
  background: var(--orange-soft);
  color: var(--orange);
}

.form-textarea {
  min-height: 108px;
  resize: none;
  line-height: 1.45;
}

.community-topic-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.community-feed {
  display: grid;
  gap: 10px;
}

.community-post {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(20,17,16,.06);
  box-shadow: 0 10px 28px rgba(121,75,54,.10);
}

.community-post-head,
.community-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community-post p {
  margin: 12px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.55;
}

.community-author {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-author span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #050505;
  border: 1px solid #050505;
  font-size: 12px;
  font-weight: 500;
}

.community-author strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-actions span {
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
}

[data-theme="dark"] .community-post {
  background: rgba(34,28,25,.96);
  border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] .community-post p {
  color: #fff7f2;
}

/* -------------------------------------------------------------------------
   Editorial wellness refresh
   Tone: professional, magazine-like, trend-aware.
   ------------------------------------------------------------------------- */
:root {
  --orange: #c95b3e;
  --orange-deep: #923f2d;
  --pink: #ead8dd;
  --ink: #181715;
  --sub: #6f6a61;
  --muted: #9b948a;
  --line: #ded8cf;
  --warm: #f3eee5;
  --pink-soft: #f4ecee;
  --orange-soft: #efe0d6;
  --paper: #fbfaf6;
  --shadow-sm: 0 2px 10px rgba(24, 23, 21, .05);
  --shadow: 0 8px 24px rgba(24, 23, 21, .08);
  --shadow-lg: 0 18px 44px rgba(24, 23, 21, .12);
}

* {
  letter-spacing: 0 !important;
}

body {
  background:
    linear-gradient(135deg, #ded9cf 0%, #cfc8bc 100%);
}

.stage {
  grid-template-columns: 1fr;
}

.dev-switcher {
  display: none !important;
}

.phone {
  border: 8px solid #151412;
  border-radius: 34px;
  box-shadow: 0 28px 86px rgba(20, 18, 16, .24);
}

.screen {
  background:
    linear-gradient(180deg, rgba(251, 250, 246, .98) 0%, rgba(243, 238, 229, .98) 48%, #fbfaf6 100%);
  padding: 22px 18px 112px;
}

.status {
  color: rgba(24, 23, 21, .76);
  font-weight: 550;
}

.top,
.my-mini-header {
  background:
    linear-gradient(180deg, rgba(251,250,246,.98), rgba(243,238,229,.96));
  color: var(--ink);
  border: 1px solid rgba(24, 23, 21, .08);
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
}

.top {
  padding: 22px 20px 24px;
  margin: -8px 0 18px;
}

.top::before,
.top::after,
.hero::before,
.hero::after,
.challenge-card::after,
.greeting-card::after {
  display: none !important;
}

.top h1,
.top .lead,
.top .route-label {
  color: var(--ink);
}

.top .lead {
  color: var(--sub);
  max-width: 260px;
}

.store,
.point-status,
.round-btn {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid rgba(24, 23, 21, .12);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand-lockup {
  background: transparent;
  border-color: rgba(24,23,21,.12);
}

h1,
.hero-title,
.greeting-headline,
.brush-title {
  font-family: Georgia, "Times New Roman", var(--body-font);
  font-weight: 500;
  color: var(--ink);
}

h1 {
  font-size: 34px;
  line-height: 1.04;
}

.hero {
  min-height: 260px;
  border-radius: 8px;
  border: 1px solid rgba(24, 23, 21, .08);
  background:
    linear-gradient(180deg, rgba(24,23,21,.06), rgba(24,23,21,.16)),
    linear-gradient(135deg, #efe3d7 0%, #d9c8b8 50%, #bfa99a 100%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-home {
  min-height: 320px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.02;
  color: #111;
  text-shadow: none;
}

.hero .eyebrow,
.brush-kicker,
.eyebrow {
  font-family: var(--body-font);
  text-transform: uppercase;
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 620;
}

.hero .pill,
.pill-cta,
.pill-on {
  background: #181715;
  color: #fbfaf6;
  box-shadow: none;
}

.pill,
.chip,
.tag,
.discount-badge {
  border-radius: 999px;
}

.pill-soft,
.pill-ghost {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid rgba(24,23,21,.12);
}

.section {
  margin-top: 24px;
}

.section-head {
  border-bottom: 1px solid rgba(24,23,21,.10);
  padding-bottom: 9px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}

.link {
  color: var(--orange-deep);
  font-weight: 620;
}

.product,
.item,
.challenge-card,
.community-post,
.status-card,
.tile,
.stat,
.nut,
.receipt-card,
.grade,
.greeting-card {
  border-radius: 8px !important;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(24,23,21,.08);
  box-shadow: var(--shadow-sm);
}

.product:hover,
.item:hover,
.challenge-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.product h3,
.item-title,
.challenge-card h3 {
  font-weight: 620;
  color: var(--ink);
}

.product p,
.item-sub,
.challenge-card p {
  color: var(--sub);
  font-weight: 550;
}

.art,
.thumb,
.detail-visual,
.stamp,
.tile {
  border-radius: 8px !important;
}

.detail-visual {
  background:
    linear-gradient(145deg, #eee5dc 0%, #d5c6b8 100%) !important;
  border: 1px solid rgba(24,23,21,.08);
}

.routine-dock,
.status-rail,
.home-actions {
  gap: 10px;
}

.tabbar {
  border-radius: 8px;
  background: rgba(251,250,246,.92);
  border: 1px solid rgba(24,23,21,.10);
  box-shadow: 0 14px 42px rgba(24,23,21,.14);
}

.tab.active {
  color: var(--ink);
}

.tab.active .ico {
  background: #181715;
  color: #fbfaf6;
  box-shadow: none;
}

.fab-row {
  background: linear-gradient(180deg, transparent 0%, rgba(251,250,246,.88) 45%, rgba(251,250,246,.98) 100%);
}

[data-theme="dark"] .screen {
  background: linear-gradient(180deg, #161513 0%, #201d1a 100%);
}

/* Refined palette: oat paper, sage wellness, ink editorial, muted coral. */
:root {
  --orange: #b9654b;
  --orange-deep: #7e3f31;
  --pink: #e7d6d2;
  --ink: #171614;
  --sub: #706d63;
  --muted: #a29c90;
  --line: #d9d2c6;
  --warm: #eee7dc;
  --pink-soft: #f1e7e4;
  --orange-soft: #ead8cd;
  --paper: #faf7ef;
  --sage: #6f7f68;
  --sage-deep: #424d3f;
  --sage-soft: #e2e8db;
  --clay: #b88a70;
  --oat: #d8ccba;
}

body {
  background:
    radial-gradient(circle at 30% 8%, rgba(255,255,255,.55), transparent 34%),
    linear-gradient(135deg, #d8d0c4 0%, #bdb2a4 100%);
}

.screen {
  background:
    linear-gradient(180deg, #fbf8f0 0%, #eee7dc 46%, #faf7ef 100%);
}

.top,
.my-mini-header,
.product,
.item,
.community-post,
.status-card,
.tile,
.stat,
.nut,
.receipt-card,
.grade,
.greeting-card {
  background: rgba(255, 252, 245, .86);
  border-color: rgba(66, 77, 63, .14);
}

.top,
.my-mini-header {
  background:
    linear-gradient(135deg, rgba(255,252,245,.95), rgba(232,226,214,.92));
}

.section-head {
  border-bottom-color: rgba(66, 77, 63, .16);
}

.section-head h2,
.ticker-track span {
  color: var(--sage-deep);
}

.link,
.route-label,
.store-icon {
  color: var(--sage-deep);
}

.pill-cta,
.pill-on,
.hero .pill,
.tab.active .ico {
  background: var(--ink);
  color: #fffaf4;
}

.pill-soft,
.chip,
.tag {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.status-card .status-icon,
.thumb-svg-icon,
.review-stars {
  color: var(--sage-deep);
}

.price,
.discount-badge,
.point-status {
  color: var(--orange-deep);
}

.hero-glass-note {
  border-color: rgba(255,255,255,.28);
  background: rgba(23,22,20,.22);
}

.hero-home::before {
  background:
    linear-gradient(180deg, rgba(13,14,12,.04) 0%, rgba(13,14,12,.34) 42%, rgba(13,14,12,.78) 100%),
    radial-gradient(circle at 10% 10%, rgba(226,232,219,.25), transparent 34%),
    radial-gradient(circle at 92% 34%, rgba(185,101,75,.18), transparent 40%);
}

.editorial-ticker {
  border-color: rgba(66, 77, 63, .14);
  background: rgba(226, 232, 219, .32);
}

.editorial-strip article::after {
  background:
    linear-gradient(180deg, rgba(23,22,20,.02), rgba(23,22,20,.66)),
    radial-gradient(circle at 20% 0%, rgba(226,232,219,.20), transparent 42%);
}

.routine-dock button:nth-child(1),
.home-actions button:nth-child(1) {
  background: linear-gradient(135deg, #f3ede4, #ded3c2);
}

.routine-dock button:nth-child(2),
.home-actions button:nth-child(2) {
  background: linear-gradient(135deg, #e4eadf, #c8d3bf);
}

.routine-dock button:nth-child(3) {
  background: linear-gradient(135deg, #f0e0db, #dcc5bd);
}

.member-report {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  padding: 18px;
  color: #fffaf4;
  background: var(--ink);
  border: 1px solid rgba(23,22,20,.16);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.member-report::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,12,10,.08), rgba(12,12,10,.46) 52%, rgba(12,12,10,.82)),
    radial-gradient(circle at 12% 18%, rgba(226,232,219,.24), transparent 38%);
}

.member-report-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hz-hero-kenburns 18s ease-in-out infinite;
}

.member-report > *:not(.member-report-bg) {
  position: relative;
  z-index: 2;
}

.member-report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.member-report-top span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,250,244,.72);
}

.member-report-top strong {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
}

.member-report-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", var(--body-font);
  font-size: 38px;
  line-height: .98;
  font-weight: 500;
}

.member-report-title p {
  max-width: 250px;
  margin: 10px 0 0;
  color: rgba(255,250,244,.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.member-report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.member-report-grid div {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.member-report-grid strong,
.member-report-grid span {
  display: block;
}

.member-report-grid strong {
  font-size: 18px;
  line-height: 1;
}

.member-report-grid span {
  margin-top: 6px;
  color: rgba(255,250,244,.68);
  font-size: 9px;
  font-weight: 620;
  text-transform: uppercase;
}

/* Motion layer: editorial, trend-aware, intentionally subtle. */
@keyframes hz-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hz-soft-scale {
  from {
    opacity: 0;
    transform: scale(.965) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes hz-slide-track {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes hz-photo-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50% { transform: translate3d(-8px, -10px, 0) rotate(-2deg); }
}

@keyframes hz-photo-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(7deg); }
  50% { transform: translate3d(7px, -7px, 0) rotate(3deg); }
}

@keyframes hz-hero-kenburns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  50% { transform: scale(1.08) translate3d(-8px, -10px, 0); }
  100% { transform: scale(1.02) translate3d(0, 0, 0); }
}

.screen > .status,
.screen > .top,
.screen > .my-mini-header,
.screen > .backbar,
.screen > .section,
.screen > .hero,
.screen > .routine-dock,
.screen > .editorial-ticker {
  animation: hz-rise .62s cubic-bezier(.16, 1, .3, 1) both;
}

.screen > :nth-child(2) { animation-delay: .03s; }
.screen > :nth-child(3) { animation-delay: .06s; }
.screen > :nth-child(4) { animation-delay: .09s; }
.screen > :nth-child(5) { animation-delay: .12s; }
.screen > :nth-child(6) { animation-delay: .15s; }
.screen > :nth-child(7) { animation-delay: .18s; }

.editorial-ticker {
  margin: 12px -18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(24,23,21,.10);
  border-bottom: 1px solid rgba(24,23,21,.10);
  background: rgba(255,255,255,.45);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 10px 0;
  animation: hz-slide-track 22s linear infinite;
}

.ticker-track span {
  color: rgba(24,23,21,.72);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-photo-a {
  animation: hz-photo-drift 8s ease-in-out infinite;
}

.hero-photo-b {
  animation: hz-photo-drift-b 9s ease-in-out infinite;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: hz-hero-kenburns 16s ease-in-out infinite;
}

.hero-home {
  justify-content: flex-end;
  overflow: hidden;
  background: #181715;
}

.hero-home::before {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,9,8,.08) 0%, rgba(10,9,8,.38) 46%, rgba(10,9,8,.78) 100%),
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.24), transparent 36%);
  pointer-events: none;
}

.hero-home > .eyebrow,
.hero-home > .hero-title,
.hero-home > .hero-row,
.hero-glass-note {
  position: relative;
  z-index: 2;
}

.hero-home .hero-title {
  color: #fffaf4;
  text-shadow: 0 10px 30px rgba(0,0,0,.38);
}

.hero-home .brush-kicker,
.hero-home .eyebrow-static {
  color: rgba(255,250,244,.78);
}

.hero-glass-note {
  align-self: stretch;
  margin-bottom: auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  color: #fffaf4;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-glass-note strong,
.hero-glass-note span {
  display: block;
}

.hero-glass-note strong {
  font-size: 10px;
  font-weight: 500;
}

.hero-glass-note span {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,250,244,.74);
}

.editorial-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.editorial-strip article {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(24,23,21,.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fffaf4;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s ease;
}

.editorial-strip article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.62));
  z-index: 1;
}

.editorial-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.editorial-strip span,
.editorial-strip strong {
  position: relative;
  z-index: 2;
}

.editorial-strip span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,250,244,.76);
}

.editorial-strip strong {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 600;
}

.editorial-strip article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.editorial-strip article:hover img {
  transform: scale(1.08);
}

.product,
.item,
.community-post,
.tile,
.status-card,
.challenge-card {
  transition:
    transform .38s cubic-bezier(.16, 1, .3, 1),
    box-shadow .38s cubic-bezier(.16, 1, .3, 1),
    border-color .38s ease,
    background .38s ease;
}

.product:active,
.item:active,
.status-card:active,
.challenge-card:active,
.tile:active,
.pill:active,
.round-btn:active {
  transform: scale(.975);
}

.product:hover,
.item:hover,
.community-post:hover,
.status-card:hover,
.challenge-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24,23,21,.16);
  box-shadow: var(--shadow);
}

.product .art img,
.thumb-photo,
.detail-img {
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.product:hover .art img,
.item:hover .thumb-photo {
  transform: scale(1.055);
}

.modal {
  animation: hz-soft-scale .36s cubic-bezier(.16, 1, .3, 1) both;
}

.tab .ico {
  transition:
    transform .34s cubic-bezier(.16, 1, .3, 1),
    background .34s ease,
    color .34s ease;
}

.tab.active .ico {
  transform: none;
}

.tab-label {
  transition: opacity .28s ease, transform .28s ease;
}

.tab.active .tab-label {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------------------------------
   Minimal color direction: Halo orange + black + neutral system.
   Inspired by bold material/iOS editorial layouts with very limited color.
   ------------------------------------------------------------------------- */
:root {
  --orange: #ff5438;
  --orange-deep: #d83f27;
  --pink: #ff5438;
  --ink: #050505;
  --sub: #686868;
  --muted: #9a9a9a;
  --line: rgba(5, 5, 5, .12);
  --warm: #f4f2ed;
  --pink-soft: #fff0eb;
  --orange-soft: #ffe2da;
  --paper: #f7f5ef;
  --sage: #050505;
  --sage-deep: #050505;
  --sage-soft: #eeeeea;
}

body {
  background: #737674;
}

.phone {
  background: var(--paper);
  border-color: #050505;
}

.screen {
  background: #f7f5ef;
}

.top,
.my-mini-header {
  background: #f7f5ef;
  border-color: var(--line);
}

.top h1,
.hero-title,
.member-report-title h2,
.section-head h2,
.item-title,
.product h3,
.challenge-card h3 {
  color: #050505;
}

.top .lead,
.item-sub,
.product p,
.challenge-card p,
.route-label {
  color: #686868;
}

.store,
.point-status,
.round-btn,
.brand-lockup,
.pill-soft,
.pill-ghost,
.chip,
.tag,
.status-card,
.item,
.product,
.community-post,
.tile,
.stat,
.nut {
  background: #fffdf7 !important;
  color: #050505 !important;
  border-color: var(--line) !important;
}

.pill-cta,
.pill-on,
.hero .pill,
.pill-dark,
.tab.active .ico,
.discount-badge {
  background: #050505 !important;
  color: #fffdf7 !important;
}

.link,
.price,
.review-stars,
.status-icon,
.thumb-svg-icon {
  color: #ff5438 !important;
}

.status-card-main,
.hero-glass-note,
.member-report-grid div {
  border-color: rgba(255,255,255,.25) !important;
}

.hero-home {
  background: #ff5438;
}

.hero-home::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.38) 46%, rgba(0,0,0,.80) 100%),
    radial-gradient(circle at 18% 14%, rgba(255,84,56,.36), transparent 34%) !important;
}

.hero-home .hero-title,
.hero-home .brush-kicker,
.hero-home .eyebrow-static {
  color: #fffdf7 !important;
}

.hero-glass-note {
  background: rgba(5,5,5,.30) !important;
  color: #fffdf7 !important;
}

.editorial-ticker {
  background: #050505;
  border-color: #050505;
}

.ticker-track span {
  color: #ff5438 !important;
}

.routine-dock button,
.home-actions button,
.thumb,
.thumb-art,
.art,
.stamp,
.challenge-thumb-orange,
.challenge-thumb-pink,
.challenge-thumb-ink,
.challenge-thumb-warm {
  background: #050505 !important;
  color: #fffdf7 !important;
  border-color: #050505 !important;
}

.routine-dock button span,
.home-actions button span,
.thumb .mark,
.thumb-mark,
.art-mark {
  color: #ff5438 !important;
}

.routine-dock button em,
.home-actions button em {
  color: rgba(255,253,247,.64) !important;
}

.detail-visual {
  background: #ff5438 !important;
}

.modal,
.tabbar,
.sug-dropdown,
.receipt-card {
  background: #fffdf7 !important;
  border-color: var(--line) !important;
}

.tabbar {
  border-radius: 999px;
}

.tab {
  color: #737373;
}

.tab.active {
  color: #050505;
}

.member-report {
  background: #050505 !important;
}

.member-report::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.52) 52%, rgba(0,0,0,.88)),
    radial-gradient(circle at 14% 12%, rgba(255,84,56,.34), transparent 38%) !important;
}

.member-report-title h2,
.member-report-title p,
.member-report-top,
.member-report-grid {
  color: #fffdf7;
}

.editorial-strip article::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.72)),
    radial-gradient(circle at 0% 0%, rgba(255,84,56,.22), transparent 44%) !important;
}

.version-mark {
  color: #737373;
}

/* -------------------------------------------------------------------------
   HaloZero total visual reset: brand orange canvas + black-only accents.
   ------------------------------------------------------------------------- */
:root {
  --orange: #ff5438;
  --orange-deep: #ff5438;
  --pink: #ff5438;
  --ink: #050505;
  --sub: rgba(5,5,5,.58);
  --muted: rgba(5,5,5,.36);
  --line: rgba(5,5,5,.16);
  --warm: rgba(5,5,5,.06);
  --pink-soft: rgba(5,5,5,.06);
  --orange-soft: rgba(5,5,5,.08);
  --paper: #ff5438;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --shadow-pop: none;
}

html,
body {
  background: #6f7370 !important;
}

.phone {
  background: #ff5438 !important;
  border: 8px solid #050505 !important;
  border-radius: 34px;
  box-shadow: 0 26px 80px rgba(5,5,5,.36) !important;
}

.screen {
  background:
    radial-gradient(circle at 82% 10%, rgba(5,5,5,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 18%, rgba(5,5,5,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 21%, rgba(5,5,5,.16) 0 2px, transparent 3px),
    #ff5438 !important;
  color: #050505;
  padding: 20px 16px 108px;
}

.status {
  color: #050505 !important;
  font-weight: 600;
}

.top,
.my-mini-header,
.backbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #050505 !important;
  padding-left: 0;
  padding-right: 0;
}

.top {
  margin: -8px 0 12px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.top h1,
h1 {
  color: #050505 !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 36px;
  line-height: .92;
  font-weight: 600;
  text-transform: none;
}

.top .lead {
  max-width: 290px;
  color: rgba(5,5,5,.62) !important;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 550;
}

.brand-lockup,
.store,
.point-status,
.round-btn,
.back {
  background: transparent !important;
  color: #050505 !important;
  border-color: #050505 !important;
  box-shadow: none !important;
}

.brand-lockup-img {
  filter: grayscale(1) contrast(4) brightness(.08);
}

.store {
  border: 2px solid #050505 !important;
  height: 32px;
  padding: 0 10px;
  font-weight: 500;
}

.point-status {
  border: 2px solid #050505 !important;
  border-radius: 999px;
  font-weight: 600;
}

.round-btn {
  border: 2px solid #050505 !important;
}

.editorial-ticker {
  margin: 8px -16px 0;
  background: #050505 !important;
  border: 0 !important;
}

.ticker-track {
  padding: 9px 0;
}

.ticker-track span {
  color: #ff5438 !important;
  font-size: 10px;
  font-weight: 600;
}

.quick-row,
.status-rail,
.routine-dock,
.home-actions,
.products,
.grid3,
.list,
.community-feed {
  gap: 8px !important;
}

.section {
  margin-top: 20px !important;
}

.section-head {
  border: 0 !important;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.section-head h2 {
  color: #050505 !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 18px !important;
  line-height: 1;
  font-weight: 600 !important;
  text-transform: none !important;
}

.route-label,
.link {
  color: #050505 !important;
  font-weight: 600 !important;
}

.pill,
.pill-soft,
.pill-ghost,
.pill-cta,
.pill-dark,
.pill-on,
.link,
.chip,
.tag {
  border-radius: 999px !important;
  border: 2px solid #050505 !important;
  background: transparent !important;
  color: #050505 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.pill-cta,
.pill-dark,
.pill-on,
.hero .pill,
.tab.active .ico {
  background: #050505 !important;
  color: #ff5438 !important;
}

.hero,
.hero-home,
.hero-tight,
.challenge-card,
.greeting-card,
.member-report {
  position: relative;
  background: #ff5438 !important;
  border: 3px solid #050505 !important;
  border-radius: 22px !important;
  color: #050505 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-home {
  min-height: 340px;
  justify-content: flex-end;
}

.hero-bg-photo,
.member-report-bg,
.hero-logo,
.hero-photo-stack,
.challenge-character,
.seeker-character,
.motion-note {
  display: none !important;
}

.hero-home::before,
.member-report::before,
.challenge-card::before {
  display: block !important;
  content: "";
  position: absolute;
  width: 154px;
  height: 154px;
  right: 24px;
  top: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #050505 0 6px, transparent 7px) 0 0 / 24px 24px;
  opacity: 1;
  z-index: 0;
}

.hero-home::after,
.member-report::after {
  display: block !important;
  content: "";
  position: absolute;
  left: 22px;
  top: 88px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #050505;
  z-index: 0;
}

.hero > *,
.hero-home > *,
.member-report > *:not(.member-report-bg),
.challenge-card > * {
  position: relative;
  z-index: 2;
}

.hero-glass-note {
  align-self: flex-start;
  width: auto;
  max-width: 230px;
  margin-bottom: auto;
  background: #050505 !important;
  color: #ff5438 !important;
  border: 0 !important;
  border-radius: 18px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-glass-note span,
.hero-glass-note strong {
  color: #ff5438 !important;
}

.hero-title,
.hero-home .hero-title,
.member-report-title h2,
.brush-title {
  color: #050505 !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 38px;
  line-height: .9;
  font-weight: 600;
  text-shadow: none !important;
}

.hero .eyebrow,
.brush-kicker,
.eyebrow,
.hero-home .brush-kicker,
.hero-home .eyebrow-static {
  color: #050505 !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 11px;
  font-weight: 600;
}

.status-card,
.item,
.product,
.community-post,
.tile,
.stat,
.nut,
.receipt-card,
.grade,
.coupon-card,
.stock-chip,
.store-pick {
  background: rgba(255,84,56,.72) !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.status-card-main,
.item:nth-child(2n),
.product:nth-child(2n),
.community-post:nth-child(2n),
.tile:nth-child(2n) {
  background: #050505 !important;
  color: #ff5438 !important;
}

.item:nth-child(2n) .item-title,
.item:nth-child(2n) .item-sub,
.item:nth-child(2n) .tag,
.product:nth-child(2n) h3,
.product:nth-child(2n) p,
.community-post:nth-child(2n) p,
.status-card-main strong,
.status-card-main em {
  color: #ff5438 !important;
}

.item-title,
.product h3,
.challenge-card h3,
.community-post p {
  color: #050505 !important;
  font-weight: 600 !important;
}

.item-sub,
.product p,
.challenge-card p,
.community-actions span {
  color: rgba(5,5,5,.64) !important;
  font-weight: 600 !important;
}

.thumb,
.thumb-art,
.art,
.stamp,
.detail-visual,
.routine-dock button,
.home-actions button {
  background: #050505 !important;
  color: #ff5438 !important;
  border: 2px solid #050505 !important;
  border-radius: 18px !important;
}

.art img,
.thumb-photo,
.detail-img,
.editorial-strip img {
  filter: grayscale(1) contrast(1.28) brightness(.72) !important;
  mix-blend-mode: multiply;
}

.price,
.discount-badge,
.review-stars,
.status-icon,
.thumb-svg-icon,
.mark,
.thumb-mark,
.art-mark {
  color: #ff5438 !important;
}

.editorial-strip {
  grid-template-columns: 1fr 1fr;
}

.editorial-strip article {
  min-height: 170px;
  background: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 22px !important;
  color: #ff5438 !important;
}

.editorial-strip article::after {
  background:
    linear-gradient(180deg, rgba(5,5,5,.10), rgba(5,5,5,.86)),
    radial-gradient(circle at 82% 18%, #ff5438 0 5px, transparent 6px) 0 0 / 24px 24px !important;
}

.editorial-strip span,
.editorial-strip strong {
  color: #ff5438 !important;
}

.tabbar {
  background: #050505 !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.tab {
  color: rgba(255,84,56,.50) !important;
}

.tab .ico {
  background: transparent !important;
  color: currentColor !important;
}

.tab.active {
  color: #ff5438 !important;
}

.tab.active .ico {
  background: #ff5438 !important;
  color: #050505 !important;
}

.modal,
.sug-dropdown {
  background: #ff5438 !important;
  color: #050505 !important;
  border: 3px solid #050505 !important;
}

.modal-backdrop {
  background: rgba(5,5,5,.58) !important;
}

.form-input,
.search-input {
  background: #ffffff !important;
  color: #1a1411 !important;
  border: 1.5px solid #ead9d0 !important;
}
.form-input::placeholder,
.search-input::placeholder {
  color: #b3a79f !important;
  opacity: 1 !important;
}
.form-input:focus,
.search-input:focus {
  border-color: var(--orange, #ff5438) !important;
}

.member-report {
  min-height: 320px;
}

.member-report-top strong,
.member-report-grid div {
  background: #050505 !important;
  color: #ff5438 !important;
  border: 0 !important;
}

.member-report-top span,
.member-report-title p,
.member-report-grid span,
.member-report-grid strong {
  color: #ff5438 !important;
}

.fab-row {
  background: linear-gradient(180deg, transparent 0%, rgba(255,84,56,.84) 42%, #ff5438 100%) !important;
}

.version-mark {
  color: rgba(5,5,5,.52) !important;
}

/* Readability rescue after orange/black reset. */
.brand-lockup {
  width: 112px !important;
  min-width: 112px !important;
  height: 48px !important;
  border: 0 !important;
  background: transparent !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}

.brand-lockup-img {
  display: none !important;
}

.brand-lockup::after {
  content: "Halo\A Zero";
  white-space: pre;
  color: #050505;
  font-family: Arial, Helvetica, var(--body-font);
  font-size: 24px;
  line-height: .78;
  font-weight: 600;
}

.top h1,
h1 {
  font-size: 34px !important;
  line-height: .96 !important;
  max-width: 300px;
}

.top .lead {
  font-size: 13px !important;
  line-height: 1.38 !important;
  max-width: 300px;
}

.hero-home {
  min-height: 260px !important;
  padding: 22px !important;
  justify-content: space-between !important;
}

.hero-glass-note {
  max-width: 245px !important;
  margin-bottom: 22px !important;
  border-radius: 20px !important;
}

.hero-title,
.hero-home .hero-title,
.member-report-title h2 {
  font-size: 32px !important;
  line-height: .96 !important;
}

.hero-home::before,
.member-report::before,
.challenge-card::before {
  width: 112px !important;
  height: 112px !important;
  right: 20px !important;
  top: 24px !important;
  background: radial-gradient(circle, #050505 0 5px, transparent 6px) 0 0 / 22px 22px !important;
}

.hero-home::after,
.member-report::after {
  width: 44px !important;
  height: 44px !important;
  left: 22px !important;
  top: auto !important;
  bottom: 18px !important;
}

.status-card {
  min-height: 108px !important;
  padding: 16px !important;
}

.status-card strong {
  font-size: 15px !important;
  line-height: 1.1 !important;
}

.status-card em {
  margin-top: 5px !important;
  line-height: 1.25 !important;
}

.status-card-main {
  min-height: 208px !important;
}

.item,
.product,
.community-post,
.tile {
  padding: 14px !important;
}

.item-title,
.product h3 {
  font-size: 14px !important;
  line-height: 1.22 !important;
}

.item-sub,
.product p {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.tabbar {
  left: 22px !important;
  right: 22px !important;
  height: 60px !important;
  bottom: 10px !important;
}

.screen {
  padding-bottom: 172px !important;
}

.tab .ico {
  width: 30px !important;
  height: 30px !important;
}

.tab svg {
  width: 16px !important;
  height: 16px !important;
}

.tab-label {
  font-size: 10px !important;
}

/* Balanced HINKI-like mix: readable ivory panels + orange brand blocks. */
:root {
  --orange: #f25522;
  --orange-deep: #d94718;
  --ink: #050505;
  --paper: #dedbd2;
  --warm: #dedbd2;
  --line: #050505;
}

html,
body {
  background: #dedbd2 !important;
}

.phone {
  background: #dedbd2 !important;
}

.screen {
  background: #dedbd2 !important;
  color: #050505 !important;
}

.top,
.my-mini-header {
  margin: -8px -16px 0 !important;
  padding: 20px 16px 22px !important;
  background: #dedbd2 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
}

.top h1,
h1 {
  font-size: 38px !important;
  line-height: .94 !important;
  max-width: 310px !important;
}

.top .lead {
  color: rgba(5,5,5,.68) !important;
  max-width: 315px !important;
}

.brand-lockup::after {
  content: "HZ";
  white-space: normal;
  font-size: 18px;
  line-height: 1;
}

.brand-lockup {
  width: 42px !important;
  min-width: 42px !important;
  height: 32px !important;
}

.store,
.point-status,
.round-btn,
.back,
.pill,
.pill-soft,
.pill-ghost,
.pill-cta,
.pill-dark,
.pill-on {
  background: transparent !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
}

.pill-cta,
.pill-dark,
.pill-on,
.tab.active .ico {
  background: #050505 !important;
  color: #f25522 !important;
}

.editorial-ticker {
  margin: 0 -16px !important;
  border-top: 0 !important;
  border-bottom: 2px solid #050505 !important;
  background: #dedbd2 !important;
}

.ticker-track span {
  color: #050505 !important;
}

.status-rail {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin: 0 -16px !important;
}

.status-card,
.status-card-main {
  width: 100% !important;
  min-height: 58px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #dedbd2 !important;
  color: #050505 !important;
}

.status-card .status-icon {
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  color: #050505 !important;
  border: 1.5px solid #050505 !important;
  border-radius: 50% !important;
}

.status-card strong,
.status-card-main strong {
  color: #050505 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}

.status-card em,
.status-card-main em {
  color: rgba(5,5,5,.62) !important;
  font-size: 11px !important;
}

.hero-home {
  margin: 0 -16px !important;
  min-height: 300px !important;
  border: 0 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #f25522 !important;
  padding: 24px 16px !important;
}

.hero-home::before {
  width: 126px !important;
  height: 126px !important;
  right: 18px !important;
  top: 24px !important;
  opacity: .24 !important;
}

.hero-home::after {
  display: none !important;
}

.hero-glass-note {
  background: transparent !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  max-width: 250px !important;
}

.hero-glass-note strong,
.hero-glass-note span,
.hero-home .hero-title,
.hero-home .brush-kicker,
.hero-home .eyebrow-static {
  color: #050505 !important;
}

.hero-home .hero-title {
  font-size: 40px !important;
  line-height: .92 !important;
  max-width: 300px !important;
}

.hero-home .hero-row .pill {
  background: #050505 !important;
  color: #f25522 !important;
  border-color: #050505 !important;
}

.editorial-strip {
  margin: 0 -16px !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.editorial-strip article {
  min-height: 102px !important;
  border: 0 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #f25522 !important;
  color: #050505 !important;
}

.editorial-strip img {
  display: none !important;
}

.editorial-strip article::after {
  display: none !important;
}

.editorial-strip span,
.editorial-strip strong {
  color: #050505 !important;
}

.routine-dock,
.home-actions {
  margin-left: -16px !important;
  margin-right: -16px !important;
  gap: 0 !important;
}

.routine-dock {
  grid-template-columns: repeat(3, 1fr) !important;
}

.routine-dock button,
.home-actions button {
  min-height: 108px !important;
  border: 0 !important;
  border-right: 2px solid #050505 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #050505 !important;
  color: #f25522 !important;
}

.routine-dock button:last-child,
.home-actions button:last-child {
  border-right: 0 !important;
}

.section:not(.quick-row):not(.editorial-strip):not(.status-rail):not(.routine-dock):not(.home-actions) {
  margin-top: 24px !important;
}

.product,
.item,
.community-post,
.tile,
.stat,
.nut,
.receipt-card,
.grade,
.member-report {
  background: #dedbd2 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
}

.products .product:nth-child(2n),
.list .item:nth-child(2n) {
  background: #f25522 !important;
  color: #050505 !important;
}

.thumb,
.thumb-art,
.art,
.stamp {
  border-radius: 0 !important;
  background: #050505 !important;
  color: #f25522 !important;
}

.tabbar {
  background: #050505 !important;
  border-radius: 32px !important;
}

/* Detail QA: stronger logo, filled icons, aligned centers, readable black cards. */
.brand-lockup {
  width: 128px !important;
  min-width: 128px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.brand-lockup::after {
  content: "HaloZero" !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  color: #050505 !important;
}

.brand-lockup::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #050505;
  display: inline-block;
}

.top-row,
.icons,
.store,
.round-btn,
.status-card,
.item,
.tab,
.tab .ico,
.thumb,
.thumb-art,
.status-icon,
.thumb-svg-icon,
.modal-icon {
  align-items: center !important;
}

.round-btn,
.tab .ico,
.status-icon,
.thumb-svg-icon,
.modal-icon,
.thumb,
.thumb-art {
  display: inline-grid !important;
  place-items: center !important;
}

.round-btn,
.status-icon {
  width: 42px !important;
  height: 42px !important;
}

.status-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  margin: 0 !important;
}

.store {
  display: inline-flex !important;
  gap: 7px !important;
}

.store-name,
.point-status,
.tab-label,
.item-title,
.item-sub,
.status-card strong,
.status-card em {
  display: block;
  line-height: 1.18 !important;
}

.tab {
  display: grid !important;
  place-items: center !important;
  gap: 2px !important;
}

.tab .ico {
  margin: 0 auto !important;
}

.status-card {
  column-gap: 10px !important;
}

.status-card strong,
.status-card em {
  text-align: left !important;
}

.status-card-main,
.status-card-main *,
.item:nth-child(2n),
.item:nth-child(2n) *,
.product:nth-child(2n),
.product:nth-child(2n) *,
.routine-dock button,
.routine-dock button *,
.home-actions button,
.home-actions button *,
.editorial-strip article,
.editorial-strip article * {
  color: #ff5438 !important;
}

.status-card-main strong,
.status-card-main em,
.item:nth-child(2n) .item-title,
.item:nth-child(2n) .item-sub,
.product:nth-child(2n) h3,
.product:nth-child(2n) p,
.routine-dock button strong,
.routine-dock button em,
.home-actions button strong,
.home-actions button em,
.editorial-strip strong,
.editorial-strip span {
  font-weight: 600 !important;
  opacity: 1 !important;
}

.status-card-main em,
.item:nth-child(2n) .item-sub,
.product:nth-child(2n) p,
.routine-dock button em,
.home-actions button em {
  color: rgba(255,84,56,.82) !important;
}

.status-card:not(.status-card-main) *,
.item:not(:nth-child(2n)) *,
.product:not(:nth-child(2n)) * {
  color: inherit;
}

.status-card:not(.status-card-main) strong,
.item:not(:nth-child(2n)) .item-title,
.product:not(:nth-child(2n)) h3 {
  color: #050505 !important;
}

.status-card:not(.status-card-main) em,
.item:not(:nth-child(2n)) .item-sub,
.product:not(:nth-child(2n)) p {
  color: rgba(5,5,5,.68) !important;
}

.round-btn svg,
.store-icon svg,
.status-icon svg,
.thumb-svg-icon svg,
.thumb-icon svg,
.tab svg,
.modal-icon svg,
.pill svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  stroke-width: 3.4 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.status-icon svg circle,
.thumb-svg-icon svg circle,
.tab.active svg circle,
.modal-icon svg circle {
  fill: currentColor !important;
}

.status-icon svg path,
.thumb-svg-icon svg path,
.tab.active svg path,
.modal-icon svg path {
  stroke-width: 3.8 !important;
}

.thumb .mark,
.thumb-mark,
.art-mark {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 22px !important;
  min-height: 22px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

.badge {
  background: #ff5438 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  font-weight: 600 !important;
}

/* Contrast fix: never put orange text on orange blocks. */
.product:nth-child(2n),
.list .item:nth-child(2n),
.editorial-strip article,
.hero-home,
.challenge .hero,
.hero-tight,
.coupon-card {
  background: #f25522 !important;
  color: #050505 !important;
}

.product:nth-child(2n) *,
.list .item:nth-child(2n) *,
.editorial-strip article *,
.hero-home *,
.hero-tight *,
.coupon-card * {
  color: #050505 !important;
  opacity: 1 !important;
}

.product:nth-child(2n) .tag,
.list .item:nth-child(2n) .tag,
.hero-home .pill,
.hero-tight .pill,
.coupon-card .code {
  background: #050505 !important;
  color: #f25522 !important;
  border-color: #050505 !important;
}

.routine-dock button,
.home-actions button,
.tabbar,
.thumb,
.thumb-art,
.art,
.modal-icon {
  background: #050505 !important;
  color: #f25522 !important;
}

.routine-dock button *,
.home-actions button *,
.tabbar *,
.thumb *,
.thumb-art *,
.art *,
.modal-icon * {
  color: #f25522 !important;
  opacity: 1 !important;
}

.status-card-main,
.status-card-main *,
.member-report,
.member-report * {
  color: #050505 !important;
}

.member-report .member-report-top strong,
.member-report .member-report-grid div,
.member-report .member-report-grid div * {
  background: #050505 !important;
  color: #f25522 !important;
}

.product,
.item,
.community-post,
.status-card,
.tile {
  min-height: 74px;
}

.product .price,
.item .price {
  color: #f25522 !important;
  font-weight: 600 !important;
}

.product:nth-child(2n) .price,
.list .item:nth-child(2n) .price {
  color: #050505 !important;
}

.editorial-strip article {
  min-height: 112px !important;
  padding: 20px 16px !important;
}

.editorial-strip span,
.editorial-strip strong {
  display: block;
  text-shadow: none !important;
}

.editorial-strip span {
  margin-bottom: 6px;
}

/* Home readability pass: keep the bold orange/black system, stop graphics from covering content. */
.hero-home {
  min-height: 300px !important;
  padding: 22px !important;
  gap: 14px !important;
}

.hero-home::before {
  width: 94px !important;
  height: 94px !important;
  right: 22px !important;
  top: 22px !important;
  opacity: .78 !important;
  background: radial-gradient(circle, #050505 0 4px, transparent 5px) 0 0 / 18px 18px !important;
}

.hero-home::after {
  width: 26px !important;
  height: 26px !important;
  left: auto !important;
  right: 28px !important;
  bottom: 26px !important;
  opacity: .96 !important;
}

.hero-home .hero-glass-note {
  max-width: 230px !important;
  margin-bottom: 18px !important;
  padding: 12px 14px !important;
}

.hero-home .hero-title {
  max-width: 265px !important;
  font-size: 31px !important;
  line-height: 1.03 !important;
  margin-top: 4px !important;
}

.hero-home .brush-kicker {
  margin-bottom: 6px !important;
}

.hero-home .hero-row {
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.hero-home .hero-row .pill {
  flex: 0 0 auto !important;
  min-width: 112px !important;
  padding-inline: 16px !important;
}

.hero-home .eyebrow-static {
  max-width: 120px !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.editorial-strip article {
  min-height: 156px !important;
  padding: 14px !important;
}

.editorial-strip article::after {
  background:
    linear-gradient(180deg, rgba(5,5,5,.12), rgba(5,5,5,.82)),
    radial-gradient(circle at 0 0, #ff5438 0 4px, transparent 5px) 0 0 / 24px 24px !important;
  opacity: .94 !important;
}

.routine-dock {
  margin-bottom: 10px !important;
}

.routine-dock button {
  min-height: 112px !important;
  padding: 14px 12px !important;
}

.routine-dock button strong {
  font-size: 14px !important;
  line-height: 1.12 !important;
}

/* Final editorial contrast pass: brand orange, black, warm paper only. */
:root {
  --orange: #ff4f30;
  --orange-deep: #d83c1d;
  --pink: #dedbd2;
  --pink-soft: #dedbd2;
  --orange-soft: #ff4f30;
  --paper: #dedbd2;
  --warm: #e9e5dc;
  --line: #050505;
  --ink: #050505;
  --sub: rgba(5, 5, 5, .72);
  --muted: rgba(5, 5, 5, .52);
}

body {
  background: #74746f !important;
}

.phone {
  background: #dedbd2 !important;
  border-color: #050505 !important;
}

.screen {
  background: #dedbd2 !important;
  color: #050505 !important;
}

.top,
.hero,
.hero-home,
.challenge .hero,
.hero-tight,
.coupon-card,
.products .product:nth-child(2n),
.list .item:nth-child(2n),
.community-post:nth-child(2n),
.challenge-card:nth-child(2n) {
  background: #ff4f30 !important;
  color: #050505 !important;
  border-color: #050505 !important;
}

.top *,
.hero *,
.hero-home *,
.challenge .hero *,
.hero-tight *,
.coupon-card *,
.products .product:nth-child(2n) *,
.list .item:nth-child(2n) *,
.community-post:nth-child(2n) *,
.challenge-card:nth-child(2n) * {
  color: #050505 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.product,
.item,
.community-post,
.challenge-card,
.status-card,
.tile,
.member-report,
.receipt-card,
.grade,
.stat,
.nut {
  background: #dedbd2 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.product *,
.item *,
.community-post *,
.challenge-card *,
.status-card *,
.tile *,
.member-report *,
.receipt-card *,
.grade *,
.stat *,
.nut * {
  opacity: 1 !important;
  text-shadow: none !important;
}

.item-title,
.product h3,
.community-post strong,
.challenge-card h3,
.status-card strong,
.member-report h2,
.member-report strong,
.hero-title,
.top h1 {
  color: #050505 !important;
  font-weight: 600 !important;
}

.item-sub,
.product p,
.community-post p,
.challenge-card p,
.status-card em,
.lead,
.route-label,
.member-report p,
.member-report span {
  color: rgba(5, 5, 5, .72) !important;
  font-weight: 620 !important;
}

.product:nth-child(2n) .item-sub,
.product:nth-child(2n) p,
.list .item:nth-child(2n) .item-sub,
.community-post:nth-child(2n) p,
.challenge-card:nth-child(2n) p,
.hero-home .eyebrow,
.hero-home .eyebrow-static {
  color: #050505 !important;
}

.price,
.product .price,
.item .price {
  color: #ff4f30 !important;
  font-weight: 600 !important;
}

.products .product:nth-child(2n) .price,
.list .item:nth-child(2n) .price {
  color: #050505 !important;
}

.pill,
.tag,
.point-status,
.link,
.round-btn,
.store,
.home-actions button,
.routine-dock button,
.tabbar,
.thumb,
.thumb-art,
.art,
.status-icon,
.thumb-svg-icon,
.modal-icon {
  background: #050505 !important;
  color: #ff4f30 !important;
  border-color: #050505 !important;
}

.pill *,
.tag *,
.point-status *,
.link *,
.round-btn *,
.store *,
.home-actions button *,
.routine-dock button *,
.tabbar *,
.thumb *,
.thumb-art *,
.art *,
.status-icon *,
.thumb-svg-icon *,
.modal-icon * {
  color: #ff4f30 !important;
  opacity: 1 !important;
}

.pill.pill-soft,
.pill.pill-on,
.pill.pill-outline,
.hero-home .pill,
.hero-tight .pill,
.coupon-card .code,
.list .item:nth-child(2n) .tag,
.products .product:nth-child(2n) .tag {
  background: #050505 !important;
  color: #ff4f30 !important;
  border: 2px solid #050505 !important;
}

.brand-lockup {
  width: auto !important;
  min-width: 126px !important;
  height: 36px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #050505 !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.brand-lockup-img {
  display: none !important;
}

.brand-lockup::before {
  content: "H0" !important;
  width: 42px !important;
  height: 26px !important;
  margin: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  background: #050505 !important;
  color: #ff4f30 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.brand-lockup::after {
  content: "HaloZero" !important;
  color: #050505 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.hero-home {
  overflow: hidden !important;
}

.hero-bg-photo,
.member-report-bg,
.editorial-strip img {
  display: none !important;
}

.hero-home > *,
.member-report > *,
.editorial-strip article > * {
  position: relative !important;
  z-index: 2 !important;
}

.hero-home::before,
.member-report::before,
.editorial-strip article::before {
  content: "" !important;
  position: absolute !important;
  width: 104px !important;
  height: 104px !important;
  right: 18px !important;
  top: 20px !important;
  background: radial-gradient(circle, #050505 0 4px, transparent 5px) 0 0 / 18px 18px !important;
  opacity: .68 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero-home::after,
.member-report::after,
.editorial-strip article::after {
  content: "" !important;
  position: absolute !important;
  width: 32px !important;
  height: 32px !important;
  right: 24px !important;
  bottom: 22px !important;
  border-radius: 50% !important;
  background: #050505 !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero-glass-note {
  width: fit-content !important;
  max-width: 240px !important;
  background: #050505 !important;
  color: #ff4f30 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
}

.hero-glass-note * {
  color: #ff4f30 !important;
}

.editorial-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.editorial-strip article {
  min-height: 132px !important;
  background: #050505 !important;
  color: #ff4f30 !important;
  border: 2px solid #050505 !important;
}

.editorial-strip article *,
.editorial-strip span,
.editorial-strip strong {
  color: #ff4f30 !important;
  font-weight: 600 !important;
}

.editorial-strip article::before {
  background: radial-gradient(circle, #ff4f30 0 4px, transparent 5px) 0 0 / 24px 24px !important;
  opacity: .76 !important;
}

.editorial-strip article::after {
  display: none !important;
}

.tab {
  color: #ff4f30 !important;
}

.tab.active {
  color: #ff4f30 !important;
}

.tab.active .ico {
  background: #ff4f30 !important;
  color: #050505 !important;
}

.round-btn svg,
.store-icon svg,
.status-icon svg,
.thumb-svg-icon svg,
.thumb-icon svg,
.tab svg,
.modal-icon svg,
.pill svg {
  stroke-width: 4 !important;
  fill: currentColor !important;
}

.round-btn svg path,
.store-icon svg path,
.status-icon svg path,
.thumb-svg-icon svg path,
.thumb-icon svg path,
.tab svg path,
.modal-icon svg path,
.pill svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.thumb .mark,
.thumb-mark,
.art-mark {
  background: #dedbd2 !important;
  color: #ff4f30 !important;
  border: 0 !important;
  font-weight: 600 !important;
}

.list,
.products,
.community-feed {
  gap: 10px !important;
}

.item,
.productListItem,
.community-post {
  min-height: 86px !important;
}

.right {
  align-items: flex-end !important;
  justify-content: center !important;
}

.top .store,
.top .round-btn,
.my-mini-header .store,
.my-mini-header .round-btn {
  border: 2px solid #050505 !important;
}

/* Home status navigation: readable icon + label rows. */
.status-rail {
  margin: 0 -16px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border-top: 2px solid #050505 !important;
  background: #dedbd2 !important;
}

.status-card,
.status-card-main {
  width: 100% !important;
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 14px !important;
  row-gap: 3px !important;
  align-items: center !important;
  justify-items: start !important;
  padding: 15px 20px !important;
  border: 0 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #dedbd2 !important;
  color: #050505 !important;
  text-align: left !important;
}

.status-card .status-icon,
.status-card-main .status-icon {
  grid-row: 1 / span 2 !important;
  grid-column: 1 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  margin: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  align-self: center !important;
  background: #dedbd2 !important;
  color: #ff4f30 !important;
  border: 2px solid #050505 !important;
  border-radius: 50% !important;
}

.status-card .status-icon svg,
.status-card-main .status-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 4 !important;
  fill: none !important;
}

.status-card strong,
.status-card-main strong {
  grid-column: 2 !important;
  margin: 0 !important;
  color: #050505 !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

.status-card em,
.status-card-main em {
  grid-column: 2 !important;
  margin: 0 !important;
  color: rgba(5, 5, 5, .72) !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}

/* Brand header: use the real HaloZero logo asset, not a generated text mark. */
.top-row,
.my-mini-header {
  align-items: center !important;
  gap: 8px !important;
}

.brand-lockup,
.my-mini-header .brand-lockup {
  width: 118px !important;
  min-width: 118px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.brand-lockup::before,
.brand-lockup::after {
  content: none !important;
  display: none !important;
}

.brand-lockup-img {
  display: block !important;
  width: 112px !important;
  height: auto !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: grayscale(1) contrast(1.35) brightness(.18) !important;
}

.point-status,
.my-mini-header .point-status {
  height: 32px !important;
  min-width: 58px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #dedbd2 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  animation: none !important;
  margin: 0 !important;
}

.top-row .store,
.my-mini-header .store {
  height: 32px !important;
  margin: 0 !important;
  padding: 0 12px !important;
}

/* Home lower sections: larger type, protected text zones, brand symbol header. */
.brand-lockup,
.my-mini-header .brand-lockup {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  border: 2px solid #050505 !important;
  background: #ff4f30 !important;
  overflow: hidden !important;
}

.brand-lockup-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
}

.grid3 {
  gap: 8px !important;
}

.grid3 .tile,
.tile {
  min-height: 96px !important;
  padding: 16px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #dedbd2 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.grid3 .tile:nth-child(2n),
.grid3 .tile.hot {
  background: #050505 !important;
  color: #ff4f30 !important;
}

.grid3 .tile small,
.tile small {
  margin-top: 16px !important;
  display: block !important;
  color: inherit !important;
  opacity: .88 !important;
  font-size: 11px !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
}

.challenge-card {
  min-height: 112px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 74px !important;
  align-items: center !important;
  column-gap: 16px !important;
  padding: 22px !important;
  overflow: hidden !important;
  background: #ff4f30 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.challenge-card > div:first-child {
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.challenge-card h3 {
  margin: 0 0 8px !important;
  color: #050505 !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.challenge-card p {
  max-width: 210px !important;
  margin: 0 !important;
  color: rgba(5, 5, 5, .82) !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
  word-break: keep-all !important;
}

.challenge-card::before {
  width: 76px !important;
  height: 76px !important;
  left: auto !important;
  right: 88px !important;
  top: auto !important;
  bottom: -10px !important;
  background: radial-gradient(circle, #050505 0 5px, transparent 6px) 0 0 / 22px 22px !important;
  opacity: 1 !important;
  z-index: 0 !important;
}

.challenge-card::after {
  display: none !important;
}

.challenge-card .stamp {
  grid-column: 2 !important;
  justify-self: end !important;
  width: 60px !important;
  height: 60px !important;
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  place-items: center !important;
  background: #050505 !important;
  color: #ff4f30 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

.challenge-card .stamp-logo {
  background: #ff4f30 !important;
  border-color: #050505 !important;
}

.challenge-card .stamp-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  filter: saturate(1.2) contrast(1.08) !important;
}

.home-actions {
  gap: 0 !important;
  background: #050505 !important;
}

.home-actions button {
  min-height: 118px !important;
  padding: 18px 16px !important;
  background: #050505 !important;
  color: #ff4f30 !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 2px solid #151515 !important;
}

.home-actions button:last-child {
  border-right: 0 !important;
}

.home-actions span {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 12px !important;
  background: #dedbd2 !important;
  color: #ff4f30 !important;
  border-radius: 50% !important;
}

.home-actions strong {
  color: #ff4f30 !important;
  font-size: 16px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
}

.home-actions em {
  margin-top: 7px !important;
  color: #ff4f30 !important;
  opacity: .92 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

/* Home repair pass: stop text overlap and use the editorial HaloZero symbol. */
.top-row,
.my-mini-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.brand-lockup,
.my-mini-header .brand-lockup {
  width: auto !important;
  min-width: 146px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  padding: 0 !important;
  margin: 0 100% 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.brand-lockup::before {
  content: none !important;
  display: none !important;
}

.brand-lockup::after {
  content: "HaloZero" !important;
  display: block !important;
  color: #050505 !important;
  font-family: Arial, Helvetica, var(--body-font) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.brand-lockup-img {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-height: 40px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 2px solid #050505 !important;
  filter: none !important;
}

.status-rail {
  margin: 0 -16px !important;
  border-top: 2px solid #050505 !important;
  border-bottom: 0 !important;
}

.status-card,
.status-card-main {
  min-height: 76px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 14px !important;
  row-gap: 3px !important;
  align-items: center !important;
  padding: 14px 18px !important;
  background: #dedbd2 !important;
  color: #050505 !important;
  border: 0 !important;
  border-bottom: 2px solid #050505 !important;
  border-radius: 0 !important;
  text-align: left !important;
}

.status-card .status-icon,
.status-card-main .status-icon {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  margin: 0 !important;
  border: 2px solid #050505 !important;
  border-radius: 50% !important;
  background: #dedbd2 !important;
  color: #050505 !important;
}

.status-card strong,
.status-card-main strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  color: #050505 !important;
  font-size: 17px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.status-card em,
.status-card-main em {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: 240px !important;
  color: #ff4f30 !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}

.hero-home {
  min-height: 284px !important;
  padding: 22px !important;
}

.hero-home::before,
.hero-home::after {
  display: none !important;
}

.hero-home .hero-glass-note {
  max-width: 236px !important;
}

.hero-home .hero-title {
  max-width: 300px !important;
  font-size: 31px !important;
  line-height: 1.04 !important;
}

.editorial-strip {
  margin-left: -16px !important;
  margin-right: -16px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.editorial-strip article {
  min-height: 126px !important;
  padding: 18px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  background: #ff4f30 !important;
  color: #050505 !important;
  border: 0 !important;
  border-top: 2px solid #050505 !important;
  border-right: 2px solid #050505 !important;
  border-radius: 0 !important;
}

.editorial-strip article:last-child {
  border-right: 0 !important;
}

.editorial-strip article::before,
.editorial-strip article::after {
  display: none !important;
}

.editorial-strip span {
  color: #050505 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  margin: 0 0 8px !important;
}

.editorial-strip strong {
  color: #050505 !important;
  font-size: 17px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
}

.routine-dock button {
  min-height: 96px !important;
  padding: 16px 12px !important;
}

.routine-dock span {
  width: 30px !important;
  height: 30px !important;
  margin-bottom: 10px !important;
  font-size: 10px !important;
}

.routine-dock button strong {
  color: #ff4f30 !important;
  font-size: 15px !important;
  line-height: 1.05 !important;
}

.routine-dock button em {
  color: #ff4f30 !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
}

.challenge-card {
  grid-template-columns: minmax(0, 1fr) 64px !important;
  border-radius: 20px !important;
}

.challenge-card::before,
.challenge-card::after {
  display: none !important;
}

.challenge-card p {
  max-width: none !important;
  padding-right: 4px !important;
}

/* Home status cards are primary navigation, not detail summaries. */
.status-card,
.status-card-main {
  min-height: 62px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  padding: 13px 18px !important;
}

.status-card .status-icon,
.status-card-main .status-icon {
  grid-row: 1 !important;
}

.status-card strong,
.status-card-main strong {
  grid-row: 1 !important;
  align-self: center !important;
  font-size: 17px !important;
}

.status-card em,
.status-card-main em {
  display: none !important;
}

/* Logo correction: preserve the original HaloZero grid/logo typography. */
.brand-lockup,
.my-mini-header .brand-lockup {
  width: 156px !important;
  min-width: 156px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 100% 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.brand-lockup::before,
.brand-lockup::after {
  content: none !important;
  display: none !important;
}

.brand-lockup-img {
  width: 156px !important;
  height: 44px !important;
  min-width: 156px !important;
  max-height: 44px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
  border: 0 !important;
  filter: none !important;
}

/* Header logo final: orange/black symbol only, no pink and no generated text. */
.brand-lockup,
.my-mini-header .brand-lockup {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 100% 8px 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff4f30 !important;
  border: 2px solid #050505 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.brand-lockup::before,
.brand-lockup::after {
  content: none !important;
  display: none !important;
}

.brand-lockup-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  filter: none !important;
}

/* QA lock: keep the editorial symbol readable and prevent black label washout. */
.top-row .brand-lockup,
.top-row .my-mini-header .brand-lockup,
.brand-lockup,
.my-mini-header .brand-lockup {
  width: 52px !important;
  min-width: 52px !important;
  flex: 0 0 52px !important;
  height: 52px !important;
  margin: 0 100% 8px 0 !important;
  padding: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff4f30 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.brand-lockup::before,
.brand-lockup::after {
  content: none !important;
  display: none !important;
}

.brand-lockup-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  background: #ff4f30 !important;
}

.hero-home .hero-glass-note {
  width: fit-content !important;
  max-width: calc(100% - 18px) !important;
  min-height: 0 !important;
  padding: 14px 16px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  background: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  color: #ff4f30 !important;
}

.hero-home .hero-glass-note strong,
.hero-home .hero-glass-note span {
  display: block !important;
  color: #ff4f30 !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
}

.hero-home .hero-glass-note strong {
  font-size: 11px !important;
}

.hero-home .hero-glass-note span {
  font-size: 12px !important;
}

/* QA spacing/readability pass for tab overlay and dashboard SKU rows. */
.screen {
  padding-bottom: 220px !important;
  scroll-padding-bottom: 132px !important;
}

.item {
  min-height: 86px !important;
}

.item-text {
  min-width: 0 !important;
}

.item-title {
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

.item-sub {
  max-width: 100% !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

.right {
  min-width: max-content !important;
}

.product {
  min-height: 258px !important;
}

.product h3 {
  min-height: 56px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product p {
  min-height: 34px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.fab-row {
  position: static !important;
  bottom: auto !important;
  z-index: 1 !important;
  margin-top: 18px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  background: transparent !important;
}

.detail-visual > img:not(.detail-img) {
  width: min(132px, 48%) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  border: 2px solid #050505 !important;
  background: #ff4f30 !important;
}

.phone .screen {
  height: calc(100% - 92px) !important;
  padding-bottom: 34px !important;
}

body.auth-locked .phone .screen {
  height: 100% !important;
}

.tabbar {
  bottom: max(12px, var(--safe-bottom)) !important;
  z-index: 12 !important;
}

/* Home density pass: keep first viewport readable above the fixed tabbar. */
.editorial-ticker {
  display: none !important;
}

.top {
  min-height: 282px !important;
  padding: 18px 16px 20px !important;
}

.top h1 {
  margin-top: 16px !important;
  font-size: 36px !important;
  line-height: .96 !important;
}

.top .lead {
  max-width: 300px !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.quick-row {
  margin: 0 -16px !important;
  padding: 12px 16px !important;
  gap: 8px !important;
  border-top: 2px solid #050505 !important;
  border-bottom: 2px solid #050505 !important;
  background: #dedbd2 !important;
}

.quick-row .pill {
  min-height: 44px !important;
  font-size: 13px !important;
}

.status-rail {
  margin: 0 -16px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border-top: 0 !important;
  border-bottom: 2px solid #050505 !important;
}

.status-card,
.status-card-main {
  min-height: 86px !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 34px auto !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 8px !important;
  padding: 12px 8px !important;
  border-bottom: 0 !important;
  border-right: 2px solid #050505 !important;
  text-align: center !important;
}

.status-card:last-child,
.status-card-main:last-child {
  border-right: 0 !important;
}

.status-card .status-icon,
.status-card-main .status-icon {
  grid-row: 1 !important;
  grid-column: 1 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
}

.status-card strong,
.status-card-main strong {
  grid-column: 1 !important;
  font-size: 13px !important;
  line-height: 1.12 !important;
  text-align: center !important;
  word-break: keep-all !important;
}

.hero-home {
  min-height: 238px !important;
  padding: 22px 18px !important;
}

.hero-home .hero-glass-note {
  padding: 10px 12px !important;
}

.hero-home .hero-title {
  font-size: 29px !important;
  line-height: 1.02 !important;
}

.hero-home .hero-row {
  margin-top: 14px !important;
}

/* Fix v65 status-card icon/text collision. */
.status-card,
.status-card-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.status-card .status-icon,
.status-card-main .status-icon {
  flex: 0 0 34px !important;
  display: inline-grid !important;
  place-items: center !important;
}

.status-card strong,
.status-card-main strong {
  display: block !important;
  width: 100% !important;
  min-height: 28px !important;
  margin: 0 !important;
  text-align: center !important;
}

.detail-photo .detail-img,
.art-photo img,
.thumb-photo {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.detail-photo {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,79,48,.28) 0 34%, transparent 35%),
    #050505 !important;
}

.detail-photo .detail-img {
  width: min(220px, 68%) !important;
  max-height: 190px !important;
  object-fit: contain !important;
}

/* Final brand-palette lock: orange, black, white, warm paper. */
:root,
[data-theme="dark"] {
  --pink: #ff4f30 !important;
  --pink-soft: #f3eee6 !important;
  --warm: #f3eee6 !important;
  --paper: #fffaf2 !important;
  --line: #050505 !important;
}

.screen {
  background:
    radial-gradient(ellipse 110% 48% at 50% -12%, rgba(255,79,48,.18) 0%, transparent 62%),
    linear-gradient(180deg, #fffaf2 0%, #f3eee6 70%, #fffaf2 100%) !important;
}

.tile.pink,
.pillar-pink,
.challenge-thumb-pink,
.toast-pink,
.modal-icon-pink,
.pill-square-soft {
  background: #f3eee6 !important;
  color: #050505 !important;
  border-color: #050505 !important;
}

.value-wellness .value-mark,
.positioning-line .dot-pink {
  background: #ff4f30 !important;
  color: #050505 !important;
}

.art-photo,
.thumb-photo-wrap {
  background: #f3eee6 !important;
}

.art-photo img {
  width: 100% !important;
  height: 100% !important;
  padding: 10px !important;
  object-fit: contain !important;
}

.thumb-photo {
  width: 100% !important;
  height: 100% !important;
  padding: 7px !important;
  object-fit: contain !important;
  background: #fffaf2 !important;
}

.detail-photo {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,79,48,.24) 0 34%, transparent 35%),
    #050505 !important;
}

.detail-visual {
  height: 190px !important;
  border-radius: 24px !important;
}

.detail-mark {
  left: 18px !important;
  top: 18px !important;
  width: 42px !important;
  height: 42px !important;
}

.detail-photo .detail-img {
  width: min(260px, 78%) !important;
  max-height: 168px !important;
  transform: scale(1.16) !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

/* Bottom area stability across home/list/detail. */
.phone .screen {
  height: calc(100% - 92px) !important;
  padding-bottom: 46px !important;
  scroll-padding-bottom: 72px !important;
}

.fab-row {
  position: static !important;
  bottom: auto !important;
  z-index: 1 !important;
  margin: 18px 0 30px !important;
  padding: 0 !important;
  background: transparent !important;
}

.fab-row .pill,
.fab-row .pill-cta,
.fab-row .pill-square {
  height: 50px !important;
  min-height: 50px !important;
}

.point-status,
.my-mini-header .point-status {
  min-width: 74px !important;
  max-width: 104px !important;
  height: 34px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* Customer-facing type polish: fewer tiny labels, cleaner product reading. */
.section-head h2 {
  font-size: 18px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.route-label,
.lead,
.lead-soft {
  font-size: 13px !important;
  line-height: 1.38 !important;
  letter-spacing: 0 !important;
}

.chip {
  min-height: 30px !important;
  padding: 8px 11px !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
}

.product h3,
.item-title {
  font-size: 15px !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

.product p,
.item-sub {
  font-size: 12px !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

.product .price,
.item .price {
  font-size: 15px !important;
  line-height: 1.1 !important;
}

.price-row.big .price {
  font-size: 30px !important;
  line-height: 1 !important;
}

.stock-chip strong {
  font-size: 14px !important;
}

.stock-chip span {
  font-size: 12px !important;
  line-height: 1.12 !important;
}

.nutrition .nut strong {
  font-size: 20px !important;
}

.nutrition .nut span {
  font-size: 11px !important;
}

.tag {
  font-size: 11px !important;
  line-height: 1 !important;
}

.detail-visual + .section .section-head h2 {
  font-size: 21px !important;
  line-height: 1.12 !important;
}

.top-product {
  min-height: 236px !important;
  padding-bottom: 18px !important;
}

.top-product h1 {
  margin-top: 12px !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.top-product .lead {
  max-width: 280px !important;
  margin-top: 8px !important;
}

/* Product/list row readability guard for long dashboard product names. */
.list .item {
  grid-template-columns: 58px minmax(0, 1fr) minmax(76px, 92px) !important;
  gap: 12px !important;
  padding: 14px 14px !important;
}

.list .item .right {
  width: 100% !important;
  min-width: 0 !important;
  justify-items: end !important;
}

.list .item .item-title,
.list .item .item-sub {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.list .item .item-title {
  -webkit-line-clamp: 2 !important;
}

.list .item .item-sub {
  -webkit-line-clamp: 2 !important;
}

.list .item .price {
  max-width: 92px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: right !important;
}

.list .item .tag {
  min-width: 54px !important;
  max-width: 86px !important;
  padding: 0 10px !important;
}

/* Store photo integration v86 */
.status-card-store {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  color: #fff !important;
  background: #050505 !important;
}

.status-card-store::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.82)) !important;
}

.status-card-store img {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: saturate(.9) contrast(1.08) !important;
}

.status-card-store .status-icon {
  background: #ff4f30 !important;
  color: #050505 !important;
  border-color: #050505 !important;
}

.status-card-store strong {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.65) !important;
}

.store-list-thumb {
  overflow: hidden !important;
  background: #050505 !important;
}

.store-list-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.store-hero-card {
  border: 2px solid #050505 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.store-hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.78) 100%) !important;
  padding: 20px !important;
}

.store-hero-badge {
  background: #ff4f30 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  box-shadow: none !important;
}

.store-hero-name {
  font-size: 30px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.store-hero-addr {
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,.92) !important;
}

.store-gallery {
  gap: 10px !important;
}

.store-gallery-item {
  border: 2px solid #050505 !important;
  border-radius: 14px !important;
  background: #dedbd2 !important;
}

.store-spotlight {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) 58px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 104px !important;
  padding: 12px !important;
  border: 2px solid #050505 !important;
  background: #dedbd2 !important;
  cursor: pointer !important;
}

.store-spotlight img {
  width: 88px !important;
  height: 78px !important;
  object-fit: cover !important;
  border: 2px solid #050505 !important;
  border-radius: 10px !important;
  display: block !important;
}

.store-spotlight div {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.store-spotlight span {
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  color: #ff4f30 !important;
  text-transform: uppercase !important;
}

.store-spotlight strong {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  font-size: 18px !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
  color: #050505 !important;
  word-break: keep-all !important;
}

.store-spotlight em {
  font-style: normal !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: rgba(5,5,5,.62) !important;
}

.store-spotlight .tag {
  justify-self: end !important;
  min-width: 48px !important;
}

/* v96 simple home: character-led, readable, less visual noise. */
.screen {
  background: linear-gradient(180deg, #f7f4ee 0%, #fffaf2 48%, #f7f4ee 100%) !important;
}

.top {
  margin: -4px -4px 14px !important;
  padding: 16px 16px 18px !important;
  border: 2px solid #050505 !important;
  border-radius: 26px !important;
  background: #fffaf2 !important;
  color: #050505 !important;
  box-shadow: none !important;
}

.top-home {
  min-height: 0 !important;
}

.top-home .top-text {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto !important;
  gap: 10px !important;
}

.top-home .top-row {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.top-home .brand-lockup {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 2px solid #050505 !important;
  background: #ff4f30 !important;
}

.top-home .brand-lockup::before,
.top-home .brand-lockup::after {
  display: none !important;
}

.top-home .brand-lockup-img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

.top-home .store,
.top-home .point-status {
  height: 30px !important;
  min-height: 30px !important;
  width: fit-content !important;
  max-width: 140px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  margin: 0 !important;
}

.top-home .point-status {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

.top-home .icons {
  gap: 7px !important;
}

.top-home .round-btn {
  width: 40px !important;
  height: 40px !important;
}

.top::before,
.top::after {
  display: none !important;
}

.top h1 {
  color: #050505 !important;
  font-size: 28px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  margin: 4px 0 4px !important;
}

.top .lead {
  color: rgba(5, 5, 5, .62) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  max-width: 230px !important;
  margin-top: 2px !important;
}

.store,
.point-status,
.round-btn {
  background: #fffaf2 !important;
  border: 2px solid #050505 !important;
  color: #050505 !important;
  box-shadow: none !important;
}

.round-btn svg,
.store-icon svg {
  stroke-width: 2.6 !important;
}

.simple-hero {
  position: relative !important;
  min-height: 296px !important;
  margin-top: 12px !important;
  padding: 22px 22px !important;
  overflow: hidden !important;
  border: 2px solid #050505 !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 78% 44%, rgba(255, 79, 48, .18) 0 23%, transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fff4ee 100%) !important;
  box-shadow: none !important;
}

.simple-hero::before {
  content: "" !important;
  position: absolute !important;
  right: -42px !important;
  top: 34px !important;
  width: 152px !important;
  height: 152px !important;
  border-radius: 50% !important;
  background: #ff4f30 !important;
  z-index: 0 !important;
}

.simple-hero::after {
  content: "" !important;
  position: absolute !important;
  right: 14px !important;
  bottom: 28px !important;
  width: 112px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: rgba(5, 5, 5, .12) !important;
  filter: blur(1px) !important;
  z-index: 0 !important;
}

.simple-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 196px !important;
  display: grid !important;
  gap: 12px !important;
}

.simple-kicker {
  width: fit-content !important;
  padding: 8px 12px !important;
  border: 2px solid #050505 !important;
  border-radius: 999px !important;
  background: #ff4f30 !important;
  color: #050505 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.simple-hero h2 {
  margin: 0 !important;
  color: #050505 !important;
  font-size: 30px !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  word-break: keep-all !important;
}

.simple-hero p {
  margin: 0 !important;
  color: rgba(5, 5, 5, .66) !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
  max-width: 168px !important;
}

.simple-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 4px !important;
  max-width: 190px !important;
}

.simple-hero .pill {
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  border-width: 2px !important;
  box-shadow: none !important;
}

.halo-character {
  position: absolute !important;
  right: -4px !important;
  bottom: 14px !important;
  z-index: 1 !important;
  width: 144px !important;
  height: auto !important;
  object-fit: contain !important;
  transform: rotate(-2deg) !important;
  filter: drop-shadow(0 12px 18px rgba(5, 5, 5, .16)) !important;
}

.halo-character-welcome {
  right: -10px !important;
  bottom: -6px !important;
  width: 176px !important;
  transform: rotate(-3deg) !important;
}

.halo-character-run {
  right: -42px !important;
  bottom: -2px !important;
  width: 202px !important;
  transform: rotate(3deg) !important;
}

.stamp-mascot {
  width: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #050505 !important;
  border: 2px solid #050505 !important;
}

.stamp-mascot img {
  width: 92px !important;
  height: 92px !important;
  object-fit: contain !important;
  transform: translate(-10px, -18px) !important;
  filter: drop-shadow(0 8px 12px rgba(5, 5, 5, .18)) !important;
}

.simple-status {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.simple-status button {
  min-width: 0 !important;
  min-height: 94px !important;
  padding: 10px 8px !important;
  border: 2px solid #050505 !important;
  border-radius: 22px !important;
  background: #fffaf2 !important;
  color: #050505 !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 6px !important;
  box-shadow: none !important;
}

.simple-status span {
  width: 34px !important;
  height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #050505 !important;
  color: #ff4f30 !important;
}

.simple-status svg {
  width: 17px !important;
  height: 17px !important;
  stroke: currentColor !important;
  stroke-width: 3 !important;
}

.simple-status strong {
  font-size: 13px !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.simple-status em {
  max-width: 76px !important;
  color: rgba(5, 5, 5, .58) !important;
  font-size: 10px !important;
  line-height: 1.18 !important;
  font-style: normal !important;
  font-weight: 620 !important;
  text-align: center !important;
  word-break: keep-all !important;
}

.simple-challenge {
  min-height: 116px !important;
  padding: 20px !important;
  background: #fffaf2 !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

.simple-challenge:nth-of-type(odd) {
  background: #ff4f30 !important;
}

.simple-challenge h3 {
  font-size: 20px !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  margin: 0 0 8px !important;
}

.simple-challenge p {
  display: block !important;
  max-width: 190px !important;
  color: rgba(5, 5, 5, .64) !important;
  font-size: 13px !important;
  line-height: 1.32 !important;
  font-weight: 620 !important;
}

.grid3 {
  gap: 8px !important;
}

.grid3 .tile {
  min-height: 94px !important;
  padding: 16px 14px !important;
  border-width: 2px !important;
  border-radius: 20px !important;
  font-size: 15px !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.grid3 .tile small {
  margin-top: 14px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.editorial-strip,
.routine-dock,
.status-rail,
.home-actions,
.hero-home {
  display: none !important;
}

/* v101 simple sub screens */
.community-hero {
  min-height: 284px !important;
}

.community-hero .simple-hero h2 {
  max-width: 190px !important;
}

.simple-profile-card {
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
  min-height: 154px !important;
  padding: 20px !important;
  border: 2px solid #050505 !important;
  border-radius: 28px !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.simple-avatar {
  width: 78px !important;
  height: 78px !important;
  border: 2px solid #050505 !important;
  border-radius: 24px !important;
  background: #ff4f30 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.simple-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.simple-avatar span {
  color: #050505 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

.simple-profile-card h2 {
  margin: 10px 0 6px !important;
  color: #050505 !important;
  font-size: 25px !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

.simple-profile-card p {
  margin: 0 !important;
  color: rgba(5, 5, 5, .62) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 620 !important;
}

.simple-status-my {
  margin-top: 8px !important;
}

.detail-visual {
  min-height: 292px !important;
  height: 292px !important;
  border: 2px solid #050505 !important;
  border-radius: 30px !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.detail-photo {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 79, 48, .16) 0 34%, transparent 35%),
    #fffaf2 !important;
}

.detail-photo .detail-img {
  width: min(280px, 82%) !important;
  max-height: 230px !important;
  padding: 6px !important;
  transform: none !important;
  object-fit: contain !important;
  filter: none !important;
  box-shadow: none !important;
}

.detail-orb {
  opacity: .38 !important;
}

.detail-mark,
.detail-flag {
  border: 2px solid #050505 !important;
  box-shadow: none !important;
}

.detail-flag {
  background: #ff4f30 !important;
  color: #050505 !important;
}

.price-row.big {
  align-items: end !important;
  gap: 8px !important;
}

.price-row.big .price {
  color: #050505 !important;
  font-size: 28px !important;
}

.chip-row {
  gap: 7px !important;
}

.chip {
  border: 2px solid #050505 !important;
  background: #fffaf2 !important;
  color: #050505 !important;
  box-shadow: none !important;
}

.community-post {
  border: 2px solid #050505 !important;
  border-radius: 22px !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
}

.community-post p {
  color: #050505 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.community-author {
  margin-top: 10px !important;
}

.community-author span {
  background: #ff4f30 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
}

.community-author strong {
  color: #050505 !important;
}

.list .item {
  border: 2px solid #050505 !important;
  border-radius: 22px !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
}

/* v116 home polish: original logo lockup, clearer white header, softer mascot placement. */
.top-home {
  min-height: 202px !important;
  padding: 18px 16px 18px !important;
  border-radius: 26px !important;
  background: #fffdf9 !important;
  isolation: isolate !important;
}

.top-home .top-text {
  position: relative !important;
  z-index: 2 !important;
  padding-right: 74px !important;
}

.top-home .top-row {
  display: grid !important;
  grid-template-columns: minmax(92px, 118px) minmax(0, max-content) !important;
  grid-template-rows: 38px 30px !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 10px !important;
}

.top-home .brand-lockup,
.top-row .brand-lockup {
  width: 118px !important;
  min-width: 118px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 2px solid #050505 !important;
  border-radius: 0 !important;
  background: #fffdf9 !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.top-home .brand-lockup::before,
.top-home .brand-lockup::after,
.top-row .brand-lockup::before,
.top-row .brand-lockup::after {
  display: none !important;
  content: none !important;
}

.top-home .brand-lockup-img,
.top-row .brand-lockup-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left center !important;
}

.top-home .store {
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: 30px !important;
  max-width: 74px !important;
  padding: 0 10px 0 8px !important;
  border-width: 1.5px !important;
  border-radius: 999px !important;
  background: #fffdf9 !important;
  color: #ff4f30 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

.top-home .store-icon {
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #ff4f30 !important;
  border-radius: 50% !important;
  background: #fffdf9 !important;
  color: #ff4f30 !important;
}

.top-home .store-icon svg {
  width: 10px !important;
  height: 10px !important;
  fill: #ff4f30 !important;
  stroke: #ff4f30 !important;
  stroke-width: 2.4 !important;
}

.top-home .point-status {
  grid-column: 1 / span 2 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 13px !important;
  border-width: 1.5px !important;
  background: #fff1eb !important;
  color: #ff4f30 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.top-home h1 {
  max-width: 190px !important;
  margin: 15px 0 7px !important;
  font-size: 27px !important;
  line-height: 1.04 !important;
  color: #050505 !important;
}

.top-home .lead {
  max-width: 198px !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
  color: rgba(5, 5, 5, .68) !important;
}

.top-home .icons {
  position: absolute !important;
  top: 22px !important;
  right: 16px !important;
  z-index: 4 !important;
}

.top-home .round-btn {
  width: 36px !important;
  height: 36px !important;
  background: #fffdf9 !important;
  color: #ff4f30 !important;
  border: 1.5px solid rgba(5, 5, 5, .74) !important;
}

.top-home .round-btn svg {
  width: 18px !important;
  height: 18px !important;
  fill: #ff4f30 !important;
  stroke: #ff4f30 !important;
}

.top-mascot {
  position: absolute !important;
  right: 2px !important;
  bottom: -8px !important;
  width: 112px !important;
  height: auto !important;
  z-index: 1 !important;
  transform: rotate(-5deg) !important;
  filter: drop-shadow(0 14px 18px rgba(5, 5, 5, .14)) !important;
  pointer-events: none !important;
}

.top-home::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  right: 22px !important;
  bottom: 14px !important;
  width: 76px !important;
  height: 12px !important;
  border-radius: 999px !important;
  background: rgba(5, 5, 5, .09) !important;
  z-index: 0 !important;
}

.home-finder {
  min-height: 184px !important;
  padding: 20px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 104px !important;
  align-items: center !important;
  gap: 12px !important;
  background: #fffdf9 !important;
}

.home-finder::before {
  display: none !important;
}

.home-finder::after {
  display: none !important;
}

.home-finder .simple-hero-copy {
  max-width: 228px !important;
}

.home-finder h2 {
  max-width: 218px !important;
  font-size: 25px !important;
}

.home-finder p {
  max-width: 190px !important;
}

.home-finder .simple-hero-actions {
  max-width: 228px !important;
  margin-top: 0 !important;
}

.home-finder .simple-hero-actions .pill {
  height: 38px !important;
}

.halo-motion-stack {
  position: relative !important;
  z-index: 2 !important;
  width: 104px !important;
  height: 144px !important;
  justify-self: end !important;
}

.halo-motion-guide {
  position: absolute !important;
  right: -8px !important;
  bottom: -20px !important;
  width: 112px !important;
  height: auto !important;
  object-fit: contain !important;
  z-index: 1 !important;
  transform: rotate(-3deg) !important;
  filter: drop-shadow(0 12px 16px rgba(5, 5, 5, .14)) !important;
  pointer-events: none !important;
}

@media (max-width: 420px) {
  .top-home .top-row {
    grid-template-columns: 112px minmax(0, max-content) !important;
  }

  .top-home .brand-lockup,
  .top-row .brand-lockup,
  .top-home .brand-lockup-img,
  .top-row .brand-lockup-img {
    width: 112px !important;
  }

  .top-home .store {
    max-width: 106px !important;
  }

  .home-finder {
    grid-template-columns: minmax(0, 1fr) 96px !important;
  }

  .halo-motion-stack {
    width: 96px !important;
    height: 138px !important;
  }

  .halo-motion-guide {
    right: -6px !important;
    bottom: -18px !important;
    width: 104px !important;
  }
}

/* v130 community compose: white base, readable writing, photo proof, deletable own posts. */
.community-compose-modal {
  background: #fffdf9 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  box-shadow: 0 18px 0 rgba(5, 5, 5, .16) !important;
}

.community-compose-modal .modal-icon {
  width: 58px !important;
  height: 58px !important;
  background: #ff4f30 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
}

.community-compose-modal .modal-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: #050505 !important;
  stroke: #050505 !important;
}

.community-compose-modal h3 {
  color: #050505 !important;
  font-family: var(--body-font, system-ui, sans-serif) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.community-compose-modal p {
  max-width: 270px !important;
  margin: 8px auto 16px !important;
  color: rgba(5, 5, 5, .68) !important;
  font-family: var(--body-font, system-ui, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.community-compose-modal .form-input,
.community-compose-modal .form-textarea {
  width: 100% !important;
  min-height: 120px !important;
  background: #fffdf9 !important;
  color: #050505 !important;
  border: 2px solid #050505 !important;
  border-radius: 15px !important;
  font-family: var(--body-font, system-ui, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  caret-color: #ff4f30 !important;
}

.community-compose-modal .form-input::placeholder,
.community-compose-modal .form-textarea::placeholder {
  color: rgba(5, 5, 5, .42) !important;
}

.photo-picker {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 12px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border: 2px solid #050505 !important;
  border-radius: 999px !important;
  background: #fff1eb !important;
  color: #050505 !important;
  cursor: pointer !important;
}

.photo-picker input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.photo-picker span,
.photo-picker em {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-family: var(--body-font, system-ui, sans-serif) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.photo-picker span svg {
  width: 18px !important;
  height: 18px !important;
  fill: #ff4f30 !important;
  stroke: #ff4f30 !important;
}

.photo-picker em {
  color: #ff4f30 !important;
}

.community-photo-preview {
  display: none !important;
  width: 100% !important;
  margin-top: 12px !important;
}

.community-photo-preview.has-photo {
  display: block !important;
}

.community-photo-preview img,
.community-photo {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  display: block !important;
  object-fit: cover !important;
  border: 2px solid #050505 !important;
  border-radius: 18px !important;
  background: #f3eee6 !important;
}

.community-post .community-photo {
  margin: 12px 0 2px !important;
}

.community-actions .pill-danger {
  background: #fffdf9 !important;
  color: #ff4f30 !important;
  border-color: #ff4f30 !important;
}

/* v133 product card price: keep Korean currency unit attached. */
.product .price-row {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

.product .price,
.product .was {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1 !important;
}

.product .price {
  flex: 0 0 auto !important;
  font-size: 17px !important;
  letter-spacing: 0 !important;
}

.product .was {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  font-size: 10px !important;
}

@media (max-width: 420px) {
  .product .price-row {
    gap: 6px !important;
  }

  .product .price {
    font-size: 16px !important;
  }

  .product .was {
    font-size: 9px !important;
  }
}

/* v136 home finder mascot: make the guide character carry the right side. */
.home-finder {
  grid-template-columns: minmax(0, 1fr) 128px !important;
}

.halo-motion-stack {
  width: 128px !important;
  height: 152px !important;
}

.halo-motion-guide {
  right: -10px !important;
  bottom: -22px !important;
  width: 148px !important;
  transform: rotate(-3deg) !important;
  filter: drop-shadow(0 16px 18px rgba(5, 5, 5, .16)) !important;
}

@media (max-width: 420px) {
  .home-finder {
    grid-template-columns: minmax(0, 1fr) 118px !important;
  }

  .halo-motion-stack {
    width: 118px !important;
    height: 148px !important;
  }

  .halo-motion-guide {
    right: -12px !important;
    bottom: -22px !important;
    width: 140px !important;
  }
}

/* v137 home hero mascot: lift away from the corner and center in the right field. */
.top-home {
  overflow: hidden !important;
}

.top {
  position: relative !important;
  overflow: hidden !important;
}

.top:not(.top-home) .top-text {
  position: relative !important;
  z-index: 2 !important;
  max-width: 238px !important;
}

.top:not(.top-home) h1,
.top:not(.top-home) .lead {
  max-width: 214px !important;
}

.top-mascot {
  right: 22px !important;
  bottom: 12px !important;
  width: 118px !important;
  transform: rotate(-4deg) !important;
}

.top:not(.top-home) .top-mascot {
  right: 10px !important;
  bottom: -6px !important;
  width: 94px !important;
  opacity: .96 !important;
  transform: rotate(-5deg) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.top-products .top-mascot,
.top-groupBuy .top-mascot {
  width: 100px !important;
  right: 4px !important;
}

.top-my .top-mascot {
  width: 92px !important;
  right: 8px !important;
}

.top-home::after {
  right: 36px !important;
  bottom: 15px !important;
  width: 86px !important;
}

@media (max-width: 420px) {
  .top-mascot {
    right: 18px !important;
    bottom: 14px !important;
    width: 112px !important;
  }

  .top:not(.top-home) .top-mascot {
    right: 4px !important;
    bottom: -4px !important;
    width: 86px !important;
  }

  .top:not(.top-home) .top-text {
    max-width: 228px !important;
  }

  .top:not(.top-home) h1,
  .top:not(.top-home) .lead {
    max-width: 198px !important;
  }

  .top-home::after {
    right: 31px !important;
    bottom: 15px !important;
    width: 80px !important;
  }
}

/* v138 group-buy: cleaner customer cards and compact admin editing on phone. */
@media (max-width: 420px) {
  .group-buy-hero {
    grid-template-columns: minmax(0, 1fr) 68px;
    border-radius: 24px;
    padding: 18px;
    gap: 12px;
  }

  .group-buy-hero h2 {
    margin: 5px 0 6px;
    font-size: 22px;
    line-height: 1.08;
    max-width: 172px;
  }

  .group-buy-hero-mark {
    width: 66px;
    height: 66px;
    border-radius: 19px;
  }

  .group-buy-hero-mark strong {
    font-size: 24px;
  }

  .group-buy-hero-mark span {
    font-size: 9px;
  }

  .group-buy-hero p {
    font-size: 11px;
    line-height: 1.36;
    max-width: 184px;
  }

  .group-buy-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .group-buy-photo {
    min-height: 190px;
  }

  .admin-note {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .admin-grid,
  .admin-grid-two {
    grid-template-columns: 1fr;
  }
}

/* v139 no sideways home: product recommendations stack vertically like a native app feed. */
.phone,
.screen {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.screen .products {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 2px 0 8px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  overflow-x: hidden !important;
  scroll-snap-type: none !important;
}

.screen .product {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  scroll-snap-align: none !important;
}

.screen .home-recommendations {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.home-recommendations .product {
  min-height: 176px !important;
  padding: 8px !important;
  border-radius: 18px !important;
}

.home-recommendations .art {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
  border-radius: 14px;
}

.home-recommendations .art-photo {
  padding: 6px !important;
  background: #fff !important;
  border: 0 !important;
}

.home-recommendations .art-photo img {
  object-fit: contain !important;
}

.home-recommendations .art-mark {
  display: none;
}

.home-recommendations .product h3 {
  min-height: 32px;
  font-size: 11px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-recommendations .product p {
  min-height: 14px;
  margin-top: 4px;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-recommendations .price-row {
  margin-top: auto;
  align-items: flex-end;
  gap: 0;
}

.home-recommendations .price {
  font-size: 13px !important;
  line-height: 1;
  white-space: nowrap;
}

.home-recommendations .was {
  display: none !important;
}

@media (max-width: 420px) {
  .screen .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .screen .home-recommendations {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* v146 root headers: larger mascots placed higher/left, including shop and community. */
.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-challenge .top-mascot,
.top.top-community .top-mascot,
.top.top-groupBuy .top-mascot,
.top.top-my .top-mascot {
  width: 122px !important;
  right: 26px !important;
  bottom: 0 !important;
  transform: translateY(-12px) rotate(-5deg) !important;
}

.top-shop .top-text,
.top-products .top-text,
.top-challenge .top-text,
.top-community .top-text,
.top-groupBuy .top-text,
.top-my .top-text {
  max-width: 226px !important;
}

.top-shop h1,
.top-shop .lead,
.top-products h1,
.top-products .lead,
.top-challenge h1,
.top-challenge .lead,
.top-community h1,
.top-community .lead,
.top-groupBuy h1,
.top-groupBuy .lead,
.top-my h1,
.top-my .lead {
  max-width: 190px !important;
}

.top-shop .lead {
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

@media (max-width: 420px) {
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot,
  .top.top-groupBuy .top-mascot,
  .top.top-my .top-mascot {
    width: 112px !important;
    right: 22px !important;
    bottom: 2px !important;
    transform: translateY(-13px) rotate(-5deg) !important;
  }

  .top-shop .top-text,
  .top-products .top-text,
  .top-challenge .top-text,
  .top-community .top-text,
  .top-groupBuy .top-text,
  .top-my .top-text {
    max-width: 218px !important;
  }
}

/* v147 header mascot polish: more prominent and shifted toward the copy. */
.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-challenge .top-mascot,
.top.top-community .top-mascot,
.top.top-groupBuy .top-mascot,
.top.top-my .top-mascot {
  width: 150px !important;
  right: 40px !important;
  bottom: 14px !important;
  transform: translateY(-22px) rotate(-5deg) !important;
}

@media (max-width: 420px) {
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot,
  .top.top-groupBuy .top-mascot,
  .top.top-my .top-mascot {
    width: 138px !important;
    right: 34px !important;
    bottom: 12px !important;
    transform: translateY(-21px) rotate(-5deg) !important;
  }
}

/* v150 app chrome: remove fake in-app phone status bar. Native iOS provides it. */
.screen > .status {
  display: none !important;
}

/* v151 product detail polish: clean related cards and tappable review/favorite actions. */
.product-action-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.product-action-card {
  min-width: 0 !important;
  min-height: 118px !important;
  padding: 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  border: 2px solid #050505 !important;
  border-radius: 20px !important;
  background: #fffdf7 !important;
  color: #050505 !important;
  box-shadow: 0 10px 0 rgba(5,5,5,.05) !important;
  text-align: left !important;
}

.product-action-card.is-on {
  background: #050505 !important;
  color: #fffdf7 !important;
}

.product-action-icon {
  width: 34px !important;
  height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #ff4f30 !important;
  color: #050505 !important;
}

.product-action-icon svg {
  width: 17px !important;
  height: 17px !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.product-action-card strong {
  width: 100% !important;
  display: block !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
}

.product-action-card em {
  width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-style: normal !important;
  font-size: 11px !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
  color: rgba(5,5,5,.62) !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
}

.product-action-card.is-on em {
  color: rgba(255,253,247,.72) !important;
}

.screen .product-related-grid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 2px 0 8px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.screen .product-related-grid .product {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 178px !important;
  padding: 8px !important;
  border-radius: 18px !important;
  background: #fffdf7 !important;
  border: 1px solid rgba(5,5,5,.14) !important;
  box-shadow: none !important;
}

.screen .product-related-grid .art {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin-bottom: 8px !important;
  border-radius: 14px !important;
  background: #fffaf2 !important;
}

.screen .product-related-grid .art-photo {
  padding: 6px !important;
  background: #fff !important;
  border: 1px solid rgba(5,5,5,.08) !important;
}

.screen .product-related-grid .art-photo img,
.screen .product-related-grid .art img {
  width: 100% !important;
  height: 100% !important;
  padding: 4px !important;
  object-fit: contain !important;
  transform: none !important;
}

.screen .product-related-grid .art-mark {
  display: none !important;
}

.screen .product-related-grid .product h3 {
  min-height: 31px !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.24 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: keep-all !important;
}

.screen .product-related-grid .product p {
  min-height: 14px !important;
  margin: 4px 0 0 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.screen .product-related-grid .price-row {
  margin-top: auto !important;
  display: block !important;
}

.screen .product-related-grid .price {
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.screen .product-related-grid .was {
  display: none !important;
}

@media (max-width: 380px) {
  .product-action-grid {
    gap: 8px !important;
  }

  .product-action-card {
    min-height: 112px !important;
    padding: 12px 10px !important;
    border-radius: 18px !important;
  }

  .product-action-card strong {
    font-size: 14px !important;
  }

  .screen .product-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .screen .product-related-grid .product {
    min-height: 166px !important;
    padding: 7px !important;
  }
}

/* v155 2D character refresh: white-forward, flatter, less heavy than the former black/gradient theme. */
:root,
[data-theme="dark"] {
  --ink: #211815 !important;
  --line: rgba(33, 24, 21, .24) !important;
  --paper: #fffdf8 !important;
  --warm: #fff7ee !important;
  --pink-soft: #fff4ee !important;
  --orange-soft: #ffe4d9 !important;
}

body {
  background: #e9e5dc !important;
}

.phone {
  background: #fffdf8 !important;
  border-color: #211815 !important;
}

.screen {
  background: #fffdf8 !important;
}

.top,
.simple-hero,
.group-buy-hero,
.group-buy-card,
.item,
.product,
.community-post,
.challenge-card,
.status-card,
.tile,
.stat,
.coupon-card,
.admin-deal,
.admin-note,
.product-action-card,
.store-gallery-item,
.map-panel,
.store-detail-hero {
  background: #fffdf8 !important;
  color: #211815 !important;
  border-color: rgba(33,24,21,.7) !important;
  box-shadow: none !important;
}

.top {
  border-width: 2px !important;
  min-height: 246px !important;
}

.top h1,
.simple-hero h2,
.group-buy-hero h2,
.section-head h2,
.item-title,
.product h3,
.community-post p,
.challenge-card h3 {
  color: #211815 !important;
}

.top .lead,
.simple-hero p,
.group-buy-hero p,
.item-sub,
.product p,
.route-label,
.lead-soft,
.community-actions span {
  color: rgba(33,24,21,.68) !important;
}

.screen .pill-dark,
.screen .pill-cta,
.tab.active .ico,
.discount-badge,
.tag,
.group-buy-hero .simple-kicker,
.simple-kicker {
  background: #ff4f30 !important;
  color: #211815 !important;
  border: 2px solid #211815 !important;
  box-shadow: none !important;
}

.screen .pill-soft,
.screen .pill-ghost,
.chip,
.store,
.point-status,
.round-btn,
.brand-lockup,
.simple-status button,
.product-action-card {
  background: #fffdf8 !important;
  color: #211815 !important;
  border-color: rgba(33,24,21,.72) !important;
  box-shadow: none !important;
}

.simple-status span,
.product-action-icon,
.status-icon,
.thumb-svg-icon {
  background: #fffdf8 !important;
  color: #ff4f30 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
}

.simple-hero,
.home-finder,
.community-hero {
  min-height: 270px !important;
  background: #fffdf8 !important;
}

.simple-hero::before,
.simple-hero::after,
.top-home::after {
  display: none !important;
}

.top-mascot,
.halo-character,
.halo-motion-guide,
.stamp-mascot img,
.group-buy-hero-character {
  filter: none !important;
  object-fit: contain !important;
}

.top-mascot {
  width: 136px !important;
  right: 22px !important;
  bottom: 8px !important;
  transform: rotate(-2deg) !important;
}

.top.top-home .top-mascot {
  width: 142px !important;
  right: 18px !important;
  bottom: 8px !important;
}

.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-challenge .top-mascot,
.top.top-community .top-mascot,
.top.top-groupBuy .top-mascot,
.top.top-my .top-mascot {
  width: 136px !important;
  right: 16px !important;
  bottom: 4px !important;
  transform: rotate(-2deg) !important;
}

.halo-motion-stack {
  right: -8px !important;
  bottom: -2px !important;
  width: 170px !important;
  height: 188px !important;
  background: transparent !important;
}

.halo-motion-guide {
  width: 176px !important;
  right: 0 !important;
  bottom: 2px !important;
}

.halo-character-run,
.halo-character {
  right: -8px !important;
  bottom: 4px !important;
  width: 172px !important;
  transform: rotate(-2deg) !important;
}

.stamp-mascot {
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
}

.stamp-mascot img {
  width: 88px !important;
  height: 88px !important;
  transform: translate(-8px, -14px) !important;
}

.group-buy-hero {
  position: relative !important;
  min-height: 214px !important;
  padding: 22px 142px 22px 20px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: #fffdf8 !important;
}

.group-buy-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 174px !important;
}

.group-buy-hero .simple-kicker {
  margin-bottom: 12px !important;
  padding: 7px 10px !important;
  display: inline-flex !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

.group-buy-hero h2 {
  max-width: 170px !important;
  margin: 0 0 9px !important;
  font-size: 25px !important;
  line-height: 1.08 !important;
  word-break: keep-all !important;
}

.group-buy-hero p {
  max-width: 168px !important;
  font-size: 11px !important;
  line-height: 1.42 !important;
}

.group-buy-hero-character {
  position: absolute !important;
  right: -18px !important;
  bottom: 10px !important;
  width: 168px !important;
  z-index: 1 !important;
}

.group-buy-hero-mark {
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
  z-index: 2 !important;
  width: 66px !important;
  height: 66px !important;
  border-radius: 18px !important;
  background: #ff4f30 !important;
  border: 2px solid #211815 !important;
  color: #211815 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.group-buy-hero-mark strong {
  font-size: 25px !important;
  color: #211815 !important;
}

.group-buy-hero-mark span {
  color: #211815 !important;
  font-size: 9px !important;
}

.stat-grid .stat {
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
}

.stat strong {
  color: #ff4f30 !important;
}

.tabbar {
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.82) !important;
  box-shadow: none !important;
}

.tab .ico {
  background: #fffdf8 !important;
  color: #ff4f30 !important;
}

.tab.active .ico {
  background: #ff4f30 !important;
  color: #211815 !important;
}

.detail-photo {
  background: #fffdf8 !important;
}

.detail-visual {
  background: #fffdf8 !important;
  border-color: rgba(33,24,21,.72) !important;
}

@media (max-width: 420px) {
  .top-mascot,
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot,
  .top.top-groupBuy .top-mascot,
  .top.top-my .top-mascot {
    width: 128px !important;
    right: 12px !important;
    bottom: 4px !important;
    transform: rotate(-2deg) !important;
  }

  .group-buy-hero {
    min-height: 208px !important;
    padding: 20px 128px 20px 18px !important;
  }

  .group-buy-hero h2 {
    font-size: 23px !important;
    max-width: 158px !important;
  }

  .group-buy-hero p {
    max-width: 154px !important;
  }

  .group-buy-hero-character {
    width: 154px !important;
    right: -22px !important;
    bottom: 8px !important;
  }

  .group-buy-hero-mark {
    width: 58px !important;
    height: 58px !important;
    right: 14px !important;
    top: 16px !important;
  }
}

/* v156 final light pass: remove remaining heavy black fills from customer-facing surfaces. */
.screen .link {
  background: #fffdf8 !important;
  color: #ff4f30 !important;
  border: 2px solid rgba(33,24,21,.68) !important;
  border-radius: 999px !important;
  padding: 7px 11px !important;
  box-shadow: none !important;
}

.screen .tile,
.screen .tile.pink,
.screen .tile.warm,
.screen .tile.hot,
.screen .market-tile,
.screen .challenge-thumb-orange,
.screen .challenge-thumb-pink,
.screen .challenge-thumb-sage,
.screen .thumb,
.screen .thumb-art,
.screen .stamp,
.screen .stamp-mascot {
  background: #fffdf8 !important;
  background-image: none !important;
  color: #211815 !important;
  border: 2px solid rgba(33,24,21,.68) !important;
  box-shadow: none !important;
}

.screen .tile:nth-child(2n),
.screen .tile:nth-child(2n) *,
.screen .product:nth-child(2n),
.screen .product:nth-child(2n) *,
.screen .community-post:nth-child(2n),
.screen .community-post:nth-child(2n) * {
  color: #211815 !important;
}

.screen .tile small,
.screen .market-tile span {
  color: rgba(33,24,21,.62) !important;
}

.screen .tile.pink,
.screen .tile.hot,
.screen .tag,
.screen .discount-badge,
.screen .simple-kicker {
  background: #ff4f30 !important;
  color: #211815 !important;
}

.screen .tile.warm {
  background: #fff4ee !important;
}

.screen .thumb svg,
.screen .thumb-icon svg,
.screen .challenge-thumb-orange svg,
.screen .challenge-thumb-pink svg,
.screen .challenge-thumb-sage svg {
  color: #ff4f30 !important;
  fill: none !important;
  stroke: currentColor !important;
}

.screen .thumb-mark {
  background: #ff4f30 !important;
  color: #211815 !important;
  border: 1px solid #211815 !important;
}

.screen .stamp-mascot img {
  filter: none !important;
}

.screen .pill-square-soft,
.screen .modal-icon,
.screen .modal-icon-orange,
.screen .modal-icon-pink {
  background: #fffdf8 !important;
  color: #ff4f30 !important;
  border: 2px solid rgba(33,24,21,.68) !important;
}

.screen .product-action-card.is-on {
  background: #fff4ee !important;
  color: #211815 !important;
}

.screen .product-action-card.is-on em {
  color: rgba(33,24,21,.62) !important;
}

.screen .group-buy-card,
.screen .admin-product-preview {
  background: #fffdf8 !important;
  background-image: none !important;
}

.screen .grid3 .tile,
.screen .grid3 .tile:not(.pink):not(.warm):not(.hot),
.screen .grid3-tight .tile,
.screen .tile[class="tile"],
.screen .tile[class="tile "] {
  background: #fffdf8 !important;
  background-image: none !important;
  color: #211815 !important;
  border: 2px solid rgba(33,24,21,.68) !important;
}

.screen .grid3 .tile.pink,
.screen .grid3 .tile.hot,
.screen .grid3-tight .tile.pink,
.screen .grid3-tight .tile.hot {
  background: #ff4f30 !important;
  background-image: none !important;
  color: #211815 !important;
}

.screen .grid3 .tile.warm,
.screen .grid3-tight .tile.warm {
  background: #fff4ee !important;
  background-image: none !important;
}

.screen .right .tag,
.screen .item .tag,
.screen .list .tag,
.screen .list .item:nth-child(2n) .tag,
.screen .list .item:nth-child(2n) .right .tag,
.screen .item:nth-child(2n) .tag,
.screen .product:nth-child(2n) .tag,
.screen .products .product:nth-child(2n) .tag,
.screen .tag {
  background: #fffdf8 !important;
  background-image: none !important;
  color: #ff4f30 !important;
  border: 2px solid rgba(33,24,21,.68) !important;
}

/* v159 icon/map/character pass: clearer tab states, larger flat mascots, real interactive map feel. */
.top-mascot,
.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-challenge .top-mascot,
.top.top-community .top-mascot,
.top.top-groupBuy .top-mascot,
.top.top-my .top-mascot {
  width: 164px !important;
  right: 6px !important;
  bottom: -8px !important;
  transform: rotate(-2deg) !important;
}

.top.top-home .top-mascot {
  width: 174px !important;
  right: 4px !important;
  bottom: -8px !important;
}

.top:not(.top-home) .top-text {
  max-width: 205px !important;
}

.halo-motion-stack {
  width: 198px !important;
  height: 210px !important;
}

.halo-motion-guide,
.halo-character-run,
.halo-character {
  width: 196px !important;
}

.stamp-mascot img {
  width: 108px !important;
  height: 108px !important;
  transform: translate(-14px, -24px) !important;
}

.group-buy-hero-character {
  width: 184px !important;
  right: -24px !important;
  bottom: 0 !important;
}

.tabbar {
  height: 68px !important;
  padding: 7px 8px !important;
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.84) !important;
}

.tab {
  color: rgba(33,24,21,.58) !important;
  font-weight: 620 !important;
}

.tab .ico {
  width: 33px !important;
  height: 33px !important;
  background: transparent !important;
  color: rgba(33,24,21,.62) !important;
  border: 0 !important;
}

.tab svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.55 !important;
  stroke: currentColor !important;
  fill: none !important;
}

.tab.active {
  color: #ff4f30 !important;
}

.tab.active .ico {
  background: #ff4f30 !important;
  color: #fffdf8 !important;
  border: 2px solid #211815 !important;
}

.tab.active svg,
.tab.active svg path,
.tab.active svg circle {
  stroke: #fffdf8 !important;
  fill: none !important;
}

.tab-label {
  font-size: 9px !important;
  letter-spacing: 0 !important;
}

.map-card-real {
  height: 318px !important;
  border-radius: 24px !important;
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
  overflow: hidden !important;
}

.map-card-real iframe {
  pointer-events: auto !important;
  filter: saturate(.98) contrast(.98) brightness(1.02) !important;
}

.map-card-real .map-glass,
.map-card-real .pin,
.map-card-real .map-note {
  display: none !important;
}

.map-open-button {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  z-index: 3 !important;
  border: 2px solid #211815 !important;
  border-radius: 999px !important;
  background: #fffdf8 !important;
  color: #ff4f30 !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  box-shadow: 0 8px 20px rgba(33,24,21,.12) !important;
}

.location-connect-card,
.location-connect-card.is-connected {
  background: #fffdf8 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
  box-shadow: none !important;
}

.location-connect-icon,
.location-connect-card.is-connected .location-connect-icon {
  background: #fffdf8 !important;
  color: #ff4f30 !important;
  border: 2px solid rgba(33,24,21,.72) !important;
}

.location-connect-icon svg {
  stroke-width: 1.6 !important;
}

.top.top-map .top-mascot,
.top.top-storeDetail .top-mascot,
.top.top-product .top-mascot,
.top.top-category .top-mascot,
.top.top-categoryList .top-mascot,
.top.top-search .top-mascot,
.top.top-favorites .top-mascot {
  width: 160px !important;
  right: 2px !important;
  bottom: -10px !important;
}

@media (max-width: 420px) {
  .top-mascot,
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot,
  .top.top-groupBuy .top-mascot,
  .top.top-my .top-mascot {
    width: 152px !important;
    right: 0 !important;
    bottom: -8px !important;
  }

  .top.top-home .top-mascot {
    width: 164px !important;
    right: -2px !important;
    bottom: -8px !important;
  }

  .top:not(.top-home) .top-text {
    max-width: 190px !important;
  }

  .group-buy-hero-character {
    width: 170px !important;
    right: -28px !important;
    bottom: 0 !important;
  }

  .map-card-real {
    height: 300px !important;
  }

  .top.top-map .top-mascot,
  .top.top-storeDetail .top-mascot,
  .top.top-product .top-mascot,
  .top.top-category .top-mascot,
  .top.top-categoryList .top-mascot,
  .top.top-search .top-mascot,
  .top.top-favorites .top-mascot {
    width: 148px !important;
    right: -4px !important;
    bottom: -10px !important;
  }
}

/* v162: use the full 2D character set, clearer spacing, lighter active tab icons. */
.top.top-groupBuy .top-mascot {
  width: 178px !important;
  right: -10px !important;
  bottom: -16px !important;
}

.top.top-challenge .top-mascot,
.top.top-community .top-mascot {
  width: 178px !important;
  right: -10px !important;
  bottom: -16px !important;
}

.top.top-home .top-mascot {
  width: 184px !important;
  right: -6px !important;
  bottom: -14px !important;
}

.group-buy-hero {
  min-height: 226px !important;
  padding-right: 152px !important;
}

.group-buy-hero-character {
  width: 204px !important;
  right: -36px !important;
  bottom: -8px !important;
}

.community-hero .halo-character-run {
  width: 214px !important;
  right: -22px !important;
  bottom: -12px !important;
}

.tab svg {
  stroke-width: 1.05 !important;
}

.tab.active .ico {
  border-width: 1.5px !important;
}

.tab.active svg,
.tab.active svg path,
.tab.active svg circle {
  stroke-width: 1.05 !important;
}

.top-home .top-row {
  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-areas:
    "brand brand"
    "store point" !important;
  justify-content: start !important;
  align-items: center !important;
  gap: 8px !important;
}

.top-home .brand-lockup {
  grid-area: brand !important;
  width: max-content !important;
}

.top-home .store {
  grid-area: store !important;
  margin-top: 2px !important;
}

.top-home .point-status {
  grid-area: point !important;
  margin-top: 2px !important;
}

@media (max-width: 420px) {
  .top.top-groupBuy .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot {
    width: 164px !important;
    right: -14px !important;
    bottom: -14px !important;
  }

  .top.top-home .top-mascot {
    width: 174px !important;
    right: -10px !important;
    bottom: -14px !important;
  }

  .group-buy-hero {
    min-height: 222px !important;
    padding-right: 142px !important;
  }

  .group-buy-hero-character {
    width: 190px !important;
    right: -42px !important;
    bottom: -8px !important;
  }

  .community-hero .halo-character-run {
    width: 198px !important;
    right: -28px !important;
    bottom: -12px !important;
  }
}

/* v163: real map markers that move with the interactive map. */
.halo-leaflet-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  background: #fff7ee !important;
}

.map-card-real iframe {
  display: none !important;
}

.leaflet-container {
  font-family: inherit !important;
  background: #fff7ee !important;
}

.leaflet-control-zoom {
  border: 2px solid rgba(33,24,21,.72) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  color: #211815 !important;
  background: #fffdf8 !important;
  border-color: rgba(33,24,21,.18) !important;
}

.halo-map-marker {
  background: transparent !important;
  border: 0 !important;
}

.halo-map-marker span {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border: 2px solid #211815 !important;
  border-radius: 50% 50% 50% 10px !important;
  background: #ff4f30 !important;
  transform: rotate(-45deg) !important;
  box-shadow: 0 8px 18px rgba(33,24,21,.18) !important;
}

.halo-map-marker img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  transform: rotate(45deg) !important;
  border-radius: 7px !important;
}

.leaflet-popup-content-wrapper {
  border: 2px solid #211815 !important;
  border-radius: 16px !important;
  background: #fffdf8 !important;
  box-shadow: 0 12px 24px rgba(33,24,21,.16) !important;
}

.leaflet-popup-content {
  margin: 12px !important;
  display: grid !important;
  gap: 7px !important;
  min-width: 150px !important;
  color: #211815 !important;
}

.leaflet-popup-content strong {
  font-size: 13px !important;
  font-weight: 500 !important;
}

.leaflet-popup-content span {
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: rgba(33,24,21,.64) !important;
}

.leaflet-popup-content button {
  border: 1.5px solid #211815 !important;
  border-radius: 999px !important;
  background: #ff4f30 !important;
  color: #fffdf8 !important;
  padding: 7px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.leaflet-popup-tip {
  background: #fffdf8 !important;
  border: 2px solid #211815 !important;
}

.map-fallback {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  padding: 20px !important;
  color: #211815 !important;
}

.map-fallback strong {
  font-size: 16px !important;
  font-weight: 500 !important;
}

.map-fallback span {
  font-size: 12px !important;
  font-weight: 550 !important;
  color: rgba(33,24,21,.62) !important;
}

/* v164: larger page header characters, pulled inward from the far corner. */
.top {
  overflow: hidden !important;
}

.top-mascot,
.top.top-home .top-mascot,
.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-product .top-mascot,
.top.top-groupBuy .top-mascot,
.top.top-challenge .top-mascot,
.top.top-community .top-mascot,
.top.top-my .top-mascot {
  width: 282px !important;
  right: -54px !important;
  bottom: -54px !important;
  transform: rotate(-2deg) !important;
  z-index: 1 !important;
}

.top.top-home .top-mascot {
  width: 288px !important;
  right: -58px !important;
  bottom: -58px !important;
}

.top.top-product .top-mascot,
.top.top-products .top-mascot,
.top.top-shop .top-mascot {
  width: 280px !important;
  right: -56px !important;
  bottom: -54px !important;
}

.top.top-groupBuy .top-mascot {
  width: 252px !important;
  right: -14px !important;
  bottom: -48px !important;
}

.top.top-community .top-mascot,
.top.top-challenge .top-mascot {
  width: 252px !important;
  right: -14px !important;
  bottom: -48px !important;
}

.top:not(.top-home) .top-text {
  max-width: 222px !important;
}

@media (max-width: 420px) {
  .top-mascot,
  .top.top-home .top-mascot,
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-product .top-mascot,
  .top.top-groupBuy .top-mascot,
  .top.top-challenge .top-mascot,
  .top.top-community .top-mascot,
  .top.top-my .top-mascot {
    width: 270px !important;
    right: -54px !important;
    bottom: -56px !important;
  }

  .top.top-home .top-mascot {
    width: 280px !important;
    right: -60px !important;
    bottom: -60px !important;
  }

  .top.top-groupBuy .top-mascot,
  .top.top-community .top-mascot,
  .top.top-challenge .top-mascot {
    width: 246px !important;
    right: -12px !important;
    bottom: -50px !important;
  }
}

/* v166: branded in-app loading screen and calmer two-character headers. */
.auth-splash {
  background: #f0bed4 !important;
}

.auth-splash-logo {
  width: 84px !important;
  height: 84px !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  box-shadow: none !important;
}

.auth-splash-text {
  color: rgba(33, 24, 21, .72) !important;
  font-weight: 620 !important;
}

/* v167: slightly calmer single-character headers. */
.top-mascot,
.top.top-shop .top-mascot,
.top.top-products .top-mascot,
.top.top-product .top-mascot,
.top.top-my .top-mascot,
.top.top-map .top-mascot,
.top.top-storeDetail .top-mascot,
.top.top-category .top-mascot,
.top.top-categoryList .top-mascot,
.top.top-search .top-mascot,
.top.top-favorites .top-mascot {
  width: 264px !important;
  right: -46px !important;
  bottom: -50px !important;
}

.top.top-home .top-mascot {
  width: 270px !important;
  right: -50px !important;
  bottom: -54px !important;
}

.top.top-groupBuy .top-mascot,
.top.top-community .top-mascot {
  width: 246px !important;
  right: -12px !important;
  bottom: -48px !important;
}

@media (max-width: 420px) {
  .top-mascot,
  .top.top-shop .top-mascot,
  .top.top-products .top-mascot,
  .top.top-product .top-mascot,
  .top.top-my .top-mascot,
  .top.top-map .top-mascot,
  .top.top-storeDetail .top-mascot,
  .top.top-category .top-mascot,
  .top.top-categoryList .top-mascot,
  .top.top-search .top-mascot,
  .top.top-favorites .top-mascot {
    width: 256px !important;
    right: -46px !important;
    bottom: -54px !important;
  }

  .top.top-home .top-mascot {
    width: 264px !important;
    right: -52px !important;
    bottom: -58px !important;
  }

  .top.top-groupBuy .top-mascot,
  .top.top-community .top-mascot {
    width: 238px !important;
    right: -10px !important;
    bottom: -50px !important;
  }
}

/* v168: editable circular profile photo. */
.profile-edit-hero .profile-avatar-lg {
  width: 104px !important;
  height: 104px !important;
  border: 2px solid rgba(255, 79, 48, .22) !important;
  box-shadow: 0 14px 32px rgba(255, 79, 48, .14) !important;
}

.profile-avatar.has-photo img,
.simple-avatar img {
  object-fit: cover !important;
}

.profile-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 15px;
  border: 1.5px solid rgba(33, 24, 21, .18);
  border-radius: 999px;
  background: #fff;
  color: #211815;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.profile-photo-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* v176: remove heavy black accent system from customer-facing app surfaces. */
:root {
  --ink: #241915 !important;
  --line: #f0ded7 !important;
  --paper: #fffdf9 !important;
  --warm: #fff8f3 !important;
  --pink-soft: #fff1f6 !important;
  --orange-soft: #ffe7df !important;
}

.phone {
  border-color: #1c1c1e !important;
  box-shadow: 0 24px 70px rgba(112, 115, 124, .12) !important;
}

.screen {
  background: #fff !important;
  color: var(--wds-label, #171719) !important;
}

.status {
  display: none !important;
}

.top,
.hero,
.challenge-card,
.group-deal-hero,
.simple-profile-card,
.profile-edit-hero,
.profile-meta-card,
.location-connect-card,
.map-card,
.item,
.coupon-card,
.product-action-card,
.product-hero-card,
.modal-card {
  background: rgba(255, 253, 249, .96) !important;
  color: #241915 !important;
  border: 1.5px solid rgba(112, 115, 124, .18) !important;
  box-shadow: 0 14px 36px rgba(112, 115, 124, .10) !important;
}

.top h1,
.top h2,
.top h3,
.top .lead,
.top .route-label,
.simple-profile-card h2,
.simple-profile-card p {
  color: #241915 !important;
}

.top::before,
.top::after,
.hero::before,
.hero::after,
.challenge-card::before,
.challenge-card::after {
  opacity: .12 !important;
}

.pill-dark,
.screen .pill-dark,
.pill-cta,
.pill-cta-arrow,
.quick-row .pill-dark {
  background: #ff5a35 !important;
  color: #fffdf9 !important;
  border-color: #ff5a35 !important;
  box-shadow: 0 10px 24px rgba(255, 90, 53, .18) !important;
}

.pill-dark:hover,
.pill-cta:hover,
.pill-cta-arrow:hover {
  background: #ea5330 !important;
}

.pill-outline,
.pill-soft,
.link,
.tag,
.chip-text,
.recent-pill,
.store,
.round-btn,
.profile-photo-button {
  background: #fffdf9 !important;
  color: #ea5330 !important;
  border-color: rgba(112, 115, 124, .24) !important;
  box-shadow: none !important;
}

.round-btn,
.top-home .icons .round-btn,
.icons .round-btn {
  width: 38px !important;
  height: 38px !important;
  border-width: 1.5px !important;
}

.store-icon,
.status-icon,
.thumb-svg-icon,
.product-action-icon,
.modal-icon,
.location-connect-icon,
.simple-status button span,
.notif-icon,
.recent-thumb,
.tab .ico,
.top-home .store-icon {
  background: #fff7f1 !important;
  color: #ea5330 !important;
  border: 1.5px solid rgba(112, 115, 124, .22) !important;
  box-shadow: none !important;
}

.store-icon svg,
.status-icon svg,
.thumb-svg-icon svg,
.product-action-icon svg,
.modal-icon svg,
.location-connect-icon svg,
.simple-status button span svg,
.notif-icon svg,
.recent-thumb svg,
.tab .ico svg,
.round-btn svg,
.profile-photo-button svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.65 !important;
}

.thumb-svg-icon svg *,
.status-icon svg *,
.modal-icon svg *,
.product-action-icon svg *,
.location-connect-icon svg *,
.tab .ico svg *,
.round-btn svg * {
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.65 !important;
}

.simple-status,
.simple-status-my {
  background: #fffdf9 !important;
  border: 1.5px solid rgba(112, 115, 124, .18) !important;
  box-shadow: 0 12px 30px rgba(112, 115, 124, .08) !important;
}

.simple-status button {
  background: #fffaf6 !important;
  color: #241915 !important;
  border: 1.5px solid rgba(112, 115, 124, .16) !important;
}

.simple-status button strong,
.simple-status button em {
  color: #241915 !important;
}

.simple-status button span {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
}

.item .thumb,
.thumb,
.thumb-art,
.thumb-logo,
.store-list-thumb {
  background: #fff7f1 !important;
  color: #ea5330 !important;
  border: 1.5px solid rgba(112, 115, 124, .18) !important;
  box-shadow: none !important;
}

.item-title,
.item-sub,
.price,
.meta-key,
.meta-val,
.profile-greet,
.profile-greet-sub,
.form-label,
.form-hint {
  color: #241915 !important;
}

.item-sub,
.profile-greet-sub,
.form-hint {
  color: rgba(36, 25, 21, .62) !important;
}

.tabbar {
  background: rgba(255, 253, 249, .96) !important;
  border: 1.5px solid rgba(112, 115, 124, .20) !important;
  box-shadow: 0 12px 28px rgba(112, 115, 124, .12) !important;
}

.tab {
  color: rgba(36, 25, 21, .58) !important;
}

.tab.active {
  color: #ea5330 !important;
}

.tab.active .ico {
  background: #ea5330 !important;
  color: #fffdf9 !important;
  border-color: #ea5330 !important;
}

.tab.active .ico svg,
.tab.active .ico svg * {
  stroke: #fffdf9 !important;
}

.pin,
.pin-logo,
.pin-active,
.leaflet-marker-icon .halo-map-marker,
.halo-map-marker {
  background: #fffdf9 !important;
  color: #ea5330 !important;
  border: 2px solid #ff6a43 !important;
  box-shadow: 0 8px 20px rgba(112, 115, 124, .20) !important;
}

.pin-logo > span,
.pin-logo-img {
  background: #fff7f1 !important;
  border: 1.5px solid rgba(112, 115, 124, .20) !important;
}

.pin em {
  background: #fffdf9 !important;
  color: #ea5330 !important;
  border: 1px solid rgba(112, 115, 124, .22) !important;
}

.leaflet-popup-content button {
  border-color: #ff5a35 !important;
  background: #ff5a35 !important;
  color: #fffdf9 !important;
}

.leaflet-popup-tip,
.leaflet-popup-content-wrapper {
  border-color: rgba(112, 115, 124, .22) !important;
}

.recent-pill,
.notif,
.profile-danger,
.profile-edit-form {
  border-color: rgba(112, 115, 124, .18) !important;
}

.simple-avatar,
.profile-avatar,
.profile-edit-hero .profile-avatar-lg {
  background: #fff7f1 !important;
  color: #ea5330 !important;
  border-color: rgba(112, 115, 124, .24) !important;
  box-shadow: 0 10px 26px rgba(112, 115, 124, .12) !important;
}

.danger-btn,
.danger-text {
  color: #d84a2b !important;
  border-color: rgba(216, 74, 43, .22) !important;
  background: #fff7f1 !important;
}

/* v177: login-before screen light palette, no black accent blocks. */
body.auth-locked .screen,
.auth-screen {
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 181, 198, .42) 0%, transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 116, 78, .16) 0%, transparent 28%),
    linear-gradient(180deg, #fff8fb 0%, #fffdf9 48%, #fff7f1 100%) !important;
  color: #241915 !important;
}

.auth-screen::before,
.auth-screen::after {
  opacity: .12 !important;
}

.auth-hero {
  background: transparent !important;
  color: #241915 !important;
}

.auth-logo {
  background: #f0bed4 !important;
  border: 1.5px solid rgba(112, 115, 124, .16) !important;
  box-shadow: 0 14px 34px rgba(112, 115, 124, .12) !important;
}

.auth-logo-main {
  width: min(258px, 76vw) !important;
  height: auto !important;
  aspect-ratio: 1537 / 498 !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  margin-bottom: 22px !important;
}

.auth-logo-small {
  width: min(198px, 58vw) !important;
  margin-bottom: 16px !important;
}

.auth-title,
.auth-title * {
  color: #241915 !important;
  text-shadow: none !important;
}

.auth-subtitle,
.auth-terms,
.login-toggle {
  color: rgba(36, 25, 21, .62) !important;
}

.pill.login-email-hero,
.auth-actions .pill.login-email-hero {
  background: #ff5a35 !important;
  color: #fffdf9 !important;
  border: 1.5px solid #ff5a35 !important;
  box-shadow: 0 14px 30px rgba(255, 90, 53, .20) !important;
}

.pill.login-email-hero:hover {
  background: #ea5330 !important;
}

.pill.login-email-hero .arrow,
.auth-actions .pill.login-email-hero .arrow {
  background: rgba(255, 253, 249, .22) !important;
  color: #fffdf9 !important;
  border: 1px solid rgba(255, 253, 249, .34) !important;
}

.auth-back {
  background: #fffdf9 !important;
  color: #ea5330 !important;
  border: 1.5px solid rgba(112, 115, 124, .22) !important;
  box-shadow: none !important;
}

.auth-form {
  background: rgba(255, 253, 249, .84) !important;
  border: 1.5px solid rgba(112, 115, 124, .16) !important;
  box-shadow: 0 14px 34px rgba(112, 115, 124, .08) !important;
}

/* v179: Storage-ready profile photos + lighter button/icon polish. */
.section-head .link,
.right .tag,
.pill,
.pill-dark,
.pill-soft,
.pill-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

.section-head .link {
  min-width: 50px !important;
  height: 30px !important;
  padding: 0 12px !important;
  border: 1.5px solid rgba(112, 115, 124, .22) !important;
  background: #fffdf9 !important;
  color: #ea5330 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.pill svg {
  flex: 0 0 auto !important;
  width: 15px !important;
  height: 15px !important;
  margin-right: 5px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.7 !important;
}

.store,
.top-row .store {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  overflow: hidden !important;
}

.store-icon,
.top-row .store-icon,
.top-home .store-icon {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 999px !important;
}

.store-icon svg,
.top-row .store-icon svg,
.top-home .store-icon svg {
  display: block !important;
  width: 11px !important;
  height: 11px !important;
  stroke-width: 1.75 !important;
  fill: none !important;
  transform: none !important;
}

.top:not(.top-home) .store {
  min-width: 74px !important;
  max-width: 116px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

.top:not(.top-home) .store-icon {
  width: 18px !important;
  height: 18px !important;
  border-width: 1.3px !important;
}

/* v189: official logo in the home header with a soft brand gradient. */
.top.top-home {
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 190, 212, .54) 0%, transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 116, 78, .14) 0%, transparent 30%),
    linear-gradient(180deg, #fff8fb 0%, #fffdf9 58%, #fff8f1 100%) !important;
  border-color: rgba(112, 115, 124, .20) !important;
}

.top-home .brand-lockup {
  grid-area: brand !important;
  width: 136px !important;
  height: 44px !important;
  min-width: 136px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.top-home .brand-lockup-img {
  width: 136px !important;
  height: 44px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* v190: calmer password reset screen shown only after auth recovery. */
.reset-password-screen {
  padding-top: 34px !important;
}

.reset-password-screen .auth-back {
  top: 22px !important;
}

.reset-password-screen .auth-hero {
  padding: 34px 0 18px !important;
}

.reset-password-screen .auth-logo-small {
  width: min(146px, 46vw) !important;
  margin-bottom: 18px !important;
}

.reset-password-screen .auth-title {
  max-width: none !important;
  margin-bottom: 9px !important;
  font-size: 30px !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

.reset-password-screen .auth-subtitle {
  max-width: 252px !important;
  margin: 0 auto !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* 회원가입/로그인(이메일) 화면: 로고·제목 크기 축소 */
.loginemail-screen .auth-logo-small {
  width: min(146px, 42vw) !important;
  margin-bottom: 18px !important;
}
.loginemail-screen .auth-title {
  font-size: 26px !important;
  margin-bottom: 9px !important;
  line-height: 1.1 !important;
}
.loginemail-screen .auth-subtitle {
  font-size: 13px !important;
}
/* 입력 필드 박스 제거 → 밑줄 스타일 */
.loginemail-screen .form-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 11px 2px !important;
}
.loginemail-screen .form-input:focus {
  border-bottom-color: var(--orange) !important;
  box-shadow: none !important;
}
/* 폼 전체를 감싸던 카드(배경·테두리·그림자) 제거 */
.loginemail-screen .auth-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 8px 0 0 !important;
}

.reset-password-screen .auth-form {
  margin-top: 12px !important;
  padding: 18px !important;
  gap: 13px !important;
  background: rgba(255, 253, 249, .76) !important;
  border: 1px solid rgba(112, 115, 124, .14) !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 28px rgba(112, 115, 124, .08) !important;
}

.reset-password-screen .form-label {
  font-size: 12px !important;
  color: #241915 !important;
}

.reset-password-screen .form-input {
  height: 50px !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  background: #fffdf9 !important;
  color: #241915 !important;
  border: 1.5px solid rgba(36, 25, 21, .14) !important;
  box-shadow: none !important;
}

.reset-password-screen .form-input::placeholder {
  color: rgba(36, 25, 21, .42) !important;
}

.reset-password-screen .auth-form .pill {
  height: 52px !important;
  font-size: 14px !important;
  box-shadow: 0 12px 26px rgba(255, 90, 53, .18) !important;
}

body.auth-route .install-prompt {
  display: none !important;
}

/* v192: intro screen uses the symbol only, so the headline can breathe. */
.auth-hero-start {
  justify-content: center !important;
  padding-top: 40px !important;
}

.auth-symbol-start {
  width: 96px !important;
  height: 96px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 26px !important;
  margin-bottom: 26px !important;
  background: #f0bed4 !important;
  border: 0 !important;
  box-shadow: 0 18px 42px rgba(112, 115, 124, .14) !important;
  transform: none !important;
  animation: none !important;
}

.auth-hero-start .auth-title {
  font-size: 34px !important;
  line-height: 1.04 !important;
  margin-bottom: 12px !important;
}

.simple-profile-card + .simple-status-my + .section.list .thumb {
  width: 44px !important;
  height: 44px !important;
}

.simple-profile-card + .simple-status-my + .section.list .thumb-svg-icon {
  width: 32px !important;
  height: 32px !important;
  border-width: 1.2px !important;
  background: #fff7f1 !important;
}

.simple-profile-card + .simple-status-my + .section.list .thumb-svg-icon svg,
.simple-profile-card + .simple-status-my + .section.list .thumb-svg-icon svg * {
  width: 15px !important;
  height: 15px !important;
  stroke-width: 1.35 !important;
}

.home-finder .pill-dark {
  gap: 5px !important;
  min-width: 104px !important;
}

/* v191: make the home CTA icon intentional instead of an empty-looking gap. */
.home-finder .home-start-pill {
  gap: 7px !important;
  padding-left: 12px !important;
  padding-right: 16px !important;
}

.home-start-icon {
  flex: 0 0 19px !important;
  width: 19px !important;
  height: 19px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: -1px !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 249, .24) !important;
  border: 1px solid rgba(255, 253, 249, .36) !important;
  color: #fffdf9 !important;
}

.home-start-icon svg {
  width: 11px !important;
  height: 11px !important;
  margin: 0 !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.2 !important;
}

/* v193 admin product catalog: add, hide, restore products from the app admin screen. */
.admin-product-panel {
  display: grid !important;
  gap: 14px !important;
}

.admin-product-form {
  display: grid !important;
  gap: 10px !important;
  padding: 14px !important;
  border: 1px solid rgba(17, 17, 17, .08) !important;
  border-radius: 22px !important;
  background: #fffdf9 !important;
  box-shadow: 0 12px 30px rgba(17, 17, 17, .04) !important;
}

.admin-search-input {
  height: 48px !important;
  background: #fffdf9 !important;
  color: #241915 !important;
  border: 1.5px solid rgba(17, 17, 17, .12) !important;
  box-shadow: none !important;
}

.admin-product-group {
  display: grid !important;
  gap: 8px !important;
}

.admin-product-group h3 {
  margin: 6px 0 2px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #241915 !important;
}

.admin-product-row {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px !important;
  border: 1px solid rgba(17, 17, 17, .08) !important;
  border-radius: 18px !important;
  background: #fffdf9 !important;
}

.admin-product-thumb {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(17, 17, 17, .08) !important;
  background: white !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.admin-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.admin-product-thumb svg {
  width: 24px !important;
  height: 24px !important;
  fill: var(--orange) !important;
  stroke: var(--orange) !important;
}

.admin-product-meta {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.admin-product-meta strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  color: #241915 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

.admin-product-meta span {
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: rgba(36, 25, 21, .58) !important;
  word-break: keep-all !important;
}

.admin-mini-pill {
  min-width: 56px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

@media (max-width: 420px) {
  .admin-product-row {
    grid-template-columns: 52px minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  .admin-product-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
  }
}

/* v194 home header spacing: smaller official logo and calmer gap to action chips. */
.top.top-home {
  padding-top: 16px !important;
}

.top-home .top-row {
  row-gap: 7px !important;
  column-gap: 8px !important;
  align-content: start !important;
}

.top-home .brand-lockup {
  width: 122px !important;
  min-width: 122px !important;
  height: 39px !important;
  min-height: 39px !important;
  margin: 0 0 1px 0 !important;
  align-self: start !important;
}

.top-home .brand-lockup-img {
  width: 122px !important;
  height: 39px !important;
  max-height: 39px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.top-home .store,
.top-home .point-status {
  margin-top: 0 !important;
}

@media (max-width: 420px) {
  .top.top-home {
    padding-top: 14px !important;
  }

  .top-home .top-row {
    row-gap: 6px !important;
  }

  .top-home .brand-lockup {
    width: 116px !important;
    min-width: 116px !important;
    height: 37px !important;
    min-height: 37px !important;
  }

  .top-home .brand-lockup-img {
    width: 116px !important;
    height: 37px !important;
    max-height: 37px !important;
  }
}

/* v195 non-home headers: keep the official HaloZero logo everywhere. */
.top:not(.top-home) .brand-lockup,
.top-row .brand-lockup {
  width: 122px !important;
  min-width: 122px !important;
  height: 39px !important;
  min-height: 39px !important;
  margin: 0 0 1px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.top:not(.top-home) .brand-lockup::before,
.top:not(.top-home) .brand-lockup::after,
.top-row .brand-lockup::before,
.top-row .brand-lockup::after {
  content: none !important;
  display: none !important;
}

.top:not(.top-home) .brand-lockup-img,
.top-row .brand-lockup-img {
  display: block !important;
  width: 122px !important;
  height: 39px !important;
  max-width: 122px !important;
  max-height: 39px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
  border-radius: 0 !important;
  filter: none !important;
}

.top:not(.top-home) .top-row {
  row-gap: 7px !important;
  column-gap: 8px !important;
  align-content: start !important;
}

@media (max-width: 420px) {
  .top:not(.top-home) .brand-lockup,
  .top-row .brand-lockup {
    width: 116px !important;
    min-width: 116px !important;
    height: 37px !important;
    min-height: 37px !important;
  }

  .top:not(.top-home) .brand-lockup-img,
  .top-row .brand-lockup-img {
    width: 116px !important;
    height: 37px !important;
    max-width: 116px !important;
    max-height: 37px !important;
  }
}

/* =========================================================================
   Community comments modal (v=203)
   ========================================================================= */
.community-comments-modal .comment-post-body {
  background: var(--orange-soft, #FFF1EC);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: #5a5a5a;
  margin: 0 0 10px;
}

.comment-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  text-align: left;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #f0e8e4;
  border-radius: 12px;
  padding: 10px 12px;
}

.comment-item-main {
  min-width: 0;
  flex: 1;
}

.comment-item-main strong {
  font-size: 13px;
  color: #2b2b2b;
  margin-right: 6px;
}

.comment-item-main span {
  font-size: 11px;
  color: #b3a7a0;
}

.comment-item-main p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
  word-break: break-word;
}

.comment-delete {
  flex: none;
  border: none;
  background: none;
  color: #ff4f30;
  font-size: 12px;
  padding: 2px 4px;
  cursor: pointer;
}

.comment-list-empty {
  text-align: center;
  font-size: 13px;
  color: #b3a7a0;
  padding: 18px 0;
}

/* =========================================================================
   Favorite heart badge — P 분류 마크를 대체 (v=204)
   ========================================================================= */
.art-fav,
.detail-fav {
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  background: #fff !important;
  color: #ff4f30 !important;
  font-weight: 500 !important;
  font-family: inherit;
}

.art-fav {
  font-size: 14px !important;
  min-width: 26px !important;
  min-height: 26px !important;
}

.detail-fav {
  font-size: 21px !important;
}

.detail-fav span {
  transform: translateY(-1px);
}

.art-fav.is-fav,
.detail-fav.is-fav {
  background: #ff4f30 !important;
  color: #fff !important;
}

/* =========================================================================
   공구 관리 화면 개선 (v=207)
   ========================================================================= */
.admin-note .simple-kicker {
  display: inline-block;
  margin-bottom: 12px;
}

.admin-note h2 {
  margin: 0 0 8px;
  line-height: 1.35;
}

.admin-readonly {
  display: flex;
  align-items: center;
  background: #f6f1ec !important;
  color: #8a7d75 !important;
  pointer-events: none;
}

.tier-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.tier-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  align-items: center;
  gap: 6px;
}

.tier-row span {
  font-size: 12px;
  color: #8a7d75;
  white-space: nowrap;
}

.tier-row .form-input {
  min-width: 0;
  text-align: center;
}

.tier-remove {
  border: 0;
  background: #fff;
  color: #ff4f30;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(17,17,17,.08);
}

.tier-add-btn {
  margin-top: 8px;
  width: 100%;
}

.theme-pick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.theme-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid #f0e8e4;
  border-radius: 14px;
  background: #fff;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #6b6059;
  cursor: pointer;
}

.theme-pick .theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

.theme-pick-orange .theme-dot { background: #ff4f30; }
.theme-pick-pink .theme-dot { background: #ff7da3; }
.theme-pick-warm .theme-dot { background: #f0b46a; }
.theme-pick-ink .theme-dot { background: #1c1c1c; }

.theme-pick.on {
  border-color: #ff4f30;
  color: #ff4f30;
  background: #fff1ec;
}

/* =========================================================================
   관리자 가입자/참여자 목록 + 제품 사진 업로드 (v=208)
   ========================================================================= */
.admin-member-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fff !important;
  border: 1.5px solid #f0e8e4 !important;
  border-radius: 16px;
  padding: 12px 14px;
  color: #2b2b2b !important;
}

.admin-member-row strong {
  font-size: 14px;
  color: #1c1c1c !important;
}

.admin-member-row span {
  font-size: 12.5px;
  color: #6b6059 !important;
  word-break: break-all;
}

.admin-member-row em {
  font-style: normal;
  font-size: 11.5px;
  color: #b3a7a0 !important;
}

.admin-deal-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-deal-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 2px solid #f0e8e4;
  border-radius: 14px;
  background: #fff;
  padding: 9px 12px;
  cursor: pointer;
  max-width: 100%;
}

.admin-deal-pick strong {
  font-size: 12.5px;
  color: #2b2b2b;
  text-align: left;
}

.admin-deal-pick span {
  font-size: 11px;
  color: #ff4f30;
  font-weight: 600;
}

.admin-deal-pick.on {
  border-color: #ff4f30;
  background: #fff1ec;
}

.admin-product-image-preview {
  display: none;
}

.admin-product-image-preview.has-photo {
  display: block;
  margin: 4px 0 8px;
}

.admin-product-image-preview img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  border: 1.5px solid #f0e8e4;
  background: #fff;
}

/* =========================================================================
   공구 상품 검색 선택 (v=210)
   ========================================================================= */
.deal-product-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.deal-product-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1.5px solid #f0e8e4;
  border-radius: 14px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
}

.deal-product-result img,
.deal-product-noimg {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  object-fit: contain;
  background: #fff7f2;
}

.deal-product-noimg {
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #b3a7a0;
  text-align: center;
}

.deal-product-result-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.deal-product-result-meta strong {
  font-size: 13px;
  color: #2b2b2b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-product-result-meta em {
  font-style: normal;
  font-size: 11.5px;
  color: #8a7d75;
}

.deal-product-empty {
  font-size: 12.5px;
  color: #b3a7a0;
  padding: 8px 4px;
}

/* =========================================================================
   헤더 통일 최종 오버라이드 (v=211)
   모든 화면이 홈과 같은 로고/그라데이션 헤더를 쓰고,
   로고는 첫 줄 전체, 칩들은 둘째 줄에 나란히 — 겹침 방지
   ========================================================================= */
.top-home .top-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-rows: 38px auto !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 10px !important;
}

.top-home .top-row .brand-lockup {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

.top-home .top-row .store {
  grid-column: 1 !important;
  grid-row: 2 !important;
  position: static !important;
  max-width: none !important;
  width: fit-content !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.top-home .top-row .point-status {
  grid-column: 2 !important;
  grid-row: 2 !important;
  position: static !important;
  justify-self: start !important;
  width: fit-content !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* =========================================================================
   지도 매장 핀 — 화이트 원 + 주황 링 + 심볼 (v=212 최종 오버라이드)
   ========================================================================= */
.leaflet-marker-icon.halo-map-marker,
.halo-map-marker {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.halo-map-marker span {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  background: #fff !important;
  border: 3px solid #ff4f30 !important;
  border-radius: 50% 50% 50% 6px !important;
  transform: rotate(-45deg) !important;
  box-shadow: 0 6px 16px rgba(112, 115, 124, .30) !important;
}

.halo-map-marker img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  transform: rotate(45deg) !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 0 !important;
  filter: none !important;
}

/* =========================================================================
   디자인 폴리시 (v=213)
   1) 주황 배경 + 검정 글씨 → 주황 + 화이트로 통일 (맞춤 시작 버튼 톤)
   2) 챌린지 상세 / 알림 화면 정리
   ========================================================================= */

/* 1) 주황+화이트 통일 */
.screen .simple-kicker,
.screen .tag,
.screen .right .tag,
.screen .discount-badge,
.screen .badge,
.screen .thumb-mark,
.screen .group-discount,
.screen .pill-dark {
  background: #ff5a35 !important;
  color: #fffdf9 !important;
  border-color: #ff5a35 !important;
}

.screen .tile.pink,
.screen .tile.hot {
  background: #ff5a35 !important;
  border-color: #ff5a35 !important;
}

.screen .tile.pink h3,
.screen .tile.hot h3 {
  color: #fffdf9 !important;
}

.screen .tile.pink span,
.screen .tile.hot span,
.screen .tile.pink em,
.screen .tile.hot em {
  color: rgba(255, 253, 249, .78) !important;
}

/* 2) 챌린지 상세 히어로 */
.challenge-detail-hero {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.challenge-detail-sub {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #8a7d75 !important;
}

.challenge-detail-progress {
  height: 8px;
  border-radius: 999px;
  background: #ffe6dd;
  overflow: hidden;
}

.challenge-detail-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a35, #ff8d6c);
}

.challenge-detail-hero .hero-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 2px !important;
}

/* 3) 챌린지 일자 그리드 — 대기는 연하게, 완료는 주황 채움 */
.screen .timeline {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 8px !important;
}

.screen .timeline .day {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 10px 0 !important;
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.screen .timeline .day strong {
  font-size: 12px !important;
  color: #8a7d75 !important;
}

.screen .timeline .day span {
  font-size: 10.5px !important;
  color: #c8bcb5 !important;
}

.screen .timeline .day.on {
  background: #ff5a35 !important;
  border-color: #ff5a35 !important;
}

.screen .timeline .day.on strong,
.screen .timeline .day.on span {
  color: #fffdf9 !important;
}

/* 4) 알림 화면 — 회색 띠 제거, 카드 화이트 통일 */
.screen .quick-row {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.screen .list .item.notif {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.screen .list .item.notif .item-title {
  color: #211815 !important;
}

.screen .list .item.notif .item-sub {
  color: #8a7d75 !important;
}

.screen .list .item.notif .thumb {
  background: #fff1ec !important;
  border: 0 !important;
}

.screen .list .item.notif .notif-icon,
.screen .list .item.notif .thumb svg {
  color: #ff4f30 !important;
}

.screen .list .item.notif .right .tag {
  background: #fff1ec !important;
  color: #ff4f30 !important;
  border: 0 !important;
}

.screen .list .item.notif .chip-x {
  width: 26px;
  height: 26px;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f6f1ec !important;
  color: #8a7d75 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* =========================================================================
   관리자 제품 사진 교체 (v=215)
   ========================================================================= */
.admin-product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  flex: none;
}

.admin-product-actions .admin-mini-pill {
  min-height: 30px !important;
  padding: 0 12px !important;
  font-size: 11.5px !important;
  white-space: nowrap;
}

.admin-category-checks {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.admin-category-check {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(17, 17, 17, 0.12) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #55575d !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.admin-category-check input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.admin-category-check:has(input:checked),
.admin-category-check.is-checked {
  border-color: var(--wds-primary) !important;
  background: rgba(255, 79, 48, 0.08) !important;
  color: var(--wds-primary) !important;
}

.admin-field-help {
  display: block !important;
  margin-top: 6px !important;
  color: #9a9aa1 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

.admin-photo-pill {
  cursor: pointer;
}

.admin-override-note {
  font-style: normal;
  font-size: 11px;
  color: #ff4f30;
  font-weight: 600;
}

/* =========================================================================
   디자인 폴리시 2차 (v=216)
   주황 배경 카드/타일 → 화이트, 검색 드롭다운 수정, 버튼/아이콘/헤더 정리
   ========================================================================= */

/* 1) 제품 카드/카테고리 타일/챌린지 배너 — 주황 배경 제거, 화이트 통일 */
.screen .product {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  box-shadow: none !important;
}

.screen .product h3 { color: #211815 !important; }
.screen .product p { color: #8a7d75 !important; }
.screen .product .price { color: #ff4f30 !important; }
.screen .product .was { color: #b8aca5 !important; }

.screen .tile,
.screen .tile.pink,
.screen .tile.hot,
.screen .tile.warm {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  box-shadow: none !important;
}

.screen .tile h3,
.screen .tile.pink h3,
.screen .tile.hot h3 { color: #211815 !important; }

.screen .tile span,
.screen .tile em,
.screen .tile.pink span,
.screen .tile.hot span,
.screen .tile.pink em,
.screen .tile.hot em { color: #ff4f30 !important; }

.screen .challenge-card.simple-challenge {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  box-shadow: none !important;
}

.screen .challenge-card.simple-challenge h3 { color: #211815 !important; }
.screen .challenge-card.simple-challenge p { color: #8a7d75 !important; }

/* 2) CTA 버튼 글씨는 항상 화이트 (오늘 인증 등 모든 화면) */
.screen .pill-cta,
.screen .pill-dark,
.pill-cta,
.pill-dark {
  color: #fffdf9 !important;
}

/* 3) 검색 자동완성 드롭다운 — 입력창 아래 화이트 카드로 고정 */
.screen .sug-host {
  position: relative !important;
}

.screen .sug-dropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 60 !important;
  margin: 0 !important;
  padding: 6px !important;
  background: #fff !important;
  border: 1.5px solid #f0e3dc !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 36px rgba(33, 24, 21, .14) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
}

.screen .sug-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  padding: 9px 10px !important;
  text-align: left !important;
  cursor: pointer;
}

.screen .sug-item:active { background: #fff1ec !important; }

.screen .sug-icon {
  flex: none !important;
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  background: #fff1ec !important;
  color: #ff4f30 !important;
}

.screen .sug-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
}

.screen .sug-text strong {
  font-size: 13px !important;
  color: #211815 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen .sug-text em {
  font-style: normal !important;
  font-size: 11.5px !important;
  color: #ff4f30 !important;
}

.screen .sug-text mark.hl {
  background: transparent !important;
  color: #ff4f30 !important;
}

/* 4) 리스트 아이콘 — 알파벳 대신 아이콘, 부드러운 배경 */
.screen .thumb .thumb-svg-icon {
  display: grid !important;
  place-items: center !important;
  color: #ff4f30 !important;
}

.screen .thumb .thumb-svg-icon svg {
  width: 20px !important;
  height: 20px !important;
}

/* 5) 헤더 설명글 크기 통일 (줄바꿈 어색함 방지) */
.top-home h1 {
  word-break: keep-all !important;
}

.top-home .lead,
.top .lead {
  font-size: 13px !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
}

/* 6) 제품 상세 상단 관리/찜 버튼 정렬 */
.detail-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

/* =========================================================================
   화이트 톤 최종 오버라이드 (v=216b) — nth-child 교차 주황 패턴 제거
   ========================================================================= */
.screen .tile,
.screen .tile:nth-child(2n),
.screen .grid3 .tile,
.screen .grid3 .tile:nth-child(2n),
.screen .tile.pink,
.screen .tile.hot,
.screen .tile.warm {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
  box-shadow: none !important;
}

.screen .tile small,
.screen .tile:nth-child(2n) small {
  color: #ff4f30 !important;
}

.screen .products .product,
.screen .products .product:nth-child(2n),
.screen .product:nth-child(2n) {
  background: #fff !important;
  color: #211815 !important;
}

.screen .product:nth-child(2n) h3 { color: #211815 !important; }
.screen .product:nth-child(2n) p { color: #8a7d75 !important; }
.screen .product:nth-child(2n) .price { color: #ff4f30 !important; }
.screen .product:nth-child(2n) .was { color: #b8aca5 !important; }

.screen .list .item,
.screen .list .item:nth-child(2n) {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
  box-shadow: none !important;
}

.screen .list .item .item-title,
.screen .list .item:nth-child(2n) .item-title { color: #211815 !important; }

.screen .list .item .item-sub,
.screen .list .item:nth-child(2n) .item-sub { color: #8a7d75 !important; }

.screen .list .item .price,
.screen .list .item:nth-child(2n) .price { color: #ff4f30 !important; }

.screen .list .item .tag,
.screen .list .item:nth-child(2n) .tag {
  background: #ff5a35 !important;
  color: #fffdf9 !important;
}

.screen .community-post,
.screen .community-post:nth-child(2n) {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
}

.screen .community-post:nth-child(2n) p,
.screen .community-post p { color: #4a4038 !important; }

/* 화이트 톤 — 모든 nth-child 변형 커버 (v=216c) */
.screen .tile:nth-child(n),
.screen .grid3 .tile:nth-child(n),
.screen section .tile:nth-child(n) {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
  box-shadow: none !important;
}

.screen .tile:nth-child(n) small,
.screen .grid3 .tile:nth-child(n) small {
  color: #ff4f30 !important;
}

.screen .products .product:nth-child(n),
.screen section .product:nth-child(n) {
  background: #fff !important;
  color: #211815 !important;
}

.screen .product:nth-child(n) h3 { color: #211815 !important; }
.screen .product:nth-child(n) p { color: #8a7d75 !important; }
.screen .product:nth-child(n) .price { color: #ff4f30 !important; }
.screen .product:nth-child(n) .was { color: #b8aca5 !important; }

.screen .list .item:nth-child(n),
.screen section .list .item:nth-child(n) {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
}

.screen .list .item:nth-child(n) .item-title { color: #211815 !important; }
.screen .list .item:nth-child(n) .item-sub { color: #8a7d75 !important; }
.screen .list .item:nth-child(n) .price { color: #ff4f30 !important; }
.screen .list .item:nth-child(n) .tag { background: #ff5a35 !important; color: #fffdf9 !important; }

.screen .community-post:nth-child(n) {
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #211815 !important;
}

.screen .community-post:nth-child(n) p { color: #4a4038 !important; }

/* =========================================================================
   포인트 화면 + 브랜드 3색 포인트 컬러 (v=217)
   주황 = CTA/강조, 핑크 = 박스 배경 전용, 화이트 = 카드, 검정 = 본문
   ========================================================================= */
.point-balance-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  border-radius: 22px;
  padding: 20px 18px;
}

.point-balance-card strong {
  font-size: 40px;
  font-weight: 500;
  color: #ff4f30;
  line-height: 1;
}

.point-balance-card p {
  margin: 0;
  font-size: 12.5px;
  color: #8a7d75;
}

.point-convert-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(112,115,124,.16);
  border-radius: 18px;
  padding: 16px 14px;
}

.point-convert-form .pill[disabled] {
  opacity: .45;
  pointer-events: none;
}

.point-convert-note {
  margin: 0;
  font-size: 11.5px;
  color: #b3a7a0;
  text-align: center;
}

/* 핑크 — 박스 배경 전용 (글자는 진한 색 유지) */
.screen .chip,
.screen .chip:nth-child(n) {
  background: #ffe3ec !important;
  border: 0 !important;
  color: #7c3a52 !important;
}

.screen .empty-state,
.screen .empty-state:nth-child(n) {
  background: #fff0f5 !important;
  border: 1.5px solid #ffd9e6 !important;
  color: #211815 !important;
}

.screen .empty-state strong { color: #211815 !important; }
.screen .empty-state span { color: #8a6b78 !important; }

.screen .checkin-chip {
  background: #ffe3ec !important;
  border: 0 !important;
}

.screen .checkin-chip strong { color: #7c3a52 !important; }
.screen .checkin-chip span { color: #b07b91 !important; }

/* 제품 상세 하단 — 후기 남기기 + 하트 버튼 높이/정렬 통일 */
.screen .fab-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
}

.screen .fab-row .pill-cta {
  flex: 1 !important;
  min-height: 52px !important;
}

.screen .fab-row .pill-square {
  flex: none !important;
  width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #fff !important;
  border: 1.5px solid rgba(112,115,124,.16) !important;
  color: #ff4f30 !important;
  font-size: 19px !important;
}

/* =========================================================================
   주황 메인 컬러 복원 (v=219)
   원칙: 주황 배경에는 항상 화이트 글씨. 화이트 카드와 교차해 리듬감 있게.
   ========================================================================= */

/* 카테고리 타일 — pink/hot 타일은 주황 채움 + 화이트 글씨 */
.screen .tile.pink:nth-child(n),
.screen .tile.hot:nth-child(n),
.screen .grid3 .tile.pink:nth-child(n),
.screen .grid3 .tile.hot:nth-child(n) {
  background: linear-gradient(150deg, #ff6a43 0%, #ff4f30 100%) !important;
  border-color: #ff4f30 !important;
  color: #fffdf9 !important;
}

.screen .tile.pink:nth-child(n) small,
.screen .tile.hot:nth-child(n) small,
.screen .grid3 .tile.pink:nth-child(n) small,
.screen .grid3 .tile.hot:nth-child(n) small {
  color: rgba(255, 253, 249, .85) !important;
}

/* 홈 챌린지/커뮤니티 배너 — 주황 채움 */
.screen .challenge-card.simple-challenge {
  background: linear-gradient(135deg, #ff5a35 0%, #ff7e52 100%) !important;
  border: 0 !important;
}

.screen .challenge-card.simple-challenge h3 { color: #fffdf9 !important; }
.screen .challenge-card.simple-challenge p { color: rgba(255, 253, 249, .85) !important; }
.screen .challenge-card.simple-challenge .stamp { background: #fffdf9 !important; }

/* 포인트 잔액 카드 — 주황 채움 + 화이트 숫자 */
.point-balance-card {
  background: linear-gradient(135deg, #ff5a35 0%, #ff7e52 100%) !important;
  border: 0 !important;
}

.point-balance-card strong { color: #fffdf9 !important; }
.point-balance-card p { color: rgba(255, 253, 249, .85) !important; }
.point-balance-card .simple-kicker { background: #fffdf9 !important; color: #ff4f30 !important; }

/* 공구 히어로 — 주황 채움 */
.screen .group-buy-hero {
  background: linear-gradient(135deg, #ff5a35 0%, #ff7e52 100%) !important;
  border: 0 !important;
}

.screen .group-buy-hero h2 { color: #fffdf9 !important; }
.screen .group-buy-hero p { color: rgba(255, 253, 249, .85) !important; }
.screen .group-buy-hero .simple-kicker { background: #fffdf9 !important; color: #ff4f30 !important; }
.screen .group-buy-hero .group-buy-hero-mark { background: #fffdf9 !important; }
.screen .group-buy-hero .group-buy-hero-mark strong { color: #ff4f30 !important; }
.screen .group-buy-hero .group-buy-hero-mark span { color: #8a7d75 !important; }

/* 커뮤니티 히어로도 주황 */
.screen .community-hero {
  background: linear-gradient(135deg, #ff5a35 0%, #ff7e52 100%) !important;
  border: 0 !important;
}

.screen .community-hero h2 { color: #fffdf9 !important; }
.screen .community-hero p { color: rgba(255, 253, 249, .85) !important; }
.screen .community-hero .simple-kicker { background: #fffdf9 !important; color: #ff4f30 !important; }

/* 헤더 포인트 칩 — 주황 채움으로 시선 끌기 */
.top-home .point-status {
  background: #ff5a35 !important;
  color: #fffdf9 !important;
  border-color: #ff5a35 !important;
  font-weight: 500 !important;
}

/* MY HALO 카드와 전환 폼 끝선 정렬 (v=221) */
.screen .point-balance-card,
.screen section.point-balance-card {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
}

.screen .point-convert-form {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
}

/* =========================================================================
   타이포그래피 통일 (v=223)
   기준: 주황 히어로 카드 스케일 — 킥커 11px / 제목 21px / 본문 13px
   ========================================================================= */

/* 헤더 큰 제목 (HaloZero 제품, 웰니스 공동구매, Halo 포인트 등) 28px → 22px */
.top h1,
.top-home h1 {
  font-size: 22px !important;
  line-height: 1.32 !important;
  letter-spacing: -0.01em !important;
}

/* 화면 내 히어로 제목 (0회 인증 완료, 오늘 필요한 웰니스만 골라요 등) */
.screen .hero-title {
  font-size: 22px !important;
  line-height: 1.32 !important;
}

.screen .hero-title-sm {
  font-size: 17px !important;
}

/* 주황 히어로 카드 제목 — 기준 크기로 고정 */
.screen .group-buy-hero h2,
.screen .community-hero h2,
.screen .simple-hero h2,
.screen .admin-note h2 {
  font-size: 21px !important;
  line-height: 1.32 !important;
}

/* 섹션 제목 (베스트 상품, 매장 포인트 전환 등) */
.screen .section-head h2 {
  font-size: 16px !important;
}

/* 본문/설명 통일 13px */
.screen .lead,
.screen .group-buy-hero p,
.screen .community-hero p,
.screen .simple-hero p,
.screen .admin-note p,
.screen .challenge-card.simple-challenge p {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.screen .challenge-card.simple-challenge h3 {
  font-size: 18px !important;
}

/* 가운데 큰 제목류 (브랜드 소개 등) */
.screen .center-h2 {
  font-size: 22px !important;
  line-height: 1.35 !important;
}

/* 상세 가격 크게 보이던 것 정돈 */
.screen .price-row.big .price {
  font-size: 21px !important;
}

/* 통계 숫자 */
.screen .stat strong {
  font-size: 18px !important;
}

/* =========================================================================
   커뮤니티 사진 크기 적정화 + 페이지화 (v=226)
   ========================================================================= */
.screen .community-post .community-photo,
.screen .community-photo-preview img {
  width: 100% !important;
  max-height: 320px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: #f6f1ec !important;
  border: 1.5px solid #f0e3dc !important;
  border-radius: 16px !important;
  margin: 12px 0 2px !important;
}

.community-more-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.community-more {
  min-height: 42px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
}

/* =========================================================================
   아이폰 노치/상태바 안전 영역 (v=229)
   홈 화면에 추가(standalone) 모드에서 콘텐츠가 상태바 밑으로 파고들지 않게
   ========================================================================= */
.screen {
  padding-top: calc(22px + env(safe-area-inset-top, 0px)) !important;
}

.tabbar {
  margin-bottom: env(safe-area-inset-bottom, 0px) !important;
}

/* 관리자 예약 처리 버튼 (v=230) */
.admin-member-row .admin-row-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* 공구 박스 단위 표기 (v=231) */
.group-price-row .group-price-unit {
  font-style: normal;
  font-size: 11px;
  color: #8a7d75;
  font-weight: 500;
}

.gb-join-modal .admin-field { text-align: left; }
.gb-join-modal .form-textarea { min-height: 64px; }

/* 신고 모달 (v=233) */
.report-reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 4px 0 10px;
}

.report-reason {
  border: 1.5px solid #f0e3dc;
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b6059;
  cursor: pointer;
}

.report-reason.on {
  border-color: #ff4f30;
  background: #fff1ec;
  color: #ff4f30;
}

.report-block-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  font-size: 12.5px;
  color: #6b6059;
  margin: 4px 0;
}

.report-note {
  font-size: 11.5px;
  color: #b3a7a0;
  margin: 4px 0 0;
}

.community-actions .post-report {
  margin-left: auto;
  font-size: 11.5px !important;
  color: #b3a7a0 !important;
  background: transparent !important;
  border: 0 !important;
}

.comment-report {
  color: #b3a7a0 !important;
}

/* v=235: 하단 탭바 위치 원복 — safe-area 여백이 이중 적용되어 떠 보이던 문제 수정 */
.tabbar {
  margin-bottom: 0 !important;
}

/* 공구 참여 중 카드 버튼 (v=236) */
.group-joined-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.group-joined-chip {
  flex: none;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
}

.group-joined-edit {
  flex: 1;
}

/* =========================================================================
   모달 핑크 톤 통일 (v=238) — 주황+검정 팝업 잔재 제거
   ========================================================================= */
.modal {
  background: linear-gradient(180deg, #fff5f8 0%, #ffe9f0 100%) !important;
  border: 0 !important;
  box-shadow: 0 24px 52px rgba(124, 58, 82, .28) !important;
  color: #211815 !important;
}

.modal h3 { color: #211815 !important; }
.modal p { color: #7a6570 !important; }

.modal .modal-icon {
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 16px rgba(124, 58, 82, .15) !important;
}

.modal .modal-icon svg { color: #ff4f30 !important; }

.modal-icon-symbol {
  display: grid !important;
  place-items: center !important;
}

.modal-logo-img {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
}

/* 모달 안 흰 카드/입력 요소는 또렷하게 */
.modal .form-input,
.modal .admin-field .form-input {
  background: #fff !important;
  border: 1.5px solid #f3d9e2 !important;
  color: #211815 !important;
}

.modal .pill-soft {
  background: #fff !important;
  border: 1.5px solid #f3d9e2 !important;
  color: #7a6570 !important;
}

/* 모달 3버튼 줄 넘침 수정 (v=239) — 참여 취소 버튼 삐져나옴 */
.modal .modal-row-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.modal .modal-row-3 .pill {
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

/* 공구 카드 가격 줄바꿈 정리 (v=240) — "17,000\원" 깨짐 방지 */
.group-buy-card .group-price-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 8px !important;
}

.group-buy-card .group-price-row strong {
  font-size: 21px !important;
  white-space: nowrap !important;
}

.group-buy-card .group-price-row span {
  white-space: nowrap !important;
}

.group-buy-card .group-price-unit {
  white-space: nowrap !important;
}

/* 모달 버튼 세로 스택 (v=241) — 좁은 화면에서도 절대 안 넘침 */
.modal .modal-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.modal .modal-stack .pill {
  width: 100% !important;
  min-height: 46px !important;
  min-width: 0 !important;
}

/* 공구 카드 참여 버튼 세로 배치 (v=242) — 신청정보 버튼이 아래로 */
.group-buy-card .group-joined-row {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.group-buy-card .group-joined-chip {
  width: 100% !important;
  justify-content: center !important;
}

.group-buy-card .group-joined-edit {
  width: 100% !important;
  min-height: 44px !important;
}

/* v1.1: 제품 리스트 썸네일 확대 + 이미지 꽉 채우기 */
.item .thumb.thumb-art { width: 76px !important; height: 76px !important; border-radius: 18px !important; }
.item .thumb.thumb-art .thumb-photo { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.item .thumb.thumb-art .thumb-icon svg { width: 34px; height: 34px; }

/* v1.1: 이미지 영역 검은박스 방지 (이미지 없음/로딩실패/다크모드 대비) */
.art, .product .art, .thumb.thumb-art {
  background: #fbeee8 !important;
}
[data-theme="dark"] .art,
[data-theme="dark"] .product .art,
[data-theme="dark"] .thumb.thumb-art {
  background: #3a322e !important;
}
.art-icon, .thumb-icon, .art-icon svg, .thumb-icon svg { color: #e8855f !important; opacity: 1 !important; }
.product .art img, .thumb.thumb-art .thumb-photo { background: #fff; }

/* v1.1: 제품 편집 모달 가로 넘침 방지 (admin-grid 2열 -> 1열, 입력칸 너비 제한) */
.product-edit-modal { max-width: 400px !important; box-sizing: border-box !important; }
.product-edit-modal .admin-grid,
.product-edit-modal .admin-grid-two { grid-template-columns: 1fr !important; gap: 8px !important; }
.product-edit-modal .form-input,
.product-edit-modal .admin-field {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important;
}

/* v1.1.3: 제품 리스트 잘림 수정 — 썸네일 76px에 맞춰 grid 첫 칸도 76px */
.item:has(.thumb.thumb-art) { grid-template-columns: 76px minmax(0,1fr) auto !important; }
/* 제품 상세 이미지 크게 */
.detail-visual.detail-photo { min-height: 300px !important; }
.detail-visual.detail-photo .detail-img {
  max-width: 86% !important; max-height: 250px !important;
  width: auto !important; height: auto !important; object-fit: contain !important;
}

/* 커뮤니티 카드 날짜·버튼 잘림 방지 (관리자 삭제 버튼 포함 4개 줄바꿈) */
.community-post { overflow: hidden; }
.community-post-head {
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
}
.community-post-head .route-label { white-space: nowrap; flex: 0 0 auto; }
.community-actions {
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}
.community-actions .pill { flex: 0 0 auto; }

/* iOS Safari: 로그인/회원가입 입력칸의 빈 커서가 왼쪽 위로 잘못 잡히는 버그 방지.
   (form-row의 fade-up 애니메이션이 남기는 transform이 caret 좌표를 어긋나게 함) */
.auth-form .form-row { animation: none !important; }
.form-input { transform: none !important; }

/* 광고 배너 팝업 (캐러셀) */
.ad-popup-modal { max-width: 340px; padding: 14px 14px 12px; box-sizing: border-box; }
.ad-popup-x { position: absolute; top: 10px; right: 12px; background: rgba(0,0,0,.45); color: #fff; border: none; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; z-index: 3; }
.ad-popup-carousel { position: relative; width: 100%; }
.ad-popup-img { border-radius: 12px; overflow: hidden; background: #f5f3ef; max-height: 58vh; }
.ad-popup-img img { width: 100%; height: auto; max-height: 58vh; object-fit: contain; display: block; }
.ad-popup-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; border: none; font-size: 18px; line-height: 1; cursor: pointer; z-index: 2; display: grid; place-items: center; }
.ad-popup-arrow.prev { left: 8px; }
.ad-popup-arrow.next { right: 8px; }
.ad-popup-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.ad-popup-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s; }
.ad-popup-dot.on { background: var(--orange); }
.ad-popup-dismiss { margin-top: 6px; }

/* 커뮤니티 글쓰기 유도 카드 (탭하면 작성창 펼쳐짐) */
.community-composer { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: white; text-align: left; cursor: pointer; margin-bottom: 12px; transition: border-color .15s, box-shadow .15s; }
.community-composer:hover, .community-composer:active { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.community-composer-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: 0 0 auto; }
.community-composer-avatar svg { width: 20px; height: 20px; }
.community-composer-text { color: var(--sub); font-size: 14px; font-weight: 500; line-height: 1.4; }

/* 커뮤니티 글 사진 펼치기 */
.community-photo-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 2px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--sub); font-size: 13px; font-weight: 600; cursor: pointer; }
.community-photo-toggle:active { background: var(--orange-soft); border-color: var(--orange); }
.community-photo-wrap { display: none; margin-top: 8px; }
.community-photo-wrap.open { display: block; }

/* 커뮤니티 아바타에 프로필 사진 */
.community-author-avatar { overflow: hidden; }
.community-author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.community-composer-avatar { overflow: hidden; }
.community-composer-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 매장 오픈 준비중 배지 */
.store-soon-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); font-size: 11px; font-weight: 600; vertical-align: middle; margin-left: 2px; }
.tag-soon { background: var(--orange-soft) !important; color: var(--orange) !important; }

/* 홈 광고 띠배너 (풀배너: 이미지가 꽉 차게) */
.ad-banner-section { padding-top: 4px; padding-bottom: 6px; }
/* 배너 컨테이너 비율을 권장 이미지(1080×420)에 맞춰 크롭·레터박스 없이 딱 맞게 */
.ad-banner-full { position: relative; display: block; width: 100%; aspect-ratio: 1080 / 420; height: auto; border: none; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #fff; text-align: left; color: #fff; }
.ad-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(14px); transform: scale(1.08); opacity: .38; }
.ad-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-banner-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.66) 100%); pointer-events: none; }
.ad-banner-copy { position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.ad-banner-title { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 9px; border-radius: 999px; background: #ff4f30; color: #fff !important; font-size: 11px; line-height: 1; font-weight: 500; letter-spacing: 0; text-shadow: none; }
.ad-banner-body { color: #fff !important; font-size: 15px; line-height: 1.25; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.admin-banner-row { gap: 8px; }
.admin-banner-thumb { width: 100%; height: 118px; object-fit: contain; border-radius: 10px; background: #fff; margin-bottom: 2px; }
.admin-banner-row .admin-field { width: 100%; }
.admin-banner-row .form-textarea, #bannerBodyInput { min-height: 72px; resize: vertical; }

/* 매장 찾기·매장 상세 헤더: 캐릭터가 글자와 겹치지 않게 작게 + 모서리로 */
.top.top-map .top-mascot,
.top.top-storeDetail .top-mascot {
  width: 168px !important;
  right: -22px !important;
  bottom: -28px !important;
}
.top.top-map .top-text,
.top.top-storeDetail .top-text {
  max-width: 210px !important;
  position: relative;
  z-index: 2;
}
@media (max-width: 420px) {
  .top.top-map .top-mascot,
  .top.top-storeDetail .top-mascot {
    width: 152px !important;
    right: -20px !important;
    bottom: -26px !important;
  }
  .top.top-map .top-text,
  .top.top-storeDetail .top-text {
    max-width: 200px !important;
  }
}

/* ===== v2.9 식단 (R27 주간 식단 · R30 캘린더) ===== */
.diet-entry-banner { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--orange-soft); border: none; border-radius: 20px; padding: 16px 18px; cursor: pointer; text-align: left; }
.diet-entry-emoji { font-size: 28px; }
.diet-entry-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.diet-entry-text strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.diet-entry-text span { font-size: 12px; color: var(--sub); font-weight: 500; }
.diet-entry-arrow { font-size: 22px; color: var(--orange); font-weight: 600; }
.diet-progress-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.diet-progress-head { display: flex; justify-content: space-between; align-items: center; }
.diet-progress-head strong { font-size: 15px; font-weight: 600; }
.diet-progress-pct { font-size: 34px; font-weight: 600; color: var(--orange); margin: 8px 0 10px; }
.diet-progress-bar { height: 10px; border-radius: 999px; background: var(--orange-soft); overflow: hidden; }
.diet-progress-bar span { display: block; height: 100%; border-radius: 999px; background: var(--orange); transition: width .4s ease; }

.meal-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meal-slot { position: relative; }
.meal-slot-main { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 14px 10px; cursor: pointer; }
.meal-slot.on .meal-slot-main { border-style: solid; border-color: var(--orange); }
.meal-slot-visual { width: 72px; height: 72px; border-radius: 14px; background: var(--warm); display: grid; place-items: center; overflow: hidden; }
.meal-slot-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.meal-slot-ph { font-size: 26px; }
.meal-slot-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.meal-slot-badge { font-size: 11px; font-weight: 600; color: var(--orange); background: var(--orange-soft); border-radius: 999px; padding: 2px 8px; }
.meal-slot-hint { font-size: 11px; color: var(--sub); }
.meal-slot-del { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(17,17,17,.55); color: #fff; font-size: 12px; cursor: pointer; }

.meal-add-modal .meal-photo-btn { display: block; text-align: center; margin: 10px 0; cursor: pointer; }
.meal-product-search { text-align: left; }
.meal-product-results { max-height: 220px; overflow-y: auto; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.meal-product-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 10px; cursor: pointer; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink); }
.meal-product-row img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--warm); }

.diet-cal-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.diet-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.diet-cal-head strong { font-size: 16px; font-weight: 600; }
.diet-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--sub); font-weight: 600; margin-bottom: 6px; }
.diet-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.diet-cal-cell { position: relative; aspect-ratio: 1; border: none; border-radius: 10px; background: var(--warm); overflow: hidden; cursor: pointer; padding: 0; }
.diet-cal-cell.empty { background: transparent; cursor: default; }
.diet-cal-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.diet-cal-cell .diet-cal-n { position: relative; font-size: 11px; font-weight: 600; color: var(--ink); }
.diet-cal-cell.has .diet-cal-n { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.diet-cal-cell.has:not(:has(img)) .diet-cal-n { color: var(--orange); text-shadow: none; }
.diet-cal-cell.sel { outline: 2px solid var(--orange); outline-offset: -2px; }

.diet-day-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.diet-day-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--warm); }
.diet-day-ph { width: 56px; height: 56px; border-radius: 12px; background: var(--warm); display: grid; place-items: center; font-size: 22px; }
.diet-day-row div { display: flex; flex-direction: column; gap: 2px; }
.diet-day-row strong { font-size: 14px; font-weight: 600; }
.diet-day-row span { font-size: 12px; color: var(--sub); }

/* iOS WKWebView 화면 번쩍임/모서리 렌더링 깨짐 방지:
   블러(backdrop-filter)가 GPU 합성 글리치(창 전체 깜빡임, 모서리 잘려 보임)를
   유발 → 전부 끄고, 반투명이 심했던 요소는 배경 불투명도를 올려 대체 */
* {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.tabbar { background: rgba(255,255,255,.97) !important; }
.top .store,
.top .round-btn { background: rgba(255,255,255,.82) !important; }

/* ===== R01 홈 개편: 웰니스 점수 카드 ===== */
.wellness-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.wellness-hello { font-size: 14px; font-weight: 600; color: var(--sub); margin-bottom: 10px; }
.wellness-score-row { display: flex; align-items: center; gap: 14px; }
.wellness-label { font-size: 12px; font-weight: 500; color: var(--sub); }
.wellness-score { display: flex; align-items: baseline; gap: 4px; }
.wellness-score strong { font-size: 34px; font-weight: 600; color: var(--orange); line-height: 1.1; }
.wellness-score span { font-size: 13px; font-weight: 500; color: var(--sub); }
.wellness-progress { flex: 1; height: 10px; border-radius: 999px; background: var(--orange-soft); overflow: hidden; }
.wellness-progress-bar { height: 100%; border-radius: 999px; background: var(--orange); transition: width .5s ease; }
.wellness-next { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px 14px; border: none; border-radius: 14px; background: var(--orange-soft); cursor: pointer; text-align: left; }
.wellness-next-label { font-size: 11px; font-weight: 500; color: var(--sub); flex: 0 0 auto; }
.wellness-next-action { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wellness-next-pts { font-size: 14px; font-weight: 600; color: var(--orange); }
.wellness-complete { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--orange-soft); font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; }

/* R01 홈: 오늘 식단 위젯 */
.home-meal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.home-meal-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.home-meal-thumb { width: 44px; height: 44px; border-radius: 12px; background: var(--warm); display: grid; place-items: center; font-size: 18px; overflow: hidden; }
.home-meal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-meal-label { font-size: 11px; font-weight: 600; color: var(--ink); }

/* R01 홈: 추천 이유 배지 · 픽업 배너 · 챌린지 진행바 */
.reason-badges { margin-bottom: 10px; }
.chip-reason { background: var(--orange-soft) !important; color: var(--orange) !important; font-weight: 600; }
.home-rsv-banner { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.home-rsv-banner span svg { width: 18px; height: 18px; }
.home-rsv-banner strong { flex: 1; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink); }
.home-rsv-banner em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--orange); }
.home-challenge-copy { flex: 1; min-width: 0; }
.home-challenge-track { margin-top: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.5); overflow: hidden; }
.home-challenge-bar { height: 100%; border-radius: 999px; background: var(--orange); }

/* ===== R29 AI 식단 분석 ===== */
.diet-analyzing { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.diet-analyzing strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.diet-analyzing span { font-size: 12px; color: var(--sub); }
.diet-check-intro { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 20px; }
.diet-check-emoji { font-size: 40px; margin-bottom: 10px; }
.diet-check-intro h2 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.diet-check-intro p { font-size: 13px; color: var(--sub); line-height: 1.5; margin-bottom: 8px; }
.diet-check-intro .pill { margin-top: 8px; }
.diet-score-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; }
.diet-score { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 6px 0; }
.diet-score strong { font-size: 46px; font-weight: 600; color: var(--orange); line-height: 1; }
.diet-score span { font-size: 14px; font-weight: 500; color: var(--sub); }
.diet-score-note { font-size: 12px; font-weight: 500; color: var(--sub); }
.diet-gauge-sec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.diet-gbar { position: relative; height: 18px; margin: 2px 4px; }
.diet-gbar-track { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 11px; border-radius: 999px; background: var(--wds-fill-strong); overflow: hidden; }
.diet-gbar .diet-gbar-track .diet-gbar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff8f68 0%, #ff4f30 100%) !important; }
.diet-gbar-knob { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--wds-primary); box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.diet-gbar-foot { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.diet-gauge-grade { font-size: 15px; font-weight: 600; color: var(--wds-primary); }
.diet-gauge-desc { font-size: 12px; font-weight: 600; color: var(--sub); margin: 0; }
.diet-metrics { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.diet-metric { display: flex; align-items: center; gap: 10px; }
.diet-metric-label { flex: 0 0 56px; font-size: 12px; font-weight: 600; color: var(--ink); }
.diet-metric-track { flex: 1; height: 8px; border-radius: 999px; background: var(--orange-soft); overflow: hidden; }
.diet-metric-bar { height: 100%; border-radius: 999px; background: var(--orange); }
.diet-metric-val { flex: 0 0 28px; text-align: right; font-size: 12px; font-weight: 600; color: var(--sub); }
.diet-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diet-points > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.diet-points h3 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.diet-points p { font-size: 12px; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.diet-good h3 { color: var(--orange); }
.diet-guide { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.diet-guide p { font-size: 13px; line-height: 1.6; margin-bottom: 6px; }
.diet-guide strong { color: var(--orange); }

/* ===== P3 공구 O2O ===== */
.gb-method-row { display: flex; gap: 8px; margin: 12px 0 8px; }
.gb-method-row .pill { flex: 1; }
.gb-method-note { font-size: 12px; color: var(--sub); margin: 4px 0 8px; }
.gb-price-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.gb-price-note { font-size: 11px; margin-top: 6px; }
.group-discount-badge { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: var(--orange); border-radius: 999px; padding: 2px 8px; }
.admin-stat-grid { margin-top: 4px; }

/* ===== P4 커뮤니티·챌린지 ===== */
.fab { position: fixed; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; border: none; background: var(--orange); color: #fff; font-size: 22px; box-shadow: 0 10px 26px rgba(112,115,124,.35); cursor: pointer; z-index: 40; }
.compose-type-sheet h3 { margin-bottom: 12px; }
.compose-type-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; }
.compose-type-item span { font-size: 24px; }
.compose-type-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.compose-type-item em { font-style: normal; font-size: 12px; color: var(--sub); }
.pd-post { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.pd-comment { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pd-comment-reply { margin-left: 34px; }
.pd-comment-body { flex: 1; min-width: 0; }
.pd-comment-head { display: flex; gap: 8px; align-items: baseline; }
.pd-comment-head strong { font-size: 13px; font-weight: 600; }
.pd-comment-head span { font-size: 11px; color: var(--sub); }
.pd-comment-body p { font-size: 13px; line-height: 1.5; margin: 2px 0 4px; }
.pd-comment-actions { display: flex; gap: 10px; }
.pd-comment-actions .link { font-size: 12px; }
.pd-reply-note { font-size: 12px; color: var(--sub); margin: 8px 0 4px; }
.pd-comment-input { display: flex; gap: 8px; margin-top: 10px; align-items: flex-end; }
.pd-comment-input textarea { flex: 1; min-height: 48px; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-strip-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.week-strip-day span { font-size: 11px; font-weight: 600; color: var(--sub); }
.week-strip-day em { font-style: normal; font-size: 14px; }
.week-strip-day.on { background: var(--orange-soft); border-color: var(--orange); }
.week-strip-day.on em { color: var(--orange); }
.week-strip-day.today { border-color: var(--orange); }
.wo-timeline { display: flex; flex-direction: column; gap: 10px; }
.wo-log { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.wo-log-photo { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.wo-log-text strong { display: block; font-size: 13px; font-weight: 600; }
.wo-log-text span { font-size: 12px; color: var(--sub); }
.wo-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ===== P5 마이·포인트·소개 ===== */
.my-menu-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 14px 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.faq-item summary { font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq-item p { font-size: 13px; color: var(--sub); line-height: 1.6; margin-top: 8px; }
.about-stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 420px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== P6 소셜 로그인 ===== */
.social-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; margin-bottom: 10px; border: none; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: pointer; }
.social-kakao { background: #FEE500; color: #191919; }
.social-google { background: #fff; color: #191919; border: 1px solid #dadce0; }
.social-apple { background: #000; color: #fff; }
.social-ico { font-size: 16px; font-weight: 600; }


/* ============================================================
   v2.9 WDS 와이어프레임 테마 (Wanted Design System 복제)
   흰 배경 + 회색 플랫 카드 + 주황 primary(#FF4F30) 유지 + Pretendard
   ※ HiFi 적용 시 이 블록만 교체하면 됨
   ============================================================ */
:root {
  --wds-primary: #FF4F30;
  --wds-primary-soft: rgba(255,79,48,.10);
  --wds-fill: rgba(112,115,124,.08);
  --wds-fill-strong: rgba(112,115,124,.16);
  --wds-line: rgba(112,115,124,.22);
  --wds-line-soft: rgba(112,115,124,.16);
  --wds-label: #171719;
  --wds-neutral: rgba(46,47,51,.88);
  --wds-alt: rgba(55,56,60,.61);
  --wds-assist: rgba(55,56,60,.28);
  --orange: var(--wds-primary) !important;
  --orange-soft: var(--wds-primary-soft) !important;
  --pink: var(--wds-fill-strong) !important;
  --pink-soft: var(--wds-fill) !important;
  --warm: var(--wds-fill) !important;
  --ink: var(--wds-label) !important;
  --sub: var(--wds-alt) !important;
  --line: var(--wds-line) !important;
}
body, .screen, input, textarea, select, button { font-family: "Pretendard","Wanted Sans",-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif !important; }

/* 화면 배경: 순수 흰색, 그라데이션/장식 제거 */
.screen { background: #fff !important; padding: 0 18px 100px !important; }
.top, .top-home { background: #fff !important; }
.top-home::before, .top-home::after { display: none !important; content: none !important; }
section, article, .section, .hero, .card, .simple-hero { box-shadow: none !important; }

/* 장식/마스코트 제거 */
.top-mascot, .halo-motion-stack, .halo-motion-guide, .stamp-mascot, .stamp,
.group-buy-hero-character, .halo-character, .brand-lockup::before, .brand-lockup::after,
.onboarding-visual { display: none !important; }

/* ── 헤더 (WDS Header) ── */
.top-home { position: relative; padding: 12px 18px !important; margin: 0 -18px 16px !important;
  border-bottom: 1px solid var(--wds-line-soft) !important; border-radius: 0 !important; }
.top-home .top-text { max-width: none !important; }
.top-home .top-row { gap: 8px !important; align-items: center !important; }
.top-home .brand-lockup-img { height: 22px !important; width: auto !important; }
.top-home .store, .top-home .point-status {
  background: var(--wds-fill) !important; border: none !important; color: var(--wds-label) !important;
  box-shadow: none !important; font-size: 12px !important; font-weight: 600 !important;
  padding: 5px 12px !important; border-radius: 999px !important; }
.top-home .store-icon svg, .top-home .store-icon { color: var(--wds-alt) !important; }
.top-home h1 { font-size: 24px !important; font-weight: 500 !important; letter-spacing: -0.0146em !important;
  color: var(--wds-label) !important; margin-top: 10px !important; line-height: 1.34 !important; }
.top-home .lead { font-size: 13px !important; font-weight: 500 !important; color: var(--wds-alt) !important; margin-top: 4px !important; }
.top-home .icons { gap: 6px !important; }
.top-home .round-btn { background: transparent !important; border: none !important; box-shadow: none !important;
  width: 40px !important; height: 40px !important; color: var(--wds-label) !important; }
.top-home .round-btn svg { width: 22px !important; height: 22px !important; }
.top-home .badge { background: var(--wds-primary) !important; }
.backbar { background: #fff !important; border-bottom: 1px solid var(--wds-line-soft) !important; }
.back { color: var(--wds-label) !important; }

/* ── 섹션 타이틀 (WDS headline2) ── */
.section { margin-top: 20px !important; }
.section-head h2 { font-size: 17px !important; font-weight: 600 !important; letter-spacing: -0.009em !important; color: var(--wds-label) !important; }
.route-label { color: var(--wds-alt) !important; font-size: 13px !important; font-weight: 500 !important; }
.link { color: var(--wds-alt) !important; font-size: 13px !important; font-weight: 500 !important; background: none !important; }
.lead, .lead-soft { color: var(--wds-alt) !important; font-size: 13px !important; }

/* ── 카드 (WDS Card: fill 회색 · radius 16) ── */
.wellness-card, .diet-score-card, .diet-metrics, .diet-points > div, .diet-guide, .diet-check-intro,
.point-balance-card, .my-menu-card, .faq-item, .wo-form, .wo-log, .pd-post,
.simple-profile-card, .value-card, .stat, .home-meal-slot, .week-strip-day,
.empty-state, .checkin-chip, .coupon-card, .admin-member-row {
  background: var(--wds-fill) !important; border: none !important; box-shadow: none !important; border-radius: 16px !important; }
.hero, .simple-hero, .group-buy-hero, .challenge-detail-hero, .community-hero, .home-finder {
  background: var(--wds-fill) !important; border: none !important; border-radius: 16px !important; color: var(--wds-label) !important; }
.hero *, .simple-hero *, .group-buy-hero *, .community-hero * { color: inherit; }
.simple-kicker, .eyebrow, .brush-kicker { color: var(--wds-primary) !important; background: none !important; font-size: 12px !important; font-weight: 600 !important; }

/* ── 웰니스 점수 카드 ── */
.wellness-hello { color: var(--wds-label) !important; }
.wellness-label { color: var(--wds-alt) !important; }
.wellness-score strong { color: var(--wds-primary) !important; font-size: 24px !important; font-weight: 500 !important; }
.wellness-progress { background: var(--wds-fill-strong) !important; }
.wellness-progress-bar { background: var(--wds-primary) !important; }
.wellness-next { background: #fff !important; border: 1px solid var(--wds-line-soft) !important; }
.wellness-next-pts, .wellness-next-action b { color: var(--wds-primary) !important; }

/* ── 오늘 식단 4슬롯 ── */
.home-meal-slot { background: #fff !important; border: 1px solid var(--wds-line-soft) !important; }
.home-meal-thumb { background: var(--wds-fill) !important; }

/* ── 배지/칩 (WDS ContentBadge) ── */
.chip { background: var(--wds-fill) !important; color: var(--wds-neutral) !important; border: none !important;
  font-size: 12px !important; font-weight: 500 !important; border-radius: 8px !important; }
.chip-reason { color: var(--wds-primary) !important; background: var(--wds-primary-soft) !important; }

/* ── 버튼 (WDS Button) ── */
.pill { border-radius: 10px !important; font-weight: 600 !important; font-size: 14px !important; box-shadow: none !important; }
.pill-cta, .pill-dark, .pill-on { background: var(--wds-primary) !important; color: #fff !important; border: none !important; }
.pill-soft { background: var(--wds-fill) !important; color: var(--wds-label) !important; border: none !important; }
.pill-outline { background: #fff !important; border: 1px solid var(--wds-line) !important; color: var(--wds-label) !important; }
.pill-danger { color: #ff3b30 !important; }

/* ── 리스트 셀 (WDS ListCell) ── */
.list { border-radius: 16px !important; overflow: hidden; background: var(--wds-fill) !important; padding: 2px 14px !important; }
.list .item, .item { background: transparent !important; border: none !important; border-bottom: 1px solid var(--wds-line-soft) !important; border-radius: 0 !important; box-shadow: none !important; }
.list .item:last-child { border-bottom: none !important; }
.item-title { color: var(--wds-label) !important; font-size: 14px !important; font-weight: 600 !important; }
.item-sub { color: var(--wds-alt) !important; font-size: 13px !important; }
.thumb, .art, .thumb-art, .detail-visual { background: var(--wds-fill-strong) !important; }
.tag { background: var(--wds-fill) !important; color: var(--wds-alt) !important; border: none !important; font-weight: 600 !important; }
.notif { background: transparent !important; }

/* ── 카테고리 타일 ── */
.tile, .pillar { background: var(--wds-fill) !important; color: var(--wds-label) !important; border: none !important; }
.tile small { color: var(--wds-alt) !important; }

/* ── 스탯 그리드 ── */
.stat-grid .stat { background: var(--wds-fill) !important; }
.stat strong { color: var(--wds-label) !important; }
.stat span { color: var(--wds-alt) !important; }

/* ── 공구 카드 ── */
.group-card, .group-buy-list article { background: var(--wds-fill) !important; border: none !important; color: var(--wds-label) !important; }
.group-price-row strong { color: var(--wds-primary) !important; }
.group-price-row span { color: var(--wds-alt) !important; text-decoration: line-through; }
.group-discount-badge, .group-progress span { background: var(--wds-primary) !important; }
.group-progress { background: var(--wds-fill-strong) !important; }
.gb-featured-banner { background: var(--wds-fill-strong) !important; }
.gb-featured-banner strong { color: var(--wds-label) !important; }
.gb-featured-banner span { color: var(--wds-alt) !important; }

/* ── 하단 탭바 (WDS BottomNavigation) ── */
.tabbar { background: #fff !important; border-top: 1px solid var(--wds-line-soft) !important;
  border-radius: 0 !important; box-shadow: none !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  height: auto !important; padding: 6px 0 calc(6px + env(safe-area-inset-bottom,0px)) !important; }
.tab { color: var(--wds-alt) !important; }
.tab.active, .tab.active .ico, .tab.active .ico svg { color: var(--wds-primary) !important; }
.tab-label { font-size: 11px !important; font-weight: 500 !important; }

/* ── 폼 입력 ── */
.form-input, .search-input { background: var(--wds-fill) !important; border: 1px solid var(--wds-line-soft) !important;
  color: var(--wds-label) !important; border-radius: 10px !important; }
.form-input::placeholder, .search-input::placeholder { color: var(--wds-assist) !important; }

/* ── 소셜 로그인 ── */
.social-btn { border-radius: 12px !important; }
.social-google { border: 1px solid var(--wds-line) !important; }
.login-email-hero { background: var(--wds-fill) !important; color: var(--wds-label) !important; }

/* ── FAB ── */
.fab { background: var(--wds-primary) !important; box-shadow: 0 6px 20px rgba(255,79,48,.3) !important; }

/* ── 식단 분석 ── */
.diet-score strong { color: var(--wds-primary) !important; }
.diet-metric-track { background: var(--wds-fill-strong) !important; }
.diet-metric-bar { background: var(--wds-primary) !important; }
.diet-good h3 { color: var(--wds-primary) !important; }

/* ── 커뮤니티 ── */
.community-post { background: #fff !important; border: 1px solid var(--wds-line-soft) !important; border-radius: 16px !important; }
.community-composer, .pd-comment { background: #fff !important; }
.community-author-avatar { background: var(--wds-fill-strong) !important; }
.week-strip-day.on { background: var(--wds-primary-soft) !important; }
.week-strip-day.on em { color: var(--wds-primary) !important; }

/* WDS 탭바 비활성 아이콘 회색 강제 */
.tab:not(.active), .tab:not(.active) .ico, .tab:not(.active) .ico svg { color: var(--wds-alt) !important; stroke: var(--wds-alt) !important; }
.tab.active, .tab.active .ico, .tab.active .ico svg { color: var(--wds-primary) !important; stroke: var(--wds-primary) !important; }

/* WDS: 앱 내부 그라데이션 전면 제거 (플랫) — 이미지/사진은 유지 */
.screen *:not(img):not(.thumb-photo):not(.community-photo):not(.detail-img):not(.art-photo img) { background-image: none !important; }
.top, .top-home { background-image: none !important; }
body { background: #e8e2de !important; }
.phone { background: #fff !important; box-shadow: 0 20px 60px rgba(17,17,17,.16) !important; }
/* 헤더 오렌지 그라데이션 잔재 제거 */
.top { background: #fff !important; }
.top h1, .top .lead { color: var(--wds-label) !important; }
.top .lead { color: var(--wds-alt) !important; }

/* ============================================================
   WDS 텍스트 가독성 — 밝은 배경에 남은 흰 글자 전부 어둡게
   (예전 주황/어두운 배경용 흰 글자가 회색 배경에서 안 보이던 문제)
   ============================================================ */
.screen, .screen * { color: var(--wds-label) !important; }
#screen[data-route="home"] .ad-banner-title {
  background: #ff4f30 !important;
  color: #fff !important;
}
#screen[data-route="home"] .ad-banner-body,
#screen[data-route="home"] .ad-banner-copy {
  color: #fff !important;
}

/* 보조 텍스트 → 회색 */
.screen .lead, .screen .lead-soft, .screen .item-sub, .screen .route-label,
.screen .link, .screen .wellness-label, .screen .stat span, .screen .tag,
.screen .tile small, .screen .home-meal-label, .screen .group-price-unit,
.screen .pd-comment-head span, .screen .faq-item p, .screen .diet-score-note,
.screen .diet-metric-label, .screen .diet-metric-val, .screen .gb-featured-banner span,
.screen .community-post-head .route-label, .screen .qr-code, .screen .wo-log-text span,
.screen .simple-hero-copy p, .screen .group-buy-hero-copy p { color: var(--wds-alt) !important; }

/* 주황 포인트 재적용 */
.screen .simple-kicker, .screen .eyebrow, .screen .brush-kicker,
.screen .wellness-score strong, .screen .wellness-next-pts, .screen .wellness-next-action b,
.screen .chip-reason, .screen .group-price-row strong, .screen .diet-score strong,
.screen .diet-good h3, .screen .tab.active, .screen .tab.active *,
.screen .point-balance-card strong, .screen .group-discount-badge { color: var(--wds-primary) !important; }
.screen .group-discount-badge, .screen .badge { color: #fff !important; }

/* 버튼: 주황/검정 버튼 위 글자는 흰색 유지 */
.screen .pill-cta, .screen .pill-cta *, .screen .pill-on, .screen .pill-on *,
.screen .pill-dark, .screen .pill-dark *, .screen .fab,
.screen .social-apple, .screen .social-apple * { color: #fff !important; }
.screen .social-kakao, .screen .social-kakao * { color: #191919 !important; }

/* 온보딩/게이트 등 히어로 안 텍스트도 dark */
.screen .hero h1, .screen .hero h2, .screen .simple-hero h2 { color: var(--wds-label) !important; }

/* 남은 마스코트/캐릭터 완전 제거 (와이어프레임엔 없음) */
.screen img[class*="character"], .screen img[class*="mascot"], .screen img[class*="motion"],
.screen .halo-motion-guide, .screen .halo-character, .screen .group-buy-hero-character,
.screen .stamp, .screen .stamp-mascot, .screen .halo-motion-stack,
.screen .community-hero img, .screen .challenge-detail-hero img { display: none !important; }

/* ── R06 마이 (WDS) ── */
.r06-profile { display: flex; align-items: center; gap: 14px; background: var(--wds-fill) !important; border-radius: 16px; padding: 16px; cursor: pointer; }
.r06-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--wds-fill-strong); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.r06-avatar img { width: 100%; height: 100%; object-fit: cover; }
.r06-avatar span { font-size: 18px; font-weight: 500; color: var(--wds-label) !important; }
.r06-profile-text { flex: 1; min-width: 0; }
.r06-profile-text strong { display: block; font-size: 16px; font-weight: 500; color: var(--wds-label) !important; }
.r06-profile-text span { font-size: 13px; color: var(--wds-alt) !important; }
.r06-chev { color: var(--wds-assist) !important; font-size: 20px; }
.r06-point-card { background: var(--wds-fill) !important; border-radius: 16px; padding: 18px; cursor: pointer; }
.r06-point-head { display: flex; justify-content: space-between; align-items: center; }
.r06-point-label { font-size: 13px; font-weight: 600; color: var(--wds-label) !important; }
.r06-point-coin svg { width: 22px; height: 22px; color: var(--wds-primary) !important; }
.r06-point-value { font-size: 30px; font-weight: 500; color: var(--wds-label) !important; margin-top: 6px; }
.r06-point-value em { font-style: normal; font-size: 18px; }
.r06-point-sub { font-size: 13px; color: var(--wds-alt) !important; margin-top: 2px; }
.r06-two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r06-mini-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--wds-fill) !important; border: none; border-radius: 16px; padding: 16px; cursor: pointer; text-align: left; }
.r06-mini-ico svg { width: 22px; height: 22px; color: var(--wds-alt) !important; }
.r06-mini-label { font-size: 12px; color: var(--wds-alt) !important; margin-top: 4px; }
.r06-mini-card strong { font-size: 15px; font-weight: 500; color: var(--wds-label) !important; }
.r06-mini-cta { font-size: 12px; font-weight: 600; color: var(--wds-primary) !important; margin-top: 2px; }
.r06-menu .item-icon svg, .r06-menu .thumb svg { color: var(--wds-label) !important; }

/* ── R04 공구 히어로 (WDS) ── */
.r04-hero { background: var(--wds-fill) !important; border-radius: 16px; padding: 18px; }
.r04-hero-top { display: flex; justify-content: space-between; align-items: center; }
.r04-hero-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--wds-primary); color: var(--wds-primary) !important; font-size: 12px; font-weight: 500; }
.r04-hero-count { text-align: center; }
.r04-hero-count strong { display: block; font-size: 22px; font-weight: 600; color: var(--wds-label) !important; }
.r04-hero-count span { font-size: 11px; color: var(--wds-alt) !important; }
.r04-hero-info { margin-top: 14px; width: 100%; }

/* ── R05 챌린지 카드 (WDS) ── */
.r05-challenge-card { background: var(--wds-fill) !important; border-radius: 16px; padding: 18px; }
.r05-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--wds-primary); color: var(--wds-primary) !important; font-size: 12px; font-weight: 500; }
.r05-challenge-card h3 { font-size: 18px; font-weight: 500; color: var(--wds-label) !important; margin: 12px 0 4px; }
.r05-challenge-card p { font-size: 13px; color: var(--wds-alt) !important; }
.r05-actions { display: flex; gap: 8px; margin-top: 14px; }
.r05-actions .pill { flex: 1; }

/* ── WDS ListCell (박스 없는 깔끔한 리스트 행) ── */
.item-cell { display: flex !important; align-items: center; gap: 12px; padding: 15px 2px !important; background: transparent !important; border: none !important; border-bottom: 1px solid var(--wds-line-soft) !important; }
.list .item-cell:last-child { border-bottom: none !important; }
.item-cell .cell-ico { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: var(--wds-label) !important; }
.item-cell .cell-ico svg { width: 22px; height: 22px; fill: none !important; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.item-cell .item-text { flex: 1; min-width: 0; }
.item-cell .cell-chev { color: var(--wds-assist) !important; font-size: 20px; font-weight: 400; flex: 0 0 auto; }
/* 리스트 컨테이너 여백 조정 */
.list.r06-menu { padding: 4px 16px !important; }

/* ── outline 버튼: 흰 배경 + 회색 테두리 (검정 아님) ── */
.pill-outline { background: #fff !important; border: 1px solid var(--wds-line) !important; color: var(--wds-label) !important; }

/* ── WDS ListCell 그룹: 개별 그림자 카드 -> 하나의 묶음 리스트 ── */
.list.r06-menu, .r06-menu { background: #fff !important; border: 1px solid var(--wds-line-soft) !important; border-radius: 16px !important; box-shadow: none !important; padding: 0 16px !important; overflow: hidden; }
.r06-menu .item-cell { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; border: none !important; border-bottom: 1px solid var(--wds-line-soft) !important; }
.r06-menu .item-cell:last-child { border-bottom: none !important; }
/* 일반 .list 안의 item-cell도 그림자/라운드 제거 (묶음 느낌) */
.item-cell { box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; }

/* ── 화살표(chevron) 전부 동일 회색으로 통일 ── */
.screen .cell-chev, .screen .item-cell .cell-chev, .screen .r06-chev, .screen .r06-menu .cell-chev {
  color: var(--wds-assist) !important; font-weight: 400 !important; }
/* 리스트 셀 아이콘 두께 통일 (회색 톤) */
.screen .item-cell .cell-ico, .screen .item-cell .cell-ico svg { color: var(--wds-neutral) !important; }

/* ── 카테고리 타일: 색 타일/흰글자 완전 제거 -> 회색 + 어두운 글자 ── */
.screen .tile, .screen .tile.pink, .screen .tile.warm, .screen .tile.hot, .screen .tile.dark,
.screen .pillar, .screen .pillar-pink, .screen .pillar-warm, .screen .pillar-dark {
  background: var(--wds-fill) !important; color: var(--wds-label) !important; border: none !important; }
.screen .tile *, .screen .tile small, .screen .pillar *, .screen .pillar span {
  color: var(--wds-label) !important; }
.screen .tile small, .screen .pillar span { color: var(--wds-alt) !important; }

/* ── R07 식단 만들기 배너 ── */
.r07-diet-banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 16px; border: none; border-radius: 16px; background: var(--wds-primary-soft) !important; cursor: pointer; text-align: left; }
.r07-diet-emoji { font-size: 26px; }
.r07-diet-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--wds-primary); }
.r07-diet-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r07-diet-text { flex: 1; min-width: 0; }
.r07-diet-text strong { display: block; font-size: 15px; font-weight: 500; color: var(--wds-label) !important; }
.r07-diet-text span { font-size: 12px; color: var(--wds-alt) !important; }
.r07-diet-arrow { color: var(--wds-primary) !important; font-size: 20px; }

/* ── 홈 온보딩 히어로 (WDS 정리: 배지 가독성 + 폰트/배치) ── */
.home-finder, .simple-hero.home-finder { background: var(--wds-fill) !important; border: none !important; border-radius: 16px !important; padding: 20px !important; display: block !important; }
.home-finder .simple-kicker { display: inline-block !important; background: var(--wds-primary-soft) !important; color: var(--wds-primary) !important; padding: 5px 12px !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .04em; }
.home-finder h2 { font-size: 20px !important; font-weight: 500 !important; line-height: 1.35 !important; color: var(--wds-label) !important; margin: 12px 0 6px !important; }
.home-finder p { font-size: 13px !important; font-weight: 500 !important; color: var(--wds-alt) !important; margin: 0 0 14px !important; }
.home-finder .simple-hero-actions { display: flex !important; gap: 8px !important; margin-top: 0 !important; }
.home-finder .simple-hero-actions .pill { flex: 0 0 auto; }
.home-finder .home-start-pill { background: var(--wds-primary) !important; color: #fff !important; }
.home-finder .home-start-pill * { color: #fff !important; }

/* ============================================================
   WDS 최종 정리 (html body 특이도로 브랜드 잔재 확실히 제거)
   ============================================================ */
/* 리스트 셀: 모든 테두리·박스·간격 제거 -> 얇은 구분선만 */
html body .screen .list, html body .screen .r06-menu {
  background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body .screen .item, html body .screen .item-cell, html body .screen .list .item, html body .screen .list .item-cell {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; }
html body .screen .item-cell { border-bottom: 1px solid var(--wds-line-soft) !important; padding: 15px 2px !important; }
html body .screen .list .item { border-bottom: 1px solid var(--wds-line-soft) !important; }
html body .screen .list .item:last-child, html body .screen .item-cell:last-child { border-bottom: 0 !important; }

/* 검정/그라데이션 버튼 잔재 -> WDS outline (흰 배경) */
html body .screen .pill-outline, html body .screen .r04-hero-info {
  background: #fff !important; background-image: none !important; border: 1px solid var(--wds-line) !important; color: var(--wds-label) !important; }
html body .screen .pill-outline *, html body .screen .r04-hero-info * { color: var(--wds-label) !important; }

/* 섹션 사이 간격 정리 */
html body .screen .section { margin-top: 18px !important; }
html body .screen .section:empty { display: none !important; margin: 0 !important; }

/* 핑크 테두리 완전 제거 — 클래스 중첩으로 특이도 상향 */
html body .screen .list .item.item, html body .screen .list .item-cell.item-cell,
html body .screen .item-cell.item-cell, html body .screen .r06-menu .item-cell.item-cell {
  border: 0 !important; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important;
  border-bottom: 1px solid var(--wds-line-soft) !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; margin: 0 !important; }
html body .screen .list .item.item:last-child, html body .screen .item-cell.item-cell:last-child { border-bottom: 0 !important; }

/* ── 여백 축소 (헤더/섹션/제목) ── */
html body .top-home { padding: 10px 18px 8px !important; margin: 0 -18px 8px !important; }
html body .top-home h1 { font-size: 22px !important; margin-top: 8px !important; line-height: 1.28 !important; }
html body .top-home .lead { margin-top: 2px !important; }
html body .screen .section { margin-top: 14px !important; }
html body .screen .section:first-of-type { margin-top: 12px !important; }
html body .section-head { margin-bottom: 8px !important; }

/* ── R02 제품 상세 (WDS) ── */
html body .screen .r02-image { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--wds-fill) !important; border-radius: 16px !important; overflow: hidden; display: grid; place-items: center; margin-top: 8px !important; }
.r02-image img { width: 100%; height: 100%; object-fit: cover; }
.r02-image-ph svg { width: 72px; height: 72px; color: var(--wds-assist); }
.r02-fav { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); font-size: 18px; color: var(--wds-primary) !important; cursor: pointer; }
.r02-fav.is-fav { color: var(--wds-primary) !important; }
.r02-edit { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; border: none; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 500; color: var(--wds-label) !important; }
html body .screen .r02-headrow { display: flex; justify-content: space-between; align-items: center; margin-top: 14px !important; }
.r02-rating { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; }
.r02-rating em { font-style: normal; color: var(--wds-alt) !important; font-weight: 500; }
.r02-name { font-size: 22px; font-weight: 500; color: var(--wds-label) !important; margin: 10px 0 6px; padding: 0 2px; }
.r02-social { font-size: 12px; color: var(--wds-alt) !important; padding: 0 2px; margin-bottom: 4px; }
.r02-reasons { background: var(--wds-fill) !important; border-radius: 16px; padding: 16px !important; }
.r02-reasons h3 { font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--wds-label) !important; }
.r02-reasons p { font-size: 13px; color: var(--wds-label) !important; line-height: 1.7; }
.r02-crosssell { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.r02-crosssell::-webkit-scrollbar { display: none; }
.r02-cross-card { flex: 0 0 130px; display: flex; flex-direction: column; gap: 6px; background: transparent; border: none; cursor: pointer; text-align: left; padding: 0; }
.r02-cross-img { width: 130px; height: 130px; border-radius: 12px; background: var(--wds-fill) !important; display: grid; place-items: center; overflow: hidden; }
.r02-cross-img img { width: 100%; height: 100%; object-fit: cover; }
.r02-cross-img svg { width: 40px; height: 40px; color: var(--wds-assist); }
.r02-cross-name { font-size: 12px; font-weight: 600; color: var(--wds-label) !important; line-height: 1.35; }
.pill-tiny { padding: 4px 12px !important; font-size: 12px !important; }
.r02-tabs { display: flex; border-bottom: 1px solid var(--wds-line-soft); }
.r02-tab { flex: 1; padding: 12px 0; border: none; background: none; font-size: 14px; font-weight: 500; color: var(--wds-alt) !important; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.r02-tab.on { color: var(--wds-primary) !important; border-bottom-color: var(--wds-primary); }
.r02-tab-content { padding-top: 14px; }
.r02-info-box { background: var(--wds-fill) !important; border-radius: 12px; padding: 16px; font-size: 13px; line-height: 1.7; color: var(--wds-label) !important; }

/* ── R10 즐겨찾기 (2열 카드 + 빈 화면) ── */
.r10-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.r10-empty { text-align: center; padding: 40px 20px; }
.r10-empty-ico { font-size: 40px; color: var(--wds-assist) !important; display: block; margin-bottom: 8px; }

/* ── R15 Halo 컬렉션 (에디터 픽) ── */
.r15-head { display: flex; align-items: center; gap: 10px; }
.r15-sub { font-size: 12px; color: var(--wds-alt) !important; }
.r15-title { font-size: 22px; font-weight: 500; color: var(--wds-label) !important; padding: 0 2px; margin: 8px 0; }
.r15-cover { aspect-ratio: 16/9; background: var(--wds-fill) !important; border-radius: 16px; display: grid; place-items: center; }
.r15-cover-ph { font-size: 13px; color: var(--wds-assist) !important; }
.r15-editor { display: flex; align-items: center; gap: 10px; }
.r15-editor .community-author-avatar { width: 32px; height: 32px; flex: 0 0 auto; }
.r15-editor p { font-size: 13px; color: var(--wds-label) !important; }

/* 로그인 이메일 버튼 화살표 가독성 */
html body .screen .login-email-hero, html body .screen .login-email-hero .arrow { color: var(--wds-label) !important; }

/* 로그인 이메일 화살표 — 높은 특이도로 WDS 회색화 */
html body .auth-actions .pill.login-email-hero .arrow,
html body .screen .auth-actions .login-email-hero .arrow {
  background: rgba(112,115,124,.14) !important; color: var(--wds-label) !important; border: none !important; }

/* ── R29 분석한 식단 목록 ── */
.diet-eaten-list { display: flex; flex-direction: column; gap: 8px; }
.diet-eaten-row { display: flex; align-items: center; gap: 12px; background: var(--wds-fill) !important; border-radius: 12px; padding: 10px 12px; }
.diet-eaten-thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--wds-fill-strong) !important; display: grid; place-items: center; font-size: 18px; overflow: hidden; flex: 0 0 auto; }
.diet-eaten-thumb img { width: 100%; height: 100%; object-fit: cover; }
.diet-eaten-text strong { display: block; font-size: 13px; font-weight: 500; color: var(--wds-label) !important; }
.diet-eaten-text span { font-size: 12px; color: var(--wds-alt) !important; }

/* ── 상세 화면 앱바 (뒤로 + 가운데 제목) ── */
html body .screen .appbar { display: flex; align-items: center; gap: 8px; height: 52px; margin: 0 -18px 6px; padding: 0 8px; border-bottom: 1px solid var(--wds-line-soft); background: #fff; }
.appbar-back { width: 40px; height: 40px; border: none; background: none; font-size: 26px; line-height: 1; color: var(--wds-label) !important; cursor: pointer; }
.appbar-title { flex: 1; text-align: center; font-size: 16px !important; font-weight: 500 !important; color: var(--wds-label) !important; margin: 0 !important; }
.appbar-spacer { width: 40px; flex: 0 0 auto; }
/* 루트 탭 헤더: 제목 없는 홈/제품/마이는 컴팩트하게 */
html body .top-home:not(.top-groupBuy):not(.top-challenge) { padding: 10px 18px !important; margin: 0 -18px 6px !important; }

/* ── 헤더 빈칸(min-height) + 옅은 주황 테두리/그림자 제거 ── */
html body .top-home { min-height: 0 !important; height: auto !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; }
html body .top-home:not(.top-groupBuy):not(.top-challenge) {
  border-bottom: 1px solid var(--wds-line-soft) !important; padding: 10px 18px !important; margin: 0 -18px 4px !important; }
html body .top-home.top-groupBuy, html body .top-home.top-challenge { border-bottom: 1px solid var(--wds-line-soft) !important; }
/* 링크·기타 요소의 주황 테두리 제거 */
html body .screen .link, html body .screen .route-label { border: none !important; box-shadow: none !important; }
/* 첫 섹션 여백 축소 */
html body .screen .ad-banner-section, html body .screen .section:first-of-type { margin-top: 10px !important; }

/* 주황 상단 테두리 완전 제거 (.top.top-home 특이도) */
html body .top.top-home, html body .top.top-home.top-home {
  border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; }

/* ── R29 AI 음식 확인 라벨 ── */
.diet-eaten-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.diet-eaten-ai { font-style: normal; font-size: 11px; font-weight: 600; color: var(--wds-primary) !important; margin-top: 2px; }

/* ══════════════ 와이어프레임 정합 v2 (2026-07-08) ══════════════ */

/* 홈: 웰니스 점수 빈 상태 */
.wellness-score-empty { font-size: 20px; font-weight: 500; color: var(--wds-alt) !important; }

/* 홈: Halo 컬렉션 진입 배너 */
.home-collection-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; background: var(--wds-fill) !important; border: none; border-radius: 16px; padding: 16px; cursor: pointer; text-align: left; }
.home-collection-tag { font-size: 11px; font-weight: 500; color: var(--wds-primary) !important; letter-spacing: .3px; }
.home-collection-banner strong { font-size: 15px; font-weight: 500; color: var(--wds-label) !important; }
.home-collection-cta { font-size: 12px; color: var(--wds-alt) !important; }

/* 공구 R04: 탭바 (진행 중/추천/마감임박) */
.r04-tabs-wrap { padding-top: 4px; padding-bottom: 0; }
.r04-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--wds-line); }
.r04-tab { background: none; border: none; padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--wds-alt) !important; position: relative; cursor: pointer; }
.r04-tab.on { color: var(--wds-label) !important; font-weight: 500; }
.r04-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wds-primary); border-radius: 2px; }

/* 공구: 인기 배너 / 정렬칩 / 내 예약 */
.gb-featured-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; background: var(--wds-fill) !important; border: none; border-radius: 16px; padding: 16px; cursor: pointer; text-align: left; }
.gb-featured-kicker { font-size: 11px; font-weight: 500; color: var(--wds-primary) !important; }
.gb-featured-banner strong { font-size: 16px; font-weight: 500; color: var(--wds-label) !important; }
.gb-featured-banner span:last-child { font-size: 12px; color: var(--wds-alt) !important; }
.gb-sort-row { flex-wrap: wrap; }
.gb-myrsv { display: flex; align-items: center; gap: 12px; width: 100%; background: rgba(255,79,48,.06) !important; border: none; border-radius: 14px; padding: 14px; cursor: pointer; text-align: left; }
.gb-myrsv-ico svg { width: 20px; height: 20px; color: var(--wds-primary) !important; }
.gb-myrsv-text { flex: 1; display: flex; flex-direction: column; }
.gb-myrsv-text strong { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; }
.gb-myrsv-text span { font-size: 12px; color: var(--wds-alt) !important; }
.gb-myrsv-chev { color: var(--wds-assist) !important; font-size: 20px; }

/* 커뮤니티 R05: 매장 찾기 배너 */
.store-finder-banner { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--wds-fill) !important; border: none; border-radius: 16px; padding: 15px; cursor: pointer; text-align: left; }
.store-finder-ico svg { width: 20px; height: 20px; color: var(--wds-primary) !important; }
.store-finder-text { flex: 1; display: flex; flex-direction: column; }
.store-finder-text strong { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; }
.store-finder-text span { font-size: 12px; color: var(--wds-alt) !important; }
.store-finder-chev { color: var(--wds-assist) !important; font-size: 20px; }

/* 커뮤니티 R05: 챌린지 통합 카드 (신규 구조) */
.r05-challenge-card { background: var(--wds-fill) !important; border: none !important; border-radius: 18px; padding: 18px; }
.r05-challenge-head { display: flex; justify-content: space-between; align-items: center; }
.r05-challenge-kicker { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; }
.r05-challenge-lead { font-size: 12px; color: var(--wds-alt) !important; margin: 10px 0 6px; }
.r05-challenge-name { display: flex; justify-content: space-between; align-items: baseline; }
.r05-challenge-name strong { font-size: 17px; font-weight: 500; color: var(--wds-label) !important; }
.r05-challenge-name span { font-size: 13px; font-weight: 600; color: var(--wds-primary) !important; }
.r05-challenge-track { height: 8px; background: var(--wds-fill-strong); border-radius: 8px; margin: 10px 0 14px; overflow: hidden; }
.r05-challenge-bar { height: 100%; background: var(--wds-primary); border-radius: 8px; }
.r05-filter-row { flex-wrap: wrap; margin-bottom: 12px; }

/* 테두리 박스 제거 → 회색 채움 카드 (와이어프레임 스타일) */
html body .stat { border: none !important; background: var(--wds-fill) !important; }
html body .r06-mini-card, html body .r06-profile, html body .r06-point-card { border: none !important; }
html body .home-meal-slot { border: none !important; background: var(--wds-fill) !important; }
html body .empty-state { border: none !important; background: var(--wds-fill) !important; }
html body .group-buy-request-card { border: none !important; background: var(--wds-fill) !important; }
html body .community-post { border: none !important; background: var(--wds-fill) !important; }
html body .product { border: none !important; }

/* 루트 탭 헤더 — 모든 탭 동일한 깔끔한 56px 바 (여백 제거) */
html body .top.top-flat {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 0 !important;
  height: 56px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: #fff !important;
}
html body .top.top-flat .brand-lockup { padding: 0 !important; margin: 0 !important; height: 40px; display: flex; align-items: center; }
html body .top.top-flat .brand-lockup-img { height: 30px !important; width: auto !important; }
html body .top.top-flat .icons { display: flex !important; gap: 4px; margin: 0 !important; }

/* ═══════ 최종 카드 통일 v3 (2026-07-08) — 테두리 완전 제거 + 회색 채움, 최고 우선순위 ═══════ */
/* 회색 채움 카드 (테두리·그림자·검은테·크림배경 전부 제거) */
html body .screen .stat.stat,
html body .screen .r06-mini-card.r06-mini-card,
html body .screen .home-meal-slot.home-meal-slot,
html body .screen .empty-state.empty-state,
html body .screen .group-buy-request-card.group-buy-request-card,
html body .screen .coupon-card.coupon-card,
html body .screen .receipt-card.receipt-card,
html body .screen .tile.tile,
html body .screen .nut.nut,
html body .screen .grade.grade {
  border: none !important;
  border-radius: 16px !important;
  background: rgba(112, 115, 124, 0.08) !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
/* 리스트 셀·일반 아이템: 테두리·그림자 제거 (깔끔한 행) */
html body .screen .item.item,
html body .screen .item-cell.item-cell {
  border: none !important;
  box-shadow: none !important;
}

/* ═══ 커뮤니티 카드 = 흰색 + 옅은 그림자 (와이어프레임 R05) v4 ═══ */
html body .screen .community-post.community-post,
html body .screen .community-post.community-post:nth-child(2n) {
  background: #fff !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 16px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  cursor: pointer;
}
html body .screen .community-post * { background: transparent !important; background-image: none !important; }
.cp-head { display: flex; align-items: center; gap: 10px; }
.cp-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--wds-fill-strong) !important; display: grid; place-items: center; font-weight: 500; font-size: 15px; color: var(--wds-label) !important; overflow: hidden; flex: 0 0 auto; }
.cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cp-meta { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html body .screen .community-post .cp-meta strong { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; }
html body .screen .community-post .cp-meta span { font-size: 12px; color: var(--wds-alt) !important; }
.cp-badge { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; flex: 0 0 auto; }
html body .screen .community-post .cp-badge-verify { background: rgba(19, 168, 110, 0.12) !important; color: #12a866 !important; }
html body .screen .community-post .cp-badge-review { background: rgba(56, 132, 255, 0.12) !important; color: #3884ff !important; }
html body .screen .community-post .cp-body { font-size: 15px; line-height: 1.5; color: var(--wds-label) !important; }
.cp-img { border-radius: 12px; overflow: hidden; background: var(--wds-fill) !important; height: 190px; }
.cp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-foot { display: flex; align-items: center; gap: 18px; }
html body .screen .community-post .cp-act { display: flex; align-items: center; gap: 5px; background: none !important; border: none !important; padding: 0 !important; font-size: 13px; color: var(--wds-alt) !important; cursor: pointer; min-height: 0 !important; }
.cp-act svg { width: 18px; height: 18px; }
html body .screen .community-post .cp-act.on, html body .screen .community-post .cp-act.on svg { color: var(--wds-primary) !important; }
.cp-act-right { margin-left: auto; }

/* ═══════ 로그인 R17 (와이어프레임 정합) 2026-07-08 ═══════ */
.r17-login { display: flex; flex-direction: column; padding: 0 20px 24px; min-height: 100%; }
.r17-appbar { display: flex; align-items: center; height: 52px; margin: 0 -20px; padding: 0 12px; }
.r17-close { background: none; border: none; font-size: 20px; color: var(--wds-label); width: 40px; height: 40px; cursor: pointer; }
.r17-appbar-title { flex: 1; text-align: center; font-size: 16px; font-weight: 500; color: var(--wds-label); }
.r17-appbar-spacer { width: 40px; }
.r17-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0 28px; }
.r17-logo { height: 30px; width: auto; object-fit: contain; }
.r17-headline { font-size: 20px; font-weight: 600; color: var(--wds-label); }
.r17-social { margin-bottom: 0; }
.r17-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; color: var(--wds-alt); font-size: 12px; }
.r17-divider::before, .r17-divider::after { content: ""; flex: 1; height: 1px; background: var(--wds-line); }
.r17-email { display: flex; flex-direction: column; gap: 12px; }
.r17-links { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.r17-links a { color: var(--wds-alt); font-size: 13px; text-decoration: none; }
.r17-links a:hover { color: var(--wds-label); }
.r17-dot { color: var(--wds-line); }
.r17-login .auth-terms { text-align: center; color: var(--wds-assist); font-size: 12px; margin-top: 22px; }

/* ═══ 로그인 R17 마감 보정 (2026-07-08) ═══ */
/* 이상한 박스 제거: 이메일 폼 배경/테두리/그림자 없애기 */
html body .r17-login .auth-form.r17-email {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* 소셜 버튼 간격 좁게 + 실제 아이콘 정렬 */
html body .r17-social { display: flex; flex-direction: column; gap: 9px; margin-bottom: 0; }
html body .r17-social .social-btn { margin: 0 !important; padding: 15px !important; gap: 10px; }
html body .r17-social .social-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
html body .r17-social .social-ico svg { display: block; }
/* 메인 로고 크게 */
html body .r17-login .r17-logo { height: 42px !important; }
/* '3초 만에 시작하기' 굵기 낮추기 */
html body .r17-login .r17-headline { font-weight: 600 !important; font-size: 19px !important; }
/* 입력창 톤 정리 (박스 느낌 줄이기) */
html body .r17-login .form-input { background: var(--wds-fill) !important; border: 1px solid var(--wds-line) !important; border-radius: 12px !important; }

/* ═══ 스플래시 R00: 심볼만 회전 (와이어프레임: 1.2s ease-in-out 무한, 회전만) ═══ */
.auth-splash { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #fff; }
.auth-splash-logo.splash-spin { width: 76px; height: 76px; object-fit: contain; animation: hz-splash-spin 1.2s ease-in-out infinite; }
@keyframes hz-splash-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ═══ 로그인 게이트 모달 (GATE) — 게스트가 예약·인증·적립 시도 시 ═══ */
html body .modal.login-gate-modal { position: absolute !important; left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important; width: min(320px, calc(100% - 48px)) !important; max-width: none !important; margin: 0 !important; background: #fff !important; border-radius: 22px !important; padding: 32px 24px 24px !important; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.18) !important; }
.login-gate-lock { width: 56px; height: 56px; border-radius: 50%; background: var(--wds-fill); display: grid; place-items: center; color: var(--wds-alt); margin-bottom: 16px; }
.login-gate-title { font-size: 18px; font-weight: 500; color: var(--wds-label); margin-bottom: 8px; }
.login-gate-sub { font-size: 14px; line-height: 1.5; color: var(--wds-alt); margin-bottom: 22px; }
.login-gate-modal .pill-cta { margin-bottom: 8px; }
.pill-ghost.login-gate-later { background: transparent !important; color: var(--wds-alt) !important; border: none !important; }

/* ═══ 온보딩 R16 (웰니스 목표 선택) ═══ */
.ob-screen { display: flex; flex-direction: column; padding: 20px 20px 28px; min-height: 100%; background: #fff; }
.ob-screen.ob-interest-screen { position: relative; padding: 86px 20px 28px; min-height: 100%; }
.ob-skip { position: absolute; top: 18px; right: 20px; border: 0; background: transparent; color: var(--wds-alt); font-size: 14px; font-weight: 600; padding: 8px 0; cursor: pointer; }
.ob-visual { height: 120px; background: transparent !important; background-image: none !important; display: grid; place-items: center; margin-bottom: 20px; }
.ob-logo { height: 60px; width: auto; object-fit: contain; }
.ob-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.ob-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--wds-fill-strong); }
.ob-dots span.on { width: 20px; border-radius: 4px; background: var(--wds-primary); }
html body .screen .ob-title { font-size: 24px !important; font-weight: 500 !important; line-height: 1.34 !important; letter-spacing: 0; color: var(--wds-label) !important; margin: 0; }
html body .screen .ob-interest-screen .ob-title { font-size: 25px !important; font-weight: 600 !important; line-height: 1.32 !important; letter-spacing: 0 !important; }
.ob-sub { font-size: 16px; color: var(--wds-alt); margin: 8px 0 18px; }
.ob-interest-screen .ob-sub { font-size: 14px; line-height: 1.5; margin: 10px 0 34px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-chip { border: none; background: var(--wds-fill); color: var(--wds-label); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: all .12s; }
.ob-chip.on { background: rgba(255,79,48,.12); color: var(--wds-primary); box-shadow: inset 0 0 0 1.5px var(--wds-primary); }
.ob-interest-screen .ob-chips { gap: 10px 8px; }
.ob-interest-screen .ob-chip { border: 1px solid var(--wds-line); background: var(--wds-fill); color: var(--wds-label); font-size: 14px; font-weight: 600; padding: 10px 16px; box-shadow: none; }
.ob-interest-screen .ob-chip.on { background: #fff; border-color: var(--wds-primary); color: var(--wds-primary); box-shadow: none; }
.ob-interest-screen .ob-chip.on::before { content: "✓"; margin-right: 5px; font-weight: 600; }
html body #screen[data-route="onboarding"] .ob-interest-screen .ob-chip {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 17px !important;
  border: 1px solid #dedee4 !important;
  border-radius: 999px !important;
  background: #f7f7f8 !important;
  color: #4b4b50 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html body #screen[data-route="onboarding"] .ob-interest-screen .ob-chip.on {
  background: #fff !important;
  border-color: var(--wds-primary) !important;
  color: var(--wds-primary) !important;
  font-weight: 500 !important;
}
html body #screen[data-route="onboarding"] .ob-interest-screen .ob-chip.on::before {
  content: "\2713" !important;
  display: inline-block !important;
  margin: 0 !important;
  color: var(--wds-primary) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}
.ob-note { margin-top: 16px; background: rgba(255,79,48,.06); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--wds-label); }
.ob-interest-screen .ob-note { margin-top: 18px; background: transparent; padding: 0; color: var(--wds-alt); }
.ob-store { margin-top: 22px; }
.ob-store-label { font-size: 14px; font-weight: 500; color: var(--wds-label); }
.ob-store-label em { font-style: normal; font-weight: 400; color: var(--wds-alt); font-size: 12px; }
.ob-store .reservation-stores { margin-top: 10px; }
.ob-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ob-actions.ob-bottom { padding-top: 26px; }
.ob-bottom-note { margin: 0 0 2px; color: var(--wds-alt); font-size: 12px; line-height: 1.45; text-align: center; }
.ob-actions .pill[disabled] { opacity: .45; cursor: default; }
.ob-login-link { background: none; border: none; color: var(--wds-alt); font-size: 14px; cursor: pointer; }
.ob-login-link:hover { color: var(--wds-label); }

/* ═══ 모달·로그인/인증 화면 핑크 제거 → 흰색 통일 (2026-07-08) ═══ */
html body .modal {
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.16) !important;
  color: var(--wds-label, #171719) !important;
}
html body .auth-screen {
  background: #fff !important;
  background-image: none !important;
}
html body .auth-screen::before { display: none !important; }

/* ═══ 루트 탭 헤더 전탭 동일 강제 (로고 위치 통일) v2 ═══ */
html body .top.top-flat.top-flat {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  padding: 10px 22px 0 !important;
  height: 62px !important;
  min-height: 0 !important;
}
html body .top.top-flat.top-flat .brand-lockup {
  padding: 0 !important; margin: 0 !important;
  align-self: center !important;
  position: static !important;
  flex: 0 0 auto !important;
  height: auto !important;
}
html body .top.top-flat.top-flat .brand-lockup::before,
html body .top.top-flat.top-flat .brand-lockup::after { display: none !important; content: none !important; }
html body .top.top-flat.top-flat .brand-lockup-img { height: 30px !important; width: auto !important; margin: 0 !important; display: block !important; }
html body .top.top-flat.top-flat .icons { margin: 0 !important; align-self: center !important; position: static !important; }

/* 로그인 게이트: 안내문과 버튼 사이 간격 */
html body .modal.login-gate-modal .login-gate-sub { margin: 0 0 24px !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--wds-alt) !important; }
html body .modal.login-gate-modal .login-gate-title { margin: 0 0 8px !important; }
html body .modal.login-gate-modal .login-gate-lock { margin-bottom: 16px !important; }

/* ═══════ 카드 흰색 통일 + 식단 슬롯 정리 (와이어프레임 정합) 2026-07-08 ═══════ */
/* 식단 슬롯: 흰 박스 + 점선 테두리 + 카메라 아이콘만 (박스-인-박스 제거) */
html body .screen .home-meal-slot.home-meal-slot.home-meal-slot {
  background: #fff !important;
  background-image: none !important;
  border: 1.5px dashed var(--wds-line, rgba(112,115,124,.22)) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 6px !important;
}
html body .screen .home-meal-slot .home-meal-thumb {
  background: transparent !important;
  width: auto !important; height: auto !important;
  color: var(--wds-alt) !important;
  display: grid; place-items: center;
}
html body .screen .home-meal-slot .home-meal-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
html body .screen .home-meal-slot.is-filled { border-style: solid !important; border-color: var(--wds-line) !important; }
html body .screen .home-meal-slot .home-meal-label { color: var(--wds-label) !important; font-size: 12px; font-weight: 600; }

/* 회색 카드 → 흰색 + 옅은 그림자 (와이어프레임 흰 카드) */
html body .screen .wellness-card,
html body .screen .home-collection-banner,
html body .screen .stat.stat,
html body .screen .r06-profile.r06-profile,
html body .screen .r06-point-card.r06-point-card,
html body .screen .r06-mini-card.r06-mini-card,
html body .screen .gb-featured-banner,
html body .screen .store-finder-banner,
html body .screen .gb-myrsv,
html body .screen .r05-challenge-card.r05-challenge-card,
html body .screen .group-buy-request-card.group-buy-request-card,
html body .screen .empty-state.empty-state,
html body .screen .coupon-card.coupon-card,
html body .screen .receipt-card.receipt-card,
html body .screen .diet-score-card,
html body .screen .diet-metrics,
html body .screen .diet-good,
html body .screen .diet-improve,
html body .screen .diet-guide,
html body .screen .tile.tile,
html body .screen .grade.grade {
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
  border: none !important;
}
/* 웰니스 카드 안쪽 CTA는 옅은 회색 유지(카드 안 구분) */
html body .screen .wellness-card .wellness-next { background: var(--wds-fill) !important; box-shadow: none !important; }

/* ═══ 제품 카드 이미지 박스 테두리 제거 (검은 2px·크림배경 잔재) ═══ */
html body .screen .product .art,
html body .screen .products .product .art {
  border: none !important;
  background: var(--wds-fill, rgba(112,115,124,.08)) !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
html body .screen .product,
html body .screen .products .product {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ═══ Halo 컬렉션(R15) 커버 이미지 + 에디터 심볼 아이콘 ═══ */
html body .screen .r15-cover { padding: 0 !important; }
html body .screen .r15-cover-img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; display: block; }
html body .screen .r15-editor-avatar { width: 34px !important; height: 34px !important; border-radius: 9px !important; overflow: hidden; padding: 0 !important; background: transparent !important; display: inline-flex; flex: 0 0 auto; }
html body .screen .r15-editor-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ 홈 진행 중 챌린지 카드: 흰 카드 + 진한 글자 (안 보이던 빈 공간 문제) ═══ */
html body .screen .home-challenge {
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 16px 18px !important;
}
html body .screen .home-challenge::before, html body .screen .home-challenge::after { display: none !important; content: none !important; }
html body .screen .home-challenge .home-challenge-copy { flex: 1; min-width: 0; }
html body .screen .home-challenge h3 { color: var(--wds-label) !important; font-size: 16px !important; margin: 0 0 4px !important; }
html body .screen .home-challenge p { color: var(--wds-alt) !important; font-size: 13px !important; }
html body .screen .home-challenge .home-challenge-track { height: 7px; background: var(--wds-fill-strong) !important; border-radius: 6px; margin-top: 10px; overflow: hidden; }
html body .screen .home-challenge .home-challenge-bar { height: 100%; background: var(--wds-primary) !important; border-radius: 6px; }
html body .screen .home-challenge .stamp-mascot { flex: 0 0 auto; width: 54px; height: 54px; }
html body .screen .home-challenge .stamp-mascot img { width: 100%; height: 100%; object-fit: contain; }

/* ═══ 홈 진행 중 챌린지 카드 (신규 클래스, 레거시 미상속) ═══ */
.home-ch-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); border: none; border-radius: 16px; padding: 16px 18px; cursor: pointer; }
.home-ch-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.home-ch-kicker { font-size: 12px; font-weight: 500; color: var(--wds-primary); }
.home-ch-title { font-size: 16px; font-weight: 500; color: var(--wds-label); margin-top: 3px; }
.home-ch-sub { font-size: 13px; color: var(--wds-alt); margin-top: 2px; }
.home-ch-track { height: 7px; background: var(--wds-fill-strong); border-radius: 6px; margin-top: 10px; overflow: hidden; }
.home-ch-bar { height: 100%; background: var(--wds-primary); border-radius: 6px; }
.home-ch-mascot { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; }

/* ═══ 홈 진행 중 챌린지 카드 v2 (심볼 + 오늘 인증하기 버튼, 와이어프레임 R25) ═══ */
.home-ch-card { display: block !important; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); border: none; border-radius: 16px; padding: 18px; }
.home-ch-head { display: flex; align-items: center; gap: 10px; }
.home-ch-symbol { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: 0 0 auto; }
.home-ch-symbol img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-ch-card .home-ch-title { font-size: 16px; font-weight: 500; color: var(--wds-label); }
.home-ch-stat { display: flex; align-items: baseline; justify-content: space-between; margin: 12px 0 8px; }
.home-ch-day { font-size: 15px; color: var(--wds-label); font-weight: 600; }
.home-ch-day b { font-size: 24px; font-weight: 600; }
.home-ch-left { font-size: 13px; font-weight: 500; color: var(--wds-primary); }
.home-ch-card .home-ch-track { height: 8px; background: var(--wds-fill-strong); border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.home-ch-card .home-ch-bar { height: 100%; background: var(--wds-primary); border-radius: 8px; }
.home-ch-btn { margin-bottom: 10px; }
.home-ch-btn.pill-done { background: var(--wds-fill) !important; color: var(--wds-alt) !important; }
.home-ch-reward { display: block; text-align: center; font-size: 12px; color: var(--wds-alt); }

/* ═══ 홈 챌린지 카드 크기 축소 + 버튼 테두리 제거 ═══ */
html body .screen .home-ch-card { padding: 14px 16px !important; }
html body .screen .home-ch-head { gap: 8px; }
html body .screen .home-ch-symbol { width: 28px !important; height: 28px !important; border-radius: 8px !important; }
html body .screen .home-ch-card .home-ch-title { font-size: 14px !important; }
html body .screen .home-ch-stat { margin: 9px 0 6px !important; }
html body .screen .home-ch-day { font-size: 13px !important; }
html body .screen .home-ch-day b { font-size: 19px !important; }
html body .screen .home-ch-left { font-size: 12px !important; }
html body .screen .home-ch-card .home-ch-track { height: 6px !important; margin-bottom: 11px !important; }
html body .screen .home-ch-btn { border: none !important; min-height: 0 !important; height: auto !important; padding: 11px !important; font-size: 14px !important; margin-bottom: 8px !important; }
html body .screen .home-ch-reward { font-size: 11px !important; }

/* ═══ 관리자: Halo 컬렉션 편집 ═══ */
.admin-collection .coll-cover-preview { width: 100%; height: 130px; border-radius: 12px; overflow: hidden; background: var(--wds-fill); margin: 8px 0; }
.admin-collection .coll-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.coll-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.coll-pick-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--wds-fill); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--wds-label); }
.coll-pick-chip button { background: none; border: none; color: var(--wds-alt); font-size: 15px; cursor: pointer; line-height: 1; }
.coll-pick-results { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.coll-pick-result { text-align: left; background: var(--wds-fill); border: none; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--wds-label); cursor: pointer; }
.coll-pick-result:hover { background: var(--wds-fill-strong); }
.coll-pick-empty { font-size: 12px; color: var(--wds-alt); padding: 8px; }

/* ═══ AI 식단 분석: 총평 + 끼니별 코멘트 ═══ */
.diet-summary { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--wds-label); font-weight: 600; }
.diet-eaten-cmt { font-style: normal; display: block; font-size: 12px; color: var(--wds-alt); margin-top: 2px; }

/* ═══ 식단 기록: 직접 입력 + 안 먹음 ═══ */
.meal-note-row { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.meal-note-row .form-input { flex: 1; margin: 0; }
.meal-note-btn { flex: 0 0 auto; }
.meal-skip-btn { color: var(--wds-alt) !important; background: var(--wds-fill) !important; border: none !important; margin-top: 4px; }
.diet-eaten-row.is-skipped { opacity: .72; }
.diet-eaten-row.is-skipped .diet-eaten-text span { color: var(--wds-alt) !important; }

/* ═══ 식단 기록 모달 정리 (심볼 + 정렬 통일) ═══ */
html body .meal-add-modal { text-align: center; padding: 24px 20px 20px; }
html body .meal-add-modal .meal-modal-symbol { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; margin: 0 auto 12px; }
html body .meal-add-modal .meal-modal-symbol img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .meal-add-modal h3 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
html body .meal-add-modal .meal-photo-btn { width: 100%; margin: 0 0 10px; }
html body .meal-add-modal .meal-note-row { display: flex; gap: 8px; width: 100%; margin: 0 0 10px; }
html body .meal-add-modal .meal-note-row .form-input { flex: 1; margin: 0; }
html body .meal-add-modal .meal-note-btn { flex: 0 0 auto; }
html body .meal-add-modal .meal-product-search { width: 100%; margin: 0 0 10px; }
html body .meal-add-modal .meal-product-search .form-input { width: 100%; margin: 0; }
html body .meal-add-modal .meal-skip-btn { width: 100%; margin: 0 0 8px; color: var(--wds-alt) !important; background: var(--wds-fill) !important; border: none !important; }
html body .meal-add-modal .meal-close-btn { width: 100%; margin: 0; }

/* ═══ 식단 기록 모달 통일 디자인 v2 ═══ */
html body .modal.meal-add-modal {
  text-align: center !important;
  padding: 26px 22px 20px !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.18) !important;
  border: none !important;
}
html body .meal-add-modal .meal-modal-symbol { width: 48px; height: 48px; border-radius: 13px; overflow: hidden; margin: 0 auto 12px; }
html body .meal-add-modal .meal-modal-symbol img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .meal-add-modal h3 { margin: 0 0 4px !important; font-size: 18px !important; font-weight: 500 !important; color: var(--wds-label) !important; }
html body .meal-add-modal .meal-modal-sub { margin: 0 0 18px !important; font-size: 13px !important; color: var(--wds-alt) !important; font-weight: 500 !important; }
html body .meal-add-modal .meal-photo-btn { width: 100%; margin: 0 0 10px !important; border: none !important; }
/* 직접 입력 + 인라인 화살표 */
html body .meal-add-modal .meal-note-row { position: relative; width: 100%; margin: 0 0 10px; }
html body .meal-add-modal .meal-note-row .form-input { width: 100%; margin: 0; padding-right: 44px; background: var(--wds-fill) !important; border: 1px solid var(--wds-line) !important; border-radius: 12px !important; text-align: left; }
html body .meal-add-modal .meal-note-send { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 9px; border: none; background: var(--wds-primary); color: #fff; font-size: 16px; cursor: pointer; display: grid; place-items: center; }
html body .meal-add-modal .meal-product-search { width: 100%; margin: 0 0 6px; }
html body .meal-add-modal .meal-product-search .form-input { width: 100%; margin: 0; background: var(--wds-fill) !important; border: 1px solid var(--wds-line) !important; border-radius: 12px !important; text-align: left; }
html body .meal-add-modal .meal-product-results { text-align: left; }
/* 안 먹음: 부담 없는 텍스트 링크 */
html body .meal-add-modal .meal-skip-link { display: block; width: 100%; background: none; border: none; color: var(--wds-alt); font-size: 13px; padding: 12px 0 6px; cursor: pointer; }
html body .meal-add-modal .meal-skip-link:hover { color: var(--wds-label); }
html body .meal-add-modal .meal-close-btn { width: 100%; margin: 0 !important; border: none !important; background: var(--wds-fill) !important; color: var(--wds-label) !important; }

/* ── 제품 리스트 정리(홈 지금인기 등): 테두리 제거·간격 축소·인기뱃지 통일 ── */
.list { gap: 4px !important; }
html body .list .item { padding: 9px 16px 9px 14px !important; min-height: 70px !important; gap: 12px !important; }
html body .list .item .thumb { border: 0 !important; box-shadow: none !important; }
html body .list .item .right { min-width: auto !important; }
html body .list .item:nth-child(n) .tag {
  border: 0 !important;
  background: rgba(255,79,48,.12) !important;
  color: var(--wds-primary) !important;
  min-width: auto !important;
  height: 24px !important;
  padding: 0 11px !important;
  font-size: 10px !important;
}

/* 검색 더보기 버튼 — 작은 글씨·테두리 없음 */
html body .search-more-btn {
  display: block; width: 100%; margin: 6px 0 0;
  border: 0 !important; background: var(--wds-fill) !important;
  color: var(--wds-alt) !important; font-size: 12px !important; font-weight: 500 !important;
  height: 38px !important; min-height: 0 !important; padding: 0 !important;
  border-radius: 12px !important; cursor: pointer;
}

/* 검색 카테고리 필터·인기검색어 pill 테두리 제거(박스감 제거) */
html body .filter-row .pill.pill, html body .chip-row .pill.pill, html body .chip-row .chip.chip { border: 0 !important; }
html body .filter-row .pill.pill-soft, html body .chip-row .pill.pill-soft, html body .chip-row .chip { background: var(--wds-fill) !important; color: var(--wds-label) !important; }
html body .filter-row .pill.pill-on, html body .chip-row .pill.pill-on { background: #171719 !important; color: #fff !important; }

/* ── 제품 상세페이지: 테두리 박스 제거(#screen id 스코프로 레거시 !important 제압) ── */
#screen[data-route="product"] .pill-outline,
#screen[data-route="product"] .pill-soft,
#screen[data-route="product"] .pill-square,
#screen[data-route="product"] .chip,
#screen[data-route="product"] .r02-fav,
#screen[data-route="product"] .r02-cross-card,
#screen[data-route="product"] .r02-info-box { border: 0 !important; }
/* 테두리 없앤 소프트 버튼은 옅은 필로 (흰 배경에 묻히지 않게) */
#screen[data-route="product"] .pill-soft { background: var(--wds-fill) !important; color: var(--wds-label) !important; }
#screen[data-route="product"] .pill-outline { background: rgba(255,79,48,.10) !important; color: var(--wds-primary) !important; }
#screen[data-route="product"] .pill-square { background: var(--wds-fill) !important; }

/* ── R27 주간 식단: 와이어프레임 정합(사진/점선 카메라 박스 + 아래 라벨) ── */
#screen[data-route="dietWeek"] .diet-progress-head { display: flex; align-items: baseline; justify-content: space-between; }
#screen[data-route="dietWeek"] .diet-pct-inline { font-size: 22px; font-weight: 600; color: var(--wds-primary); }
#screen[data-route="dietWeek"] .diet-today-head { display: flex; align-items: center; justify-content: space-between; }
#screen[data-route="dietWeek"] .diet-today-count { font-size: 13px; font-weight: 500; color: var(--wds-alt); margin-left: 6px; }
#screen[data-route="dietWeek"] .diet-cal-btn { width: 34px; height: 34px; border: 0; background: var(--wds-fill); border-radius: 10px; color: var(--wds-label); display: grid; place-items: center; cursor: pointer; padding: 0; }
#screen[data-route="dietWeek"] .diet-cal-btn svg { width: 19px; height: 19px; }
/* 주간 식단 오늘 카드: 4끼니 가로 나열 (참고 6l) */
#screen[data-route="dietWeek"] .diet-today-card { background: #fff; border: 1px solid rgba(112,115,124,.16); border-radius: 20px; padding: 18px 16px; }
#screen[data-route="dietWeek"] .diet-today-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#screen[data-route="dietWeek"] .diet-today-head h2 { font-size: 18px; }
#screen[data-route="dietWeek"] .diet-today-count { font-size: 13px; color: var(--wds-alt) !important; }
#screen[data-route="dietWeek"] .meal-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
#screen[data-route="dietWeek"] .meal-slot2 { position: relative; }
#screen[data-route="dietWeek"] .meal-box { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; cursor: pointer; padding: 0; border: 0; background: var(--wds-fill); }
#screen[data-route="dietWeek"] .meal-slot2.is-empty .meal-box { border: 1.5px solid rgba(112,115,124,.18); background: #fafafa; }
#screen[data-route="dietWeek"] .meal-slot2.is-filled .meal-box { border: 1.5px solid var(--wds-primary); }
#screen[data-route="dietWeek"] .meal-box-photo { width: 100%; height: 100%; object-fit: cover; }
#screen[data-route="dietWeek"] .meal-box-cam { color: rgba(112,115,124,.5); width: 24px; height: 24px; }
#screen[data-route="dietWeek"] .meal-box-cam svg { width: 100%; height: 100%; display: block; }
#screen[data-route="dietWeek"] .meal-slot-cap { margin-top: 6px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--wds-label); }
#screen[data-route="dietWeek"] .meal-slot-cap em { font-style: normal; font-weight: 500; font-size: 0; color: var(--wds-primary); }
#screen[data-route="dietWeek"] .meal-slot2.is-filled .meal-slot-cap em::before { content: "✓"; font-size: 12px; margin-left: 3px; }
#screen[data-route="dietWeek"] .meal-slot-del { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.42); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
#screen[data-route="dietWeek"] .diet-today-hint { font-size: 12.5px; color: var(--wds-alt) !important; margin: 14px 0 12px; }
/* 담백한 추가 버튼 (주황 제거) */
#screen[data-route="dietWeek"] .meal-add-product-btn { border: 1px solid rgba(112,115,124,.28) !important; background: #fff !important; color: var(--wds-label) !important; font-weight: 500 !important; }

/* R27 주간 식단 미세조정: 라벨·% 크기, 간격, CTA 테두리 */
#screen[data-route="dietWeek"] .diet-progress-head { margin-bottom: 12px; }
#screen[data-route="dietWeek"] .diet-progress-head strong { font-size: 14px !important; font-weight: 600 !important; color: var(--wds-label) !important; }
#screen[data-route="dietWeek"] .diet-pct-inline { font-size: 17px !important; font-weight: 600 !important; color: var(--wds-primary) !important; }
#screen[data-route="dietWeek"] .diet-progress-reward { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(112,115,124,.12); }
#screen[data-route="dietWeek"] .dpr-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#screen[data-route="dietWeek"] .dpr-copy strong { font-size: 13px; font-weight: 600; color: var(--wds-primary) !important; }
#screen[data-route="dietWeek"] .dpr-copy em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="dietWeek"] .dpr-btn { flex: 0 0 auto; min-width: 82px; height: 34px; border: 0 !important; border-radius: 12px; background: var(--wds-primary) !important; color: #fff !important; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#screen[data-route="dietWeek"] .dpr-btn:disabled { background: rgba(112,115,124,.14) !important; color: rgba(55,56,60,.5) !important; cursor: default; }
#screen[data-route="dietWeek"] .diet-progress-reward.is-ready:not(.is-claimed) .dpr-copy strong { color: var(--wds-primary) !important; }
#screen[data-route="dietWeek"] .diet-progress-reward.is-claimed .dpr-btn { background: rgba(255,79,48,.12) !important; color: var(--wds-primary) !important; }
#screen[data-route="dietWeek"] .diet-actions { display: flex; flex-direction: column; gap: 8px; }
#screen[data-route="dietWeek"] .diet-check-cta { border: 0 !important; }

/* 앱바 우측 액션 아이콘 (회색 박스 없이 아이콘만) */
.appbar-action { width: 40px; height: 40px; min-width: 40px; border: 0; background: none; color: var(--wds-label); display: grid; place-items: center; cursor: pointer; padding: 0; }
.appbar-action svg { width: 21px; height: 21px; }

/* ── R30 식단 캘린더: 와이어프레임 정합 ── */
#screen[data-route="dietCalendar"] .diet-cal-head { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 12px; }
#screen[data-route="dietCalendar"] .diet-cal-head strong { font-size: 16px; font-weight: 600; color: var(--wds-label); min-width: 100px; text-align: center; }
#screen[data-route="dietCalendar"] .dcal-nav { border: 0; background: none; color: var(--wds-alt); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
#screen[data-route="dietCalendar"] .diet-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--wds-alt); font-weight: 500; margin-bottom: 8px; }
#screen[data-route="dietCalendar"] .diet-cal-week .sun { color: #e5484d !important; }
#screen[data-route="dietCalendar"] .diet-cal-week .sat { color: #3b82f6 !important; }
#screen[data-route="dietCalendar"] .diet-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; align-items: start; }
#screen[data-route="dietCalendar"] .dcal-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; padding: 0; min-height: 30px; }
#screen[data-route="dietCalendar"] .dcal-cell.is-empty { visibility: hidden; }
#screen[data-route="dietCalendar"] .dcal-num { font-size: 12px; font-weight: 600; color: var(--wds-label); }
#screen[data-route="dietCalendar"] .dcal-num.sun { color: #e5484d !important; }
#screen[data-route="dietCalendar"] .dcal-num.sat { color: #3b82f6 !important; }
#screen[data-route="dietCalendar"] .dcal-box { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--wds-fill); overflow: hidden; }
#screen[data-route="dietCalendar"] .dcal-box.is-sel { background: transparent; border: 2px solid var(--wds-primary); }
#screen[data-route="dietCalendar"] .dcal-box.is-sel.has { background: var(--wds-fill); }
#screen[data-route="dietCalendar"] .dcal-box img { width: 100%; height: 100%; object-fit: cover; }

/* 웰니스/식단 점수 오늘·이번주 병기 */
.wellness-card .wellness-sub { display: block; font-size: 11px; font-weight: 500; color: var(--sub); margin-top: 3px; }
#screen[data-route="dietCheck"] .diet-week-line { font-size: 12.5px; font-weight: 500; color: var(--wds-alt); margin-top: 2px; }
#screen[data-route="dietCheck"] .diet-week-line strong { color: var(--wds-primary); font-weight: 600; }
#screen[data-route="dietCheck"] .diet-today-cnt { font-size: 12px; font-weight: 500; color: var(--wds-alt); margin-left: 4px; }
#screen[data-route="dietCalendar"] .diet-day-cmt { font-style: normal; font-size: 12px; font-weight: 600; color: var(--wds-primary); margin-top: 1px; }
#screen[data-route="dietCheck"] .diet-week-line { font-size: 12px; font-weight: 500; color: var(--wds-alt); margin-top: 2px; }
#screen[data-route="dietCheck"] .diet-week-line strong { color: var(--wds-primary); font-weight: 600; }
#screen[data-route="dietCalendar"] .section-head h2 .dcal-day-score { font-size: 13px; font-weight: 600; color: var(--wds-primary) !important; margin-left: 4px; }
#screen[data-route="dietCalendar"] .dcal-day-summary { font-size: 13px; font-weight: 600; color: var(--wds-label); margin: 2px 0 10px; line-height: 1.5; }
#screen[data-route="dietCalendar"] .diet-day-cmt { display: block; font-size: 12px; font-style: normal; color: var(--wds-primary); margin-top: 3px; }
#screen[data-route="dietCalendar"] .dcal-add-hint { margin-top: 10px; font-size: 12px; }

/* 캘린더 선택일 기록 슬롯도 dietWeek와 동일 레이아웃 */
#screen[data-route="dietCalendar"] .meal-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#screen[data-route="dietCalendar"] .meal-slot2 { position: relative; }
#screen[data-route="dietCalendar"] .meal-box { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; display: grid; place-items: center; cursor: pointer; padding: 0; border: 0; background: var(--wds-fill); }
#screen[data-route="dietCalendar"] .meal-slot2.is-empty .meal-box { border: 1.5px dashed rgba(112,115,124,.4); background: rgba(112,115,124,.05); }
#screen[data-route="dietCalendar"] .meal-box-photo { width: 100%; height: 100%; object-fit: cover; }
#screen[data-route="dietCalendar"] .meal-box-cam { color: rgba(112,115,124,.55); width: 34px; height: 34px; }
#screen[data-route="dietCalendar"] .meal-box-cam svg { width: 100%; height: 100%; display: block; }
#screen[data-route="dietCalendar"] .meal-slot-cap { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--wds-label); }
#screen[data-route="dietCalendar"] .meal-slot-cap em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--wds-primary); margin-left: 2px; }
#screen[data-route="dietCalendar"] .meal-slot-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 13px; cursor: pointer; display: grid; place-items: center; z-index: 2; }
#screen[data-route="dietCalendar"] .dcal-comments { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
#screen[data-route="dietCalendar"] .dcal-cmt-row { background: var(--wds-fill); border-radius: 12px; padding: 10px 12px; }
#screen[data-route="dietCalendar"] .dcal-cmt-row strong { font-size: 13px; font-weight: 600; color: var(--wds-label); margin-right: 6px; }
#screen[data-route="dietCalendar"] .dcal-cmt-row span { font-size: 13px; color: var(--wds-alt); }
#screen[data-route="dietCalendar"] .dcal-cmt-row em { display: block; font-style: normal; font-size: 12px; color: var(--wds-primary); margin-top: 3px; }

/* ── 공구(R04) 테두리 정리 ── */
#screen[data-route="groupBuy"] .pill { border: 0 !important; }
#screen[data-route="groupBuy"] .pill-soft,
#screen[data-route="groupBuy"] .pill-outline { background: var(--wds-fill) !important; color: var(--wds-label) !important; }

/* ── 스플래시(2a) 깔끔하게: 흰 배경 + 중앙 로고 + 하단 태그라인 ── */
.auth-splash.splash-clean { background: #fff !important; position: absolute; inset: 0; min-height: 0 !important; height: 100%; justify-content: center; gap: 0; }
.auth-splash.splash-clean .splash-logo { width: 210px; max-width: 62%; height: auto; border-radius: 0; }
.auth-splash.splash-clean .splash-tagline { position: absolute; bottom: 52px; left: 0; right: 0; text-align: center; color: var(--wds-alt) !important; font-size: 14px; font-weight: 600; margin: 0; }
:root[data-theme="dark"] .auth-splash.splash-clean { background: #16120f !important; }

/* ── 제품(6a) 카테고리 메인: 2열 그리드 + 만들기 버튼 + 컬렉션 배너 ── */
#screen[data-route="shop"] .r07-diet-cta { margin-left: auto; background: var(--wds-primary) !important; color: #fff !important; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; white-space: nowrap; }
#screen[data-route="shop"] .r07-diet-icon { background: #fff !important; color: var(--wds-primary) !important; }
#screen[data-route="shop"] .r07-diet-icon svg,
#screen[data-route="shop"] .r07-diet-icon svg * { color: var(--wds-primary) !important; stroke: currentColor !important; }
#screen[data-route="shop"] .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#screen[data-route="shop"] .cat-cell { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--wds-line); border-radius: 14px; padding: 15px 14px; cursor: pointer; text-align: left; }
#screen[data-route="shop"] .cat-cell-ico { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 0; background: transparent !important; display: grid; place-items: center; color: var(--wds-label) !important; }
#screen[data-route="shop"] .cat-cell-ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#screen[data-route="shop"] .cat-cell-name { font-size: 14px; font-weight: 600; color: var(--wds-label); }
#screen[data-route="shop"] .cat-all .cat-cell-ico,
#screen[data-route="shop"] .cat-beauty .cat-cell-ico,
#screen[data-route="shop"] .cat-drink .cat-cell-ico,
#screen[data-route="shop"] .cat-bakery .cat-cell-ico,
#screen[data-route="shop"] .cat-protein .cat-cell-ico,
#screen[data-route="shop"] .cat-zero .cat-cell-ico,
#screen[data-route="shop"] .cat-meal .cat-cell-ico,
#screen[data-route="shop"] .cat-snack .cat-cell-ico { background: transparent !important; color: var(--wds-label) !important; }
#screen[data-route="shop"] .halo-collection-banner { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; cursor: pointer; padding: 16px 18px; border-radius: 16px; background: #f1ecfe !important; color: var(--wds-label) !important; text-align: left; }
#screen[data-route="shop"] .halo-collection-banner strong { color: var(--wds-label) !important; }
#screen[data-route="shop"] .halo-collection-banner .hcb-text span { color: var(--wds-alt) !important; }
#screen[data-route="shop"] .hcb-tag { background: #7b61ff !important; color: #fff !important; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
#screen[data-route="shop"] .hcb-text { display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="shop"] .hcb-text strong { font-size: 15px; font-weight: 600; }
#screen[data-route="shop"] .hcb-text span { font-size: 12px; opacity: .9; }
#screen[data-route="shop"] .hcb-arrow { margin-left: auto; font-size: 20px; opacity: .9; color: #7b61ff !important; }

/* Product explore list */
#screen[data-route="categoryList"] .category-diet-section {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
#screen[data-route="categoryList"] .category-diet-banner {
  min-height: 84px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  background: #fff0f6 !important;
}
#screen[data-route="categoryList"] .r07-diet-icon {
  background: #fff !important;
  color: var(--wds-primary) !important;
}
#screen[data-route="categoryList"] .r07-diet-icon svg,
#screen[data-route="categoryList"] .r07-diet-icon svg * {
  color: var(--wds-primary) !important;
  stroke: currentColor !important;
}
.r07-diet-chev {
  margin-left: auto;
  color: var(--wds-label);
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}
#screen[data-route="categoryList"] .category-list-controls {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}
#screen[data-route="categoryList"] .cat-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 0 20px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#screen[data-route="categoryList"] .cat-filter-row::-webkit-scrollbar,
.modal-cat-filter-row::-webkit-scrollbar {
  display: none;
}
.cat-filter-chip {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid #e0e0e5;
  border-radius: 999px;
  background: #f3f3f5;
  color: #5f6066 !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.cat-filter-chip.is-on {
  background: #fff !important;
  border-color: var(--wds-primary) !important;
  color: var(--wds-primary) !important;
}
#screen[data-route="categoryList"] .cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 4px;
}
#screen[data-route="categoryList"] .cat-toolbar > span {
  color: #9c9ca3 !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}
#screen[data-route="categoryList"] .cat-toolbar > div {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
#screen[data-route="categoryList"] .cat-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #8c8c94 !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  padding: 4px 0;
}
#screen[data-route="categoryList"] .cat-sort-arrow {
  width: 14px !important;
  height: 14px !important;
  margin-left: 1px;
  fill: none;
  stroke: #55565c !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 카테고리 칩 가로 스크롤 힌트: 오른쪽 페이드 + › */
#screen[data-route="categoryList"] .cat-filter-wrap { position: relative; }
#screen[data-route="categoryList"] .cat-filter-wrap::after {
  content: "";
  position: absolute; top: 0; right: -20px; bottom: 12px; width: 44px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%);
  pointer-events: none;
}
#screen[data-route="categoryList"] .cat-filter-more {
  position: absolute; right: -16px; top: 2px; z-index: 2;
  width: 34px; height: 34px; border: 0; background: transparent;
  color: #8c8c94 !important; font-size: 20px; font-weight: 500; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding: 0;
}
#screen[data-route="categoryList"] .cat-tool-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#screen[data-route="categoryList"] .cat-tool-btn svg * {
  color: #8c8c94 !important;
  stroke: currentColor !important;
}
#screen[data-route="categoryList"] .category-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 14px;
  padding-top: 8px !important;
}
#screen[data-route="categoryList"] .category-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: transparent;
  cursor: pointer;
}
#screen[data-route="categoryList"] .category-product-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.035);
}
#screen[data-route="categoryList"] .category-product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#screen[data-route="categoryList"] .category-product-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
#screen[data-route="categoryList"] .category-product-card > strong {
  color: var(--wds-label);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
#screen[data-route="categoryList"] .category-product-card > em {
  color: #8d8d94;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 500;
}
#screen[data-route="categoryList"] .category-product-badge {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 2;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--wds-primary);
  color: #fff !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 79, 48, 0.18);
}
#screen[data-route="categoryList"] .category-product-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#screen[data-route="categoryList"] .category-product-heart.is-fav {
  color: #000;
}
#screen[data-route="categoryList"] .category-more-btn {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--wds-fill);
  color: var(--wds-label);
  font-size: 13px;
  font-weight: 600;
}
.category-filter-modal .modal-filter-block {
  width: 100%;
  text-align: left;
  margin: 10px 0 4px;
}
.category-filter-modal .modal-filter-block strong {
  display: block;
  margin-bottom: 9px;
  color: var(--wds-label);
  font-size: 13px;
  font-weight: 600;
}
.modal-cat-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

/* Home hero ad copy must stay readable over any uploaded image. */
html body #screen[data-route="home"] .ad-banner-full .ad-banner-title,
html body #screen[data-route="home"] .ad-banner-full .ad-banner-title * {
  background: #ff4f30 !important;
  color: #fff !important;
}
html body #screen[data-route="home"] .ad-banner-full .ad-banner-body,
html body #screen[data-route="home"] .ad-banner-full .ad-banner-body *,
html body #screen[data-route="home"] .ad-banner-full .ad-banner-copy,
html body #screen[data-route="home"] .ad-banner-full .ad-banner-copy * {
  color: #fff !important;
}

/* Home wellness card: align with surrounding cards and use the member profile photo. */
html body #screen[data-route="home"] .ad-banner-section + .wellness-card {
  margin-top: 10px !important;
}
html body #screen[data-route="home"] .wellness-card {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 20px 18px 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(17, 17, 17, 0.07) !important;
  box-shadow: none !important;
}
html body #screen[data-route="home"] .wellness-hello {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 13px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}
html body #screen[data-route="home"] .wellness-avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex: 0 0 34px !important;
  display: grid !important;
  place-items: center !important;
  background: #f7b7d5 !important;
  color: var(--wds-primary) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
html body #screen[data-route="home"] .wellness-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
html body #screen[data-route="home"] .wellness-avatar span {
  color: var(--wds-primary) !important;
}
html body #screen[data-route="home"] .wellness-hello-text {
  min-width: 0 !important;
  color: var(--wds-label) !important;
}
html body #screen[data-route="home"] .wellness-next.wellness-challenge {
  margin-top: 16px !important;
  padding: 16px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(17, 17, 17, 0.06) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
}
html body #screen[data-route="home"] .wellness-challenge-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 79, 48, 0.08) !important;
  color: var(--wds-primary) !important;
}
html body #screen[data-route="home"] .wellness-challenge-icon svg {
  width: 19px !important;
  height: 19px !important;
  stroke: currentColor !important;
}
html body #screen[data-route="home"] .wellness-challenge-symbol {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}
html body #screen[data-route="home"] .wellness-challenge-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
html body #screen[data-route="home"] .wellness-challenge-copy strong {
  color: var(--wds-label) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}
html body #screen[data-route="home"] .wellness-challenge-copy em {
  color: var(--wds-primary) !important;
  font-style: normal !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}
html body #screen[data-route="home"] .wellness-challenge-cta {
  min-width: 78px !important;
  height: 38px !important;
  padding: 0 15px !important;
  border-radius: 12px !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--wds-primary) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
html body #screen[data-route="home"] .wellness-challenge.is-done {
  cursor: default !important;
}
html body #screen[data-route="home"] .wellness-challenge.is-done .wellness-challenge-cta {
  background: var(--wds-fill-strong) !important;
  color: var(--wds-alt) !important;
}
html body #screen[data-route="home"] .home-meals-card {
  width: 100% !important;
  margin-top: 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 20px 18px 18px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(17, 17, 17, 0.07) !important;
  box-shadow: none !important;
}
html body #screen[data-route="home"] .home-meals-card .section-head {
  margin-bottom: 14px !important;
}

html body #screen[data-route="home"] .home-section-count {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 8px !important;
  margin-left: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 79, 48, 0.1) !important;
  color: var(--wds-primary) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  vertical-align: middle !important;
}
html body #screen[data-route="home"] .home-curation-section {
  margin-top: 12px !important;
}
html body #screen[data-route="home"] .home-curation-slider {
  position: relative !important;
}
html body #screen[data-route="home"] .home-recommendations {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 7px !important;
  margin-left: -1px !important;
  margin-right: -18px !important;
  padding: 0 18px 8px 1px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
html body #screen[data-route="home"] .home-recommendations::-webkit-scrollbar {
  display: none !important;
}
/* 제품컷 크게: 한 화면에 약 2.2개 노출(옆 카드 살짝 보여 슬라이드 암시), 간격 축소 */
html body #screen[data-route="home"] .home-recommendations .product {
  flex: 0 0 44% !important;
  width: 44% !important;
  min-width: 44% !important;
  min-height: 0 !important;
  scroll-snap-align: start !important;
}
html body #screen[data-route="home"] .home-curation-arrow {
  position: absolute !important;
  top: 38% !important;
  right: 2px !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(17, 17, 17, 0.06) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--wds-label) !important;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}
html body #screen[data-route="home"] .home-group-empty {
  min-height: 112px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}
html body #screen[data-route="home"] .home-group-card {
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body #screen[data-route="home"] .home-group-photo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2.08 / 1 !important;
  overflow: hidden !important;
  background: #f3efe9 !important;
}
html body #screen[data-route="home"] .home-group-photo img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}
html body #screen[data-route="home"] .home-group-photo .art-icon {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  color: var(--wds-primary) !important;
}
html body #screen[data-route="home"] .home-group-timer {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  min-height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  background: rgba(35, 35, 35, 0.74) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}
html body #screen[data-route="home"] .home-group-body {
  padding: 18px 16px 16px !important;
}
html body #screen[data-route="home"] .home-group-body h3 {
  margin: 0 !important;
  color: var(--wds-label) !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 620 !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
}
html body #screen[data-route="home"] .home-group-body p {
  margin: 7px 0 15px !important;
  color: var(--wds-alt) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}
html body #screen[data-route="home"] .home-group-price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-bottom: 12px !important;
}
html body #screen[data-route="home"] .home-group-price strong {
  color: var(--wds-label) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-group-price span {
  color: #bebec4 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-group-price em {
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  background: rgba(255, 79, 48, 0.1) !important;
  color: var(--wds-primary) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-group-progress {
  height: 8px !important;
  border-radius: 999px !important;
  background: #f0f0f2 !important;
  overflow: hidden !important;
}
html body #screen[data-route="home"] .home-group-progress span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #00c853 !important;
}
html body #screen[data-route="home"] .home-group-progress-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
html body #screen[data-route="home"] .home-group-progress-row span {
  color: #00b84a !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
html body #screen[data-route="home"] .home-group-progress-row em {
  color: var(--wds-alt) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-group-cta {
  width: 100% !important;
  height: 44px !important;
  margin-top: 15px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255, 79, 48, 0.1) !important;
  color: var(--wds-primary) !important;
  font-size: 15px !important;
  font-weight: 620 !important;
  cursor: pointer !important;
}
html body #screen[data-route="home"] .home-group-cta.is-ended {
  background: var(--wds-fill-strong) !important;
  color: var(--wds-alt) !important;
  cursor: default !important;
}
html body #screen[data-route="home"] .home-popular-tabs {
  margin-bottom: 12px !important;
}
html body #screen[data-route="home"] .home-popular-tabs .pill {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid #dcdce2 !important;
  background: #f7f7f8 !important;
  color: #55575d !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}
html body #screen[data-route="home"] .home-popular-tabs .pill.pill-on {
  border-color: var(--wds-primary) !important;
  background: #fff !important;
  color: var(--wds-primary) !important;
}
html body #screen[data-route="home"] .home-popular-slider {
  position: relative !important;
}
html body #screen[data-route="home"] .home-popular-products {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  margin-left: -1px !important;
  margin-right: -18px !important;
  padding: 0 18px 8px 1px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
html body #screen[data-route="home"] .home-popular-products::-webkit-scrollbar {
  display: none !important;
}
html body #screen[data-route="home"] .home-popular-arrow {
  position: absolute !important;
  top: 42% !important;
  right: 2px !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(17, 17, 17, 0.06) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--wds-label) !important;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}
html body #screen[data-route="home"] .home-popular-product {
  flex: 0 0 calc((100% - 12px) / 2) !important;
  width: calc((100% - 12px) / 2) !important;
  min-height: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start !important;
}
html body #screen[data-route="home"] .home-popular-product .art {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  background: #fff !important;
}
html body #screen[data-route="home"] .home-popular-product .art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
html body #screen[data-route="home"] .home-popular-product .art-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  top: 8px !important;
  right: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #111 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.08) !important;
}
html body #screen[data-route="home"] .home-popular-product .art-mark.is-fav {
  background: var(--wds-primary) !important;
  color: #fff !important;
}
html body #screen[data-route="home"] .home-popular-product .home-product-rating {
  margin: 0 0 3px !important;
  color: var(--wds-alt) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  min-height: 14px !important;
}
html body #screen[data-route="home"] .home-popular-product h3 {
  color: var(--wds-label) !important;
  font-size: 14px !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
  min-height: 36px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
html body #screen[data-route="home"] .home-recent-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
html body #screen[data-route="home"] .home-recent-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  cursor: pointer !important;
  text-align: center !important;
}
html body #screen[data-route="home"] .home-recent-thumb {
  width: 58px !important;
  height: 58px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  background: #fff !important;
}
html body #screen[data-route="home"] .home-recent-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
html body #screen[data-route="home"] .home-recent-thumb svg {
  width: 24px !important;
  height: 24px !important;
}
html body #screen[data-route="home"] .home-recent-card strong {
  width: 100% !important;
  color: #9a9aa1 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  min-height: 28px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
html body #screen[data-route="home"] .home-recent-section .section-head .link {
  color: #aaaab0 !important;
}

html body #screen[data-route="home"] .home-ch-card {
  display: block !important;
  padding: 20px 20px 22px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(17, 17, 17, 0.07) !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body #screen[data-route="home"] .home-ch-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
html body #screen[data-route="home"] .home-ch-day-label {
  color: var(--wds-primary) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
html body #screen[data-route="home"] .home-ch-streak {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 79, 48, 0.08) !important;
  color: var(--wds-primary) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-title {
  display: block !important;
  color: var(--wds-label) !important;
  font-size: 23px !important;
  line-height: 1.18 !important;
  font-weight: 600 !important;
  margin: 0 0 14px !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-track {
  height: 8px !important;
  margin: 0 0 15px !important;
  border-radius: 999px !important;
  background: var(--wds-fill-strong) !important;
  overflow: hidden !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-bar {
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--wds-primary) !important;
}
html body #screen[data-route="home"] .home-ch-social-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 17px !important;
}
html body #screen[data-route="home"] .home-ch-runners {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
}
html body #screen[data-route="home"] .home-ch-runner-avatar,
html body #screen[data-route="home"] .home-ch-runner-more {
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  border: 2px solid #fff !important;
}
html body #screen[data-route="home"] .home-ch-runner-avatar + .home-ch-runner-avatar,
html body #screen[data-route="home"] .home-ch-runner-more {
  margin-left: -7px !important;
}
html body #screen[data-route="home"] .home-ch-runner-user {
  background: #f4a9ce !important;
}
html body #screen[data-route="home"] .home-ch-runner-blue {
  background: #8ea7ff !important;
}
html body #screen[data-route="home"] .home-ch-runner-more {
  background: #ecebf4 !important;
  color: #8b8b98 !important;
}
html body #screen[data-route="home"] .home-ch-runners em {
  min-width: 0 !important;
  margin-left: 7px !important;
  color: var(--wds-alt) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-reward {
  flex: 0 0 auto !important;
  color: var(--wds-label) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-btn {
  height: 44px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255, 79, 48, 0.1) !important;
  color: var(--wds-primary) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
html body #screen[data-route="home"] .home-ch-card .home-ch-btn.pill-done {
  background: var(--wds-fill-strong) !important;
  color: var(--wds-alt) !important;
}

/* ── 검색(3b) 와이어프레임 정합 ── */
#screen[data-route="search"] .search-clear-link { color: var(--wds-alt) !important; font-size: 12px; font-weight: 600; }
#screen[data-route="search"] .recent-list { display: flex; flex-direction: column; }
#screen[data-route="search"] .recent-row { display: flex; align-items: center; gap: 10px; padding: 13px 2px; }
#screen[data-route="search"] .recent-clock { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: #a8a8af !important; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#screen[data-route="search"] .recent-term { flex: 1; text-align: left; border: 0; background: none; color: var(--wds-label) !important; font-size: 15px; font-weight: 600; padding: 0; cursor: pointer; }
#screen[data-route="search"] .recent-x { border: 0; background: none; color: #a8a8af !important; font-size: 19px; line-height: 1; padding: 2px 4px; cursor: pointer; }
#screen[data-route="search"] .pop-rank-stamp { color: #b6b6bd !important; font-size: 11px; font-weight: 600; }
#screen[data-route="search"] .pop-rank-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
#screen[data-route="search"] .pop-rank-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 11px 0; cursor: pointer; text-align: left; }
#screen[data-route="search"] .pop-rank-num { width: 16px; flex: 0 0 auto; font-style: normal; font-size: 14px; font-weight: 600; color: #9c9ca3 !important; }
#screen[data-route="search"] .pop-rank-num.is-top3 { color: #e5484d !important; }
#screen[data-route="search"] .pop-rank-term { flex: 1; font-size: 14px; font-weight: 600; color: var(--wds-label) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen[data-route="search"] .pop-rank-diff { flex: 0 0 auto; font-size: 10px; color: #c4c4ca !important; }
#screen[data-route="search"] .pop-rank-diff.up { color: #e5484d !important; }
#screen[data-route="search"] .pop-rank-diff.down { color: #3b82f6 !important; }
#screen[data-route="search"] .hot-prod-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 2px; }
#screen[data-route="search"] .hot-prod-row::-webkit-scrollbar { display: none; }
#screen[data-route="search"] .hot-prod { flex: 0 0 calc((100% - 24px) / 3); min-width: 0; scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
#screen[data-route="search"] .hot-prod-img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--wds-fill) !important; overflow: hidden; }
#screen[data-route="search"] .hot-prod-img img { width: 100%; height: 100%; object-fit: cover; }
#screen[data-route="search"] .hot-prod-name { font-size: 12px; font-weight: 600; color: var(--wds-label) !important; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 인기 검색어 컬럼: 레거시 스트레치 무력화 */
#screen[data-route="search"] .pop-rank-grid > div { display: flex; flex-direction: column; justify-content: flex-start; }
#screen[data-route="search"] .pop-rank-row { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; }

/* ── 제품 상세(3c) 와이어프레임 정합 ── */
#screen[data-route="product"] .pd-head { display: flex; flex-direction: column; gap: 6px; }
#screen[data-route="product"] .pd-badges { gap: 6px; }
#screen[data-route="product"] .pd-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,79,48,.45); background: #fff !important; color: var(--wds-primary) !important; font-size: 12px; font-weight: 500; }
#screen[data-route="product"] .pd-badge:last-child { border-color: var(--wds-line); color: var(--wds-alt) !important; background: var(--wds-fill) !important; }
#screen[data-route="product"] .pd-brand { font-size: 13px; font-weight: 600; color: var(--wds-alt) !important; margin: 2px 0 0; }
#screen[data-route="product"] .pd-name { font-size: 21px; font-weight: 600; color: var(--wds-label) !important; margin: 0; line-height: 1.3; }
#screen[data-route="product"] .pd-rating { font-size: 14px; font-weight: 500; color: var(--wds-label) !important; margin: 2px 0 0; }
#screen[data-route="product"] .pd-gb-line { font-size: 14px; font-weight: 600; color: var(--wds-primary) !important; margin: 4px 0 0; }
#screen[data-route="product"] .pd-gb-line.soft { color: var(--wds-alt) !important; font-weight: 600; }
#screen[data-route="product"] .pd-reasons p { display: flex; align-items: center; gap: 8px; }
#screen[data-route="product"] .pd-check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #171719 !important; color: #fff !important; font-size: 11px; flex: 0 0 auto; }
#screen[data-route="product"] .pd-diet-add { display: block; width: 100%; margin-top: 12px; border: 1px dashed rgba(255,79,48,.5); background: rgba(255,79,48,.06) !important; color: var(--wds-primary) !important; font-size: 14px; font-weight: 600; padding: 14px 0; border-radius: 14px; cursor: pointer; }
#screen[data-route="product"] .pd-review-cnt { font-size: 14px; font-weight: 500; color: var(--wds-alt); margin-left: 2px; }
#screen[data-route="product"] .pd-review-summary { display: flex; align-items: center; gap: 18px; padding: 4px 2px 14px; }
#screen[data-route="product"] .pd-review-avg { display: flex; flex-direction: column; align-items: center; gap: 2px; }
#screen[data-route="product"] .pd-review-avg strong { font-size: 30px; font-weight: 600; color: var(--wds-label) !important; line-height: 1; }
#screen[data-route="product"] .pd-review-stars { color: var(--wds-primary) !important; font-size: 13px; letter-spacing: 1px; }
#screen[data-route="product"] .pd-star-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
#screen[data-route="product"] .pd-star-row { display: flex; align-items: center; gap: 8px; }
#screen[data-route="product"] .pd-star-row > span { width: 26px; font-size: 11px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="product"] .pd-star-track { flex: 1; height: 7px; border-radius: 999px; background: var(--wds-fill) !important; overflow: hidden; }
#screen[data-route="product"] .pd-star-track span { display: block; height: 100%; border-radius: 999px; background: var(--wds-primary) !important; }

/* ── 제품 상세: 조회/담기 + 영양정보 카드 ── */
#screen[data-route="product"] .pd-eng { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; margin: 2px 0 0; }
#screen[data-route="product"] .pd-nutrition { background: #fff; border: 1px solid var(--wds-line); border-radius: 16px; padding: 16px; }
#screen[data-route="product"] .pd-nu-serving { font-size: 12px; font-weight: 600; color: var(--wds-alt); margin-left: 4px; }
#screen[data-route="product"] .pd-nu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
#screen[data-route="product"] .pd-nu-card { border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
#screen[data-route="product"] .pd-nu-card.red { background: rgba(255,79,48,.07) !important; }
#screen[data-route="product"] .pd-nu-card.green { background: rgba(31,158,87,.08) !important; }
#screen[data-route="product"] .pd-nu-card.gray { background: var(--wds-fill) !important; }
#screen[data-route="product"] .pd-nu-card span { font-size: 12px; font-weight: 600; }
#screen[data-route="product"] .pd-nu-card.red span, #screen[data-route="product"] .pd-nu-card.red small { color: #e5483d !important; }
#screen[data-route="product"] .pd-nu-card.green span, #screen[data-route="product"] .pd-nu-card.green small { color: #1f9e57 !important; }
#screen[data-route="product"] .pd-nu-card.gray span, #screen[data-route="product"] .pd-nu-card.gray small { color: var(--wds-alt) !important; }
#screen[data-route="product"] .pd-nu-card strong { font-size: 20px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="product"] .pd-nu-card strong em { font-style: normal; font-size: 12px; font-weight: 500; margin-left: 1px; }
#screen[data-route="product"] .pd-nu-bar { height: 5px; border-radius: 999px; background: rgba(112,115,124,.14) !important; overflow: hidden; }
#screen[data-route="product"] .pd-nu-card.red .pd-nu-bar i { display: block; height: 100%; background: #e5483d !important; border-radius: 999px; }
#screen[data-route="product"] .pd-nu-card.green .pd-nu-bar i { display: block; height: 100%; background: #1f9e57 !important; border-radius: 999px; }
#screen[data-route="product"] .pd-nu-card.gray .pd-nu-bar i { display: block; height: 100%; background: #8c8c94 !important; border-radius: 999px; }
#screen[data-route="product"] .pd-nu-card small { font-size: 10.5px; font-weight: 500; }
#screen[data-route="product"] .pd-nu-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
#screen[data-route="product"] .pd-nu-row > span { width: 44px; font-size: 13px; font-weight: 500; color: var(--wds-label) !important; }
#screen[data-route="product"] .pd-nu-track { flex: 1; height: 6px; border-radius: 999px; background: rgba(112,115,124,.14) !important; overflow: hidden; }
#screen[data-route="product"] .pd-nu-track i { display: block; height: 100%; background: #8c8c94 !important; border-radius: 999px; }
#screen[data-route="product"] .pd-nu-row strong { font-size: 13px; font-weight: 500; color: var(--wds-label) !important; white-space: nowrap; }
#screen[data-route="product"] .pd-nu-note { font-size: 11px; color: #b6b6bd !important; margin: 8px 0 0; }

/* ── 공동구매(4d) 카드 재설계 ── */
#screen[data-route="groupBuy"] .gb2-featured { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; cursor: pointer; padding: 12px 14px; border-radius: 12px; background: rgba(255,79,48,.07) !important; text-align: left; }
#screen[data-route="groupBuy"] .gb2-featured-flame { flex: 0 0 auto; font-size: 14px; }
#screen[data-route="groupBuy"] .gb2-featured-txt { flex: 1; font-size: 13px; font-weight: 600; color: var(--wds-label) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen[data-route="groupBuy"] .gb2-featured-txt strong { color: var(--wds-primary) !important; font-weight: 600; margin-right: 4px; }
#screen[data-route="groupBuy"] .gb2-featured-arrow { flex: 0 0 auto; color: var(--wds-alt) !important; font-size: 17px; }
#screen[data-route="groupBuy"] .gb2-card { background: #fff !important; border: 1px solid var(--wds-line); border-radius: 18px; overflow: hidden; margin-bottom: 16px; }
#screen[data-route="groupBuy"] .gb2-photo { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
#screen[data-route="groupBuy"] .gb2-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#screen[data-route="groupBuy"] .gb2-timer { position: absolute; top: 10px; left: 10px; background: rgba(23,23,25,.72) !important; color: #fff !important; font-size: 11.5px; font-weight: 500; padding: 5px 9px; border-radius: 8px; }
#screen[data-route="groupBuy"] .gb2-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; }
#screen[data-route="groupBuy"] .gb2-title { font-size: 18px; font-weight: 600; color: var(--wds-label) !important; margin: 0; }
#screen[data-route="groupBuy"] .gb2-sub { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; margin: -3px 0 0; }
#screen[data-route="groupBuy"] .gb2-price-row { display: flex; align-items: center; gap: 7px; }
#screen[data-route="groupBuy"] .gb2-price-row strong { font-size: 19px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="groupBuy"] .gb2-price-row s { font-size: 13px; color: #b6b6bd !important; }
#screen[data-route="groupBuy"] .gb2-save { font-style: normal; font-size: 11.5px; font-weight: 600; color: #e5483d !important; background: rgba(229,72,61,.08) !important; padding: 3px 8px; border-radius: 6px; }
#screen[data-route="groupBuy"] .gb2-progress { height: 8px; border-radius: 999px; background: var(--wds-fill) !important; overflow: hidden; }
#screen[data-route="groupBuy"] .gb2-progress span { display: block; height: 100%; border-radius: 999px; background: #17b75e !important; }
#screen[data-route="groupBuy"] .gb2-progress-meta { display: flex; justify-content: space-between; align-items: center; }
#screen[data-route="groupBuy"] .gb2-joined-txt { font-size: 12px; font-weight: 600; color: #129a4e !important; }
#screen[data-route="groupBuy"] .gb2-min { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="groupBuy"] .gb2-reserve { width: 100%; border: 0; margin-top: 4px; padding: 14px 0; border-radius: 12px; background: rgba(255,79,48,.08) !important; color: var(--wds-primary) !important; font-size: 15px; font-weight: 600; cursor: pointer; }
#screen[data-route="groupBuy"] .gb2-reserve:disabled { background: var(--wds-fill) !important; color: #b6b6bd !important; cursor: default; }
#screen[data-route="groupBuy"] .gb2-joined-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
#screen[data-route="groupBuy"] .gb2-joined-chip { background: rgba(23,183,94,.1) !important; color: #129a4e !important; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
#screen[data-route="groupBuy"] .gb2-mini { border: 0; background: var(--wds-fill) !important; color: var(--wds-label) !important; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
/* 공구 탭 3등분 + 카드 사진 축소 */
#screen[data-route="groupBuy"] .r04-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
#screen[data-route="groupBuy"] .r04-tab { text-align: center; padding: 12px 0; }
#screen[data-route="groupBuy"] .gb2-photo { aspect-ratio: 16 / 9; }

/* ── 커뮤니티(5a) 정합 ── */
#screen[data-route="challenge"] .cm-store-banner { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; cursor: pointer; padding: 14px 16px; border-radius: 14px; background: var(--wds-fill) !important; text-align: left; }
#screen[data-route="challenge"] .cm-store-sym { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; }
#screen[data-route="challenge"] .cm-store-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="challenge"] .cm-store-text strong { font-size: 14.5px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="challenge"] .cm-official { font-style: normal; font-size: 11px; font-weight: 600; color: #1f9e57 !important; margin-left: 3px; }
#screen[data-route="challenge"] .cm-store-text span { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="challenge"] .cm-chev { color: var(--wds-alt) !important; font-size: 18px; }
#screen[data-route="challenge"] .cm-ch-card { background: transparent !important; border: 0 !important; border-radius: 0; padding: 0; overflow: visible; }
#screen[data-route="challenge"] .cm-ch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#screen[data-route="challenge"] .cm-ch-kicker { font-size: 12.5px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="challenge"] .cm-ch-top .link { font-size: 12px; color: var(--wds-alt) !important; }
#screen[data-route="challenge"] .cm-ch-rail-wrap { position: relative; overflow: visible; }
#screen[data-route="challenge"] .cm-ch-rail { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 2px; scrollbar-width: none; }
#screen[data-route="challenge"] .cm-ch-rail::-webkit-scrollbar { display: none; }
#screen[data-route="challenge"] .cm-ch-slide { flex: 0 0 100%; scroll-snap-align: start; background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 13px 14px; cursor: pointer; }
#screen[data-route="challenge"] .cm-ch-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#screen[data-route="challenge"] .cm-ch-info { display: flex; flex-direction: column; gap: 3px; }
#screen[data-route="challenge"] .cm-ch-info strong { font-size: 15.5px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="challenge"] .cm-ch-info span { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="challenge"] .cm-ch-btn { flex: 0 0 auto; border: 0; background: var(--wds-primary) !important; color: #fff !important; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
#screen[data-route="challenge"] .cm-ch-btn.done { background: var(--wds-fill) !important; color: #1f9e57 !important; }
#screen[data-route="challenge"] .cm-ch-arrow { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 18px; height: 42px; border: 0; border-radius: 0; background: transparent !important; color: var(--wds-label) !important; box-shadow: none !important; font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; z-index: 2; opacity: .14; transition: opacity .15s ease, color .15s ease; }
#screen[data-route="challenge"] .cm-ch-arrow:hover,
#screen[data-route="challenge"] .cm-ch-arrow:focus-visible,
#screen[data-route="challenge"] .cm-ch-arrow:active { color: var(--wds-primary) !important; opacity: .68; outline: none; }
#screen[data-route="challenge"] .cm-fab { background: var(--wds-primary) !important; color: #fff !important; font-size: 26px; font-weight: 500; }
#screen[data-route="challenge"] .cp-act span { font-size: 13px; }
/* FAB: 폰 프레임 안 하단 우측에 고정 (fixed→sticky, 미리보기·기기 공통) */
#screen .fab { position: sticky; bottom: 16px; margin: -54px 6px 10px auto; display: grid; place-items: center; }
/* 커뮤니티 필터칩 완전 원형 + 자유 뱃지 + 챌린지 카드 테두리 옅게 */
#screen[data-route="challenge"] .r05-filter-row .pill { border-radius: 999px !important; border: 0 !important; padding: 9px 16px !important; font-size: 13.5px !important; }
#screen[data-route="challenge"] .cp-badge-free { background: var(--wds-fill) !important; color: var(--wds-alt) !important; }
#screen[data-route="challenge"] .cm-ch-card { border-color: rgba(112,115,124,.1) !important; }

/* ── 글쓰기 바텀시트(5c) ── */
html body .ct2-sheet { text-align: left; padding: 12px 20px 22px; }
html body .ct2-handle { display: block; width: 44px; height: 4px; border-radius: 999px; background: rgba(112,115,124,.22) !important; margin: 0 auto 14px; }
html body .ct2-title { font-size: 19px; font-weight: 600; color: var(--wds-label) !important; margin: 0 0 14px; text-align: left; }
html body .ct2-item { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: none; padding: 11px 2px; cursor: pointer; text-align: left; }
html body .ct2-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,79,48,.08) !important; display: grid; place-items: center; font-size: 22px; }
html body .ct2-item div { display: flex; flex-direction: column; gap: 2px; }
html body .ct2-item strong { font-size: 15px; font-weight: 600; color: var(--wds-label) !important; }
html body .ct2-item em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; }

/* ── 챌린지 메인(4e) 카드 ── */
#screen[data-route="challengeMain"] .ch4-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
#screen[data-route="challengeMain"] .ch4-tabs .r04-tab { text-align: center; padding: 12px 0; }
.ch4-card { background: #fff !important; border: 1px solid rgba(112,115,124,.12); border-radius: 16px; padding: 16px; margin-bottom: 14px; cursor: pointer; }
.ch4-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ch4-day { font-size: 12.5px; font-weight: 500; color: var(--wds-alt) !important; }
.ch4-day em { font-style: normal; color: var(--wds-primary) !important; font-weight: 600; }
.ch4-streak { font-size: 11.5px; font-weight: 600; color: #e5483d !important; background: rgba(229,72,61,.08) !important; border: 1px solid rgba(229,72,61,.25); padding: 4px 10px; border-radius: 999px; }
.ch4-title { font-size: 19px; font-weight: 600; color: var(--wds-label) !important; margin: 0 0 10px; }
.ch4-track { height: 7px; border-radius: 999px; background: var(--wds-fill) !important; overflow: hidden; }
.ch4-track span { display: block; height: 100%; border-radius: 999px; background: var(--wds-primary) !important; }
.ch4-meta { display: flex; justify-content: space-between; margin: 8px 0 12px; }
.ch4-meta span { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
.ch4-btn { width: 100%; border: 0; padding: 13px 0; border-radius: 12px; background: rgba(255,79,48,.08) !important; color: var(--wds-primary) !important; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ch4-btn.done { background: var(--wds-fill) !important; color: #129a4e !important; cursor: default; }
.ch4-btn.is-soft { background: rgba(112,115,124,.08) !important; color: var(--wds-label) !important; }
.ch4-diet-card .ch4-streak { background: rgba(255,79,48,.08) !important; color: var(--wds-primary) !important; border-color: rgba(255,79,48,.22); }

/* ── 챌린지 상세(4f) ── */
#screen[data-route="challengeDetail"] .ch4d-top { padding-top: 4px; }
#screen[data-route="challengeDetail"] .ch4d-dayrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
#screen[data-route="challengeDetail"] .ch4d-pct { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
#screen[data-route="challengeDetail"] .ch4d-pct strong { font-size: 40px; font-weight: 600; color: var(--wds-label) !important; line-height: 1; }
#screen[data-route="challengeDetail"] .ch4d-pct span { font-size: 15px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="challengeDetail"] .ch4-meta { margin: 10px 0 0; }
#screen[data-route="challengeDetail"] .ch4d-week { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 16px; padding: 14px 16px; }
#screen[data-route="challengeDetail"] .ch4d-weekcnt { font-size: 12.5px; font-weight: 600; color: var(--wds-primary) !important; }
#screen[data-route="challengeDetail"] .ch4d-weekrow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
#screen[data-route="challengeDetail"] .ch4d-daycol { display: flex; flex-direction: column; align-items: center; gap: 7px; }
#screen[data-route="challengeDetail"] .ch4d-daylabel { font-size: 11.5px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="challengeDetail"] .ch4d-circle { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 1.5px solid rgba(112,115,124,.22); color: transparent; background: #fff !important; }
#screen[data-route="challengeDetail"] .ch4d-circle.done { background: #17b75e !important; border-color: #17b75e; color: #fff !important; }
#screen[data-route="challengeDetail"] .ch4d-circle.today { border-color: var(--wds-primary); color: var(--wds-primary) !important; font-size: 9px; }
#screen[data-route="challengeDetail"] .ch4d-hint { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; margin: 12px 0 0; }
#screen[data-route="challengeDetail"] .ch4d-tl { display: flex; flex-direction: column; gap: 0; }
/* 세로 실선으로 연결되는 타임라인 */
#screen[data-route="challengeDetail"] .ch4d-tl-item { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 0 0 18px 20px; }
#screen[data-route="challengeDetail"] .ch4d-tl-item:not(:last-child)::before { content: ""; position: absolute; left: 3.25px; top: 12px; bottom: 0; width: 1.5px; background: rgba(112,115,124,.22); }
#screen[data-route="challengeDetail"] .ch4d-tl-item:last-child { padding-bottom: 0; }
#screen[data-route="challengeDetail"] .ch4d-tl-head { display: flex; align-items: center; gap: 8px; }
#screen[data-route="challengeDetail"] .ch4d-tl-dot { position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: rgba(112,115,124,.3) !important; flex: 0 0 auto; z-index: 1; }
#screen[data-route="challengeDetail"] .ch4d-tl-dot.hot { background: var(--wds-primary) !important; box-shadow: 0 0 0 3px rgba(255,79,48,.14); }
#screen[data-route="challengeDetail"] .ch4d-tl-head strong { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; flex: 1; }
#screen[data-route="challengeDetail"] .ch4d-tl-head em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="challengeDetail"] .ch4d-tl-photo { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
#screen[data-route="challengeDetail"] .ch4d-tl-note { font-size: 13px; font-weight: 600; color: var(--wds-label) !important; margin: 0; }
/* 내 공동구매 탭 3등분 + 완료 회색 */
#screen[data-route="myGroupBuys"] .mygb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
#screen[data-route="myGroupBuys"] .mygb-tabs .r04-tab { text-align: center; padding: 12px 0; font-size: 13.5px; }
#screen[data-route="myGroupBuys"] .mygb-card.is-done { opacity: .58; filter: grayscale(.35); }
#screen[data-route="myGroupBuys"] .mygb-card.is-done .mygb-actions .pill-cta { display: none; }
#screen[data-route="challengeDetail"] .pill-cta { border: 0 !important; }
/* 커뮤니티 하트: 기본 회색 선, 좋아요=빨강 채움 */
html body .screen .community-post .cp-act svg { fill: none; stroke: #9c9ca3 !important; stroke-width: 1.8; }
html body .screen .community-post .cp-act.on { color: #e5484d !important; }
html body .screen .community-post .cp-act.on svg { stroke: #e5484d !important; fill: #e5484d !important; }

/* ── 운동 기록(workout) 정리: 테두리 제거·소프트 톤 ── */
#screen[data-route="workout"] .pill-cta { border: 0 !important; }
#screen[data-route="workout"] .wo-form { background: #fff !important; border: 1px solid rgba(112,115,124,.1) !important; box-shadow: none !important; }
#screen[data-route="workout"] .form-input { background: var(--wds-fill) !important; border: 0 !important; border-radius: 12px !important; }
#screen[data-route="workout"] .admin-toggle { background: var(--wds-fill) !important; border: 0 !important; border-radius: 12px; padding: 12px 14px; }

/* ── 마이(5d) 정리 ── */
#screen[data-route="my"] .my5-profile { display: flex; align-items: center; gap: 12px; }
#screen[data-route="my"] .my5-profile-text { flex: 1; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
#screen[data-route="my"] .my5-profile-text strong { font-size: 18px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="my"] .my5-profile-text span { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="my"] .my5-edit-btn { flex: 0 0 auto; border: 0; background: var(--wds-fill) !important; color: var(--wds-label) !important; font-size: 12.5px; font-weight: 500; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
#screen[data-route="my"] .my5-point-card { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; cursor: pointer; padding: 16px 18px; border-radius: 14px; background: rgba(255,79,48,.07) !important; text-align: left; }
#screen[data-route="my"] .my5-point-left { display: flex; flex-direction: column; gap: 4px; }
#screen[data-route="my"] .my5-point-left span { font-size: 12.5px; font-weight: 500; color: var(--wds-primary) !important; }
#screen[data-route="my"] .my5-point-left strong { font-size: 24px; font-weight: 600; color: var(--wds-label) !important; line-height: 1; }
#screen[data-route="my"] .my5-point-left strong em { font-style: normal; font-size: 15px; font-weight: 600; margin-left: 1px; }
#screen[data-route="my"] .my5-point-cta { font-size: 12.5px; font-weight: 500; color: var(--wds-primary) !important; }
#screen[data-route="my"] .my5-gb-card { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid rgba(112,115,124,.12); cursor: pointer; padding: 15px 16px; border-radius: 14px; background: #fff !important; text-align: left; }
#screen[data-route="my"] .my5-gb-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--wds-fill) !important; display: grid; place-items: center; color: var(--wds-label); flex: 0 0 auto; }
#screen[data-route="my"] .my5-gb-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#screen[data-route="my"] .my5-gb-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="my"] .my5-gb-text span { font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="my"] .my5-gb-text strong { font-size: 15px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="my"] .my5-gb-cta { font-size: 12px; font-weight: 500; color: var(--wds-primary) !important; white-space: nowrap; }
#screen[data-route="my"] .my5-group { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 4px 16px; }
#screen[data-route="my"] .my5-row { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 15px 0; cursor: pointer; text-align: left; }
#screen[data-route="my"] .my5-row + .my5-row { border-top: 1px solid rgba(112,115,124,.08); }
#screen[data-route="my"] .my5-row-title { font-size: 14.5px; font-weight: 500; color: var(--wds-label) !important; }
#screen[data-route="my"] .my5-row-title em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; margin-left: 6px; }
#screen[data-route="my"] .my5-chev { color: #b6b6bd !important; font-size: 17px; }
#screen[data-route="my"] .my5-admin-banner { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; cursor: pointer; padding: 14px 16px; border-radius: 14px; background: #f1ecfe !important; text-align: left; }
#screen[data-route="my"] .my5-admin-ico { width: 36px; height: 36px; border-radius: 10px; background: #7b61ff !important; color: #fff !important; display: grid; place-items: center; flex: 0 0 auto; }
#screen[data-route="my"] .my5-admin-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#screen[data-route="my"] .my5-admin-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="my"] .my5-admin-text strong { font-size: 14.5px; font-weight: 600; color: #4b3d99 !important; }
#screen[data-route="my"] .my5-admin-text span { font-size: 11.5px; font-weight: 600; color: #7b6dbd !important; }
/* 마이: 굵기 추가 완화 */
#screen[data-route="my"] .my5-profile-text strong { font-weight: 500 !important; }
#screen[data-route="my"] .my5-profile-text span { font-weight: 500 !important; }
#screen[data-route="my"] .my5-point-left span { font-weight: 600 !important; }
#screen[data-route="my"] .my5-point-left strong { font-weight: 600 !important; }
#screen[data-route="my"] .my5-point-cta, #screen[data-route="my"] .my5-gb-cta { font-weight: 600 !important; }
#screen[data-route="my"] .my5-gb-text span { font-weight: 500 !important; }
#screen[data-route="my"] .my5-gb-text strong { font-weight: 500 !important; }
#screen[data-route="my"] .my5-row-title { font-weight: 500 !important; }
#screen[data-route="my"] .my5-row-title em { font-weight: 500 !important; }
#screen[data-route="my"] .my5-edit-btn { font-weight: 600 !important; }
#screen[data-route="my"] .my5-admin-text strong { font-weight: 500 !important; }
#screen[data-route="my"] .my5-admin-text span { font-weight: 500 !important; }

/* ── 알림(R20) 정리 ── */
#screen[data-route="notifications"] .nt-filter-wrap { display: flex; align-items: center; gap: 10px; }
#screen[data-route="notifications"] .nt-filter-row { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
#screen[data-route="notifications"] .nt-filter-row::-webkit-scrollbar { display: none; }
#screen[data-route="notifications"] .nt-filter-row .pill { border-radius: 999px !important; border: 0 !important; padding: 9px 16px !important; font-size: 13px !important; white-space: nowrap; flex: 0 0 auto; }
#screen[data-route="notifications"] .nt-clear { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="notifications"] .nt-head h2 { font-size: 15px; font-weight: 500; }
#screen[data-route="notifications"] .nt-group { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 2px 14px; }
#screen[data-route="notifications"] .nt-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; }
#screen[data-route="notifications"] .nt-row + .nt-row { border-top: 1px solid rgba(112,115,124,.08); }
#screen[data-route="notifications"] .nt-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--wds-fill) !important; display: grid; place-items: center; color: var(--wds-label); flex: 0 0 auto; }
#screen[data-route="notifications"] .nt-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#screen[data-route="notifications"] .nt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="notifications"] .nt-text strong { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="notifications"] .nt-text span { font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen[data-route="notifications"] .nt-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#screen[data-route="notifications"] .nt-right em { font-style: normal; font-size: 11px; font-weight: 500; color: #b6b6bd !important; }
#screen[data-route="notifications"] .nt-x { border: 0; background: none; color: #c4c4ca !important; font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; }
/* 운영 콘솔 탭 3등분 */
#screen[data-route="adminConsole"] .admin-console-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
#screen[data-route="adminConsole"] .admin-console-tabs .r04-tab { text-align: center; padding: 12px 0; }
/* 운영 콘솔: 찜 많은 제품 행 */
#screen[data-route="adminConsole"] .fav-top-group { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 2px 14px; }
#screen[data-route="adminConsole"] .fav-top-row { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 11px 0; cursor: pointer; text-align: left; }
#screen[data-route="adminConsole"] .fav-top-row + .fav-top-row { border-top: 1px solid rgba(112,115,124,.08); }
#screen[data-route="adminConsole"] .fav-top-img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: var(--wds-fill) !important; flex: 0 0 auto; display: grid; place-items: center; font-size: 17px; }
#screen[data-route="adminConsole"] .fav-top-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#screen[data-route="adminConsole"] .fav-top-text strong { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; white-space: normal; line-height: 1.35; }
#screen[data-route="adminConsole"] .fav-top-text span { font-size: 11.5px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="adminConsole"] .fav-top-cnt { flex: 0 0 auto; font-size: 12.5px; font-weight: 500; color: #e5484d !important; background: rgba(229,72,61,.08) !important; padding: 5px 10px; border-radius: 999px; }

/* ── 포인트(R14) 적립 내역 3열 + 통계 박스 선 정리 ── */
#screen[data-route="coupons"] .stat { border: 1px solid rgba(112,115,124,.12) !important; box-shadow: none !important; }
#screen[data-route="coupons"] .pt-hist-group { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 2px 14px; }
#screen[data-route="coupons"] .pt-hist-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; }
#screen[data-route="coupons"] .pt-hist-row + .pt-hist-row { border-top: 1px solid rgba(112,115,124,.08); }
#screen[data-route="coupons"] .pt-hist-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--wds-label) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen[data-route="coupons"] .pt-hist-date { flex: 0 0 auto; font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; white-space: nowrap; }
#screen[data-route="coupons"] .pt-hist-pts { flex: 0 0 62px; text-align: right; font-size: 13.5px; font-weight: 500; color: var(--wds-primary) !important; white-space: nowrap; }

/* ── 즐겨찾기 칩 통일(원형·테두리 없음) ── */
#screen[data-route="favorites"] .chip-row .pill { border: 0 !important; border-radius: 999px !important; padding: 9px 16px !important; font-size: 13.5px !important; }

/* ── 운영 콘솔 검정선 일괄 제거 ── */
#screen[data-route="adminConsole"] .stat { border: 1px solid rgba(112,115,124,.12) !important; box-shadow: none !important; }
#screen[data-route="adminConsole"] .pill { border: 0 !important; }
#screen[data-route="adminConsole"] .pill-soft, #screen[data-route="adminConsole"] .pill-outline { background: var(--wds-fill) !important; color: var(--wds-label) !important; }
#screen[data-route="adminConsole"] .form-input, #screen[data-route="adminConsole"] textarea.form-input { background: var(--wds-fill) !important; border: 0 !important; border-radius: 12px !important; }
#screen[data-route="adminConsole"] .item, #screen[data-route="adminConsole"] .admin-deal-pick,
#screen[data-route="adminConsole"] .admin-note, #screen[data-route="adminConsole"] .faq-item { border-color: rgba(112,115,124,.12) !important; box-shadow: none !important; }
#screen[data-route="adminConsole"] .admin-toggle { background: var(--wds-fill) !important; border: 0 !important; border-radius: 12px; }

/* 끼니 선택 시트 */
html body .msp-product { font-size: 13px; font-weight: 600; color: var(--wds-alt) !important; margin: -6px 0 12px; text-align: left; }
html body .msp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html body .msp-slot { border: 0; background: var(--wds-fill) !important; color: var(--wds-label) !important; font-size: 15px; font-weight: 500; padding: 16px 0; border-radius: 14px; cursor: pointer; }
html body .msp-slot:active { background: rgba(255,79,48,.12) !important; color: var(--wds-primary) !important; }

/* 제품 편집: 삭제 버튼 */
html body .pe-delete-btn { display: block; width: 100%; margin-top: 10px; border: 0; background: none !important; color: #e5484d !important; font-size: 13px; font-weight: 600; padding: 10px 0; cursor: pointer; }

/* 제품 상세 하단 공동구매 CTA 테두리 제거 */
#screen[data-route="product"] .fab-row .pill-cta { border: 0 !important; }

/* 통계 박스: 숫자·라벨 중앙 정렬 */
#screen[data-route="adminConsole"] .stat, #screen[data-route="coupons"] .stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 14px 8px !important; }
#screen[data-route="adminConsole"] .stat strong, #screen[data-route="coupons"] .stat strong { font-size: 18px; font-weight: 600; }
#screen[data-route="adminConsole"] .stat span, #screen[data-route="coupons"] .stat span { font-size: 11.5px; font-weight: 600; color: var(--wds-alt) !important; }
/* 포인트 전환 신청 버튼 테두리 제거 */
#screen[data-route="coupons"] .pill-cta { border: 0 !important; }
/* 알림·즐겨찾기 카테고리: 원형 칩 → 밑줄 탭 분할 */
#screen[data-route="notifications"] .nt-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
#screen[data-route="notifications"] .nt-tabs .r04-tab { text-align: center; padding: 12px 0; font-size: 14px; }
#screen[data-route="notifications"] .nt-clear-row { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 0; }
#screen[data-route="notifications"] .nt-clear { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="favorites"] .fav-tabs { display: grid; gap: 0; }
#screen[data-route="favorites"] .fav-tabs .r04-tab { text-align: center; padding: 12px 0; font-size: 14px; }
/* 포인트 카드 부제 흰색→회색 (안 보이던 문제) */
#screen[data-route="coupons"] .point-balance-card p { color: var(--wds-alt) !important; }

/* ── 알림(5f) 재정리: 평면 리스트 + 안읽음 하이라이트 ── */
#screen[data-route="notifications"] .nt-readall { font-size: 12.5px; font-weight: 600; color: var(--wds-alt) !important; background: none !important; border: 0 !important; }
#screen[data-route="notifications"] .nt-chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
#screen[data-route="notifications"] .nt-chip-row::-webkit-scrollbar { display: none; }
#screen[data-route="notifications"] .nt-chip-row .pill { border: 0 !important; border-radius: 999px !important; padding: 9px 16px !important; font-size: 13px !important; white-space: nowrap; flex: 0 0 auto; }
#screen[data-route="notifications"] .nt-flat { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; }
#screen[data-route="notifications"] .nt-row { display: flex; align-items: center; gap: 12px; padding: 14px 14px; cursor: pointer; background: #fff !important; }
#screen[data-route="notifications"] .nt-row + .nt-row { border-top: 1px solid rgba(112,115,124,.07); }
#screen[data-route="notifications"] .nt-row.unread { background: rgba(255,79,48,.06) !important; }
#screen[data-route="notifications"] .nt-row.unread .nt-text strong { color: var(--wds-label) !important; }
#screen[data-route="notifications"] .nt-row:not(.unread) .nt-text strong { color: var(--wds-alt) !important; font-weight: 500; }
#screen[data-route="notifications"] .nt-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4f30 !important; flex: 0 0 auto; }

/* ── 소개(6o) ── */
#screen[data-route="about"] .ab-logo { display: flex; justify-content: center; padding-top: 8px; padding-bottom: 0; }
#screen[data-route="about"] .ab-logo img { width: 132px; height: auto; }
#screen[data-route="about"] .ab-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; display: block; }
#screen[data-route="about"] .ab-head h2 { font-size: 20px; font-weight: 600; color: var(--wds-label) !important; line-height: 1.35; margin: 0 0 8px; }
#screen[data-route="about"] .ab-head p { font-size: 13.5px; font-weight: 500; color: var(--wds-alt) !important; line-height: 1.55; margin: 0; }
#screen[data-route="about"] .ab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#screen[data-route="about"] .ab-stat { background: var(--wds-fill) !important; border-radius: 14px; padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
#screen[data-route="about"] .ab-stat strong { font-size: 20px; font-weight: 600; color: var(--wds-primary) !important; }
#screen[data-route="about"] .ab-stat span { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
#screen[data-route="about"] .ab-menu { background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 2px 16px; }
#screen[data-route="about"] .ab-menu-row { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 15px 0; cursor: pointer; text-align: left; }
#screen[data-route="about"] .ab-menu-row + .ab-menu-row { border-top: 1px solid rgba(112,115,124,.08); }
#screen[data-route="about"] .ab-menu-row span { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="about"] .ab-menu-row em { font-style: normal; color: #b6b6bd !important; font-size: 17px; }

/* ── 찜 하트: 기본 회색 선, 찜=빨강 (제품 그리드·즐겨찾기 공통) ── */
html body .category-product-heart { background: #fff !important; color: #c4c4ca !important; border: 0 !important; }
html body .category-product-heart.is-fav { color: #e5483d !important; }
html body .art-fav { background: rgba(255,255,255,.94) !important; color: #c4c4ca !important; border: 0 !important; }
html body .art-fav.is-fav { background: #fff !important; color: #e5483d !important; }

/* ── 즐겨찾기 카테고리: 고정 목록 가로 스크롤 + › ── */
#screen[data-route="favorites"] .fav-tabs-wrap { position: relative; }
#screen[data-route="favorites"] .fav-tabs { display: flex !important; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--wds-line); }
#screen[data-route="favorites"] .fav-tabs::-webkit-scrollbar { display: none; }
#screen[data-route="favorites"] .fav-tabs .r04-tab { flex: 0 0 auto; min-width: 72px; text-align: center; padding: 12px 10px; font-size: 14px; }
#screen[data-route="favorites"] .fav-tabs-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 42px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 75%); pointer-events: none; }
#screen[data-route="favorites"] .fav-tabs-more { position: absolute; right: -4px; top: 6px; z-index: 2; width: 32px; height: 32px; border: 0; background: transparent; color: #8c8c94 !important; font-size: 19px; font-weight: 500; cursor: pointer; display: grid; place-items: center; padding: 0; }
#screen[data-route="about"] a.ab-menu-row { text-decoration: none; }

/* ── 포인트(R14) 재정리: 잔액 카드·통계 2개·내역 2줄 ── */
#screen[data-route="coupons"] .pt-balance-card { background: linear-gradient(135deg, rgba(255,79,48,.10), rgba(255,79,48,.04)) !important; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
#screen[data-route="coupons"] .pt-balance-card span { font-size: 12.5px; font-weight: 600; color: var(--wds-primary) !important; }
#screen[data-route="coupons"] .pt-balance-card strong { font-size: 30px; font-weight: 600; color: var(--wds-label) !important; line-height: 1; }
#screen[data-route="coupons"] .pt-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#screen[data-route="coupons"] .pt-stat { background: var(--wds-fill) !important; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
#screen[data-route="coupons"] .pt-stat span { font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="coupons"] .pt-stat strong { font-size: 17px; font-weight: 500; color: var(--wds-label) !important; }
#screen[data-route="coupons"] .pt-stat .pt-earn { color: var(--wds-primary) !important; }
#screen[data-route="coupons"] .pt-hist-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#screen[data-route="coupons"] .pt-hist-name { font-weight: 500 !important; }
#screen[data-route="coupons"] .pt-hist-date { font-size: 11.5px !important; font-weight: 400 !important; color: #b6b6bd !important; }
#screen[data-route="coupons"] .pt-hist-pts { font-weight: 600 !important; }
#screen[data-route="coupons"] .section-head h2 { font-weight: 500; }

/* ── 매장 지도(6i) ── */
#screen[data-route="map"] .st6-chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
#screen[data-route="map"] .st6-chip-row::-webkit-scrollbar { display: none; }
#screen[data-route="map"] .st6-chip-row .pill { border: 0 !important; border-radius: 999px !important; padding: 9px 16px !important; font-size: 13px !important; white-space: nowrap; flex: 0 0 auto; }
#screen[data-route="map"] .st6-map { position: relative; }
#screen[data-route="map"] .st6-map .halo-leaflet-map { height: 380px !important; border-radius: 16px; }
#screen[data-route="map"] .st6-locate { position: absolute; top: 12px; right: 12px; z-index: 500; display: inline-flex; align-items: center; gap: 5px; border: 0; background: #fff !important; color: var(--wds-label) !important; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; }
#screen[data-route="map"] .st6-locate svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#screen[data-route="map"] .st6-list { display: flex; flex-direction: column; }
#screen[data-route="map"] .st6-row { display: flex; align-items: center; gap: 12px; background: #fff !important; border: 1px solid rgba(112,115,124,.1); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
#screen[data-route="map"] .st6-thumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: var(--wds-fill) !important; display: grid; place-items: center; flex: 0 0 auto; color: var(--wds-alt); }
#screen[data-route="map"] .st6-thumb img { width: 100%; height: 100%; object-fit: cover; }
#screen[data-route="map"] .st6-thumb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#screen[data-route="map"] .st6-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#screen[data-route="map"] .st6-text strong { font-size: 14.5px; font-weight: 500; color: var(--wds-label) !important; }
#screen[data-route="map"] .st6-soon { font-style: normal; font-size: 11px; font-weight: 500; color: var(--wds-primary) !important; }
#screen[data-route="map"] .st6-text span { font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen[data-route="map"] .st6-chev { color: #b6b6bd !important; font-size: 18px; flex: 0 0 auto; }

/* ── 매장 상세(6j) ── */
#screen[data-route="storeDetail"] .sd6-photo-sec { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
#screen[data-route="storeDetail"] .sd6-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#screen[data-route="storeDetail"] .sd6-info-card { background: var(--wds-fill) !important; border-radius: 14px; padding: 15px 16px; }
#screen[data-route="storeDetail"] .sd6-info-card strong { display: block; font-size: 14px; font-weight: 500; color: var(--wds-label) !important; margin-bottom: 5px; }
#screen[data-route="storeDetail"] .sd6-info-card p { font-size: 12.5px; font-weight: 500; color: var(--wds-alt) !important; line-height: 1.55; margin: 0; }
#screen[data-route="storeDetail"] .sd6-rows { display: flex; flex-direction: column; }
#screen[data-route="storeDetail"] .sd6-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; border: 0; background: none; padding: 15px 2px; cursor: pointer; text-align: left; }
#screen[data-route="storeDetail"] .sd6-row + .sd6-row { border-top: 1px solid rgba(112,115,124,.1); }
#screen[data-route="storeDetail"] .sd6-row > span { flex: 0 0 auto; font-size: 13.5px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="storeDetail"] .sd6-row > strong { flex: 1; text-align: right; font-size: 13.5px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="storeDetail"] .sd6-kakao { display: block; width: 100%; border: 1px solid rgba(112,115,124,.18); background: #fff !important; color: var(--wds-label) !important; font-size: 14.5px; font-weight: 500; padding: 15px 0; border-radius: 14px; cursor: pointer; }
/* 지도 탭 3등분 + 콘솔 탭 4등분 */
#screen[data-route="map"] .st6-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
#screen[data-route="map"] .st6-tabs .r04-tab { text-align: center; padding: 12px 0; font-size: 13.5px; }
#screen[data-route="adminConsole"] .admin-console-tabs { grid-template-columns: repeat(4, 1fr); }
#screen[data-route="adminConsole"] .admin-console-tabs .r04-tab { font-size: 13.5px; }
/* 지도 6i v2: 풀맵 + 플로팅 매장 카드 — 화면 남은 높이를 지도가 채움 */
#screen[data-route="map"] { display: flex; flex-direction: column; }
#screen[data-route="map"] > * { flex: 0 0 auto; }
#screen[data-route="map"] .st6-map-full { position: relative; margin-bottom: 0; flex: 1 1 auto; min-height: 320px; display: flex; }
#screen[data-route="map"] .st6-map-full .halo-leaflet-map { height: auto !important; min-height: 320px; flex: 1 1 auto; }
#screen[data-route="map"] .st6-float-card { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1100; }
#screen[data-route="map"] .st6-float-card .st6-row { margin-bottom: 0; border: 0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.14); border-radius: 16px; }
/* 즐겨찾기 하트 색 통일 — .product:nth-child(2n) * 검정 강제 무력화 */
#screen .product .art-mark.art-fav { background: rgba(255,255,255,.94) !important; color: #c4c4ca !important; }
#screen .product .art-mark.art-fav.is-fav { background: #fff !important; color: #e5483d !important; }
/* 지도 6i v3: 지도 가장자리까지 풀블리드 */
#screen[data-route="map"] { padding-bottom: 0 !important; }
#screen[data-route="map"] .r04-tabs-wrap { margin-top: 12px; }
#screen[data-route="map"] .st6-map-full { margin: 14px -18px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
#screen[data-route="map"] .st6-map-full .halo-leaflet-map { border-radius: 0 !important; }
#screen[data-route="map"] .st6-float-card { left: 16px; right: 16px; bottom: 16px; }
/* 알림 5f: 모두 읽음 한 줄 고정 */
.nt-readall { white-space: nowrap !important; flex: 0 0 auto; }
.nt-readall { width: auto !important; min-width: 0 !important; height: auto !important; padding: 7px 10px !important; font-size: 12.5px !important; border-radius: 999px; }
/* 공구 바텀시트 (6g) — 참여·신청 공용 */
.modal.gb-sheet { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; transform: none !important; width: auto !important; max-width: none !important; margin: 0 !important; border-radius: 24px 24px 0 0 !important; max-height: 84%; overflow-y: auto; padding: 12px 20px 24px !important; animation: gbSheetUp .26s ease; }
@keyframes gbSheetUp { from { transform: translateY(48px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
.gb-sheet-handle { display: block; width: 44px; height: 4px; border-radius: 999px; background: rgba(112,115,124,.28) !important; margin: 0 auto 12px; }
.gb-sheet .gb-sheet-title { text-align: left; font-size: 18px; line-height: 1.35; margin: 2px 0 8px; }
.gb-sheet .admin-field { text-align: left; }
/* 공구 카드 1박스 구성 안내줄 */
.gb2-box-line, .home-group-box-line { display: block; font-size: 12px; color: #8a7d75 !important; margin: -2px 0 8px; }
/* 운동 기록: 연속 인증 안내 + 사진 업로드 라벨 */
.wo-streak-line { font-size: 13.5px; font-weight: 500; color: #ff4f30 !important; margin: 2px 0 10px; text-align: center; }
.wo-photo-picker b { font-weight: 600; }
/* 알림 모두 읽음 위치 안쪽으로 */
.nt-readall { margin: 10px 12px 0 0 !important; }
/* 운동 기록: 큰 인증 사진 업로드 박스 (오늘 인증과 동일 톤) */
.wo-photo-picker { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 148px; border: 1px solid rgba(112,115,124,.16) !important; border-radius: 16px !important; background: #fff !important; padding: 24px 16px !important; cursor: pointer; }
.wo-photo-picker span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; color: var(--wds-label) !important; }
.wo-photo-picker span svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wo-photo-picker b { font-weight: 600; }
.wo-photo-picker em { font-size: 12px; color: #8a8a92 !important; font-style: normal; }
/* 공구 관리 목록 행 */
.gb-admin-list .gb-admin-row { cursor: pointer; }
.gb-admin-list .gb-admin-row .st6-chev { color: #b0b0b6 !important; font-size: 18px; }
.wo-photo-picker { min-height: 148px !important; }
/* 관리 화면 정리: 키커 글자 보이게(배경 제거) + 테두리 제거 */
.simple-kicker { background: none !important; color: #ff4f30 !important; padding: 0 !important; font-weight: 500; }
#screen[data-route="groupBuyAdmin"] .admin-note,
#screen[data-route="groupBuyAdmin"] .admin-deal { border: 0 !important; box-shadow: none !important; background: #fff !important; }
#screen[data-route="groupBuyAdmin"] .admin-note .pill-soft,
#screen[data-route="groupBuyAdmin"] .admin-actions .pill-soft { border: 0 !important; background: #f4f2ee !important; }
/* 공구 카드 개당 가격 주황 */
.gb2-price-row strong, .home-group-price strong { color: #ff4f30 !important; }
html body #screen .simple-kicker { background: none !important; color: #ff4f30 !important; padding: 0 !important; }
html body #screen .gb2-price-row strong, html body #screen .home-group-price strong { color: #ff4f30 !important; }
html body #screen[data-route] .gb2-price-row strong, html body #screen[data-route] .home-group-price strong { color: #ff4f30 !important; }
html body #screen .simple-kicker { border: 0 !important; outline: 0 !important; }
#screen[data-route="groupBuyAdmin"] .pill-cta { border: 0 !important; }
/* 운영 설정 키커: 주황 상자 + 흰 글자 (크게) */
html body #screen .simple-kicker { background: #ff4f30 !important; color: #fff !important; padding: 6px 14px !important; border-radius: 999px; font-size: 12.5px; font-weight: 500; display: inline-block; border: 0 !important; }
/* 공구 추가 버튼: 슬림 + 테두리 없음 */
#screen[data-route="groupBuyAdmin"] .admin-actions .pill-cta.full { border: 0 !important; padding: 12px 16px !important; font-size: 14.5px !important; border-radius: 14px !important; }
/* 연한 컬러 박스 미세 그라데이션 */
html body #screen .r07-diet-banner { background: linear-gradient(120deg, #fff1ea, #ffe3d6) !important; border: 0 !important; }
html body #screen .halo-collection-banner { background: linear-gradient(120deg, #efeafc, #e2d9fb) !important; border: 0 !important; }
html body #screen .pt-balance-card { background: linear-gradient(130deg, #ffece5, #ffd9cb) !important; border: 0 !important; }
/* 완주 보상 모달 (6l) */
.chc-modal { text-align: center; }
.chc-congrats { display: flex; flex-direction: column; gap: 3px; text-align: left; background: linear-gradient(120deg, #e9f8ee, #d9f2e2) !important; border-radius: 14px; padding: 13px 16px; margin-bottom: 12px; }
.chc-congrats b { color: #1d9a4e !important; font-size: 14.5px; }
.chc-congrats span { font-size: 12.5px; color: #4a5b50 !important; }
.chc-reward-card { display: flex; flex-direction: column; align-items: center; gap: 4px; background: linear-gradient(150deg, #fff7f0, #ffe9dc) !important; border-radius: 18px; padding: 26px 16px; margin-bottom: 14px; }
.chc-coin { font-size: 34px; }
.chc-label { font-size: 12.5px; color: #8a7d75 !important; }
.chc-reward-card strong { font-size: 30px; letter-spacing: -0.5px; }
.chc-sub { font-size: 12.5px; color: #8a7d75 !important; }
.chc-modal .pill { border: 0 !important; margin-top: 8px; }
.chc-modal .chc-brag { background: #f4f2ee !important; }
/* 로그인 게이트 (6d) */
.login-gate-modal .lg-kakao { width: 100%; border: 0 !important; background: #FEE500 !important; color: #191919 !important; font-weight: 500; font-size: 14.5px; padding: 14px 0; border-radius: 999px; margin-bottom: 8px; cursor: pointer; }
.login-gate-modal .pill { border: 0 !important; }
.login-gate-modal .login-gate-title, .login-gate-modal .login-gate-sub { text-align: center; }
.login-gate-modal .login-gate-lock { margin: 4px auto 10px; }
/* 공구 빈 상태 (6e) */
.gb-empty { text-align: center; padding: 34px 20px 22px; }
.gb-empty-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #f4f2ee !important; margin: 0 auto 12px; color: #8a7d75 !important; }
.gb-empty-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
/* 운영 콘솔 미처리 신고 배너 (7a) */
.ac-alert { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 0; border-radius: 14px; background: linear-gradient(120deg, #fff4e2, #ffe9c9) !important; padding: 13px 16px; cursor: pointer; }
.ac-alert strong { font-size: 13.5px; color: #b4590a !important; }
.ac-alert span { font-size: 12px; color: #8a6a45 !important; }
html body #screen[data-route] .halo-collection-banner { background: linear-gradient(120deg, #efeafc, #e2d9fb) !important; border: 0 !important; }
html body #screen[data-route] .pt-balance-card { background: linear-gradient(130deg, #ffece5, #ffd9cb) !important; border: 0 !important; }
/* 실제 스캔용 QR */
.real-qr { display: grid; place-items: center; margin: 10px auto; }
.real-qr svg { width: 190px; height: 190px; background: #fff; border-radius: 12px; }
/* 참여/예약 시트 필드 타이포 정돈 */
.gb-sheet .reservation-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 4px; }
.gb-sheet .reservation-qty > span:first-child { display: flex; flex-direction: column; gap: 2px; font-weight: 500; font-size: 14px; text-align: left; }
.gb-sheet .reservation-qty .qty-note { font-weight: 400; font-size: 12px; color: #8a8a92 !important; font-style: normal; }
.gb-sheet .admin-field { margin-top: 10px; display: block; }
.gb-sheet .admin-field .qty-note { font-weight: 400; font-size: 12px; color: #8a8a92 !important; font-style: normal; }
.gb-sheet .reservation-summary { margin-top: 12px; }
.gb-sheet .gb-method-note { margin: 10px 0 12px; font-size: 12px; color: #8a8a92 !important; text-align: center; }
/* 내 공동구매 (5e) */
.mygb-card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.mygb-top { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.mygb-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: left; }
.mygb-badge { align-self: flex-start; font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 999px; }
.mygb-badge.ing { background: #e9f8ee !important; color: #1d9a4e !important; }
.mygb-badge.wait { background: #fff4e2 !important; color: #b4590a !important; }
.mygb-badge.done { background: #f0f0f2 !important; color: #70737c !important; }
.mygb-text strong { font-size: 14.5px; }
.mygb-text > span:last-child { font-size: 12.5px; color: #8a7d75 !important; }
.mygb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mygb-actions .pill { border: 0 !important; background: #f4f2ee !important; }
.gb-sheet .admin-field { display: block !important; }
.gb-sheet .admin-field .form-input { margin-top: 4px; }
/* 공구 희망 신청 — 컴팩트 안내 행 */
#screen[data-route="groupBuy"] .gb-request-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: linear-gradient(120deg, #fff1ea, #ffe3d6) !important; border-radius: 14px; padding: 12px 14px; cursor: pointer; }
#screen[data-route="groupBuy"] .gb-request-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff !important; color: #ff4f30 !important; flex: 0 0 auto; }
#screen[data-route="groupBuy"] .gb-request-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#screen[data-route="groupBuy"] .gb-request-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
#screen[data-route="groupBuy"] .gb-request-txt strong { font-size: 13.5px; font-weight: 500; }
#screen[data-route="groupBuy"] .gb-request-txt > span { font-size: 11.5px; color: #8a7d75 !important; }
#screen[data-route="groupBuy"] .gb-request-cta { flex: 0 0 auto; font-size: 12.5px; font-weight: 500; color: #fff !important; background: #ff4f30 !important; padding: 7px 14px; border-radius: 999px; }
#screen[data-route="groupBuy"] .gb-request-help { display: block; width: 100%; margin-top: 8px; border: 0; background: none !important; color: #8a8a92 !important; font-size: 12.5px; padding: 6px 0; cursor: pointer; }
/* 로그인 게이트도 하단 바텀시트로 (gb-sheet 우선) */
html body .modal.login-gate-modal.gb-sheet {
  left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
  transform: none !important; width: auto !important; max-width: none !important;
  border-radius: 24px 24px 0 0 !important; padding: 12px 22px 26px !important;
  align-items: stretch !important; animation: gbSheetUp .26s ease;
}
html body .modal.login-gate-modal.gb-sheet .login-gate-lock { margin: 4px auto 10px !important; }
html body .modal.login-gate-modal.gb-sheet .login-gate-title,
html body .modal.login-gate-modal.gb-sheet .login-gate-sub { text-align: center; }
/* 로그인 게이트 소셜 버튼 묶음 */
html body .login-gate-modal .lg-social { display: flex; flex-direction: column; margin-top: 4px; }
html body .login-gate-modal .lg-social .social-btn { margin-bottom: 10px !important; padding: 14px !important; gap: 10px; border-radius: 12px !important; }
html body .login-gate-modal .lg-social .social-google { border: 1px solid rgba(112,115,124,.22) !important; background: #fff !important; color: #191919 !important; }
html body .login-gate-modal .lg-social .social-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
html body .login-gate-modal .lg-social .social-ico svg { display: block; }
html body .login-gate-modal .lg-email-link { width: 100%; border: 0; background: none !important; color: var(--wds-alt) !important; font-size: 13.5px; padding: 6px 0 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* 로그인/온보딩 CTA: 와이어프레임용 검정 테두리 제거 */
html body #screen[data-route="onboarding"] .ob-actions .pill-cta,
html body #screen[data-route="login"] .r17-login .pill-cta,
html body #screen[data-route="loginEmail"] .auth-screen .pill-cta,
html body #screen[data-route="loginEmail"] .auth-screen .pill-cta-arrow {
  border: 0 !important;
  color: #fff !important;
}
/* HaloZero Icon System v1.1 — fill 방식 아이콘
   ※ 크기는 기존 컨테이너 CSS(.cp-act svg{width:22px} 등)를 그대로 존중 — width/height 강제 금지.
   fill/stroke만 덮어써서 기존 stroke 규칙이 선을 덧그리지 않게 한다. */
svg.hz-ic, svg.hz-ic path, svg.hz-ic g, svg.hz-ic circle, svg.hz-ic rect, svg.hz-ic ellipse, svg.hz-ic polygon {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
}
svg.hz-ic { display: block; }
/* 커뮤니티 공감: 눌렀을 때 채워진 빨간 하트 */
#screen .cp-act.liked { color: #e5483d !important; }
#screen .cp-act.liked svg.hz-ic { color: #e5483d !important; }
/* 탭바 활성: 채워진 아이콘 + 주황 (원형 배경 없음) */
#tabbar .tab.active .ico { color: var(--wds-primary, #ff4f30) !important; }
#tabbar .tab.active svg.hz-ic { color: var(--wds-primary, #ff4f30) !important; }
/* 탭바 원형 배경 완전 제거 — 참고 이미지처럼 평면 아이콘만 (비활성 회색·활성 주황) */
#tabbar .tab .ico,
#tabbar .tab.active .ico {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
}
#tabbar .tab .ico::before,
#tabbar .tab.active .ico::before { display: none !important; content: none !important; }
#tabbar .tab .ico svg.hz-ic { width: 26px !important; height: 26px !important; }
/* 비활성=회색, 활성=주황 (배경 없으니 아이콘 색으로만 구분) */
#tabbar .tab .ico, #tabbar .tab .ico svg, #tabbar .tab .ico svg * { color: #8a8a92 !important; fill: currentColor !important; stroke: none !important; }
#tabbar .tab.active .ico, #tabbar .tab.active .ico svg, #tabbar .tab.active .ico svg * { color: #ff4f30 !important; fill: currentColor !important; stroke: none !important; }
/* 탭 라벨(글자)도 비활성=회색, 활성=주황 */
#tabbar .tab .tab-label { color: #8a8a92 !important; }
#tabbar .tab.active .tab-label { color: #ff4f30 !important; }
/* 상세 앱바 우측 액션(공유·검색 등) */
.appbar .appbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.appbar .appbar-actions .appbar-action { width: 34px; height: 34px; display: inline-grid; place-items: center; background: none; border: 0; color: var(--wds-label, #171719); cursor: pointer; }
.appbar .appbar-actions .appbar-action svg.hz-ic { width: 24px; height: 24px; }
/* 카테고리 세로 리스트 (6a) — 이모지 아이콘 + 화살표 */
#screen[data-route="shop"] .cat-list { display: flex; flex-direction: column; }
#screen[data-route="shop"] .cat-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: none; border: 0; border-bottom: 1px solid rgba(112,115,124,.1);
  padding: 14px 4px; cursor: pointer; text-align: left;
}
#screen[data-route="shop"] .cat-row:last-child { border-bottom: 0; }
#screen[data-route="shop"] .cat-row-ico {
  display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 14px; background: #f4f4f6 !important; font-size: 24px; line-height: 1;
}
#screen[data-route="shop"] .cat-row-name { flex: 1 1 auto; font-size: 15.5px; font-weight: 500; color: var(--wds-label) !important; }
#screen[data-route="shop"] .cat-row-arr { flex: 0 0 auto; font-size: 20px; color: #c0c0c6 !important; }
/* 식단 만들기 배너 이모지 아이콘 */
.r07-diet-emoji { font-size: 30px !important; line-height: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; background: none !important; }
.r07-diet-emoji svg { display: none; }
/* 검색창 초기화(X) 버튼 */
.search-field { position: relative; display: block; }
.search-field .search-input { width: 100%; padding-right: 44px !important; }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: inline-grid; place-items: center; border: 0; background: rgba(112,115,124,.12); border-radius: 50%; color: #70737c; cursor: pointer; padding: 0; }
.search-clear svg.hz-ic { width: 15px; height: 15px; }
/* 식단 기록 모달: 끼니 선택 칩 */
.meal-add-modal .meal-slot-pick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 12px; }
.meal-add-modal .meal-slot-chip { border: 1px solid rgba(112,115,124,.24); background: #fff; border-radius: 999px; padding: 8px 0; font-size: 12.5px; font-weight: 600; color: var(--wds-alt); cursor: pointer; }
.meal-add-modal .meal-slot-chip.on { background: var(--wds-primary); border-color: var(--wds-primary); color: #fff; }

/* ═══ 바텀시트 전환: 커뮤니티 글쓰기 · 끼니 선택 · 픽업 QR ═══ */
html body .modal.ct2-sheet,
html body .modal.pickup-qr-sheet {
  position: absolute !important;
  left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
  transform: none !important;
  width: auto !important; max-width: none !important; margin: 0 !important;
  border-radius: 24px 24px 0 0 !important;
  max-height: 88%; overflow-y: auto;
  animation: gbSheetUp .26s ease;
}
html body .modal.ct2-sheet { padding: 12px 20px 26px !important; text-align: left !important; }

/* 픽업 QR 바텀시트 내부 레이아웃 (와이어프레임 매칭) */
html body .modal.pickup-qr-sheet { padding: 12px 20px 24px !important; text-align: center !important; }
.pickup-qr-sheet .pqr-title { font-size: 18px; font-weight: 600; color: var(--wds-label) !important; margin: 2px 0 14px; }
.pickup-qr-sheet .pqr-product { display: flex; align-items: center; gap: 12px; text-align: left; background: transparent; border-top: 1px solid rgba(112,115,124,.12); padding: 16px 2px 4px; margin-top: 18px; }
.pickup-qr-sheet .pqr-product .thumb { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; }
.pickup-qr-sheet .pqr-product-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pickup-qr-sheet .pqr-product-text strong { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; }
.pickup-qr-sheet .pqr-product-text span { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; }
.pickup-qr-sheet .pqr-card { background: transparent; border: 0; border-radius: 0; padding: 4px 0 6px; margin-bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pickup-qr-sheet .pqr-card-label { font-size: 15px; font-weight: 500; color: var(--wds-label) !important; }
.pickup-qr-sheet .pqr-card-sub { font-size: 12px; font-weight: 500; color: var(--wds-alt) !important; line-height: 1.45; margin-bottom: 10px; text-align: center; }
.pickup-qr-sheet .pqr-qr { width: 206px; height: 206px; margin: 2px auto; padding: 16px; background: #fff; border: 1px solid rgba(112,115,124,.14); border-radius: 18px; box-shadow: 0 8px 24px rgba(112,115,124,.12); display: grid; place-items: center; }
.pickup-qr-sheet .pqr-qr svg, .pickup-qr-sheet .pqr-qr img { width: 100% !important; height: 100% !important; }
.pickup-qr-sheet .pqr-code { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--wds-alt) !important; margin-top: 12px; }
.pickup-qr-sheet .pqr-store { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: transparent; border-top: 1px solid rgba(112,115,124,.12); border-radius: 0; padding: 14px 2px 6px; margin-bottom: 12px; }
.pickup-qr-sheet .pqr-store strong { font-size: 13.5px; font-weight: 600; color: var(--wds-label) !important; }
.pickup-qr-sheet .pqr-store span { font-size: 12px; font-weight: 600; color: var(--wds-alt) !important; text-align: right; }

/* CTA 검정 테두리 제거 (주황 버튼 외곽선 없애기) */
html body .screen .pill-cta,
html body .screen .pill-dark,
html body .modal .pill-cta,
html body .pill-cta,
html body .pill-on { border: 0 !important; }

/* 내 공동구매 빈 상태 박스 축소 */
html body .screen .empty-state { padding: 22px 18px !important; border: 0 !important; }
html body .screen .empty-state strong { font-size: 15px !important; }
html body .screen .empty-state span { font-size: 12px !important; }
html body .screen .empty-state .pill-cta { height: 46px !important; font-size: 14px !important; box-shadow: none !important; }

/* ═══ 마이/포인트/알림/프로필 정리 (v: 로고·선·박스·컬러 아이콘) ═══ */
/* 하단 탭바 위 구분선 제거 */
html body .tabbar, html body #tabbar { border-top: 0 !important; box-shadow: none !important; }

/* 저장하기 버튼 글자 순백 (라이트·다크 모두) */
html body .pill-cta-arrow { color: #fff !important; }
html body .pill-cta-arrow .arrow { color: #fff !important; }
html body [data-theme="dark"] .pill.pill-cta-arrow { background: #ff5a35 !important; color: #fff !important; }

/* 프로필 편집 히어로: 카드 상자 제거 (배경·테두리·그림자 없음) */
html body .profile-edit-hero { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* 보유 포인트 카드: 그라데이션 제거 → 흰 배경 + 검정 글자 */
html body #screen[data-route="coupons"] .pt-balance-card {
  background: #fff !important;
  border: 1px solid rgba(112,115,124,.14) !important;
  box-shadow: none !important;
}
html body #screen[data-route="coupons"] .pt-balance-card span { color: #55555a !important; }
html body #screen[data-route="coupons"] .pt-balance-card strong { color: #171719 !important; }

/* 자주 묻는 질문: 상자 제거 → 흰 배경·검정 글자·구분선만 */
html body #screen[data-route="coupons"] .faq-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(112,115,124,.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 2px !important;
  margin: 0 !important;
}
html body #screen[data-route="coupons"] .faq-item summary { color: #171719 !important; }
html body #screen[data-route="coupons"] .faq-item p { color: #4a4a4e !important; }

/* 알림: 컬러 이모지 아이콘 (둥근 사각 배경) */
#screen[data-route="notifications"] .nt-ico-emoji {
  font-size: 20px !important;
  line-height: 1 !important;
  border-radius: 12px !important;
  background: rgba(112,115,124,.08) !important;
  color: initial !important;
}

/* 내 공동구매: 픽업 QR 버튼 = 주황 배경 + 흰 글자 */
#screen[data-route="myGroupBuys"] .mygb-actions .mygb-qr-btn {
  background: var(--wds-primary, #ff5a35) !important;
  color: #fff !important;
  border: 0 !important;
}

/* 전체 글자 얇게: 기본 볼드 요소(h·strong·b)도 완화 — 명시적 클래스 두께가 있으면 그게 우선 */
h1, h2, h3, h4, h5, h6, strong, b { font-weight: 600; }

/* 홈 상단 배너: 헤더(검색·알림)와의 여백 최소화 */
html body #screen[data-route="home"] .ad-banner-section { margin-top: 6px !important; padding-top: 0 !important; }

/* ═══ 픽업 QR 전체 화면 (와이어프레임 카드 레이아웃) ═══ */
#screen[data-route="pickupQr"] .pqr2 { display: flex; flex-direction: column; gap: 14px; }
#screen[data-route="pickupQr"] .pqr2-product-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(112,115,124,.16); border-radius: 16px; padding: 14px; }
#screen[data-route="pickupQr"] .pqr2-product-card .thumb { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 12px; }
#screen[data-route="pickupQr"] .pqr2-product-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; }
#screen[data-route="pickupQr"] .pqr2-product-text strong { font-size: 14.5px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="pickupQr"] .pqr2-product-text span { font-size: 12.5px; font-weight: 500; color: var(--wds-alt) !important; }

#screen[data-route="pickupQr"] .pqr2-qr-card { background: var(--wds-fill, #f6f6f8); border-radius: 20px; padding: 22px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
#screen[data-route="pickupQr"] .pqr2-qr-title { font-size: 20px; font-weight: 600; color: var(--wds-label) !important; margin: 0; }
#screen[data-route="pickupQr"] .pqr2-qr-sub { font-size: 13px; font-weight: 500; color: var(--wds-alt) !important; margin: 2px 0 14px; }
#screen[data-route="pickupQr"] .pqr2-qr-box { width: 236px; max-width: 78vw; aspect-ratio: 1/1; background: #fff; border: 1.5px dashed rgba(112,115,124,.34); border-radius: 16px; padding: 18px; display: grid; place-items: center; }
#screen[data-route="pickupQr"] .pqr2-qr-box svg, #screen[data-route="pickupQr"] .pqr2-qr-box img { width: 100% !important; height: 100% !important; }
#screen[data-route="pickupQr"] .pqr2-code { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--wds-alt) !important; margin: 12px 0 0; }
#screen[data-route="pickupQr"] .pqr2-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--wds-label) !important; margin: 8px 0 0; }
#screen[data-route="pickupQr"] .pqr2-dot { width: 8px; height: 8px; border-radius: 50%; background: #22b573; }
#screen[data-route="pickupQr"] .pqr2-status.done .pqr2-dot { background: rgba(112,115,124,.5); }
#screen[data-route="pickupQr"] .pqr2-status.done { color: var(--wds-alt) !important; }

#screen[data-route="pickupQr"] .pqr2-store-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: #fff; border: 1px solid rgba(112,115,124,.16); border-radius: 14px; padding: 15px 16px; cursor: pointer; text-align: left; }
#screen[data-route="pickupQr"] .pqr2-store-card > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#screen[data-route="pickupQr"] .pqr2-store-card strong { font-size: 14px; font-weight: 600; color: var(--wds-label) !important; }
#screen[data-route="pickupQr"] .pqr2-store-card span { font-size: 12.5px; font-weight: 500; color: var(--wds-alt) !important; }
#screen[data-route="pickupQr"] .pqr2-store-chev { font-size: 20px; color: rgba(112,115,124,.5); flex: 0 0 auto; }

#screen[data-route="pickupQr"] .pqr2-guide { background: var(--wds-fill, #f6f6f8); border-radius: 14px; padding: 14px 16px; }
#screen[data-route="pickupQr"] .pqr2-guide p { margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--wds-alt) !important; }
#screen[data-route="pickupQr"] .pqr2-guide p + p { margin-top: 4px; }

/* ═══ 웰니스 카드: 진행 중 챌린지 자동 슬라이드 레일 ═══ */
html body #screen[data-route="home"] .wellness-ch-rail {
  margin-top: 16px !important;
  padding-top: 4px !important;
  border-top: 1px solid rgba(17,17,17,0.06) !important;
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
html body #screen[data-route="home"] .wellness-ch-rail::-webkit-scrollbar { display: none !important; }
html body #screen[data-route="home"] .wellness-ch-rail .wellness-ch-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  scroll-snap-align: start !important;
  margin-top: 0 !important;
  padding: 12px 0 2px !important;
  border-top: 0 !important;
  min-height: 54px !important;
}

/* 제품 이미지 살짝 확대 (맞춤 큐레이션 + 저당 인기 상품) */
html body #screen[data-route="home"] .home-recommendations .art-photo,
html body #screen[data-route="home"] .home-popular-products .art-photo { overflow: hidden !important; }
html body #screen[data-route="home"] .home-recommendations .art-photo img,
html body #screen[data-route="home"] .home-popular-products .art-photo img {
  transform: scale(1.16) !important;
}

/* ═══ 입력란 포커스 효과 통일: 검색창과 동일(주황 테두리 + 주황-소프트 링 하나) ═══ */
html body .form-input:focus,
html body input.form-input:focus,
html body textarea.form-input:focus,
html body .search-input:focus {
  border-color: var(--orange, #ff5a35) !important;
  box-shadow: 0 0 0 4px var(--orange-soft, #fde6df) !important;
  outline: none !important;
}

/* ═══ 식단 기록 모달: X 닫기 · 여백 통일 · 등록 버튼 ═══ */
html body .modal.meal-add-modal { padding: 22px 22px 22px !important; }
html body .meal-add-modal .meal-modal-x {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; background: rgba(112,115,124,.10); border-radius: 50%;
  color: #70737c; font-size: 14px; line-height: 1; cursor: pointer; z-index: 3; padding: 0;
}
html body .meal-add-modal .meal-note-row { position: static !important; }
html body .meal-add-modal .meal-note-row .form-input { padding-right: 14px !important; }
html body .meal-add-modal .meal-skip-link {
  display: block; width: 100%; margin: 4px 0 12px; padding: 6px 0;
  background: none; border: 0; color: var(--wds-alt) !important;
  font-size: 13px; font-weight: 500; cursor: pointer;
}
html body .meal-add-modal .meal-submit-btn { width: 100%; margin: 0 !important; border: 0 !important; }

/* ═══ 공동구매 신청 모달: 요청사항 (선택) 한 줄 + 신청 버튼 여백 ═══ */
html body .gb-req-sheet .qty-note { display: inline !important; margin-top: 0 !important; }
html body .gb-req-sheet .admin-field { margin-bottom: 4px !important; }
html body .gb-req-sheet .pill-cta { margin-top: 22px !important; }

/* ═══ 식단 기록 모달: 화면보다 길면 스크롤(잘림 방지) ═══ */
html body .modal.meal-add-modal { max-height: 90vh !important; overflow-y: auto !important; }

/* ═══ 커뮤니티 글 본문 얇게 ═══ */
html body .community-post p { font-weight: 500 !important; }

/* ═══ 게시글 상세: 카드(테두리·배경) 제거 → 깔끔한 플랫 ═══ */
html body #screen[data-route="postDetail"] .community-post.pd-post {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 2px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(112,115,124,.12) !important;
}
html body #screen[data-route="postDetail"] .section { padding-left: 18px !important; padding-right: 18px !important; }
html body #screen[data-route="postDetail"] .pd-comments { padding: 0 !important; }
/* 상세 하트/댓글 액션을 리스트와 동일한 아이콘 스타일로 */
html body #screen[data-route="postDetail"] .community-actions.cp-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }

/* ═══ 프로필 편집: 로그아웃·회원탈퇴를 텍스트 링크로 (박스 제거) ═══ */
html body .profile-danger { flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 4px !important; margin-top: 10px !important; }
html body .profile-danger .profile-text-link {
  width: auto !important; height: auto !important; min-height: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  color: var(--wds-alt, #70737c) !important; font-size: 13px !important; font-weight: 500 !important;
  text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px !important; cursor: pointer;
}
html body .profile-danger .profile-text-danger { color: #b64a34 !important; opacity: .85; }

/* ═══ 빈 상태: 테두리 상자 제거 → 플랫(배경·테두리 없음) ═══ */
html body #screen .empty-state,
html body #screen .empty-state:nth-child(n) { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* ═══ 매장 상세: 관심매장 등록 버튼 (주황·흰글자·테두리없음) ═══ */
html body #screen[data-route="storeDetail"] .sd6-fav-btn { margin-top: 10px !important; border: 0 !important; box-shadow: none !important; }

/* ═══ 게시글 상세 댓글 영역 정리 ═══ */
html body #screen[data-route="postDetail"] .pd-empty-comment {
  text-align: center; color: var(--wds-alt) !important;
  font-size: 13px; font-weight: 500; padding: 20px 0 8px; margin: 0;
}
/* 댓글 입력: 텍스트영역·등록 버튼 높이 통일 + 더 얇게 */
html body #screen[data-route="postDetail"] .pd-comment-input { align-items: stretch !important; gap: 8px !important; margin-top: 12px !important; }
html body #screen[data-route="postDetail"] .pd-comment-input textarea {
  min-height: 46px !important; height: 46px !important; padding: 13px 14px !important; resize: none !important; line-height: 1.3 !important;
}
html body #screen[data-route="postDetail"] .pd-comment-input .pill-cta {
  height: auto !important; min-height: 0 !important; align-self: stretch !important;
  padding: 0 18px !important; font-size: 14px !important; flex: 0 0 auto !important; box-shadow: none !important;
}

/* ═══ 제품 목록 무한 스크롤 로딩 표시 ═══ */
html body #screen[data-route="categoryList"] .category-loading-more {
  grid-column: 1 / -1; text-align: center; color: var(--wds-alt) !important;
  font-size: 12.5px; font-weight: 500; padding: 16px 0 8px;
}

/* ═══ 홈 상단 헤더: 높이 축소 + 회색 하단선 제거 (여백 줄이기) ═══ */
html body #screen .top.top-flat.top-flat { height: 50px !important; padding: 6px 18px 0 !important; border-bottom: 0 !important; box-shadow: none !important; }
html body #screen .top.top-flat.top-flat::after, html body #screen .top.top-flat::after { display: none !important; content: none !important; }
html body #screen[data-route="home"] .ad-banner-section { margin-top: 4px !important; }

/* ═══ 프로필: 로그아웃 박스 + 회원탈퇴 회색 텍스트(밑줄 없음) ═══ */
html body .profile-danger { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding: 8px 0 4px !important; margin-top: 12px !important; }
html body .profile-danger .profile-logout-btn { width: 100% !important; }
html body .profile-danger .profile-del-link {
  width: auto !important; align-self: center !important; background: none !important; border: 0 !important; box-shadow: none !important;
  color: #8a8a92 !important; font-size: 13px !important; font-weight: 500 !important;
  text-decoration: none !important; padding: 4px 10px !important; cursor: pointer; margin-top: 2px;
}

/* ═══ 프로필 편집: 사진↔안내문↔버튼 간격 균등 ═══ */
html body .profile-edit-hero .profile-greet-sub { margin: 14px 0 14px !important; }
html body .profile-edit-hero .profile-photo-button { margin-top: 0 !important; }

/* ═══ 기본 아바타(사진 미등록): 할로제로 컬러 프로필 아이콘 ═══ */
html body .r06-avatar.is-default,
html body .profile-edit-hero .profile-avatar-lg:not(.has-photo) { background: var(--orange-soft, #ffe4d9) !important; }
html body .avatar-default-icon { display: grid !important; place-items: center; width: 100%; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body .avatar-default-icon svg { width: 54%; height: 54%; color: var(--wds-label, #171719) !important; fill: none !important; stroke: var(--wds-label, #171719) !important; }

/* ═══ 게시글 상세 댓글 입력: 둥근 pill (와이어프레임) ═══ */
html body #screen[data-route="postDetail"] .pd-comment-input {
  background: var(--wds-fill, #f4f4f6) !important; border-radius: 999px !important;
  padding: 4px 6px 4px 8px !important; align-items: center !important; gap: 4px !important;
}
html body #screen[data-route="postDetail"] .pd-comment-input textarea {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  min-height: 40px !important; height: 40px !important; padding: 11px 6px !important; border-radius: 0 !important;
}
html body #screen[data-route="postDetail"] .pd-comment-input .pill-cta {
  background: transparent !important; color: var(--wds-primary, #ff5a35) !important;
  padding: 0 12px !important; height: auto !important; font-size: 14px !important; font-weight: 600 !important;
}

/* ═══ 포인트 전환 모달 ═══ */
html body .point-convert-sheet .pc-amount-hint { margin: 4px 0 6px !important; font-size: 12px; font-weight: 500; color: var(--wds-primary, #ff5a35) !important; }
html body .point-convert-sheet #convertAmount { font-weight: 700 !important; color: var(--wds-label) !important; }
html body .point-convert-sheet .pc-submit { margin-top: 16px !important; }
html body .point-convert-sheet .point-convert-note { margin-top: 12px !important; font-size: 12px; color: var(--wds-alt) !important; line-height: 1.6; text-align: center; }

/* ═══ 하단 여백 축소: 탭바 위 흰 공백 제거 ═══ */
/* 원인1: 스크린 예약공간(calc(100%-92px))이 탭바(54px)보다 38px 커서 프레임 간격 발생 → 62px로 축소 */
/* 원인2: 스크린 내부 하단 패딩 56px → 12px (탭바가 스크린을 덮지 않으므로 큰 여유 불필요) */
html body .phone .screen { height: calc(100% - 62px) !important; }
html body #screen.screen, html body #screen { padding-bottom: 12px !important; }
html body .tabbar, html body #tabbar { padding-top: 2px !important; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; }

/* ═══ 기본 프로필 아이콘 아바타: 테두리 없이 흰 배경 (아이콘만 노출, 사진 있으면 사진이 덮음) ═══ */
html body .cp-avatar,
html body .community-author-avatar,
html body #screen[data-route="postDetail"] .community-author .community-author-avatar,
html body #screen[data-route="postDetail"] .pd-comment .community-author-avatar,
html body #screen[data-route="postDetail"] .pd-input-avatar {
  background: #fff !important; border: 0 !important; box-shadow: none !important;
}

/* ═══ 커뮤니티 챌린지 카드: 연핑크 배경 + 진행바 (와이어프레임) ═══ */
#screen[data-route="challenge"] .cm-ch-card { background: #fdeee7 !important; border: 0 !important; border-radius: 16px !important; padding: 14px 16px !important; overflow: hidden !important; }
#screen[data-route="challenge"] .cm-ch-kicker { color: var(--wds-label) !important; }
#screen[data-route="challenge"] .cm-ch-top .link { color: var(--wds-primary, #ff5a35) !important; font-weight: 600 !important; }
#screen[data-route="challenge"] .cm-ch-slide { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 2px 0 0 !important; }
#screen[data-route="challenge"] .cm-ch-info strong { font-size: 15px; font-weight: 600; }
#screen[data-route="challenge"] .cm-ch-info span { color: var(--wds-alt) !important; }
#screen[data-route="challenge"] .cm-ch-track { height: 7px; background: rgba(255,90,53,.16); border-radius: 999px; margin-top: 13px; overflow: hidden; }
#screen[data-route="challenge"] .cm-ch-bar { height: 100%; background: var(--wds-primary, #ff5a35); border-radius: 999px; transition: width .3s ease; }

/* ═══ 게시글 상세 댓글 아바타: 원형 32px (깨짐 수정) ═══ */
html body #screen[data-route="postDetail"] .pd-comment .community-author-avatar {
  width: 32px !important; height: 32px !important; flex: 0 0 32px !important;
  border-radius: 50% !important; display: grid !important; place-items: center !important;
  font-size: 13px !important; font-weight: 600 !important;
  background: rgba(255,90,53,.12) !important; color: #ff5a35 !important; overflow: hidden;
}
html body #screen[data-route="postDetail"] .pd-comment .community-author-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* ═══ 게시글 상세 글자 크기 축소 ═══ */
html body #screen[data-route="postDetail"] .community-post p { font-size: 13.5px !important; line-height: 1.5 !important; }
html body #screen[data-route="postDetail"] .pd-comment-body p { font-size: 12.5px !important; }
html body #screen[data-route="postDetail"] .pd-comment-head strong { font-size: 12.5px !important; }
html body #screen[data-route="postDetail"] .community-author strong { font-size: 14px !important; }

/* ═══ 커뮤니티 챌린지 kicker: 제목과 같은 크기 + 빨강 ═══ */
#screen[data-route="challenge"] .cm-ch-kicker { font-size: 15px !important; font-weight: 600 !important; color: #ff4f30 !important; }

/* 댓글 입력 textarea 리사이즈 핸들 제거 */
html body #screen[data-route="postDetail"] .pd-comment-input textarea { resize: none !important; overflow: auto !important; }

/* ═══ 프로필 사진 제거 X 버튼 (원형 우측상단, 아주 작게) ═══ */
html body .profile-edit-hero .profile-avatar-lg { position: relative; }
html body .profile-avatar-remove {
  position: absolute; top: 2px; right: 2px; width: 22px; height: 22px;
  display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%;
  background: rgba(23,23,25,.62); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; padding: 0; z-index: 2;
}

/* ═══ 게시글 상세 댓글 입력: 최하단 고정 바 (아바타 + pill + 등록) ═══ */
html body #screen[data-route="postDetail"] { display: flex !important; flex-direction: column !important; padding-bottom: 0 !important; min-height: 100% !important; }
html body #screen[data-route="postDetail"] .appbar { flex: 0 0 auto; }
html body #screen[data-route="postDetail"] .pd-comment-input {
  margin-top: auto !important; position: sticky !important; bottom: 0 !important; z-index: 6 !important;
  flex: 0 0 auto !important;
  display: flex !important; align-items: center !important; gap: 8px !important;
  margin-left: -18px !important; margin-right: -18px !important;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom,0px)) !important;
  background: #fff !important; border-top: 1px solid rgba(112,115,124,.14) !important; border-radius: 0 !important;
}
html body #screen[data-route="postDetail"] .pd-input-avatar {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: rgba(255,90,53,.12);
}
html body #screen[data-route="postDetail"] .pd-input-avatar img { width: 100%; height: 100%; object-fit: cover; }
html body #screen[data-route="postDetail"] .pd-input-avatar .avatar-default-icon svg { width: 55%; height: 55%; color: var(--wds-label, #171719) !important; fill: none !important; stroke: var(--wds-label, #171719) !important; }

/* ═══ 게시글 상세 헤더 아바타: 검은 원형테두리 제거 → 피드(밖)와 동일하게 ═══ */
/* 전역 규칙 `.community-author span { border:2px solid #050505 }` 때문에 상세 헤더 아바타에만 검은 링이 생김 */
html body #screen[data-route="postDetail"] .community-author > .community-author-avatar,
html body #screen[data-route="postDetail"] .community-author .community-author-avatar {
  border: 0 !important; background: #fff !important; color: var(--wds-label) !important;
  width: 40px !important; height: 40px !important; flex: 0 0 40px !important;
  border-radius: 50% !important; overflow: hidden !important; display: grid !important; place-items: center !important;
}
html body #screen[data-route="postDetail"] .community-author .community-author-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html body #screen[data-route="postDetail"] .community-author .community-author-avatar .avatar-default-icon svg { width: 54% !important; height: 54% !important; color: var(--wds-label, #171719) !important; fill: none !important; stroke: var(--wds-label, #171719) !important; }

/* ═══ 댓글 입력 재설계: 입력=회색 pill, 등록=텍스트만(회색→글 있으면 주황) ═══ */
/* 입력 textarea = 옅은 회색 둥근 상자 */
html body #screen[data-route="postDetail"] .pd-comment-input .pd-comment-textarea {
  flex: 1 1 auto !important; background: #f1f1f4 !important; border: 0 !important; box-shadow: none !important;
  border-radius: 999px !important; min-height: 40px !important; height: 40px !important;
  padding: 10px 16px !important; line-height: 1.35 !important; resize: none !important; overflow: hidden !important;
  font-size: 14px !important; color: var(--wds-label) !important;
}
html body #screen[data-route="postDetail"] .pd-comment-input .pd-comment-textarea::placeholder { color: #b0b0b6 !important; }
/* 등록 = 박스 없는 텍스트, 기본 옅은 회색 */
html body #screen[data-route="postDetail"] .pd-comment-input .pd-submit-btn {
  flex: 0 0 auto !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
  padding: 0 4px !important; font-size: 15px !important; font-weight: 600 !important;
  color: #b8b8be !important; cursor: pointer !important; transition: color .15s ease !important;
}
/* 글자가 입력되면 주황색으로 활성화 */
html body #screen[data-route="postDetail"] .pd-comment-input.has-text .pd-submit-btn { color: var(--wds-primary, #ff5a35) !important; }

/* ═══ 후기 작성 모달: 별 박스 제거 + 간격 좁게 + 10P 안내 ═══ */
html body .rating-row-tight {
  display: flex !important; grid-template-columns: none !important;
  justify-content: center !important; gap: 2px !important; margin: 8px 0 4px !important;
}
html body .rating-row-tight button {
  height: auto !important; width: auto !important; padding: 2px 1px !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  font-size: 34px !important; line-height: 1 !important; color: rgba(20,17,16,.20) !important;
}
html body .rating-row-tight button.on { background: transparent !important; color: var(--orange, #ff5a35) !important; }
html body .review-point-note { text-align: center; color: var(--wds-primary, #ff5a35); font-size: 12.5px; font-weight: 600; margin: 8px 0 2px; }

/* ═══ 리뷰 카드: 내용 넓게 + 별 안 잘리게 + 날짜는 우측 상단 작게 ═══ */
html body #screen .review-item {
  display: flex !important; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--wds-line-soft, rgba(112,115,124,.12)); cursor: pointer;
}
html body #screen .review-item:last-child { border-bottom: 0; }
html body #screen .review-photo { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; }
html body #screen .review-photo img { width: 100%; height: 100%; object-fit: cover; }
html body #screen .review-main { flex: 1 1 auto; min-width: 0; }
html body #screen .review-head { display: flex; align-items: center; gap: 6px; }
html body #screen .review-who { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 13px; color: var(--wds-label); }
html body #screen .review-head .review-stars { flex: 0 0 auto; color: var(--orange, #ff5a35) !important; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
html body #screen .review-date { flex: 0 0 auto; margin-left: auto; font-size: 11px; color: var(--wds-alt, #9a9a9f) !important; white-space: nowrap; }
html body #screen .review-body {
  margin: 5px 0 0; font-size: 13px; line-height: 1.55; color: var(--wds-label);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ═══ 리뷰 상세 모달 ═══ */
html body .review-detail-modal { text-align: left; }
html body .review-detail-modal .rd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
html body .review-detail-modal .rd-stars { color: var(--orange, #ff5a35); font-size: 18px; letter-spacing: 2px; }
html body .review-detail-modal .rd-close { background: none; border: 0; font-size: 18px; color: var(--wds-alt); cursor: pointer; padding: 4px; }
html body .review-detail-modal .rd-product { font-size: 13px; color: var(--wds-alt); margin-bottom: 4px; }
html body .review-detail-modal .rd-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
html body .review-detail-modal .rd-meta strong { font-size: 15px; }
html body .review-detail-modal .rd-meta span { font-size: 12px; color: var(--wds-alt); }
html body .review-detail-modal .rd-photo img { width: 100%; border-radius: 12px; margin-bottom: 12px; }
html body .review-detail-modal .rd-body { font-size: 14.5px; line-height: 1.6; color: var(--wds-label); white-space: pre-wrap; margin: 0; }

/* ═══ 홈 '오늘 식단' 카드: 식단 페이지와 동일한 슬롯 스타일 (route=dietWeek 스코프라 홈엔 미적용되던 것 보완) ═══ */
html body .home-meals-card .diet-today-head { align-items: baseline; }
html body .home-meals-card .diet-today-count { font-size: 12.5px; color: var(--wds-alt); font-weight: 600; }
html body .home-meals-card .meal-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
html body .home-meals-card .meal-slot2 { position: relative; }
html body .home-meals-card .meal-box { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; cursor: pointer; padding: 0; border: 0; background: var(--wds-fill); }
html body .home-meals-card .meal-slot2.is-empty .meal-box { border: 1.5px solid rgba(112,115,124,.18); background: #fafafa; }
html body .home-meals-card .meal-slot2.is-filled .meal-box { border: 1.5px solid var(--wds-primary); }
html body .home-meals-card .meal-box-photo { width: 100%; height: 100%; object-fit: cover; }
html body .home-meals-card .meal-box-cam { color: rgba(112,115,124,.5); width: 24px; height: 24px; }
html body .home-meals-card .meal-box-cam svg { width: 100%; height: 100%; display: block; }
html body .home-meals-card .meal-slot-cap { margin-top: 6px; text-align: center; font-size: 12px; font-weight: 500; color: var(--wds-label); }
html body .home-meals-card .meal-slot-cap em { font-style: normal; font-weight: 500; font-size: 0; color: var(--wds-primary); }
html body .home-meals-card .meal-slot2.is-filled .meal-slot-cap em::before { content: "✓"; font-size: 12px; margin-left: 3px; }
html body .home-meals-card .meal-slot-del { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.42); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }

/* ═══ 텍스트로 입력한 식단: 사진 대신 글자 표시 (홈·식단·캘린더 공용) ═══ */
html body .meal-box-text {
  font-size: 11.5px; font-weight: 600; color: var(--wds-label); text-align: center;
  padding: 4px 5px; line-height: 1.25; word-break: break-all;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
html body .meal-box-text.is-skip { color: var(--wds-alt, #9a9a9f); font-weight: 500; }


/* ═══ 공동구매 참여 완료 안내: 신청 버튼 위 배너 ═══ */
html body .pd-joined-note {
  display: block; width: 100%; text-align: center; box-sizing: border-box;
  background: var(--orange-soft, #ffe4d9); color: var(--orange, #ff5a35);
  border: 0; border-radius: 12px; padding: 12px 14px; margin: 0 0 10px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}

/* ═══ 후기 작성 모달: 상단 별 아이콘 제거 + 전체 글자 축소(깔끔하게) ═══ */
html body .review-compose-modal { padding-top: 24px !important; }
html body .review-compose-modal h3 { font-size: 15.5px !important; line-height: 1.45 !important; margin: 0 0 2px !important; font-weight: 700 !important; }
html body .review-compose-modal > p { font-size: 12px !important; color: var(--wds-alt) !important; margin: 5px 0 2px !important; line-height: 1.5 !important; }
html body .review-compose-modal .rating-row-tight { margin: 6px 0 4px !important; }
html body .review-compose-modal .rating-row-tight button { font-size: 26px !important; }
html body .review-compose-modal textarea { font-size: 12.5px !important; min-height: 74px !important; padding: 10px 12px !important; }
html body .review-compose-modal .review-point-note { font-size: 11px !important; margin: 6px 0 2px !important; }
html body .review-compose-modal .modal-row .pill { font-size: 13.5px !important; height: 44px !important; }

/* ═══ 웰니스 카드: 미션 개편 (인사 2줄 + 점수/획득/어제비교 + 진행바 + 미션 캐러셀) ═══ */
html body #screen[data-route="home"] .wellness-hello-text { display: flex !important; flex-direction: column !important; min-width: 0 !important; }
html body #screen[data-route="home"] .wellness-hello-text strong { font-size: 16px !important; font-weight: 700 !important; color: var(--wds-label) !important; line-height: 1.25 !important; }
html body #screen[data-route="home"] .wellness-hello-text em { font-style: normal !important; font-size: 12.5px !important; color: var(--wds-alt) !important; font-weight: 500 !important; margin-top: 2px !important; }
html body #screen[data-route="home"] .wellness-score-row2 { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 10px !important; }
html body #screen[data-route="home"] .wellness-score-row2 .wellness-score-left { min-width: 0; }
html body #screen[data-route="home"] .wellness-score-row2 .wellness-label { font-size: 12.5px !important; color: var(--wds-alt) !important; font-weight: 500 !important; }
html body #screen[data-route="home"] .wellness-score-row2 .wellness-score { display: flex !important; align-items: baseline !important; gap: 4px !important; margin-top: 2px !important; }
html body #screen[data-route="home"] .wellness-score-row2 .wellness-score strong { font-size: 30px !important; font-weight: 800 !important; color: var(--wds-primary, #ff5a35) !important; line-height: 1 !important; }
html body #screen[data-route="home"] .wellness-score-row2 .wellness-score span { font-size: 13px !important; color: var(--wds-alt) !important; font-weight: 600 !important; }
html body #screen[data-route="home"] .wellness-score-right { text-align: right !important; display: flex !important; flex-direction: column !important; gap: 3px !important; flex: 0 0 auto !important; }
html body #screen[data-route="home"] .wellness-earned { color: var(--wds-primary, #ff5a35) !important; font-weight: 700 !important; font-size: 13.5px !important; }
html body #screen[data-route="home"] .wellness-vs { color: var(--wds-alt) !important; font-size: 12px !important; }
html body #screen[data-route="home"] .wellness-progress-wide { width: 100% !important; height: 9px !important; margin: 12px 0 2px !important; border-radius: 999px !important; background: var(--wds-fill-strong, #eee) !important; overflow: hidden !important; }
/* 미션 카드 CTA(완료하기) — 버튼 기본 테두리 제거 */
html body #screen[data-route="home"] .wellness-mission .wellness-challenge-cta { border: 0 !important; cursor: pointer !important; }
html body #screen[data-route="home"] .wellness-mission.is-done .wellness-challenge-cta { background: var(--wds-fill-strong) !important; color: var(--wds-label) !important; }

/* ═══ 커뮤니티 피드: 카드 → 쭉 이어지는 리스트 (박스·호버 봉긋 제거) ═══ */
html body #screen[data-route="challenge"] .community-feed { display: flex; flex-direction: column; gap: 0 !important; }
html body #screen[data-route="challenge"] .community-feed .community-post,
html body #screen[data-route="challenge"] .community-feed .community-post:nth-child(2n) {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; margin: 0 !important; padding: 16px 2px !important;
  border-bottom: 1px solid rgba(112,115,124,.14) !important;
  transition: none !important;
}
html body #screen[data-route="challenge"] .community-feed .community-post:last-child { border-bottom: 0 !important; }
html body #screen[data-route="challenge"] .community-feed .community-post:hover,
html body #screen[data-route="challenge"] .community-feed .community-post:nth-child(2n):hover {
  transform: none !important; box-shadow: none !important; border-color: rgba(112,115,124,.14) !important;
}

/* ═══ 기본 아바타 내부 스팬: .community-author span 전역 테두리(2px 검정) 무력화 ═══ */
html body #screen .community-author .community-author-avatar .avatar-default-icon,
html body #screen .cp-avatar .avatar-default-icon,
html body #screen .pd-input-avatar .avatar-default-icon {
  border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
}

/* ═══ 모든 페이지: 헤더(검색·알림) 아래 첫 섹션 여백을 홈처럼 축소 (24px→4px) ═══ */
html body #screen .top.top-flat + .section { margin-top: 4px !important; }

/* ═══ 제품 카드 레이아웃 통일: '저당 인기 상품' 스타일을 큐레이션·함께먹으면에도 적용 ═══ */
/* 함께 먹으면 좋은 제품(제품 상세): 인기상품 카드 미러 */
html body #screen .r02-crosssell .home-popular-product {
  flex: 0 0 46% !important; width: 46% !important; min-height: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important; text-align: left !important;
}
html body #screen .r02-crosssell .home-popular-product .art {
  aspect-ratio: 1 / 1 !important; width: 100% !important; height: auto !important;
  margin-bottom: 8px !important; border-radius: 10px !important; background: #fff !important;
  border: 1px solid rgba(17,17,17,.05) !important; overflow: hidden !important; position: relative !important;
}
html body #screen .r02-crosssell .home-popular-product .art img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
html body #screen .r02-crosssell .home-popular-product .art-mark {
  position: absolute !important; top: 8px !important; right: 8px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 0 !important;
  border: 0 !important; border-radius: 999px !important; background: rgba(255,255,255,.96) !important;
  color: #111 !important; font-size: 18px !important; box-shadow: 0 4px 12px rgba(17,17,17,.08) !important;
}
html body #screen .r02-crosssell .home-popular-product .art-mark.is-fav { background: var(--wds-primary) !important; color: #fff !important; }
html body #screen .r02-crosssell .home-popular-product .home-product-rating {
  margin: 0 0 3px !important; color: var(--wds-alt) !important; font-size: 12px !important; font-weight: 600 !important;
}
html body #screen .r02-crosssell .home-popular-product h3 {
  color: var(--wds-label) !important; font-size: 14px !important; line-height: 1.28 !important; font-weight: 500 !important;
  margin: 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}
/* 큐레이션 레일 컨테이너: 인기상품 레일과 동일 간격 */
html body #screen[data-route="home"] .home-recommendations { gap: 12px !important; }

/* ═══ '사진·기록을 바꿨다면 다시 분석하기' 버튼: 박스 외곽선 제거 ═══ */
html body .diet-reanalyze-btn {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--wds-alt, #8a8a92) !important; font-weight: 600 !important;
}

/* ═══ 제품 카드: '제품 목록 카드'(뱃지+깔끔 하트+★평점)로 전 레일 통일 ═══ */
html body #screen .home-recommendations .category-product-card,
html body #screen .home-popular-products .category-product-card,
html body #screen .r02-crosssell .category-product-card {
  flex: 0 0 46% !important; width: 46% !important; min-width: 0 !important;
  display: flex !important; flex-direction: column !important; gap: 7px !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  padding: 0 !important; cursor: pointer !important; text-align: left !important; scroll-snap-align: start !important;
}
html body #screen .home-recommendations .category-product-art,
html body #screen .home-popular-products .category-product-art,
html body #screen .r02-crosssell .category-product-art {
  position: relative !important; width: 100% !important; aspect-ratio: 1 / 1 !important;
  display: grid !important; place-items: center !important; overflow: hidden !important;
  border-radius: 12px !important; background: #fff !important; border: 1px solid rgba(17,17,17,.035) !important;
}
html body #screen .home-recommendations .category-product-art img,
html body #screen .home-popular-products .category-product-art img,
html body #screen .r02-crosssell .category-product-art img { width: 100% !important; height: 100% !important; object-fit: contain !important; display: block !important; }
html body #screen .home-recommendations .category-product-icon svg,
html body #screen .home-popular-products .category-product-icon svg,
html body #screen .r02-crosssell .category-product-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; }
html body #screen .home-recommendations .category-product-card > strong,
html body #screen .home-popular-products .category-product-card > strong,
html body #screen .r02-crosssell .category-product-card > strong {
  color: var(--wds-label) !important; font-size: 14px !important; line-height: 1.35 !important; font-weight: 500 !important;
  word-break: keep-all; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
  overflow: hidden !important; min-height: 38px;
}
html body #screen .home-recommendations .category-product-card > em,
html body #screen .home-popular-products .category-product-card > em,
html body #screen .r02-crosssell .category-product-card > em { color: #8d8d94 !important; font-size: 12px !important; line-height: 1.2 !important; font-style: normal !important; font-weight: 500 !important; }
html body #screen .home-recommendations .category-product-badge,
html body #screen .home-popular-products .category-product-badge,
html body #screen .r02-crosssell .category-product-badge {
  position: absolute !important; left: 10px !important; bottom: 9px !important; z-index: 2 !important;
  min-height: 22px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 8px !important; border-radius: 999px !important; background: var(--wds-primary) !important; color: #fff !important;
  font-size: 11px !important; line-height: 1 !important; font-weight: 600 !important; box-shadow: 0 4px 10px rgba(255,79,48,.18) !important;
}
html body #screen .home-recommendations .category-product-heart,
html body #screen .home-popular-products .category-product-heart,
html body #screen .r02-crosssell .category-product-heart {
  position: absolute !important; top: 10px !important; right: 10px !important; z-index: 2 !important;
  width: 28px !important; height: 28px !important; border: 0 !important; border-radius: 999px !important;
  background: rgba(255,255,255,.94) !important; color: #111 !important; font-size: 19px !important; line-height: 1 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; box-shadow: none !important;
}
html body #screen .home-recommendations .category-product-heart.is-fav,
html body #screen .home-popular-products .category-product-heart.is-fav,
html body #screen .r02-crosssell .category-product-heart.is-fav { color: #e5484d !important; }
/* 제품 목록(원본)의 찜 하트도 동일하게 레드로 */
html body #screen[data-route="categoryList"] .category-product-heart.is-fav { color: #e5484d !important; }

/* ═══ 카테고리 칩 통일: '저당 인기 상품' 칩 스타일 (선택=흰바탕·주황 테두리) ═══ */
/* 큐레이션 관심사 칩 (저당·근육증가·체중감량) — 클릭 대상 아님 → 선택된 모습(흰 바탕·주황 테두리)으로 표시 */
html body #screen .reason-badges .chip-reason {
  background: #fff !important; border: 1px solid var(--wds-primary, #ff4f30) !important; color: var(--wds-primary, #ff4f30) !important;
  min-height: 28px !important; height: 28px !important; padding: 0 13px !important; border-radius: 999px !important;
  font-size: 12px !important; font-weight: 600 !important; line-height: 1 !important;
  display: inline-flex !important; align-items: center !important; box-shadow: none !important;
}
/* 제품 목록 카테고리 칩 (전체/저당/프로틴…) */
html body #screen .cat-filter-chip {
  background: #f7f7f8 !important; border: 1px solid #dcdce2 !important; color: #55575d !important;
  min-height: 28px !important; height: 28px !important; padding: 0 13px !important; border-radius: 999px !important;
  font-size: 12px !important; font-weight: 600 !important; line-height: 1 !important; box-shadow: none !important;
}
html body #screen .cat-filter-chip.is-on {
  background: #fff !important; border-color: var(--wds-primary) !important; color: var(--wds-primary) !important;
}

/* ═══ 제품 리스트 아이템 (pl-*): 완전 새로 작성 — 흰 썸네일, 복숭아색·구분선 없음 ═══ */
html body .pl-list { display: flex; flex-direction: column; background: transparent; padding: 0; margin: 0; gap: 2px; }
html body .pl-item { display: flex; align-items: center; gap: 13px; padding: 8px 2px; background: transparent; border: 0; box-shadow: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html body .pl-item:active { opacity: .6; }
html body .pl-thumb { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; border: 0; box-shadow: none; }
html body .pl-thumb .pl-photo { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); background: #fff; display: block; border: 0; }
html body .pl-thumb .pl-icon { color: #c9c2bd; display: grid; place-items: center; }
html body .pl-thumb .pl-icon svg { width: 26px; height: 26px; }
html body .pl-text { flex: 1 1 auto; min-width: 0; }
html body .pl-title { font-size: 14px; font-weight: 700; color: #211815; line-height: 1.34; letter-spacing: -.01em; }
html body .pl-sub { font-size: 12px; color: #9a8f88; margin-top: 3px; }
html body .pl-tag { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #ff5a35 !important; background: rgba(255,90,53,.1); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }

/* ═══ iOS 안전영역 상하단 여백 정리 (2026-07-15): 상태바 겹침 + 탭바 뜸 수정 ═══ */
/* 기기에서 env(safe-area-inset-top)이 0으로 잡혀도 상태바를 확실히 피하도록 최소 48px 확보.
   탭바는 safe-bottom을 높이/패딩/위치에 중복 적용하던 것을 정리해 홈 인디케이터 바로 위에 배치. */
@media (max-width: 560px), (display-mode: standalone) {
  html body .screen {
    padding-top: max(env(safe-area-inset-top, 0px), 48px) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 82px) !important;
  }
  html body .tabbar {
    /* 아이콘은 64px 안에서 중앙정렬(안 눌림), 바닥 여백은 완전히 제거 */
    height: 64px !important;
    padding: 8px !important;
    bottom: 0 !important;
    overflow: visible !important;
  }
  /* 아이콘+라벨을 중앙에서 아래로 10px 이동 (머리가 위에 안 닿게) */
  html body .tabbar .tab { transform: translateY(10px) !important; }
  html body .toast-layer { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}
