:root {
  --bg: #fffaf2;
  --surface: #ffffff;
  --ink: #231f20;
  --muted: #746f68;
  --line: #eadfce;
  --gold: #f3a712;
  --red: #cf3f2f;
  --green: #2f7d5b;
  --charcoal: #2f3237;
  --shadow: 0 14px 34px rgba(47, 50, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fffaf2 0%, #fff6e6 55%, #ffffff 100%);
  padding-bottom: 98px;
}

.hero {
  position: relative;
  min-height: 220px;
  margin: 0 0 18px;
  overflow: hidden;
  background: #2d241f;
}

.hero-share {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(35, 31, 32, 0.68);
  color: #fffdf8;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-share svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-share.is-copied svg {
  opacity: 0;
}

.hero-share.is-copied::after {
  position: absolute;
  content: "✓";
  color: #fffdf8;
  font-size: 20px;
  font-weight: 900;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(25, 22, 20, 0.36) 0%, rgba(25, 22, 20, 0.08) 45%, rgba(25, 22, 20, 0.76) 100%),
    linear-gradient(90deg, rgba(25, 22, 20, 0.66) 0%, rgba(25, 22, 20, 0.14) 66%);
}

.hero-overlay {
  position: absolute;
  inset: auto 18px 22px;
  z-index: 1;
  color: #fffdf8;
}

.hero h1 {
  max-width: 310px;
  margin: 7px 0 0;
  font-size: clamp(29px, 8vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline;
  color: #ffe08a;
  text-shadow: 0 2px 14px rgba(243, 167, 18, 0.28);
  white-space: nowrap;
}

.controls,
.ranking-section,
.recommend-section,
.new-products,
.hot-videos,
.deal-events,
.settings-section,
.score-panel {
  padding: 0 16px;
}

.search-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(243, 167, 18, 0.16);
}

.segments {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff2dc;
  scrollbar-width: none;
}

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

