:root {
  --ink: #0b0e0f;
  --muted: #65777a;
  --paper: #f6faf8;
  --mist: #dfecec;
  --mint: #03d8cd;
  --red: #941219;
  --crimson: #c01824;
  --line: rgba(11, 14, 15, 0.1);
  --shadow: 0 20px 50px rgba(13, 28, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--mist);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 414px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--mist);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.45);
}

.page {
  display: none;
  min-height: 100vh;
  padding: 0 17px 92px;
  background: var(--mist);
}

.page.active {
  display: block;
}

#homePage {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  padding-bottom: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  margin: 0 -17px;
  padding: 72px 22px 230px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 64% 46%, rgba(197, 35, 44, 0.58), rgba(91, 6, 13, 0.22) 36%, rgba(3, 3, 5, 0.02) 56%),
    linear-gradient(180deg, rgba(70, 4, 11, 0.68), rgba(151, 17, 25, 0.7) 42%, rgba(15, 0, 5, 0.94) 92%),
    var(--active-hero);
  background-size: cover;
  background-position: center center;
  transition: background-image 700ms ease;
}

.hero::before {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(68vw, 282px);
  height: min(40vh, 330px);
  content: "";
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, rgba(15, 0, 4, 0.52) 0 3px, rgba(255, 255, 255, 0.08) 3px 7px);
  background-position: 0 0;
  filter: blur(0.2px);
  opacity: 0.95;
  transform: translateX(-50%) rotate(3deg);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 28%, rgba(0, 0, 0, 0.78) 92%);
  pointer-events: none;
}

.top-capsule {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.top-capsule span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #202020;
}

.top-capsule span:nth-child(2) {
  width: 15px;
  height: 2px;
  border-radius: 0;
}

.top-capsule span:nth-child(3) {
  width: 18px;
  height: 18px;
  border: 2px solid #202020;
  background: transparent;
}

.brand-lockup,
.hero-title,
.hero-ripple,
.primary-btn,
.partner-strip {
  position: relative;
  z-index: 2;
}

.brand-lockup {
  margin-left: 18px;
  letter-spacing: 8px;
}

.brand-lockup h1 {
  margin: 8px 0 8px;
  font-size: 15px;
  font-weight: 500;
}

.brand-lockup p {
  margin: 0;
  font-size: 10px;
  opacity: 0.86;
}

.brand-lockup p:not(.brand-en) {
  position: relative;
  display: inline-block;
  padding: 0 18px;
}

.brand-lockup p:not(.brand-en)::before,
.brand-lockup p:not(.brand-en)::after {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 28px;
  content: "";
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-50%);
}

.brand-lockup p:not(.brand-en)::before {
  left: 0;
}

.brand-lockup p:not(.brand-en)::after {
  right: 0;
}

.brand-en {
  font-size: 14px;
  letter-spacing: 7px;
}

.hero-title {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: 90px;
  margin: 108px auto 0;
  text-align: center;
  z-index: 3;
  animation: hero-title-in 1100ms 180ms ease-out both;
}

.hero-title span {
  display: block;
  font-size: 34px;
  font-weight: 300;
}

.hero-title small {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 2px;
}

.primary-btn {
  display: block;
  min-width: 96px;
  height: 31px;
  margin: 130px auto 0;
  padding: 0 16px;
  border-radius: 2px;
  color: #fff;
  background: var(--crimson);
  font-size: 16px;
  font-weight: 800;
}

.hero-ripple {
  position: absolute;
  z-index: 2;
  top: calc(20% + min(13vh, 108px));
  left: 50%;
  width: min(66vw, 274px);
  height: min(34vh, 282px);
  overflow: hidden;
  border-radius: 50%;
  transform: translateX(-50%) rotate(3deg);
  mix-blend-mode: screen;
  opacity: 0.38;
  pointer-events: none;
}

.hero-ripple::before,
.hero-ripple::after {
  position: absolute;
  inset: 20%;
  content: "";
  border: 1px solid rgba(255, 128, 128, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 112, 0.16) 0 2px, transparent 36%);
  filter: blur(0.2px);
  animation: red-ripple 4.8s ease-out infinite;
}

