/* ============================================================
   OUTDOOR WEB · App Styles (Layout / Components / Pages)
   ============================================================ */

/* ============ Layout ============ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-title { font-size: var(--fs-xl); letter-spacing: -.02em; }
.section-sub { color: var(--c-muted); font-size: var(--fs-sm); margin-top: 6px; }
.eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600); margin-bottom: 10px; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--c-surface) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--c-brand); color: var(--c-on-brand);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 900;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--c-brand) 40%, transparent);
}
.brand__sub { color: var(--c-muted); font-weight: 600; font-size: .72rem; letter-spacing: .04em; }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-ink-2); transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--c-surface-2); color: var(--c-ink); }
.nav a.is-active { background: color-mix(in srgb, var(--c-brand) 14%, transparent); color: var(--c-brand-700); }

.header__actions { margin-left: 0; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-surface-2); color: var(--c-ink-2); position: relative;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.icon-btn:hover { transform: translateY(-1px); background: var(--c-line); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-on-accent);
  font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle__bar { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scrolled state — premium subtle elevation */
.header.is-scrolled { box-shadow: var(--c-shadow); border-bottom-color: transparent; }

/* Mobile nav panel + backdrop (revealed <= 900px) */
.mobile-nav { display: none; }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(15, 23, 42, .42);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-md); font-weight: 700; font-size: var(--fs-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), filter .2s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-brand); color: var(--c-on-brand); box-shadow: 0 6px 18px color-mix(in srgb, var(--c-brand) 35%, transparent); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--c-accent) 35%, transparent); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-surface-2); }
.btn--subtle { background: var(--c-surface-2); color: var(--c-ink); }
.btn--subtle:hover { background: var(--c-line); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 26px; font-size: var(--fs-md); }
.btn--sm { padding: 7px 13px; font-size: var(--fs-xs); border-radius: var(--r-sm); }

/* ============ Cards ============ */
.card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); box-shadow: var(--c-shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); border-color: var(--c-line-strong); }

/* ============ Event card ============ */
.event-card { display: flex; flex-direction: column; }
.event-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--c-surface-2); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.06); }
.event-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--c-ink) 72%, transparent); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  backdrop-filter: blur(4px);
}
.event-card__fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, #fff 80%, transparent); display: grid; place-items: center; color: var(--c-ink-2);
  backdrop-filter: blur(4px); box-shadow: var(--c-shadow-sm);
}
.event-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__title { font-size: var(--fs-md); font-weight: 800; line-height: 1.35; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--c-muted); font-size: var(--fs-sm); }
.event-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 900; font-size: var(--fs-md); color: var(--c-ink); }
.price small { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; }
.price--accent { color: var(--c-accent-600); }

/* ============ Badges ============ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; }
.badge--brand { background: color-mix(in srgb, var(--c-brand) 15%, transparent); color: var(--c-brand-700); }
.badge--accent { background: color-mix(in srgb, var(--c-accent) 16%, transparent); color: var(--c-accent-600); }
.badge--muted { background: var(--c-surface-2); color: var(--c-muted); }
.badge--info { background: color-mix(in srgb, var(--c-info) 14%, transparent); color: var(--c-info); }

/* ============ Grids ============ */
.grid { display: grid; gap: var(--gap); }
.grid--events { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,30,28,.82), rgba(10,20,40,.55)); }
.hero__inner { position: relative; padding: 92px 0 104px; max-width: 720px; }
.hero h1 { color: #fff; font-size: var(--fs-xxl); letter-spacing: -.02em; }
.hero p { color: rgba(255,255,255,.86); font-size: var(--fs-md); margin-top: 16px; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: var(--fs-xl); font-weight: 900; }
.hero__stat span { color: rgba(255,255,255,.78); font-size: var(--fs-sm); }

/* ============ Category tiles ============ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 22px 14px; border-radius: var(--r-lg); background: var(--c-surface);
  border: 1px solid var(--c-line); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--c-brand); box-shadow: var(--c-shadow); }
.cat-tile__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: color-mix(in srgb, var(--c-brand) 14%, transparent); }
.cat-tile b { font-size: var(--fs-sm); }
.cat-tile span { color: var(--c-muted); font-size: var(--fs-xs); }

/* ============ Filters ============ */
.filters { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-bottom: 28px; }
.filter-group { display: flex; flex-direction: column; gap: 7px; }
.filter-group label { font-size: var(--fs-xs); font-weight: 700; color: var(--c-muted); letter-spacing: .04em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
  background: var(--c-surface); border: 1px solid var(--c-line-strong); color: var(--c-ink-2);
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--c-brand); }
.chip.is-active { background: var(--c-brand); color: var(--c-on-brand); border-color: var(--c-brand); }
.select, .input {
  padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--c-line-strong);
  background: var(--c-surface); color: var(--c-ink); font-size: var(--fs-sm); min-width: 160px;
  transition: border-color .2s var(--ease);
}
.select:focus, .input:focus { border-color: var(--c-brand); outline: none; }

