:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: rgba(255, 255, 255, 0.95);
  --panel2: rgba(241, 245, 249, 0.9);
  --text: rgba(15, 23, 42, 0.92);
  --muted: rgba(51, 65, 85, 0.82);
  --faint: rgba(51, 65, 85, 0.62);
  --border: rgba(15, 23, 42, 0.12);
  --brand: #2563eb;
  --brand2: #60a5fa;
  --danger: #ef4444;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  --shadow2: 0 18px 48px rgba(15, 23, 42, 0.14);
  --radius: 16px;
  --radius2: 12px;
  --tabbarH: 74px;
  --ctaH: 56px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: radial-gradient(900px 700px at 20% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(900px 700px at 100% 20%, rgba(96, 165, 250, 0.16), transparent 55%),
    linear-gradient(180deg, #ffffff, #f1f5f9 50%, #eef2f7);
  color: var(--text);
}

a,
button {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.app :focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(env(safe-area-inset-top) + 14px) 16px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.72));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(96, 165, 250, 0.9));
  border: 1px solid rgba(37, 99, 235, 0.24);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

.content {
  flex: 1;
  padding: 14px 14px calc(var(--tabbarH) + env(safe-area-inset-bottom) + 14px);
}

.view {
  display: none;
}

.view--active {
  display: block;
}

.viewTitle {
  margin: 6px 2px 12px;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.ticker {
  margin-top: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.92));
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  overflow: hidden;
}

.ticker--compact {
  margin-top: 0;
  margin-bottom: 10px;
}

.ticker__label {
  font-weight: 1000;
  font-size: 12px;
  color: rgba(30, 58, 138, 0.96);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  white-space: nowrap;
}

.ticker__track {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.ticker__line {
  display: inline-flex;
  gap: 22px;
  white-space: nowrap;
  align-items: center;
  color: rgba(51, 65, 85, 0.92);
  font-size: 13px;
  padding-right: 40px;
  animation: ticker-move 18s linear infinite;
}

@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.banner,
.panel,
.card,
.miniItem,
.tab,
.btnPrimary,
.btnSecondary,
.btnJoin,
.ctaBottom,
.chip,
.quickCard {
  transition: transform 160ms ease, box-shadow 200ms ease, background 220ms ease, border-color 220ms ease,
    color 220ms ease;
}

.banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}

.banner__label {
  font-size: 13px;
  color: var(--muted);
}

.banner__value {
  font-weight: 900;
  font-size: 18px;
}

.panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.panel__title {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.2px;
}

.panel__meta {
  font-size: 12px;
  color: var(--muted);
}

.mapWrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius2);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(241, 245, 249, 0.7);
}

.map {
  height: 230px;
  width: 100%;
}

.mapFallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(241, 245, 249, 0.9));
}

.mapFallback__title {
  font-weight: 800;
  margin-bottom: 4px;
}

.mapFallback__text {
  font-size: 13px;
  color: var(--muted);
}

.miniList {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.miniItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--panel2);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.miniItem__left {
  display: grid;
  gap: 2px;
}

.miniItem__title {
  font-weight: 700;
  font-size: 13px;
}

.miniItem__sub {
  font-size: 12px;
  color: var(--muted);
}

.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: rgba(30, 58, 138, 0.95);
  background: rgba(37, 99, 235, 0.08);
}

.cards {
  display: grid;
  gap: 10px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.card:active {
  transform: translateY(1px);
}

.card__title {
  font-weight: 800;
  letter-spacing: 0.15px;
}

.card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(241, 245, 249, 0.85);
  color: rgba(30, 41, 59, 0.9);
}

.btnJoin {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btnJoin:active {
  transform: translateY(1px);
}

.ctaBottom {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(var(--tabbarH) + env(safe-area-inset-bottom) + 12px);
  height: var(--ctaH);
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(96, 165, 250, 0.96));
  color: white;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow);
}

.ctaBottom:active {
  transform: translateY(1px);
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: calc(var(--tabbarH) + env(safe-area-inset-bottom));
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.72), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(12px);
}