.hero-ripple::after {
  animation-delay: 2.4s;
}

.partner-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 21px;
  overflow: hidden;
  font-size: 9px;
  white-space: nowrap;
}

#homePage .partner-strip {
  position: absolute;
  right: 0;
  bottom: calc(201px + env(safe-area-inset-bottom));
  left: 22px;
  margin-top: 0;
}

.brand-marquee div {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: max-content;
  animation: brand-scroll 18s linear infinite;
}

.partner-strip b {
  font-size: 13px;
  font-style: italic;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes red-ripple {
  from {
    opacity: 0.42;
    transform: scale(0.32);
  }

  to {
    opacity: 0;
    transform: scale(1.72);
  }
}

.metric-dock {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 50px;
  gap: 9px;
  margin: -105px 3px 0;
}

#homePage .metric-dock {
  position: absolute;
  right: 20px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  left: 20px;
  margin: 0;
}

.metric-dock article,
.search-fab {
  min-height: 83px;
  border-radius: 15px;
}

.metric-dock article {
  padding: 13px 10px;
  background: linear-gradient(145deg, #00ded1, #eff6f3 76%);
}

.metric-dock article:nth-child(2),
.metric-dock article:nth-child(3) {
  background: #f6f9f8;
}

.metric-dock span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.metric-dock strong {
  display: block;
  margin-top: 3px;
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}

.search-fab {
  display: grid;
  place-items: center;
  color: #fff;
  background: #050505;
}

.search-fab svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-fab svg,
.icon-button svg,
.tabbar svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.content-band {
  margin: 22px 0 0;
  padding: 24px 0;
}

.section-head p,
.doc-intro p,
.team-hero p,
.contact-card p {
  margin: 0 0 8px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.section-head h2,
.doc-intro h2,
.team-hero h2,
.contact-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.mini-case-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-case {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mini-case img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

.mini-case div {
  padding: 10px;
}

.mini-case strong {
  display: block;
  font-size: 14px;
}

.mini-case span {
  color: var(--muted);
  font-size: 11px;
}

.page-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  margin: 0 -17px;
  padding: 16px 18px 8px;
  background: rgba(223, 236, 236, 0.94);
  backdrop-filter: blur(18px);
}

.page-header h2 {
  margin: 0;
  font-size: 21px;
}

.page-header .icon-button {
  position: absolute;
  right: 18px;
  bottom: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #486064;
  background: rgba(255, 255, 255, 0.62);
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 44px;
  margin: 2px 0 12px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(130, 171, 171, 0.25);
}

.segment button {
  border-radius: 999px;
  color: #4f686c;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
}

.segment button.active {
  color: #111;
  background: #fff;
  box-shadow: 0 4px 11px rgba(17, 28, 30, 0.24);
}

.chip-row {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 0 0 13px;
  scrollbar-width: none;
}

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

.chip-row button {
  flex: 0 0 auto;
  min-width: 65px;
  height: 56px;
  border-radius: 10px;
  color: #4d6366;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.chip-row button.active {
  color: #fff;
  background: #050505;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.24);
}

.case-panel {
  display: none;
}

.case-panel.active {
  display: block;
}

body.built-mode .chip-row {
  display: none;
}

.case-card,
.doc-card,
.team-member,
.partner-card,
.contact-card,
.address-card,
.map-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(18, 39, 42, 0.08);
}

.case-card {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  padding: 10px;
}

.case-card img {
  width: 124px;
  height: 124px;
  border-radius: 12px;
  object-fit: cover;
}

.case-card h3 {
  margin: 9px 0 6px;
  font-size: 18px;
}

.case-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.tag-list span {
  padding: 3px 8px;
  border-radius: 999px;
  color: #566b6e;
  background: #dfecec;
  font-size: 11px;
  font-weight: 800;
}

.status-label {
  display: none;
}

.status-label.delayed {
  background: #e92b5b;
}

.map-card {
  padding: 18px;
}

.map-card p {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.china-map {
  position: relative;
  height: 288px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 216, 205, 0.18), rgba(255, 255, 255, 0.1)),
    #eef6f5;
}

.china-map svg {
  position: absolute;
  inset: 10px 12px;
  width: calc(100% - 24px);
  height: calc(100% - 20px);
}

