@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/pretendard/Pretendard-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/pretendard/Pretendard-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/pretendard/Pretendard-ExtraBold.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

:root {
  --purple: #5b35ff;
  --red: #ff4048;
  --ink: #111114;
  --text: #25252a;
  --dim: #8e8e96;
  --line: #e9e9ed;
  --panel: #f2f3f5;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bot: 84px;
  --nav-lift: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; color: var(--ink); }
body {
  font-family: 'Pretendard', 'Noto Sans KR', 'Roboto', Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--bot) + var(--nav-lift) + var(--safe-b));
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.app {
  min-height: 100dvh;
  background: #fff;
}

.location-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17,17,20,.52);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.location-gate[hidden] { display: none; }
.location-gate__card {
  width: min(100%, 360px);
  padding: 30px 24px 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 55px rgba(0,0,0,.24);
}
.location-gate__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 15px;
  border-radius: 18px;
  background: #f0edff;
  color: var(--purple);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}
.location-gate__card strong { display: block; font-size: 21px; font-weight: 900; }
.location-gate__card p { margin: 10px 0 21px; color: #707078; font-size: 14px; line-height: 1.55; }
.location-gate__card button {
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 23px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.location-gate__card button:disabled { opacity: .62; cursor: wait; }
.location-gate__download {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #e5e5e9;
  border-radius: 14px;
  color: #25252a;
  text-align: left;
  background: #fafafd;
}
.location-gate__download-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eeeaff;
  color: var(--purple);
}
.location-gate__download-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.location-gate__download span:nth-child(2) { min-width: 0; flex: 1; }
.location-gate__download b,
.location-gate__download small { display: block; }
.location-gate__download b { font-size: 13px; font-weight: 900; }
.location-gate__download small { margin-top: 3px; color: #777b86; font-size: 11px; font-weight: 700; }
.location-gate__download i { color: #9a9ca4; font-size: 25px; font-style: normal; line-height: 1; }
.location-gate__download:active { background: #f2f0ff; }

.shop-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) 16px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.search {
  flex: 1;
  min-width: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 20px;
  border-radius: 28px;
  background: var(--panel);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
}
.search input::placeholder {
  color: #8b8b92;
  font-weight: 700;
}
.search svg,
.top-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.search__clear {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b9bbc1;
  color: #fff;
}
.search__clear[hidden] { display: none; }
.search__clear:not([hidden]) + svg { display: none; }
.search__clear svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.top-icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.top-icon svg { width: 27px; height: 27px; }
.top-icon.is-loading svg { animation: pulseLocate .8s ease-in-out infinite alternate; }
.top-login.is-on {
  color: var(--purple);
}
.top-login span,
.top-cart span {
  position: absolute;
  right: -1px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
@keyframes pulseLocate {
  from { transform: scale(.92); opacity: .55; }
  to { transform: scale(1); opacity: 1; }
}

.screen {
  max-width: 430px;
  margin: 0 auto;
}
.desktop-left-panel,
.desktop-right-panel { display: none; }
.today {
  margin: 14px 16px 18px;
  padding: 14px 0 14px 14px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  background: #fff;
}
.today[hidden] { display: none; }
.card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 14px;
}
.card-head__icon { display: none; }
.card-head__body {
  flex: 1;
  min-width: 0;
}
.card-head__body b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.05;
  font-weight: 900;
}
.card-head__body span {
  display: block;
  margin-top: 3px;
  color: #777780;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-head__action {
  padding: 8px 0 8px 12px;
  color: #0877d9;
  font-size: 13px;
  font-weight: 900;
}
.pick-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-right: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.pick-list::-webkit-scrollbar { display: none; }
.pick-list.is-dragging { cursor: grabbing; }
.pick-row {
  flex: 0 0 166px;
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 8px 7px;
  padding: 11px 12px 10px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  scroll-snap-align: start;
}
.pick-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}
.pick-row em {
  padding: 4px 7px;
  border: 1px solid rgba(255,64,72,.35);
  border-radius: 4px;
  color: var(--red);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.pick-row em.up {
  border-color: rgba(46,141,84,.35);
  color: #2e8d54;
}
.pick-row em.flat {
  border-color: rgba(150,150,157,.35);
  color: #96969d;
}
.pick-row strong {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.02;
  font-weight: 900;
}
.today__warn {
  grid-column: 1 / -1;
  margin: 0;
  color: #96969d;
  font-size: 12px;
  font-weight: 800;
}

.section-title {
  margin: 0 16px 14px;
  text-align: right;
}
.section-title b { display: none; }
.section-title span {
  display: block;
  color: #96969d;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 800;
}

.list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  padding: 0 16px calc(var(--bot) + var(--nav-lift) + 34px);
}
.product {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.product__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ph, #f4f5f7);
}
.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(17,17,20,.32);
  font-size: 22px;
  font-weight: 900;
}
.product__badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px 8px;
  border-radius: 12px 0 8px 0;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.product__cart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 14px rgba(0,0,0,.16);
}
.product.is-in .product__cart {
  background: var(--purple);
  color: #fff;
}
.product__cart svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product__cart b {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}
.good__body {
  min-width: 0;
}
.good__name {
  display: -webkit-box;
  min-height: 36px;
  margin-top: 10px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.22;
  font-weight: 800;
}
.good__meta {
  display: flex;
  align-items: baseline;
  min-height: 27px;
  margin-top: 7px;
}
.good__price {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8e8e96;
  font-size: 18px;
  font-weight: 900;
}
.good__price em {
  color: var(--red);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}
