*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #F2F1EC;
  --white:   #FFFFFF;
  --black:   #1A1A1A;
  --dark:    #141414;
  --navy:    #0D2137;
  --blue:    #1B6CB5;
  --card-bg: #E8F0F8;
  --g1:      #ECEAE3;
  --g2:      #E0DED6;
  --g3:      #C8C6BC;
  --g4:      #9A9888;
  --g5:      #666560;
  --border:  #E4E2DA;
  --yellow:  #FFD60A;
  --font:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --spring:  cubic-bezier(0.32, 0.72, 0, 1);
}

html, body { height: 100%; font-family: var(--font); -webkit-font-smoothing: antialiased; background: var(--bg); }
button { -webkit-appearance: none; appearance: none; font-family: var(--font); }
a { cursor: pointer; }

/* ── Section visibility ── */
.section { display: none; }
.section.active { display: flex; flex-direction: column; min-height: 100dvh; }
#app-section.active { height: 100dvh; min-height: unset; overflow: hidden; }

/* ═══════════════════════════════════════
   ONBOARDING
═══════════════════════════════════════ */
#ob-section.active { flex-direction: column; background: #FFFFFF; }
@media (min-width: 768px) {
  #ob-section.active { flex-direction: row; min-height: 100dvh; }
}

.ob-dark {
  display: none;
  background: var(--dark);
  flex-direction: column;
  padding: 40px;
  flex-shrink: 0;
  width: 38%;
}
@media (min-width: 768px) { .ob-dark { display: flex; } }

.ob-dark-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.3px;
}
.ob-dark-brand .bicon { width: 22px; height: 22px; background: var(--yellow); border-radius: 6px; flex-shrink: 0; }

.ob-dark-body { flex: 1; display: flex; align-items: flex-end; padding-bottom: 40px; }
.ob-dark-title {
  font-size: clamp(40px, 5vw, 56px); font-weight: 800;
  color: var(--white); line-height: 1.05; letter-spacing: -2.5px;
  white-space: pre-line;
}
.ob-dark-sub {
  font-size: 15px; color: rgba(255,255,255,0.45); margin-top: 14px;
  line-height: 1.5; font-weight: 400; max-width: 280px;
}

.ob-dark-footer { display: flex; align-items: center; gap: 12px; }
.pdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.pdot.on { background: var(--yellow); }
.ob-dark-step-lbl { font-size: 12px; color: rgba(255,255,255,0.35); margin-left: 4px; }

.ob-form {
  flex: 1; display: flex; flex-direction: column;
  background: #FFFFFF; min-height: 100dvh;
}

.ob-mobile-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 52px; flex-shrink: 0;
}
.ob-mobile-hdr .brand { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--black); letter-spacing: -0.3px; }
.ob-mobile-hdr .bicon { width: 20px; height: 20px; background: var(--yellow); border-radius: 4px; flex-shrink: 0; }
@media (min-width: 768px) { .ob-mobile-hdr { display: none; } }

