/* ===== Languagegogo — Mandarin Conversation Club ===== */
:root {
  --bg: #faf5ee;            /* warm cream */
  --bg-soft: #f3ebdf;
  --bg-lighter: #fdfaf5;
  --bg-lilac: #f4f1f9;
  --ink: #2e2a26;
  --ink-soft: #6b6259;
  --brand: #5b4b8a;         /* purple — brand & text accents */
  --brand-soft: #ece7f6;
  --cta: #b4502e;           /* brick red — primary actions */
  --cta-dark: #97401f;
  --line: #e5dccd;
  --card: #ffffff;
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; }
section { padding: 72px 24px; max-width: 1080px; margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-dark); }
.btn-ghost { border: 1.5px solid var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.brand-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.is-active {
  color: var(--brand); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.btn-nav { padding: 9px 20px; font-size: 14px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--brand); padding: 4px 8px; line-height: 1;
}

/* ===== Hero ===== */
.hero { padding-top: 88px; padding-bottom: 88px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--ink-soft); }

.hero-visual { display: flex; flex-direction: column; gap: 18px; }
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 8px 24px rgba(46, 42, 38, .06);
}
.hero-card-1 { transform: rotate(-1.5deg); }
.hero-card-2 { transform: rotate(1deg); display: flex; align-items: center; gap: 8px; }
.hero-char { font-family: var(--serif); font-size: 44px; color: var(--cta); display: block; margin-bottom: 8px; }
.hero-card p { font-size: 14px; color: var(--ink-soft); }
.avatar-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); border: 2px solid var(--brand); }
.avatar-dot.host { background: var(--cta); border-color: var(--cta-dark); }

/* ===== Selling points ===== */
.points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.point h3 { font-size: 20px; margin-bottom: 8px; color: var(--brand); }
.point p { color: var(--ink-soft); font-size: 15px; }

/* ===== Sessions ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }
.tz { margin-top: 14px; font-size: 14px; }
.tz strong { color: var(--brand); }

.session-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.session-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.session-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(46, 42, 38, .08); }
.session-banner {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), #f6e8dd);
  overflow: hidden;
}
.session-banner { color: inherit; text-decoration: none; }
.session-banner span { font-family: var(--serif); font-size: 46px; color: var(--cta); opacity: .85; }
.session-banner img, .detail-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-banner { overflow: hidden; }
.session-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.session-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.tag.status-open { background: #eef3e6; color: #4d6b2f; }
.tag.status-confirmed { background: #e6eff7; color: #2f5a80; }
.tag.status-full { background: #f1ece5; color: var(--ink-soft); }
.tag.status-urgent { background: #fbeadd; color: #a35a17; }
.session-title { font-size: 19px; }
.session-title a { color: inherit; text-decoration: none; }
.session-title a:hover { color: var(--brand); }
.session-title .zh { display: block; font-size: 15px; color: var(--ink-soft); font-family: var(--serif); margin-top: 2px; }
.session-meta { font-size: 14px; color: var(--ink-soft); }
.session-host { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.host-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.session-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--line); }
.session-length { font-size: 13px; color: var(--ink-soft); }

.suggest-time { text-align: center; margin-top: 56px; padding: 36px; background: var(--bg-soft); border-radius: 16px; }
.suggest-time h3 { font-size: 22px; margin-bottom: 8px; }
.suggest-time p { color: var(--ink-soft); margin-bottom: 18px; }

/* ===== Explain / How / Fit ===== */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.explain-block h2 { font-size: 26px; margin-bottom: 12px; color: var(--brand); }
.explain-block p { color: var(--ink-soft); }

.how { text-align: center; background: var(--bg-soft); max-width: none; }
.how h2, .fit h2, .pricing h2, .guides h2 { font-size: 30px; margin-bottom: 36px; text-align: center; }
.how-steps { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step-num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cta); color: #fff; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; margin-bottom: 12px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.how-more { margin-top: 28px; }
.how-more a { color: var(--brand); font-weight: 600; text-decoration: none; }
.how-more a:hover { text-decoration: underline; }

.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.fit-yes, .fit-no { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.fit-yes { border-top: 4px solid var(--cta); }
.fit-no { border-top: 4px solid #cdc6de; }
.fit-cols h3 { font-size: 19px; margin-bottom: 10px; }
.fit-cols p { color: var(--ink-soft); font-size: 15px; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; text-align: center; display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.price-card.featured { border: 2px solid var(--cta); }
.price-card h3 { font-size: 18px; color: var(--ink-soft); }
.price { font-family: var(--serif); font-size: 38px; color: var(--ink); }
.price-note { font-size: 14px; color: var(--ink-soft); flex: 1; }
.pricing-line { text-align: center; margin-top: 36px; font-family: var(--serif); font-size: 18px; color: var(--brand); }
.pricing-line a { color: var(--brand); font-weight: 700; text-decoration: none; }
.pricing-line a:hover { color: var(--cta); }

/* ===== Guides ===== */
.guides { text-align: center; max-width: 640px; }
.guides p { color: var(--ink-soft); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 24px 28px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand); }
.footer-note { text-align: center; font-size: 13px; color: var(--ink-soft); }

/* ===== Shared page header (guides / faq) ===== */
.page-head { text-align: center; max-width: 720px; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.page-sub { color: var(--ink-soft); font-size: 17px; }

/* ===== Session detail ===== */
.detail { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }
.detail-back { color: var(--brand); text-decoration: none; font-size: 14px; }
.detail-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin: 24px 0 48px; }
.detail-banner {
  height: 160px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), #f6e8dd);
}
.detail-banner span { font-family: var(--serif); font-size: 72px; color: var(--cta); opacity: .85; }
.detail-title h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 6px; }
.detail-zh { font-family: var(--serif); font-size: 20px; color: var(--ink-soft); margin-bottom: 10px; }
.detail-meta { color: var(--ink-soft); font-size: 15px; }
.detail-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 40px; align-items: start; }
.detail-block { margin-bottom: 44px; }
.detail-block h2 { font-size: 24px; margin-bottom: 12px; }
.detail-block h3 { font-size: 17px; margin: 22px 0 10px; color: var(--brand); }
.detail-block p { color: var(--ink-soft); }
.detail-soft { font-size: 14px; }
.detail-points { margin: 14px 0 0 20px; color: var(--ink-soft); }
.detail-points li { margin-bottom: 6px; }
.detail-missing { text-align: center; padding: 80px 0; }
.detail-missing p { color: var(--ink-soft); margin: 12px 0 24px; }
.detail-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