.product__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.product__foot span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--purple);
  font-size: 14px;
  font-weight: 900;
}
.product__foot i {
  flex: none;
  color: var(--text);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.good__save,
.good__store { display: none; }

.state {
  grid-column: 1 / -1;
  padding: 80px 20px;
  color: var(--ink);
  text-align: center;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
}
.source {
  margin: 0 16px 20px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.basket-bar {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bot) + var(--nav-lift) + var(--safe-b) + 10px);
  z-index: 42;
  transform: translateX(-50%);
  width: min(calc(100vw - 32px), 398px);
  height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 20px;
  border: 1.8px solid var(--purple);
  border-radius: 31px;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.basket-bar[hidden] { display: none; }
.basket-bar span { font-size: 14px; font-weight: 900; }
.basket-bar b {
  margin-left: auto;
  padding: 13px 18px;
  border-radius: 25px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.basket-bar svg { display: none; }

.float-actions {
  position: fixed;
  right: 14px;
  bottom: calc(var(--bot) + var(--nav-lift) + var(--safe-b) + 86px);
  z-index: 43;
  display: grid;
  gap: 8px;
}
.float-actions[hidden] { display: none; }
.float-actions__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233,233,237,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(17,17,20,.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.float-actions__btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float-actions__app {
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.botnav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(var(--nav-lift) + var(--safe-b));
  z-index: 38;
  transform: translateX(-50%);
  width: min(90vw, 387px);
  height: var(--bot);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 6px;
  border: 1px solid rgba(234,223,195,.42);
  border-radius: 28px;
  background: rgba(244,239,226,.12);
  -webkit-backdrop-filter: blur(7px) saturate(130%);
  backdrop-filter: blur(7px) saturate(130%);
  box-shadow: 0 12px 28px rgba(17,17,20,.12);
  overflow: hidden;
}
.botnav__b {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8a7b68;
  font-size: 15px;
  font-weight: 800;
  border-radius: 18px;
  transition: color .18s cubic-bezier(0.23, 1, 0.32, 1), background-color .18s cubic-bezier(0.23, 1, 0.32, 1), transform .18s cubic-bezier(0.23, 1, 0.32, 1);
}
.botnav__b svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.botnav__b.on {
  color: #854c1e;
  font-weight: 900;
}
.botnav__b:hover { transform: translateY(-1px); }
.botnav__b:active { transform: scale(.97); }
.botnav__b:focus-visible { outline: 3px solid rgba(133,76,30,.28); outline-offset: -3px; }
.botnav__b.on svg {
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  background: transparent;
}

.sheet, .lucky-sheet, .ask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet[hidden], .lucky-sheet[hidden], .ask[hidden] { display: none; }
.sheet__dim, .ask__dim {
  position: absolute;
  inset: 0;
  background: rgba(16,18,22,.5);
}
.sheet__box, .ask__box {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 92dvh;
  overflow: auto;
  padding: 18px 16px calc(22px + var(--safe-b));
  border-radius: 16px 16px 0 0;
  background: #fff;
}
.sheet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sheet__head h2 {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}
.sheet__estimate {
  color: #12b886;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.sheet__x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--dim);
  font-size: 24px;
}
.basket-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 14px;
}
.basket-check,
.basket-delete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.basket-check svg,
.basket-item__check svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1.5px solid #d7dce2;
  border-radius: 7px;
  background: #fff;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  box-sizing: border-box;
}
.basket-check.on svg,
.basket-item.on .basket-item__check svg {
  border-color: var(--purple);
  background: var(--purple);
}
.basket-delete {
  color: #8b8f98;
  font-size: 13px;
}
.basket-delete:disabled { opacity: .35; }
.basket-watch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 13px 12px;
  border: 1px solid rgba(91,53,255,.18);
  border-radius: 14px;
  background: #f6f4ff;
  text-align: left;
}
.basket-watch__icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
}
.basket-watch svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}
.basket-watch span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.basket-watch b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.basket-watch small {
  color: #777b86;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}
.basket-watch em {
  flex: none;
  color: var(--purple);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.basket-list {
  display: grid;
  gap: 8px;
}
.basket-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.basket-item.on { border-color: rgba(91,53,255,.55); }
.basket-item__check {
  flex: none;
  margin-top: 11px;
}
.basket-item__thumb {
  flex: none;
  width: 44px;
  height: 44px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f7;
}
.basket-item__main {
  flex: 1;
  min-width: 0;
}
.basket-item__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.basket-item__top b {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}
.basket-item__x {
  flex: none;
  width: 28px;
  height: 28px;
  color: #a0a3aa;
  font-size: 22px;
  line-height: 1;
}
.basket-item__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 7px;
}
.basket-item__price strong {
  color: #12b886;
  font-size: 17px;
  font-weight: 900;
}
.basket-item__price span {
  color: #8b8f98;
  font-size: 12px;
  font-weight: 800;
}
.basket-item__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
.basket-item__bottom small {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #777b86;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stepper {
  flex: none;
  height: 32px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f5f7;
}
.stepper button {
  width: 32px;
  height: 32px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}
.stepper b {
  min-width: 28px;
  color: var(--ink);
  font-size: 14px;
  text-align: center;
  font-weight: 900;
}
.cta {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.confirm {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.confirm[hidden] { display: none; }
.confirm__dim {
  position: absolute;
  inset: 0;
  background: rgba(16,18,22,.44);
}
.confirm__box {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 32px), 398px);
  margin: 0 16px calc(var(--safe-b) + 16px);
  padding: 20px 16px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17,17,20,.18);
}
.confirm__box h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
}
.confirm__box p {
  margin: 8px 0 18px;
  color: #777b86;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}
.confirm__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.confirm__cancel,
.confirm__danger {
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}
.confirm__cancel {
  background: #f5f5f7;
  color: var(--ink);
}
.confirm__danger {
  background: #ff4048;
  color: #fff;
}

.fresh-sheet {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.fresh-sheet[hidden] { display: none; }
.fresh-sheet__dim {
  position: absolute;
  inset: 0;
  background: rgba(16,18,22,.48);
}
.fresh-sheet__box {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 92dvh;
  overflow: auto;
  padding: 16px 16px calc(24px + var(--safe-b));
  border-radius: 16px 16px 0 0;
  background: #fff;
}
.fresh-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e6ea;
}
.fresh-head__handle {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: #d7dce2;
}
.fresh-head__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fresh-head h2 {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}
.fresh-head__x {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e6ea;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
}
.fresh-head__x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.fresh-head p {
  margin: 8px 0 0;
  color: #68707a;
  font-size: 13px;
  font-weight: 800;
}
.fresh-list {
  display: grid;
  gap: 8px;
  padding-top: 14px;
}
.fresh-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}
.fresh-row__bar {
  flex: none;
  width: 4px;
  height: 42px;
  border-radius: 2px;
  background: #96969d;
}
.fresh-row__bar.down { background: var(--red); }
.fresh-row__bar.up { background: #2e8d54; }
.fresh-row__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}
.fresh-row__body b {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fresh-row__body small {
  overflow: hidden;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fresh-row__price {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 6px;
}
.fresh-row__price strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
}
.fresh-row__price em {
  color: #96969d;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.fresh-row__price em.down { color: var(--red); }
.fresh-row__price em.up { color: #2e8d54; }

.trend-sheet {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.trend-sheet[hidden] { display: none; }
.trend-sheet__dim {
  position: absolute;
  inset: 0;
  background: rgba(16,18,22,.48);
}
.trend-sheet__box {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 92dvh;
  overflow: auto;
  padding: 0 20px calc(20px + var(--safe-b));
  border-radius: 16px 16px 0 0;
  background: #f4f5f7;
}
.trend-head {
  position: relative;
  padding-top: 8px;
}
.trend-head__handle {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: #d7dce2;
}
.trend-head__x {
  position: absolute;
  right: 0;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e6ea;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
}
.trend-head__x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.trend-head h2 {
  max-width: calc(100% - 46px);
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}
.trend-head p {
  margin: 2px 0 10px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}
.trend-now {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.trend-now strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}
.trend-now span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}
.trend-now span.down { color: #1677ff; }
.trend-now span.up { color: #dc2626; }
.trend-loading {
  width: 22px;
  height: 22px;
  display: block;
  margin: 49px auto;
  border: 2.5px solid #d7dce2;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.trend-fail {
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 800;
}
.trend-chart {
  width: 100%;
  height: 120px;
  display: block;
  overflow: visible;
}
.trend-chart__fill { fill: rgba(22,119,255,.08); }
.trend-chart__line {
  fill: none;
  stroke: #1677ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-chart circle { fill: #1677ff; }
.trend-chart circle.inner { fill: #fff; }
.trend-chart text {
  fill: #6b7280;
  font-size: 11px;
  font-weight: 800;
  text-anchor: middle;
}
.trend-chart text.label {
  fill: var(--dim);
  font-size: 10.5px;
}
.trend-verdict {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.trend-meta,
.trend-source {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-line;
}
.trend-source { margin-top: 4px; }

.lucky-sheet {
  z-index: 70;
}
.lucky-sheet__dim {
  position: absolute;
  inset: 0;
  background: rgba(16,18,22,.42);
}
.lucky-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 8px 0 calc(6px + var(--safe-b));
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -12px 34px rgba(0,0,0,.18);
}
.lucky-card__handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #d8dee7;
}
.lucky-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px;
}
.lucky-card__head b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}
.lucky-card__head span {
  color: #777b86;
  font-size: 12px;
  font-weight: 800;
}
.lucky-card__ticket {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 0 16px;
  transition: transform .18s ease-out;
  touch-action: pan-y;
}
.lucky-card.is-touching .lucky-card__ticket { transition: none; }
.lucky-card__photo {
  position: relative;
  height: 194px;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f5f9;
}
.lucky-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lucky-card__photo em {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 56px;
}
.lucky-card__photo i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}
.lucky-card__photo i.is-urgent {
  background: rgba(220,38,38,.9);
}
.lucky-card__ticket strong {
  overflow: hidden;
  color: #4a270c;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lucky-card__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 8px;
}
.lucky-card__dots button {
  width: 5px;
  height: 5px;
  border-radius: 12px;
  background: #d8dee7;
  transition: width .18s, background .18s;
}
.lucky-card__dots button.on {
  width: 16px;
  background: #1677ff;
}
.lucky-card__close {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  color: #777b86;
  font-size: 14px;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bot) + var(--safe-b) + 18px);
  z-index: 120;
  transform: translate(-50%, 12px);
  max-width: min(90vw, 398px);
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(17,17,17,.92);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  font-size: 13px;
  font-weight: 800;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.jjr-drawer {
  position: fixed;
  inset: 0;
  z-index: 240;
  color: var(--ink);
  font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
}
html.jjr-lock, body.jjr-lock { overflow: hidden; }
.jjr-drawer[hidden] { display: none; }
.jjr-drawer a { color: inherit; text-decoration: none; }
.jjr-drawer__dim {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 20, .38);
  backdrop-filter: blur(2px); touch-action: none; }
.jjr-drawer__box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 390px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -18px 0 44px rgba(17, 17, 20, .18);
}
.jjr-drawer__head {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid var(--line);
}
.jjr-drawer__head b {
  flex: 1;
  font-size: 19px;
  font-weight: 900;
}
.jjr-drawer__x {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--panel);
  color: #6f727a;
  font-size: 25px;
  line-height: 1;
}
.jjr-drawer__scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px; overscroll-behavior: contain; touch-action: pan-y; }
.jjr-drawer-member {
  margin: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.jjr-drawer-member__card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
}
.jjr-drawer-member__card::before {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #f5f5f7 url('/home/logo.png') center / 32px 32px no-repeat;
}
.jjr-drawer-member__card b {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}
.jjr-drawer-member__card em {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.jjr-drawer-member__card strong {
  color: var(--purple);
  font-size: 18px;
  font-weight: 900;
}
.jjr-drawer-login {
  min-width: 72px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
}
.jjr-drawer-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.jjr-drawer-shortcuts a {
  min-height: 62px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 10px 4px;
  text-align: center;
}
.jjr-drawer-shortcuts a + a { border-left: 1px solid var(--line); }
.jjr-drawer-shortcuts b { font-size: 13px; font-weight: 900; }
.jjr-drawer-shortcuts small { color: var(--dim); font-size: 11px; font-weight: 800; }
.jjr-drawer__direct {
  min-height: 54px;
  display: flex;
  align-items: center;
  margin: 0 16px 10px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--panel);
  font-size: 15px;
  font-weight: 900;
}
.jjr-drawer__direct::after,
.jjr-drawer__wiki a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
}
.jjr-drawer__group[hidden] { display: none; }
.jjr-drawer__wiki {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 16px;
}
.jjr-drawer__wiki-pair { display: contents; }
.jjr-drawer__wiki a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}
.jjr-drawer__wiki a.jjr-drawer__map {
  grid-column: 1 / -1;
  min-height: 54px;
  justify-content: center;
  border-color: transparent;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
}
.jjr-drawer__wiki a.jjr-drawer__map::after { display: none; }
.jjr-drawer__download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 8px 16px max(18px, env(safe-area-inset-bottom, 0px));
  padding: 18px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.jjr-drawer__download-copy b {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}