.segment {
  flex: 0 0 auto;
  min-width: 78px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.segment.active {
  background: var(--charcoal);
  color: #fffdf8;
  box-shadow: 0 8px 16px rgba(47, 50, 55, 0.16);
}

.chip-row {
  display: flex;
  gap: 8px;
  margin: 12px -16px 0;
  padding: 0 16px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.chip.active {
  border-color: rgba(207, 63, 47, 0.28);
  background: #fff0ee;
  color: var(--red);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 12px;
}

.section-head h2 {
  margin: 3px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf5ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ranking-list,
.recommend-list,
.product-grid,
.video-list,
.deal-list {
  display: grid;
  gap: 12px;
}

.rank-card,
.product-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rank-card {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  padding: 14px;
}

.rank-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #fff0cf;
  color: #9a5d00;
  font-weight: 900;
}

.rank-topline,
.product-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.summary {
  margin: 0;
  color: var(--muted);
}

.brand-mark {
  display: inline-flex;
  width: fit-content;
  max-width: 152px;
  min-height: 26px;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 148px;
  height: 26px;
  object-fit: contain;
}

.brand-mark.has-logo .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-name {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.menu-name {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
}

.menu-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-top: 3px;
}

.price {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.score-badge {
  min-width: 54px;
  padding: 7px 8px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  text-align: center;
}

.score-badge strong {
  font-size: 18px;
}

.score-badge span {
  display: block;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.summary {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.48;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f7f1e8;
  color: #655b50;
  font-size: 11px;
  font-weight: 800;
}

.metric-bars {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 12px;
}

@media (max-width: 390px) {
  .recommend-hero-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .recommend-score {
    width: fit-content;
  }

  .rank-card {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .rank-number {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .score-badge {
    min-width: 48px;
    padding: 6px;
  }

  .score-badge strong {
    font-size: 16px;
  }
}

.metric-pill {
  display: inline-grid;
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid #f1e4d2;
  border-radius: 8px;
  background: #fff8ed;
  color: var(--muted);
  font-weight: 700;
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  line-height: 1;
}

.metric-pill strong {
  color: var(--charcoal);
  font-size: 12px;
}

.mini-bar {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e5d5;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.vote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.vote-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(207, 63, 47, 0.24);
  border-radius: 999px;
  background: #fff0ee;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.vote-button::before {
  content: "♡ ";
}

.vote-button.is-liked {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.vote-button.is-liked::before {
  content: "♥ ";
}

.vote-stat {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.product-card {
  min-height: 164px;
  padding: 16px;
}

.product-card .summary {
  min-height: 40px;
}

.product-footer {
  align-items: center;
  margin-top: 8px;
}

.product-footer .score {
  color: var(--red);
}

.recommend-hero-card,
.recommend-card {
  border: 1px solid rgba(255, 76, 32, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--concept-shadow, var(--shadow));
}

.recommend-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 211, 77, 0.38), transparent 18%),
    linear-gradient(135deg, #fff7e5 0%, #ffffff 58%, #fff0e6 100%);
}

.recommend-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.recommend-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  margin: 0 6px 10px 0;
  padding: 0 10px;
  border-radius: 999px;
  background: #231f20;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  vertical-align: top;
}

.recommend-hero-card .brand-mark,
.recommend-card .brand-mark {
  min-height: 30px;
  vertical-align: top;
}

.recommend-hero-card .brand-logo,
.recommend-card .brand-logo {
  height: 30px;
  max-width: 108px;
}

.recommend-hero-card .menu-name {
  font-size: 24px;
  font-weight: 950;
}

.recommend-reason {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ec;
  color: #5f5146;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.recommend-score {
  align-self: start;
  display: grid;
  min-width: 72px;
  place-items: center;
  padding: 10px 8px;
  border-radius: 16px;
  background: #ff4d20;
  color: #fff;
  text-align: center;
}

.recommend-score strong {
  font-size: 28px;
  line-height: 1;
}

.recommend-score span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
}

.recommend-list {
  margin-top: 12px;
}

.taste-finder {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 76, 32, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 211, 77, 0.34), transparent 22%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--concept-shadow, var(--shadow));
}

.taste-head,
.taste-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.taste-head h3,
.taste-result-head h4 {
  margin: 3px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.taste-progress {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #231f20;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.taste-question {
  margin-top: 14px;
}

.taste-question p {
  margin: 0 0 10px;
  color: #302b27;
  font-size: 15px;
  font-weight: 900;
}

.taste-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.taste-options button,
.taste-reset,
.taste-share {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  font-weight: 950;
}

.taste-options button {
  background: #fff4e1;
  color: #2f2b27;
}

.taste-options button:active {
  transform: translateY(1px);
}

.taste-result-card {
  margin-top: 14px;
}

.taste-result-copy {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.taste-result-list {
  display: grid;
  gap: 8px;
}

.taste-result-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff8ed;
}

.taste-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #ff4d20;
  color: #fff;
  font-weight: 950;
}

.taste-result-item strong {
  display: block;
  font-size: 14px;
}

.taste-result-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.taste-score {
  color: var(--orange);
  font-weight: 950;
  text-align: right;
}

.taste-reset {
  min-height: 32px;
  padding: 0 10px;
  background: #f2eee7;
  color: #5f5146;
  font-size: 12px;
}

.taste-share {
  width: 100%;
  margin-top: 12px;
  background: #231f20;
  color: #fff;
}

.video-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #f0e5d5;
}

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

.play-mark {
  position: absolute;
  right: 8px;
  bottom: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(35, 31, 32, 0.78);
  color: #fff;
  font-size: 11px;
}

.video-body {
  min-width: 0;
}

.video-title {
  display: -webkit-box;
  margin: 3px 0 6px;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.video-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.deal-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.deal-topline,
.deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deal-provider,
.deal-benefit {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.deal-provider {
  background: #f7f1e8;
  color: #655b50;
}

.deal-benefit {
  background: #fff0ee;
  color: var(--red);
}

.deal-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.32;
}

.deal-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.deal-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid #f1e4d2;
  border-radius: 8px;
  background: #f7f1e8;
}

.deal-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.deal-link {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.deal-modal[hidden] {
  display: none;
}

.deal-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
}

.deal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.52);
}

.deal-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  max-height: 88vh;
  gap: 12px;
  overflow: auto;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 14px 14px 0 0;
  background: var(--surface);
}

.deal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f7f1e8;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.deal-modal-panel h2 {
  margin: 0;
  padding-right: 40px;
  font-size: 21px;
  line-height: 1.25;
}

