*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.num, .deal-price, .orig-price, .deal-rate, .kpi-val, .spark-badge, .sidebar-metric {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.ico-sm { width: 14px; height: 14px; }
.ico-xs { width: 12px; height: 12px; }
.ico-lg { width: 18px; height: 18px; }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.main-content {
  flex: 1;
  padding-top: 20px;
  padding-bottom: 44px;
}

.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: 20px;
  align-items: start;
}

.layout-main { min-width: 0; }
.layout-sidebar {
  min-width: 0;
  position: sticky;
  top: 128px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.header-top {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1px;
}

.header-search {
  flex: 1;
  min-width: 0;
  max-width: 440px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.header-search:focus-within {
  border-color: var(--brand-primary);
  background: var(--bg-surface);
}
.header-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--text-primary);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { outline: none; }
.search-btn {
  border: none;
  background: none;
  padding: 2px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.search-btn:hover { color: var(--brand-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.coupang-nav-link,
.coupang-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.coupang-nav-link:hover,
.coupang-nav-link.active,
.coupang-nav-pill:hover,
.coupang-nav-pill.active {
  border-color: #f43f5e;
  background: var(--deal-soft);
}
.text-gradient-flow {
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #f43f5e, #f97316);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  animation: gradient-flow 4s linear infinite;
}
@keyframes gradient-flow {
  to { background-position: 200% center; }
}

.header-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.header-pill-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-pulse);
  display: inline-block;
  flex-shrink: 0;
}
.dot-pulse {
  animation: hdpPulse 1.8s infinite ease-in-out;
}
@keyframes hdpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.25); }
}

.bm-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 11px;
  font-weight: 700;
}
.menu-dropdown { position: relative; }
.header-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 196px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
}
.more-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.more-item:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
}
.more-item .ico {
  color: var(--text-muted);
  flex-shrink: 0;
}
.more-item:hover .ico {
  color: var(--brand-primary);
}
.menu-bm-badge {
  margin-left: auto;
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}
.menu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 6px;
}
.header-subbar-wrap {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.header-subbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
  min-width: 0;
}
.category-nav::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cat-pill:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
}
.cat-pill.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}
.inline-filter-triggers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.filter-pop-wrap { position: relative; }
.filter-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.filter-trigger-btn:hover,
.filter-trigger-btn.has-active {
  border-color: var(--brand-primary);
  color: var(--brand-soft-text);
  background: var(--brand-soft);
}
.filter-trigger-count {
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
}
.filter-trigger-btn.has-active .filter-trigger-count {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.filter-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  max-width: calc(100vw - 24px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 14px;
  z-index: 55;
}
.filter-popover-unified {
  width: 376px;
  max-height: 78vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filter-pop-section {
  display: flex;
  flex-direction: column;
}
.filter-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.filter-pop-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.filter-pop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-link-btn {
  border: none;
  background: none;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
}
.text-link-btn:hover { text-decoration: underline; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.chk-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.chk-chip:hover { border-color: var(--border-strong); }
.chk-chip input { accent-color: var(--brand-primary); margin: 0; }

.kw-filter-row {
  display: flex;
  gap: 6px;
}
.kw-filter-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  font-size: 13px;
}
.primary-sm-btn {
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.primary-sm-btn:hover { background: var(--brand-primary-hover); }
.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.active-chip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 2px;
}
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 11.5px;
  font-weight: 700;
}
.active-chip button {
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  color: inherit;
}
.mobile-live-ticker {
  display: none;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: #111827;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 32px);
}
[data-theme="dark"] .toast {
  background: #F1F5F9;
  color: #0F172A;
}

.ftc-disclosure-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}
.ftc-disclosure-bar .ico { color: var(--brand-primary); }
.ftc-disclosure-inline {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}
.ftc-disclosure-inline .ico { color: var(--brand-primary); margin-top: 2px; }
.highlight-section {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background: var(--bg-kpi-mint);
  box-shadow: var(--shadow-sm);
}
.highlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.highlight-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.highlight-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.highlight-badge {
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--drop-good-text);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.highlight-more-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-soft-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.highlight-more-link:hover { text-decoration: underline; }