.jjr-drawer__download-copy small {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}
.jjr-drawer__download-qr {
  width: 156px;
  height: 156px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  image-rendering: pixelated;
}
.jjr-confirm {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 20, .36);
  font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
}
.jjr-confirm__box {
  width: min(100%, 332px);
  padding: 22px 18px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 17, 20, .18);
  text-align: center;
}
.jjr-confirm__box b { display: block; font-size: 18px; font-weight: 900; }
.jjr-confirm__box p { margin: 8px 0 18px; color: var(--dim); font-size: 13px; font-weight: 800; }
.jjr-confirm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jjr-confirm__actions button {
  height: 44px;
  border-radius: 14px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 900;
}
.jjr-confirm__actions button:last-child { background: var(--ink); color: #fff; }

@media (min-width: 760px) {
  html, body { background: #fff; }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #fff;
  }
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #fff;
    pointer-events: none;
  }
  .app {
    width: 430px;
    min-height: calc(100dvh - 44px);
    margin: 22px auto;
    overflow: clip;
    border: 1px solid rgba(17,17,20,.08);
    border-radius: 34px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.65), 0 22px 62px rgba(35,38,42,.18);
  }
  .shop-topbar {
    top: 22px;
    border-radius: 34px 34px 0 0;
  }
  .botnav {
    left: 50%;
    right: auto;
    width: 387px;
    transform: translateX(-50%);
    bottom: 24px;
  }
  .float-actions {
    right: calc((100vw - 430px) / 2 + 14px);
  }
  .jjr-drawer__box {
    right: calc((100vw - 430px) / 2);
  }
}

