:root {
  --bg: #eef4f3;
  --surface: #ffffff;
  --surface-soft: #f6faf9;
  --ink: #17211f;
  --muted: #6f7c78;
  --line: #dfe8e5;
  --brand: #0c7c72;
  --brand-dark: #07564f;
  --accent: #f1a83b;
  --danger-soft: #fff2e4;
  --shadow: 0 18px 48px rgba(24, 45, 41, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #dfecea 0%, var(--bg) 42%, #f8fbfb 100%);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(16, 38, 34, 0.04), 0 24px 80px rgba(15, 35, 32, 0.18);
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  background: rgba(238, 244, 243, 0.92);
  backdrop-filter: blur(18px);
}

.topbar strong,
.topbar small {
  display: block;
  text-align: center;
}

.topbar strong {
  font-size: 17px;
}

.topbar small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  width: 36px;
  height: 36px;
}

.topbar-spacer,
.topbar-action {
  width: 56px;
  min-height: 36px;
}

.topbar-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pool-top-history {
  width: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f6df6;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.icon-button {
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 30px;
  line-height: 30px;
  box-shadow: 0 8px 18px rgba(20, 36, 33, 0.08);
}

.hero-panel {
  margin: 10px 16px 18px;
  min-height: 240px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 35, 35, 0.15), rgba(8, 35, 35, 0.62)), url('https://img.surfplus.xyz/surf-camp/home/banner-world-map-travel.jpg?imageMogr2/thumbnail/1200x/format/webp') center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.hero-copy p,
.hero-copy h1,
.hero-copy span {
  margin: 0;
}

.hero-copy p {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.hero-copy h1 {
  max-width: 330px;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  margin: 14px 16px;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(18, 40, 36, 0.07);
}

.compact-section {
  margin-top: 4px;
}

.no-top-gap {
  margin-top: 0;
}

.bottom-space {
  margin-bottom: 132px;
}

.detail-bottom-spacer {
  height: 132px;
}

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

.section-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.camp-list,
.room-select-list,
.option-grid,
.bullet-list,
.timeline,
.goal-schedule-list {
  display: grid;
  gap: 12px;
}


.language-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 56px;
  height: 32px;
  border: 1px solid rgba(12, 124, 114, 0.14);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  box-shadow: 0 8px 18px rgba(20, 36, 33, 0.08);
}

.language-toggle::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: 24px;
  border-radius: 999px;
  background: var(--brand);
  content: '';
  transition: transform 160ms ease;
}

.language-toggle.is-en::before {
  transform: translateX(24px);
}

.language-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.language-toggle span.active {
  color: white;
}

.camp-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-soft);
}

.media {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #d5e4e1;
}

.camp-card-body {
  padding: 14px;
}

.card-row,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-row h3,
.room-preview h3,
.booking-summary h2,
.order-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.card-row strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e4f3ef;
  color: var(--brand-dark);
  font-size: 13px;
}

.camp-card p,
.price-row small,
.lead-text,
.room-preview p,
.timeline p,
.booking-summary p,
.order-card p,
.payment-placeholder p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-detail-section {
  padding: 14px;
}

.product-detail-html {
  display: grid;
  gap: 10px;
}

.product-detail-html p {
  margin: 0;
}

.product-detail-html img,
.product-detail-html video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f4f7f5;
}

.product-detail-html video {
  margin-bottom: 10px;
}

.product-detail-video-collapse {
  display: grid;
  gap: 12px;
}

.product-detail-video-collapse summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.product-detail-video-collapse summary::-webkit-details-marker {
  display: none;
}

.product-detail-video-collapse summary b {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.82;
}

.product-detail-video-collapse[open] summary {
  background: var(--brand-dark);
}

.product-detail-video-grid,
.product-detail-video-card {
  display: grid;
  gap: 12px;
}

.product-detail-video-card {
  margin: 0;
}

.spot-detail-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.camp-detail-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(12, 124, 114, 0.16);
  border-radius: 16px;
  background: rgba(12, 124, 114, 0.08);
  color: var(--ink);
  text-align: left;
}

.camp-detail-link span,
.camp-detail-link strong,
.camp-detail-link small {
  display: block;
  min-width: 0;
}

.camp-detail-link strong {
  font-size: 14px;
  line-height: 1.3;
}

.camp-detail-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.camp-detail-link b {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.spot-detail-trigger {
  background: #fff;
}

.spot-hero,
.spot-attr-card,
.spot-article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(24, 45, 41, 0.08);
  overflow: hidden;
}

.spot-hero {
  position: relative;
  min-height: 170px;
}

.spot-hero .media {
  height: 170px;
  border-radius: 0;
}

.spot-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 27, 25, 0.08), rgba(10, 27, 25, 0.68));
  pointer-events: none;
}

.spot-hero-copy {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: white;
}

.spot-hero-copy span,
.spot-hero-copy small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.4;
}

.spot-hero-copy strong {
  font-size: 24px;
  line-height: 1.1;
}

.spot-hero > b {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(12, 34, 31, 0.18);
}

.spot-attr-card,
.spot-article {
  padding: 14px;
}

.spot-level-head {
  display: grid;
  gap: 4px;
}

.spot-level-head span,
.spot-level-head em,
.spot-attr-grid span,
.spot-lodging-row span,
.spot-article-head span,
.spot-article-head small {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.spot-level-head strong {
  color: var(--brand);
  font-size: 22px;
  line-height: 1.1;
}

.spot-attr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.spot-attr-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-soft);
}

.spot-attr-grid strong,
.spot-lodging-row strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.spot-lodging-row {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(241, 168, 59, 0.12);
}

.spot-article-head {
  display: grid;
  gap: 4px;
}

.spot-article-head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.spot-article-body {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.spot-article-body h3,
.spot-article-body p,
.spot-article-body ul {
  margin: 0;
}

.spot-article-body h3 {
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.35;
}

.spot-article-body ul {
  padding-left: 18px;
}

.spot-article-body img,
.spot-article-body video,
.spot-article-body iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px;
  background: #f4f7f5;
}

.spot-article-body section,
.spot-article-body p,
.spot-article-body span,
.spot-article-body div {
  max-width: 100% !important;
  box-sizing: border-box;
}

.spot-article-body [style*="float"] {
  float: none !important;
}

.spot-empty-tip {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.spot-detail-mask {
  z-index: 66;
}

.spot-detail-modal {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 430px;
  max-height: min(86vh, 820px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px 18px 0 0;
  padding: 14px 14px max(18px, env(safe-area-inset-bottom));
  background: #fff;
}

.spot-detail-modal header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 12px;
  align-items: start;
  padding-bottom: 2px;
  background: #fff;
}

.spot-detail-modal header span {
  color: var(--muted);
  font-size: 12px;
}

.spot-detail-modal header strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.spot-detail-modal header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.spot-detail-modal .spot-detail-card {
  margin-top: 0;
}

.spot-detail-modal .spot-article {
  overflow: visible;
}

.spot-detail-modal .spot-article-body {
  max-height: none;
  overflow: visible;
}

.room-gallery-modal {
  max-height: min(84vh, 780px);
}

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

.room-gallery-grid figure {
  display: grid;
  gap: 5px;
  margin: 0;
}

.room-gallery-grid .media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.room-gallery-grid video.media {
  background: #101918;
  object-fit: cover;
}

.room-gallery-grid figcaption {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.detailed-schedule,
.schedule-items,
.fee-include-list {
  display: grid;
  gap: 12px;
}

.schedule-day {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.schedule-day h3 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 18px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(18, 40, 36, 0.08);
}

.schedule-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.schedule-item time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.schedule-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.schedule-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.fee-summary-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.fee-summary-head div {
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.fee-summary-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.fee-summary-head strong {
  display: block;
  color: var(--brand-dark);
  font-size: 14px;
  line-height: 1.4;
}

.fee-include-list p {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.fee-include-list b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e4f3ef;
  color: var(--brand-dark);
  font-size: 12px;
}

.tag-row,
.chip-list,
.facility-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.chip-list span,
.facility-grid span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf6f4;
  color: var(--brand-dark);
  font-size: 12px;
}

.strong-tags span {
  background: var(--danger-soft);
  color: #935b13;
}

.price-row {
  margin-top: 14px;
}

.price-row b {
  color: var(--brand);
  font-size: 18px;
}

.detail-hero {
  position: relative;
  min-height: 310px;
  margin: 0 16px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image {
  height: 310px;
}

.detail-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 22px 22px;
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(7, 23, 22, 0.78));
}

.detail-overlay span,
.detail-overlay h1 {
  margin: 0;
}

.detail-overlay span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
}