.tab {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(241, 245, 249, 0.7);
  color: var(--muted);
  border-radius: 16px;
  padding: 8px 6px;
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: center;
}

.tab:active {
  transform: translateY(1px);
}

.tab--active {
  color: rgba(30, 58, 138, 0.96);
  border-color: rgba(37, 99, 235, 0.26);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.12));
}

.tab__icon {
  font-size: 18px;
  line-height: 1;
}

.tab__label {
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.1px;
}

.emptyState {
  padding: 18px 10px 8px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.emptyState__title {
  font-weight: 900;
}

.emptyState__text {
  color: var(--muted);
  font-size: 13px;
}

.btnPrimary {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btnWide {
  width: 100%;
}

.btnSmall {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 13px;
}

.btnSecondary {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(241, 245, 249, 0.72);
  color: rgba(15, 23, 42, 0.9);
  font-weight: 800;
}

.btnSecondary:active,
.btnPrimary:active {
  transform: translateY(1px);
}

.btnSmall.btnSecondary {
  padding: 10px 12px;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.chipRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(241, 245, 249, 0.78);
  color: rgba(51, 65, 85, 0.9);
  padding: 8px 10px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}

.chip--active {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.1);
  color: rgba(30, 58, 138, 0.96);
}

.chip--static {
  pointer-events: none;
}

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

.quickCard {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.96));
  border-radius: var(--radius);
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.quickCard:active {
  transform: translateY(1px);
}

.quickCard__icon {
  font-size: 22px;
  line-height: 1;
}

.quickCard__title {
  font-weight: 1000;
  letter-spacing: 0.1px;
}

.quickCard__sub {
  font-size: 12px;
  color: var(--muted);
}

.hintCard {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(241, 245, 249, 0.85));
  border-color: rgba(37, 99, 235, 0.14);
}

.hintCard__title {
  font-weight: 1000;
  letter-spacing: 0.15px;
  margin-bottom: 6px;
  color: rgba(30, 58, 138, 0.96);
}

.hintCard__text {
  font-size: 13px;
  color: rgba(51, 65, 85, 0.88);
  line-height: 1.35;
}

.card__actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cardBtn {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 1000;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.cardBtnSecondary {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 1000;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(241, 245, 249, 0.78);
  color: rgba(15, 23, 42, 0.88);
}

.messageCard {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.messageCard__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.messageCard__titleRow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.unreadDot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.9);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.messageCard__title {
  font-weight: 1000;
}

.messageCard__sub {
  font-size: 13px;
  color: rgba(51, 65, 85, 0.9);
  line-height: 1.35;
}

.messageCard__meta {
  font-size: 12px;
  color: rgba(51, 65, 85, 0.72);
}

.messageCard--system {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.92));
}

.messageCard--invitation {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(255, 255, 255, 0.92));
}

.messageCard--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0.92));
}

.messageCard--reminder {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.92));
}

.coachCard {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.coachCard__left {
  display: grid;
  gap: 10px;
}

.coachTop {
  display: flex;
  gap: 12px;
  align-items: center;
}

.coachAvatar {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  object-fit: cover;
  background: rgba(241, 245, 249, 0.9);
}

.coachNameRow {
  display: grid;
  gap: 3px;
}

.coachName {
  font-weight: 1000;
}

.coachBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(51, 65, 85, 0.88);
}

.rating {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.rating__star {
  color: rgba(37, 99, 235, 0.9);
}

.courseGrid {
  display: grid;
  gap: 6px;
}

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

.progressWrap {
  display: grid;
  gap: 6px;
}

.progressBar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.progressBar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(96, 165, 250, 0.96));
}

.progressText {
  font-size: 12px;
  color: rgba(51, 65, 85, 0.82);
}

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

.profileTop__title {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 1000;
  color: rgba(37, 99, 235, 0.96);
}