.ob-progress { height: 3px; background: #E0DFDB; flex-shrink: 0; }
.ob-progress-fill { height: 100%; background: var(--black); transition: width 0.4s var(--spring); }
@media (min-width: 768px) { .ob-progress { display: none; } }

.ob-steps { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.ob-step { display: none; flex: 1; flex-direction: column; }
.ob-step.active { display: flex; }

@media (min-width: 768px) {
  .ob-steps { justify-content: center; padding: 60px 72px; overflow-y: visible; }
  .ob-step { flex: unset; }
}

.step-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 24px 0;
}
.step-meta-num { font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: #999999; }
.step-meta-hint { font-size: 11px; color: #CCCCCC; }
@media (min-width: 768px) {
  .step-meta { padding: 0 0 0 0; }
}

.step-q-wrap { padding: 16px 24px 0; }
.step-q { font-size: 24px; font-weight: 700; letter-spacing: -0.6px; color: var(--black); line-height: 1.2; }
.step-sub { font-size: 13px; color: #999999; margin-top: 6px; line-height: 1.5; }
@media (min-width: 768px) {
  .step-q-wrap { padding: 20px 0 0; }
  .step-q { font-size: 28px; }
}

.option-list { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 0; }
@media (min-width: 768px) { .option-list { padding: 20px 0 0; } }
.option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--white);
  border: 1.5px solid #0D2137; border-radius: 12px;
  cursor: pointer; transition: border-color 0.15s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.option-card:active { transform: scale(0.98); }
.option-card.sel { border-color: var(--black); background: #F7F9FC; }
.option-icon-svg { width: 32px; height: auto; flex-shrink: 0; }
.option-emoji { font-size: 22px; line-height: 1.3; flex-shrink: 0; font-family: system-ui, sans-serif; }
.option-label { font-size: 14px; font-weight: 500; color: var(--black); }
.option-desc { font-size: 12px; color: #AAAAAA; margin-top: 2px; }

.chip-wrap { display: flex; flex-wrap: wrap; gap: 9px; padding: 28px 24px 0; }
@media (min-width: 768px) { .chip-wrap { padding: 20px 0 0; } }
.chip {
  padding: 9px 16px; border-radius: 100px;
  border: 1.5px solid #0D2137; font-size: 13px; font-weight: 500;
  color: var(--black); background: var(--white); cursor: pointer;
  transition: all 0.15s; user-select: none; -webkit-tap-highlight-color: transparent;
}
.chip.sel { background: var(--black); color: var(--white); border-color: var(--black); }

.loc-wrap { padding: 28px 24px 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .loc-wrap { padding: 20px 0 0; } }
.loc-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid #0D2137;
  border-radius: 12px; padding: 15px 18px;
}
.loc-search-icon { font-size: 15px; line-height: 1; flex-shrink: 0; }
.loc-search input {
  flex: 1; border: none; background: transparent; font-size: 14px;
  font-family: var(--font); color: var(--black); outline: none;
}
.loc-search input::placeholder { color: #CCCCCC; }
.loc-divider {
  display: flex; align-items: center; gap: 12px;
  color: #5A6B7C; font-size: 12px;
}
.loc-divider::before, .loc-divider::after { content: ''; flex: 1; height: 1px; background: #5A6B7C; }
.loc-gps {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px solid #0D2137;
  border-radius: 12px; padding: 15px 18px; cursor: pointer;
  transition: border-color 0.15s; -webkit-tap-highlight-color: transparent;
}
.loc-gps.sel { border-color: var(--black); }
.loc-gps-icon-box {
  width: 32px; height: 32px; background: #F7F6F3; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.loc-gps-label { font-size: 14px; font-weight: 500; color: var(--black); }
.loc-gps-sub { font-size: 12px; color: #AAAAAA; margin-top: 2px; }
.popular-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; color: #5A6B7C;
  padding: 20px 24px 10px;
}
@media (min-width: 768px) { .popular-label { padding: 18px 0 10px; } }
.city-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px; }
@media (min-width: 768px) { .city-grid { padding: 0; } }
.city-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--white);
  border: 1.5px solid #0D2137; border-radius: 100px;
  cursor: pointer; transition: border-color 0.15s; font-size: 13px;
  font-weight: 500; color: #555555;
  -webkit-tap-highlight-color: transparent;
}
.city-chip.sel { border-color: var(--black); }

.step-cta { padding: 20px 24px 32px; flex-shrink: 0; margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .step-cta { padding: 28px 0 0; margin-top: 0; } }
.btn-next {
  width: 100%; padding: 15px; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: -0.3px;
  background: #E0DFDB; color: #AAAAAA;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.btn-next.ready { background: var(--black); color: var(--white); }
.btn-next.ready:active { transform: scale(0.98); }
.btn-back {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 32px;
  font-size: 12px; color: #5A6B7C; background: none; border: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════
   LOADING
═══════════════════════════════════════ */
#loading-section { align-items: center; justify-content: center; background: var(--bg); gap: 0; }
.loading-icon {
  width: 72px; height: 72px; background: var(--white); border-radius: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
  margin-bottom: 20px; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
.loading-title { font-size: 22px; font-weight: 700; letter-spacing: -0.8px; color: var(--black); }
.loading-sub { font-size: 14px; color: var(--g4); margin-top: 5px; }
.skel-card {
  margin: 32px auto 0; width: min(340px, 90vw);
  background: var(--white); border-radius: 16px; padding: 18px;
}
.skel-line { height: 11px; background: var(--g2); border-radius: 6px; margin-bottom: 10px; position: relative; overflow: hidden; }
.skel-box { height: 120px; background: var(--g2); border-radius: 12px; margin: 12px 0; position: relative; overflow: hidden; }
.skel-chips { display: flex; gap: 8px; margin-top: 12px; }
.skel-blob { height: 28px; flex: 1; background: var(--g2); border-radius: 100px; position: relative; overflow: hidden; }
.skel-line::after, .skel-box::after, .skel-blob::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  background-size: 200% 100%; animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.skel-line.w60 { width: 60%; }
.skel-line.w80 { width: 80%; }
.spin-dots { display: flex; gap: 6px; margin-top: 24px; }
.spin-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g3); animation: bounce 1.4s ease-in-out infinite; }
.spin-dot:nth-child(2){animation-delay:.16s} .spin-dot:nth-child(3){animation-delay:.32s}
@keyframes bounce { 0%,80%,100%{transform:scale(1);background:var(--g3)} 40%{transform:scale(1.3);background:var(--black)} }

/* ═══════════════════════════════════════
   APP
═══════════════════════════════════════ */
#app-section { background: #FFFFFF; }

/* Top nav */
.site-nav {
  display: flex;
  align-items: center;
  padding: 0 20px; height: 52px;
  background: #FFFFFF; border-bottom: 1px solid var(--card-bg);
  flex-shrink: 0; position: sticky; top: 0; z-index: 50;
}
@media (min-width: 768px) { .site-nav { padding: 0 40px; height: 56px; } }
.nav-brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.nav-brand .bicon { width: 20px; height: 20px; background: var(--yellow); border-radius: 5px; }

/* App body layout */
.app-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.app-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; background: #FFFFFF; }
.app-scroll::-webkit-scrollbar { display: none; }

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Today panel layout */
.today-layout {
  display: flex; flex-direction: column;
  padding: 20px 16px 16px;
}
@media (min-width: 768px) {
  .today-layout {
    padding: 40px;
    max-width: 860px; margin: 0 auto; width: 100%;
  }
}
.today-main { flex: 1; min-width: 0; }

/* ── Weather Hero ── */
.weather-hero { margin-bottom: 24px; }
@media (min-width: 768px) {
  .weather-hero {
    display: grid;
    grid-template-areas: "meta meta" "info hourly";
    grid-template-columns: 284px 1fr;
    align-items: start;
    column-gap: 32px;
    margin-bottom: 32px;
  }
  .wx-meta { grid-area: meta; }
  .wx-main { grid-area: info; }
  .wx-hourly { grid-area: hourly; }
  .wx-hourly.open { max-height: 110px; }
  .wx-hourly-scroll { margin-top: 0; padding-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; }
}
.wx-meta {
  font-size: 13px; color: #5A6B7C; margin-bottom: 10px;
  letter-spacing: -0.1px;
}
.wx-main { display: flex; align-items: flex-start; gap: 16px; }
.wx-left { flex-shrink: 0; }
.wx-condition-chip {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #5A6B7C;
  margin-bottom: 4px;
}
.wx-temp-big {
  display: block;
  font-size: clamp(64px, 14vw, 88px); font-weight: 900;
  color: var(--navy); line-height: 0.9; letter-spacing: -0.04em;
}
.wx-info-col {
  display: flex; flex-direction: column; gap: 5px;
  padding-top: 4px; flex: 1;
}
.wx-info-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: #5A6B7C; font-weight: 400;
}
.wx-info-tappable {
  cursor: pointer; border-radius: 6px; padding: 3px 6px 3px 0;
  margin: 0 -6px 0 0; transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.wx-info-tappable.active { background: rgba(255,214,10,0.15); color: var(--navy); }
.wx-info-arrow {
  margin-left: auto; font-size: 12px; color: var(--g3); flex-shrink: 0;
  transition: color 0.15s;
}
.wx-info-tappable.active .wx-info-arrow { color: var(--navy); }

/* ── Hourly strip ── */
.wx-hourly {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.32,0.72,0,1);
}
.wx-hourly.open { max-height: 110px; }
.wx-hourly-scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 20px 4px 20px; margin-top: 10px;
}
.wx-hourly-scroll::-webkit-scrollbar { display: none; }
.wh-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; flex: 0 0 64px;
  padding: 8px 16px; border-radius: 4px;
  background: #F7F6F3;
}
.wh-item.now { background: #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.wh-label { font-size: 11px; color: var(--g4); font-weight: 500; }
.wh-icon { display: flex; align-items: center; justify-content: center; }
.wh-icon .wx-svg-icon svg,
.wh-icon svg { width: 24px; height: 24px; }
.wh-val { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: -0.2px; }
.wx-info-icon { font-size: 14px; flex-shrink: 0; display: inline-flex; align-items: center; }
.wx-info-icon svg { width: 24px; height: 24px; }
.wx-svg-icon { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; }
.wx-svg-icon svg { width: 24px; height: 24px; }

/* ── Headline ── */
.today-headline {
  font-size: clamp(34px, 7vw, 56px); font-weight: 800;
  letter-spacing: -2px; color: var(--navy); line-height: 1.05;
}
.headline-mobile { display: block; }
.headline-desktop { display: none; }
@media (min-width: 768px) {
  .today-headline { font-size: clamp(44px, 4vw, 64px); letter-spacing: -2.5px; line-height: 1; }
  .headline-mobile { display: none; }
  .headline-desktop { display: block; }
}
.today-context { font-size: 14px; color: var(--g4); margin-top: 6px; }

/* ── Outfit Grid ── */
.outfit-grid {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.outfit-card {
  background: var(--card-bg); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.outfit-illus {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 20px 16px 12px; min-height: 160px;
}
@media (min-width: 768px) { .outfit-illus { min-height: 200px; } }
.outfit-illus svg { width: 80px; height: 90px; }
@media (min-width: 768px) { .outfit-illus svg { width: 110px; height: 124px; } }

.outfit-card-body { padding: 0 14px 14px; }
.outfit-cat {
  font-size: 10px; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--blue);
}
.outfit-name {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-top: 3px; letter-spacing: -0.3px; line-height: 1.2;
}
@media (min-width: 768px) { .outfit-name { font-size: 16px; } }
.swap-btn {
  margin-top: 10px; padding: 5px 10px;
  background: #F0EFE9; border: 1px solid var(--blue);
  border-radius: 6px; font-size: 12px; font-weight: 500;
  color: var(--blue); cursor: pointer;
  transition: background 0.15s; -webkit-tap-highlight-color: transparent;
}
.swap-btn:hover { background: #e6e4de; }

/* ── Activity row ── */
.act-row-mobile {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px;
}
.act-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: var(--navy); color: var(--white);
  border: none; border-radius: 100px; font-size: 14px; font-weight: 600;
  font-family: var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.act-chip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0; color: var(--white);
}
.change-link {
  font-size: 14px; font-weight: 500; color: var(--navy); background: none;
  border: none; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px; text-decoration-color: var(--g3);
}

/* ── Feedback row ── */
.feedback-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--card-bg);
}
.fb-label { font-size: 14px; font-weight: 500; color: var(--g5); flex-shrink: 0; }
.fb-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; background: var(--white);
  border-radius: 100px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.fb-pill-pos { border: 1px solid var(--navy); color: var(--navy); }
.fb-pill-neg { border: 1px solid #5A6B7C; color: #5A6B7C; }
.fb-pill-pos:hover { background: var(--navy); color: var(--white); }
.fb-pill-neg:hover { background: #5A6B7C; color: var(--white); }


/* ── Secondary tabs ── */
.sec-body { padding: 40px 16px; }
@media (min-width: 768px) { .sec-body { padding: 60px 40px; max-width: 800px; } }
.sec-title { font-size: 32px; font-weight: 800; letter-spacing: -1.4px; color: var(--navy); margin-bottom: 8px; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 80px 0; gap: 10px; }
.empty-emoji { font-size: 42px; opacity: 0.3; }
.empty-text { font-size: 15px; color: var(--g4); text-align: center; max-width: 200px; line-height: 1.4; }


/* ═══════════════════════════════════════
   ACTIVITY SHEET
═══════════════════════════════════════ */
.sheet-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0);
  z-index: 100; pointer-events: none; transition: background 0.3s;
}
.sheet-overlay.on { background: rgba(0,0,0,0.42); pointer-events: all; }

.act-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white); border-radius: 28px 28px 0 0;
  z-index: 101; transform: translateY(100%);
  transition: transform 0.4s var(--spring); padding-bottom: 32px;
}
.act-sheet.open { transform: translateY(0); }
@media (min-width: 768px) {
  .act-sheet {
    left: auto; right: 0; top: 0; bottom: 0;
    width: 380px; max-width: 380px; border-radius: 0;
    transform: translateX(100%); padding-bottom: 0;
  }
  .act-sheet.open { transform: translateX(0); }
}
.sheet-title { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--navy); }
.sheet-sub { font-size: 14px; color: var(--g4); margin-top: 3px; }
.act-list { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 2px; }
.act-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 12px; border-radius: 10px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 -1px 0 var(--card-bg);
  transition: background 0.15s;
}
.act-list-item:last-child { box-shadow: none; }
.act-list-item.sel { background: var(--card-bg); box-shadow: none; }
.act-row-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--g1); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s;
}
.act-list-item.sel .act-row-icon { background: var(--yellow); color: var(--dark); }
.act-list-name { flex: 1; font-size: 15px; font-weight: 500; color: var(--navy); letter-spacing: -0.2px; }
.act-row-check { display: none; flex-shrink: 0; }
.act-list-item.sel .act-row-check { display: flex; }
.sheet-cta { padding: 4px 20px 0; }
.sheet-btn {
  width: 100%; padding: 15px; background: var(--navy); color: var(--white);
  border: none; border-radius: 14px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: var(--font); letter-spacing: -0.3px;
}

