:root {
  --igps-red: #f2555a;
  --igps-red-dark: #df3f45;
  --igps-orange: #ff9f1c;
  --igps-yellow: #ffd23f;
  --igps-blue: #243f8f;
  --igps-cyan: #58c7dd;
  --igps-ink: #25272d;
  --igps-muted: #7d8190;
  --igps-line: #eceef3;
  --igps-bg: #f7f5f5;
  --igps-card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  background: #e9eaee;
  color: var(--igps-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.phone-shell {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #fbf7f7 28%, var(--igps-bg) 58%, #ffffff 100%);
  box-shadow: 0 0 40px rgba(37, 39, 45, 0.14);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-shell::-webkit-scrollbar {
  display: none;
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 18px 14px 92px;
}

.screen.active {
  display: block;
}

.top-search {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 39, 45, 0.08);
}

.search-icon {
  margin-right: 8px;
  color: var(--igps-muted);
  font-size: 20px;
}

.top-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--igps-ink);
  background: transparent;
  font-size: 14px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 14px;
  align-items: center;
  min-height: 202px;
  margin-top: 16px;
  padding: 20px 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 39, 45, 0.94), rgba(36, 63, 143, 0.9) 56%, rgba(242, 85, 90, 0.86)),
    #25272d;
  color: #fff;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-card img {
  width: 94px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-mark span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.eyebrow,
.page-head span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.hero-card h1 {
  margin: 8px 0 8px;
  font-size: 26px;
  line-height: 1.18;
}

.hero-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-link,
.course-card button,
.login-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--igps-red);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(242, 85, 90, 0.28);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.status-strip div {
  min-height: 58px;
  padding: 10px 6px;
  border: 1px solid rgba(236, 238, 243, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  box-shadow: 0 8px 22px rgba(37, 39, 45, 0.05);
}

.status-strip b {
  display: block;
  color: var(--igps-red);
  font-size: 17px;
}

.status-strip span {
  color: var(--igps-muted);
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 26px 2px 18px;
}

.quick-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #4d515d;
  font-size: 12px;
}

.quick-item span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.quick-item.red span {
  background: var(--igps-red);
}

.quick-item.blue span {
  background: var(--igps-blue);
}

.quick-item.cyan span {
  background: var(--igps-cyan);
}

.quick-item.orange span {
  background: var(--igps-orange);
}

.quick-item b {
  font-weight: 500;
}

.section-card,
.course-card,
.faq-list details,
.login-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(236, 238, 243, 0.9);
  border-radius: 8px;
  background: var(--igps-card);
  box-shadow: 0 10px 26px rgba(37, 39, 45, 0.06);
}

.notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(242, 85, 90, 0.16);
  box-shadow: 0 10px 26px rgba(37, 39, 45, 0.06);
}

.notice-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--igps-red);
  font-size: 12px;
  font-weight: 700;
}

.notice-card b {
  color: var(--igps-ink);
  font-size: 14px;
  line-height: 1.45;
}

.notice-card a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--igps-red);
  font-size: 13px;
  font-weight: 700;
}

.section-card.compact {
  padding-bottom: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.section-title i {
  width: 3px;
  height: 20px;
  border-radius: 99px;
  background: var(--igps-red);
}

.section-title h2 {
  margin: 0;
  font-size: 16px;
}

.section-card h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.section-card p,
.course-card p,
.faq-list p {
  margin: 0;
  color: #626776;
  font-size: 14px;
  line-height: 1.75;
}

video,
.feature-video video {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #111;
}

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

.timeline div {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.timeline b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff0f1;
  color: var(--igps-red);
}

.timeline span {
  color: #626776;
  font-size: 12px;
}

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
}

.page-head img {
  width: 70px;
  padding: 7px;
  border-radius: 8px;
  background: #292929;
}

.page-head span {
  color: var(--igps-red);
}

.page-head h1 {
  margin: 4px 0 0;
  font-size: 28px;
}

.clean-list,
.course-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.course-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 16px;
  color: #555b68;
  font-size: 14px;
  line-height: 1.55;
}

.clean-list li::before,
.course-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--igps-orange);
}

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

.number-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.number-list b {
  color: var(--igps-red);
  font-size: 15px;
}

.video-stack {
  display: grid;
  gap: 12px;
}

.course-card {
  position: relative;
  overflow: hidden;
}