.profileTop__icon {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.meCard {
  display: grid;
  gap: 12px;
}

.meCard__row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.meCard__avatarImg {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(241, 245, 249, 0.9);
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.meCard__name {
  font-weight: 1000;
  letter-spacing: 0.2px;
}

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

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

.stat {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(241, 245, 249, 0.72);
  padding: 10px 12px;
  display: grid;
  gap: 3px;
}

.stat__k {
  font-size: 12px;
  color: rgba(51, 65, 85, 0.78);
}

.stat__v {
  font-weight: 1000;
  color: rgba(15, 23, 42, 0.92);
}

.equip__title {
  font-weight: 1000;
  color: rgba(15, 23, 42, 0.88);
  margin-bottom: 8px;
}

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

.authPanel {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.96));
}

.authHeader {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.authHeader__title {
  font-weight: 1000;
  letter-spacing: 0.2px;
}

.authHeader__sub {
  font-size: 13px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  color: rgba(51, 65, 85, 0.88);
  font-weight: 900;
}

.field__input {
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.92);
  outline: none;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 160ms ease;
}

.field__input:focus {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: var(--shadow2);
  }
  .btnPrimary:hover,
  .btnJoin:hover,
  .ctaBottom:hover,
  .cardBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
  }
  .btnSecondary:hover,
  .cardBtnSecondary:hover,
  .chip:hover,
  .quickCard:hover,
  .tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  }
}

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


.listItem {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.listItem__title {
  font-weight: 800;
}

.listItem__sub {
  font-size: 12px;
  color: var(--muted);
}

.profileCard {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 2px 10px;
}

.profileCard__avatar {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.86), rgba(96, 165, 250, 0.86));
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.profileCard__name {
  font-weight: 900;
  letter-spacing: 0.2px;
}

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

.kv {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.kv__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(241, 245, 249, 0.72);
}

.kv__k {
  font-size: 12px;
  color: var(--muted);
}

.kv__v {
  font-size: 12px;
  text-align: right;
}

.toast {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(var(--tabbarH) + env(safe-area-inset-bottom) + 86px);
  z-index: 40;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

@media (min-width: 560px) {
  .content {
    max-width: 560px;
    margin: 0 auto;
  }
  .ctaBottom {
    max-width: 560px;
    margin: 0 auto;
  }
  .toast {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .ticker__line {
    animation: none !important;
  }
}

:root {
  --ice: #e6f2f5;
  --slate: #0f172a;
  --slate2: #1f2937;
  --border2: #e5e7eb;
  --cta: #e94e2c;
  --cta2: #ff6a3d;
  --radiusSharp: 2px;
}

html,
body {
  height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: #ffffff;
  color: var(--slate);
}

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

.shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.shell--wide {
  max-width: 1400px;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.siteHeader--scrolled {
  background: rgba(255, 255, 255, 0.86);
}

.siteHeader .shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.logo__mark {
  width: 26px;
  height: 26px;
}

.logo__text {
  font-size: 14px;
  color: var(--slate);
}

.nav {
  display: inline-flex;
  justify-content: center;
  gap: 18px;
}

.nav__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.86);
  padding: 10px 10px;
  border-radius: var(--radiusSharp);
}

.nav__link.is-active {
  background: transparent;
  color: var(--cta);
  box-shadow: inset 0 -2px 0 0 var(--cta);
}

.iconLinks {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.cartLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.cartLink__icon {
  font-size: 16px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.7);
}

.cartLink__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.cartLink--active,
.profileLink--active {
  border-color: var(--cta);
}

.cartLink--active .cartLink__icon,
.profileLink--active .profileLink__icon {
  color: var(--cta);
}

.profileLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.profileLink__icon {
  font-size: 16px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.7);
}

.main {
  padding: 34px 0 60px;
}

.heroStrip {
  position: relative;
  height: 160px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  overflow: hidden;
  background: #fff;
}

.heroStrip__img {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1737660623119-255f1668f6ec?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(0.96);
}

.heroStrip__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 18px 18px 16px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.2) 58%, rgba(15, 23, 42, 0) 100%);
  color: #fff;
}