.detail-overlay h1 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.15;
}

.top-card-section {
  padding-top: 16px;
}

.top-card-list {
  display: grid;
  gap: 12px;
}

.top-info-card {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(14, 36, 43, 0.12);
}

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

.metric-grid div {
  padding: 12px 10px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.metric-grid strong,
.metric-grid span {
  display: block;
  text-align: center;
}

.metric-grid strong {
  color: var(--brand-dark);
  font-size: 15px;
}

.metric-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.course-path-grid {
  display: grid;
  gap: 12px;
}

.course-path-current {
  display: grid;
  gap: 4px;
  padding: 0 2px 11px;
  border-bottom: 1px solid rgba(14, 36, 43, 0.08);
}

.course-path-current > strong {
  font-size: 15px;
  line-height: 1.35;
}

.course-path-current > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.course-path-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(14, 36, 43, 0.08);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.course-path-card.upgrade {
  border-color: rgba(12, 124, 114, 0.24);
  background:
    linear-gradient(135deg, rgba(12, 124, 114, 0.11), rgba(241, 168, 59, 0.09)),
    #fff;
  box-shadow: 0 12px 26px rgba(14, 36, 43, 0.06);
}

.course-path-card.upgrade[href]:active {
  transform: translateY(1px);
}

.course-path-kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.course-path-card > strong {
  font-size: 16px;
  line-height: 1.3;
}

.course-path-card > p,
.course-path-card > small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.course-path-card > small {
  padding-top: 2px;
}

.course-path-card > b {
  justify-self: start;
  min-height: 34px;
  margin-top: 2px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}

.course-path-notice {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7e9;
  color: #835714;
  font-size: 12px;
  line-height: 1.5;
}

.booking-course-path-section {
  padding-top: 4px;
}

.bullet-list p {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 12px;
  margin: 0 -18px 14px 0;
  padding: 0 18px 6px 0;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
}

.gallery-strip .media {
  height: 170px;
  border-radius: 20px;
  scroll-snap-align: start;
}

.gallery-entry-section {
  padding-bottom: 16px;
}

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

.gallery-category-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.gallery-category-card .media {
  aspect-ratio: 1;
  height: auto;
  border-radius: 16px;
}

.gallery-category-card span {
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-category-card small {
  color: var(--muted);
  font-size: 10px;
}

.gallery-page-head {
  position: sticky;
  top: 62px;
  z-index: 8;
}

.gallery-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  margin: 0 -18px;
  padding: 0 18px 3px;
  overflow-x: auto;
}

.gallery-tab {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-tab.active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.gallery-page-grid {
  display: grid;
  gap: 14px;
}

.gallery-page-grid figure {
  margin: 0;
}

.gallery-page-grid .media {
  height: auto;
  max-height: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
}

.gallery-page-grid figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.room-preview,
.booking-summary {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.room-preview .media,
.booking-summary .media {
  height: 96px;
  border-radius: 18px;
}

.room-preview small,
.booking-summary span {
  display: block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 12px;
}

.timeline div {
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.timeline b {
  color: var(--accent);
  font-size: 12px;
}

.timeline h3 {
  margin: 4px 0 4px;
  font-size: 16px;
}

.goal-schedule-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.goal-schedule-card.active {
  border-color: rgba(12, 124, 114, 0.45);
  background: linear-gradient(180deg, rgba(12, 124, 114, 0.08), rgba(255, 255, 255, 0.96));
  box-shadow: 0 12px 28px rgba(12, 124, 114, 0.1);
}

.goal-schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.goal-schedule-head strong {
  color: var(--ink);
  font-size: 15px;
}

.goal-schedule-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(241, 168, 59, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.goal-schedule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.selected-course-schedule,
[data-course-package-selector] {
  scroll-margin-top: 76px;
}

.schedule-section-title {
  align-items: center;
}

.schedule-section-title > div {
  display: grid;
  gap: 4px;
}

.schedule-section-title > div span {
  white-space: normal;
}

.schedule-edit-button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(12, 124, 114, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: #f1f8f6;
  color: var(--brand-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.booking-section-highlight {
  animation: booking-section-highlight 0.9s ease-out;
}

@keyframes booking-section-highlight {
  0%, 35% {
    box-shadow: 0 0 0 4px rgba(241, 168, 59, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 168, 59, 0);
  }
}

.goal-schedule-steps {
  display: grid;
  gap: 8px;
}

.goal-schedule-steps div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.goal-schedule-steps b {
  color: var(--brand);
  font-size: 12px;
}

.goal-schedule-steps span {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.goal-schedule-steps .goal-lesson-row {
  grid-template-columns: 52px 1fr;
}

.goal-lesson-row span {
  display: grid;
  gap: 4px;
}

.goal-lesson-row span strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.goal-lesson-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.recommendation-card {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(12, 124, 114, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 124, 114, 0.08), rgba(246, 250, 249, 0.96));
}

.recommendation-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.recommendation-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.recommendation-card p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.mini-notes {
  display: grid;
  gap: 4px;
}

.mini-notes small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.calendar-card {
  display: grid;
  gap: 12px;
}

.calendar-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.calendar-head strong {
  font-size: 17px;
  text-align: center;
}

.calendar-head span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.calendar-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.calendar-day.muted {
  color: #aeb9b6;
}

.calendar-day.disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.calendar-day.in-range {
  background: #dff1ed;
  color: var(--brand-dark);
}

.calendar-day.start,
.calendar-day.end {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 18px rgba(12, 124, 114, 0.22);
}

.option-grid {
  grid-template-columns: 1fr;
}

.option-card,
.room-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.option-card {
  padding: 14px;
}

.option-card strong,
.option-card span {
  display: block;
}

.option-card strong {
  font-size: 15px;
}

.option-card span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.option-card.active,
.room-select.active {
  border-color: var(--brand);
  background: #e7f5f1;
  box-shadow: 0 0 0 3px rgba(12, 124, 114, 0.12);
}

.option-card.disabled,
.room-select.disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.room-availability-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf5f3;
  color: var(--brand-dark);
  font-size: 11px;
  line-height: 1.2;
}

.room-availability-badge.loading {
  background: #eef2f5;
  color: var(--muted);
}

.room-availability-badge.sold-out {
  background: #fff0ed;
  color: #a43d2f;
}

.room-availability-badge.error {
  background: #fff7e9;
  color: #835714;
}

.room-availability-badge.unverified {
  background: #fff7e9;
  color: #835714;
}

.family-parent-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.family-parent-option.active {
  border-color: var(--brand);
  background: #e7f5f1;
  box-shadow: 0 0 0 3px rgba(12, 124, 114, 0.12);
}

.family-parent-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.family-parent-option span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.family-parent-option strong {
  color: var(--ink);
  font-size: 15px;
}

.family-parent-option small,
.family-parent-option em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.family-parent-option b {
  color: var(--brand-dark);
  font-size: 16px;
  white-space: nowrap;
}

.room-select {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.room-select .media {
  height: 70px;
  border-radius: 14px;
}

.room-media-preview {
  position: relative;
  display: block;
  min-width: 0;
  cursor: zoom-in;
}

.room-media-preview .media {
  display: block;
}

.room-media-bubbles {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}

.room-media-bubbles b {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin: 0;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.room-media-bubbles b {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.room-select strong,
.room-select small {
  display: block;
}

.room-select small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.stepper button {
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: white;
  font-size: 24px;
}

.stepper strong {
  text-align: center;
  font-size: 18px;
}

.price-breakdown {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.price-breakdown div,
.order-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.price-breakdown span,
.order-grid span {
  color: var(--muted);
  font-size: 13px;
}

.price-breakdown b,
.order-grid strong {
  font-size: 13px;
  text-align: right;
}

.selection-issue {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(202, 96, 34, 0.22);
  border-radius: 14px;
  background: var(--danger-soft);
}

.selection-issue strong {
  color: #9c4a16;
  font-size: 14px;
}

.selection-issue p,
.selection-issue small {
  margin: 0;
  color: #74411f;
  font-size: 12px;
  line-height: 1.45;
}

.total-line {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.total-line b {
  color: var(--brand);
  font-size: 18px;
}

.order-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.order-card p {
  margin: 7px 0 16px;
}

.field-label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.field-label input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 16px;
  outline: 0;
}

.payment-hero {
  margin: 8px 16px 14px;
  padding: 30px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #07564f, #0c7c72 62%, #f1a83b);
  color: white;
  box-shadow: var(--shadow);
}

.payment-hero span,
.payment-hero strong,
.payment-hero p {
  display: block;
  margin: 0;
}

.payment-hero span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.payment-hero strong {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
}

.payment-hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.muted-card {
  background: #f7f4ee;
}

.payment-placeholder {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed #b9c7c2;
  border-radius: 22px;
  background: var(--surface-soft);
  text-align: center;
}

.payment-placeholder .wechat-mark {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(25, 59, 55, 0.16) 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(rgba(25, 59, 55, 0.16) 12px, transparent 12px) 0 0 / 24px 24px,
    #eef4f3;
}

.wechat-mark span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #1aad19;
  color: white;
  font-size: 16px;
  font-weight: 800;
}

.payment-placeholder p {
  max-width: 260px;
  margin: 0;
}

.sticky-bar {
  position: fixed;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(223, 232, 229, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.sticky-bar small,
.sticky-bar strong {
  display: block;
}

.sticky-bar small {
  color: var(--muted);
  font-size: 12px;
}

.sticky-bar strong {
  margin-top: 2px;
  color: var(--brand);
  font-size: 20px;
}

.sticky-bar.single-action {
  grid-template-columns: 1fr;
}

.sticky-bar.single-action .primary-button {
  width: 100%;
}

.course-schedule-guide {
  position: fixed;
  right: max(16px, calc((100vw - 398px) / 2));
  bottom: calc(82px + env(safe-area-inset-bottom));
  left: max(16px, calc((100vw - 398px) / 2));
  z-index: 22;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 398px;
  margin: 0 auto;
  padding: 11px 12px;
  border: 1px solid rgba(12, 124, 114, 0.2);
  border-radius: 16px;
  background: rgba(18, 43, 40, 0.96);
  color: white;
  box-shadow: 0 18px 36px rgba(14, 36, 43, 0.24);
  backdrop-filter: blur(16px);
}

.course-schedule-guide span,
.course-schedule-guide strong,
.course-schedule-guide small {
  display: block;
  min-width: 0;
}

.course-schedule-guide strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-schedule-guide small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.course-schedule-guide button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  background: #f1a83b;
  color: #203330;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .booking-section-highlight {
    animation: none;
  }
}

.primary-button {
  min-width: 132px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(12, 124, 114, 0.22);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #a9b8b5;
  box-shadow: none;
}

.block-button {
  width: 100%;
  margin-top: 14px;
}

.ghost-button {
  background: #23302d;
  box-shadow: none;
}

.room-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(12, 124, 114, 0.18);
  border-radius: 12px;
  background: #f1f8f6;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
}

.room-toggle-button::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.room-toggle-button.expanded::after {
  transform: translateY(2px) rotate(225deg);
}

.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(10, 22, 20, 0.42);
}

.intent-popup {
  display: grid;
  gap: 16px;
  padding: 10px 18px max(18px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--surface);
  box-shadow: 0 -18px 42px rgba(11, 27, 24, 0.18);
}

.popup-handle {
  justify-self: center;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #d7e1de;
}

.popup-title-row {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 12px;
  align-items: start;
}

.popup-title-row h2,
.popup-title-row p {
  margin: 0;
}

.popup-title-row h2 {
  font-size: 20px;
  line-height: 1.2;
}

.popup-title-row p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.small-close {
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 24px;
}

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

.intent-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.intent-card strong,
.intent-card small {
  display: block;
}

.intent-card strong {
  font-size: 15px;
}

.intent-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.intent-card b {
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

.intent-card.active {
  border-color: var(--brand);
  background: #e7f5f1;
}

.popup-cancel {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #eef4f3;
  color: var(--muted);
  font-weight: 800;
}

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

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

  .topbar {
    border-radius: 30px 30px 0 0;
  }

  .sticky-bar {
    border-radius: 22px 22px 0 0;
  }
}

.hotel-facts {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.hotel-facts div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.hotel-facts span {
  color: var(--muted);
  font-size: 12px;
}

.hotel-facts strong {
  font-size: 13px;
  line-height: 1.45;
}

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

.mini-tag-row span {
  padding: 5px 7px;
  border-radius: 999px;
  background: #e9f3f1;
  color: var(--brand-dark);
  font-size: 11px;
}

.booking-summary small,
.room-select em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.media-notice {
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7e9;
  color: #835714;
  font-size: 12px;
  line-height: 1.45;
}

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

.source-link-list a {
  display: block;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(12, 124, 114, 0.18), rgba(241, 168, 59, 0.24)),
    #dfece9;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hero-image.media-placeholder {
  height: 310px;
}

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

.team-section .lead-text {
  margin-bottom: 12px;
}

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

.team-member {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 43, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 36, 43, 0.05);
  color: var(--ink);
  text-align: left;
}

.team-member:active {
  transform: translateY(1px);
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  object-fit: cover;
}

.team-member strong,
.team-member small,
.team-member em,
.team-member p {
  display: block;
  min-width: 0;
}

.team-member strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.team-member small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

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

.team-member em {
  max-width: 96px;
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.team-member em small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.team-profile-hero {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 16px 14px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 124, 114, 0.12), rgba(241, 168, 59, 0.16)),
    #fff;
  box-shadow: var(--shadow);
}

.team-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--brand);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.team-profile-hero span,
.team-profile-hero h1,
.team-profile-hero p {
  margin: 0;
}

.team-profile-hero span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.team-profile-hero h1 {
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.16;
}

.team-profile-hero p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.team-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.team-profile-stats b {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(12, 124, 114, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
}

.team-detail-tabs {
  position: sticky;
  top: 62px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 16px 14px;
  padding: 8px;
  border: 1px solid rgba(14, 36, 43, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.team-detail-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.team-detail-tabs button.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(12, 124, 114, 0.18);
}

.team-detail-panel {
  margin-top: 0;
}

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

.team-profile-copy p,
.team-profile-copy blockquote,
.team-article-card p,
.team-comment-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.team-profile-copy blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 12px;
  color: var(--ink);
  font-weight: 700;
}

.team-source-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.team-source-grid div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-soft);
}

.team-source-grid span {
  color: var(--muted);
  font-size: 11px;
}

.team-source-grid strong {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.team-article-cover {
  max-height: 260px;
  margin-bottom: 12px;
  border-radius: 18px;
}

.team-article-card,
.team-comment-list {
  display: grid;
  gap: 10px;
}

.team-article-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.team-article-html {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.62;
}

.team-article-html p,
.team-article-html section {
  max-width: 100%;
}

.team-article-html img,
.team-article-html video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.team-comment-list article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.team-comment-list strong {
  font-size: 13px;
}

.team-comment-list small {
  color: var(--muted);
  font-size: 11px;
}

.level-list article {
  display: grid;
  gap: 7px;
  padding: 13px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.level-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 8px;
}

.level-card-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.level-list strong {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 13px;
}

.level-list h3,
.level-list p,
.level-list small {
  margin: 0;
}

.level-list h3 {
  font-size: 15px;
  line-height: 1.3;
}

.level-list p,
.level-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.level-video-button {
  justify-self: end;
  min-height: 26px;
  margin-top: 2px;
  border: 1px solid rgba(11, 94, 215, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.level-assessment {
  margin-top: 2px;
  border-top: 1px solid rgba(14, 43, 74, 0.08);
  padding-top: 7px;
}

.level-assessment summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: var(--brand);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.level-assessment summary::-webkit-details-marker {
  display: none;
}

.level-assessment summary::after {
  content: '+';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
}

.level-assessment[open] summary::after {
  content: '-';
}

.level-assessment div {
  display: grid;
  gap: 6px;
  padding: 6px 0 1px;
}

.level-assessment__condition {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(14, 43, 74, 0.06);
  color: var(--brand);
  font-size: 12px;
  line-height: 1.5;
}

.level-assessment p {
  position: relative;
  padding-left: 12px;
  white-space: pre-line;
}

.level-assessment p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.level-video-mask {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgba(0, 0, 0, 0.58);
}

.level-video-modal {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 430px;
  max-height: min(76vh, 760px);
  overflow-y: auto;
  border-radius: 18px 18px 0 0;
  padding: 12px 12px max(18px, env(safe-area-inset-bottom));
  background: #fff;
}

.level-video-modal header {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: start;
}

.level-video-modal header strong,
.level-video-modal header small {
  display: block;
}

.level-video-modal header strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.level-video-modal header small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.level-video-modal header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}

.level-video-modal video {
  width: 100%;
  max-height: 58vh;
  border-radius: 12px;
  background: #000;
}

.level-video-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.certification-info-section {
  display: grid;
  gap: 0;
}

.certification-info-panel {
  border: 1px solid rgba(14, 43, 74, 0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.certification-info-panel summary {
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.certification-info-panel summary::-webkit-details-marker {
  display: none;
}

.certification-info-panel summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.certification-info-panel summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.certification-info-panel summary small {
  color: var(--muted);
  font-size: 12px;
}

.certification-info-panel summary::after {
  content: '';
  justify-self: center;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.certification-info-panel[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}

.certification-section-lead {
  margin: 0;
  padding: 0 14px 10px;
}

.certification-info-list {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.certification-info-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(14, 43, 74, 0.08);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.certification-info-list b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-size: 11px;
}

.certification-info-list span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.certification-info-list.rule-list article {
  background: var(--surface-soft);
}

.student-case-section {
  display: grid;
  gap: 10px;
}

.student-case-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 78%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.student-case-card {
  display: grid;
  gap: 7px;
  min-height: 142px;
  border: 1px solid rgba(14, 43, 74, 0.09);
  border-radius: 12px;
  padding: 13px;
  background: #fff;
  color: inherit;
  text-align: left;
  scroll-snap-align: start;
}

.student-case-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.student-case-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.student-case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.student-case-modal {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 430px;
  border-radius: 18px 18px 0 0;
  padding: 14px 14px max(18px, env(safe-area-inset-bottom));
  background: #fff;
}

.student-case-modal header {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 12px;
  align-items: start;
}

.student-case-modal header span,
.student-case-modal small {
  color: var(--muted);
  font-size: 12px;
}

.student-case-modal header strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.student-case-modal header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.student-case-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.student-case-modal a {
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.package-showcase {
  display: grid;
  gap: 10px;
}

.package-showcase article,
.package-showcase button {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(14, 36, 43, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 36, 43, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
}

.package-showcase article > div:first-child,
.package-showcase button > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-showcase button.active {
  border-color: rgba(0, 148, 151, 0.42);
  box-shadow: 0 12px 28px rgba(0, 148, 151, 0.14);
}

.package-showcase strong {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 13px;
}

.package-showcase b {
  color: var(--accent);
  font-size: 18px;
}

.package-showcase h3,
.package-showcase p {
  margin: 0;
}

.package-showcase h3 {
  font-size: 15px;
}

.package-showcase p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.grouped-package-showcase {
  grid-template-columns: 1fr;
}

.package-path-card {
  border-left: 4px solid rgba(0, 148, 151, 0.46);
}

.package-path-card h3 {
  color: var(--ink);
}

.package-spec-selector {
  display: grid;
  gap: 16px;
}

.package-spec-row {
  display: grid;
  gap: 9px;
}

.package-spec-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.package-level-tabs button,
.package-composition-list button {
  width: 100%;
  border: 1px solid rgba(14, 36, 43, 0.09);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  appearance: none;
}

.package-level-tabs button {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
}

.package-level-tabs button.active,
.package-composition-list button.active {
  border-color: rgba(0, 148, 151, 0.48);
  background: #e7f5f1;
  box-shadow: 0 0 0 3px rgba(12, 124, 114, 0.1);
}

.package-level-tabs strong {
  font-size: 15px;
  line-height: 1.25;
}

.package-level-tabs small,
.package-level-tabs em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.package-level-tabs em {
  color: var(--accent);
  font-weight: 800;
}

.package-path-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 148, 151, 0.08);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.package-composition-list {
  display: grid;
  gap: 9px;
}

.package-composition-list button {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.package-composition-list button > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.package-composition-list strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}

.package-composition-list b {
  color: var(--accent);
  font-size: 17px;
  white-space: nowrap;
}

.package-composition-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.package-spec-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(241, 168, 59, 0.12);
}

.package-spec-summary span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.package-spec-summary strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}

.package-spec-summary b {
  color: var(--accent);
  font-size: 18px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 360px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .grouped-package-showcase {
    grid-template-columns: 1fr;
  }

  .package-level-tabs {
    grid-template-columns: 1fr;
  }
}

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

.split-list > div,
.notice-list p {
  padding: 13px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.split-list h3 {
  margin: 0 0 9px;
  font-size: 15px;
}

.split-list p,
.notice-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.split-list p + p,
.notice-list p + p {
  margin-top: 8px;
}

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

.refund-policy-section {
  border: 1px solid rgba(241, 168, 59, 0.24);
  background: #fffaf2;
}

.refund-rule-list p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.refund-rule-list b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(241, 168, 59, 0.18);
  color: #935b13;
  font-size: 12px;
}

.refund-rule-list span {
  min-width: 0;
}

.order-readiness-section {
  border: 1px solid rgba(12, 124, 114, 0.16);
  background: #f7fbfa;
}

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

.readiness-list > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: white;
}

.readiness-list span {
  color: var(--muted);
  font-size: 12px;
}

.readiness-list strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.safety-notice {
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  background: #eef7f4;
}

.safety-notice b {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-dark);
  font-size: 13px;
}

.safety-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.safety-notice p + p {
  margin-top: 6px;
}

.pool-shell {
  background: #edf3ef;
}

.pool-shell .topbar {
  background: rgba(237, 243, 239, 0.92);
}

.pool-shell {
  overflow-x: hidden;
}

.pool-shell input:not([type='checkbox']):not([type='radio']),
.pool-order-screen input:not([type='checkbox']):not([type='radio']) {
  font-size: 16px;
}

.pool-hero {
  position: relative;
  min-height: 420px;
  margin: 0 16px 16px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pool-hero .media {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.pool-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 19, 0.08) 0%, rgba(8, 22, 19, 0.72) 74%, rgba(8, 22, 19, 0.88) 100%);
  content: '';
}

.pool-hero-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 110px 22px 24px;
  color: white;
}

.pool-hero-copy span,
.pool-hero-copy h1,
.pool-hero-copy p {
  margin: 0;
}

.pool-hero-copy span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.pool-hero-copy h1 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.pool-hero-copy p {
  margin-top: 12px;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.58;
}

.pool-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pool-hero-tags b {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 12px;
}

.pool-overview-section .lead-text,
.pool-venue-section .lead-text {
  margin-top: 14px;
}

.pool-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pool-overview-grid div,
.pool-address-card,
.pool-stat-grid div {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.pool-overview-grid span,
.pool-overview-grid strong,
.pool-address-card span,
.pool-address-card strong,
.pool-stat-grid span,
.pool-stat-grid strong {
  display: block;
}

.pool-overview-grid span,
.pool-address-card span,
.pool-stat-grid span {
  color: var(--muted);
  font-size: 12px;
}

.pool-overview-grid strong,
.pool-address-card strong {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.pool-address-card {
  margin-top: 12px;
  border: 1px solid rgba(12, 124, 114, 0.12);
  background: #f0faf7;
}

.pool-media-section {
  padding-right: 0;
  overflow: hidden;
}

.pool-media-section .section-title {
  padding-right: 18px;
}

.pool-media-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(244px, 78%);
  gap: 12px;
  margin: 0 -18px 0 0;
  padding: 0 18px 2px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.pool-media-grid figure {
  min-width: 0;
  margin: 0;
  border-radius: 18px;
  background: var(--surface-soft);
  overflow: hidden;
  scroll-snap-align: start;
}

.pool-media-grid figure.featured {
  grid-column: auto;
}

.pool-gallery-media {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.pool-media-grid figcaption {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.pool-media-grid figcaption strong,
.pool-media-grid figcaption span {
  display: block;
}

.pool-media-grid figcaption strong {
  font-size: 14px;
}

.pool-media-grid figcaption span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pool-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.pool-stat-grid strong {
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.25;
}

.pool-stat-grid span {
  margin-top: 4px;
}

.pool-info-card {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

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

.pool-process-list div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.pool-process-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 13px;
}

.pool-process-list span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pool-policy-section {
  border: 1px solid rgba(12, 124, 114, 0.12);
}

.pool-booking-entry {
  min-width: 0;
}

.pool-booking-entry .pool-date-note {
  margin: 10px 0 16px;
}

.pool-entry-product-title {
  margin-top: 16px;
}

.pool-entry-product-list {
  display: grid;
  gap: 10px;
}

.pool-entry-product {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(51, 105, 246, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
  color: #111;
  text-align: left;
}

.pool-entry-product:disabled {
  cursor: wait;
  opacity: 0.72;
}

.pool-entry-product span {
  color: #3567e8;
  font-size: 12px;
  font-weight: 700;
}

.pool-entry-product strong {
  min-width: 0;
  font-size: 17px;
  line-height: 1.25;
}

.pool-entry-product p {
  min-width: 0;
  margin: 0;
  color: #6e7178;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.pool-entry-product div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pool-entry-product b {
  color: #ff5a14;
  font-size: 19px;
}

.pool-entry-product em {
  color: #14911f;
  font-size: 12px;
  font-style: normal;
}

.pool-product-intro-list {
  display: grid;
  gap: 12px;
}

.pool-product-intro-card {
  min-width: 0;
  border: 1px solid rgba(12, 124, 114, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fbfefd;
}

.pool-product-intro-card > div:first-child {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: start;
  min-width: 0;
}

.pool-product-intro-card > div:first-child span {
  grid-column: 1 / -1;
  color: #3567e8;
  font-size: 12px;
  font-weight: 700;
}

.pool-product-intro-card h3,
.pool-product-intro-card h4,
.pool-product-intro-card p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pool-product-intro-card h3 {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.28;
}

.pool-product-intro-card > div:first-child strong {
  color: #ff5a14;
  font-size: 18px;
  line-height: 1.25;
}

.pool-product-intro-card p {
  margin: 10px 0 0;
  color: #596168;
  font-size: 13px;
  line-height: 1.55;
}

.pool-product-intro-card .pool-detail-grid {
  margin-top: 12px;
}

.pool-product-intro-card h4 {
  margin: 14px 0 8px;
  font-size: 14px;
}

.pool-order-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  justify-items: center;
  background: rgba(5, 16, 22, 0.32);
}

.pool-order-sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding-bottom: 104px;
  background: #eefdff;
}

.pool-order-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 58px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  text-align: center;
}

.pool-order-topbar button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 30px;
  line-height: 1;
}

.pool-order-topbar strong,
.pool-order-topbar small {
  display: block;
}

.pool-order-topbar strong {
  font-size: 18px;
}

.pool-order-topbar small {
  margin-top: 2px;
  color: #7b7f87;
  font-size: 12px;
}

.pool-order-overlay .sticky-bar {
  z-index: 40;
}

.pool-order-screen {
  min-height: 100vh;
  padding-bottom: 118px;
  background: #eefdff;
}

.pool-order-error {
  margin: 0 12px 12px;
}

.pool-order-page {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  background: #eefdff;
}

.pool-order-product,
.pool-order-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(55, 107, 235, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(55, 107, 235, 0.12);
}

.pool-order-product {
  padding: 18px 12px 14px;
}

.pool-order-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.pool-order-product-head h1 {
  min-width: 0;
  margin: 0;
  color: #050505;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.pool-order-product-head button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #7b7f87;
  font-size: 16px;
}

.pool-order-tag {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 7px;
  padding: 5px 8px;
  background: #edf3ff;
  color: #3567e8;
  font-size: 13px;
  font-weight: 700;
}

.pool-order-product p {
  min-width: 0;
  max-width: 100%;
  margin: 12px 0 0;
  color: #6e7178;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.pool-order-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.pool-order-buy-row strong,
.pool-order-total strong {
  color: #ff5a14;
  font-size: 28px;
  line-height: 1;
}

.pool-inline-stepper {
  display: grid;
  grid-template-columns: 52px 52px 52px;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f5f7;
}

.pool-inline-stepper button,
.pool-inline-stepper span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 0;
  border-left: 1px solid white;
  background: transparent;
  color: #333;
  font-size: 18px;
}

.pool-inline-stepper button:first-child {
  border-left: 0;
  color: #c6c9ce;
}

.pool-product-switcher {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(126px, 42%);
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.pool-product-switcher button {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #ebedf0;
  border-radius: 7px;
  padding: 9px;
  background: #fff;
  text-align: left;
}

.pool-product-switcher button.active {
  border-color: #3369f6;
  background: #eef3ff;
}

.pool-product-switcher span {
  overflow: hidden;
  color: #1f2329;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pool-product-switcher em {
  color: #ff5a14;
  font-size: 13px;
  font-style: normal;
}

.pool-order-card {
  padding: 14px 12px;
}

.pool-order-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border-left: 3px solid #1784ff;
  padding-left: 10px;
}

.pool-order-title h2 {
  margin: 0;
  color: #080808;
  font-size: 20px;
  line-height: 1.2;
}

.pool-order-title span,
.pool-order-title button {
  border: 0;
  background: transparent;
  color: #3567e8;
  font-size: 15px;
}

.pool-date-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 1px 0 2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.pool-date-strip::-webkit-scrollbar {
  display: none;
}

.pool-date-card {
  display: grid;
  flex: 0 0 84px;
  place-items: center;
  min-height: 92px;
  border: 1px solid #ebedf0;
  border-radius: 6px;
  padding: 8px 6px;
  background: #fff;
  color: #111;
}

.pool-date-card.active {
  border-color: #3369f6;
  background: #eef3ff;
  color: #3369f6;
}

.pool-date-card strong,
.pool-date-card span,
.pool-date-card em {
  display: block;
  line-height: 1.2;
}

.pool-date-card strong {
  font-size: 15px;
}

.pool-date-card span {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 700;
}

.pool-date-card em {
  margin-top: 9px;
  color: #ff5a14;
  font-size: 15px;
  font-style: normal;
}

.pool-date-more {
  position: relative;
  min-width: 60px;
  cursor: pointer;
}

.pool-date-more input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.pool-order-page .pool-date-note {
  margin: 10px 0 0;
}

.pool-order-page .pool-session-list {
  display: grid;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: visible;
}

.pool-order-page .pool-session-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 64px;
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
}

.pool-order-page .pool-session-card strong {
  color: #101010;
  font-size: 17px;
}

.pool-order-page .pool-session-card span {
  color: #14911f;
  font-size: 16px;
  font-weight: 700;
}

.pool-order-page .pool-session-card em {
  display: none;
}

.pool-order-page .pool-session-card small {
  display: block;
  color: #8a8f99;
  font-size: 10px;
}

.pool-order-page .pool-session-card.active {
  border-color: #3369f6;
  background: #eef3ff;
  box-shadow: none;
}

.pool-order-travelers .traveler-card {
  border: 0;
  border-radius: 0;
  padding: 4px 0 0;
  background: transparent;
}

.pool-history-hint {
  margin: 0 0 12px;
  color: #7b7f87;
  font-size: 12px;
  line-height: 1.45;
}

.pool-history-hint.warning {
  color: #9b4a12;
}

.pool-history-empty {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.pool-history-empty .pool-history-hint {
  margin: 0;
}

.pool-history-empty button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #eef3ff;
  color: #2f6df6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 12px;
}

.pool-history-box {
  display: grid;
  gap: 8px;
  margin: 2px 0 14px;
  min-width: 0;
}

.pool-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pool-history-head strong {
  color: #111;
  font-size: 14px;
}

.pool-history-head span {
  color: #7b7f87;
  font-size: 12px;
}

.pool-history-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 76%);
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
}

.pool-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7f9fc;
  color: #111;
  text-align: left;
  scroll-snap-align: start;
}

.pool-history-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pool-history-card strong,
.pool-history-card small {
  overflow-wrap: anywhere;
}

.pool-history-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.pool-history-card small {
  color: #7b7f87;
  font-size: 11px;
  line-height: 1.35;
}

.pool-history-card b {
  color: #2f6df6;
  font-size: 13px;
  white-space: nowrap;
}

.pool-contact-hint {
  margin: 10px 0 0;
  color: #7b7f87;
  font-size: 13px;
  line-height: 1.5;
}

.pool-contact-fields {
  display: grid;
  gap: 0;
}

.pool-contact-fields label {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #eceff3;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.pool-contact-fields label:last-child {
  border-bottom: 0;
}

.pool-contact-fields span b {
  color: #ff2b2b;
  font-weight: 700;
}

.pool-contact-fields input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 16px;
}

.pool-addon-card {
  gap: 14px;
}

.pool-option-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 0;
  color: #111;
}