.vocab-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.vocab-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.vocab-table tr:last-child td { border-bottom: none; }
.vocab-zh { font-family: var(--serif); font-size: 17px; }
.vocab-py { color: var(--brand); }
.q-list { margin-left: 20px; color: var(--ink-soft); }
.q-list li { margin-bottom: 6px; }

.book-card, .host-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.book-card { text-align: center; margin-bottom: 20px; position: sticky; top: 88px; }
.book-seats { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.book-price { font-family: var(--serif); font-size: 30px; margin-bottom: 16px; }
.book-price span { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.host-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.host-avatar-lg { width: 52px; height: 52px; font-size: 20px; }
.host-name { font-weight: 700; }
.host-role { font-size: 13px; color: var(--brand); }
.host-bio { font-size: 14px; color: var(--ink-soft); }

/* ===== Guides page ===== */
.guide-anatomy h2 { font-size: 28px; text-align: center; margin-bottom: 32px; }
.guide-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-part { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.guide-part h3 { font-size: 19px; margin-bottom: 8px; color: var(--brand); }
.guide-part > p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.guide-sample {
  background: var(--bg-soft); border-radius: 10px; padding: 14px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.8;
}
.guide-sample .vocab-zh { font-size: 16px; color: var(--ink); }
.guide-why { text-align: center; max-width: 860px; }
.guide-why h2 { font-size: 28px; margin-bottom: 24px; }
.guide-why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; margin-bottom: 32px; }
.guide-why-cols p { color: var(--ink-soft); }

/* ===== FAQ page ===== */
.faq-list { max-width: 760px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px;
  list-style: none; position: relative;
}
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 22px; color: var(--brand);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 16px; }
.faq-item a { color: var(--brand); }

/* ===== Habit / community section ===== */
.habit { text-align: center; max-width: 860px; }
.habit h2 { font-size: 30px; margin-bottom: 24px; }
.habit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; margin-bottom: 28px; }
.habit-cols p { color: var(--ink-soft); }
.habit-quote { font-family: var(--serif); font-size: 19px; color: var(--brand); }

.waitlist-line { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.waitlist-line a { color: var(--brand); }

.tag-featured { background: #f6e8dd; color: var(--cta); }

/* ===== Conversations page ===== */
.page-head-compact { padding-bottom: 0; }
.sessions-page { padding-top: 36px; }

.tz-line { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.tz-line strong { color: var(--brand); }
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--brand); font-size: inherit; text-decoration: underline;
}
#tz-picker { margin-top: 12px; }
#tz-picker select {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: var(--sans); color: var(--ink); background: #fff;
}

.filter-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 10px;
}
.filter-title { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.chip-group { display: flex; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; cursor: pointer; color: var(--ink-soft);
}
.chip.active { border-color: var(--cta); color: var(--cta); background: #f9ece6; font-weight: 600; }
.rules-line { font-size: 14px; color: var(--brand); margin-bottom: 8px; }

.notice-bar {
  background: #f9ece6; border: 1px solid #ecd9cc; border-radius: 12px;
  padding: 12px 18px; text-align: center; font-size: 15px; color: var(--cta-dark);
  margin: 18px 0 8px;
}
.notice-bar strong { color: var(--cta); }

.week-head { font-size: 22px; margin: 36px 0 18px; }
.week-head:first-child { margin-top: 20px; }

/* Horizontal session rows (conversations page) */
.session-rows { display: flex; flex-direction: column; gap: 20px; }
.session-row {
  display: flex; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.session-row:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 42, 38, .08); }
.session-row-img {
  width: 220px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), #f6e8dd);
  color: inherit; text-decoration: none; overflow: hidden;
}
.session-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.session-row-img span { font-family: var(--serif); font-size: 46px; color: var(--cta); opacity: .85; }
.session-row-body { flex: 1; padding: 20px 26px; display: flex; flex-direction: column; gap: 10px; }
.session-row-side {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  padding: 16px 20px; border-left: 1px solid var(--line); min-width: 120px;
}

.session-time { font-weight: 700; font-size: 16px; }
.session-time-sub { font-size: 13px; color: var(--ink-soft); margin-top: -8px; }

.cancel-note {
  max-width: 760px; margin: 44px auto 0; text-align: center;
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
}
.cancel-note a { color: var(--brand); }

.empty-state { text-align: center; color: var(--ink-soft); padding: 48px 0; }
.empty-state p { margin-bottom: 16px; }

/* ===== How It Works page ===== */
.hiw-hero { padding-top: 64px; padding-bottom: 64px; }
.hiw-hero .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 44px; }
.hiw-hero-img img, .hiw-img img {
  width: 100%; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(46, 42, 38, .06); display: block;
}
.hiw-before-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.hiw-steps { display: flex; flex-direction: column; gap: 26px; }
.hiw-step { display: flex; gap: 16px; align-items: flex-start; }
.hiw-step .step-num { flex-shrink: 0; margin-bottom: 0; }
.hiw-step h3 { font-size: 19px; margin-bottom: 6px; }
.hiw-step p { color: var(--ink-soft); font-size: 16px; }
.hiw-step-note { margin-top: 6px; font-size: 14px; color: var(--brand); font-weight: 600; }
.hiw-preview {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; margin-top: 40px;
}
.hiw-preview h3 { font-size: 18px; color: var(--brand); margin-bottom: 12px; }
.hiw-preview ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; padding: 0; }
.hiw-preview li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 16px; }
.hiw-preview li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cta);
}
.hiw-preview-note { margin-top: 16px; font-size: 16px; color: var(--brand); font-weight: 600; }
.hiw-prep { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.hiw-prep-card {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: 14px; padding: 24px;
}
.hiw-prep-card h3 { font-size: 18px; margin-bottom: 6px; }
.hiw-prep-card p { color: var(--ink-soft); font-size: 16px; }
.hiw-prep-note { margin-top: 18px; font-size: 16px; color: var(--ink-soft); }
.hiw-summary {
  margin: 38px auto 0; max-width: 780px; text-align: center;
  font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--brand);
  line-height: 1.55;
}

