:root {
  --ink: #17202a;
  --muted: #6f7884;
  --weak: #9aa3ad;
  --line: #e3e8ee;
  --page: #f5f7fb;
  --surface: #ffffff;
  --brand: #0b7c78;
  --brand-dark: #0b4f55;
  --brand-soft: #e7f4f1;
  --orange: #f47b20;
  --red: #ee3029;
  --blue: #244fb3;
  --gold: #b98216;
  --green: #15956d;
  --shadow: 0 10px 28px rgba(21, 33, 47, 0.08);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #eef4f6 0, #f5f7fb 260px, #f5f7fb 100%);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0 12px 112px;
}

.boot-screen {
  padding: 48px 18px;
  text-align: center;
}

.boot-title {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.boot-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.top-head {
  padding: 14px 0 10px;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-title {
  min-width: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 900;
}

.brand-mark {
  flex: 0 0 auto;
  border: 1px solid rgba(11, 124, 120, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-dark);
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 10px;
  box-shadow: 0 4px 12px rgba(21, 33, 47, 0.04);
}

.search-icon {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.search-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 40px;
  border: 0;
  outline: 0;
  padding: 0 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-clear {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.member-pill {
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -12px 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(227, 232, 238, 0.84);
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(10px);
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 0 0 auto;
  min-width: 58px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 900;
}

.tab-btn.active {
  border-color: rgba(11, 124, 120, 0.3);
  background: var(--brand);
  color: #fff;
}

.page-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe6ec;
  box-shadow: var(--shadow);
}

.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hero-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 228px;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  overflow: hidden;
  background: #dbe6ec;
}

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

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 19, 31, 0.04) 25%, rgba(9, 19, 31, 0.75) 100%);
}

.hero-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.hero-title {
  margin-top: 9px;
  font-size: 23px;
  line-height: 1.22;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.hero-desc {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.groupbuy-hero .hero-mask {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0.56) 42%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 122, 24, 0.08), rgba(30, 59, 204, 0.08));
}

.groupbuy-layer {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 20px 18px;
}

.groupbuy-badge {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a18, #2348c9);
  color: #fff;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.groupbuy-title {
  margin-top: 14px;
  color: #15264a;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 900;
}

.groupbuy-sub {
  margin-top: 8px;
  color: #435163;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.price-card {
  width: 214px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 68px 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 33, 47, 0.13);
}