.map-mainland,
.map-island {
  fill: url("#mapGradient");
}

.map-mainland {
  fill: #218d86;
  filter: drop-shadow(0 16px 20px rgba(0, 58, 55, 0.22));
}

.map-island {
  fill: #196d68;
}

.map-oversea {
  fill: #111;
  opacity: 0.86;
}

.province {
  position: absolute;
  z-index: 2;
  min-width: 66px;
  height: 31px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 12px;
  font-weight: 900;
}

.province.hunan {
  left: 142px;
  top: 158px;
}

.province.hubei {
  left: 136px;
  top: 119px;
}

.province.guangdong {
  left: 184px;
  top: 210px;
}

.province.jiangxi {
  left: 205px;
  top: 150px;
}

.province.oversea {
  left: 24px;
  top: 50px;
  background: #c01824;
}

.built-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.built-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.doc-intro,
.team-hero,
.contact-card,
.address-card {
  padding: 24px 18px;
}

.doc-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 12px;
}

.pdf-cover {
  display: grid;
  width: 88px;
  height: 118px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(160deg, #151515, #93151d);
  font-size: 22px;
  font-weight: 900;
}

.doc-card h3 {
  margin: 7px 0 6px;
  font-size: 17px;
}

.doc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.doc-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.doc-actions button {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 12px;
  font-weight: 800;
}

.doc-actions button:last-child {
  color: #111;
  background: #dfecec;
}

.embedded-reader {
  position: relative;
  margin-top: 18px;
  padding: 18px 12px 24px;
  border-radius: 20px;
  background: #f7fbfa;
  box-shadow: 0 12px 34px rgba(18, 39, 42, 0.12);
}

.embedded-reader.hidden {
  display: none;
}

.reading-doc #docsPage .page-header,
.reading-doc #docsPage .doc-intro {
  display: none;
}

.reading-doc #docList {
  display: none;
}

.reading-doc .embedded-reader {
  margin-top: 0;
  border-radius: 0 0 20px 20px;
}

.reader-close,
.reader-share {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #486064;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 39, 42, 0.12);
}

.reader-close {
  top: 14px;
  right: 76px;
}

.reader-share {
  top: 14px;
  right: 122px;
  color: #071212;
  background: var(--mint);
}

.reader-meta {
  padding: 2px 58px 10px 6px;
}