.hiw-timeline-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time { font-family: var(--serif); font-weight: 700; color: var(--cta); }
.timeline-item h3 { font-size: 18px; margin-bottom: 4px; }
.timeline-item p { color: var(--ink-soft); font-size: 16px; }
.hiw-aside { text-align: center; margin-top: 28px; font-family: var(--serif); font-size: 17px; color: var(--brand); }

.hiw-host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hiw-host-point { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.hiw-host-point h3 { font-size: 18px; margin-bottom: 6px; color: var(--brand); }
.hiw-host-point p { color: var(--ink-soft); font-size: 16px; }
.hiw-highlight {
  text-align: center; margin-top: 32px; font-family: var(--serif);
  font-size: 22px; font-weight: 700; color: var(--cta);
}

.hiw-format h2 { font-size: 28px; text-align: center; margin-bottom: 32px; }
.hiw-points { border: none; padding: 0; }

.hiw-notclass { max-width: 780px; text-align: center; padding-top: 52px; padding-bottom: 52px; }
.hiw-notclass h2, .hiw-comfort h2, .hiw-cancel h2 { font-size: 28px; margin-bottom: 16px; }
.hiw-body { color: var(--ink-soft); margin-bottom: 14px; font-size: 17px; }
.hiw-quote {
  margin: 26px auto 0; font-family: var(--serif); font-size: 23px; line-height: 1.5;
  color: var(--brand); max-width: 620px;
}

.hiw-comfort, .hiw-cancel { max-width: 780px; }
.hiw-rules { margin: 18px 0 0 20px; color: var(--ink-soft); }
.hiw-rules li { margin-bottom: 8px; }

.fit-list { margin-left: 18px; color: var(--ink-soft); font-size: 16px; }
.fit-list li { margin-bottom: 10px; line-height: 1.6; }

.hiw-faq-title { text-align: center; font-size: 28px; margin-bottom: 28px; }

.hiw-cta { text-align: center; background: var(--bg-soft); max-width: none; }
.hiw-cta h2 { font-size: 30px; margin-bottom: 12px; }
.hiw-cta p { color: var(--ink-soft); margin-bottom: 22px; }
.hiw-cta .hero-note { margin-top: 14px; margin-bottom: 0; }

/* ===== Section bands (subtle background alternation) ===== */
.band-light {
  background: var(--bg-lighter);
  box-shadow: 0 0 0 100vmax var(--bg-lighter);
  clip-path: inset(0 -100vmax);
}
.band-lilac {
  background: var(--bg-lilac);
  box-shadow: 0 0 0 100vmax var(--bg-lilac);
  clip-path: inset(0 -100vmax);
}

/* ===== Host intro ===== */
.host-intro {
  display: flex; align-items: center; gap: 22px;
  max-width: 620px; margin: 0 auto 36px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 26px; text-align: left;
}
.host-intro-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--brand-soft);
}
.host-intro-name { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.host-intro-role {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin: 3px 0 8px;
}
.host-intro-bio { font-size: 15px; color: var(--ink-soft); }

/* ===== Format point icons ===== */
.point-icon { width: 34px; height: 34px; color: var(--cta); margin-bottom: 14px; }
.hiw-points .point p { font-size: 16px; }

/* ===== Not-a-class contrast tags ===== */
.hiw-contrast {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 620px; margin: 30px auto 0; text-align: left;
}
.hiw-contrast-col {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.hiw-contrast-col.is-discussion { border-color: #ddd3ee; background: #f8f6fc; }
.hiw-contrast-head { font-family: var(--serif); font-weight: 700; font-size: 16px; margin-bottom: 2px; color: var(--ink-soft); }
.is-discussion .hiw-contrast-head { color: var(--brand); }
.hiw-contrast-tag {
  font-size: 14px; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
}
.is-discussion .hiw-contrast-tag { color: var(--brand); border-color: #ddd3ee; background: #fff; }

/* ===== Comfort rule card ===== */
.hiw-rule-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 36px;
}
.hiw-rules-icons { list-style: none; margin: 18px 0 6px; display: flex; flex-direction: column; gap: 16px; }
.hiw-rules-icons li { display: flex; gap: 14px; align-items: flex-start; }
.hiw-rules-icons p { color: var(--ink-soft); font-size: 16px; }
.hiw-rules-icons strong { color: var(--ink); }
.hiw-li-icon { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ===== Cancellation guarantee card ===== */
.hiw-guarantee {
  background: var(--card); border: 1px solid #e7def2; border-top: 4px solid var(--brand);
  border-radius: 16px; padding: 32px 36px;
}
.hiw-guarantee-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.hiw-guarantee-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: #f8f6fc; border: 1px solid #e7def2; border-radius: 12px; padding: 14px 18px;
}
.hiw-guarantee-row svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.hiw-guarantee-row p { color: var(--ink-soft); font-size: 16px; }
.hiw-guarantee-row strong { color: var(--ink); }

/* ===== Guides hub page ===== */
.g-hero { padding-top: 64px; padding-bottom: 64px; }
.g-hero .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; }
.g-hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: 0 12px 32px rgba(46,42,38,.08);
}
.g-hero-card-img { margin: -28px -28px 18px; }
.g-hero-card-img img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: 17px 17px 0 0;
}
.g-hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.g-hero-card-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); background: var(--bg-lilac);
  border-radius: 999px; padding: 5px 12px;
}
.g-hero-card-time { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.g-hero-card h3 { font-size: 22px; margin-bottom: 8px; }
.g-hero-card-sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.g-hero-card-meta { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--ink-soft); }
.g-hero-card-line {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline;
  border-top: 1px dashed var(--line); padding: 10px 0;
}
.g-hero-card-line .zh { font-size: 17px; font-weight: 700; }
.g-hero-card-line .py { font-size: 13.5px; color: var(--ink-soft); font-style: italic; }
.g-hero-card-line .en { grid-column: 2; font-size: 13px; color: var(--ink-soft); }
.g-hero-card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 16.5px; color: var(--cta); text-decoration: none; }
.g-hero-card-link:hover { text-decoration: underline; }