.pool-option-row input {
  width: 18px;
  height: 18px;
  accent-color: #2f6df6;
}

.pool-option-row span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.pool-option-row strong {
  font-size: 15px;
  line-height: 1.3;
}

.pool-option-row small,
.pool-addon-hint {
  color: #7b7f87;
  font-size: 12px;
  line-height: 1.45;
}

.pool-option-row b {
  color: #ff5a14;
  font-size: 14px;
  white-space: nowrap;
}

.pool-points-box {
  display: grid;
  gap: 6px;
  border-top: 1px solid #eceff3;
  padding-top: 12px;
}

.pool-addon-subtitle {
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.pool-addon-hint {
  margin: 0;
}

.pool-addon-hint.warning {
  color: #9b4a12;
}

.pool-addon-button {
  width: fit-content;
  border: 1px solid #2f6bed;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #2f6bed;
  font-size: 13px;
  font-weight: 700;
}

.pool-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eceff3;
  padding-top: 12px;
  color: #198a2e;
  font-size: 14px;
  font-weight: 800;
}

.pool-price-summary-card {
  gap: 12px;
}

.pool-price-summary-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #696f79;
  font-size: 15px;
  line-height: 1.35;
}

.pool-price-summary-card strong {
  color: #30343a;
  font-size: 16px;
}