/* ============ Event detail ============ */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.detail__gallery { border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface-2); aspect-ratio: 16/10; }
.detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail__thumbs img { width: 86px; height: 60px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; opacity: .75; transition: .2s var(--ease); }
.detail__thumbs img.is-active, .detail__thumbs img:hover { opacity: 1; border-color: var(--c-brand); }
.detail__title { font-size: var(--fs-xl); margin-bottom: 10px; }
.detail__metarow { display: flex; flex-wrap: wrap; gap: 18px; color: var(--c-muted); font-size: var(--fs-sm); margin: 14px 0 22px; }
.detail__metarow span { display: inline-flex; align-items: center; gap: 6px; }
.prose { color: var(--c-ink-2); font-size: var(--fs-sm); line-height: 1.85; }
.prose h3 { font-size: var(--fs-md); margin: 22px 0 10px; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 12px 18px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose h1, .prose h2 { font-size: var(--fs-lg); margin: 22px 0 10px; }
.prose h4, .prose h5, .prose h6 { font-size: var(--fs-md); margin: 18px 0 8px; }
.prose blockquote { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--c-brand); background: color-mix(in srgb, var(--c-brand) 8%, transparent); border-radius: var(--r-sm); color: var(--c-ink-2); }
.prose hr { border: none; border-top: 1px solid var(--c-line); margin: 18px 0; }
.prose img { max-width: 100%; border-radius: var(--r-md); margin: 8px 0; }
.prose a { color: var(--c-brand); text-decoration: underline; }
.prose code { font-family: ui-monospace, monospace; background: color-mix(in srgb, var(--c-ink) 8%, transparent); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.prose pre.code { background: var(--c-ink); color: #e6edf3; padding: 14px 16px; border-radius: var(--r-md); overflow:auto; font-size: var(--fs-sm); }
.prose pre.code code { background: none; color: inherit; padding: 0; }
.plan__discount { margin: 4px 0 14px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-accent-600); }

/* booking panel */
.booking { position: sticky; top: calc(var(--header-h) + 16px); padding: 22px; }
.booking__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.booking__price b { font-size: 1.9rem; font-weight: 900; color: var(--c-accent-600); }
.booking__price s { color: var(--c-faint); font-size: var(--fs-sm); }
.booking__reg { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 16px; }
.booking__reg b { color: var(--c-success); }
.tier { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 10px; transition: border-color .2s var(--ease); }
.tier.is-active { border-color: var(--c-brand); background: color-mix(in srgb, var(--c-brand) 6%, transparent); }
.tier__top { display: flex; justify-content: space-between; align-items: center; }
.tier__name { font-weight: 800; }
.tier__price { font-weight: 800; color: var(--c-ink); }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); overflow: hidden; }
.stepper button { width: 30px; height: 30px; display: grid; place-items: center; font-weight: 900; color: var(--c-ink-2); background: var(--c-surface-2); }
.stepper button:hover { background: var(--c-line); }
.stepper output { min-width: 36px; text-align: center; font-weight: 800; }