.course-card.featured {
  border-color: rgba(242, 85, 90, 0.28);
  background: linear-gradient(180deg, #fff8f8, #fff);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 96px;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--igps-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

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

.course-label {
  color: var(--igps-blue);
  font-size: 13px;
  font-weight: 700;
}

.price {
  display: grid;
  justify-items: end;
  flex: 0 0 auto;
  max-width: 132px;
  white-space: nowrap;
  color: var(--igps-red);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.price small {
  display: block;
  text-align: right;
  color: var(--igps-muted);
  font-size: 10px;
  font-weight: 500;
}

.course-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.course-card button {
  width: 100%;
  margin-top: 16px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--igps-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(242, 85, 90, 0.22);
}

.button-link:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.button-link.secondary {
  background: var(--igps-blue);
  box-shadow: 0 10px 20px rgba(36, 63, 143, 0.2);
}

.h5-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000;
  max-width: min(280px, calc(100vw - 80px));
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(72, 72, 72, 0.9);
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease;
  word-break: break-word;
}

.h5-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.course-intro-panel,
.faq-hero,
.process-card,
.profile-progress,
.empty-state {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(236, 238, 243, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(37, 39, 45, 0.05);
}

.course-intro-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.course-intro-panel span,
.faq-hero span {
  display: block;
  margin-bottom: 6px;
  color: var(--igps-red);
  font-size: 11px;
  font-weight: 800;
}

.course-intro-panel h2,
.faq-hero h1,
.process-card h2 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.3;
}

.course-intro-panel p,
.faq-hero p,
.profile-progress p {
  margin: 0;
  color: #626776;
  font-size: 13px;
  line-height: 1.65;
}

.course-intro-panel a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--igps-red);
  font-size: 13px;
  font-weight: 700;
}

.course-media {
  margin-top: 14px;
}

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

.process-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-list article {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 12px;
  border-radius: 8px;
  background: #fafbff;
  border: 1px solid #eef1f8;
}

.process-list b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--igps-blue);
  color: #fff;
  font-size: 12px;
}

.process-list span {
  font-size: 14px;
  font-weight: 800;
}

.process-list em {
  color: var(--igps-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.sticky-cta {
  position: sticky;
  bottom: 86px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(236, 238, 243, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(37, 39, 45, 0.12);
  backdrop-filter: blur(8px);
}

.sticky-cta a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: #f4f6fb;
  color: var(--igps-blue);
  font-size: 14px;
  font-weight: 800;
}

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

.tab-row {
  display: flex;
  gap: 8px;
  margin: 14px -14px 12px 0;
  padding-right: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.tab-row button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--igps-line);
  border-radius: 999px;
  background: #fff;
  color: #555b68;
}

.tab-row button.active {
  border-color: var(--igps-red);
  background: var(--igps-red);
  color: #fff;
}

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

.faq-list details {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  min-height: 50px;
  padding: 15px 16px;
  cursor: pointer;
  color: var(--igps-ink);
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p,
.faq-list details video {
  margin: 0 16px 16px;
}

.faq-image {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  border-radius: 8px;
}

.empty-state {
  display: grid;
  gap: 5px;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state b {
  font-size: 15px;
}

.empty-state span {
  color: var(--igps-muted);
  font-size: 13px;
}

.faq-help {
  margin-bottom: 8px;
}

.login-panel {
  margin-top: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(37, 39, 45, 0.94), rgba(242, 85, 90, 0.88)),
    #25272d;
  color: #fff;
}

.profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-card img {
  width: 76px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.profile-card span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.profile-card h1 {
  margin: 4px 0 5px;
  font-size: 24px;
}

.profile-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.compact-profile {
  padding-bottom: 18px;
}

.profile-refresh {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
}

.login-panel button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  background: #fff;
  color: var(--igps-red);
  box-shadow: none;
}

.mine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.mine-stats div {
  padding: 13px 6px;
  border: 1px solid var(--igps-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.mine-stats.action-stats a {
  display: block;
  padding: 13px 6px;
  border: 1px solid var(--igps-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.mine-stats b {
  display: block;
  color: var(--igps-red);
  font-size: 20px;
}

.mine-stats span {
  color: var(--igps-muted);
  font-size: 12px;
}

.profile-progress {
  display: grid;
  gap: 10px;
}

.profile-progress div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-progress b {
  font-size: 15px;
}

.profile-progress span {
  color: var(--igps-red);
  font-size: 13px;
  font-weight: 700;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f2f6;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--igps-red), var(--igps-orange));
}

.mine-card {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--igps-line);
  border-radius: 8px;
  background: #fff;
}

.mine-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mine-card a {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
  min-height: 58px;
  padding-right: 22px;
  border-top: 1px solid #f1f2f5;
}

.mine-card a::after {
  content: "";
  position: absolute;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #b5bac6;
  border-right: 1px solid #b5bac6;
  transform: rotate(45deg);
}

.mine-card b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.mine-card em {
  display: block;
  color: var(--igps-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.mine-text {
  min-width: 0;
}

.line-icon,
.nav-icon {
  position: relative;
  display: inline-block;
}

.line-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff0f1;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
}

.line-icon.course::before {
  inset: 8px 7px;
  border: 2px solid var(--igps-red);
  border-radius: 2px;
}

.line-icon.test::before {
  width: 14px;
  height: 14px;
  left: 7px;
  top: 6px;
  border: 2px solid var(--igps-blue);
  border-radius: 50%;
}

.line-icon.test::after {
  width: 8px;
  height: 2px;
  right: 4px;
  bottom: 6px;
  background: var(--igps-blue);
  transform: rotate(45deg);
}

.line-icon.order::before {
  inset: 7px 6px;
  border: 2px solid var(--igps-orange);
  border-radius: 2px;
}

.line-icon.order::after {
  left: 9px;
  right: 9px;
  top: 14px;
  height: 2px;
  background: var(--igps-orange);
}

.line-icon.faq::before {
  left: 8px;
  top: 5px;
  color: var(--igps-cyan);
  content: "?";
  font-size: 18px;
  font-weight: 800;
}

.line-icon.advisor::before {
  left: 8px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--igps-red);
  border-radius: 50%;
}

.line-icon.report::before {
  inset: 6px 8px;
  border-left: 3px solid var(--igps-blue);
  border-bottom: 3px solid var(--igps-blue);
}

.line-icon.notebook::before {
  inset: 6px 7px;
  border: 2px solid var(--igps-blue);
  border-radius: 3px;
}

.line-icon.notebook::after {
  left: 11px;
  top: 6px;
  width: 2px;
  height: 16px;
  background: var(--igps-blue);
}

.line-icon.words::before {
  content: "W";
  left: 7px;
  top: 5px;
  color: var(--igps-orange);
  font-size: 16px;
  font-weight: 900;
}

.line-icon.writing::before {
  left: 7px;
  top: 8px;
  width: 15px;
  height: 3px;
  border-radius: 99px;
  background: var(--igps-red);
  transform: rotate(-28deg);
}

.line-icon.writing::after {
  right: 6px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--igps-red);
  border-bottom: 2px solid var(--igps-red);
}

.mine-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff7e8;
  color: #7d5316;
  font-size: 13px;
}

.h5-form,
.order-detail-card,
.order-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--igps-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(37, 39, 45, 0.06);
}