.pool-price-summary-card strong.discount {
  color: #ff8a00;
}

.pool-price-summary-card strong.payable {
  color: #ff3051;
}

.pool-agreement-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  padding: 2px 0 8px;
  color: #8a8f99;
  font-size: 13px;
}

.pool-agreement-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.pool-agreement-row input {
  width: 18px;
  height: 18px;
  accent-color: #2f6df6;
}

.pool-agreement-row button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f6df6;
  font: inherit;
}

.pool-agreement-row button:last-child {
  color: #f0263a;
}

.pool-agreement-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgba(0, 0, 0, 0.58);
}

.pool-agreement-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 430px;
  max-height: min(74vh, 760px);
  border-radius: 18px 18px 0 0;
  background: #fff;
  overflow: hidden;
}

.pool-agreement-modal header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 58px;
  padding: 0 10px;
  text-align: center;
}

.pool-agreement-modal header strong {
  color: #30343a;
  font-size: 18px;
}

.pool-agreement-modal header button {
  border: 0;
  background: transparent;
  color: #c0c4cc;
  font-size: 34px;
  line-height: 1;
}

.pool-agreement-content {
  overflow-y: auto;
  padding: 2px 24px 18px;
  color: #444a53;
  font-size: 15px;
  line-height: 1.85;
}