.deal-modal-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border: 1px solid #f1e4d2;
  border-radius: 8px;
  background: #f7f1e8;
}

.deal-modal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.formula {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.formula div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1e7d9;
  color: var(--muted);
}

.formula div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.formula strong {
  color: var(--charcoal);
}

.settings-list {
  display: grid;
  gap: 12px;
}

.setting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.setting-card span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.setting-card strong {
  color: var(--ink);
  font-size: 15px;
}

.setting-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.setting-card input {
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #d9d0c4;
  box-shadow: inset 0 0 0 1px rgba(47, 50, 55, 0.12);
  transition: background 0.18s ease;
}

.setting-card input::before {
  display: block;
  width: 22px;
  height: 22px;
  margin: 2px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transition: transform 0.18s ease;
  box-shadow: 0 3px 8px rgba(47, 50, 55, 0.22);
}

.setting-card input:checked {
  background: var(--red);
}

.setting-card input:checked::before {
  transform: translateX(18px);
}

.setting-card.is-muted {
  background: #fff8ed;
  box-shadow: none;
}

.data-status {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  max-width: 520px;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 auto;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(35, 31, 32, 0.96);
  box-shadow: 0 -12px 30px rgba(35, 31, 32, 0.24);
  backdrop-filter: blur(18px);
}

.bottom-tab {
  display: grid;
  min-height: 56px;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 253, 248, 0.68);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.bottom-tab.active {
  background: #fff0cf;
  color: #231f20;
}

.nav-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 12px;
  font-weight: 900;
}

.bottom-tab.active .nav-icon {
  background: rgba(207, 63, 47, 0.12);
  color: var(--red);
}

.empty {
  padding: 28px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  body {
    background: #efe7da;
  }

  .app-shell {
    margin-block: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(47, 50, 55, 0.18);
  }

  .bottom-nav {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ChickenPick concept refresh */
:root {
  --cream: #fff8ec;
  --cream-2: #fff0d7;
  --orange: #ff4c20;
  --orange-2: #ff8a1f;
  --yellow: #ffd34d;
  --deep: #171717;
  --soft-line: rgba(42, 31, 22, 0.08);
  --concept-shadow: 0 18px 42px rgba(73, 46, 18, 0.13);
}

body {
  background: #f7f1e8;
}

.app-shell {
  position: relative;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 211, 77, 0.2), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fff7ec 42%, #fffaf4 100%);
  padding-bottom: 118px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--deep);
}

.brand-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid var(--deep);
  border-radius: 999px;
  background: #fff;
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-lockup strong {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-lockup strong span {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  box-shadow: 0 10px 22px rgba(35, 31, 32, 0.08);
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.notify-dot {
  position: absolute;
  top: 8px;
  right: 7px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--orange);
}

.hero {
  min-height: 222px;
  margin: 0 0 16px;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 211, 77, 0.36), transparent 18%),
    linear-gradient(135deg, #fff0ce 0%, #fff8ec 56%, #ffffff 100%);
}

.hero img {
  left: auto;
  width: 58%;
  object-position: 62% center;
  filter: saturate(1.12) contrast(1.02);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.94) 0%, rgba(255, 248, 236, 0.82) 42%, rgba(255, 248, 236, 0.18) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 74%, #fff7ec 100%);
}

.hero::before {
  position: absolute;
  right: 38%;
  bottom: 54px;
  z-index: 1;
  display: grid;
  width: 98px;
  min-height: 42px;
  place-items: center;
  padding: 9px 12px;
  border-radius: 22px 22px 22px 6px;
  background: var(--deep);
  color: #fff;
  content: "오늘 뭐 먹지?";
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-5deg);
}

.hero-overlay {
  inset: 42px auto auto 22px;
  width: min(58%, 300px);
  color: var(--deep);
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
}

.hero h1 {
  max-width: 280px;
  margin: 0;
  color: var(--deep);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  color: var(--orange);
  text-shadow: none;
}

.hero-copy {
  max-width: 230px;
  margin: 16px 0 0;
  padding-left: 76px;
  color: #2f2b27;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-bubble {
  display: none;
}

.hero-share {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep);
  box-shadow: 0 12px 24px rgba(35, 31, 32, 0.12);
}