.highlight-track {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  padding: 2px 0 4px;
}
.js-carousel-track a,
.js-carousel-track img {
  -webkit-user-drag: none;
}
.highlight-track::-webkit-scrollbar { display: none; }
.highlight-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.highlight-card {
  flex: 0 0 calc((100% - 24px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.highlight-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.hl-thumb {
  position: relative;
  width: 100%;
  height: 108px;
  background: var(--bg-thumb-frame);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hl-thumb-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.hl-rate-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--deal-price);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.hl-body {
  min-width: 0;
  flex: 1;
  padding: 11px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hl-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hl-orig {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  white-space: nowrap;
}
.hl-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hl-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid var(--border-subtle);
}
.hl-price {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--deal-price);
  white-space: nowrap;
}
.hl-spark {
  flex-shrink: 0;
  width: 68px;
  height: 22px;
  overflow: hidden;
}
.hl-spark .spark-svg-wrap {
  width: 68px;
  height: 22px;
  overflow: hidden;
}
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.feed-head-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.feed-head-left h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.feed-count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.feed-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-pill-group {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.sort-pill-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.sort-pill-btn.active {
  border: 1px solid var(--brand-primary);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
}

.sort-select-mobile {
  display: none;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.view-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.view-btn {
  width: 30px;
  height: 28px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view-btn.active {
  background: var(--brand-soft);
  color: var(--brand-soft-text);
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-tag-food    { background: var(--pill-food-bg); color: var(--pill-food-fg); }
.cat-tag-tech    { background: var(--pill-tech-bg); color: var(--pill-tech-fg); }
.cat-tag-living  { background: var(--pill-living-bg); color: var(--pill-living-fg); }
.cat-tag-fashion { background: var(--pill-fashion-bg); color: var(--pill-fashion-fg); }
.cat-tag-beauty  { background: var(--pill-beauty-bg); color: var(--pill-beauty-fg); }
.cat-tag-voucher { background: var(--pill-voucher-bg); color: var(--pill-voucher-fg); }
.cat-tag-game    { background: var(--pill-game-bg); color: var(--pill-game-fg); }
.cat-tag-global  { background: var(--pill-global-bg); color: var(--pill-global-fg); }
.cat-tag-etc     { background: var(--pill-etc-bg); color: var(--pill-etc-fg); }

.mall-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.mall-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ship-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-low {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--drop-good-soft);
  color: var(--drop-good-text);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.comm-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.also-seen-pill {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 700;
}

.brand-mini-ico {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}
.mall-pill.is-compact {
  padding: 2px 7px;
  font-size: 11px;
}
.comm-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comm-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.comm-logo-link:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.comm-logo-img {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}
.comm-etc-pill {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.deal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deal-list.grid-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.deal-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 108px;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease, box-shadow 0.16s ease;
}
.deal-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.deal-card:hover .deal-title,
.deal-card:hover .deal-title a {
  color: var(--brand-primary);
}

.deal-thumb {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-md);
  background: var(--bg-thumb-frame);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.deal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.deal-card:hover .deal-thumb img {
  transform: scale(1.05);
}
.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.deal-body { min-width: 0; }
.deal-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.deal-meta-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.deal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-title a:hover { text-decoration: underline; }

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.deal-rate {
  font-size: 16px;
  font-weight: 800;
  color: var(--deal-price);
}
.deal-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}
.deal-price.is-unknown {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}
.orig-price {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.deal-meta-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.deal-spark-col {
  width: 108px;
  padding-left: 11px;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.spark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 21px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.tone-good .spark-badge,
.spark-badge.tone-good { background: var(--drop-good-soft); color: var(--drop-good-text); }
.tone-up .spark-badge,
.spark-badge.tone-up { background: var(--trend-up-soft); color: var(--trend-up-text); }
.tone-muted .spark-badge,
.spark-badge.tone-muted { background: var(--bg-surface-subtle); color: var(--text-secondary); }

.spark-svg-wrap {
  width: 96px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.spark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tone-good .spark-svg { color: var(--drop-good); }
.tone-up .spark-svg { color: var(--trend-up); }
.tone-flat .spark-svg { color: var(--text-muted); opacity: 0.65; }
.tone-muted .spark-svg { color: var(--text-muted); }

.deal-list.grid-mode .deal-card {
  grid-template-columns: 74px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.deal-list.grid-mode .deal-thumb {
  width: 74px;
  height: 74px;
}
.deal-list.grid-mode .deal-spark-col {
  width: 78px;
  padding-left: 8px;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}
.deal-list.grid-mode .deal-spark-col .spark-svg-wrap {
  width: 68px;
  height: 22px;
}
.sidebar-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
}
.sidebar-card-hero {
  padding: 0;
  border: 1.5px solid var(--border-accent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sidebar-card-sub {
  padding: 13px;
  background: var(--bg-surface-subtle);
  box-shadow: none;
}
.sidebar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.sidebar-card-head.is-hero {
  padding: 12px 15px;
  margin-bottom: 0;
  background: var(--bg-kpi-mint);
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-card-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sidebar-card-title.is-sub {
  font-size: 13.5px;
  font-weight: 700;
}
.sidebar-card-title.is-lite {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.sidebar-live-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--drop-good-soft);
  color: var(--drop-good-text);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.sidebar-sub-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.sidebar-viewing-wrap {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.mobile-tab-body .sidebar-viewing-wrap {
  padding: 0;
}
.sidebar-spot-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: var(--radius-md);
  background: var(--bg-kpi-mint);
  border: 1px solid var(--border-accent);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.sidebar-spot-card:hover {
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}
.sidebar-spot-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.sidebar-spot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.sidebar-spot-rank {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}
.sidebar-spot-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-spot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sidebar-spot-mall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-soft-text);
}
.sidebar-spot-metric {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--drop-good-text);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
.sidebar-spot-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-spot-card:hover .sidebar-spot-title {
  color: var(--brand-primary);
}
.sidebar-spot-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.sidebar-spot-rate {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deal-price);
}
.sidebar-spot-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.sidebar-rank-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar-rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.sidebar-rank-num {
  width: 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}
.sidebar-rank-num.top3 { color: var(--brand-primary); }
.sidebar-rank-thumb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}
.sidebar-rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-rank-info {
  min-width: 0;
  flex: 1;
}
.sidebar-rank-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-rank-row:hover .sidebar-rank-title {
  color: var(--brand-primary);
  text-decoration: underline;
}
.sidebar-rank-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.sidebar-rank-price {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--deal-price);
}
.sidebar-metric {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.sidebar-bought-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sidebar-bought-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 9px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  min-width: 0;
  transition: border-color 0.15s ease;
}
.sidebar-bought-tile:hover {
  border-color: var(--border-accent);
}
.sidebar-bought-tile-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sidebar-mini-thumb {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}
.sidebar-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-bought-tile-nums {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sidebar-bought-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--deal-price);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-bought-cnt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-bought-title {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-bought-tile:hover .sidebar-bought-title {
  color: var(--brand-primary);
  text-decoration: underline;
}

.sidebar-comments-lite {
  padding: 2px 4px;
}
.sidebar-cmt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 1px dashed var(--border-strong);
}
.sidebar-cmt-timeline {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar-cmt-item {
  display: block;
  padding-left: 10px;
  border-left: 2px solid var(--border-strong);
}
.sidebar-cmt-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-cmt-item:hover .sidebar-cmt-text {
  color: var(--brand-primary);
  text-decoration: underline;
}
.sidebar-cmt-meta {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
}
.sidebar-cmt-deal {
  max-width: 170px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-live-panel { display: none; }
.drops-head-block {
  margin-bottom: 22px;
}
.drops-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.drops-hero-top h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.drops-hero-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.coupang-partners-note {
  margin: 0 0 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.kc-events-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kc-events-strip {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 7px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  cursor: grab;
  user-select: none;
}
.kc-events-strip::-webkit-scrollbar { display: none; }
.kc-events-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.kc-event-slide-item { scroll-snap-align: none; }
.kc-event-slide-item:nth-child(odd),
.kc-event-slide-item[data-carousel-clone-start="true"] { scroll-snap-align: start; }

.kc-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kc-event-card {
  display: block;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-surface);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.kc-event-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.kc-event-card:hover .kc-event-title {
  text-decoration: underline;
  text-decoration-color: var(--brand-primary);
  text-underline-offset: 3px;
}
.kc-event-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-thumb-frame);
  display: block;
}
.kc-event-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}
.kc-event-mall {
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
}
.kc-event-title {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.kc-event-until {
  color: var(--text-muted);
  font-size: 13px;
}

.kc-slider-nav {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.kc-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.kc-nav-btn:hover:not(:disabled) {
  background: var(--brand-soft);
  border-color: var(--brand-primary);
  color: var(--brand-soft-text);
}
.kc-nav-btn:active:not(:disabled) { transform: scale(0.9); }
.kc-nav-btn:disabled {
  opacity: 0.35;
  box-shadow: none;
  cursor: default;
}

.kc-nav-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}
.kc-nav-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
}
.kc-nav-dot::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}
.kc-nav-dot:hover::before { background: var(--text-muted); }
.kc-nav-dot.dotOn::before {
  width: 15.6px;
  background: var(--brand-primary);
}

.kc-events-more {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-surface);
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.kc-events-more:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.kc-events-more:hover svg {
  transform: translateX(3px);
}
.kc-events-more svg {
  transition: transform 0.18s ease;
}
.kc-events-updated {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}

.drops-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.drops-pills-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.seg-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.seg-pill.active {
  border: 1px solid var(--brand-primary);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
}
.seg-pill.is-rate.active {
  border: 1px solid var(--deal-price);
  background: var(--deal-soft);
  color: var(--deal-soft-text);
}

.drops-search-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.drops-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.drops-search-input-wrap input {
  border: none;
  background: transparent;
  font-size: 12.5px;
  width: 170px;
}
.drops-search-input-wrap input:focus { outline: none; }
.cat-select {
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.coupang-showcase-sheet {
  padding: 20px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
}
.showcase-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.showcase-sheet-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.coupang-airy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 6px;
}
.coupang-airy-grid.list-mode {
  grid-template-columns: 1fr;
  row-gap: 0;
}
.coupang-airy-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease;
}
.coupang-airy-item:hover { background: var(--bg-surface-subtle); }
.coupang-airy-grid.list-mode .coupang-airy-item {
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  margin: 0;
  padding: 14px 6px;
}
.coupang-airy-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.coupang-airy-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.coupang-airy-body { min-width: 0; flex: 1; }
.coupang-airy-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coupang-airy-title a:hover { text-decoration: underline; }
.coupang-airy-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.rocket-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--rocket-blue);
}
.coupang-airy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.coupang-airy-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.coupang-airy-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.circle-ghost-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.circle-ghost-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
  overflow: hidden;
}
.detail-breadcrumb a,
.detail-breadcrumb svg {
  flex-shrink: 0;
}
.detail-breadcrumb a:hover { color: var(--brand-primary); text-decoration: underline; }
.detail-breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  margin-bottom: 14px;
  scroll-margin-top: 132px;
}
.detail-hero-card {
  border: 1.5px solid var(--border-accent);
  box-shadow: var(--shadow-sm);
}
.detail-primary-card {
  padding: 20px;
}
.detail-secondary-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-subtle);
  box-shadow: none;
}
.detail-secondary-card .detail-section-title {
  font-size: 15px;
}
.detail-secondary-card .review-item,
.detail-secondary-card .comment-item,
.detail-secondary-card .comment-form {
  background: var(--bg-surface);
}
.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.detail-section-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 10px;
  align-items: start;
}
.detail-hero-thumb {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 164px;
  height: 164px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.detail-hero-summary {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.detail-hero-actions {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
.detail-hero-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.detail-hero-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.detail-hero-time {
  gap: 0;
}
.detail-hero-time::before {
  content: "·";
  margin-right: 5px;
  color: var(--border-strong);
}
.detail-hero-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.025em;
}
.detail-verdict-line {
  margin: 0;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-kpi-mint);
  color: var(--drop-good-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  display: inline-block;
}
.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.detail-rate-big {
  font-size: 22px;
  font-weight: 800;
  color: var(--deal-price);
}
.detail-price-big {
  font-size: 27px;
  font-weight: 800;
  color: var(--deal-price);
  letter-spacing: -0.03em;
}
.detail-price-big.is-unknown {
  font-size: 20px;
  color: var(--text-secondary);
}
.detail-orig-big {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
}
.detail-verdict-line + .detail-cta-row {
  margin-top: 12px;
}
.detail-coupang-notice-wrap {
  margin-top: 12px;
}
.buy-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  min-width: 170px;
  transition: background-color 0.15s ease;
}
.buy-cta-btn:hover { background: var(--brand-primary-hover); }

.secondary-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 42px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.secondary-pill-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
}
.secondary-pill-btn.active {
  border-color: var(--brand-primary);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
}