.pool-agreement-content section + section {
  margin-top: 16px;
}

.pool-agreement-content h3 {
  margin: 0 0 6px;
  color: #2d3137;
  font-size: 16px;
}

.pool-agreement-content ol {
  margin: 0;
  padding-left: 22px;
}

.pool-agreement-content li {
  margin: 0 0 6px;
}

.pool-agreement-confirm {
  min-height: 52px;
  margin: 0 28px max(20px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 999px;
  background: #ff7a00;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.pool-order-sticky small span {
  margin-left: 8px;
  color: #2f6df6;
}

.pool-success-card {
  align-items: start;
  gap: 8px;
  min-height: 160px;
  justify-content: center;
}

.pool-success-card h2 {
  margin: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.35;
}

.pool-success-card p {
  margin: 0;
  color: #6a7079;
  font-size: 14px;
  word-break: break-all;
}

.pool-confirm-page {
  gap: 12px;
}

.pool-confirm-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 38px;
  color: #6a7079;
  font-size: 15px;
}

.pool-confirm-row strong {
  min-width: 0;
  color: #111;
  text-align: right;
  overflow-wrap: anywhere;
}

.pool-confirm-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.pool-confirm-product-head strong,
.pool-confirm-product-card p,
.pool-confirm-travelers span,
.pool-confirm-note span,
.pool-confirm-note strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pool-confirm-product-head strong {
  color: #111;
  font-size: 17px;
  line-height: 1.35;
}