.hero-share.is-copied::after {
  content: "✓";
  color: var(--orange);
}

.controls {
  padding: 0 18px;
}

.mode-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: -28px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--concept-shadow);
  backdrop-filter: blur(18px);
}

.mode-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  place-items: center;
  min-height: 70px;
  padding: 0 2px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #302b27;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

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

.mode-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #f5f3ef;
  color: #9b948c;
  font-size: 19px;
  font-weight: 950;
}

.mode-card.active .mode-icon {
  background: #ffe7e2;
  color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255, 76, 32, 0.12);
}

.mode-icon.crown {
  background: #ffe5e1;
  color: var(--orange);
}

.mode-icon.deal {
  color: #c24ac4;
}

.mode-icon.new {
  color: #fff;
  background: #ff6b24;
  font-size: 10px;
}

.search-wrap {
  display: none;
  margin-top: 14px;
}

.search-wrap.is-open,
.search-wrap:focus-within {
  display: block;
}

.search-wrap input {
  height: 52px;
  border-color: rgba(42, 31, 22, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 22px rgba(73, 46, 18, 0.07);
}

.chip-row {
  gap: 9px;
  margin-top: 14px;
  padding-bottom: 8px;
}

.chip {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  background: #fff;
  color: #342f2a;
  box-shadow: 0 10px 20px rgba(73, 46, 18, 0.08);
}

.chip.active {
  background: var(--deep);
  color: #fff;
}

.featured-pick,
.ranking-section,
.recommend-section,
.new-products,
.hot-videos,
.deal-events,
.settings-section,
.score-panel {
  padding: 0 18px;
}

.featured-pick {
  margin-top: 18px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 211, 77, 0.58), transparent 15%),
    linear-gradient(135deg, #ff4a21 0%, #f4561d 48%, #f64b20 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 76, 32, 0.26);
}