.detail-sub-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.detail-sub-links-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 600;
  border: none;
  background: none;
  padding: 0;
}
.detail-text-link:hover { color: var(--brand-primary); text-decoration: underline; }
.detail-gallery { margin-bottom: 14px; }
.detail-carousel { width: 100%; }
.carousel-stage {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  max-height: 460px;
}
.carousel-slide {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.carousel-slide.active { display: flex; }
.carousel-slide img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
}
.carousel-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.carousel-thumb-btn {
  width: 60px;
  height: 60px;
  padding: 3px;
  border-radius: 9px;
  border: 2px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
  flex-shrink: 0;
  overflow: hidden;
}
.carousel-thumb-btn.active { border-color: var(--brand-primary); }
.carousel-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.detail-img-link {
  display: flex;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-thumb-frame);
}
.detail-img-link img {
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}
.detail-img-link.is-thumb-only img { max-height: 180px; }

.info-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  white-space: pre-line;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tag-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.tag-chip:hover {
  background: var(--brand-soft);
  color: var(--brand-soft-text);
}
.cmp-table-wrap { overflow-x: auto; }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.cmp-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.cmp-table th:first-child { border-radius: 8px 0 0 8px; }
.cmp-table th:last-child { border-radius: 0 8px 8px 0; text-align: right; }
.cmp-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.cmp-row-self { background: var(--drop-good-soft); }
.cmp-self-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--drop-good);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
}
.cmp-prod-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cmp-prod-link { font-weight: 600; }
.cmp-prod-link:hover { color: var(--brand-primary); text-decoration: underline; }
.match-pill {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.match-pill.is-exact { background: var(--brand-soft); color: var(--brand-soft-text); }
.match-pill.is-similar { background: var(--trend-up-soft); color: var(--trend-up-text); }
.cmp-diff-note {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.cmp-price {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.cmp-price-best {
  color: var(--drop-good-text);
  font-weight: 800;
}
.price-summary-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.flow-match-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.flow-match-title { font-size: 14px; font-weight: 700; }
.flow-diff-note { font-size: 12px; color: var(--text-muted); }
.flow-period-bar {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  flex-wrap: wrap;
}
.flow-period-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.flow-period-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}
.flow-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.flow-summary-card {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.flow-summary-card.is-min {
  background: var(--drop-good-soft);
  border-color: var(--drop-good);
}
.flow-sum-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.flow-summary-card.is-min .flow-sum-label { color: var(--drop-good-text); }
.flow-sum-val {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 800;
}
.flow-sum-val.min { color: var(--drop-good-text); }
.flow-sum-val.max { color: var(--text-primary); }
.flow-sum-val.cur { color: var(--deal-price); }

.chart-wrap {
  position: relative;
  height: 240px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.flow-meta-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}
.naver-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.similar-section {
  margin-top: 14px;
  margin-bottom: 0;
}
#similarMoreBtn {
  height: 28px;
  padding: 0 11px;
  font-size: 12px;
  border-radius: var(--radius-pill);
}

.review-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.review-item:hover { border-color: var(--border-strong); }
.review-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.review-src {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-weight: 700;
}
.review-title { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.review-desc { font-size: 12.5px; color: var(--text-secondary); }
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.comment-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.comment-item.is-reply {
  margin-left: 22px;
  border-left: 3px solid var(--brand-primary);
}
.comment-item.depth-2 { margin-left: 38px; }
.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.comment-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}
.comment-author-badge {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 10.5px;
  font-weight: 700;
}
.comment-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reply-trigger-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-primary);
}
.comment-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.comment-form {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
}
.comment-form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.reply-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 11.5px;
  font-weight: 700;
}
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 13.5px;
  resize: vertical;
}
.comment-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.comment-char-count { font-size: 11.5px; color: var(--text-muted); }
.trust-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}
.trust-accordion summary::-webkit-details-marker { display: none; }
.trust-accordion-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-faq-q { font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.secondary-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
}
.comments-more-btn { width: 100%; margin-bottom: 12px; }

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.load-more-btn {
  width: 100%;
  max-width: 340px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.load-more-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.ad-slot-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 12px;
  text-align: center;
}
.ad-slot-sidebar { min-height: 250px; }
.ad-slot-infeed { min-height: 108px; }
.ad-slot-detail { min-height: 90px; margin-bottom: 16px; }
.ad-slot-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.info-page-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
}
.info-page-card h1 { margin: 0 0 12px; font-size: 22px; font-weight: 800; }
.info-muted, .empty-comment, .filter-hint { font-size: 13px; color: var(--text-muted); }
.empty-box {
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--bg-surface);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  font-size: 13.5px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-box {
  width: 100%;
  max-width: 440px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.modal-box h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  padding: 20px 0 24px;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.footer-brand {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--brand-primary); }