.pool-confirm-product-head span {
  color: #111;
  font-size: 16px;
}

.pool-confirm-product-head b {
  color: #ff3051;
  font-size: 18px;
}

.pool-confirm-product-card p {
  margin: 10px 0 0;
  color: #6e7178;
  font-size: 14px;
  line-height: 1.55;
}

.pool-confirm-travelers {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.pool-confirm-travelers div {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f5f7fb;
}

.pool-confirm-travelers strong {
  color: #111;
  font-size: 14px;
}

.pool-confirm-travelers span,
.pool-confirm-note span {
  color: #7b7f87;
  font-size: 12px;
  line-height: 1.45;
}

.pool-confirm-note {
  display: grid;
  gap: 6px;
}

.pool-confirm-note strong {
  color: #111;
  font-size: 15px;
  line-height: 1.45;
}

.pool-user-orders-query {
  display: grid;
  gap: 12px;
}

.pool-user-orders-query label {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #eceff3;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.pool-user-orders-query input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 16px;
}

.pool-user-orders-rule {
  display: grid;
  gap: 6px;
}

.pool-user-orders-rule strong {
  color: #111;
  font-size: 15px;
}

.pool-user-orders-rule p,
.pool-user-order-note,
.pool-cancel-modal p {
  margin: 0;
  color: #6e7178;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pool-user-orders-message {
  margin: 0 12px;
  border: 1px solid rgba(25, 138, 46, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  background: #eefaf1;
  color: #198a2e;
  font-size: 13px;
  line-height: 1.45;
}

.pool-user-orders-list {
  display: grid;
  gap: 12px;
}

.pool-user-order-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(55, 107, 235, 0.1);
  border-radius: 8px;
  padding: 14px 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(55, 107, 235, 0.12);
}

.pool-user-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.pool-user-order-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  background: #edf3ff;
  color: #3567e8;
  font-size: 12px;
  font-weight: 800;
}