.reader-meta p {
  margin: 0 0 6px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.reader-meta h2 {
  margin: 0;
  font-size: 20px;
}

.pdf-page {
  min-height: 520px;
  margin-top: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(11, 14, 15, 0.08);
  background: #fff;
}

.pdf-page.compact {
  min-height: auto;
  margin-top: 12px;
}

.pdf-page .pdf-kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.pdf-page h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.pdf-page p {
  margin: 0;
  color: #223537;
  font-size: 14px;
  line-height: 1.65;
}

.pdf-page ol {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #344a4d;
  font-size: 13px;
  line-height: 1.75;
}

.pdf-visual {
  display: grid;
  min-height: 280px;
  margin-top: 24px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
}

.pdf-visual span {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

.team-hero {
  color: #fff;
  background:
    linear-gradient(150deg, rgba(4, 7, 8, 0.88), rgba(4, 7, 8, 0.26)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
}

.team-hero span,
.contact-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.team-list {
  display: grid;
  gap: 13px;
  margin-top: 14px;
  margin-bottom: 40px;
}

.team-member {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  text-align: left;
}

.team-member img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.team-member h3 {
  margin: 6px 0 4px;
  font-size: 17px;
}

.team-member p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.brand-wall,
.partner-card {
  margin-top: 14px;
  padding: 18px;
}

.brand-wall,
.partner-card,
.social-card,
.address-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(18, 39, 42, 0.08);
}

.brand-wall p {
  margin: 0 0 6px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand-wall h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.brand-wall div,
.partner-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.brand-wall span,
.partner-card span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #eef6f5;
  color: #43575b;
  font-size: 12px;
  font-weight: 900;
}

.partner-card h3,
.address-card h3 {
  margin: 0 0 12px;
}

.partner-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.partner-card span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #eef6f5;
  color: #43575b;
  font-size: 12px;
  font-weight: 900;
}

.contact-card {
  color: #fff;
  background:
    linear-gradient(150deg, rgba(11, 14, 15, 0.9), rgba(148, 18, 25, 0.78)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
}

.wide-btn {
  display: grid;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  place-items: center;
  border-radius: 12px;
  color: #061011;
  background: var(--mint);
  font-weight: 900;
  text-align: center;
}

.wide-btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.address-card {
  margin-top: 14px;
}

.company-address {
  margin: 16px 4px 0;
  color: #486064;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.address-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.qr-placeholder {
  display: grid;
  width: 138px;
  height: 138px;
  margin: 0 auto;
  place-items: center;
  border: 8px solid #111;
  border-radius: 16px;
  color: #111;
  background: repeating-linear-gradient(45deg, #fff 0 8px, #e6f2f1 8px 16px);
  font-size: 13px;
  font-weight: 900;
}

.qr-placeholder.agent-a {
  background: repeating-linear-gradient(45deg, #fff 0 8px, #d6fff9 8px 16px);
}

.qr-placeholder.agent-b {
  background: repeating-linear-gradient(45deg, #fff 0 8px, #ffe3ea 8px 16px);
}

.qr-placeholder.agent-c {
  background: repeating-linear-gradient(45deg, #fff 0 8px, #e7e3ff 8px 16px);
}

.tabbar {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 414px;
  height: calc(72px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(223, 236, 236, 0.9);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -14px 34px rgba(13, 28, 30, 0.14);
  backdrop-filter: blur(18px);
}

.tabbar button {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #26383b;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.tabbar button.active {
  color: var(--mint);
}

.tabbar .nav-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabbar .nav-accent {
  fill: var(--mint);
  stroke: none;
}

.tabbar span {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 21px;
  letter-spacing: 0;
}

.tabbar .tabbar-primary {
  transform: translateY(-24px);
}

.tabbar .tabbar-primary::before {
  position: absolute;
  z-index: 0;
  top: -1px;
  left: 50%;
  width: 76px;
  height: 76px;
  content: "";
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--mist);
}

.tabbar .tabbar-primary .nav-icon {
  width: 32px;
  height: 32px;
}

.tabbar .tabbar-primary span {
  min-height: auto;
  margin-top: 2px;
}

.pdf-dialog {
  width: min(100vw - 28px, 386px);
  max-width: 386px;
  height: min(86vh, 720px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.pdf-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 12px 0 18px;
}

.pdf-dialog iframe {
  width: 100%;
  height: calc(100% - 122px);
  border: 0;
  background: #f6f6f6;
}

.pdf-dialog .wide-btn {
  width: calc(100% - 24px);
  margin: 8px 12px 12px;
}

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 82px;
  max-width: 320px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.designer-dialog {
  width: min(100vw - 34px, 380px);
  max-width: 380px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: visible;
  background: transparent;
}

.designer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.poster-close {
  position: absolute;
  z-index: 3;
  top: -14px;
  right: -8px;
  background: #fff;
}

.designer-poster {
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(12, 12, 13, 0.94), rgba(148, 18, 25, 0.86)),
    var(--poster-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.designer-poster .poster-top {
  padding: 26px 24px 18px;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7));
}

.designer-poster img {
  width: 112px;
  height: 112px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
}

.designer-poster p {
  margin: 0;
}

.designer-poster .eyebrow {
  margin-top: 22px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.designer-poster h3 {
  margin: 8px 0 6px;
  font-size: 32px;
}

.designer-poster .role {
  font-size: 14px;
  opacity: 0.9;
}

.designer-poster .desc {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

.poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 24px;
  color: #101718;
  background: #fff;
}

.poster-footer strong {
  display: block;
  font-size: 16px;
}

.poster-footer span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 700px) {
  body {
    padding: 24px 0;
    background: #1c2223;
  }

  .phone-shell {
    min-height: 896px;
    border-radius: 18px;
  }

  .tabbar {
    bottom: 24px;
  }
}

@media (max-width: 699px) {
  body {
    background: var(--mist);
  }

  .phone-shell {
    max-width: none;
    box-shadow: none;
  }

  .tabbar {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
