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

:root {
  --ink: #1a1a1a;
  --ink-light: #86817a;
  --ink-faint: #b7b0a8;
  --paper: #faf9f6;
  --warm: #f5f0e8;
  --warm2: #ede8de;
  --border: #e8e4dc;
  --green: #2a7a5a;
  --orange: #ff5000;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: 'Noto Sans SC', sans-serif;
  background: #dbd7cf;
  color: var(--ink);
}

.demo-shell {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.phone {
  --detail-dock-height: 128px;
  width: min(430px, 100vw - 16px);
  height: min(860px, calc(100dvh - 16px));
  background: var(--paper);
  border-radius: 34px;
  border: 1px solid #ccc9c0;
  box-shadow: 0 0 0 5px #d8d4cb, 0 14px 40px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hidden {
  display: none !important;
}

.sbar-collapsible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(9px + env(safe-area-inset-top)) 18px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  flex-shrink: 0;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding 0.32s ease;
}

.sbar-collapsible.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.bbar-collapsible {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.28s ease;
}

.bbar-collapsible.hidden {
  max-height: 0;
  opacity: 0;
}

.bbar-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
}

.logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
}

.btext {
  flex: 1;
  min-width: 0;
}

.brow1 {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.bname {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.bdot {
  font-size: 10.5px;
  color: #d0cbc4;
}

.bmeta {
  font-size: 12px;
  color: var(--ink-light);
}

.brow2 {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  white-space: nowrap;
}

.btag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--ink-light);
  background: var(--warm);
}

.btag.hi {
  color: #2a5aa0;
  border-color: #c0d0e8;
  background: #eef3fb;
}

.compact-s1 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding 0.32s ease;
}

.compact-s1.visible {
  max-height: 76px;
  opacity: 1;
  padding: 9px 13px;
}

.cb-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

.cb-text {
  flex: 1;
  min-width: 0;
}

.cb-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.cb-sub {
  font-size: 12px;
  color: var(--ink-light);
}

.reply-sub {
  display: none;
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--ink-light);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  flex-shrink: 0;
}

.reply-sub.visible {
  display: block;
}

.content-host {
  flex: 1;
  min-height: 0;
  position: relative;
}

.scroll-s1,
.canvas {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.scroll-s1::-webkit-scrollbar,
.canvas::-webkit-scrollbar,
.ov-scroll::-webkit-scrollbar,
.chips-row::-webkit-scrollbar,
.outfit-row::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.anna-zone {
  padding: 12px 13px 8px;
}

.anna-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}

.anna-text .hi {
  color: var(--orange);
  font-weight: 600;
}

.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 9px 12px;
}

.fi {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}

.fi-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  color: #bbb;
  position: relative;
  background: #efebe3;
}

.fi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fi-body {
  padding: 6px 7px 7px;
}

.fi-tag {
  min-height: 11px;
  font-size: 10.5px;
  color: var(--green);
  margin-bottom: 2px;
  line-height: 1.2;
}

.fi-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
  min-height: 23px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fi-price {
  font-size: 15px;
  font-weight: 700;
}

.new-badge,
.presale-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  color: #fff;
  font-size: 8.25px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 2px;
}

.new-badge {
  background: var(--ink);
}

.presale-badge {
  background: #c0392b;
}

.viewed-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 8.25px;
  font-weight: 700;
  color: var(--ink-light);
}

.canvas {
  padding: 10px 12px 8px;
}

.msg-block {
  margin-bottom: 12px;
}

.user-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.user-bubble {
  background: var(--ink);
  color: #fff;
  border-radius: 12px 12px 3px 12px;
  padding: 7px 10px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 78%;
}

.ar-text {
  font-size: 14.25px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 8px;
}

.ar-text.collapsed {
  display: none;
}

.msg-block.pinned .user-bubble {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.bbot-collapsible {
  background: var(--paper);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  max-height: 116px;
  padding: 6px 11px calc(10px + env(safe-area-inset-bottom));
  transition: max-height 0.32s ease, opacity 0.28s ease;
}

.bbot-collapsible.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
}

.chips-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 6px;
  padding-top: 4px;
}

.chip {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}

.chip.foot {
  background: var(--warm);
  position: relative;
}

.chip.msg {
  background: var(--warm2);
}