.pool-user-order-head strong {
  min-width: 0;
  color: #7b7f87;
  font-size: 12px;
  overflow-wrap: anywhere;
  text-align: right;
}

.pool-user-order-card h3 {
  min-width: 0;
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pool-user-order-grid {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}

.pool-user-order-grid.compact {
  border-radius: 8px;
  padding: 10px 12px;
  background: #f5f7fb;
}

.pool-user-order-grid span {
  color: #7b7f87;
  font-size: 13px;
}

.pool-user-order-grid strong {
  min-width: 0;
  color: #111;
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.pool-user-order-travelers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pool-user-order-travelers span {
  max-width: 100%;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f5f7fb;
  color: #596168;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.pool-user-order-actions {
  display: flex;
  justify-content: flex-end;
}

.pool-user-order-actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff2e4;
  color: #d95c00;
  font-size: 13px;
  font-weight: 800;
}

.pool-user-order-actions span {
  color: #8a8f99;
  font-size: 12px;
}

.pool-cancel-modal {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 430px;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
  background: #fff;
}

.pool-cancel-modal header {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
}

.pool-cancel-modal header strong {
  color: #111;
  font-size: 18px;
}

.pool-cancel-modal header button {
  border: 0;
  background: transparent;
  color: #c0c4cc;
  font-size: 30px;
  line-height: 1;
}

.pool-cancel-modal p.warning {
  color: #9b4a12;
}

.pool-cancel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pool-cancel-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.pool-cancel-actions button:first-child {
  background: #f4f5f7;
  color: #60656f;
}

.pool-cancel-actions button:last-child {
  background: #ff7a00;
  color: #fff;
}

.pool-order-total {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px 2px;
}

.pool-order-total span {
  color: #31343a;
  font-size: 15px;
}

.pool-date-note {
  margin: -2px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pool-date-note.warning {
  color: #9b4a12;
}

.pool-people-title {
  margin-top: 18px;
}

.pool-product-list,
.traveler-list {
  display: grid;
  gap: 12px;
}

.pool-product-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.pool-product-card span,
.pool-product-card strong,
.pool-product-card small {
  display: block;
}

.pool-product-card span {
  color: #8a5c14;
  font-size: 12px;
  font-weight: 700;
}

.pool-product-card strong {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.35;
}

.pool-product-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pool-product-card.active {
  border-color: var(--brand);
  background: #e7f5f1;
  box-shadow: 0 0 0 3px rgba(12, 124, 114, 0.12);
}

.pool-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.pool-price-row b {
  color: var(--brand);
  font-size: 20px;
}

.pool-price-row em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(12, 124, 114, 0.1);
  color: #0b635c;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

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

.pool-session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.pool-session-card strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}

.pool-session-card span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pool-session-card em {
  grid-row: 1 / span 2;
  grid-column: 2;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(12, 124, 114, 0.1);
  color: #0b635c;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.pool-session-card.active {
  border-color: var(--brand);
  background: #e7f5f1;
  box-shadow: 0 0 0 3px rgba(12, 124, 114, 0.12);
}

.pool-session-card:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.pool-session-card:disabled em {
  background: rgba(155, 74, 18, 0.12);
  color: #9b4a12;
}

.pool-empty-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed rgba(12, 124, 114, 0.28);
  border-radius: 16px;
  background: #f7fbfa;
}

.pool-empty-card strong {
  color: var(--ink);
  font-size: 15px;
}

.pool-empty-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pool-product-detail h3 {
  margin: 18px 0 10px;
  font-size: 15px;
}

.pool-product-longcopy {
  margin: 12px 0 0;
  padding: 13px;
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  background: #f0faf7;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pool-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pool-detail-grid div {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.pool-detail-grid span,
.pool-detail-grid strong {
  display: block;
}

.pool-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.pool-detail-grid strong {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.pool-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pool-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pool-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: '';
}

.pool-split-list {
  margin-top: 16px;
}

.pool-split-list h3 {
  margin: 0 0 10px;
}

.pool-split-list .pool-list + .pool-list {
  margin-top: 8px;
}

.pool-split-list .pool-list li {
  font-size: 12px;
}

.pool-split-list > div {
  min-width: 0;
}

.traveler-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

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

.traveler-card-head strong {
  font-size: 15px;
}

.traveler-card-head span {
  color: var(--muted);
  font-size: 12px;
}

.traveler-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.traveler-card-actions em {
  font-style: normal;
}

.traveler-contact-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2f6df6;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.traveler-contact-toggle input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #2f6df6;
}

