:root {
  --orange: #ff5a1f;
  --orange-dark: #e94d16;
  --orange-light: #fff4ef;
  --orange-soft: #fff8f5;
  --orange-border: #f6b28f;
  --page: #f7f7f8;
  --text: #222;
  --regular: #555;
  --muted: #999;
  --divider: #f2f2f2;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-synthesis: none;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #eef0f3; }
button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #ff9a73; outline-offset: 2px; }
.demo-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}
.phone {
  position: relative;
  width: min(390px, 100vw);
  height: min(844px, calc(100vh - 48px));
  min-height: 680px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 72px rgb(25 30 38 / 18%);
}
.template-switcher {
  width: 272px;
  max-height: min(844px, calc(100vh - 48px));
  overflow: auto;
  padding: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 18px 54px rgb(25 30 38 / 12%);
}
.template-switcher header > span {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 10px;
}
.template-switcher h2 { margin: 0; font-size: 18px; line-height: 26px; }
.template-switcher p { margin: 3px 0 14px; color: var(--muted); font-size: 11px; line-height: 17px; }
.template-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.template-options button {
  min-width: 0;
  padding: 5px;
  border: 1px solid #ededed;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  transition: 160ms ease;
}
.template-options button:hover { border-color: #ffc3a8; transform: translateY(-1px); }
.template-options button.active { border-color: var(--orange); background: var(--orange-soft); box-shadow: 0 0 0 2px rgb(255 90 31 / 10%); }
.template-options i {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  display: block;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  filter: none;
}
.template-options span { display: flex; align-items: center; gap: 5px; margin-top: 5px; overflow: hidden; font-size: 10px; white-space: nowrap; }
.template-options b { color: var(--muted); font-size: 8px; font-weight: 500; }
.template-options.template-set-options { grid-template-columns: 1fr; gap: 10px; }
.template-options .template-set-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin-top: 0;
  overflow: visible;
  white-space: normal;
}
.template-set-preview i { border-radius: 4px; }
#app, .app-screen { width: 100%; height: 100%; }
.app-screen { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.screen-scroll { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.screen-scroll::-webkit-scrollbar { display: none; }

.status-bar {
  z-index: 5;
  min-height: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 19px 7px;
  background: #fff;
  font-size: 13px;
}
.status-bar > strong { font-size: 14px; font-weight: 700; }
.status-icons { display: flex; align-items: center; gap: 6px; height: 16px; color: #101114; }
.status-icons .signal { width: 15px; height: 12px; background: linear-gradient(to top, #111 0 100%); clip-path: polygon(0 100%, 0 72%, 18% 72%, 18% 52%, 42% 52%, 42% 30%, 66% 30%, 66% 8%, 88% 8%, 88% 100%); }
.status-icons .wifi { position: relative; width: 15px; height: 12px; overflow: hidden; }
.status-icons .wifi::before { content: ""; position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border: 2px solid #111; border-color: #111 transparent transparent #111; border-radius: 50%; transform: rotate(45deg); }
.status-icons .wifi::after { content: ""; position: absolute; left: 6px; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: #111; }
.status-icons b { display: inline-grid; place-items: center; min-width: 23px; height: 14px; padding: 0 3px; border-radius: 4px; background: #17181a; color: #fff; font-size: 9px; }

.home-top {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #fff;
}
.category-switch { padding: 7px 0; font-size: 15px; font-weight: 600; }
.category-switch span { margin-left: 3px; font-size: 12px; }
.message-button { position: relative; width: 36px; height: 36px; }
.message-button i {
  position: absolute;
  inset: 8px 6px 7px;
  border: 2px solid #1f356e;
  border-radius: 5px;
}
.message-button i::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 2px; background: #1f356e; box-shadow: 0 -5px 0 #1f356e; }
.message-button b { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #f22626; }
.home-scroll { padding-bottom: 82px; background: var(--page); }

.business-tabs {
  height: 38px;
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 0 16px;
  border-bottom: 1px solid #f6f6f6;
  background: #fff;
}
.business-tabs button { position: relative; padding: 0 2px; color: #777; font-size: 14px; }
.business-tabs button.active { color: #222; font-weight: 600; }
.business-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 24px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); transform: translateX(-50%); }

.hero-banner {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  margin: 10px 12px 8px;
  padding: 14px 18px;
  overflow: hidden;
  border-radius: 9px;
  background:
    linear-gradient(165deg, transparent 0 54%, rgb(255 255 255 / 16%) 55% 56%, transparent 57%),
    radial-gradient(circle at 92% 16%, rgb(255 255 255 / 78%) 0 15%, transparent 16%),
    linear-gradient(110deg, #ff5538 0%, #ff7852 49%, #ffd4b2 100%);
  color: #fff;
}
.hero-banner::before { content: ""; position: absolute; left: -30px; right: 108px; bottom: -70px; height: 115px; border-radius: 50%; background: rgb(255 255 255 / 12%); transform: rotate(-8deg); }
.hero-copy { position: relative; z-index: 2; width: 210px; }
.hero-copy > span { display: inline-block; margin-bottom: 4px; padding: 2px 7px; border-radius: 9px; background: rgb(151 35 20 / 18%); font-size: 10px; font-weight: 500; }
.hero-copy > strong { display: block; font-size: 25px; font-weight: 800; line-height: 1.18; letter-spacing: .5px; text-shadow: 0 1px 0 rgb(150 35 18 / 15%); }
.hero-copy > small { display: block; margin-top: 4px; color: rgb(255 255 255 / 92%); font-size: 11px; }
.hero-copy > button { margin-top: 8px; padding: 5px 13px; border-radius: 999px; background: linear-gradient(#fff9cc, #ffe597); color: #c74322; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%); font-size: 10px; font-weight: 700; }
.hero-visual {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 7px;
  width: 124px;
  height: 112px;
}
.hero-target { position: absolute; left: 0; top: 1px; width: 61px; height: 61px; border: 7px solid #fff; border-radius: 50%; box-shadow: inset 0 0 0 7px #ff6540, inset 0 0 0 13px #fff, inset 0 0 0 20px #ff6540; }
.hero-target::before { content: ""; position: absolute; left: -12px; top: -10px; width: 42px; height: 6px; border-radius: 6px; background: #5a5c65; transform: rotate(42deg); transform-origin: right center; }
.hero-target::after { content: ""; position: absolute; left: 26px; top: 26px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 6px #ff6540; }
.hero-book { position: absolute; right: 3px; bottom: 1px; width: 69px; height: 88px; padding: 11px 7px; border: 4px solid #fff; border-radius: 6px; background: linear-gradient(160deg, #fff 0 62%, #ffe4d6 63%); color: #ff5a37; box-shadow: 0 5px 12px rgb(148 50 26 / 20%); font-style: normal; transform: rotate(7deg); }
.hero-book::after { content: "✓"; position: absolute; right: 6px; bottom: 7px; width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid #ff6847; border-radius: 50%; font-weight: 800; transform: rotate(-14deg); }
.hero-book span { display: block; font-size: 10px; font-weight: 700; }
.hero-book strong { display: block; margin-top: 3px; font-size: 15px; line-height: 1; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 10px 13px;
  background: #fff;
}
.quick-grid button { display: grid; justify-items: center; gap: 5px; padding: 0; font-size: 12px; }
.quick-grid i {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-style: normal;
  box-shadow: inset 0 -5px 9px rgb(70 70 70 / 7%);
}
.quick-course { background: linear-gradient(145deg, #ff8b3d, #ffc165); color: #fff; }
.quick-course b { width: 23px; height: 23px; border: 2px solid #fff; border-radius: 7px; }
.quick-course b::before { content: ""; position: absolute; left: 10px; top: 12px; width: 20px; height: 2px; background: #fff; box-shadow: 0 6px 0 #fff, 0 12px 0 #fff; }
.quick-bank { background: linear-gradient(150deg, #b8f3d4, #60dca0); color: #fff; transform: rotate(-8deg); }
.quick-bank b { width: 10px; height: 29px; border-radius: 4px 4px 2px 2px; background: #fff; transform: rotate(28deg); }
.quick-bank b::after { content: ""; position: absolute; left: 15px; bottom: 6px; border: 5px solid transparent; border-top-color: #fff; transform: rotate(28deg); }
.quick-material { background: linear-gradient(150deg, #dcecff, #83b8f4); color: #fff; }
.quick-material b { width: 25px; height: 20px; border-radius: 3px 3px 8px 8px; background: #fff; }
.quick-material b::before { content: ""; position: absolute; left: 9px; top: 10px; width: 24px; height: 14px; border-radius: 5px 5px 2px 2px; background: rgb(255 255 255 / 55%); }
.quick-live { overflow: hidden; background: linear-gradient(150deg, #ffd2bf, #ff8258); color: #fff; }
.quick-live::before { content: ""; position: absolute; left: 6px; right: 6px; bottom: -2px; height: 23px; border-radius: 50% 50% 0 0; background: #f4d6c7; }
.quick-live b { position: relative; z-index: 1; width: 21px; height: 21px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 8px; }

.live-section {
  margin-top: 8px;
  padding: 11px 12px 4px;
  background: #fff;
}
.live-section .section-header { margin-bottom: 3px; }
.live-list { display: grid; }
.home-live {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  background: #fff;
}
.home-live:last-child { border-bottom: 0; }
.live-thumb {
  position: relative;
  grid-row: 1 / span 2;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(145deg, #fff1ea, #ffc4ab);
  color: #d63f1a;
}
.live-thumb.blue { background: linear-gradient(145deg, #edf4ff, #a7c8ff); color: #245bb6; }
.live-thumb::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(130deg, transparent 0 12px, rgb(255 255 255 / 14%) 13px 14px); }
.live-thumb span { position: absolute; z-index: 1; top: 0; left: 0; padding: 2px 6px; border-radius: 0 0 4px; background: #ff4d4f; color: #fff; font-size: 9px; }
.live-thumb.blue span { background: #6d7788; }
.live-thumb strong { position: relative; z-index: 1; margin-top: 8px; font-size: 14px; font-weight: 800; }
.live-thumb small { position: relative; z-index: 1; margin-top: -13px; color: currentColor; font-size: 9px; }
.live-thumb i { position: absolute; right: 6px; bottom: 5px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 8px; font-style: normal; }
.home-live > div:nth-child(2) { align-self: start; min-width: 0; padding-top: 3px; padding-right: 52px; }
.home-live b { display: block; overflow: hidden; font-size: 13px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.home-live p, .home-live small { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.home-live > button { grid-column: 2; justify-self: end; margin-top: -30px; padding: 5px 7px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 9px; }

.home-section, .news-section { margin-top: 8px; padding: 12px 12px 4px; background: #fff; }
.section-header { min-height: 25px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section-header h2 { position: relative; margin: 0; padding-left: 9px; font-size: 16px; font-weight: 600; }
.section-header h2::before { content: ""; position: absolute; left: 0; top: 3px; width: 3px; height: 16px; border-radius: 2px; background: var(--orange); }
.section-header button { display: flex; align-items: center; color: var(--muted); font-size: 12px; }
.section-header button span { margin-left: 3px; font-size: 18px; }

.product-list { display: grid; }
.product-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  background: #fff;
}
.product-card:last-child { border-bottom: 0; }
.card-hit { position: absolute; z-index: 1; inset: 0; width: 100%; }
.product-media { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; align-self: start; pointer-events: none; }
.product-cover { position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; pointer-events: none; }
.cover-template {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9px;
  overflow: hidden;
  background: linear-gradient(145deg, #ff7a3d, #ffad67);
  color: #fff;
}
.cover-template::before {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -24px;
  top: -28px;
  border: 13px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
}
.cover-template small, .cover-template strong { position: relative; z-index: 1; }
.cover-template small { margin-bottom: 3px; color: rgb(255 255 255 / 82%); font-size: 8px; }
.cover-template strong { max-width: 80px; font-size: 14px; line-height: 1.15; }
.cover-template i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgb(255 255 255 / 88%);
  color: var(--orange-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.cover-template.class-coral { background: linear-gradient(145deg, #ff5f54, #ff9077); }
.cover-template.class-dark { background: linear-gradient(145deg, #42312b, #b85c3d); }
.cover-template.class-mint { background: linear-gradient(145deg, #2fae91, #72d2b5); }
.cover-template.course-sprint { background: linear-gradient(145deg, #4e6fb4, #8aabed); }
.cover-template.trial-orange { background: linear-gradient(145deg, #ff773b, #ffb07f); }
.cover-template.trial-teal { background: linear-gradient(145deg, #1e8b84, #5bc1ae); }
.cover-stack { position: relative; width: 100%; height: 100%; display: block; }
.cover-stack > .cover-template { position: absolute; inset: 0; }
.cover-stack img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; }
.cover-trial-badge {
  position: absolute;
  z-index: 3;
  right: 5px;
  top: 5px;
  padding: 2px 5px 3px;
  border-radius: 3px;
  background: rgb(255 90 31 / 94%);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  line-height: 11px;
}
.cover-kind-badge {
  position: absolute;
  z-index: 3;
  left: 5px;
  top: 5px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgb(255 143 61 / 96%);
  box-shadow: 0 1px 4px rgb(116 47 13 / 12%);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px;
}
.cover-stack.fallback img { display: none; }

.product-copy { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; pointer-events: none; }
.product-title-row { min-width: 0; display: flex; align-items: flex-start; gap: 4px; }
.kind-badge {
  flex: 0 0 auto;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border-radius: 4px;
  background: linear-gradient(145deg, #ff8c3a, #ffb55e);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
}
.trial .kind-badge { background: #18b3aa; }
.product-title-row h3 {
  display: block;
  min-width: 0;
  max-height: 2.6em;
  margin: -1px 0 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
}
.selling-point {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--regular);
  font-size: 9px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-description {
  height: 13px;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--regular);
  font-size: 9px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-description.is-empty { visibility: hidden; }
.product-validity {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selling-tags { min-height: 15px; display: flex; gap: 3px; margin-top: 3px; overflow: hidden; }
.selling-tags span {
  flex: 0 0 auto;
  padding: 0 3px;
  border: 1px solid #f3b394;
  border-radius: 3px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 8px;
  line-height: 13px;
}
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 3px; }
.product-proof { min-width: 0; display: flex; align-items: center; gap: 6px; }
.product-proof span { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.card-price { flex: 0 0 auto; color: var(--orange); font-size: 11px; font-weight: 600; line-height: 14px; white-space: nowrap; }
.card-price.free { color: #14a78f; }
.purchase-status { align-self: flex-end; padding: 0 2px 2px; color: var(--muted); font-size: 10px; line-height: 18px; }
.product-card.class { min-height: 72px; }
.product-card.standard { grid-template-columns: 106px minmax(0, 1fr); min-height: 76px; gap: 10px; padding: 8px 0; }
.product-card.standard.class { min-height: 76px; }
.product-card.standard .product-title-row h3 { font-size: 13px; line-height: 1.32; }
.product-card.standard .selling-point { margin-top: 3px; font-size: 9.5px; line-height: 13px; }
.product-card.standard .class-description { height: 14px; font-size: 9.5px; line-height: 14px; }
.product-card.standard .product-validity { font-size: 8.5px; line-height: 12px; }
.product-card.standard .selling-tags { margin-top: 4px; }
.product-card.standard .selling-tags span { padding: 0 4px; font-size: 8.5px; }
.product-card.standard .product-proof span { font-size: 9px; }
.product-card.standard .card-price { font-size: 12.5px; line-height: 15px; }
.product-card.standard .purchase-status { font-size: 12px; line-height: 20px; }
.product-card.standard.course[data-source="course_course"] {
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 0;
  gap: 9px;
  padding: 7px 0;
}
.product-card.standard.course[data-source="course_course"] .selling-tags {
  min-height: 14px;
  gap: 3px;
  margin-top: 2px;
}
.product-card.standard.course[data-source="course_course"] .selling-tags span {
  padding: 0 4px;
  border: 0;
  font-size: 8.5px;
  line-height: 14px;
}
.product-card.standard.course[data-source="course_course"] .product-foot {
  margin-top: auto;
  padding-top: 2px;
}
.product-card.standard.course[data-source="course_course"] .product-proof span,
.product-card.standard.course[data-source="course_course"] .card-price,
.product-card.standard.course[data-source="course_course"] .purchase-status {
  line-height: 15px;
}
.product-card.standard.course[data-source="course_course"] .purchase-status { padding: 0; }

.class-showcase {
  --class-bg: linear-gradient(135deg, #ff5a1f, #ff8b57);
  display: grid;
  gap: 9px;
}
.class-feature-card {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(24 32 46 / 7%);
  color: #fff;
}
.class-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--class-bg);
  background-position: center;
  background-size: cover;
  filter: none;
  opacity: 1;
}
.class-feature-content {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  padding: 11px 13px;
}
.class-feature-content::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 7%), transparent 68%);
  pointer-events: none;
}
.class-feature-content > * { position: relative; z-index: 2; }
.class-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(145deg, #ff7f2f, #ffad54);
  box-shadow: 0 2px 6px rgb(114 38 4 / 20%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.class-feature-card h3 {
  max-width: 70%;
  max-height: 40px;
  margin: 5px 0 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--class-ink, #222);
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  text-shadow: none;
  white-space: normal;
}
.class-feature-tags { display: flex; gap: 5px; margin-top: 5px; overflow: hidden; }
.class-feature-tags span {
  flex: 0 0 auto;
  padding: 1px 6px;
  border: 0;
  border-radius: 4px;
  background: var(--class-tag-bg, #f2f2f2);
  color: var(--class-accent, #666);
  font-size: 8px;
  line-height: 17px;
}
.class-feature-description {
  width: 64%;
  height: 12px;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--class-ink, #222);
  font-size: 8px;
  line-height: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 1;
}
.class-feature-description.is-empty { visibility: hidden; }
.class-feature-meta {
  position: absolute !important;
  left: 13px;
  bottom: 15px;
  max-width: 62%;
  display: flex;
  gap: 8px;
  color: var(--class-ink, #222);
  font-size: 8px;
  opacity: 1;
  white-space: nowrap;
}
.class-feature-price {
  position: absolute !important;
  right: 9px;
  bottom: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  text-shadow: 0 1px 4px rgb(0 0 0 / 28%);
}
.class-showcase.has-image-price-zone .class-feature-price {
  color: var(--orange);
  text-shadow: none;
}
.home-course-showcase { display: grid; }
.home-course-card {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
  background: #fff;
}
.home-course-card:last-child { border-bottom: 0; }
.home-course-cover {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: #f3f4f6;
  pointer-events: none;
}
.home-course-cover .cover-stack, .home-course-cover .cover-template { position: absolute; inset: 0; }
.home-course-cover .cover-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-course-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.home-course-copy .product-title-row h3 {
  max-height: 36px;
  font-size: 13px;
  line-height: 18px;
}
.home-course-copy .selling-tags {
  min-height: 14px;
  gap: 3px;
  margin-top: 2px;
}
.home-course-copy .selling-tags span {
  padding: 0 3px;
  border: 0;
  font-size: 9px;
  line-height: 14px;
}
.home-course-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; margin-top: 0; }
.home-course-foot span { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.home-course-foot strong { flex: 0 0 auto; color: var(--orange); font-size: 14px; font-weight: 600; line-height: 18px; }

.news-section { padding-bottom: 12px; }
.news-section > button { width: 100%; display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--divider); font-size: 12px; text-align: left; }
.news-section > button span { color: var(--muted); }

.page-nav {
  min-height: 66px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  padding: 0 7px;
  background: #fff;
}
.page-nav h1 { margin: 0; text-align: center; font-size: 18px; font-weight: 500; }
.round-nav { position: relative; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid #f0f0f0; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgb(40 44 50 / 7%); }
.page-nav .round-nav:last-child { justify-self: end; }
.back-icon i { width: 13px; height: 13px; border-left: 2px solid #242424; border-bottom: 2px solid #242424; transform: translateX(2px) rotate(45deg); }
.share-icon i { position: relative; width: 18px; height: 18px; border: 2px solid #242424; border-radius: 3px; }
.share-icon i::before { content: ""; position: absolute; right: -3px; top: -5px; width: 10px; height: 10px; border-top: 2px solid #242424; border-right: 2px solid #242424; background: #fff; }
.share-icon i::after { content: ""; position: absolute; right: -3px; top: -4px; width: 10px; height: 2px; background: #242424; transform: rotate(-45deg); transform-origin: right center; }
.course-tabs {
  min-height: 51px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--divider);
  background: #fff;
}
.course-tabs button { position: relative; padding: 0 2px; color: #666; font-size: 15px; font-weight: 600; }
.course-tabs button.active { color: var(--text); }
.course-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 25px; height: 3px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); }
.course-tabs small { position: absolute; top: 4px; right: 3px; padding: 1px 3px; border-radius: 5px; background: #ffb354; color: #fff; font-size: 7px; font-weight: 500; }
.list-scroll { margin-bottom: 84px; padding: 0 16px 26px; background: #fff; }
.class-color-list {
  display: grid;
  gap: 9px;
  margin: 0 -16px;
  padding: 10px 12px 20px;
  background: var(--page);
}
.class-color-card {
  position: relative;
  min-height: 124px;
  overflow: hidden;
  padding: 11px 12px 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #242424;
}
.class-color-card.tone-1,
.class-color-card.tone-2,
.class-color-card.tone-3,
.class-color-card.tone-4,
.class-color-card.tone-5,
.class-color-card.tone-6 { background: #fff; }
.class-color-head {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  pointer-events: none;
}
.class-color-badge {
  flex: 0 0 auto;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 21px;
}
.class-color-head h3 {
  min-width: 0;
  max-height: 40px;
  margin: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.class-color-body {
  position: relative;
  z-index: 2;
  min-height: 37px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  pointer-events: none;
}
.class-color-description {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.class-color-description p {
  margin: 0;
  overflow: hidden;
  color: #555;
  font-size: 10.5px;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-color-description p.is-empty { visibility: hidden; }
.class-color-description small {
  overflow: hidden;
  color: #8b8b8b;
  font-size: 9px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-color-buyers {
  flex: 0 0 auto;
  color: #777;
  font-size: 9.5px;
  line-height: 13px;
  white-space: nowrap;
}
.class-color-foot {
  position: relative;
  z-index: 2;
  min-height: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgb(71 67 63 / 10%);
  pointer-events: none;
}
.class-color-tags {
  min-width: 0;
  display: flex;
  gap: 4px;
  overflow: hidden;
}
.class-color-tags span {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 8.5px;
  line-height: 13px;
}
.class-color-foot strong {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.list-intro { padding: 13px 0 6px; }
.list-intro span { display: inline-block; color: var(--orange-dark); font-size: 12px; font-weight: 600; }
.list-intro p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }

.trial-status .status-bar { min-height: 38px; padding-bottom: 6px; background: #050505; color: #fff; }
.trial-status .status-icons .signal { background: #fff; }
.trial-status .status-icons .wifi::before { border-color: #fff transparent transparent #fff; }
.trial-status .status-icons .wifi::after { background: #fff; }
.trial-status .status-icons b { background: #fff; color: #111; }
.trial-player { position: relative; height: 238px; overflow: hidden; background: #102d2d; }
.trial-back { position: absolute; z-index: 3; top: 12px; left: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / 22%); }
.trial-back i { width: 12px; height: 12px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(2px) rotate(45deg); }
.trial-player img { width: 100%; height: 100%; display: block; object-fit: cover; }
.player-shade { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(rgb(0 0 0 / 8%) 25%, rgb(0 0 0 / 75%)); color: #fff; }
.player-shade span { font-size: 10px; }
.player-shade strong { margin-top: 3px; font-size: 16px; }
.player-shade button { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; padding-left: 3px; border: 2px solid rgb(255 255 255 / 80%); border-radius: 50%; background: rgb(0 0 0 / 28%); color: #fff; font-size: 17px; transform: translate(-50%, -50%); }
.player-shade small { position: absolute; right: 12px; bottom: 12px; font-size: 9px; }
.trial-tabs { min-height: 56px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--divider); background: #fff; }
.trial-tabs button { position: relative; color: #666; font-size: 17px; }
.trial-tabs button.active { color: var(--text); font-weight: 600; }
.trial-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); }
.trial-scroll { margin-bottom: 84px; padding: 0 16px 24px; background: #fff; }
.trial-list .card-price { color: var(--orange); }

.preserved-note { margin: 14px 0 4px; padding: 8px 10px; border-radius: 6px; background: #fafafa; color: var(--muted); font-size: 10px; }
.preserved-note span { margin-right: 6px; color: #666; font-weight: 600; }
.book-row {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}
.book-cover { height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 8px; border-radius: 6px; background: linear-gradient(135deg, #8751e7, #bb82ff); color: #fff; }
.book-cover.purple { background: linear-gradient(135deg, #6c52d9, #a96ff2); }
.book-cover i { font-size: 9px; font-style: normal; }
.book-cover strong { margin-top: 7px; font-size: 13px; text-align: center; }
.book-row h3 { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.book-row p { display: flex; gap: 4px; margin: 8px 0 0; }
.book-row p span { padding: 1px 4px; border: 1px solid var(--orange-border); border-radius: 3px; color: var(--orange-dark); font-size: 8px; }
.book-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.book-row > strong { position: absolute; right: 0; bottom: 13px; color: var(--orange); font-size: 15px; }
.legacy-list article { position: relative; padding: 18px 0; border-bottom: 1px solid var(--divider); }
.legacy-list b { font-size: 14px; }
.legacy-list p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.legacy-list strong { position: absolute; right: 0; bottom: 17px; color: var(--orange); font-size: 12px; }

.bottom-nav {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 5px 10px 4px;
  border-top: 1px solid #f0f0f0;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 -5px 18px rgb(40 44 50 / 5%);
}
.bottom-nav button { display: grid; place-items: center; align-content: center; gap: 3px; color: #8d8d8d; font-size: 10px; }
.bottom-nav button.active { color: var(--orange); }
.bottom-nav i { position: relative; width: 24px; height: 23px; display: block; font-style: normal; }
.nav-home::before { content: ""; position: absolute; left: 5px; top: 7px; width: 14px; height: 13px; border-radius: 2px; background: currentColor; }
.nav-home::after { content: ""; position: absolute; left: 5px; top: 2px; width: 14px; height: 14px; background: currentColor; transform: rotate(45deg) scale(.72); }
.nav-bank::before { content: ""; position: absolute; left: 6px; top: 2px; width: 13px; height: 19px; border: 2px solid currentColor; border-radius: 2px; }
.nav-bank::after { content: ""; position: absolute; left: 9px; top: 8px; width: 7px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.nav-study::before { content: ""; position: absolute; left: 2px; top: 5px; width: 20px; height: 14px; border: 2px solid currentColor; clip-path: polygon(0 0, 50% 28%, 100% 0, 100% 72%, 50% 100%, 0 72%); }
.nav-study::after { content: ""; position: absolute; left: 11px; top: 9px; width: 2px; height: 12px; background: currentColor; }
.nav-me::before { content: ""; position: absolute; left: 8px; top: 1px; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
.nav-me::after { content: ""; position: absolute; left: 5px; bottom: 0; width: 14px; height: 9px; border: 2px solid currentColor; border-radius: 9px 9px 3px 3px; }

.floating-service {
  position: absolute;
  z-index: 9;
  right: -46px;
  bottom: 78px;
  width: 58px;
  height: 67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2px 3px;
  border-radius: 30px 30px 10px 10px;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 4px 8px rgb(55 55 55 / 14%));
  transition: transform 180ms ease;
}
.floating-service::after {
  content: "‹";
  position: absolute;
  z-index: 4;
  left: 0;
  top: 22px;
  width: 12px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px 0 0 6px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}
.floating-service:hover, .floating-service:focus { transform: translateX(-46px); }
.course-screen .floating-service, .trial-screen .floating-service { right: -46px; bottom: 12px; }
.floating-service img { position: absolute; left: 5px; top: 0; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; object-position: 72% 30%; background: #fff0ea; }
.floating-service b { position: relative; z-index: 1; width: 58px; padding: 3px 2px 0; border-radius: 9px 9px 2px 2px; background: linear-gradient(#ff875a, #ff5a1f); font-size: 9px; line-height: 12px; }
.floating-service small { position: relative; z-index: 1; width: 58px; padding-bottom: 2px; border-radius: 0 0 8px 8px; background: var(--orange); color: #fff8e2; font-size: 7px; line-height: 9px; }
.service-dot { position: absolute; z-index: 3; right: 0; top: 1px; min-width: 14px; height: 14px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #f02625; color: #fff; font-size: 7px; }

.app-toast {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 100px;
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 7px;
  background: rgb(25 25 25 / 86%);
  color: #fff;
  font-size: 11px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 180ms ease;
}
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) {
  body { background: #fff; }
  .demo-stage { display: block; min-height: 100dvh; padding: 0; }
  .phone { width: 100vw; height: 100dvh; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .template-switcher { display: none; }
}

@media (min-width: 481px) and (max-width: 760px) {
  .template-switcher { display: none; }
}