.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.g-card-img { display: block; }
.g-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.g-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.g-card h3 { font-size: 20px; margin: 10px 0 8px; }
.g-card h3 a { color: inherit; text-decoration: none; }
.g-card h3 a:hover { color: var(--cta); }
.g-card p {
  color: var(--ink-soft); font-size: 16px; flex: 1; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.g-card-meta { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.g-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.g-card-top .g-card-meta { margin-top: 0; white-space: nowrap; }
.g-card-link { margin-top: 12px; font-weight: 700; color: var(--cta); text-decoration: none; }
.g-card-link:hover { text-decoration: underline; }
.g-card-session { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.g-card-session:hover { text-decoration: underline; }
.g-card-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.g-card-actions .g-card-link { margin-top: 0; }
.g-link-outline {
  font-weight: 700; font-size: 14px; color: var(--brand); text-decoration: none;
  border: 1.5px solid var(--brand); border-radius: 999px; padding: 6px 15px; white-space: nowrap;
}
.g-link-outline:hover { background: var(--brand); color: var(--card); }
.g-card.is-soon { opacity: .72; }
.g-card.is-soon .g-card-meta { color: var(--brand); font-weight: 600; }
.g-mini { position: relative; border-top: 3px solid var(--brand); }
.g-mini::after {
  content: attr(data-zh); position: absolute; top: 18px; right: 22px;
  font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--bg-lilac); line-height: 1;
}

.g-goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-goal {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column;
  position: relative; transition: box-shadow .12s ease;
}
.g-goal:hover { box-shadow: 0 10px 26px rgba(107, 79, 163, .1); }
.g-goal-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-lilac);
  display: grid; place-items: center; color: var(--cta); margin-bottom: 14px;
}
.g-goal-icon svg { width: 28px; height: 28px; }
.g-goal h3 { font-size: 20px; margin-bottom: 8px; }
.g-goal > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.g-goal-list { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.g-goal-list li { padding: 9px 0 9px 18px; position: relative; font-size: 15.5px; line-height: 1.5; border-top: 1px dashed var(--line); }
.g-goal-list li:first-child { border-top: none; }
.g-goal-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.g-goal-list a { color: var(--ink); text-decoration: none; font-weight: 600; position: relative; z-index: 1; }
.g-goal-list a:hover { color: var(--cta); }
.g-soon { color: var(--ink-soft); }
.g-soon em { font-size: 12.5px; color: var(--brand); font-style: normal; }
.g-goal-btn {
  align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--cta);
  text-decoration: none; border-bottom: 2px solid var(--cta); padding-bottom: 2px;
}
.g-goal-btn::after { content: ""; position: absolute; inset: 0; }
.g-goal-btn:hover { opacity: .85; }

.g-grid-single { grid-template-columns: minmax(0, 400px); justify-content: center; }
.g-topics-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 15.5px; }
.g-topics-note a { color: var(--cta); font-weight: 600; text-decoration: none; }
.g-topics-note a:hover { text-decoration: underline; }

.g-vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.g-vs {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column;
}
.g-vs.is-preview { border-top: 4px solid var(--brand); }
.g-vs h3 { font-size: 21px; margin-bottom: 6px; color: var(--brand); }
.g-vs-sub {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 16px;
}
.g-vs > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.g-vs ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.g-vs li { position: relative; padding: 5px 0 5px 22px; font-size: 15.5px; color: var(--ink-soft); }
.g-vs li::before { content: "✓"; position: absolute; left: 0; color: var(--cta); font-weight: 700; }
.g-vs-note { font-weight: 700; color: var(--brand); font-size: 16px; }
.g-vs-highlight {
  background: var(--bg-lilac); border-radius: 12px; padding: 18px 20px;
  font-weight: 700; color: var(--brand); font-size: 17px; line-height: 1.55;
}
.g-vs .btn { align-self: flex-start; }

.g-inc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.g-inc {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
}
.g-inc .g-goal-icon { width: 52px; height: 52px; }
.g-inc .g-goal-icon svg { width: 28px; height: 28px; }
.g-inc h3 { font-size: 18px; margin-bottom: 6px; }
.g-inc p { color: var(--ink-soft); font-size: 15.5px; }
.g-inc-note {
  text-align: center; color: var(--ink); font-weight: 600; font-size: 16px;
  margin: 28px auto 0; max-width: 640px;
}

.g-qcmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; max-width: 900px; margin: 0 auto 34px; }
.g-qcmp-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.g-qcmp-box h3 { font-size: 21px; margin: 10px 0 8px; }
.g-qcmp-box p { color: var(--ink-soft); font-size: 15.5px; }
.g-qcmp-box.is-better { border: 1px solid var(--brand); background: var(--bg-lilac); }
.g-qcmp-arrow { font-size: 34px; color: var(--cta); font-weight: 700; }
.tag-muted { background: #ece6de; color: var(--ink-soft); }
.g-mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.g-why-body { max-width: 720px; margin: 0 auto; text-align: center; }
.g-why-body p { color: var(--ink-soft); font-size: 17px; margin-bottom: 14px; }
.g-why-quote {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--brand);
  margin-top: 26px; line-height: 1.5;
}