/* ============ Modal ============ */
.modal-root { position: fixed; inset: 0; z-index: 100; display: none; }
.modal-root.is-open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: var(--c-overlay); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.modal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--c-surface); border-radius: var(--r-lg); box-shadow: var(--c-shadow);
  padding: 26px; animation: pop .3s var(--ease);
}
.modal--lg { width: min(720px, calc(100vw - 32px)); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--c-muted); background: var(--c-surface-2); }
.modal__close:hover { background: var(--c-line); }
.modal__title { font-size: var(--fs-lg); margin-bottom: 4px; }
.modal__sub { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: 20px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ============ Forms ============ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 6px; }
.field .input { width: 100%; }
.field .hint { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 5px; }
.sso-row { display: flex; gap: 10px; margin-top: 8px; }
.sso-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: var(--r-md); border: 1px solid var(--c-line-strong); background: var(--c-surface); font-weight: 600; font-size: var(--fs-sm); }
.sso-btn:hover { background: var(--c-surface-2); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--c-faint); font-size: var(--fs-xs); margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* ============ Tabs ============ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 10px 16px; font-weight: 700; font-size: var(--fs-sm); color: var(--c-muted); border-bottom: 2px solid transparent; transition: color .2s var(--ease); }
.tab:hover { color: var(--c-ink); }
.tab.is-active { color: var(--c-brand-700); border-color: var(--c-brand); }

/* ============ BBS / lists ============ */
.forum-card { padding: 20px; display: flex; gap: 16px; align-items: center; }
.forum-card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: color-mix(in srgb, var(--c-info) 12%, transparent); flex-shrink: 0; }
.forum-card b { font-size: var(--fs-md); }
.forum-card p { color: var(--c-muted); font-size: var(--fs-sm); margin: 2px 0 6px; }
.post { display: flex; gap: 14px; padding: 16px; border-bottom: 1px solid var(--c-line); }
.post:last-child { border-bottom: none; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.post__body { flex: 1; min-width: 0; }
.post__title { font-weight: 800; font-size: var(--fs-md); }
.post__excerpt { color: var(--c-muted); font-size: var(--fs-sm); margin: 4px 0 8px; }
.post__meta { display: flex; gap: 16px; color: var(--c-faint); font-size: var(--fs-xs); }

/* ============ Albums / gallery ============ */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.album-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.album-card:hover img { transform: scale(1.07); }
.album-card__cap { position: absolute; inset: auto 0 0 0; padding: 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.album-card__cap b { font-size: var(--fs-md); }

/* ---------- Album / Article / Post detail ---------- */
.album-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
.album-detail-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; cursor: zoom-in; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.album-detail-img:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.article-detail__cover { width: 100%; border-radius: 16px; margin-bottom: 8px; }

.post-detail__head { display: flex; align-items: center; gap: 12px; }
.avatar--lg { width: 52px; height: 52px; font-size: 1.3rem; }
.post-detail__meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--c-line); }

.lightbox { display: flex; align-items: center; justify-content: center; padding: 8px; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 12px; }

/* community posts are now links */
.post { color: inherit; text-decoration: none; cursor: pointer; transition: background .2s var(--ease); }
.post:hover { background: color-mix(in srgb, var(--c-brand) 6%, transparent); }
.post__more { color: var(--c-brand); margin-left: auto; font-weight: 600; }

/* ============ Figures / guides ============ */
.figure-card { padding: 22px; text-align: center; }
.figure-card__ava { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; background: var(--c-surface-2); }
.figure-card b { font-size: var(--fs-md); display: block; }
.figure-card .role { color: var(--c-brand-700); font-weight: 700; font-size: var(--fs-sm); }
.figure-card p { color: var(--c-muted); font-size: var(--fs-sm); margin-top: 10px; }