.price-label {
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 9px 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.price-main {
  color: var(--red);
  padding: 9px 10px;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.price-main small {
  display: block;
  margin-top: 3px;
  color: var(--weak);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-dot.active {
  width: 18px;
  background: var(--red);
}

.entry-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 12px;
}

.entry-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.entry-section-head span {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.entry-section-head b {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.entry-card {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(21, 33, 47, 0.04);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.entry-symbol {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.entry-course .entry-symbol {
  background: var(--blue);
}

.entry-trial .entry-symbol {
  background: var(--orange);
}

.entry-campus .entry-symbol,
.entry-activity .entry-symbol {
  background: var(--green);
}

.entry-contest .entry-symbol {
  background: var(--gold);
}

.entry-title {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.entry-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.service-card,
.checkin-card,
.section,
.placeholder-card,
.campus-card,
.article-card,
.article-cta,
.error-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 12px;
}

.quick-service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.quick-service-head span {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.quick-service-head a {
  color: var(--brand);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
}

.quick-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.quick-service-item {
  min-width: 0;
  min-height: 68px;
  border-radius: 8px;
  background: #f7f9fc;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 4px;
}

.quick-service-item span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.quick-service-item b {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.service-lessons span {
  background: #eef6ff;
  color: var(--blue);
}

.service-bind span {
  background: #fff4ea;
  color: var(--orange);
}

.service-contact span {
  background: #f0f3ff;
  color: #4d5fc4;
}

.service-campus span {
  background: #eaf8f2;
  color: var(--green);
}

.service-groupbuy span {
  background: #fff3f3;
  color: var(--red);
}

.service-title {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 900;
}

.service-desc {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service-btn {
  flex: 0 0 auto;
  min-width: 92px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.checkin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf9 58%, #fff4ea 100%);
}

.checkin-title {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 900;
}

.checkin-desc {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.checkin-btn {
  flex: 0 0 auto;
  min-width: 92px;
  min-height: 40px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.section {
  overflow: hidden;
  padding: 14px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.section-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-more,
.text-link {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 900;
}

.social-list,
.content-list {
  display: grid;
  gap: 10px;
}

.social-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.social-inner {
  padding: 12px;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--brand));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
}

.author-main {
  min-width: 0;
  flex: 1 1 auto;
}

.author-name {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.publish-time {
  margin-top: 2px;
  color: var(--weak);
  font-size: 12px;
  line-height: 1.3;
}

.follow-chip {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.follow-chip.followed {
  background: var(--brand);
  color: #fff;
}

.social-title {
  margin-top: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.38;
  font-weight: 900;
}

.social-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.social-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #edf1f5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-row span,
.type-chip {
  border-radius: 999px;
  background: #f0f3f6;
  color: #56616d;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.social-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  color: var(--weak);
  font-size: 12px;
  line-height: 1.4;
}

.action-btn-text {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 900;
}

.action-btn-text.saved {
  color: var(--orange);
}

.hot-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hot-scroller::-webkit-scrollbar {
  display: none;
}

.hot-card {
  flex: 0 0 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf1f5;
}

.hot-body {
  padding: 9px;
}

.hot-title {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 900;
  min-height: 37px;
}

.hot-type {
  margin-top: 7px;
  color: var(--brand);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.content-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  min-height: 106px;
}

.content-card.large {
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 132px;
}

.content-cover {
  width: 100%;
  height: 100%;
  min-height: 106px;
  object-fit: cover;
  background: #edf1f5;
}

.content-card.large .content-cover {
  min-height: 132px;
}

.content-body {
  min-width: 0;
  padding: 10px 10px 10px 0;
}

.content-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.42;
  font-weight: 900;
}

.content-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  color: var(--weak);
  font-size: 12px;
  line-height: 1.3;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.small-btn {
  border: 0;
  cursor: pointer;
  min-height: 30px;
  border-radius: 8px;
  background: #f0f3f6;
  color: var(--brand-dark);
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.small-btn.saved {
  background: #fff2e8;
  color: #c45d16;
}

.member-hint-bar {
  position: fixed;
  left: 50%;
  bottom: calc(70px + env(safe-area-inset-bottom));
  z-index: 35;
  width: min(calc(100% - 24px), 736px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(11, 124, 120, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(21, 33, 47, 0.16);
  padding: 9px 10px;
  backdrop-filter: blur(10px);
}

.member-hint-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef2f4;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.member-hint-text {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.member-hint-btn {
  min-height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.honor-swiper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #dbe6ec;
}

.honor-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.honor-track::-webkit-scrollbar {
  display: none;
}

.honor-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}

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

.honor-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 32%, rgba(0, 0, 0, 0.62) 100%);
}

.honor-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  color: #fff;
}

.honor-title {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.honor-desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.5;
}

.placeholder-card {
  padding: 18px;
}

.placeholder-title {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.placeholder-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.campus-card {
  overflow: hidden;
}

.campus-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.kicker {
  color: var(--brand);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.campus-title {
  margin-top: 7px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.campus-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.campus-city {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.campus-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 7px;
  padding: 0 14px;
}

.campus-strip img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  background: #edf1f5;
}

.campus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 14px 0;
}

.campus-tag {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.campus-address {
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.campus-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

.campus-action {
  min-height: 42px;
  border-radius: 8px;
  background: #edf2f4;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.campus-action.primary {
  background: var(--brand);
  color: #fff;
}

.float-contact {
  position: fixed;
  right: max(12px, calc((100vw - 760px) / 2 + 12px));
  bottom: 92px;
  z-index: 30;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 33, 47, 0.16);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.float-contact img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 25;
  width: min(100%, 760px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  min-width: 0;
}

.bottom-item {
  min-width: 0;
  min-height: 42px;
  border-radius: 8px;
  background: #f0f3f6;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.bottom-item.primary {
  background: linear-gradient(90deg, #ff9517, #ee3029);
  color: #fff;
}

.bottom-item.active {
  background: var(--brand);
  color: #fff;
}

.line1,
.line2,
.line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line1 {
  -webkit-line-clamp: 1;
}

.line2 {
  -webkit-line-clamp: 2;
}

.line3 {
  -webkit-line-clamp: 3;
}

.loading-row,
.empty-row {
  padding: 22px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.article-top {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -12px 12px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(227, 232, 238, 0.84);
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-btn {
  min-height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.article-top-title {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-align: right;
}

.article-wrap {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.article-wrap > *,
.article-card,
.article-card > *,
.article-body {
  min-width: 0;
  max-width: 100%;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #edf1f5;
  box-shadow: var(--shadow);
}

.article-head,
.article-card,
.article-cta,
.error-card {
  padding: 16px;
}

.article-type {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.article-title {
  margin-top: 12px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.28;
  font-weight: 900;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: var(--weak);
  font-size: 13px;
  line-height: 1.4;
}

.article-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.article-body {
  overflow: hidden;
  color: #2f3945;
  font-size: 16px;
  line-height: 1.85;
  word-break: break-word;
}

.article-body *,
.article-body *::before,
.article-body *::after {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.article-body img {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 12px 0 !important;
  object-fit: cover;
}

.article-body video {
  width: 100% !important;
  height: auto !important;
  min-height: 220px;
  border-radius: 8px;
  background: #000;
}

.article-body p {
  margin: 0 0 14px !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  color: var(--ink) !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
}

.article-body h1 {
  margin: 22px 0 12px !important;
  font-size: 24px !important;
}

.article-body h2 {
  margin: 22px 0 12px !important;
  font-size: 21px !important;
}

.article-body h3 {
  margin: 18px 0 10px !important;
  font-size: 18px !important;
}

.article-body ul,
.article-body ol {
  margin: 10px 0 16px 20px !important;
  padding: 0 !important;
}

.article-body li {
  margin: 0 0 8px !important;
  line-height: 1.75 !important;
}

.article-body table {
  width: 100% !important;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.article-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
  padding-bottom: 4px;
}

.article-table-scroll > table {
  display: table !important;
  width: 100% !important;
  min-width: 560px;
  max-width: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

.article-body-summer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.article-body-summer > div,
.article-body-summer > section,
.article-body-summer > div > section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.article-body-summer > div,
.article-body-summer > div > section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.article-body-summer .summer-calendar-h5 {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 16px 10px !important;
}

.article-body-summer .article-calendar-scroll {
  margin: 10px -4px 14px;
  padding-bottom: 8px;
}

.article-body-summer .summer-calendar-table {
  min-width: 680px !important;
  table-layout: fixed !important;
}

.article-body-summer .summer-calendar-table td {
  height: auto !important;
  min-width: 78px !important;
}

.article-body a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body [style*="grid-template-columns"] {
  grid-template-columns: 1fr !important;
}

.simple-top {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(227, 232, 238, 0.84);
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.simple-title {
  min-width: 0;
  color: var(--ink);
  text-align: right;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.simple-title span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.course-page,
.course-detail-page {
  gap: 12px;
  min-width: 0;
}

.course-page > *,
.course-detail-page > * {
  min-width: 0;
}

.course-tabs-wrap {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.course-tabs {
  display: flex;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.course-tabs::-webkit-scrollbar {
  display: none;
}

.course-tab {
  flex: 0 0 auto;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.course-tab.active {
  border-color: rgba(11, 124, 120, 0.3);
  background: var(--brand);
  color: #fff;
}

.course-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.course-eyebrow {
  color: var(--orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.course-summary-title {
  margin-top: 7px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.course-summary-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.course-count {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.course-main-hero {
  position: relative;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
}

.course-main-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48));
}

.course-hero-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
}

.course-hero-kicker {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.course-hero-title {
  margin-top: 5px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
}

.course-hero-sub {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.course-hero-btn {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  margin-top: 11px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
}

.trial-card-h5,
.course-card-h5,
.overview-course-item {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.trial-card-h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.trial-title-h5 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.trial-desc-h5 {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.trial-price-h5 {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.course-section {
  padding: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-card {
  min-height: 104px;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 12px;
}

.detail-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.detail-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.course-list-h5 {
  display: grid;
  gap: 10px;
}

.course-card-h5 {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 126px;
  padding: 13px 10px;
  background: #f7f9fa;
}

.course-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff2e8;
  color: #c45d16;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.course-main {
  min-width: 0;
}

.course-age {
  color: #c45d16;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.course-title-h5 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.course-desc-h5 {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.course-arrow {
  color: #a0a7ad;
  font-size: 28px;
  line-height: 1;
}

.course-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
  box-shadow: 0 4px 12px rgba(21, 33, 47, 0.04);
}

.course-search-row span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.course-search-text {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.course-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.course-filter {
  min-height: 38px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.course-filter.active {
  background: var(--brand);
  color: #fff;
}

.course-hero-card,
.course-info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.course-hero-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 48%, #e9f4f3 100%);
  border-color: rgba(230, 126, 34, 0.18);
}

.course-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #fff;
  color: #c45b16;
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.course-detail-title {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.28;
  font-weight: 900;
}

.course-detail-desc,
.course-detail-text,
.age-copy,
.path-desc,
.direction-desc,
.trial-box-desc,
.stage-desc,
.topic-sub,
.overview-course-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.course-detail-desc {
  margin-top: 11px;
}

.course-detail-text {
  margin-top: 8px;
}

.overview-course-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.overview-course-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  background: rgba(255, 255, 255, 0.82);
}

.overview-course-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff2e8;
  color: #c45b16;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.overview-course-main {
  min-width: 0;
}

.overview-course-title {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.overview-course-arrow {
  color: #9aa3aa;
  font-size: 25px;
}

.stage-list {
  margin-top: 16px;
  border-top: 1px solid rgba(63, 113, 116, 0.12);
}

.stage-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(63, 113, 116, 0.1);
}

.stage-code {
  color: #c45b16;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.stage-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
}

.topic-preview {
  margin-top: 16px;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 13px;
}

.topic-title {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.topic-sub {
  margin-top: 5px;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.topic-chip {
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.age-band {
  border-radius: 8px;
  background: var(--brand-soft);
  padding: 13px;
}

.age-main {
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.age-copy {
  margin-top: 8px;
}

.path-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.path-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 11px;
}

.path-age {
  color: var(--orange);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.path-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.direction-card {
  min-height: 104px;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 12px;
}

.direction-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.direction-desc {
  margin-top: 7px;
}

.trial-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 12px;
}

.trial-box + .trial-box {
  margin-top: 10px;
}

.trial-box.groupbuy {
  background: #fff5ef;
}

.trial-box-title {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.trial-box-desc {
  margin-top: 5px;
}

.trial-action {
  min-height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.trial-action.red {
  background: var(--red);
}

.activity-page-h5,
.trial-page-h5,
.member-page-h5,
.campus-page-h5,
.advisor-page-h5 {
  gap: 12px;
  min-width: 0;
}

.activity-head-h5,
.activity-card-h5,
.advisor-hero,
.advisor-panel,
.advisor-result,
.advisor-note,
.trial-hero-h5,
.trial-section-h5,
.signup-card-h5,
.member-hero-h5,
.member-actions-h5,
.member-links-h5,
.campus-hero-h5,
.campus-info-h5,
.campus-service-h5 {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.advisor-hero {
  overflow: hidden;
  padding: 20px 18px;
  background:
    linear-gradient(135deg, rgba(14, 87, 81, 0.95), rgba(30, 59, 204, 0.78)),
    url("https://aihuanle.top/images/miniapp/groupbuy/course-page-hero-20260625.jpg") center / cover no-repeat;
  color: #fff;
}

.advisor-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.advisor-hero h1 {
  margin: 11px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
}

.advisor-hero p {
  margin: 11px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.advisor-panel,
.advisor-result,
.advisor-note {
  padding: 14px;
}

.advisor-question + .advisor-question {
  margin-top: 14px;
}

.advisor-question-title {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.advisor-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.advisor-option {
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fa;
  color: var(--ink);
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  text-align: left;
}

.advisor-option.active {
  border-color: rgba(13, 132, 123, 0.32);
  background: #ecfbf7;
  box-shadow: inset 0 0 0 1px rgba(13, 132, 123, 0.18);
}

.advisor-option b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.advisor-option span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.advisor-result {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  background: #fffaf5;
  border-color: rgba(244, 123, 32, 0.22);
}

.advisor-result-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

.advisor-result-kicker {
  color: var(--orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.advisor-result h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.advisor-result p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.advisor-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.advisor-chip-row span {
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.advisor-reason-list,
.advisor-actions {
  grid-column: 1 / -1;
}

.advisor-reason-list {
  display: grid;
  gap: 7px;
}

.advisor-reason {
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.advisor-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.advisor-action {
  min-height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  padding: 0 9px;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.advisor-action.primary {
  background: var(--red);
  color: #fff;
}

.advisor-note b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.advisor-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.activity-head-h5 {
  padding: 16px;
}

.activity-page-title {
  color: var(--ink);
  text-align: center;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.activity-filter-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.activity-filter-row span {
  min-height: 36px;
  border-radius: 999px;
  background: #f0f3f6;
  color: var(--brand-dark);
  display: inline-grid;
  place-items: center;
  padding: 0 13px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.activity-list-h5 {
  display: grid;
  gap: 12px;
}

.activity-card-h5 {
  display: grid;
  overflow: hidden;
}

.activity-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #edf1f5;
}

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

.activity-status {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.activity-status.ended {
  background: #8b949e;
}

.activity-body-h5 {
  padding: 13px;
}

.activity-title-h5 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.38;
  font-weight: 900;
}

.activity-time-h5 {
  margin-top: 8px;
  color: var(--orange);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.activity-desc-h5 {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.activity-tags-h5 {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.activity-tags-h5 span {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.trial-hero-h5 {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  color: #fff;
  background: linear-gradient(135deg, #123d39 0%, #0d6f63 50%, #f08a28 100%);
  border-color: rgba(255, 255, 255, 0.16);
}

.trial-hero-h5::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -58px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.trial-hero-kicker {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.trial-hero-title {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.trial-hero-price {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.trial-hero-desc {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.trial-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.benefit-card-h5 {
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 9px;
  box-shadow: 0 4px 12px rgba(21, 33, 47, 0.04);
}

.benefit-icon-h5 {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff2e8;
  color: #d86b17;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.benefit-title-h5 {
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.benefit-desc-h5 {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.trial-section-h5,
.signup-card-h5 {
  padding: 16px;
}

.trial-section-title {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.trial-bullet {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.trial-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.signup-head-h5 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.signup-kicker-h5 {
  color: var(--brand);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.signup-title-h5 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
}

.signup-badge-h5 {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff2e8;
  color: #c45d16;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.signup-desc-h5 {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.signup-form-h5 {
  display: grid;
  gap: 11px;
  margin-top: 15px;
}

.form-row-h5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.field-h5 {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-h5 span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.field-h5 input,
.field-h5 select,
.field-h5 textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fa;
  color: var(--ink);
  outline: 0;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.45;
  appearance: none;
}

.field-h5 input,
.field-h5 select {
  min-height: 44px;
}

.field-h5 textarea {
  resize: vertical;
}

.submit-btn-h5 {
  min-height: 46px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
}

.submit-btn-h5:disabled {
  opacity: 0.68;
  cursor: default;
}

.signup-message-h5 {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.signup-message-h5.error {
  color: var(--red);
}

.signup-message-h5.success {
  color: var(--green);
}

.privacy-tip-h5 {
  margin-top: 10px;
  color: var(--weak);
  font-size: 12px;
  line-height: 1.6;
}

.member-hero-h5 {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(16, 39, 52, 0.92), rgba(11, 124, 120, 0.82)),
    url("https://aihuanle.top/images/miniapp/campus/campus-02.jpg") center / cover no-repeat;
  color: #fff;
}

.member-hero-copy {
  padding: 20px 18px;
}

.member-kicker-h5 {
  color: #9ee4d8;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.member-hero-h5 h1 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 900;
}

.member-hero-h5 p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.7;
}

.member-flow-h5 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-flow-item {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px 9px;
  box-shadow: 0 4px 12px rgba(21, 33, 47, 0.04);
}

.member-flow-item span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.member-flow-item b {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.member-flow-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.member-actions-h5,
.member-links-h5 {
  padding: 14px;
}

.member-actions-h5 {
  display: grid;
  gap: 10px;
}

.member-action-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fa;
  padding: 12px;
}

.member-action-card.primary {
  background: #fff5ef;
  border-color: rgba(244, 123, 32, 0.2);
}

.member-action-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.member-action-mark.blue {
  background: var(--blue);
}

.member-action-mark.gold {
  background: var(--gold);
}

.member-action-mark.green {
  background: var(--green);
}

.member-action-card b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.member-action-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.member-action-card em {
  color: var(--brand);
  font-size: 13px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.member-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.member-link-grid a {
  min-height: 42px;
  border-radius: 8px;
  background: #f0f3f6;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 900;
}

.campus-hero-h5 {
  overflow: hidden;
}

.campus-hero-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.campus-hero-track::-webkit-scrollbar {
  display: none;
}

.campus-hero-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  scroll-snap-align: start;
  background: #edf1f5;
}

.campus-info-h5,
.campus-service-h5 {
  padding: 16px;
}

.campus-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.campus-info-head h1 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 900;
}

.campus-info-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.campus-info-h5 p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.campus-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.campus-service-card {
  min-height: 128px;
  border-radius: 8px;
  background: #f7f9fa;
  border: 1px solid var(--line);
  padding: 12px;
}

.campus-service-card span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.campus-service-card b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.campus-service-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-page-h5 {
  display: grid;
  gap: 12px;
}

.contact-hero-h5,
.contact-prompt-card,
.contact-collect-card,
.contact-topics-h5,
.contact-script-card,
.contact-direct-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-hero-h5 {
  padding: 18px;
}

.contact-kicker {
  color: var(--orange);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hero-h5 h1,
.contact-prompt-copy h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.contact-hero-h5 p,
.contact-prompt-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.contact-action,
.contact-prompt-btn {
  min-height: 42px;
  border-radius: 8px;
  background: #edf2f4;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.contact-action.primary,
.contact-prompt-btn {
  background: var(--brand);
  color: #fff;
}

.contact-prompt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.contact-prompt-copy h2 {
  font-size: 18px;
}

.contact-topics-h5,
.contact-collect-card,
.contact-script-card {
  padding: 14px;
}

.contact-collect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-collect-grid div {
  min-width: 0;
  border-radius: 8px;
  background: #f7f9fa;
  padding: 10px 8px;
}

.contact-collect-grid b {
  display: block;
  color: var(--brand-dark);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
}

.contact-collect-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-topic-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fa;
  padding: 12px;
}

.contact-topic-card button,
.contact-topic-card a {
  font: inherit;
}

.contact-topic-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.contact-topic-copy {
  min-width: 0;
}

.contact-topic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.contact-topic-head b {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.contact-topic-head em {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 900;
}

.contact-topic-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.contact-keyword-row i {
  border-radius: 999px;
  background: #e7f4f1;
  color: var(--brand-dark);
  padding: 4px 7px;
  font-size: 12px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.contact-ask-line {
  margin-top: 8px;
  border-left: 3px solid rgba(244, 123, 32, 0.75);
  color: var(--ink);
  padding-left: 8px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.contact-topic-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.contact-copy-btn,
.contact-open-link,
.contact-script-copy {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.contact-copy-btn,
.contact-script-copy {
  background: var(--brand);
  color: #fff;
}

.contact-open-link {
  background: #eef3f5;
  color: var(--brand-dark);
}

.contact-script-copy {
  width: 100%;
  margin-bottom: 8px;
}

.contact-script-line {
  border-radius: 8px;
  background: #f7f9fa;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.65;
}

.contact-script-line + .contact-script-line {
  margin-top: 8px;
}

.contact-direct-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 14px;
}

.contact-direct-card a {
  min-height: 42px;
  border-radius: 8px;
  background: #f0f3f6;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.article-cta-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.article-cta-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.article-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.cta-btn {
  min-height: 42px;
  border-radius: 8px;
  background: #edf2f4;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.cta-btn.primary {
  background: var(--red);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 60;
  max-width: min(320px, calc(100vw - 32px));
  transform: translateX(-50%);
  border-radius: 8px;
  background: rgba(23, 32, 42, 0.92);
  color: #fff;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(21, 33, 47, 0.2);
}

@media (max-width: 430px) {
  .app-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tabs-wrap,
  .article-top {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-slide {
    min-height: 212px;
  }

  .groupbuy-title {
    font-size: 24px;
  }

  .price-card {
    width: 206px;
  }

  .entry-card {
    min-height: 78px;
    padding: 9px 7px;
  }

  .content-card.large {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .trial-benefit-grid {
    gap: 8px;
  }

  .benefit-card-h5 {
    min-height: 134px;
    padding: 11px 8px;
  }

  .member-hint-bar {
    width: calc(100% - 20px);
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 8px;
  }

  .member-hint-text {
    font-size: 12px;
  }

  .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .contact-topic-card {
    min-height: 0;
  }
}

@media (max-width: 370px) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-card,
  .service-card {
    align-items: stretch;
    flex-direction: column;
  }

  .checkin-btn,
  .service-btn {
    width: 100%;
  }

  .content-card,
  .content-card.large {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .member-hint-bar {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .member-hint-btn {
    grid-column: 1 / -1;
  }

  .article-cta-actions,
  .campus-actions,
  .contact-action-row,
  .contact-prompt-card,
  .contact-topic-grid,
  .contact-direct-card {
    grid-template-columns: 1fr;
  }

  .trial-benefit-grid,
  .form-row-h5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .article-wrap-summer .article-card {
    padding: 14px 12px;
  }

  .article-body-summer {
    font-size: 15px;
    line-height: 1.78;
  }

  .article-body-summer > div,
  .article-body-summer > section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .article-body-summer [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .article-body-summer [style*="display:flex"][style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
  }

  .article-body-summer [style*="display:flex"][style*="justify-content:space-between"] > span {
    flex: 1 1 120px !important;
    width: auto !important;
    min-width: 118px !important;
    text-align: left !important;
  }

  .article-body-summer [style*="min-width:140px"],
  .article-body-summer [style*="min-width:130px"] {
    min-width: min(100%, 136px) !important;
  }

  .article-body-summer [style*="max-width:160px"] {
    max-width: none !important;
  }

  .article-body-summer .summer-calendar-h5 {
    margin-left: -2px !important;
    margin-right: -2px !important;
  }

  .article-body-summer .summer-calendar-table {
    min-width: 650px !important;
  }
}