.traveler-card-actions button {
  border: 0;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

.traveler-card .field-label:last-child {
  margin-bottom: 0;
}

.pool-note-label {
  margin-top: 14px;
}

.api-error {
  margin: 0 16px 96px;
  color: #b42318;
  background: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

@media (min-width: 431px) {
  .pool-media-grid {
    grid-auto-columns: minmax(246px, 74%);
  }
}

@media (max-width: 360px) {
  .pool-hero {
    min-height: 390px;
  }

  .pool-hero .media {
    height: 390px;
  }

  .pool-overview-grid,
  .pool-detail-grid,
  .pool-stat-grid {
    grid-template-columns: 1fr;
  }

  .pool-gallery-media {
    height: 152px;
  }
}

/* Mobile readability upgrade: preserve the existing visual system while
   enforcing readable body/supporting text and accessible touch targets. */
@media (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .app-shell p,
  .app-shell li,
  .app-shell dd,
  .app-shell .notice-list p,
  .app-shell .package-path-note,
  .app-shell .selection-issue p {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .app-shell :where(span, small, em, b, li, dd, dt, label) {
    font-size: max(14px, 1em) !important;
  }

  .app-shell small,
  .app-shell em,
  .app-shell .section-title span,
  .app-shell .mini-tag-row span,
  .app-shell .tag-row span,
  .app-shell .price-breakdown span,
  .app-shell .goal-schedule-head span,
  .app-shell .goal-schedule-steps > div > span,
  .app-shell .booking-summary span,
  .app-shell .package-spec-summary span,
  .app-shell .package-level-tabs small,
  .app-shell .package-level-tabs em {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .app-shell button,
  .app-shell input,
  .app-shell select,
  .app-shell textarea,
  .app-shell [role='button'] {
    min-height: 44px;
  }

  .app-shell button:not(.icon-button) {
    font-size: 14px !important;
    line-height: 1.45;
  }

  .app-shell .course-schedule-guide strong {
    font-size: 14px !important;
  }

  .app-shell .icon-button,
  .app-shell .topbar-spacer,
  .app-shell .topbar-action {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Certification course: target-first selector. Transactional fields still come
   from the existing fixed-package SKU selected by these controls. */
.certification-target-selector {
  display: grid;
  gap: 18px;
}

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

.certification-learning-mode > button {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.certification-learning-mode > button.active {
  border-color: var(--brand);
  background: #e7f4f1;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.certification-learning-mode > button[data-value='experience'].active {
  border-color: #d88719;
  background: #fff4df;
  box-shadow: inset 0 0 0 1px #d88719;
}

.certification-learning-mode button > span:last-child {
  min-width: 0;
}

.certification-learning-mode strong,
.certification-learning-mode small {
  display: block;
}

.certification-learning-mode small {
  margin-top: 3px;
  color: var(--muted);
}

.certification-mode-icon {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-weight: 800;
}

.certification-learning-mode button[data-value='experience'] .certification-mode-icon {
  background: #fff0d2;
  color: #a45c05;
}

.certification-selector-step {
  display: grid;
  gap: 10px;
}

.certification-step-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.certification-step-heading > span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.certification-step-heading > small {
  color: var(--muted);
  text-align: right;
}

.certification-target-step .certification-step-heading {
  display: grid;
  justify-content: stretch;
  gap: 2px;
}

.certification-target-step .certification-step-heading > small {
  text-align: left;
}

.certification-target-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.certification-target-tabs button {
  min-width: 0;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 8px 4px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.certification-target-tabs button strong,
.certification-target-tabs button span {
  display: block;
}

.certification-target-tabs button strong {
  font-size: 18px;
}

.certification-target-tabs button span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

.certification-target-tabs button.active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 9px 20px rgba(7, 86, 79, 0.2);
}

.certification-target-tabs button.active span {
  color: #cce6e1;
}

.certification-target-summary {
  border-radius: 18px;
  padding: 17px 17px 0;
  background: linear-gradient(145deg, #0d655c, #074a44);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 86, 79, 0.2);
  overflow: hidden;
}

.certification-target-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.certification-target-summary-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8efeb;
}

.certification-target-summary-head b {
  border-radius: 8px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.certification-target-summary-head em {
  border-radius: 999px;
  padding: 5px 9px;
  background: #f5c76c;
  color: #44300e;
  font-style: normal;
  font-weight: 800;
}

.certification-target-summary h3 {
  margin: 14px 0 7px;
  font-size: 18px;
  line-height: 1.45;
}

.certification-target-summary > p {
  margin: 0;
  color: #cce6e1;
}

.certification-guide-link {
  display: grid;
  width: calc(100% + 34px);
  min-height: 54px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 15px -17px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 17px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  text-align: left;
}

.certification-guide-link small {
  color: #b9d9d3;
}

.certification-guide-link b {
  font-size: 20px;
}

.certification-foundation-options,
.certification-ratio-options {
  display: grid;
  gap: 9px;
}

.certification-foundation-options button,
.certification-ratio-options button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.certification-foundation-options button.active,
.certification-ratio-options button.active {
  border-color: var(--brand);
  background: #eef8f6;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.certification-foundation-options button > div,
.certification-ratio-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.certification-foundation-options button > div b,
.certification-ratio-options button > b {
  color: var(--brand-dark);
  white-space: nowrap;
}

.certification-foundation-options p {
  margin: 5px 0 6px;
  color: var(--muted);
}

.certification-foundation-options small,
.certification-ratio-options small {
  color: var(--muted);
}

.certification-ratio-options button > span {
  min-width: 0;
}

.certification-ratio-options strong,
.certification-ratio-options small {
  display: block;
}

.certification-selection-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.certification-selection-summary span {
  color: var(--muted);
}

.certification-selection-summary strong {
  min-width: 0;
}

.certification-selection-summary b {
  color: var(--brand-dark);
  white-space: nowrap;
}

.certification-experience-panel {
  display: grid;
  gap: 13px;
  border: 1px solid #eed8ae;
  border-radius: 18px;
  padding: 17px;
  background: linear-gradient(145deg, #fff8ea, #fff1d8);
}

.certification-step-kicker {
  color: #a45c05;
  font-weight: 800;
}

.certification-experience-panel h3 {
  margin: 7px 0 5px;
}

.certification-experience-panel p {
  margin: 0;
  color: #6f5633;
}

.certification-experience-panel > small {
  border-top: 1px solid #ead3a7;
  padding-top: 12px;
  color: #7e6644;
}

.certification-level-guide-mask {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 12px max(18px, env(safe-area-inset-bottom));
  background: rgba(10, 23, 21, 0.58);
  backdrop-filter: blur(5px);
}

.certification-level-guide {
  display: grid;
  width: min(100%, 430px);
  max-height: 90vh;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(7, 34, 30, 0.34);
  overflow: hidden;
}

.certification-level-guide > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px 12px;
}

.certification-level-guide > header small,
.certification-level-guide > header strong {
  display: block;
}

.certification-level-guide > header small {
  color: var(--muted);
}

.certification-level-guide > header strong {
  margin-top: 3px;
  font-size: 19px;
}

.certification-level-guide > header button {
  width: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 24px;
}

.certification-guide-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 18px 13px;
}

.certification-guide-tabs button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.certification-guide-tabs button.active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.certification-guide-scroll {
  display: grid;
  gap: 16px;
  padding: 2px 18px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.certification-guide-intro {
  border-radius: 15px;
  padding: 14px;
  background: var(--surface-soft);
}

.certification-guide-intro h3,
.certification-guide-intro p,
.certification-guide-video p {
  margin: 0;
}

.certification-guide-intro h3 {
  font-size: 17px;
  line-height: 1.5;
}

.certification-guide-intro p {
  margin-top: 6px;
  color: var(--muted);
}

.certification-guide-video {
  display: grid;
  gap: 9px;
}

.certification-guide-video > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.certification-guide-video small,
.certification-guide-video p {
  color: var(--muted);
}

.certification-guide-video video {
  display: block;
  width: 100%;
  max-height: 270px;
  border-radius: 14px;
  background: #0c1513;
}

.certification-guide-assessment {
  display: grid;
  gap: 8px;
}

.certification-guide-assessment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.certification-guide-assessment-head span {
  color: var(--muted);
  text-align: right;
}

.certification-guide-assessment details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.certification-guide-assessment details[open] {
  border-color: #b9d8d2;
  background: #f6fbfa;
}

.certification-guide-assessment summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  cursor: pointer;
}

.certification-guide-assessment summary b {
  border-radius: 7px;
  padding: 3px 6px;
  background: #e0f0ed;
  color: var(--brand-dark);
  white-space: nowrap;
}

.certification-guide-assessment ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 16px 15px 32px;
  color: #485652;
}

.certification-guide-pending,
.certification-guide-boundary {
  margin: 0;
  border-radius: 13px;
  padding: 13px;
  background: var(--surface-soft);
  color: var(--muted);
}

.certification-guide-boundary {
  border-left: 3px solid #e6a33a;
  background: #fff7e9;
  color: #6d522c;
}

.certification-level-guide > footer {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  background: #fff;
}

.certification-level-guide > footer button {
  width: 100%;
}

@media (max-width: 370px) {
  .certification-learning-mode {
    grid-template-columns: 1fr;
  }

  .certification-target-tabs {
    gap: 4px;
  }

  .certification-target-tabs button {
    padding-inline: 2px;
  }
}