.foot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 13px;
  height: 13px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-field {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 7px 12px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  outline: none;
}

.input-field:focus {
  border-color: var(--ink);
}

.input-field::placeholder {
  color: var(--ink-light);
}

.send-btn {
  width: 27px;
  height: 27px;
  border: none;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.send-btn svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 18;
}

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  bottom: 96px;
  background: var(--paper);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: hidden;
}

.ov-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px;
  flex-shrink: 0;
}

.ov-handle {
  width: 24px;
  height: 2px;
  background: #ddd;
  border-radius: 2px;
}

.ov-back {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
}

.ov-scroll {
  flex: 1;
  overflow-y: auto;
}

.prod-img {
  width: 100%;
  height: 230px;
  background: #e0dbd2;
  position: relative;
}

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

.tryon-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.img-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.dot.on {
  background: #fff;
  width: 10px;
  border-radius: 2px;
}

.ov-body {
  padding: 10px 12px 2px;
}

.prod-name {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.45;
}

.prod-meta {
  font-size: 11.25px;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.anna-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 8px;
}

.ac-h {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.ac-ava {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--warm2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink-light);
  flex-shrink: 0;
}

.ac-nm {
  font-size: 12px;
  font-weight: 700;
}

.ac-lb {
  font-size: 10.5px;
  color: var(--ink-light);
  margin-left: auto;
}

.ac-rec {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
}

.ac-hi {
  color: var(--orange);
  font-weight: 600;
}

.sec-t {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 5px;
}

.sec-t::before {
  content: '';
  width: 2px;
  height: 9px;
  background: var(--ink);
  border-radius: 1px;
  display: inline-block;
}

.size-row {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.sz {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
  color: var(--ink-light);
  background: #fff;
}

.sz.rec {
  border-color: var(--ink);
  color: var(--ink);
  position: relative;
}

.sz.rec::after {
  content: '推荐';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8.25px;
  font-weight: 700;
  color: var(--orange);
  background: var(--paper);
  padding: 0 2px;
  white-space: nowrap;
}

.size-note {
  font-size: 11.25px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-bottom: 8px;
}

.outfit-row {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  margin-bottom: 8px;
}

.oi {
  flex-shrink: 0;
  width: 56px;
}

.oi-img {
  width: 56px;
  height: 70px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  background: var(--warm2);
}

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

.oi-this {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 7.5px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 1px 3px;
  border-radius: 2px;
}

.oi-nm {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.oi-pr {
  font-size: 11.25px;
  font-weight: 700;
}

.buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px 9px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--paper);
}

.buy-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.buy-price-main {
  font-size: 22.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.buy-price-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.buy-price-old {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: line-through;
}

.buy-price-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.4;
}

.buy-bar-inner {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  height: 28px;
  flex-shrink: 0;
}

.buy-btn {
  width: 68px;
  padding: 0;
  border: none;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
}

.buy-btn.add {
  background: #ffb400;
}

.buy-btn.now {
  background: var(--orange);
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 29;
}

.panel-region {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.panel {
  border-top: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--paper);
  max-height: 58dvh;
  display: flex;
  flex-direction: column;
}

.panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--border);
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.panel-close {
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-light);
  cursor: pointer;
}

.panel-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.empty-text {
  padding: 16px 12px 18px;
  font-size: 13.5px;
  color: var(--ink-light);
}

.fp-item,
.hl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
}

.fp-item:last-child,
.hl-item:last-child {
  border-bottom: none;
}

.fp-thumb {
  width: 34px;
  height: 44px;
  border-radius: 6px;
  background: var(--warm2);
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}

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

.fp-info {
  flex: 1;
  min-width: 0;
}

.fp-name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-price {
  font-size: 13.5px;
  font-weight: 700;
}

.fp-time {
  font-size: 9.75px;
  color: var(--ink-faint);
  margin-top: 1px;
}

.hl-left {
  flex: 1;
  min-width: 0;
}

.hl-q {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 2px;
}

.hl-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hl-time {
  font-size: 10.5px;
  color: var(--ink-faint);
}

.hl-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--warm);
  border: 1px solid var(--border);
  color: var(--ink-light);
}

.hl-tag.result {
  color: var(--green);
  background: #eef7f3;
  border-color: #c0ddd0;
}