/* ============ Cart / account ============ */
.panel { padding: 24px; }
.cart-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.cart-row img { width: 88px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-row__body { flex: 1; min-width: 0; }
.cart-row__title { font-weight: 800; }
.cart-row__sub { color: var(--c-muted); font-size: var(--fs-sm); }
.summary { padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary__line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--c-ink-2); font-size: var(--fs-sm); }
.summary__total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--c-line); font-weight: 900; font-size: var(--fs-md); }

/* membership */
.plan { padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan--featured { border-color: var(--c-brand); box-shadow: 0 10px 30px color-mix(in srgb, var(--c-brand) 22%, transparent); }
.plan__price { font-size: 2rem; font-weight: 900; }
.plan__price small { font-size: var(--fs-sm); color: var(--c-muted); font-weight: 600; }
.plan__feats { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); }
.plan__feats li { display: flex; gap: 8px; align-items: flex-start; }
.plan__feats li::before { content: "✓"; color: var(--c-brand); font-weight: 900; }

/* ============ Footer ============ */
.footer { background: #101828; color: rgba(255,255,255,.78); padding: 48px 0 28px; margin-top: 40px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: var(--fs-sm); margin-bottom: 14px; letter-spacing: .04em; }
.footer li { margin-bottom: 9px; font-size: var(--fs-sm); }
.footer__brand { font-size: 1.1rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: rgba(255,255,255,.55); }

/* ============ Misc ============ */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--c-ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--c-shadow); animation: toastIn .3s var(--ease); }
.toast--ok { background: var(--c-success); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.empty { text-align: center; padding: 60px 20px; color: var(--c-muted); }
.empty__ico { font-size: 2.4rem; margin-bottom: 12px; }
.section--tint { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.muted { color: var(--c-muted); }
.center { text-align: center; }
.auth-bar { display: flex; align-items: center; gap: 10px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .detail { grid-template-columns: 1fr; }
  .booking { position: static; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Collapse desktop nav into an animated mobile drawer at <= 900px */
@media (max-width: 900px) {
  .nav { display: none; }
  .auth-bar { display: none; }
  .nav-toggle { display: flex; }
  .brand__sub { display: none; }
  .header__inner { gap: 10px; }

  .mobile-nav {
    display: block;
    overflow: hidden;
    max-height: 0; opacity: 0;
    background: color-mix(in srgb, var(--c-surface) 97%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--c-line);
    transition: max-height .38s var(--ease), opacity .3s var(--ease);
  }
  .mobile-nav.is-open { max-height: 80vh; opacity: 1; }
  .mobile-nav__inner { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 18px; }
  .mobile-nav__links { display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav__links a {
    padding: 13px 16px; border-radius: var(--r-md);
    font-weight: 700; font-size: var(--fs-base); color: var(--c-ink);
    display: flex; align-items: center; justify-content: space-between;
    transition: background .2s var(--ease), color .2s var(--ease);
  }
  .mobile-nav__links a:hover { background: var(--c-surface-2); }
  .mobile-nav__links a.is-active { background: color-mix(in srgb, var(--c-brand) 14%, transparent); color: var(--c-brand-700); }
  .mobile-nav__auth {
    padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--c-line);
    display: flex;
  }
  .mobile-nav__auth .btn { width: 100%; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__inner { padding: 64px 0 72px; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}

/* ============ Registration (checkout) ============ */
.reg-form { display: flex; flex-direction: column; gap: 16px; }
.reg-block { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 14px 16px 16px; margin: 0; background: var(--c-surface-2); }
.reg-block__title { font-size: var(--fs-sm); font-weight: 800; color: var(--c-brand-700); padding: 0 8px; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.reg-grid .field { margin-bottom: 0; }
.reg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
@media (max-width: 560px) { .reg-grid { grid-template-columns: 1fr; } }

/* ============ Auth (login / register) ============ */
.auth-tabs { display: flex; gap: 6px; background: var(--c-surface-2); padding: 4px; border-radius: var(--r-md); margin-bottom: 18px; }
.auth-tab { flex: 1; border: none; background: transparent; padding: 9px 0; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-2); border-radius: var(--r-sm); cursor: pointer; transition: all .2s; }
.auth-tab.is-active { background: var(--c-surface); color: var(--c-brand); box-shadow: var(--shadow); }
.auth-pane { animation: fadeIn .25s ease; }

/* ============ Personal center ============ */
.card__title { font-size: var(--fs-md); font-weight: 800; margin: 0 0 4px; }
.card__title + .muted { margin-bottom: 16px; }
.order-card { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 14px 16px; margin-top: 12px; background: var(--c-surface-2); }
.order-card__top { display: flex; align-items: center; justify-content: space-between; }
.order-card__items { font-size: var(--fs-sm); color: var(--c-ink-2); margin: 8px 0; }
.order-card__items > div { padding: 2px 0; }
.order-card__foot { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); border-top: 1px dashed var(--c-line); padding-top: 10px; }
.order-card__foot b { color: var(--c-brand); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; }
.tag--save { background: color-mix(in srgb, var(--c-accent) 16%, transparent); color: var(--c-accent); }

/* ============================================================
   设计升级 · 渐变品牌色 + 玻璃拟态 + 响应式增强
   配色：#1EE5AA / #1BDAA3 / #FDBE2E / #695DFC
   ============================================================ */

/* Soft brand-tinted page background so glass surfaces read clearly */
body {
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(30, 229, 170, .10), transparent 60%),
    radial-gradient(820px 520px at -10% 8%, rgba(105, 93, 252, .10), transparent 60%),
    var(--c-bg);
  background-attachment: fixed;
}
[data-theme="dark"] body {
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(30, 229, 170, .12), transparent 55%),
    radial-gradient(820px 520px at -10% 8%, rgba(105, 93, 252, .12), transparent 55%),
    var(--c-bg);
  background-attachment: fixed;
}

/* Gradient brand mark */
.brand__mark {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, #1BDAA3 40%, transparent);
}

/* Glass header */
.header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-line);
}

/* Active nav / mobile-nav link → gradient pill */
.nav a.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, #1BDAA3 35%, transparent);
}
.mobile-nav__links a.is-active {
  background: var(--grad-primary);
  color: #06231c;
}

