:root {
  --brand-primary: #13524a;
  --brand-deep: #173d37;
  --brand-soft: #e7efec;
  --ink-primary: #171c1a;
  --ink-secondary: #66706d;
  --line-default: #dde4e1;
  --surface-page: #ffffff;
  --surface-muted: #f1f5f3;
  --arrow-outline: #3f6862;
  --error: #a23434;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --numeric: Inter, "Noto Sans SC", sans-serif;
  color: var(--ink-primary);
  font-family: var(--sans);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #edf1ef;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 12%, rgb(255 255 255 / 0.9), transparent 36rem),
    #edf1ef;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(19 82 74 / 0.35);
  outline-offset: 2px;
}

.prototype-stage {
  display: grid;
  min-height: 100vh;
  place-items: start center;
  padding: 24px 0;
}

.phone-shell {
  width: min(390px, 100vw);
  min-height: 844px;
  overflow: hidden;
  background: var(--surface-page);
  box-shadow: 0 22px 70px rgb(23 61 55 / 0.18);
}

.app-shell {
  position: relative;
  min-height: 844px;
  padding-bottom: 0;
  background: var(--surface-page);
}

.loading-state,
.error-state {
  display: grid;
  min-height: 844px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  color: var(--ink-secondary);
  text-align: center;
}

.loading-mark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--brand-soft);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.retry-button {
  min-width: 120px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
}

.wechat-header {
  position: relative;
  z-index: 5;
  height: 76px;
  padding-top: env(safe-area-inset-top);
  background: rgb(255 255 255 / 0.96);
}

.status-row {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 0;
  font-family: var(--numeric);
  font-size: 14px;
  font-weight: 600;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-icons > svg {
  width: 17px;
  height: 17px;
}

.signal {
  display: flex;
  height: 13px;
  align-items: end;
  gap: 2px;
}

.signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
}

.signal i:nth-child(1) { height: 4px; }
.signal i:nth-child(2) { height: 7px; }
.signal i:nth-child(3) { height: 10px; }
.signal i:nth-child(4) { height: 13px; }