.guide-hub-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-lead {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.guide-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.guide-kpi-box {
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-kpi-mint);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}
.guide-kpi-box strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-primary);
}
.guide-kpi-box span {
  font-size: 12px;
  color: var(--text-secondary);
}
.guide-anchor-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.guide-section {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.guide-section h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}
.policy-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.policy-body p { margin: 0; }
.policy-body strong { color: var(--text-primary); }
.guide-inline-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
}

.review-ext {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}
.review-item:hover .review-ext {
  color: var(--brand-primary);
  transform: translate(2px, -2px);
}
.trust-accordion[open] .trust-chevron {
  transform: rotate(180deg);
}
.trust-chevron {
  transition: transform 0.2s ease;
}

.fab-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 45;
}
.fab-top:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
@media (max-width: 1080px) {
  .layout-2col { grid-template-columns: 1fr; }
  .layout-sidebar { display: none; }
  .mobile-live-ticker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface-subtle);
    font-size: 12px;
  }
  .mobile-ticker-left {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex: 1;
  }
  .mobile-ticker-badge {
    font-weight: 800;
    color: var(--drop-good-text);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-ticker-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
    font-weight: 500;
  }
  .mobile-live-panel {
    display: block;
    margin-top: 22px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
  }
  .mobile-tab-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-subtle);
    margin-bottom: 12px;
  }
  .mobile-tab-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 7px 4px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
  }
  .mobile-tab-btn.active {
    border: 1px solid var(--brand-primary);
    background: var(--brand-soft);
    color: var(--brand-soft-text);
  }
  .mobile-tab-body { display: none; }
  .mobile-tab-body.active { display: block; }
}