/* Gradient + glass buttons */
.btn--primary {
  background: var(--grad-primary);
  color: #06231c;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 8px 22px color-mix(in srgb, #1BDAA3 35%, transparent);
}
.btn--primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn--accent {
  background: var(--grad-accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 8px 22px color-mix(in srgb, #695DFC 32%, transparent);
}
.btn--accent:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* Active chip / tab accent */
.chip.is-active { background: var(--grad-primary); color: #06231c; border-color: transparent; }
.tab.is-active { color: var(--c-brand-700); border-color: var(--c-brand); }

/* Glass surfaces: cards, panels, booking, plans, lists, modals */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-line);
}
.panel, .summary, .plan, .booking, .forum-card, .figure-card, .order-card, .reg-block {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-line);
}
.modal {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-line);
}
.avatar { background: var(--grad-brand); color: #fff; }
.figure-card .role { color: var(--c-brand-700); }

/* Hero overlay tinted with brand teal/purple for legibility + mood */
.hero__bg::after { background: linear-gradient(120deg, rgba(13, 40, 36, .80), rgba(22, 16, 52, .58)); }
.hero h1 .grad-text { filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25)); }

/* Plan featured gets a brand-gradient ring */
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 12px 34px color-mix(in srgb, #695DFC 26%, transparent);
}

/* ---------- Responsive refinements ---------- */
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .section { padding: 36px 0; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .filters { gap: 14px; }
  .section-head { gap: 10px; margin-bottom: 22px; }
  .footer__bottom { font-size: var(--fs-xs); }
}
@media (max-width: 480px) {
  .grid--events { grid-template-columns: 1fr; }
  .hero__stat { min-width: 88px; }
  .modal { padding: 20px; }
  .detail__thumbs img { width: 64px; height: 46px; }
}