.hl-arrow {
  font-size: 18px;
  color: var(--ink-faint);
}

.phone.detail-open .overlay {
  bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
}

.phone.detail-open .bbot-collapsible {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  height: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  max-height: none;
}

.phone.detail-open .panel-region {
  bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
}

@media (max-width: 680px) {
  .demo-shell {
    padding: 0;
  }

  .phone {
    --detail-dock-height: 152px;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .sbar-collapsible {
    font-size: 19.5px;
    padding: calc(11px + env(safe-area-inset-top)) 18px 6px;
  }

  .bbar-inner {
    padding: 10px 14px 9px;
  }

  .logo {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .bname {
    font-size: 22.5px;
  }

  .bmeta {
    font-size: 15px;
  }

  .btag {
    font-size: 13.5px;
    padding: 2px 6px;
  }

  .anna-zone {
    padding: 14px 14px 10px;
  }

  .anna-text {
    font-size: 21px;
    line-height: 1.68;
  }

  .feed-grid {
    gap: 8px;
    padding: 10px 10px 14px;
  }

  .fi-body {
    padding: 8px 8px 9px;
  }

  .fi-tag {
    min-height: 14px;
    font-size: 15px;
  }

  .fi-name {
    font-size: 19.5px;
    min-height: 34px;
  }

  .fi-price {
    font-size: 27px;
    line-height: 1.1;
  }

  .new-badge,
  .presale-badge {
    font-size: 12px;
    padding: 3px 6px;
  }

  .viewed-mark {
    font-size: 12px;
    padding: 2px 6px;
  }

  .bbot-collapsible {
    max-height: 168px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .chips-row {
    gap: 6px;
    margin-bottom: 8px;
    padding-top: 2px;
  }

  .chip {
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 16px;
  }

  .foot-badge {
    top: -6px;
    right: -6px;
    font-size: 12px;
    min-width: 16px;
    height: 16px;
  }

  .input-row {
    gap: 8px;
  }

  .input-field {
    border-radius: 20px;
    padding: 10px 14px;
    font-size: 21px;
  }

  .send-btn {
    width: 34px;
    height: 34px;
  }

  .send-btn svg {
    width: 14px;
    height: 14px;
  }

  .overlay {
    top: 96px;
  }

  .ov-top {
    padding: 10px 14px 6px;
  }

  .ov-back {
    width: 26px;
    height: 26px;
    font-size: 21px;
  }

  .prod-img {
    height: 270px;
  }

  .tryon-btn {
    font-size: 15px;
    padding: 4px 10px;
  }

  .ov-body {
    padding: 12px 14px 4px;
  }

  .prod-name {
    font-size: 24px;
  }

  .prod-meta {
    font-size: 16.5px;
    margin-bottom: 10px;
  }

  .anna-card {
    padding: 9px 10px;
    margin-bottom: 10px;
  }

  .ac-h {
    margin-bottom: 6px;
  }

  .ac-ava {
    width: 20px;
    height: 20px;
    font-size: 15px;
  }

  .ac-nm {
    font-size: 16.5px;
  }

  .ac-lb {
    font-size: 15px;
  }

  .ac-rec {
    font-size: 18px;
    line-height: 1.65;
  }

  .sec-t {
    font-size: 18px;
    margin-bottom: 7px;
  }

  .sec-t::before {
    height: 11px;
  }

  .size-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .sz {
    font-size: 16.5px;
    padding: 6px 12px;
  }

  .sz.rec::after {
    font-size: 12px;
    top: -10px;
  }

  .size-note {
    font-size: 16.5px;
    margin-bottom: 10px;
  }

  .outfit-row {
    gap: 7px;
    margin-bottom: 10px;
  }

  .oi {
    width: 72px;
  }

  .oi-img {
    width: 72px;
    height: 92px;
  }

  .oi-this {
    font-size: 10.5px;
    padding: 2px 4px;
  }

  .oi-nm {
    font-size: 15px;
  }

  .oi-pr {
    font-size: 16.5px;
  }

  .buy-bar {
    padding: 9px 14px 11px;
  }

  .buy-price-main {
    font-size: 33px;
  }

  .buy-price-old {
    font-size: 16.5px;
  }

  .buy-price-badge {
    font-size: 15px;
    padding: 0 4px;
  }

  .buy-bar-inner {
    height: 34px;
  }

  .buy-btn {
    width: 84px;
    font-size: 16.5px;
  }

  .canvas {
    padding: 12px 14px 10px;
  }

  .user-bubble {
    font-size: 19.5px;
    padding: 9px 12px;
  }

  .ar-text {
    font-size: 19.5px;
    line-height: 1.65;
  }

  .panel {
    max-height: 62dvh;
  }

  .panel-hdr {
    padding: 12px 14px 10px;
  }

  .panel-title {
    font-size: 19.5px;
  }

  .panel-close {
    font-size: 18px;
  }

  .empty-text {
    font-size: 18px;
    padding: 18px 14px 20px;
  }

  .fp-item,
  .hl-item {
    gap: 10px;
    padding: 10px 14px;
  }

  .fp-thumb {
    width: 42px;
    height: 54px;
  }

  .fp-name,
  .hl-q {
    font-size: 18px;
  }

  .fp-price {
    font-size: 18px;
  }

  .fp-time,
  .hl-time {
    font-size: 15px;
  }

  .hl-tag {
    font-size: 15px;
    padding: 2px 6px;
  }

  .hl-arrow {
    font-size: 21px;
  }

  .phone.detail-open .overlay {
    bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  }

  .phone.detail-open .panel-region {
    bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  }
}

/* iPhone 14 Pro Max portrait: 430 x 932 */
@media (min-width: 420px) and (max-width: 440px) and (min-height: 900px) {
  .phone {
    --detail-dock-height: 172px;
  }

  .sbar-collapsible {
    font-size: 22.5px;
    padding: calc(12px + env(safe-area-inset-top)) 18px 7px;
  }

  .logo {
    width: 38px;
    height: 38px;
    font-size: 13.5px;
  }

  .bname {
    font-size: 27px;
  }

  .bmeta {
    font-size: 18px;
  }

  .btag {
    font-size: 16.5px;
    padding: 3px 7px;
  }

  .anna-text {
    font-size: 24px;
    line-height: 1.7;
  }

  .fi-tag {
    font-size: 16.5px;
    min-height: 16px;
  }

  .fi-name {
    font-size: 22.5px;
    min-height: 38px;
  }

  .fi-price {
    font-size: 33px;
  }

  .chip {
    font-size: 21px;
    padding: 7px 13px;
  }

  .input-field {
    font-size: 24px;
    padding: 11px 15px;
  }

  .send-btn {
    width: 38px;
    height: 38px;
  }

  .send-btn svg {
    width: 15px;
    height: 15px;
  }

  .bbot-collapsible {
    max-height: 182px;
  }

  .overlay {
    top: 102px;
  }

  .phone.detail-open .overlay {
    bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  }

  .phone.detail-open .bbot-collapsible {
    height: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  }

  .phone.detail-open .panel-region {
    bottom: calc(var(--detail-dock-height) + env(safe-area-inset-bottom));
  }

  .prod-name {
    font-size: 27px;
  }

  .prod-meta {
    font-size: 18px;
  }

  .ac-nm,
  .ac-lb {
    font-size: 18px;
  }

  .ac-rec {
    font-size: 19.5px;
  }

  .sec-t {
    font-size: 19.5px;
  }

  .sz {
    font-size: 18px;
    padding: 7px 13px;
  }

  .size-note {
    font-size: 18px;
  }

  .oi-nm {
    font-size: 16.5px;
  }

  .oi-pr {
    font-size: 18px;
  }

  .buy-price-main {
    font-size: 36px;
  }

  .buy-price-old,
  .buy-price-badge {
    font-size: 16.5px;
  }

  .buy-bar-inner {
    height: 38px;
  }

  .buy-btn {
    width: 92px;
    font-size: 18px;
  }

  .user-bubble {
    font-size: 21px;
  }

  .ar-text {
    font-size: 21px;
  }

  .panel-title {
    font-size: 21px;
  }

  .panel-close,
  .empty-text,
  .fp-name,
  .hl-q,
  .fp-price {
    font-size: 19.5px;
  }

  .fp-time,
  .hl-time {
    font-size: 16.5px;
  }

  .hl-tag {
    font-size: 16.5px;
    padding: 2px 7px;
  }
}