.battery {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.battery::before {
  position: absolute;
  inset: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.battery::after {
  position: absolute;
  top: 3px;
  right: -4px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
  content: "";
}

.nav-row {
  position: relative;
  display: grid;
  height: 44px;
  place-items: center;
}

.brand-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-back {
  position: absolute;
  left: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-back svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.wechat-capsule {
  position: absolute;
  right: 12px;
  display: flex;
  width: 88px;
  height: 32px;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid #d7ddda;
  border-radius: 18px;
}

.capsule-dots {
  letter-spacing: 2px;
  transform: translateY(-3px);
}

.capsule-separator {
  width: 1px;
  height: 18px;
  background: #ccd3d0;
}

.capsule-circle {
  width: 14px;
  height: 14px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.hero {
  position: relative;
  height: 356px;
  overflow: hidden;
  background: #dbe6e1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
  filter: saturate(0.78) brightness(1.04);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.88) 0%, rgb(255 255 255 / 0.5) 25%, transparent 53%);
  content: "";
  pointer-events: none;
}

.hero::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  background: var(--surface-page);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 22px 0;
}

.hero-copy h2 {
  max-width: 218px;
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 290px;
  margin: 7px 0 0;
  color: #293c37;
  font-size: 14px;
  line-height: 1.5;
}

.hero-copy .hero-detail {
  margin-top: 5px;
  color: var(--ink-secondary);
  font-size: 12px;
}

.street-trigger {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 12px;
  display: flex;
  width: 124px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 22px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 2px 6px rgb(23 61 55 / 0.1);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.street-trigger svg {
  width: 16px;
  height: 16px;
}

.book-gateway {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 227px;
}

.book-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.book-entry {
  position: absolute;
  top: 0;
  display: flex;
  width: calc((100% - 2px) / 2);
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 18px 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.book-entry.training { left: 0; }
.book-entry.enterprise {
  right: 0;
  align-items: flex-end;
  text-align: right;
}

.book-entry h3 {
  width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

.book-entry p {
  width: 100%;
  margin: 2px 0 11px;
  color: rgb(255 255 255 / 0.82);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.book-entry .outline-cta {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 0.76);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: none;
  pointer-events: none;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 180ms ease-out;
}

.book-entry .outline-cta svg {
  width: 14px;
  height: 14px;
}

.outline-cta svg,
.text-link svg,
.notice-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.book-entry:active .outline-cta {
  background: rgb(255 255 255 / 0.12);
}

.book-entry .outline-cta svg {
  transition: transform 160ms ease-out;
}

.book-entry:active .outline-cta svg {
  transform: translateX(2px);
}

.book-gateway:has(.book-entry:active) .book-shape {
  filter: brightness(0.94);
}

.content-section {
  padding: 28px 16px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  font-size: 12px;
}

.recommendation-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-section {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 8px solid var(--surface-muted);
}

.activity-section .section-heading > div > span {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-primary);
  font-family: var(--numeric);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.street-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.street-activity {
  min-height: 68px;
}

.street-activity-empty,
.recommendation-empty {
  margin: 10px 0 4px;
  padding: 22px 16px;
  background: var(--surface-muted);
  text-align: center;
}

.street-activity-empty strong,
.recommendation-empty strong {
  font-family: var(--serif);
  font-size: 14px;
}

.street-activity-empty p,
.recommendation-empty p {
  margin: 6px 0 0;
  color: var(--ink-secondary);
  font-size: 10px;
}

.recommendation {
  display: grid;
  width: 100%;
  grid-template-columns: 120px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line-default);
  background: var(--surface-page);
  color: var(--ink-primary);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.recommendation:last-child {
  border-bottom: 0;
}

.recommendation-media {
  position: relative;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-muted);
}

.recommendation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 8px;
  border-radius: 0 0 7px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.recommendation-copy {
  min-width: 0;
}

.recommendation-copy h3 {
  overflow: hidden;
  margin: 0;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-copy p,
.recommendation-copy time {
  display: block;
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--ink-secondary);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--arrow-outline);
  border-radius: 50%;
  color: var(--brand-primary);
}

.round-arrow svg {
  width: 18px;
  height: 18px;
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  text-align: center;
}

.image-failed > img,
.image-failed > .hero-backdrop {
  visibility: hidden;
}

.image-failed > .media-fallback {
  display: grid;
}

.notice-carousel {
  position: relative;
  margin: 12px 16px 0;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface-muted);
}

.notice-carousel + .content-section {
  padding-top: 18px;
}

.notice-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.notice-track::-webkit-scrollbar {
  display: none;
}

.notice-slide {
  display: grid;
  min-width: 100%;
  min-height: 62px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.notice-slide > svg {
  width: 23px;
  height: 23px;
  color: var(--brand-primary);
}

.notice-title {
  font-size: 12px;
  line-height: 1.45;
}

.notice-action {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-secondary);
  font-size: 11px;
  white-space: nowrap;
}

.notice-pagination {
  position: absolute;
  bottom: 0;
  left: 46px;
  display: flex;
  gap: 0;
}

.notice-pagination i {
  display: block;
  align-self: center;
  width: 12px;
  height: 4px;
  margin: 6px 4px;
  border-radius: 999px;
  background: var(--line-default);
}

.notice-pagination i[data-active="true"] {
  width: 20px;
  margin-inline: 0;
  background: var(--brand-primary);
}

.training-hero {
  position: relative;
  height: 246px;
  overflow: hidden;
  background: var(--brand-soft);
}

.training-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.96);
}

.training-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(23 61 55 / 0.08) 18%, rgb(23 61 55 / 0.9) 100%);
  content: "";
  pointer-events: none;
}

.training-hero.image-failed::after {
  background: linear-gradient(180deg, rgb(23 61 55 / 0.05), rgb(23 61 55 / 0.28));
}

.hero-fallback {
  z-index: 0;
}

.training-hero-copy {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 24px;
  left: 22px;
  color: #fff;
}

.training-hero-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.training-hero-copy p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.training-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 10px 18px;
  border-bottom: 1px solid var(--line-default);
}

.training-point {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 7px;
  text-align: center;
}

.training-point:not(:last-child)::after {
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 68px;
  background: var(--line-default);
  content: "";
}

.training-point svg {
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  color: var(--brand-primary);
  stroke-width: 1.7;
}

.training-point strong {
  font-size: 13px;
  line-height: 1.35;
}

.training-point span {
  margin-top: 4px;
  color: var(--ink-secondary);
  font-size: 10.5px;
  line-height: 1.4;
  text-wrap: balance;
}

.training-section {
  padding: 22px 16px 0;
}

.training-section .section-heading {
  margin-bottom: 10px;
}

.training-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
}

.featured-course {
  position: relative;
  display: block;
  width: 100%;
  height: 178px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--brand-deep);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.featured-course > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(23 61 55 / 0.94) 0%, rgb(23 61 55 / 0.66) 58%, rgb(23 61 55 / 0.1) 100%);
}

.featured-content {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 62px;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-label {
  padding: 5px 9px;
  border-radius: 5px;
  background: rgb(255 255 255 / 0.14);
  font-size: 11px;
  font-weight: 600;
}

.featured-content strong {
  max-width: 250px;
  margin-top: 13px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  text-wrap: balance;
}

.featured-content > span:not(.featured-label) {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
}

.featured-content small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: rgb(255 255 255 / 0.76);
  font-size: 10.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-arrow {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  border-color: rgb(255 255 255 / 0.78);
  color: #fff;
}

.compact-course {
  display: grid;
  width: 100%;
  grid-template-columns: 104px minmax(0, 1fr) 36px;
  gap: 11px;
  align-items: center;
  min-height: 112px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-default);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.compact-media {
  position: relative;
  height: 78px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-muted);
}