.heroStrip__kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.heroStrip__title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.learnHero {
  position: relative;
  height: 220px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  overflow: hidden;
  background: var(--ice);
}

.learnHero__img {
  position: absolute;
  inset: 0;
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Snow%20Capped%20Peaks%20(Unsplash).jpg?width=2400");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(0.98);
}

.learnHero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(230, 242, 245, 0.92) 0%, rgba(230, 242, 245, 0.78) 48%, rgba(230, 242, 245, 0.64) 100%);
  display: grid;
  align-content: center;
  padding: 24px;
  color: var(--slate);
}

.kicker--light {
  color: rgba(15, 23, 42, 0.62);
}

.h1--light {
  color: rgba(15, 23, 42, 0.96);
}

.learnHero__sub {
  margin-top: 10px;
  max-width: 62ch;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
}

.videoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.videoCard {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  overflow: hidden;
}

.videoFrame {
  position: relative;
  width: 100%;
  background: rgba(15, 23, 42, 0.04);
  aspect-ratio: 16 / 9;
}

.videoFrame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.videoCard__body {
  padding: 14px 14px 16px;
}

.videoCard__title {
  font-weight: 900;
  letter-spacing: 0.01em;
  color: rgba(15, 23, 42, 0.96);
}

.videoCard__meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(15, 23, 42, 0.64);
  font-size: 12px;
}

.videoCard__focus {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
}

.videoCard__link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 23, 42, 0.84);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.homeTop {
  margin-top: 22px;
}

.heroGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 26px;
  align-items: stretch;
}

.trustCard {
  background: var(--ice);
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.trustCard__kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.68);
}

.trustCard__title {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate);
}

.trustCard__title strong {
  font-weight: 900;
}

.trustCard__bar {
  margin-top: 14px;
  height: 10px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: var(--radiusSharp);
  overflow: hidden;
}

.trustCard__barFill {
  height: 100%;
  width: 0%;
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radiusSharp);
}

.trustFacts {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  flex: 1;
  align-content: start;
}

.trustFact__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.6);
}

.trustFact__v {
  margin-top: 6px;
  font-weight: 850;
  color: rgba(15, 23, 42, 0.9);
  letter-spacing: 0.01em;
}

.trustCard__badge {
  margin-top: auto;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.trustBadge {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radiusSharp);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 900;
}

.trustCard__badgeText {
  color: rgba(15, 23, 42, 0.8);
  font-weight: 600;
}

.mapCard {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.mapCard__top {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--border2);
}

.mapCard__title {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mapCard__meta {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.mapWrap--mono {
  border-radius: 0;
  border: 0;
}

.map--home {
  height: 300px;
}

.mapWrap--mono .leaflet-tile {
  filter: grayscale(1) saturate(0.35) contrast(1.05) brightness(1.08);
}

.mapIcon {
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.82);
  font-size: 14px;
  line-height: 1;
}

.mapIcon--user {
  color: rgba(15, 23, 42, 0.92);
}

.mapIcon--meeting {
  color: rgba(15, 23, 42, 0.92);
}

.miniList {
  padding: 14px 18px 18px;
  margin-top: 0;
}

.miniItem {
  border-radius: var(--radiusSharp);
  background: #fff;
  border: 1px solid var(--border2);
}

.pill {
  border-radius: var(--radiusSharp);
  background: var(--ice);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.78);
  font-weight: 700;
}

.ticker {
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: #fff;
  box-shadow: none;
}

.ticker__label {
  border-radius: var(--radiusSharp);
  background: var(--ice);
  border: 1px solid var(--border2);
  color: rgba(15, 23, 42, 0.76);
}

.section {
  margin-top: 34px;
}

.section__top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 10px;
}

.section__top--tight {
  align-items: center;
}

.section__sub {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.62);
  margin-bottom: 16px;
}

.h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.h1--layered {
  position: relative;
}