.h5-form label {
  display: grid;
  gap: 7px;
  color: #4d5362;
  font-size: 13px;
  font-weight: 700;
}

.h5-form input,
.h5-form textarea {
  width: 100%;
  border: 1px solid var(--igps-line);
  border-radius: 8px;
  outline: 0;
  padding: 11px 12px;
  color: var(--igps-ink);
  background: #fff;
}

.h5-form button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--igps-red);
  color: #fff;
  font-weight: 800;
}

.order-detail-card h2 {
  margin: 0;
  font-size: 20px;
}

.order-detail-card p,
.pay-note {
  margin: 0;
  color: var(--igps-muted);
  font-size: 13px;
  line-height: 1.7;
}

.order-status {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--igps-red);
  font-size: 12px;
  font-weight: 800;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f6;
}

.order-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-item b,
.order-item span {
  display: block;
}

.order-item span {
  margin-top: 4px;
  color: var(--igps-muted);
  font-size: 12px;
}

.order-item em {
  flex: 0 0 auto;
  color: var(--igps-red);
  font-style: normal;
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 430px;
  height: 72px;
  margin: 0 auto;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 24px rgba(37, 39, 45, 0.12);
  backdrop-filter: blur(10px);
}

.bottom-nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #646a77;
  font-size: 12px;
}

.bottom-nav span {
  color: #f5b9bd;
}

.bottom-nav a.active {
  color: var(--igps-red);
  font-weight: 700;
}

.bottom-nav a.active span {
  color: var(--igps-red);
}

.nav-icon {
  width: 22px;
  height: 22px;
  color: #f5b9bd;
}

.nav-icon::before,
.nav-icon::after {
  content: "";
  position: absolute;
}

.home-icon::before {
  left: 3px;
  top: 5px;
  width: 16px;
  height: 13px;
  border-radius: 4px;
  background: currentColor;
}

.home-icon::after {
  left: 6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.course-icon::before {
  left: 4px;
  top: 3px;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.course-icon::after {
  left: 8px;
  top: 8px;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.faq-icon::before {
  left: 3px;
  top: 4px;
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.faq-icon::after {
  content: "?";
  left: 8px;
  top: 2px;
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
}

.mine-icon::before {
  left: 7px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.mine-icon::after {
  left: 4px;
  bottom: 2px;
  width: 14px;
  height: 8px;
  border-radius: 9px 9px 4px 4px;
  background: currentColor;
}

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

  .phone-shell {
    min-height: calc(100vh - 48px);
    border-radius: 26px;
  }

  .bottom-nav {
    bottom: 24px;
  }
}