/* ===== Guides CTA ===== */
.cta { text-align: center; padding-top: 88px; padding-bottom: 88px; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta h2 { font-size: 34px; margin-bottom: 12px; }
.cta p { color: var(--ink-soft); font-size: 17px; margin-bottom: 28px; }
.cta .btn { padding: 15px 34px; font-size: 17px; }
.cta-note { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }

/* ===== Single guide article ===== */
.g-art { max-width: 760px; }
.g-art-head { padding-bottom: 8px; }
.g-art-head h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.g-art-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.g-art-back { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.g-art-back:hover { text-decoration: underline; }
.g-art h2 { font-size: 26px; margin: 40px 0 12px; }
.g-art h3 { font-size: 19px; margin: 24px 0 8px; }
.g-art p, .g-art li { font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.g-art p { margin-bottom: 14px; color: #46403a; }
.g-art ul, .g-art ol { margin: 0 0 16px; padding-left: 22px; }
.g-art li { margin-bottom: 8px; color: #46403a; }
.g-expr {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 12px;
}
.g-expr .zh { font-size: 18px; font-weight: 700; }
.g-expr .py { color: var(--brand); font-style: italic; font-size: 14px; margin-left: 8px; }
.g-expr .en { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.g-expr .ex { margin-top: 8px; font-size: 15px; color: #46403a; border-top: 1px dashed var(--line); padding-top: 8px; }
.g-expr .ex .py { margin-left: 6px; }
.g-callout {
  background: var(--bg-lilac); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 22px 0; font-size: 16px;
}
.g-art-cta {
  margin-top: 48px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px; text-align: center;
}
.g-art-cta h2 { margin-top: 0; }
.g-art-cta p { color: var(--ink-soft); }
.g-rel { margin-top: 44px; }
.g-rel h2 { margin-top: 0; }
.g-rel a { display: block; padding: 12px 0; border-top: 1px dashed var(--line); font-weight: 600; color: var(--brand); text-decoration: none; }
.g-rel a:hover { color: var(--cta); }

/* ===== Pricing page ===== */
.pr-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.pr-hero h1 { font-size: 44px; margin: 14px 0 18px; }
.pr-hero-sub { color: var(--ink-soft); font-size: 18px; max-width: 620px; margin: 0 auto 18px; }
.pr-facts { font-weight: 600; color: var(--brand); font-size: 15.5px; }

.pr-cards { padding-top: 20px; }
.pr-cards .price-card { position: relative; padding-top: 36px; }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cta); color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; padding: 6px 18px;
  border-radius: 999px; white-space: nowrap;
}
.price-badge-alt { background: var(--brand); }
.price-per { font-weight: 700; color: var(--brand); font-size: 16px; margin: -4px 0 0; }
.price-fine { font-size: 13.5px; color: var(--ink-soft); }
.pr-cards .price-card .btn { margin-top: 6px; }
.price-usd { text-align: center; margin: 26px 0 0; font-size: 14px; color: var(--ink-soft); }

.pr-sched { padding-top: 10px; padding-bottom: 10px; }
.pr-sched-line {
  max-width: 760px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 14px 30px;
  font-size: 15.5px; color: var(--ink-soft); text-align: center;
}
.pr-sched-line strong { color: var(--ink); }
.pr-sched-line a { color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pr-sched-line a:hover { text-decoration: underline; }

.pr-inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.pr-inc {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 20px; text-align: center;
}
.pr-inc .g-goal-icon { width: 60px; height: 60px; margin: 0 auto 14px; }
.pr-inc .g-goal-icon svg { width: 32px; height: 32px; }
.pr-inc h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; min-height: 46px; }
.pr-inc p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.pr-pass {
  max-width: 720px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 34px;
}
.pr-pass-lead { font-size: 17px; line-height: 1.6; margin-bottom: 18px; }
.pr-pass-list { list-style: none; margin: 0; padding: 0; }
.pr-pass-list li {
  padding: 10px 0 10px 30px; position: relative; font-size: 15.5px;
  color: var(--ink-soft); border-top: 1px dashed var(--line);
}
.pr-pass-list li:first-child { border-top: none; }
.pr-pass-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px;
  color: var(--brand); font-weight: 700; font-size: 16px;
}

.pr-protect {
  max-width: 880px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 16px; padding: 32px 36px;
}
.pr-protect h2 { font-size: 26px; margin-bottom: 20px; }
.pr-protect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pr-protect h3 { font-size: 16.5px; margin: 14px 0 6px; }
.pr-protect h3:first-child { margin-top: 0; }
.pr-protect p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.pr-protect p:last-child { margin-bottom: 0; }

.pr-faq { max-width: 760px; margin: 0 auto; }
.pr-faq a { color: var(--brand); }

.cta-links { margin-top: 16px; }
.cta-links a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 15.5px; }
.cta-links a:hover { text-decoration: underline; }

/* ===== About page ===== */
.ab-hero { display: grid; grid-template-columns: 1.15fr .95fr; gap: 56px; align-items: center; }
.ab-hero h1 { font-size: 50px; margin: 16px 0 22px; line-height: 1.12; }
.ab-hero-sub p { font-size: 18px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.ab-hero-actions { display: flex; gap: 14px; margin: 26px 0 14px; flex-wrap: wrap; }
.ab-hero-note { font-size: 14.5px; color: var(--ink-soft); }
.ab-photo { margin: 0; }
.ab-photo img { width: 100%; display: block; border-radius: 24px; background: var(--bg-lilac); }
.ab-hero .ab-photo img { aspect-ratio: 4/5; object-fit: cover; }
.ab-photo-tag { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); text-align: center; }

.ab-narrow { max-width: 700px; margin: 0 auto; }
.ab-narrow h2 { font-size: 33px; margin-bottom: 18px; line-height: 1.25; }
.ab-narrow p { font-size: 17.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }
.ab-center { text-align: center; }
.ab-bigline {
  font-family: var(--serif); font-size: 29px; line-height: 1.4; text-align: center;
  max-width: 720px; margin: 44px auto 0; color: var(--ink);
}

.ab-grid22 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; margin: 0 auto; }
.ab-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px;
}
.ab-card .g-goal-icon { margin-bottom: 14px; }
.ab-card h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.35; }
.ab-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 10px; }
.ab-card p:last-child { margin-bottom: 0; }
.ab-card-lead { font-weight: 600; color: var(--ink) !important; }
.ab-pain .ab-card h3 { min-height: 2.6em; }
.ab-pain .g-goal-icon svg { width: 44px; height: 44px; }

.ab-pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px; }
.ab-pos {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.ab-pos h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.35; }
.ab-pos p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.ab-turn-note {
  font-family: var(--serif); font-size: 21px; text-align: center;
  max-width: 700px; margin: 42px auto 0; color: var(--ink); line-height: 1.5;
}
.ab-endline {
  font-family: var(--serif); font-size: 21px; color: var(--ink) !important;
  line-height: 1.5; margin-top: 30px; margin-bottom: 0 !important;
}

.ab-host { display: grid; grid-template-columns: .9fr 1.2fr; gap: 48px; align-items: start; }
.ab-host-name { font-family: var(--serif); font-size: 26px; margin-bottom: 16px; color: var(--ink); }
.ab-host-text p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px; }
.ab-bg-card {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 14px; padding: 26px 30px; margin-top: 28px;
}
.ab-bg-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 14px; }
.ab-bg-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-top: 1px dashed var(--line); font-size: 15.5px;
}
.ab-bg-row:first-of-type { border-top: none; }
.ab-bg-row span { color: var(--ink-soft); }
.ab-bg-row strong { text-align: right; font-weight: 600; color: var(--ink); }