/* ═══════════════════════════════════════
   SHARED SHEET ELEMENTS
═══════════════════════════════════════ */
.swap-sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 20px 0; gap: 12px;
}
.sheet-close-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--g1); border: none; font-size: 18px; line-height: 1;
  color: var(--g5); cursor: pointer; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════
   SWAP SHEET
═══════════════════════════════════════ */
.swap-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white); border-radius: 28px 28px 0 0;
  z-index: 102; transform: translateY(100%);
  transition: transform 0.4s var(--spring);
  padding-bottom: 32px; max-width: 480px; margin: 0 auto;
  max-height: 85dvh; overflow-y: auto;
}
.swap-sheet.open { transform: translateY(0); }
@media (min-width: 768px) {
  .swap-sheet {
    left: auto; right: 0; top: 0; bottom: 0; margin: 0;
    width: 420px; max-width: 420px; border-radius: 0;
    transform: translateX(100%); max-height: unset;
  }
  .swap-sheet.open { transform: translateX(0); }
}

.swap-cards-list { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.swap-option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; background: var(--card-bg); border-radius: 14px;
  cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.swap-option-card.chosen, .swap-option-card.is-current { border-color: var(--navy); }
.swap-option-illus {
  width: 56px; height: 64px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.swap-option-illus svg { width: 46px; height: 52px; }
.swap-option-body { flex: 1; min-width: 0; }
.swap-option-cat { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.swap-option-name { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.swap-option-desc { font-size: 12px; color: var(--g4); margin-top: 2px; }
.swap-current-badge {
  flex-shrink: 0; padding: 5px 12px; background: var(--yellow);
  border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--black);
}
.swap-select-btn {
  flex-shrink: 0; padding: 8px 14px;
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--navy); border-radius: 100px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: var(--font); -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════
   FEEDBACK MODAL
═══════════════════════════════════════ */
.fb-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.fb-modal-overlay.on { display: flex; }
.fb-modal {
  background: var(--white); border-radius: 20px;
  padding: 24px 24px 28px; width: 100%; max-width: 360px;
}
.fb-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.fb-modal-title {
  font-size: 22px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.8px;
}
.fb-modal-sub { font-size: 13px; color: var(--g4); margin-top: 4px; line-height: 1.4; }
.fb-chips-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--g4); margin-bottom: 10px;
}
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fb-chip {
  padding: 8px 14px; border: 1.5px solid var(--card-bg);
  border-radius: 100px; font-size: 13px; font-weight: 500;
  color: var(--navy); background: var(--white);
  cursor: pointer; transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.fb-chip.sel { border-color: var(--navy); background: var(--navy); color: var(--white); }
.fb-submit {
  width: 100%; padding: 14px; background: var(--navy); color: var(--white);
  border: none; border-radius: 12px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font); margin-top: 4px;
}

/* ═══════════════════════════════════════
   SUCCESS TOAST
═══════════════════════════════════════ */
.success-toast {
  position: fixed; left: 0; right: 0;
  bottom: env(safe-area-inset-bottom, 0);
  background: var(--white); border-top: 1px solid var(--card-bg);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--navy); letter-spacing: -0.2px;
  z-index: 300; opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--spring);
}
.success-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.success-toast-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--black); flex-shrink: 0;
}
@media (min-width: 768px) {
  .success-toast {
    left: auto; right: 24px; bottom: 24px; width: auto; max-width: 320px;
    border-radius: 14px; border: 1px solid var(--card-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
}

/* Animations */
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up:nth-child(1){animation-delay:.05s} .fade-up:nth-child(2){animation-delay:.1s}
.fade-up:nth-child(3){animation-delay:.16s} .fade-up:nth-child(4){animation-delay:.22s}
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