.compact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.compact-copy strong {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  text-wrap: balance;
}

.compact-copy span,
.compact-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-secondary);
  font-size: 10.5px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-copy small {
  color: var(--brand-primary);
  -webkit-line-clamp: 1;
}

.subsidy-notice {
  display: grid;
  width: calc(100% - 32px);
  grid-template-columns: 34px minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  margin: 18px 16px 0;
  padding: 13px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--surface-muted);
  cursor: pointer;
  text-align: left;
}

.subsidy-notice > svg {
  width: 30px;
  height: 30px;
  color: var(--brand-primary);
}

.subsidy-notice > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.subsidy-notice strong {
  font-family: var(--serif);
  font-size: 16px;
}

.subsidy-notice small {
  color: var(--ink-secondary);
  font-size: 10.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

.flow-section {
  padding-bottom: 4px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 3px;
  text-align: center;
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  top: 21px;
  left: calc(50% + 25px);
  width: calc(100% - 50px);
  height: 1px;
  background: var(--line-default);
  content: "";
}

.flow-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-family: var(--numeric);
  font-size: 13px;
  font-weight: 600;
}

.flow-list strong {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.flow-list li > span:last-child {
  margin-top: 5px;
  color: var(--ink-secondary);
  font-size: 9.5px;
  line-height: 1.45;
}

.training-primary-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 22px 16px 26px;
}

.training-primary-action.share-disabled {
  grid-template-columns: 1fr;
}

.training-primary-action .training-primary-button,
.training-empty button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 17px;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.training-primary-action .training-share-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--brand-primary);
  border-radius: 17px;
  background: #fff;
  color: var(--brand-primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.training-primary-action > p {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--ink-tertiary);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

.training-primary-action svg {
  width: 20px;
  height: 20px;
}

.training-empty {
  display: grid;
  min-height: 230px;
  place-content: center;
  justify-items: center;
  padding: 24px 18px;
  border: 1px solid var(--line-default);
  border-radius: 10px;
  text-align: center;
}

.training-empty > svg {
  width: 34px;
  height: 34px;
  color: var(--brand-primary);
}

.training-empty strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 17px;
}

.training-empty p {
  max-width: 260px;
  margin: 7px 0 14px;
  color: var(--ink-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.training-empty button {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 12px;
}

.bottom-nav {
  position: sticky;
  z-index: 8;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: calc(66px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line-default);
  background: rgb(255 255 255 / 0.97);
  backdrop-filter: blur(14px);
}

.nav-item {
  display: grid;
  min-height: 62px;
  place-content: center;
  justify-items: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #7a8481;
  cursor: pointer;
  font-size: 10px;
}

.nav-item svg {
  width: 23px;
  height: 23px;
}

.nav-item.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.sheet-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgb(11 22 19 / 0.48);
}

.street-sheet {
  width: min(390px, 100vw);
  padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -8px 30px rgb(0 0 0 / 0.12);
  animation: sheet-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sheet-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-muted);
  cursor: pointer;
}

.street-option {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-default);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.street-option[aria-selected="true"] {
  color: var(--brand-primary);
  font-weight: 600;
}

.street-option svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  width: min(330px, calc(100vw - 32px));
  padding: 11px 14px;
  border-radius: 10px;
  background: rgb(23 28 26 / 0.94);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  transform: translateX(50%);
  animation: toast-in 180ms ease-out;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheet-in { from { transform: translateY(18px); opacity: 0.7; } }
@keyframes toast-in { from { transform: translate(50%, 8px); opacity: 0; } }

@media (max-width: 389px) {
  .prototype-stage { padding: 0; }
  .phone-shell { width: 100vw; box-shadow: none; }
  .book-entry { padding-inline: 14px; }
  .book-entry p { font-size: 11px; }
  .recommendation { grid-template-columns: 112px minmax(0, 1fr) 36px; }
  .training-point { padding-inline: 4px; }
  .training-point span { font-size: 9.5px; }
  .compact-course { grid-template-columns: 92px minmax(0, 1fr) 34px; }
  .featured-content { right: 54px; left: 14px; }
  .featured-content strong { font-size: 17px; }
  .flow-list strong { font-size: 10px; }
  .flow-list li > span:last-child { font-size: 9px; }
}

@media (min-width: 391px) {
  .phone-shell { border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .street-trigger,
  .bottom-nav {
    background: #fff;
    backdrop-filter: none;
  }
}
