.fshop { color: #1a1814; }
.fshop a { color: #0b6b3a; text-decoration: none; font-weight: 700; }
.fshop .btn,
.fshop button.btn,
.fshop input.btn,
.fshop a.btn,
.fshop .btn_insert {
  background: #1a1814;
  color: #fff7e6 !important;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.fshop-kicker { letter-spacing: .12em; font-size: 12px; font-weight: 800; color: #c4511a; margin: 0; }
.fshop-hero { margin: 8px 0 22px; }
.fshop-hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 6px 0 10px; }
.fshop-hero p { color: #6d6458; font-size: 18px; }
.fshop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fshop-card {
  background: #fffdf8; border: 1px solid #e4d8c4; border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}
.fshop-thumb { display: block; height: 200px; background: #ece6db center/cover no-repeat; }
.fshop-thumb.is-empty { background: linear-gradient(135deg, #3a3228, #c4511a); }
.fshop-src {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px; background: #fff;
}
.fshop-src.coupang { color: #e74c3c; }
.fshop-src.naver { color: #03c75a; }
.fshop-src.aliexpress { color: #e62e04; }
.fshop-card h2 { font-size: 17px; margin: 12px 14px 4px; min-height: 48px; }
.fshop-price { margin: 0 14px 8px; font-weight: 900; color: #c4511a; font-size: 20px; }
.fshop-price.is-ask, .fshop-price.is-big.is-ask { color: #6d6458; font-size: 16px; }
/* Buy CTA: 6 color/motion variants + marquee + morphing pill */
.fshop-buy {
  --fb-h: 48px;
  position: relative;
  display: block;
  margin: 0 14px 14px;
  height: var(--fb-h);
  overflow: hidden;
  text-decoration: none !important;
  border-radius: 14px;
  padding: 0;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: 0 8px 20px rgba(26, 24, 20, 0.16);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.fshop-buy.is-big {
  --fb-h: 58px;
  margin: 14px 0 0;
  max-width: 440px;
  border-radius: 16px;
}
.fshop-buy:hover,
.fshop-buy:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(26, 24, 20, 0.28);
  filter: saturate(1.15);
}
.fshop-buy-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  background-size: 220% 100%;
  animation: fshop-buy-gleam 2.8s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
.fshop-buy-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 72%, transparent);
}
.fshop-buy-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 96px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 247, 230, 0.94);
  will-change: transform;
}
.fshop-buy.is-big .fshop-buy-track { font-size: 14px; gap: 12px; padding-right: 110px; }
.fshop-buy-pill {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  z-index: 2;
  min-width: 78px;
  height: calc(var(--fb-h) - 12px);
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.96);
  color: #1a1814;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.03em;
}
.fshop-buy.is-big .fshop-buy-pill {
  min-width: 94px;
  font-size: 15px;
  right: 8px;
  height: calc(var(--fb-h) - 14px);
}
.fshop-buy-pill-txt { display: inline-block; transform-origin: center; }
.fshop-buy-sr {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.fshop-buy.is-v1 { background: linear-gradient(120deg, #c4511a, #e89a3c 45%, #8b2e0e); }
.fshop-buy.is-v1 .fshop-buy-track { animation: fshop-mq-left 14s linear infinite; }
.fshop-buy.is-v1 .fshop-buy-pill { background: #fff7e6; color: #c4511a; animation: fshop-pill-pop 1.8s ease-in-out infinite; }
.fshop-buy.is-v2 { background: linear-gradient(135deg, #0b6b3a, #1fad63 50%, #064d2a); }
.fshop-buy.is-v2 .fshop-buy-track { animation: fshop-mq-right 16s linear infinite; }
.fshop-buy.is-v2 .fshop-buy-pill { background: #eafff2; color: #0b6b3a; animation: fshop-pill-bounce 1.1s ease-in-out infinite; }
.fshop-buy.is-v3 { background: linear-gradient(125deg, #1a1814, #3d342a 40%, #c4511a 100%); }
.fshop-buy.is-v3 .fshop-buy-track { animation: fshop-mq-left 11s linear infinite; }
.fshop-buy.is-v3 .fshop-buy-pill { background: #1a1814; color: #fff7e6; border: 2px solid #ffd28a; animation: fshop-pill-wiggle 2s ease-in-out infinite; }
.fshop-buy.is-v4 { background: linear-gradient(110deg, #0f146d, #3b4ccc 48%, #ee4d2d); }
.fshop-buy.is-v4 .fshop-buy-track { animation: fshop-mq-right 13s linear infinite; }
.fshop-buy.is-v4 .fshop-buy-pill { background: #fff; color: #0f146d; animation: fshop-pill-pulse 1.4s ease-in-out infinite; }
.fshop-buy.is-v5 { background: linear-gradient(100deg, #7a1f3d, #e62e04 55%, #ff8a4c); }
.fshop-buy.is-v5 .fshop-buy-track { animation: fshop-mq-left 10s linear infinite; }
.fshop-buy.is-v5 .fshop-buy-pill { background: #ffe8de; color: #a01818; animation: fshop-pill-stamp 2.2s cubic-bezier(.34,1.56,.64,1) infinite; }
.fshop-buy.is-v6 { background: linear-gradient(140deg, #16324f, #2a9d8f 42%, #e9c46a); }
.fshop-buy.is-v6 .fshop-buy-track { animation: fshop-mq-right 15s linear infinite; }
.fshop-buy.is-v6 .fshop-buy-pill { background: #16324f; color: #e9c46a; animation: fshop-pill-glow 1.6s ease-in-out infinite; }
@keyframes fshop-mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fshop-mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes fshop-buy-gleam {
  0%, 100% { background-position: 120% 0; opacity: .35; }
  50% { background-position: -20% 0; opacity: .85; }
}
@keyframes fshop-pill-pop {
  0%, 100% { transform: translateY(-50%) scale(1); }
  40% { transform: translateY(-50%) scale(1.08); }
  60% { transform: translateY(-50%) scale(0.96); }
}
@keyframes fshop-pill-bounce {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 5px)); }
}
@keyframes fshop-pill-wiggle {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  25% { transform: translateY(-50%) rotate(-4deg); }
  75% { transform: translateY(-50%) rotate(4deg); }
}
@keyframes fshop-pill-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  50% { transform: translateY(-50%) scale(1.06); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@keyframes fshop-pill-stamp {
  0%, 70%, 100% { transform: translateY(-50%) scale(1) rotate(0deg); }
  78% { transform: translateY(-50%) scale(1.18) rotate(-6deg); }
  86% { transform: translateY(-50%) scale(0.92) rotate(3deg); }
}
@keyframes fshop-pill-glow {
  0%, 100% { transform: translateY(-50%); filter: drop-shadow(0 0 0 rgba(233,196,106,0)); }
  50% { transform: translateY(-50%); filter: drop-shadow(0 0 8px rgba(233,196,106,.9)); }
}
.fshop-buy-pill-txt.is-flip { animation: fshop-pill-flip .45s ease; }
@keyframes fshop-pill-flip {
  0% { opacity: 0; transform: translateY(8px) scale(.85); }
  55% { opacity: 1; transform: translateY(-2px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
a.fshop-nudge-promo-item.fshop-buy {
  height: auto; margin: 0; border-radius: 10px; box-shadow: none;
  background: transparent; transform: none !important; filter: none !important;
}
a.fshop-nudge-promo-item.fshop-buy .fshop-buy-shine,
a.fshop-nudge-promo-item.fshop-buy .fshop-buy-marquee,
a.fshop-nudge-promo-item.fshop-buy .fshop-buy-pill,
a.fshop-nudge-promo-item.fshop-buy .fshop-buy-sr { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .fshop-buy-shine,
  .fshop-buy-track,
  .fshop-buy-pill,
  .fshop-buy-pill-txt { animation: none !important; }
  .fshop-buy-track { transform: none; }
}
.fshop-ox {
  margin: 28px 0 8px;
  padding: 18px 0 4px;
  border-top: 1px solid #e4d8c4;
}
.fshop-ox-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #c4511a;
}
.fshop-ox-lead {
  margin: 0 0 12px;
  color: #6d6458;
  font-size: 15px;
}
.fshop-ox-en {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3faf6;
  border: 1px solid #cfe8d8;
  font-size: 13px;
  color: #1a1814;
  font-weight: 700;
}
.fshop-ox-en code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: #0b6b3a;
  word-break: break-word;
}
.fshop-ox-en span {
  display: inline-block;
  margin-left: 6px;
  color: #6d6458;
  font-weight: 600;
  font-size: 12px;
}
.fshop-ox-sub {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #c4511a;
}
.fshop-ox-en.is-fail {
  background: #fff3e8;
  border-color: #e8c4a0;
  color: #7a3e12;
}
.fshop-ox-variants {
  margin: 0 0 12px;
  font-size: 12px;
  color: #6d6458;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fshop-ox-variants-label {
  font-size: 13px;
  color: #1a1814;
  font-weight: 800;
}
.fshop-ox-chip,
.fshop-ox-variants span {
  padding: 6px 10px;
  border-radius: 8px;
  background: #eef8f1;
  border: 1px solid #b7dfc6;
  color: #0b6b3a;
  font-weight: 800;
  font-size: 13px;
}
.fshop-ox-browse {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.fshop-ox-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e4d8c4;
  background: #fffdf8;
  color: #1a1814 !important;
  text-decoration: none !important;
  font-weight: 700;
  min-height: 64px;
}
.fshop-ox-link strong { font-size: 15px; }
.fshop-ox-link span { font-size: 12px; color: #6d6458; font-weight: 600; word-break: break-word; }
.fshop-ox-link:hover,
.fshop-ox-link:focus-visible { border-color: #c4511a; }
.fshop-ox-link.is-shopee { border-color: #f5c4b8; }
.fshop-ox-link.is-lazada { border-color: #b8bce8; }
.fshop-ox-link.is-tiktok { border-color: #c9c9c9; }
.fshop-ox-link.is-aliexpress { border-color: #f0c4a8; }
.fshop-ox-portals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.fshop-ox-portal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e4d8c4;
  background: #fffdf8;
  color: #1a1814 !important;
  text-decoration: none !important;
  font-weight: 700;
  min-height: 64px;
}
.fshop-ox-portal strong { font-size: 15px; }
.fshop-ox-portal span { font-size: 12px; color: #6d6458; font-weight: 600; }
.fshop-ox-portal:hover,
.fshop-ox-portal:focus-visible { border-color: #c4511a; }
.fshop-card.is-ox .fshop-src { color: #e62e04; }
.fshop-src.shopee { color: #ee4d2d; }
.fshop-src.lazada { color: #0f146d; }
.fshop-empty { color: #6d6458; }
.fshop-rate {
  margin: 10px 0 0; padding: 12px 14px; border-radius: 12px;
  background: #fff3e8; border: 1px solid #e8c4a0; color: #7a3e12; font-weight: 700;
}
.fshop-admin-search {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef4ff;
  border: 1px solid #c5d4f0;
  color: #1a2a4a;
  font-size: 13px;
  font-weight: 700;
}
.fshop-admin-search strong {
  color: #0b3d91;
  font-size: 15px;
}
.fshop-clear { margin-top: 8px; }
.fshop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fshop-chips a {
  background: #fffdf8; border: 1px solid #e4d8c4; color: #1a1814 !important;
  border-radius: 999px; padding: 8px 12px; font-weight: 800; text-decoration: none !important;
}
.fshop-sort {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 16px; padding: 10px 0; border-bottom: 1px solid #e4d8c4;
}
.fshop-sort-label { margin: 0; font-weight: 800; color: #6d6458; font-size: 13px; }
.fshop-sort-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.fshop-sort-chips a {
  background: #fffdf8; border: 1px solid #e4d8c4; color: #1a1814 !important;
  border-radius: 999px; padding: 7px 11px; font-size: 13px; font-weight: 800;
  text-decoration: none !important;
}
.fshop-sort-chips a.is-on { background: #1a1814; color: #fff7e6 !important; border-color: #1a1814; }
.fshop-sort-pick { margin: 0; }
.fshop-sort-pick select {
  border: 1px solid #e4d8c4; border-radius: 10px; padding: 8px 10px;
  background: #fff; font-weight: 700; color: #1a1814;
}
.fshop-today-block { margin: 0 0 28px; }
.fshop-today-label {
  font-weight: 900; letter-spacing: -0.02em; margin: 0 0 12px; color: #c4511a;
}
.fshop-expand-block { margin: 0 0 28px; }
.fshop-expand-label {
  font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #0b6b3a;
}
.fshop-live-banner {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin: 12px 0 0; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(120deg, #fff7e6, #fffdf8 55%, #f3ebe0);
  border: 1px solid #e4d8c4; color: #1a1814;
}
.fshop-live-brand {
  font-size: clamp(22px, 4vw, 30px); letter-spacing: -0.04em; color: #c4511a;
  font-weight: 900; line-height: 1;
}
.fshop-live-msg { font-size: 17px; font-weight: 700; color: #6d6458; }
.fshop-grid.is-live-shimmer .fshop-card.is-expand {
  animation: fshop-card-in .55s ease both;
}
.fshop-grid.is-live-shimmer .fshop-card.is-expand:nth-child(2) { animation-delay: .06s; }
.fshop-grid.is-live-shimmer .fshop-card.is-expand:nth-child(3) { animation-delay: .12s; }
.fshop-grid.is-live-shimmer .fshop-card.is-expand:nth-child(4) { animation-delay: .18s; }
@keyframes fshop-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fshop-collect {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(26, 24, 20, .42);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.fshop-collect.is-on { opacity: 1; pointer-events: auto; }
.fshop-collect-card {
  width: min(420px, 100%);
  background: #fffdf8; border: 1px solid #e4d8c4; border-radius: 20px;
  padding: 28px 24px 22px; text-align: center;
  box-shadow: 0 18px 40px rgba(26, 24, 20, .18);
}
.fshop-collect-brand {
  margin: 0 0 8px; font-size: clamp(34px, 8vw, 48px); line-height: 1;
  letter-spacing: -0.05em; font-weight: 900; color: #c4511a;
  animation: fshop-brand-pulse 1.6s ease-in-out infinite;
}
.fshop-collect-line {
  margin: 0 0 18px; min-height: 1.5em; font-size: 18px; font-weight: 800;
  color: #1a1814; letter-spacing: -0.02em;
}
.fshop-collect-bar {
  height: 4px; border-radius: 999px; background: #ece6db; overflow: hidden;
}
.fshop-collect-bar span {
  display: block; height: 100%; width: 42%; border-radius: inherit;
  background: linear-gradient(90deg, #c4511a, #1a1814);
  animation: fshop-bar 1.35s ease-in-out infinite;
}
@keyframes fshop-brand-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: .92; }
}
@keyframes fshop-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
html.fshop-collecting { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .fshop-collect-brand,
  .fshop-collect-bar span,
  .fshop-grid.is-live-shimmer .fshop-card.is-expand { animation: none; }
}
.fshop-card.is-today { border-color: #c4511a; box-shadow: 0 0 0 1px #c4511a inset; }
.fshop-card.is-expand { border-color: #0b6b3a; box-shadow: 0 0 0 1px #0b6b3a inset; }
.fshop-rows { display: flex; flex-direction: column; gap: 8px; }
.fshop-row {
  display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center;
  background: #fffdf8; border: 1px solid #e4d8c4; border-radius: 12px; padding: 10px 14px;
}
.fshop-row i { width: 72px; height: 72px; border-radius: 8px; background: #ece6db center/cover; }
.fshop-row strong { font-size: 18px; }
.fshop-row em { color: #6d6458; font-style: normal; }
.fshop-row b { color: #c4511a; font-size: 22px; }
.fshop-item { background: #fffdf8; border: 1px solid #e4d8c4; border-radius: 20px; padding: 20px; }
.fshop-show { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fshop-photo { min-height: 360px; border-radius: 16px; background: #ece6db center/contain no-repeat; }
.fshop-photo.is-empty { background: linear-gradient(135deg, #3a3228, #c4511a); }
.fshop-price.is-big { font-size: 36px; margin: 10px 0; }
.fshop-note, .fshop-back { color: #6d6458; }
.fshop-back { margin-top: 18px; }
.fshop-body { margin-top: 20px; font-size: 18px; line-height: 1.6; }
.fshop-desk {
  margin-top: 28px; padding: 18px; background: #1a1814; color: #fff7e6; border-radius: 16px;
  display: grid; gap: 10px;
}
.fshop-desk label { display: grid; gap: 4px; font-weight: 700; }
.fshop-desk input, .fshop-desk select { padding: 8px; border-radius: 8px; border: 0; }
.fshop-desk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fshop-desk button, .fshop-desk a {
  background: #c4511a; color: #fff7e6 !important; border: 0; border-radius: 8px; padding: 10px 14px;
  font-weight: 800; text-decoration: none; cursor: pointer;
}
.fshop-desk.is-danger { background: transparent; padding: 8px 0; }
.fshop-desk.is-danger button { background: #7f1d1d; color: #fff7e6 !important; }
.fshop-write .btnArea { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.fshop-write .btnArea a {
  color: #1a1814; background: #fff; border: 1px solid #e4d8c4;
  border-radius: 10px; padding: 12px 14px; font-weight: 800;
}
.fshop-write .iText { width: 100%; padding: 12px; font-size: 20px; margin-bottom: 12px; }
.fshop-foot .pagination { display: flex; gap: 8px; margin-top: 20px; }
@media (max-width: 800px) {
  .fshop-show, .fshop-row { display: block; }
  .fshop-photo { min-height: 220px; }
}

/* Bottom site tab (.phm-tab): fixed, z-index 10050, ~52px + safe-area, ≤900px only.
   Nudge stays under the tab in z-order so the 6-item menu remains visible/tappable;
   sheet clears it via --fshop-bottom-nav-h (CSS fallback + JS measure). */
:root {
  --fshop-bottom-nav-h: 0px;
}

/* First-visit search nudge — mobile-first */
.fshop-nudge {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--fshop-bottom-nav-h, 0px);
  z-index: 11000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    max(8px, env(safe-area-inset-top, 0px))
    max(12px, env(safe-area-inset-right, 0px))
    max(8px, env(safe-area-inset-bottom, 0px))
    max(12px, env(safe-area-inset-left, 0px));
  background: rgba(26, 24, 20, .5);
  backdrop-filter: blur(2px);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  box-sizing: border-box;
}
.fshop-nudge.is-on {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
/* SSR gate must paint even if a later rule fights opacity */
.fshop-nudge[data-fshop-nudge-ssr].is-on {
  display: flex !important;
  opacity: 1 !important;
}
html.fshop-nudging,
html:has(.fshop-nudge.is-on) {
  overflow: hidden;
}
.fshop-nudge-sheet {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-height: 100%;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid #e4d8c4;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  box-shadow: 0 18px 40px rgba(26, 24, 20, .2);
  touch-action: manipulation;
  overflow: hidden;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.fshop-nudge-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 18px 16px 10px;
  box-sizing: border-box;
}
.fshop-nudge-brand {
  margin: 0 0 6px;
  font-size: clamp(30px, 10vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: #c4511a;
}
.fshop-nudge-lead {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #1a1814;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.fshop-nudge-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.fshop-nudge-form { margin: 0 0 10px; }
.fshop-nudge-promo {
  margin: 0 0 10px;
  text-align: left;
}
.fshop-nudge-promo-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #6d6458;
}
.fshop-nudge-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.fshop-nudge-promo-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 5px;
  border: 1px solid #e4d8c4;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.fshop-nudge-promo-item:hover,
.fshop-nudge-promo-item:focus-visible {
  border-color: #c4511a;
}
.fshop-nudge-promo-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: #f3ebe0 center / cover no-repeat;
}
.fshop-nudge-promo-thumb.is-empty {
  background: #efe6d8;
}
.fshop-nudge-promo-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.fshop-nudge-promo-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1a1814;
  word-break: keep-all;
}
.fshop-nudge-promo-price {
  font-size: 10px;
  font-weight: 800;
  color: #c4511a;
  letter-spacing: -0.02em;
}
.fshop-nudge-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.fshop-nudge-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #e4d8c4;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1814;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.fshop-nudge-go {
  flex: 0 0 auto;
  width: auto;
  min-width: 4.5em;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: #1a1814;
  color: #fff7e6;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  white-space: nowrap;
}
/* Always-on footer: 나중에 | 단톡방 | 1:1 — never scroll off-screen */
.fshop-nudge-footer {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
  margin: 0;
  padding:
    6px 8px
    max(10px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e4d8c4;
  background: #fffdf8;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fshop-nudge-footer::-webkit-scrollbar { display: none; }
.fshop-nudge-sep {
  color: #c9bba8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}
.fshop-nudge-later {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 6px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #6d6458;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  opacity: .65;
  touch-action: manipulation;
  white-space: nowrap;
}
.fshop-nudge-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #3c1e1e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
  white-space: nowrap;
}
.fshop-nudge-kakao:hover,
.fshop-nudge-kakao:focus-visible {
  color: #1a1814;
}
/* Center CTA: 단톡방 — same row, clearly louder than side links (~0.7 prior size) */
.fshop-nudge-kakao-group {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  max-width: 36%;
  min-height: 34px;
  margin: 0 2px;
  padding: 6px 7px;
  border-radius: 999px;
  border: 2px solid #3c1e1e;
  background: linear-gradient(180deg, #ffe566 0%, #fee500 55%, #f5d000 100%);
  color: #191919 !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  box-shadow: 0 1px 0 #c9a800, 0 3px 8px rgba(60, 30, 30, 0.16);
  animation: fshop-nudge-group-pulse 1.35s ease-in-out infinite;
  overflow: hidden;
}
.fshop-nudge-kakao-group:hover,
.fshop-nudge-kakao-group:focus-visible {
  color: #000 !important;
  border-color: #191919;
  filter: brightness(1.03);
}
.fshop-nudge-kakao-txt {
  display: inline-block;
  transform-origin: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fshop-nudge-kakao-txt.is-flip {
  animation: fshop-nudge-group-flip 0.4s ease;
}
@keyframes fshop-nudge-group-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes fshop-nudge-group-flip {
  0% { opacity: 0; transform: translateY(4px) scale(0.94); }
  100% { opacity: 1; transform: none; }
}
.fshop-nudge-kakao-dm {
  opacity: 0.78;
  font-size: 11px;
  font-weight: 600;
}
.fshop-nudge-cp {
  margin: 0 0 8px;
}
.fshop-nudge-cp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e4d8c4;
  border-radius: 12px;
  background: #fff;
  color: #1a1814;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}
.fshop-nudge-cp-link:hover,
.fshop-nudge-cp-link:focus-visible {
  border-color: #c4511a;
  color: #c4511a;
}
.fshop-cp-home {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.fshop-cp-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e4d8c4;
  border-radius: 999px;
  background: #fffdf8;
  color: #1a1814;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}
.fshop-cp-home-link:hover,
.fshop-cp-home-link:focus-visible {
  border-color: #c4511a;
  color: #c4511a;
}
.fshop-cp-home-note {
  font-size: 12px;
  font-weight: 600;
  color: #6d6458;
  opacity: .85;
}
html.fshop-nudging,
html.fshop-nudging body {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}
@media (min-width: 801px) {
  .fshop-nudge { align-items: center; }
  .fshop-nudge-main { padding: 24px 22px 12px; }
  .fshop-nudge-lead { font-size: 17px; }
  .fshop-nudge-brand { font-size: clamp(40px, 5vw, 52px); }
  .fshop-nudge-footer { padding-bottom: 14px; }
}
/* Match .phm-tab breakpoint (mobile.css max-width: 900px). Desktop: no empty gap. */
@media (max-width: 900px) {
  html:has(.phm-tab) {
    /* 1px border-top + 52px min-height links + safe-area (same as .phm-tab) */
    --fshop-bottom-nav-h: calc(53px + env(safe-area-inset-bottom, 0px));
  }
  html:has(.phm-tab) .fshop-nudge {
    /* Safe-area already in --fshop-bottom-nav-h; don't double-pad the sheet. */
    padding-bottom: 8px;
  }
  html:has(.phm-tab) .fshop-nudge-footer {
    padding-bottom: 10px;
  }
}
@media (min-width: 901px) {
  :root { --fshop-bottom-nav-h: 0px; }
}
@media (max-width: 800px) {
  .fshop-nudge-sheet {
    width: 100%;
    border-radius: 18px;
  }
}
/* Short viewports: keep footer visible; shrink chrome above promos */
@media (max-height: 640px) {
  .fshop-nudge-brand {
    font-size: clamp(26px, 8vw, 36px);
    margin-bottom: 4px;
  }
  .fshop-nudge-lead {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .fshop-nudge-input { min-height: 40px; font-size: 15px; padding: 8px 10px; }
  .fshop-nudge-go { min-height: 42px; font-size: 15px; padding: 10px 14px; }
  .fshop-nudge-promo-name { -webkit-line-clamp: 1; font-size: 10px; }
  .fshop-nudge-main { padding-top: 12px; }
}
@media (max-height: 480px) {
  .fshop-nudge-lead { display: none; }
  .fshop-nudge-promo-price { display: none; }
  .fshop-nudge-cp-link { min-height: 36px; font-size: 12px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fshop-nudge { transition: none; }
  .fshop-nudge-kakao-group { animation: none !important; }
  .fshop-nudge-kakao-txt.is-flip { animation: none !important; }
}

/* Admin-only: YouTube pinned comment picks */
.fshop-admin-yt {
  margin: 0 0 18px;
  padding: 0;
  border: 1px dashed #c4511a;
  border-radius: 14px;
  background: #fff8f0;
}
.fshop-admin-yt > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  color: #7a3e12;
  letter-spacing: -0.02em;
}
.fshop-admin-yt > summary::-webkit-details-marker { display: none; }
.fshop-admin-yt[open] > summary {
  border-bottom: 1px solid #e8c4a0;
}
.fshop-admin-yt-lead {
  margin: 10px 14px 8px;
  font-size: 13px;
  color: #6d6458;
  font-weight: 600;
}
.fshop-admin-yt-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fshop-admin-yt-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid #e4d8c4;
}
.fshop-admin-yt-rank {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1a1814;
  color: #fff7e6;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fshop-admin-yt-thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ece6db center/cover no-repeat;
}
.fshop-admin-yt-meta {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fshop-admin-yt-meta strong {
  font-size: 13px;
  line-height: 1.3;
  color: #1a1814;
}
.fshop-admin-yt-meta span {
  font-size: 12px;
  font-weight: 800;
  color: #c4511a;
}
.fshop-admin-yt-meta code {
  font-size: 11px;
  color: #6d6458;
  word-break: break-all;
  font-family: ui-monospace, monospace;
}
.fshop-admin-yt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 10px;
}
.fshop-admin-yt-copy {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 40px;
  background: #1a1814;
  color: #fff7e6;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.fshop-admin-yt-copy.is-main {
  background: #c4511a;
}
.fshop-admin-yt-preview {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  box-sizing: border-box;
  border: 1px solid #e4d8c4;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #1a1814;
  background: #fff;
  resize: vertical;
  font-family: ui-monospace, monospace;
}
.fshop-admin-yt-tip {
  margin: 0 14px 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #e8f6ee;
  color: #0b6b3a;
  font-size: 13px;
  font-weight: 700;
}
.fshop-admin-yt-src { display: none !important; }