.featured-ribbon {
  position: absolute;
  top: 0;
  left: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 0 0 12px 12px;
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.featured-like {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 3;
  min-height: 40px;
  border: 0;
  background: #fff;
  box-shadow: 0 10px 20px rgba(35, 31, 32, 0.12);
}

.featured-main {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: center;
  min-height: 150px;
  padding-top: 24px;
}

.featured-rank {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe36d, #ffb72b);
  color: #7a3300;
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(110, 43, 0, 0.18);
}

.featured-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.featured-card .brand-logo {
  height: 30px;
  max-width: 96px;
}

.featured-card .menu-line {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.featured-card .menu-name {
  color: #fff;
  font-size: 29px;
  line-height: 1.12;
}

.featured-card .price {
  color: #fff;
  font-size: 21px;
}

.featured-card .summary {
  display: -webkit-box;
  max-width: 260px;
  margin-top: 14px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-card .tag {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.featured-score {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 3;
  min-width: 86px;
  padding: 11px 10px;
  border-radius: 14px;
  background: #151515;
}

.featured-score strong {
  font-size: 27px;
}

.featured-card .metric-bars {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}

.featured-card .metric-pill {
  border-color: rgba(255, 76, 32, 0.1);
}

.section-head {
  margin-top: 28px;
}

.section-head h2 {
  font-size: 25px;
  font-weight: 950;
}

.eyebrow {
  color: var(--orange);
}

.pill {
  background: #fff5e4;
  color: var(--orange);
}

.ranking-list {
  gap: 14px;
}

.rank-card {
  position: relative;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--concept-shadow);
}

.rank-number {
  width: 38px;
  height: 38px;
  background: #f2f2f2;
  color: #222;
}

.rank-topline {
  position: relative;
  min-height: 100px;
  align-items: flex-start;
  padding-right: 72px;
}

.rank-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rank-card .brand-logo {
  height: 28px;
  max-width: 96px;
}

.rank-card .menu-name {
  font-size: 21px;
  font-weight: 950;
}

.rank-card .price {
  font-size: 14px;
}

.rank-card .summary {
  display: -webkit-box;
  max-width: 280px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-like {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #bbb;
  box-shadow: 0 8px 18px rgba(35, 31, 32, 0.1);
  font-size: 0;
}

.card-like::before,
.featured-like::before {
  content: "♥";
  margin: 0;
  font-size: 17px;
}

.card-like.is-liked,
.featured-like.is-liked {
  background: var(--orange);
  color: #fff;
}

.rank-card .score-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-width: 72px;
  border-radius: 13px;
  background: var(--deep);
}

.rank-card .score-badge strong {
  font-size: 22px;
}

.metric-pill {
  min-height: 48px;
  border-color: rgba(42, 31, 22, 0.07);
  background: #fffaf1;
}

.metric-head {
  font-size: 12px;
}

.vote-row {
  justify-content: flex-end;
  margin-top: 8px;
}

.vote-stat {
  color: #8a8178;
}

.bottom-nav {
  right: auto;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: min(496px, calc(100% - 24px));
  max-width: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(36, 27, 18, 0.18);
}

.bottom-tab {
  min-height: 56px;
  color: #77716a;
  border-radius: 20px;
  font-size: 10px;
}

.bottom-tab.active {
  background: #fff1cf;
  color: var(--orange);
}

.nav-icon {
  background: transparent;
  font-size: 19px;
}

.bottom-tab.active .nav-icon {
  background: transparent;
  color: var(--orange);
}

@media (max-width: 430px) {
  .hero {
    min-height: 214px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .mode-dock {
    gap: 6px;
    padding: 14px 8px;
  }

  .mode-card {
    font-size: 11px;
  }

  .mode-icon {
    width: 36px;
    height: 36px;
  }

  .featured-main {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    min-height: 150px;
  }

  .featured-card .menu-name {
    font-size: 25px;
  }

  .rank-topline {
    padding-right: 70px;
  }
}

/* Concept mockup fidelity pass */
.brand-lockup {
  gap: 0;
}

.app-logo {
  display: block;
  width: 186px;
  height: auto;
}

.brand-symbol,
.brand-lockup strong {
  display: none;
}

.hero {
  min-height: 278px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 204, 45, 0.42), transparent 3%),
    radial-gradient(circle at 41% 34%, rgba(115, 211, 232, 0.42), transparent 2%),
    linear-gradient(125deg, #fff1ce 0%, #fff7e6 47%, #fff 100%);
}

.hero .hero-food-image {
  position: absolute;
  right: -24px;
  bottom: -6px;
  left: auto;
  z-index: 0;
  width: 62%;
  height: 92%;
  object-fit: cover;
  object-position: right bottom;
  border-radius: 0;
  filter: saturate(1.12) contrast(1.04);
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 246, 225, 0.96) 0%, rgba(255, 246, 225, 0.9) 42%, rgba(255, 246, 225, 0.1) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 77%, #fff7ec 100%);
}

.hero::before {
  content: none;
}

.hero-overlay {
  z-index: 2;
  inset: 50px auto auto 30px;
  width: min(58%, 340px);
}

.hero-kicker {
  display: none;
}

.hero h1 {
  max-width: 300px;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 span {
  margin-top: 8px;
  color: #f04a25;
}

.hero-copy {
  max-width: 260px;
  margin-top: 18px;
  padding-left: 0;
  color: #1f1c19;
  font-size: 18px;
  font-weight: 750;
}

.mode-dock {
  margin-top: -24px;
  padding: 18px 12px;
  border-radius: 22px;
}

.featured-card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 66% 26%, rgba(255, 194, 52, 0.52), transparent 8%),
    linear-gradient(135deg, #ff4d20 0%, #f4511f 60%, #ff6228 100%);
}

.featured-main {
  grid-template-columns: 64px minmax(0, 1fr) 90px;
  min-height: 168px;
}

.featured-score {
  justify-self: end;
}

.rank-topline {
  min-height: 104px;
  padding-right: 74px;
}

.rank-card .score-badge {
  right: 2px;
  bottom: 2px;
}

@media (max-width: 430px) {
  .app-logo {
    width: 164px;
  }

  .hero {
    min-height: 258px;
  }

  .hero .hero-food-image {
    right: -44px;
    width: 68%;
  }

  .hero-overlay {
    inset: 48px auto auto 24px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    max-width: 210px;
    font-size: 15px;
  }

  .featured-main {
    grid-template-columns: 54px minmax(0, 1fr) 82px;
  }

  .rank-topline {
    padding-right: 70px;
  }
}