@media (min-width: 1100px) {
  .desktop-right-panel {
    position: fixed;
    top: 34px;
    right: max(24px, calc(50% - 463px));
    z-index: 30;
    display: block;
    width: 224px;
    min-height: 0;
    overflow: visible;
  }
  .desktop-right-panel a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 16px 14px 14px;
    color: #18284a;
    text-align: center;
    text-decoration: none;
  }
  .desktop-right-panel__owner {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #6b3f1f;
    border-radius: 15px;
    background: #f7ead6;
    box-shadow: 0 4px 0 #6b3f1f;
  }
  .desktop-right-panel__owner img {
    display: block;
    width: 100%;
    height: 104px;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .desktop-right-panel__owner b {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 9px;
    padding: 7px 8px;
    border-radius: 11px;
    background: rgba(107,63,31,.92);
    color: #fffaf1;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 950;
  }
  .desktop-right-panel__owner strong {
    position: absolute;
    top: 9px;
    left: -7px;
    z-index: 2;
    display: block;
    padding: 8px 13px 8px 15px;
    border: 2px solid #6b3f1f;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #e84b55;
    color: #fffaf1;
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
    box-shadow: 0 4px 0 #6b3f1f, 0 10px 18px rgba(232,75,85,.22);
  }
  .desktop-right-panel__lucky {
    position: relative;
    display: block !important;
    min-height: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    margin-top: 12px;
    padding: 8px 6px 6px !important;
    border: 1px solid #e9e9ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(17, 17, 20, .10);
    text-align: left !important;
  }
  .desktop-right-panel__lucky[hidden] { display: none !important; }
  .desktop-right-panel__lucky-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-top: 0;
    overflow: visible;
  }
  .desktop-right-panel__lucky-title {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0 0 8px;
    object-fit: contain;
    object-position: center;
  }
  .desktop-right-panel__lucky-item {
    position: relative;
    display: block;
    flex: none;
    min-width: 0;
    padding: 0 0 10px !important;
    border: 1px solid #ece8df;
    border-radius: 14px;
    overflow: hidden;
    background: #fffdf8;
    color: #25252a !important;
    text-align: left !important;
    box-shadow: 0 4px 12px rgba(17, 17, 20, .08);
  }
  .desktop-right-panel__lucky-item:last-child { padding-bottom: 10px !important; border-bottom: 1px solid #ece8df; }
  .desktop-right-panel__lucky-item img,
  .desktop-right-panel__lucky-item i {
    flex: none;
    width: 100%;
    height: 216px;
    padding: 0;
    border-radius: 0;
    object-fit: contain;
    background: #f7f2e8;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    font-style: normal;
  }
  .desktop-right-panel__lucky-item b {
    display: -webkit-box;
    flex: none;
    min-width: 0;
    margin: 10px 10px 0;
    overflow: hidden;
    color: #25252a;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .desktop-right-panel__lucky-item small {
    position: absolute;
    right: -6px;
    top: 10px;
    z-index: 2;
    min-width: 80px;
    padding: 7px 13px 7px 15px;
    border-radius: 999px 0 0 999px;
    background: #ef404b;
    color: #fff;
    font-size: 12.5px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(239, 64, 75, .28);
  }
  .desktop-right-panel__lucky-item small::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    border-style: solid;
    border-width: 6px 6px 0 0;
    border-color: #9f1f28 transparent transparent transparent;
  }
  .desktop-left-panel {
    position: fixed;
    top: 34px;
    bottom: 34px;
    left: max(24px, calc(50% - 463px));
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 224px;
  }
  .desktop-left-panel__brand {
    display: block; width: 100%; height: 68px; margin: 0 0 20px;
    overflow: hidden; border-radius: 14px; text-decoration: none;
  }
  .desktop-left-panel__brand img {
    display: block; width: 100%; height: 68px; object-fit: fill;
  }
  .desktop-left-panel__nav { display: grid; gap: 4px; }
  .desktop-left-panel__nav a {
    display: flex; align-items: center; gap: 11px; min-height: 46px;
    padding: 0 14px; border: 1px solid #e6e8f0; border-radius: 15px; color: #18284a;
    background: #fff; font-size: 14px; font-weight: 900; text-decoration: none;
    box-shadow: 0 3px 0 rgba(24,40,74,.08);
  }
  .desktop-left-panel__nav a:hover { transform: translateY(-1px); border-color: #b9c9ee; }
  .desktop-left-panel__nav a.is-active { border-color: #ffc928; background: #fff8d9; color: #18284a; box-shadow: 0 3px 0 #ffc928; }
  .desktop-left-panel__nav a:nth-child(2) svg { color: #f04b52; }
  .desktop-left-panel__nav a:nth-child(3) svg { color: #7b50e8; }
  .desktop-left-panel__nav a:nth-child(4) svg { color: #16a66b; }
  .desktop-left-panel__nav a:nth-child(5) svg { color: #2d82e8; }
  .desktop-left-panel__nav svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .desktop-left-panel__invite {
    display: block; margin: 0; overflow: hidden; border: 2px solid #18284a;
    border-radius: 18px; background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    color: #18284a; text-decoration: none;
    box-shadow: 0 6px 0 #18284a, 0 18px 34px rgba(24,40,74,.18);
    transition: transform .16s ease, box-shadow .16s ease;
  }
  .desktop-left-panel__invite:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #18284a, 0 24px 42px rgba(24,40,74,.22);
  }
  .desktop-left-panel__invite img {
    display: block;
    width: 100%;
    height: 108px;
    object-fit: cover;
    object-position: 50% 50%; background: #eef6ff;
  }
  .desktop-left-panel__invite-kicker,
  .desktop-left-panel__invite strong,
  .desktop-left-panel__invite small,
  .desktop-left-panel__invite-action { display: block; }
  .desktop-left-panel__invite-kicker { margin: 10px 12px 0; color: #e84b55; font-size: 11px; font-weight: 950; }
  .desktop-left-panel__invite strong {
    margin: 2px 12px 0; font-size: 16px; line-height: 1.18; font-weight: 950;
  }
  .desktop-left-panel__invite strong b {
    color: #e84b55; font-size: 22px;
  }
  .desktop-left-panel__invite small {
    margin: 5px 12px 0; color: #77747a; font-size: 11px; font-weight: 700;
  }
  .desktop-left-panel__app-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: auto 0 12px;
    padding: 16px 14px 14px;
    border: 2px solid #6b3f1f;
    border-radius: 18px;
    background: #fffaf1;
    color: #18284a;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 0 #6b3f1f, 0 10px 18px rgba(107,63,31,.12);
  }
  .desktop-left-panel__app-download img {
    flex: none;
    width: 118px;
    height: 118px;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(107,63,31,.16);
  }
  .desktop-left-panel__app-download b,
  .desktop-left-panel__app-download small,
  .desktop-left-panel__app-download span {
    display: block;
  }
  .desktop-left-panel__app-download b {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 950;
  }
  .desktop-left-panel__app-download small {
    color: #6f727a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    word-break: keep-all;
  }
  .desktop-left-panel__app-download span {
    width: 100%;
    margin-top: 2px;
    padding: 11px 10px;
    border: 2px solid #6b3f1f;
    border-radius: 14px;
    background: #67b84d;
    color: #fffaf1;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 4px 0 #6b3f1f;
  }
  .desktop-left-panel__invite-action {
    margin: 10px 12px 13px; padding: 11px 10px; border-radius: 999px;
    background: #18284a;
    border: 1px solid rgba(255,255,255,.16);
    color: #fff; font-size: 13px; font-weight: 950; text-align: center;
    box-shadow: 0 4px 0 #0f1d38, 0 10px 18px rgba(24,40,74,.2);
  }
  .desktop-left-panel__invite-action i {
    color: #e84b55; font-size: 18px; font-style: normal; vertical-align: -1px;
  }
}

/* ── 마트 입점 3개월 무료 팝업 ─────────────────────────────
   행사(2026-09-01~12-30) 전용. 우측 패널의 '마트 입점' 카드와 같은
   갈색·크림 결을 쓴다 — 보라색 앱 UI 와 섞이면 광고가 아니라 기능처럼
   읽혀서 오히려 안 눌린다. */
.promo {
  position: fixed;
  inset: 0;
  z-index: 80;            /* 푼럭키(60) 보다 위 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo[hidden] { display: none; }
.promo__dim { position: absolute; inset: 0; background: rgba(16,18,22,.55); }
.promo__card {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  max-height: 90dvh;
  overflow: auto;
  border: 2px solid #6b3f1f;
  border-radius: 20px;
  background: #fffaf1;
  box-shadow: 0 8px 0 #6b3f1f, 0 24px 48px rgba(17,17,20,.32);
  animation: promo-in .28s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes promo-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .promo__card { animation: none; } }

.promo__x {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,250,241,.92);
  color: #6b3f1f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.promo__visual { position: relative; overflow: hidden; border-radius: 18px 18px 0 0; }
.promo__visual img { display: block; width: 100%; height: 150px; object-fit: cover; }
.promo__ribbon {
  position: absolute;
  top: 12px; left: -6px;
  padding: 7px 13px 7px 15px;
  border: 2px solid #6b3f1f;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: #e84b55;
  color: #fffaf1;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 4px 0 #6b3f1f;
}
.promo__body { padding: 16px 18px 18px; text-align: center; }
.promo__eyebrow { margin: 0 0 4px; color: #9a7a5c; font-size: 13px; font-weight: 800; }
.promo__title { margin: 0 0 10px; color: #3d2410; font-size: 25px; line-height: 1.25; font-weight: 950; }
.promo__title b { color: #e84b55; }
.promo__desc { margin: 0 0 16px; color: #6b5540; font-size: 14px; line-height: 1.55; }
.promo__desc b { color: #3d2410; font-weight: 900; }
.promo__cta {
  display: block;
  padding: 14px 16px;
  border: 2px solid #6b3f1f;
  border-radius: 14px;
  background: #e84b55;
  color: #fffaf1;
  font-size: 16.5px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 4px 0 #6b3f1f;
}
.promo__cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #6b3f1f; }
.promo__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.promo__foot button {
  border: 0;
  background: none;
  color: #9a7a5c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* 이 팝업이 떠 있는 동안 푼럭키는 가린다 — 푼럭키는 자료를 받아 온 뒤
   뒤늦게 뜨기 때문에, 미리 숨기는 방식으로는 못 막는다. */
body.promo-open .lucky-sheet { display: none !important; }