.h1--layered::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 7px;
  color: rgba(15, 23, 42, 0.12);
  z-index: -1;
}

.chipRow--rect {
  margin-bottom: 16px;
}

.chipRow--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.chipRow--scroll::-webkit-scrollbar {
  height: 6px;
}

.chipRow--scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
}

.chip--rect {
  border-radius: var(--radiusSharp);
}

.chip--rect.chip--active {
  background: var(--ice);
}

#learnFilterRow .chip--active {
  border-color: rgba(233, 78, 44, 0.28);
  background: rgba(233, 78, 44, 0.08);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: inset 0 -2px 0 rgba(233, 78, 44, 0.92);
}

.groupList {
  display: grid;
  gap: 12px;
}

.groupCard {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.groupAvatar {
  width: 54px;
  height: 54px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: var(--ice);
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.8);
}

.groupTitle {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.groupMeta {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.66);
}

.groupTags {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: #fff;
}

.btnCta {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--cta);
  background: transparent;
  color: var(--cta);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btnCta:hover {
  background: var(--cta);
  color: #fff;
}

.btnCtaOutline {
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--cta);
  background: transparent;
  color: var(--cta);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: 100%;
}

.btnCtaOutline:hover {
  background: var(--cta);
  color: #fff;
}

.ctaArea {
  margin-top: 26px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.ctaArea__inner {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.ctaArea__title {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.78);
}

.btnBase {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: #fff;
  color: rgba(15, 23, 42, 0.86);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.btnBase--outline {
  background: transparent;
}

.btnBase--cta {
  border-color: var(--cta);
  color: var(--cta);
}

.btnBase--cta:hover {
  background: var(--cta);
  color: #fff;
}

.btnBase--dark {
  border-color: var(--slate);
  background: var(--slate);
  color: #fff;
}

.btnBase--dark:hover {
  border-color: rgba(15, 23, 42, 0.92);
  background: rgba(15, 23, 42, 0.92);
}

.btnBase--wide {
  width: 100%;
}

.cardGrid {
  display: grid;
  gap: 12px;
}

.card {
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  box-shadow: none;
}

.cardBtn,
.cardBtnSecondary {
  border-radius: var(--radiusSharp);
}

.cardBtn {
  border: 1px solid var(--cta);
  background: transparent;
  color: var(--cta);
}

.cardBtn:hover {
  background: var(--cta);
  color: #fff;
}

.cardBtnSecondary {
  border: 1px solid var(--border2);
  background: transparent;
  color: rgba(15, 23, 42, 0.76);
}

.bookingHero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border: 1px solid var(--border2);
  background: #fff;
  border-radius: var(--radiusSharp);
  overflow: hidden;
}

.bookingHero__left {
  padding: 22px;
}

.bookingHero__right {
  min-height: 280px;
}

.bookingHero__img {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(233, 78, 44, 0.08)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1200&q=60");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.64);
}

.lead {
  max-width: 72ch;
  color: rgba(15, 23, 42, 0.7);
  margin-top: 8px;
}

.bookingHero__note {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.66);
  max-width: 60ch;
}

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

.field--rect .field__input--rect {
  border-radius: var(--radiusSharp);
  height: 44px;
}

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

.slotChip {
  height: 44px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.82);
}

.slotChip.is-active {
  background: var(--ice);
}

.coachGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coachCardPro {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  overflow: hidden;
  display: grid;
}

.coachCardPro__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border2);
}

.coachCardPro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 220ms ease;
}

.coachCardPro:hover .coachCardPro__img {
  filter: grayscale(0) contrast(1.05);
}

.coachCardPro__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 8px;
  font-weight: 900;
  font-size: 12px;
}

.coachCardPro__body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.coachCardPro__name {
  font-weight: 900;
}

.coachCardPro__meta {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.66);
}

.threadList {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
}

.threadItem {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  display: grid;
  gap: 8px;
}

.threadItem:last-child {
  border-bottom: 0;
}

.threadItem.is-unread {
  background: var(--ice);
}

