/* 手机信息架构：推荐卡片 / 独立素材生产 / 居中助手。
   保留鹏程AI紫青色系；不依赖外部字体或参考品牌资产。 */
:root {
  --muted: #69677d;
  --bg: #f8f7fc;
}
.cloud-preview {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 14px;
  margin: 15px 0;
  background: #f3f0f8;
}
.wx-qr {
  display: block;
  width: 220px;
  max-width: 100%;
  margin: 20px auto;
}
.checkline {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.7;
}
.checkline input {
  width: 20px !important;
  min-height: 20px !important;
  flex-shrink: 0;
}
.cloud-job {
  padding: 16px !important;
}
audio {
  width: 100%;
  margin: 18px 0;
}
.form input[type='file'] {
  font-size: 12px;
  max-width: 100%;
}
body {
  background:
    radial-gradient(ellipse at 95% 8%, #e9faf9 0, transparent 40%),
    radial-gradient(ellipse at 0 40%, #f0eaff 0, transparent 50%), #f8f7fc;
}
.topbar {
  padding-top: 20px;
}
.brand small {
  letter-spacing: 1px;
}
main {
  padding-bottom: 126px;
}
.section-head h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
.home-greeting {
  font-size: 22px;
  margin-top: 4px;
}
.home-subtitle {
  margin-bottom: 18px;
}
.brand-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 23px;
  border-radius: 23px;
  background: linear-gradient(115deg, #30214f, #6241a2 62%, #4b8a96);
  color: white;
  min-height: 144px;
  margin: 12px 0 23px;
}
.brand-banner:after {
  content: '';
  position: absolute;
  right: -45px;
  top: -65px;
  width: 210px;
  height: 210px;
  border: 25px solid #ffffff10;
  transform: rotate(-22deg);
  border-radius: 62px;
  z-index: -1;
}
.brand-banner .eyebrow {
  color: #d8c9f4;
  letter-spacing: 2px;
  font-size: 9px;
}
.brand-banner h2 {
  font-size: 24px;
  line-height: 1.45;
  margin: 5px 0;
}
.brand-banner p {
  font-size: 11px;
  color: #e2d9f4;
}
.banner-symbol {
  font-size: 61px;
  flex-shrink: 0;
  color: #d3f9f4;
  text-shadow: 0 0 22px #83ead790;
}
.feature-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 119px 108px;
  gap: 12px;
}
.feature-tile {
  border-radius: 21px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.feature-tile h2 {
  font-size: 19px;
  margin: 7px 0 4px;
  z-index: 1;
}
.feature-tile p {
  font-size: 11px;
  line-height: 1.65;
  z-index: 1;
  margin: 0;
}
.feature-tile .tile-kicker {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  z-index: 1;
}
.feature-tile:after {
  position: absolute;
  right: 7px;
  bottom: -16px;
  font-size: 97px;
  opacity: 0.14;
  line-height: 1.1;
  pointer-events: none;
}
.feature-assistant {
  grid-row: span 2;
  background: linear-gradient(155deg, #7744df, #9771eb 70%, #b4a5ef);
  color: #fff;
}
.feature-assistant:after {
  content: '✦';
  font-size: 145px;
  bottom: 0;
  right: -18px;
  color: #fff;
}
.feature-assistant h2 {
  font-size: 25px;
  margin-top: 15px;
  line-height: 1.3;
}
.feature-assistant p {
  color: #efe7ff;
}
.feature-assistant .tile-cta {
  margin-top: auto;
  min-height: 36px;
  border-radius: 22px;
  background: #fff;
  color: #6736bf;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 700;
  z-index: 1;
}
.feature-materials {
  background: linear-gradient(130deg, #cff7ef, #e2f9fa);
  color: #166c70;
}
.feature-materials:after {
  content: '▱';
  transform: rotate(-15deg);
}
.feature-knowledge {
  background: linear-gradient(130deg, #eee6ff, #f3eeff);
  color: #624693;
}
.feature-knowledge:after {
  content: '✧';
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.business-tile {
  display: block;
  min-height: 125px;
  border-radius: 19px;
  padding: 17px 14px;
  background: #f0ebfc;
  border: 1px solid #e8dff940;
  position: relative;
}
.business-tile .tile-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.business-tile .icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  background: #9a76e5;
  color: #fff;
  border-radius: 9px;
}
.business-tile .icon {
  width: 17px;
  height: 17px;
}
.business-tile h3 {
  font-size: 14px;
  margin: 0;
  line-height: 1.45;
}
.business-tile p {
  font-size: 11px;
  color: #716785;
  line-height: 1.7;
  margin: 0;
}
.business-tile .availability {
  display: block;
  font-size: 9px;
  color: #81728e;
  margin-top: 10px;
}
.business-tile.cyan {
  background: #eaf8f8;
}
.business-tile.cyan .icon-box {
  background: #35a9a8;
}
.business-tile.blue {
  background: #edf3fc;
}
.business-tile.blue .icon-box {
  background: #699ce5;
}
.business-tile.peach {
  background: #fff3ec;
}
.business-tile.peach .icon-box {
  background: #eaa371;
}
.business-tile.peach p {
  color: #867263;
}
.business-tile .availability.pc {
  color: #82694a;
}
.home-stats {
  padding: 17px;
}
.home-stats .stats strong {
  font-size: 21px;
}
.tabbar {
  overflow: visible;
  border-top: 1px solid #ece7f5;
  background: #fffffff5;
  box-shadow: 0 -5px 24px #48386605;
  padding-top: 9px;
}
.tabbar a {
  font-size: 11px;
  color: #88869c;
}
.tabbar .assistant-tab {
  position: relative;
  justify-content: flex-end;
  gap: 2px;
}
.tabbar .assistant-orb {
  position: absolute;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background:
    radial-gradient(circle at 72% 22%, #afe8ef 0, transparent 33%),
    linear-gradient(135deg, #9669ee, #6839cd 65%, #39bdc0);
  border: 4px solid #fbfaff;
  border-radius: 50%;
  color: #fff;
  box-shadow:
    0 0 0 1px #e4e5f5,
    0 4px 17px #8466d94a;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}
.assistant-orb i {
  font-style: normal;
  font-size: 14px;
  position: absolute;
  top: 8px;
  right: 6px;
}
.tabbar .assistant-tab small {
  font-size: 10px;
}
.tabbar .assistant-tab.active > .assistant-orb {
  background:
    radial-gradient(circle at 72% 22%, #afe8ef 0, transparent 33%),
    linear-gradient(135deg, #9669ee, #6839cd 65%, #39bdc0);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #c6b5ec,
    0 4px 17px #8466d94a;
}
.material-intro {
  padding: 23px;
  background: linear-gradient(125deg, #d9f5f0, #f1ecfc);
  border: 0;
}
.material-intro h2 {
  font-size: 22px;
}
.category-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px;
  font-size: 15px;
  font-weight: 700;
}
.category-label span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.mobile-only-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pc-tools {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
}
.pc-tools a {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.pc-tools a:last-child {
  border: 0;
}
.pc-tools .grow {
  flex: 1;
  min-width: 0;
}
.pc-tools h3 {
  font-size: 14px;
  margin: 0 0 4px;
}
.pc-tools p {
  font-size: 11px;
  color: var(--muted);
}
.assistant-welcome {
  text-align: center;
  padding: 23px 0 8px;
}
.assistant-avatar {
  width: 72px;
  height: 72px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #ded1fa, #eee7ff 50%, #bcf1e9);
  color: #7142c4;
  font-size: 30px;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 8px 22px #865fd918;
}
.assistant-welcome h1 {
  font-size: 25px;
}
.assistant-welcome p {
  font-size: 12px;
  color: var(--muted);
}
.assistant-prompts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 20px 0;
}
.assistant-prompts button {
  background: #fff;
  border: 1px solid #e8e2f1;
  border-radius: 13px;
  padding: 13px 10px;
  min-height: 49px;
  text-align: left;
  font-size: 12px;
  color: #6e5b84;
}
.chat-history {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 22px 0;
}
.chat-message {
  max-width: 94%;
  border: 1px solid #e9e4ef;
  background: #fff;
  padding: 15px;
  border-radius: 17px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 13px;
}
.chat-message.user {
  align-self: flex-end;
  background: #eee6ff;
  border-color: #e6dbfa;
}
.chat-message.assistant {
  align-self: flex-start;
}
.chat-message small {
  display: block;
  color: #8b789a;
  margin-bottom: 5px;
  font-size: 10px;
}
.chat-message.incomplete {
  border-color: #e2c79f;
}
.assistant-compose {
  margin-top: 18px;
  padding: 17px;
}
.assistant-compose textarea {
  min-height: 93px;
}
.assistant-compose .actions {
  align-items: center;
}
.assistant-compose .actions .primary {
  margin-top: 0;
}
.assistant-privacy {
  font-size: 10px;
  color: #80758d;
  line-height: 1.7;
}
.assistant-status {
  font-size: 12px;
  color: #92744a;
  line-height: 1.7;
}
.assistant-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 15px;
}
.assistant-actions button {
  min-height: 44px;
  background: none;
  color: #765696;
  font-size: 12px;
}
.assistant-shortcuts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.assistant-shortcuts a {
  padding: 9px 13px;
  background: #edf7f5;
  color: #278780;
  border-radius: 12px;
  min-height: 38px;
  font-size: 11px;
}
@media (min-width: 600px) {
  .feature-mosaic {
    grid-template-rows: 145px 120px;
  }
  .feature-tile {
    padding: 24px;
  }
  .feature-assistant h2 {
    font-size: 32px;
  }
  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .business-tile {
    padding: 22px;
    min-height: 140px;
  }
  .business-tile h3 {
    font-size: 17px;
  }
  .brand-banner {
    min-height: 170px;
  }
  .mobile-only-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 350px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-mosaic {
    gap: 10px;
    grid-template-rows: 115px 108px;
  }
  .feature-tile {
    padding: 15px;
  }
  .feature-assistant h2 {
    font-size: 22px;
  }
  .feature-tile h2 {
    font-size: 17px;
  }
  .business-tile {
    padding: 14px 11px;
  }
  .business-tile h3 {
    font-size: 13px;
  }
  .business-tile .tile-heading {
    gap: 6px;
  }
  .brand-banner {
    padding: 19px;
  }
  .brand-banner h2 {
    font-size: 21px;
  }
  .banner-symbol {
    font-size: 45px;
  }
}

/* Rows expand with system text size; controls stay usable above the keyboard. */
.feature-mosaic {
  grid-template-rows: minmax(119px, auto) minmax(108px, auto);
}
.feature-tile {
  overflow: hidden;
  isolation: isolate;
}
.feature-tile:after {
  z-index: -1;
}
.feature-assistant .tile-cta {
  margin-top: 18px;
}
.assistant-prompts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.assistant-prompts button,
.assistant-shortcuts a,
.assistant-privacy {
  overflow-wrap: anywhere;
}
.assistant-shortcuts a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.assistant-privacy {
  font-size: 12px;
}
.assistant-compose textarea {
  scroll-margin-bottom: 28px;
}
.assistant-status:empty {
  display: none;
}
.chat-message {
  min-width: 0;
}
.brand-banner > div {
  min-width: 0;
}
.tabbar a {
  min-width: 0;
  text-align: center;
}
.tabbar .assistant-orb {
  max-width: calc(100vw / 5 - 6px);
}
@media (min-width: 600px) {
  .feature-mosaic {
    grid-template-rows: minmax(145px, auto) minmax(120px, auto);
  }
}
@media (max-width: 350px) {
  .feature-mosaic {
    grid-template-rows: minmax(115px, auto) minmax(108px, auto);
  }
  .brand {
    font-size: 18px;
  }
  .topbar {
    padding-left: 14px;
    padding-right: 14px;
    gap: 10px;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .actions > * {
    min-width: 0;
  }
  .assistant-prompts {
    grid-template-columns: 1fr;
  }
  .brand-banner {
    align-items: flex-start;
  }
  .banner-symbol {
    font-size: 35px;
  }
  .feature-tile h2 {
    overflow-wrap: anywhere;
  }
}

/* 首页保留原有紫青色系：影视入口占主卡位，助手移到右上。 */
.feature-mosaic {
  grid-template-rows: minmax(182px, auto) minmax(110px, auto);
}
.feature-playlet {
  grid-row: span 2;
  background: linear-gradient(155deg, #7744df, #9771eb 70%, #b4a5ef);
  color: #fff;
}
.feature-playlet:after {
  content: '✦';
  font-size: 145px;
  bottom: 0;
  right: -18px;
  color: #fff;
}
.feature-playlet h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-top: 25px;
}
.feature-playlet p {
  color: #efe7ff;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 15px;
}
.feature-playlet .tile-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 28px;
  margin-bottom: auto;
  border-radius: 22px;
  background: #fff;
  color: #6736bf;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}
.feature-assistant {
  grid-row: auto;
  background: linear-gradient(130deg, #cff7ef, #e2f9fa);
  color: #166c70;
}
.feature-assistant:after {
  font-size: 90px;
  bottom: -20px;
  right: 2px;
  color: #4ca6a4;
}
.feature-assistant h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 5px 0 4px;
}
.feature-assistant p {
  color: #28787c;
  font-size: 10px;
}
.feature-assistant .tile-cta {
  min-height: 0;
  margin-top: 10px;
  padding: 6px 10px;
  color: #166c70;
  font-size: 10px;
}
@media (min-width: 600px) {
  .feature-mosaic {
    grid-template-rows: minmax(175px, auto) minmax(120px, auto);
  }
  .feature-playlet h2 {
    font-size: 40px;
    margin-top: 32px;
  }
  .feature-playlet p {
    font-size: 17px;
    margin-top: 20px;
  }
  .feature-playlet .tile-cta {
    margin-top: 32px;
  }
  .feature-assistant h2 {
    font-size: 25px;
  }
  .feature-assistant p {
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .feature-mosaic {
    grid-template-rows: minmax(195px, auto) minmax(115px, auto);
  }
  .feature-playlet h2 {
    font-size: 26px;
    margin-top: 18px;
  }
  .feature-playlet p {
    font-size: 12px;
    margin-top: 10px;
  }
  .feature-playlet .tile-cta {
    margin-top: 22px;
  }
  .feature-assistant h2 {
    font-size: 16px;
  }
}