@media (max-width: 820px) {
  .coupang-airy-grid { grid-template-columns: 1fr; }
  .header-search { max-width: 240px; }
  .header-pill-btn .pill-label { display: none; }
}

@media (max-width: 767px) {
  .container { padding: 0 14px; }
  .main-content { padding-top: 14px; padding-bottom: 36px; }
  .header-top { height: 54px; gap: 6px; }
  .brand-logo { gap: 7px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 10px; }
  .header-search { display: none; }
  .header-actions { gap: 5px; }
  .coupang-nav-link,
  .coupang-nav-pill { height: 32px; padding: 0 10px; font-size: 11.5px; }
  .header-pill-btn { display: none; }
  .icon-btn { width: 32px; height: 32px; }
  .guide-kpi-row { grid-template-columns: 1fr; }

  .header-subbar { min-height: 44px; gap: 6px; }
  .inline-filter-triggers { display: none; }
  .cat-pill { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .highlight-section {
    padding: 13px 12px;
    margin-bottom: 18px;
  }
  .highlight-badge { display: none; }
  .highlight-title { font-size: 14.5px; }
  .highlight-more-link { font-size: 12px; }
  .highlight-card {
    flex: 0 0 220px;
  }
  .hl-thumb {
    height: 98px;
  }

  .feed-head-left h1 { font-size: 18px; }
  .sort-pill-group { display: none; }
  .sort-select-mobile { display: inline-block; }
  .view-switch { display: none; }

  .deal-list.grid-mode { grid-template-columns: 1fr; }
  .deal-card,
  .deal-list.grid-mode .deal-card {
    grid-template-columns: 76px minmax(0, 1fr) 82px;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 12px;
  }
  .deal-thumb,
  .deal-list.grid-mode .deal-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
  }
  .deal-title { font-size: 13.5px; }
  .deal-price-row { margin-top: 4px; gap: 5px; }
  .deal-rate { font-size: 14px; }
  .deal-price { font-size: 15.5px; }
  .orig-price { font-size: 11px; }
  .deal-meta-stats {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 4px;
    font-size: 11px;
    white-space: nowrap;
  }

  .deal-spark-col,
  .deal-list.grid-mode .deal-spark-col {
    width: 82px;
    padding-left: 8px;
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
  }
  .deal-spark-col .spark-badge,
  .deal-list.grid-mode .deal-spark-col .spark-badge {
    min-width: 0;
    height: 19px;
    padding: 0 6px;
    font-size: 10px;
  }
  .deal-spark-col .spark-svg-wrap,
  .deal-list.grid-mode .deal-spark-col .spark-svg-wrap {
    width: 70px;
    height: 22px;
  }
  .kc-events-strip { grid-auto-columns: 100%; }
  .kc-events-grid { grid-template-columns: 1fr; }
  .drops-hero-top h1 { font-size: 20px; }
  .coupang-showcase-sheet { padding: 16px 14px; }

  .detail-card { padding: 16px; }
  .detail-hero-grid {
    grid-template-columns: 148px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 10px;
  }
  .detail-hero-thumb { width: 148px; height: 148px; }
  .detail-hero-title { font-size: 19px; }
  .detail-price-big { font-size: 24px; }
  .flow-summary-grid { gap: 8px; }
  .flow-sum-val { font-size: 15px; }
}