.ab-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ab-brand { text-align: center; }
.ab-brand-lines p { font-family: var(--serif); font-size: 24px; line-height: 1.9; color: var(--ink); }
.ab-brand-sub { margin-top: 22px; font-size: 17px; color: var(--brand); font-weight: 600; }
.ab-cta { border-top: 1px solid rgba(0, 0, 0, .07); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .ab-pos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner, .explain, .fit-cols, .detail-grid, .guide-why-cols, .habit-cols,
  .hiw-before-grid, .hiw-timeline-grid, .hiw-host-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 86px 1fr; gap: 14px; }
  .points, .how-steps, .price-grid, .guide-parts { grid-template-columns: 1fr; }
  .hiw-contrast, .hiw-preview ul, .hiw-prep { grid-template-columns: 1fr; }
  .hiw-preview, .hiw-prep-card { padding: 24px 22px; }
  .g-grid, .g-goal-grid, .g-vs-grid { grid-template-columns: 1fr; }
  .g-inc-grid { grid-template-columns: 1fr; }
  .pr-hero h1 { font-size: 32px; }
  .pr-inc-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-inc h3 { min-height: 0; }
  .pr-protect-grid { grid-template-columns: 1fr; }
  .pr-sched-line { border-radius: 18px; }
  .pr-sched-line a { white-space: normal; }
  .pr-pass, .pr-protect { padding: 24px 22px; }
  .ab-hero { grid-template-columns: 1fr; gap: 40px; }
  .ab-hero h1 { font-size: 34px; }
  .ab-hero-actions .btn-primary { width: 100%; text-align: center; }
  .ab-hero-actions .btn-ghost { width: 100%; text-align: center; }
  .ab-narrow h2 { font-size: 27px; }
  .ab-bigline { font-size: 23px; }
  .ab-grid22, .ab-ways, .ab-host { grid-template-columns: 1fr; }
  .ab-pos-grid { grid-template-columns: 1fr 1fr; }
  .ab-turn-note { font-size: 18.5px; }
  .ab-brand-lines p { font-size: 20px; }
  .ab-bg-row { flex-direction: column; gap: 2px; }
  .ab-bg-row strong { text-align: left; }
  .g-card-actions { gap: 12px; }
  .g-qcmp { grid-template-columns: 1fr; }
  .g-qcmp-arrow { text-align: center; transform: rotate(90deg); }
  .g-hero .hero-inner { grid-template-columns: 1fr; }
  .host-intro { flex-direction: column; text-align: center; }
  .hiw-rule-card, .hiw-guarantee { padding: 24px 22px; }
  .detail-head { grid-template-columns: 1fr; }
  .detail-banner { height: 120px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin-left: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .hero-visual { display: none; }
  .book-card { position: static; }
  .session-row { flex-direction: column; }
  .session-row-img { width: 100%; height: 140px; }
  .session-row-side {
    border-left: none; border-top: 1px solid var(--line);
    align-items: stretch; text-align: center;
  }
  .session-row-side .btn { display: block; width: 100%; text-align: center; }

  /* tighter mobile spacing */
  section { padding: 48px 20px; }
  .cta { padding-top: 60px; padding-bottom: 60px; }
  .cta .btn { display: block; width: 100%; }
  .page-head-compact { padding-top: 40px; padding-bottom: 0; }
  .page-head h1 { font-size: 30px; }
  .chip-group { flex-wrap: wrap; }
  .filter-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Member area (login / My Conversations / Notifications / Account)
   ============================================================ */

/* ===== Auth page (login / register) ===== */
.auth {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 24px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px 36px;
  width: 100%; max-width: 440px;
  box-shadow: 0 18px 44px rgba(46, 42, 38, .08);
}
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-sub { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 26px; }
.auth-form label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 16px; position: relative;
}
.auth-form input {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; font-size: 15.5px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-lighter); color: var(--ink);
}
.auth-form input:focus { outline: none; border-color: var(--brand); background: #fff; }
.auth-forgot { position: absolute; right: 0; top: 0; font-weight: 400; }
.auth-forgot a { color: var(--brand); text-decoration: none; font-size: 13px; }
.auth-forgot a:hover { text-decoration: underline; }
.auth-submit { display: block; width: 100%; text-align: center; margin-top: 6px; font-size: 16px; }
.auth-switch { text-align: center; font-size: 14.5px; color: var(--ink-soft); margin-top: 18px; }
.auth-switch a { color: var(--brand); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-note { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0 16px; color: var(--ink-soft); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; font-size: 15px; font-weight: 600; font-family: var(--sans);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  cursor: pointer; color: var(--ink); transition: background .12s ease;
}
.auth-google:hover { background: var(--bg-lighter); }
.auth-demo { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; }
.auth-demo a { color: var(--brand); text-decoration: none; }
.auth-demo a:hover { text-decoration: underline; }

/* ===== Logged-in nav ===== */
.nav-login {
  color: var(--brand); text-decoration: none; font-size: 15px; font-weight: 600;
  margin-left: 16px; white-space: nowrap;
}
.nav-login:hover { text-decoration: underline; }
.nav-user { display: flex; align-items: center; gap: 14px; margin-left: 16px; }
.nav-pop-wrap { position: relative; }
.nav-bell {
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: 6px; border-radius: 50%; position: relative; line-height: 0;
}
.nav-bell:hover { background: var(--brand-soft); color: var(--brand); }
.bell-badge {
  position: absolute; top: -2px; right: -4px;
  background: var(--cta); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700; font-family: var(--sans);
}
.nav-drop {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(46, 42, 38, .14);
  min-width: 240px; padding: 8px; z-index: 60;
}
.nav-drop a, .nav-drop button:not(.nav-bell) {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 14.5px;
  background: none; border: none; cursor: pointer; font-family: var(--sans);
}
.nav-drop a:hover, .nav-drop button:hover { background: var(--bg-lighter); }
.avatar-drop-name {
  padding: 10px 12px 8px; font-weight: 700; font-size: 14.5px;
  border-bottom: 1px solid var(--line); margin-bottom: 6px;
}
.avatar-drop-name span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
#nav-logout { color: var(--cta); }
.bell-drop { min-width: 320px; max-width: 360px; }
.bell-drop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.bell-drop-head strong { font-size: 14.5px; }
.bell-drop-head button {
  width: auto !important; padding: 0 !important; background: none; border: none;
  color: var(--brand); font-size: 13px; cursor: pointer; font-family: var(--sans);
}
.bell-drop-head button:hover { text-decoration: underline; background: none !important; }
.bell-item {
  display: flex !important; gap: 10px; align-items: flex-start;
  padding: 10px 12px !important;
}
.bell-item .dot { margin-top: 7px; }
.bell-item-body strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bell-item-body span { font-size: 12.5px; color: var(--ink-soft); }
.bell-item.unread .bell-item-body strong { color: var(--ink); }
.bell-all {
  text-align: center !important; color: var(--brand) !important; font-weight: 600;
  border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 8px 8px !important;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cta); flex-shrink: 0; display: inline-block;
}
.dot-off { background: transparent; }

/* ===== Member layout ===== */
.mem { max-width: 900px; margin: 0 auto; padding: 56px 24px 80px; }
.mem-narrow { max-width: 780px; }
.mem-head h1 { font-size: 34px; margin-bottom: 6px; }
.mem-head p { color: var(--ink-soft); font-size: 16px; }
.mem-head-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

/* Tabs */
.mem-tabs {
  display: flex; gap: 4px; margin: 26px 0 22px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.mem-tabs [role="tab"] {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  font-size: 15.5px; font-weight: 600; color: var(--ink-soft);
  padding: 10px 16px 12px; white-space: nowrap;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.mem-tabs [role="tab"]:hover { color: var(--ink); }
.mem-tabs [role="tab"][aria-selected="true"] { color: var(--cta); border-bottom-color: var(--cta); }
.tab-count {
  display: inline-block; min-width: 20px; padding: 1px 6px;
  background: var(--bg-soft); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
  margin-left: 4px; text-align: center;
}
.mem-tabs [aria-selected="true"] .tab-count { background: #f6e8dd; color: var(--cta); }
.tab-count:empty { display: none; }

/* Balance status card */
.bal-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 26px; margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.bal-card h2 { font-size: 20px; margin-bottom: 4px; }
.bal-card p { color: var(--ink-soft); font-size: 15px; }
.bal-lines p { font-size: 15.5px; color: var(--ink-soft); }
.bal-lines strong { color: var(--ink); font-size: 16.5px; }
.bal-hero { background: var(--bg-lilac); border-color: #e2daf0; }

/* Status pills */
.st {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; line-height: 1.4;
}
.st-confirmed { background: #e6f0dc; color: #3f6b24; }
.st-waiting { background: #fbf0d3; color: #8a6414; }
.st-soon { background: #fbeadd; color: #a35a17; }
.st-live { background: #e6f0dc; color: #3f6b24; }
.st-completed { background: #f1ece5; color: var(--ink-soft); }
.st-canceled { background: #f9e4e0; color: #a83a2c; }

/* Booking cards */
.booking-list { display: flex; flex-direction: column; gap: 18px; }
.bk-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex;
}
.bk-thumb {
  width: 168px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), #f6e8dd);
}
.bk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-thumb span { font-family: var(--serif); font-size: 52px; color: var(--brand); }
.bk-body { padding: 20px 24px; flex: 1; min-width: 0; }
.bk-compact .bk-body { padding: 16px 24px; }
.bk-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.bk-time-top { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.bk-title { font-size: 20px; margin-bottom: 4px; }
.bk-title a { color: inherit; text-decoration: none; }
.bk-title a:hover { color: var(--brand); }
.bk-title .zh { display: block; font-size: 15px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.bk-meta { font-size: 14.5px; color: var(--ink-soft); margin-top: 2px; }
.bk-note {
  font-size: 14px; color: #8a6414; background: #fbf0d3;
  border-radius: 10px; padding: 10px 14px; margin-top: 12px;
}
.bk-preview-ok { font-size: 13.5px; color: #3f6b24; font-weight: 600; margin-top: 10px; }
.bk-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
}
.bk-actions .btn-primary { font-size: 14.5px; padding: 10px 22px; }
.bk-cancel {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  color: var(--cta); font-size: 14px; padding: 8px 4px;
}
.bk-cancel:hover { text-decoration: underline; }
.bk-link {
  color: var(--brand); font-size: 14px; text-decoration: none; padding: 8px 4px;
}
.bk-link:hover { text-decoration: underline; }
.bk-feedback-done { font-size: 14px; color: #3f6b24; font-weight: 600; padding: 8px 4px; }
.bk-empty {
  text-align: center; padding: 56px 24px;
  background: var(--card); border: 1px dashed var(--line); border-radius: 16px;
}
.bk-empty p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }

/* ===== Booking detail ===== */
.det-back {
  display: inline-block; color: var(--brand); text-decoration: none;
  font-size: 14.5px; font-weight: 600; margin-bottom: 20px;
}
.det-back:hover { text-decoration: underline; }
.det-hero {
  display: grid; grid-template-columns: 1fr 240px; gap: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 32px; margin-bottom: 22px;
}
.det-hero h1 { font-size: 28px; margin: 10px 0 4px; }
.det-zh { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.det-hero-img {
  border-radius: 14px; overflow: hidden; min-height: 170px;
  background: linear-gradient(135deg, var(--brand-soft), #f6e8dd);
  display: flex; align-items: center; justify-content: center;
}
.det-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det-hero-img span { font-family: var(--serif); font-size: 64px; color: var(--brand); }
.det-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.det-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 30px; margin-bottom: 20px;
}
.det-card h2 { font-size: 21px; margin-bottom: 12px; }
.det-card h3 { font-size: 16px; margin: 18px 0 8px; font-family: var(--sans); font-weight: 700; }
.det-preview-intro { font-size: 15.5px; color: var(--ink-soft); }
.det-questions { padding-left: 22px; font-size: 15.5px; }
.det-questions li { margin-bottom: 6px; }
.det-expression { font-size: 15px; color: var(--ink-soft); }
.det-vocab { list-style: none; font-size: 15px; }
.det-vocab li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.det-vocab li:last-child { border-bottom: none; }
.det-vocab span { color: var(--ink-soft); font-size: 13.5px; }
.det-notes-hint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }
.det-card textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-lighter);
  color: var(--ink); resize: vertical; margin-bottom: 10px;
}
.det-card textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.det-info-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.det-info-row:last-child { border-bottom: none; }
.det-info-row span { color: var(--ink-soft); }
.det-info-row strong { text-align: right; }

/* ===== Modal ===== */
.modal-back {
  position: fixed; inset: 0; background: rgba(46, 42, 38, .45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; z-index: 100;
}
.modal-back[hidden] { display: none; }
.modal {
  background: #fff; border-radius: 18px; padding: 30px 32px;
  max-width: 430px; width: 100%;
  box-shadow: 0 24px 60px rgba(46, 42, 38, .25);
}
.modal h3 { font-size: 21px; margin-bottom: 10px; }
.modal p { color: var(--ink-soft); font-size: 15px; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-actions .btn { flex: 1; text-align: center; font-size: 14.5px; padding: 11px 16px; }

/* ===== Notifications ===== */
.notif-list { display: flex; flex-direction: column; gap: 12px; }
.notif {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; cursor: pointer;
  transition: border-color .12s ease;
}
.notif:hover { border-color: #d3c7b5; }
.notif.unread { background: #fffdf8; border-color: #e3d5bd; }
.notif-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.notif-icon svg { width: 19px; height: 19px; }
.notif-booking { background: var(--brand-soft); color: var(--brand); }
.notif-reminder { background: #fbf0d3; color: #8a6414; }
.notif-bonus { background: #f6e8dd; color: var(--cta); }
.notif-guide { background: #e6f0dc; color: #3f6b24; }
.notif-body { flex: 1; min-width: 0; }
.notif-title-row { display: flex; align-items: center; gap: 8px; }
.notif-title-row h3 { font-size: 15.5px; font-family: var(--sans); font-weight: 700; }
.notif-body p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.notif-time { font-size: 12.5px; color: var(--ink-soft); display: block; margin-top: 6px; }
.notif-action { flex-shrink: 0; align-self: center; }

/* ===== Account Settings ===== */
.acct {
  display: grid; grid-template-columns: 230px 1fr; gap: 28px;
  margin-top: 28px; align-items: start;
}
.acct-nav {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px; position: sticky; top: 20px;
}
.acct-nav button {
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); padding: 11px 14px; border-radius: 9px;
}
.acct-nav button:hover { background: var(--bg-lighter); color: var(--ink); }
.acct-nav button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand); }
.acct-mobile-nav {
  display: none; width: 100%; margin-top: 20px;
  padding: 12px 14px; font-size: 15px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.acct-panel .det-card h2 { font-size: 19px; }
.acct-profile { display: flex; gap: 22px; align-items: flex-start; }
.acct-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.acct-fields { flex: 1; min-width: 0; }
.acct-fields label {
  display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px;
}
.acct-fields input, .acct-fields select {
  display: block; width: 100%; margin-top: 5px;
  padding: 11px 13px; font-size: 15px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-lighter); color: var(--ink);
}
.acct-fields input:focus, .acct-fields select:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.acct-fields input[readonly] { color: var(--ink-soft); background: var(--bg-soft); }
.acct-tz-note { font-size: 13.5px; color: var(--ink-soft); margin: -4px 0 14px; }
.acct-saved { color: #3f6b24; font-size: 14px; font-weight: 600; margin-left: 10px; }
.acct-muted { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }
.acct-pass { max-width: 380px; }

.bal-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
  margin-bottom: 4px;
}
.bal-row span { color: var(--ink-soft); }
.bal-row strong { text-align: right; font-size: 15.5px; }
.bal-row small { color: var(--ink-soft); font-weight: 400; font-size: 13px; }
.bal-used { color: var(--ink-soft); }
.bal-avail { color: #3f6b24; }
#acct-balance { margin-bottom: 20px; }

.acct-history { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.acct-history th {
  text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px;
  color: var(--ink-soft); padding: 8px 10px; border-bottom: 1.5px solid var(--line);
}
.acct-history td { padding: 10px; border-bottom: 1px solid var(--line); }
.acct-history tr:last-child td { border-bottom: none; }
.acct-history .num { text-align: right; font-weight: 700; }
.chg-plus { color: #3f6b24; }
.chg-minus { color: var(--ink); }

.acct-invite-row { display: flex; align-items: center; gap: 10px; }
.acct-invite-stats { margin-top: 12px; margin-bottom: 0; font-size: 13.5px; }
.acct-redeem-toggle {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  color: var(--brand); font-size: 14.5px; font-weight: 600; padding: 0;
}
.acct-redeem-toggle:hover { text-decoration: underline; }
.acct-redeem-row { display: flex; gap: 10px; margin-top: 14px; }
.acct-redeem-row input {
  flex: 1; padding: 10px 13px; font-size: 15px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-lighter);
}
.acct-redeem-row input:focus { outline: none; border-color: var(--brand); background: #fff; }
.acct-redeem-ok { color: #3f6b24; font-size: 14.5px; font-weight: 600; margin-top: 12px; }

.acct-mail-list { list-style: none; }
.acct-mail-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.acct-mail-list li:last-child { border-bottom: none; }
.acct-mail-lock { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

/* Toggle switch */
.switch { position: relative; display: inline-block; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i {
  display: block; width: 42px; height: 24px; border-radius: 999px;
  background: #d8cfc0; transition: background .15s ease; position: relative; cursor: pointer;
}
.switch i::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + i { background: var(--brand); }
.switch input:checked + i::after { transform: translateX(18px); }

.acct-danger { border-color: #ecc9c3; }
.acct-danger h2 { color: #a83a2c; }
.acct-danger-btn {
  background: none; border: 1.5px solid #a83a2c; color: #a83a2c;
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer;
}
.acct-danger-btn:hover { background: #f9e4e0; }
.acct-danger .acct-saved { display: block; margin: 12px 0 0; color: var(--ink-soft); font-weight: 400; }

/* ===== Member area responsive ===== */
@media (max-width: 860px) {
  .mem { padding: 40px 20px 64px; }
  .mem-head h1 { font-size: 27px; }
  .bk-card { flex-direction: column; }
  .bk-thumb { width: 100%; height: 120px; }
  .bk-thumb span { font-size: 40px; }
  .bk-actions .btn-primary { width: 100%; text-align: center; }
  .det-hero { grid-template-columns: 1fr; padding: 24px 22px; }
  .det-hero-img { order: -1; min-height: 130px; }
  .det-hero h1 { font-size: 24px; }
  .det-card { padding: 20px 22px; }
  .notif { flex-wrap: wrap; }
  .notif-action { width: 100%; text-align: center; }
  .acct { grid-template-columns: 1fr; }
  .acct-nav { display: none; }
  .acct-mobile-nav { display: block; }
  .acct-profile { flex-direction: column; }
  .bal-card { flex-direction: column; align-items: stretch; text-align: center; }
  .modal-actions { flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-user { gap: 8px; margin-left: 10px; }
  .nav-user .btn-nav { padding: 8px 14px; font-size: 13px; }
}