.threadTop {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.threadTitle {
  font-weight: 900;
}

.threadTime {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
  white-space: nowrap;
}

.threadBody {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.35;
}

.threadActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profileHeader {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.profileCardWide {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 18px;
}

.profileCardWide__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border2);
}

.profileAvatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  object-fit: cover;
}

.profileName {
  font-weight: 900;
  font-size: 18px;
}

.profileMeta {
  color: rgba(15, 23, 42, 0.66);
  margin-top: 4px;
}

.profileCardWide__actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.statsRow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border2);
}

.statTile {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 14px;
}

.statTile__v {
  font-weight: 900;
  font-size: 20px;
}

.statTile__k {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.62);
}

.dataTable {
  margin-top: 16px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  overflow: hidden;
}

.dataRow {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.dataRow:last-child {
  border-bottom: 0;
}

.dataK,
.dataV {
  padding: 14px 16px;
}

.dataK {
  font-weight: 800;
  background: var(--ice);
}

.dataV {
  color: rgba(15, 23, 42, 0.74);
}

.authLayout {
  padding: 30px 0 10px;
  display: grid;
  place-items: center;
}

.authCard {
  width: min(520px, 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 22px;
}

.form--rect .field__input--rect {
  border-radius: var(--radiusSharp);
}

.siteFooter {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.footerBrand {
  font-weight: 900;
  letter-spacing: 0.14em;
}

.footerLinks {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footerLink {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footerCopy {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.toast {
  border-radius: var(--radiusSharp);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

@media (max-width: 980px) {
  .heroGrid {
    grid-template-columns: 1fr;
  }
  .bookingHero {
    grid-template-columns: 1fr;
  }
  .bookingHero__right {
    min-height: 220px;
  }
  .coachGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .videoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slotGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dataRow {
    grid-template-columns: 1fr;
  }
  .footerGrid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footerCopy {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .shell {
    padding: 0 16px;
  }
  .siteHeader .shell {
    height: 58px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .logo__mark {
    width: 22px;
    height: 22px;
  }
  .logo__text {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .nav {
    display: none;
  }
  .main {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .heroStrip {
    height: 118px;
  }
  .heroStrip__overlay {
    padding: 14px 14px 12px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.26) 62%, rgba(15, 23, 42, 0) 100%);
  }
  .heroStrip__title {
    font-size: 16px;
  }
  .learnHero {
    height: 180px;
  }
  .learnHero__overlay {
    padding: 18px 16px;
  }
  .videoGrid {
    grid-template-columns: 1fr;
  }
  .ctaArea {
    display: none;
  }
  .siteFooter {
    padding-bottom: calc(34px + 82px + env(safe-area-inset-bottom));
  }
  .groupCard {
    grid-template-columns: 54px 1fr;
  }
  .btnCta {
    width: 100%;
    grid-column: 1 / -1;
  }
  .groupCard > :last-child {
    grid-column: 1 / -1;
  }
  .statsRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mobileTabBar {
  display: none;
}

@media (max-width: 768px) {
  .iconLinks a {
    width: 44px;
    height: 44px;
  }

  .mobileTabBar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border2);
  }
  .tabItem {
    border: 0;
    background: transparent;
    color: rgba(15, 23, 42, 0.62);
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 8px 6px;
    min-height: 44px;
    text-decoration: none;
  }
  .tabItem__icon {
    font-size: 18px;
    line-height: 1;
  }
  .tabItem__label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
  }
  .tabItem.is-active {
    color: var(--cta);
  }
  .tabItem.is-active::after {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--cta);
    border-radius: 0;
    margin-top: -2px;
  }
}

.btnRow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.bookingConfirm {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.bookingConfirm__note {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.74);
}

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

.coachCardPro__actions .btnBase:last-child {
  grid-column: 1 / -1;
}

.emptyState {
  padding: 22px;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.emptyState--tight {
  padding: 16px;
}

.emptyState__art {
  font-size: 22px;
  line-height: 1;
}

.emptyState__title {
  font-weight: 900;
}

.emptyState__sub {
  color: rgba(15, 23, 42, 0.66);
  font-size: 13px;
}

.skeletonGrid {
  display: grid;
  gap: 12px;
}

.skeletonGrid--coach {
  grid-template-columns: repeat(3, 1fr);
}

.skeletonGrid--video {
  grid-template-columns: repeat(3, 1fr);
}

.skeletonGrid--thread,
.skeletonGrid--group {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .skeletonGrid--coach,
  .skeletonGrid--video {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skeletonGrid--coach,
  .skeletonGrid--video {
    grid-template-columns: 1fr;
  }
}

.skeletonCard {
  height: 120px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.12) 45%, rgba(15, 23, 42, 0.06) 100%);
  background-size: 220% 100%;
  animation: shimmer 1.15s ease-in-out infinite;
}

.skeletonCard--thread {
  height: 96px;
}

.skeletonCard--group {
  height: 106px;
}

.skeletonCard--video {
  height: 240px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.modalOverlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 6, 23, 0.48);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modalCard {
  width: min(560px, 100%);
  border-radius: var(--radiusSharp);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
  overflow: hidden;
}

.modalTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border2);
}

.modalTitle {
  font-weight: 900;
}

.iconBtn {
  width: 44px;
  height: 44px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  background: #fff;
  font-weight: 900;
}

.modalBody {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.modalSub {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.66);
}

.modalActions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.listPick {
  display: grid;
  gap: 10px;
}

.pickRow {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 12px 12px;
  display: grid;
  gap: 4px;
  min-height: 44px;
}

.pickRow:hover {
  border-color: rgba(15, 23, 42, 0.3);
}

.pickRow__name {
  font-weight: 900;
}

.pickRow__meta {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.btnBase,
.btnCta,
.btnCtaOutline,
.chip {
  position: relative;
  overflow: hidden;
}

.rippleInk {
  position: absolute;
  border-radius: 999px;
  background: rgba(233, 78, 44, 0.22);
  transform: scale(0);
  animation: ripple 520ms ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

body.is-navigating {
  opacity: 0.15;
  transition: opacity 140ms ease;
}

.detailCard {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.detailTop {
  display: flex;
  gap: 14px;
  align-items: center;
}

.detailAvatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  object-fit: cover;
}

.detailTitle {
  font-weight: 900;
  font-size: 18px;
}

.detailSub {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.66);
  margin-top: 2px;
}

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

@media (max-width: 768px) {
  .detailGrid {
    grid-template-columns: 1fr;
  }
}

.detailItem {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: var(--ice);
  padding: 12px;
}

.detailK {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.62);
}

.detailV {
  margin-top: 6px;
  font-weight: 900;
}

.detailActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chatWrap {
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 420px;
}

.chatHeader {
  padding: 14px;
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chatTitle {
  font-weight: 900;
}

.chatMessages {
  padding: 14px;
  overflow: auto;
  display: grid;
  gap: 10px;
  background: var(--ice);
}

.chatRow {
  display: flex;
}

.chatRow.chatBubble--me {
  justify-content: flex-end;
}

.chatRow.chatBubble--them,
.chatRow.chatBubble--system {
  justify-content: flex-start;
}

.chatBubble {
  max-width: min(520px, 92%);
  border: 1px solid var(--border2);
  border-radius: var(--radiusSharp);
  background: #fff;
  padding: 10px 12px;
}

.chatRow.chatBubble--me .chatBubble {
  border-color: rgba(233, 78, 44, 0.35);
}

.chatRow.chatBubble--system .chatBubble {
  background: rgba(255, 255, 255, 0.78);
}

.chatText {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.88);
}

.chatTime {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(15, 23, 42, 0.55);
}

.chatComposer {
  padding: 12px;
  border-top: 1px solid var(--border2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.chatInput {
  height: 44px;
  border-radius: var(--radiusSharp);
  border: 1px solid var(--border2);
  padding: 0 12px;
  font-weight: 600;
}