@media (max-width: 560px) {
  .detail-hero-grid {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 12px;
  }
  .detail-hero-thumb {
    grid-column: 1;
    grid-row: 1;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
  }
  .detail-hero-summary {
    grid-column: 2;
    grid-row: 1;
  }
  .detail-hero-actions {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .detail-hero-meta { margin-bottom: 6px; }
  .detail-hero-title { font-size: 16.5px; line-height: 1.34; }
  .detail-price-box { gap: 7px; margin-top: 8px; }
  .detail-rate-big { font-size: 18px; }
  .detail-price-big { font-size: 22px; }
  .detail-orig-big { font-size: 12.5px; }
  .detail-verdict-line { display: block; font-size: 12px; }
  .detail-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .detail-cta-row .buy-cta-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .detail-cta-row .secondary-pill-btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .deal-card,
  .deal-list.grid-mode .deal-card {
    grid-template-columns: 64px minmax(0, 1fr) 72px;
    gap: 8px;
    padding: 10px 11px;
  }
  .deal-thumb,
  .deal-list.grid-mode .deal-thumb {
    width: 64px;
    height: 64px;
  }
  .deal-meta-stats {
    gap: 7px;
    font-size: 10.5px;
  }
  .deal-meta-stats .ico-xs {
    width: 11px;
    height: 11px;
  }
  .deal-spark-col,
  .deal-list.grid-mode .deal-spark-col {
    width: 72px;
    padding-left: 7px;
  }
  .deal-spark-col .spark-svg-wrap,
  .deal-list.grid-mode .deal-spark-col .spark-svg-wrap {
    width: 62px;
    height: 20px;
  }
  .detail-hero-grid {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 10px;
  }
  .detail-hero-thumb {
    width: 84px;
    height: 84px;
  }
  .detail-hero-title { font-size: 15.5px; }
  .detail-price-big { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.badge-ended {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-hover);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-hub-hero {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.tag-hub-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-hub-hero-head h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}
.tag-hub-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.tag-hub-stats strong { color: var(--text-primary); }

.search-tag-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  background: var(--bg-kpi-mint);
  font-size: 13.5px;
  color: var(--text-primary);
}
.search-tag-link {
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}
.search-tag-link:hover { text-decoration: underline; }
