/* Isolated parent visual pass — no data or Supabase behavior changes. */
body.parent-mode:not(.kids-mode) .parent-app {
  background:
    radial-gradient(ellipse 80% 25% at 50% 2%, rgba(143, 85, 18, .13), transparent 80%),
    linear-gradient(135deg, rgba(255, 225, 151, .018) 0 1px, transparent 1px 8px),
    #0b0b0d;
  color: #f8f5ee;
}
body.parent-mode .official-brand-logo {width: clamp(148px, 40vw, 210px);}
body.parent-mode .parent-masthead.seamless {background: #0b0b0d;}
body.parent-mode:not(.kids-mode) .parent-content {max-width: 980px; margin-inline: auto; padding-inline: clamp(14px, 4vw, 34px);}
.parent-home {padding-bottom: 20px;}
.parent-intro {position: relative; padding: 20px 4px 18px; isolation: isolate;}
.parent-intro::before {content: ''; position: absolute; z-index: -1; inset: 0 0 0 -18px; background: radial-gradient(ellipse at 16% 52%, rgba(210, 143, 43, .15), transparent 65%); pointer-events: none;}
.parent-eyebrow {display: block; margin-bottom: 10px; color: #d9b673; font-size: 10px; font-weight: 900; letter-spacing: .25em;}
.parent-intro h1 {font-size: clamp(32px, 7.5vw, 48px); letter-spacing: -.045em; line-height: 1.07; margin: 0; font-weight: 900;}
.parent-intro h1 em {font-style: normal; color: #e9bd65;}
.parent-intro p {margin: 12px 0 0; max-width: 34ch; font-size: clamp(13px, 3.6vw, 16px); line-height: 1.5; color: #bdb9b4;}
.parent-home .child-choice {position: relative; width: 100%; display: flex; gap: 12px; align-items: center; margin: 6px 0 27px; padding: 11px 18px; background: linear-gradient(120deg, #252323, #131313); border: 1px solid #6b5940; border-radius: 22px; box-shadow: inset 0 1px 0 #ffffff12, 0 8px 16px #0005;}
.parent-home .child-avatar {width: 45px; height: 45px; flex: 0 0 45px; border-radius: 15px; border: 1px solid #a7834e; color: #e9bd65; background: #211a10;}
.parent-home .child-avatar svg {width: 25px; height: 25px;}
.child-context {display: flex; flex-direction: column; min-width: 0; flex: 1;}
.child-caption {font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #ccae7d;}
.parent-home .child-context select, .parent-home .child-context button {width: 100%; min-width: 0; padding: 4px 24px 0 0; text-overflow: ellipsis; appearance: none; border: 0; outline-offset: 3px; background: transparent; font-size: 18px; font-weight: 800; color: #fff;}
.parent-home .child-context select option {color: #171717;}
.parent-home .child-context button {cursor: pointer;}
.parent-home .child-context button>span {display: none;}
.child-choice-chevron {color: #d9b673; font-size: 22px; pointer-events: none;}
.parent-section-heading {display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px 14px;}
.parent-section-heading h2 {margin: 0; color: #fff; font-size: clamp(19px, 4.5vw, 24px); letter-spacing: -.02em;}
.parent-section-heading>span {color: #947b59; font-size: 9px; font-weight: 800; letter-spacing: .16em; white-space: nowrap;}
.parent-home .parent-tiles {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;}
.parent-home .parent-tile {position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; min-width: 0; min-height: 147px; gap: 18px; padding: 16px; background: linear-gradient(150deg, #252326, #111114 85%); border: 1px solid #484046; border-radius: 23px; color: #f6f3ec; text-align: left; text-shadow: none; box-shadow: inset 0 1px 0 #ffffff18, 0 8px 15px #0005; transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;}
.parent-home .parent-tile::after {content: ''; position: absolute; bottom: 17px; right: 13px; width: 30px; height: 1px; background: #b8904f55; transform: rotate(-34deg); transform-origin: center; pointer-events: none;}
.parent-home .parent-tile.gold {background: linear-gradient(140deg, #ffe2a1, #e5b55f 60%, #c68d37); border-color: #f8d283; color: #251805; box-shadow: inset 0 1px 0 #fff9, 0 9px 22px #c1842c24;}
.parent-home .parent-tile.gold::after {background: #5c3a0850;}
.parent-home .parent-tile.green {background: linear-gradient(145deg, #26322c, #111816 75%); border-color: #5c7b5d;}
.parent-home .parent-tile.green .tile-icon {color: #a6dd99;}
.parent-home .tile-top {width: 100%; display: flex; justify-content: space-between; align-items: flex-start;}
.parent-home .parent-tile .tile-icon {display: grid; place-items: center; width: 47px; height: 47px; padding: 10px; border: 1px solid #ffffff16; border-radius: 15px; background: #ffffff09; filter: none; color: #dfbd77;}
.parent-home .parent-tile.gold .tile-icon {background: #50320c15; border-color: #5c3a0827; color: #46300e;}
.parent-home .tile-arrow {font-size: 20px; line-height: 1; color: #b08e59;}
.parent-home .gold .tile-arrow {color: #4c2c05;}
.parent-home .tile-copy {display: block; min-width: 0;}
.parent-home .tile-copy strong {display: block; margin-bottom: 4px; font-size: clamp(15px, 3.9vw, 20px); font-weight: 850; letter-spacing: -.025em; line-height: 1.18; overflow-wrap: anywhere;}
.parent-home .tile-copy small {display: block; color: #aaa4a3; font-size: clamp(10px, 2.7vw, 12px); font-weight: 500; line-height: 1.35;}
.parent-home .gold .tile-copy small {color: #5e420e;}
.parent-home .green .tile-copy small {color: #aec0b0;}
.parent-home .parent-tile:hover {transform: translateY(-2px); border-color: #dabb7e; box-shadow: 0 11px 22px #0009;}
.parent-home .parent-tile:active {transform: scale(.98);}
.parent-home .parent-tile:focus-visible, .parent-home .child-context :focus-visible, .parent-bottom button:focus-visible, .kids-link:focus-visible {outline: 3px solid #f9de94; outline-offset: 3px;}
.parent-home .kids-link {display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 92px; margin-top: 20px; padding: 17px; border: 1px solid #a67a38; border-radius: 23px; color: #f7d79d; background: linear-gradient(110deg, #382710, #181411 58%, #0f0d0e); box-shadow: inset 0 1px 0 #ffffff12, 0 8px 20px #0006; text-align: left; text-shadow: none;}
.parent-home .kids-link-icon {display: grid; place-items: center; flex: 0 0 49px; width: 49px; height: 49px; border-radius: 16px; background: #edba5c; color: #281809; font-size: 27px;}
.parent-home .kids-link strong {font-size: clamp(17px, 4.2vw, 21px); letter-spacing: .015em; color: #ffe2a4;}
.parent-home .kids-link small {font-size: 12px; font-weight: 500; color: #bca88b;}
.parent-home .kids-link-arrow {margin-left: auto; font-size: 22px; color: #e7bd6d;}
.parent-home .parent-connect {margin: 20px auto 0; color: #e6c182; font-size: 14px; min-height: 35px; text-underline-offset: 4px;}
body.parent-mode:not(.kids-mode) .parent-bottom {position: fixed; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; left: 0; right: 0; bottom: 0; margin: 0; border: 1px solid #6d5533; border-bottom: 0; border-radius: 23px 23px 0 0; padding: 9px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right)); background: linear-gradient(180deg, #222024f5, #0b0b0df7); box-shadow: 0 -8px 24px #0009; backdrop-filter: blur(16px); z-index: 50;}
body.parent-mode:not(.kids-mode) .parent-bottom button {display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 59px; gap: 5px; padding: 6px 2px; border-radius: 17px; color: #e0d9d0;}
body.parent-mode:not(.kids-mode) .parent-bottom button[aria-current=page] {background: linear-gradient(145deg,#5b421e80,#2d211581); color: #f5c874;}
.parent-bottom .parent-nav-icon {width: 25px; height: 25px; display: grid; place-items: center;}
.parent-bottom .parent-nav-icon svg {display: block; width: 25px; height: 25px;}
body.parent-mode:not(.kids-mode) .parent-bottom small {font-size: clamp(10px,2.75vw,12px); line-height: 1.2; font-weight: 650;}
body.parent-mode:not(.kids-mode) .parent-back {display: flex; gap: 8px; align-items: center; width: max-content; margin: 10px clamp(14px,4vw,34px)!important; min-height: 42px; padding: 8px 12px!important; border: 1px solid #51442f; border-radius: 20px; background: #201b16; color: #e9c281; text-decoration: none;}
body.parent-mode:not(.kids-mode) .parent-content .card {border: 1px solid #5b492f; border-radius: 23px; background: linear-gradient(140deg,#242126,#141317 85%); box-shadow: inset 0 1px 0 #fff1,0 9px 21px #0005;}
@media (max-width: 359px) {.parent-home .parent-tile {padding: 13px; min-height: 138px;}.parent-home .tile-copy strong {font-size: 14px;}.parent-home .tile-copy small {font-size: 10px;}.parent-home .kids-link {padding: 13px;}}
@media (min-width: 700px) {.parent-home .parent-tiles {grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;}.parent-home .parent-tile {min-height: 176px; padding: 21px;}.parent-intro {padding-top: 30px;}.parent-home .child-choice {max-width: 580px;}}
@media (prefers-reduced-motion: reduce) {.parent-home .parent-tile {transition: none;}}

/* Events and attendance: the same quiet premium visual language as parent home. */
.parent-page-heading {padding: 19px 2px 16px;}
.parent-page-heading .parent-eyebrow {margin-bottom: 9px;}
.parent-page-heading h1 {display: flex; align-items: center; gap: 12px; margin: 0; color: #f7f5ef; text-align: left; font-size: clamp(26px,6.3vw,40px); font-weight: 900; line-height: 1.12; letter-spacing: -.042em;}
.parent-page-heading>p {margin: 12px 0 0; color: #bdb5ab; font-size: 14px; line-height: 1.5;}
.parent-page-heading .heading-symbol {flex: 0 0 43px; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 15px; border: 1px solid #8a6739; background: linear-gradient(145deg,#382913,#17120d); color: #eac274; font-size: 24px; font-weight: 700;}
.events-page .event-filters {display: flex; gap: 12px; margin: 8px 0 17px; align-items: center;}
.events-page .event-filter {display: inline-flex; align-items: center; min-height: 38px; padding: 8px 15px; border: 1px solid #d7ae65; border-radius: 99px; background: #e0b66e; color: #291b0b; font-size: 13px; font-weight: 800; box-shadow: none;}
.events-page .event-filters .tiny {color: #ac9e8b; font-size: 12px;}
.events-page .training-event {display: grid; grid-template-columns: minmax(82px,28%) minmax(0,1fr); gap: 0; overflow: hidden; margin: 0 0 15px; border: 1px solid #584a3b; border-radius: 23px; background: linear-gradient(145deg,#232125,#111114); box-shadow: inset 0 1px 0 #fff1,0 8px 17px #0006;}
.events-page .training-event.is-next {border-color: #9b783d;}
.events-page .event-photo {min-height: 245px; background-color: #23190c; background-position: 17.5% 52.36%; border-right: 1px solid #5a4630;}
.events-page .event-photo::after {content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, #121113aa); pointer-events: none;}
.events-page .event-details {min-width: 0; padding: 17px 16px 18px;}
.events-page .event-details h2 {margin: 11px 0 12px; color: #f7f2e7; font-size: clamp(18px,4.6vw,24px); font-weight: 850; line-height: 1.22; overflow-wrap: anywhere;}
.events-page .event-details p {margin: 9px 0; color: #cfc9c2; font-size: clamp(12px,3.2vw,14px); line-height: 1.5; overflow-wrap: anywhere;}
.events-page .event-details .event-date {color: #f1d5a5; font-weight: 700;}
.events-page .event-type {border: 1px solid #8a6e45; border-radius: 9px; background: #45331a; color: #f1d3a4; padding: 5px 8px; font-size: 10px; font-weight: 800;}
.events-page .next-event {margin-top: 11px; color: #c69b55; font-size: 10px; letter-spacing: .1em; font-weight: 850;}
.events-page .family-rsvp {margin-top: 16px; border-top: 1px solid #55483b; padding-top: 13px;}
.events-page .family-rsvp>strong {display: block; font-size: 13px; margin-bottom: 10px;}
.events-page .family-rsvp .feedback-options {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px;}
.events-page .family-rsvp [data-rsvp] {min-width: 0; min-height: 46px; padding: 7px 6px; border: 1px solid #726351; border-radius: 13px; background: #262222; color: #efede7; font-size: 12px; font-weight: 800;}
.events-page .family-rsvp [data-rsvp="present"] {border-color: #648d54;}
.events-page .family-rsvp [data-rsvp="absent"] {border-color: #985447;}
.events-page .family-rsvp [data-rsvp="present"][aria-pressed="true"] {background: #266b25; color: #fff; outline: 2px solid #c5f3b9; outline-offset: 2px;}
.events-page .family-rsvp [data-rsvp="absent"][aria-pressed="true"] {background: #9e2d27; color: #fff; outline: 2px solid #ffc1b6; outline-offset: 2px;}
.events-page .family-rsvp [data-rsvp]:focus-visible {outline: 3px solid #eac274; outline-offset: 3px;}
.events-page #court-reload, .attendance-page #court-reload {width: 100%; margin: 6px 0 14px; min-height: 48px; border: 1px solid #665238; border-radius: 15px; background: #252121; color: #e6c184;}

.attendance-page .parent-page-heading {padding-bottom: 7px;}
.attendance-page .attendance-subtitle {margin: 0 0 19px; text-align: left; color: #cdb78d; font-size: 13px; font-weight: 650;}
.attendance-page>.child-choice {display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 16px; margin: 0 0 19px; border: 1px solid #67533b; border-radius: 21px; background: linear-gradient(145deg,#252325,#111114); box-shadow: inset 0 1px 0 #ffffff13;}
.attendance-page>.child-choice .child-avatar {display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b38b50; border-radius: 14px; background: #2c2114; color: #efcb86; font-size: 26px;}
.attendance-page>.child-choice select {width: 100%; min-width: 0; padding: 5px 9px; border: 0; background: transparent; color: #fff; font-size: 18px; font-weight: 850;}
.attendance-page>.child-choice select option {color: #191919;}
.attendance-page .attendance-agenda {display: grid; grid-template-columns: minmax(0,1fr); gap: 15px;}
.attendance-page .attendance-session {display: flex; flex-direction: column; min-width: 0; gap: 0; margin: 0; padding: 20px 17px 17px; border: 1px solid #60534a; border-radius: 24px; background: linear-gradient(135deg,#2a2728,#121214 82%); box-shadow: inset 0 1px 0 #fff2,0 9px 20px #0006;}
.attendance-page .attendance-session.awaiting {border-color: #9d7a43;}
.attendance-page .attendance-session.present {border-color: #4f8a42;}
.attendance-page .attendance-session.absent {border-color: #a14e4b;}
.attendance-page .attendance-session-info {display: flex; align-items: flex-start; gap: 13px;}
.attendance-page .calendar-gold {display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border: 1px solid #947441; border-radius: 12px; background: #352912; color: #e7be71; font-size: 24px;}
.attendance-page .attendance-session-info>div {flex: 1; min-width: 0;}
.attendance-page .attendance-session h2 {margin: 2px 0 10px; color: #f7f2e9; font-size: clamp(18px,4.6vw,23px); font-weight: 900; letter-spacing: -.022em; line-height: 1.3;}
.attendance-page .attendance-session p {margin: 8px 0; color: #c9c2bc; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere;}
.attendance-page .attendance-answer {display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding: 17px 0 0; border: 0; border-top: 1px solid #574b40; text-align: center;}
.attendance-page .answer-badge {display: block; width: 100%; padding: 10px; border-radius: 14px; border: 1px solid #96733e; background: #493211; color: #f8d89c; font-size: 13px; font-weight: 850;}
.attendance-page .answer-badge.present {border-color: #6d9b56; background: #1b411d; color: #c1f4bb;}
.attendance-page .answer-badge.absent {border-color: #bd5a52; background: #4e1717; color: #ffd1ca;}
.attendance-page .attendance-buttons {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px;}
.attendance-page .attendance-buttons button {display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 64px; padding: 9px 5px; border: 2px solid #76bf45; border-radius: 19px; background: linear-gradient(180deg,#4cac18,#177327); color: #fff; font-size: clamp(15px,4vw,19px); font-weight: 900; text-shadow: 0 1px 2px #143506;}
.attendance-page .attendance-buttons button.rsvp-absent {border-color: #f47e6a; background: linear-gradient(180deg,#e6372b,#9e1b1c); text-shadow: 0 1px 2px #3e0f0a;}
.attendance-page .attendance-buttons button b {display: inline; margin: 0; font-size: 28px; line-height: 1;}
.attendance-page .attendance-buttons button[aria-pressed="true"] {outline: 3px solid #ffe1a4; outline-offset: 3px;}
.attendance-page .attendance-buttons button:focus-visible {outline: 3px solid white; outline-offset: 3px;}
.attendance-page .attendance-buttons button:disabled {opacity: .48; filter: grayscale(.65);}
.attendance-page .attendance-answer small {color: #c4b5a0; font-size: 12px;}
@media (max-width: 360px) {.events-page .training-event {grid-template-columns: 68px minmax(0,1fr);}.events-page .event-details {padding: 13px 10px;}.attendance-page .attendance-session {padding: 16px 12px;}.attendance-page .attendance-buttons button {gap: 5px; font-size: 14px;}}
@media (min-width: 780px) {.attendance-page .attendance-agenda {grid-template-columns: repeat(2,minmax(0,1fr));}.events-page .training-event {grid-template-columns: minmax(160px,32%) minmax(0,1fr);}.events-page .event-photo {min-height: 300px;}}

/* Draw chevrons as vector borders, independent of device emoji fonts. */
.parent-home .tile-arrow, .parent-home .kids-link-arrow {display: block; flex: 0 0 11px; width: 11px; height: 11px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); font-size: 0; margin: 5px 4px 0 0;}
.parent-home .kids-link-arrow {margin: 0 7px 0 auto;}
.events-page>p, .attendance-page .attendance-agenda>p {padding: 22px 20px; margin: 0 0 15px; border: 1px solid #574938; border-radius: 18px; background: linear-gradient(145deg,#222024,#151416); color: #cfc4b4; font-size: 14px; line-height: 1.5;}

/* The official mark is the only logo. The separate, text-free mountain artwork
   continues behind it on both screen sizes, never a cropped UI screenshot. */
body.parent-mode:not(.kids-mode) .parent-masthead.seamless {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 65%, #ad6e2226, transparent 75%), #0b0b0d;
}
body.parent-mode:not(.kids-mode) .parent-masthead .brand-landscape {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  pointer-events: none;
  background-image: linear-gradient(to bottom, #0b0b0d44, #0b0b0d00 42%, #0b0b0d99 94%), url('/assets/player-mountains.png');
  background-size: cover;
  background-position: center 27%;
  background-repeat: no-repeat;
  opacity: .95;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 83%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 83%, transparent);
}
body.parent-mode:not(.kids-mode) .parent-masthead .official-brand {
  position: relative;
  z-index: 1;
  gap: 0;
  padding: 8px;
  background: transparent;
}
body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-logo {
  display: block;
  width: clamp(170px, 19vw, 210px);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 4px 9px #000d);
}
body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-motto {
  margin-top: -3px;
  font-size: 13px;
  text-shadow: 0 2px 6px #000e;
}

/* Phone: a compact continuous canvas. Desktop retains its own wider hero
   and a three-column dashboard without creating a second Site/version. */
@media (max-width: 699px) {
  /* Float a small language switch in the corner instead of reserving a row. */
  body.parent-mode:not(.kids-mode) main {position: relative;}
  body.parent-mode:not(.kids-mode) header {
    position: absolute;
    z-index: 20;
    top: 5px;
    right: 7px;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
  }
  body.parent-mode:not(.kids-mode) header .language-switch {
    display: flex;
    gap: 0;
    padding: 2px;
    border-radius: 14px;
    background: #111013c7;
    border-color: #9b753b80;
    pointer-events: auto;
    backdrop-filter: blur(7px);
  }
  body.parent-mode:not(.kids-mode) header .language-switch button {
    min-width: 30px;
    min-height: 30px;
    padding: 4px 5px;
    border-radius: 11px;
    font-size: 10px;
    line-height: 1;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead.seamless {
    height: 124px;
    background: radial-gradient(ellipse 67% 63% at 50% 67%, rgba(196,112,29,.12), transparent 85%), #0b0b0d;
  }
  /* A soft circular shadow protects the mark without a visible black panel. */
  body.parent-mode:not(.kids-mode) .parent-masthead.seamless::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: radial-gradient(ellipse 39% 73% at 50% 47%, #070709d9, #0707097a 56%, transparent 100%);
    pointer-events: none;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .official-brand {
    padding: 2px 8px 5px;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-logo {
    width: clamp(108px, 30vw, 122px);
    height: auto;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-motto {
    margin-top: -3px;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.15;
    letter-spacing: .17em;
    text-shadow: 0 2px 5px #000a;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .brand-landscape {
    background-position: center 18%;
    opacity: .83;
  }
  .parent-home .parent-intro {padding: 8px 3px 10px;}
  .parent-home .parent-eyebrow {margin-bottom: 4px; font-size: 9px;}
  .parent-home .parent-intro h1 {font-size: clamp(23px, 6vw, 27px); line-height: 1.05;}
  .parent-home .parent-intro p {max-width: none; margin-top: 5px; font-size: 11px; line-height: 1.3;}
  .parent-home .child-choice {gap: 8px; margin: 0 0 11px; padding: 6px 10px; border-radius: 15px;}
  .parent-home .child-avatar {width: 35px; height: 35px; flex-basis: 35px; border-radius: 11px;}
  .parent-home .child-avatar svg {width: 21px; height: 21px;}
  .parent-home .child-caption {font-size: 9px;}
  .parent-home .child-context select, .parent-home .child-context button {font-size: 16px;}
  .parent-home .parent-section-heading {margin-bottom: 8px;}
  .parent-home .parent-section-heading h2 {font-size: 19px;}
  .parent-home .parent-section-heading>span {font-size: 8px;}
  .parent-home .parent-tiles {gap: 10px;}
  .parent-home .parent-tile {min-height: 118px; gap: 11px; padding: 12px; border-radius: 19px;}
  .parent-home .parent-tile .tile-icon {width: 39px; height: 39px; padding: 8px; border-radius: 12px;}
  .parent-home .tile-copy strong {font-size: clamp(14px, 3.65vw, 17px);}
  .parent-home .tile-copy small {font-size: 10px;}
  body.parent-mode:not(.kids-mode) .parent-bottom {padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom));}
  body.parent-mode:not(.kids-mode) .parent-bottom button {min-height: 54px; gap: 4px;}
  body.parent-mode:not(.kids-mode) .parent-bottom .parent-nav-icon,
  body.parent-mode:not(.kids-mode) .parent-bottom .parent-nav-icon svg {width: 23px; height: 23px;}
}

/* Parent dashboard: two unmistakable everyday actions followed by a quiet
   utility grid. Use the existing buttons and routes, with no behavior changes. */
body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading {
  align-items: center;
  margin-bottom: 12px;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading h2 {
  font-weight: 850;
  letter-spacing: -.035em;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) {
  min-height: 155px;
  padding: 17px;
  border-radius: 22px;
  box-shadow: 0 12px 30px #0005, inset 0 1px 0 #ffffff33;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(1) {
  background: radial-gradient(ellipse at 102% -10%, #fff7d05c, transparent 55%), linear-gradient(135deg,#ffe2a3,#ddb06b 72%,#bb8545);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(2) {
  background: radial-gradient(ellipse at 95% 0%, #99c6a329, transparent 60%), linear-gradient(135deg,#243e34,#13231f 80%);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) .tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) .tile-copy strong {
  font-size: clamp(18px, 4.1vw, 23px);
  line-height: 1.13;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) .tile-copy small {
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1.3;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-height: 83px;
  padding: 12px 13px;
  border: 1px solid #3b3738;
  border-radius: 19px;
  background: linear-gradient(138deg, #242328, #151518 76%);
  box-shadow: inset 0 1px 0 #ffffff12, 0 6px 15px #0003;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-top {
  flex: 0 0 39px;
  width: 39px;
  align-items: center;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-icon {
  width: 39px;
  height: 39px;
  padding: 9px;
  border-radius: 13px;
  background: #b38b4720;
  border-color: #c89d5e30;
  color: #e6c285;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-arrow,
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3)::after {
  display: none;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-copy strong {
  margin: 0 0 3px;
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.16;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-copy small {
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1.3;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:focus-visible {
  outline: 3px solid #f9df9e;
  outline-offset: 3px;
}
@media (max-width: 699px) {
  body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading>span {display: none;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-tiles {gap: 10px;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) {
    min-height: 145px;
    gap: 14px;
    padding: 13px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) .tile-icon {
    width: 43px;
    height: 43px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) {
    min-height: 76px;
    padding: 10px;
    gap: 9px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-top {
    flex-basis: 33px;
    width: 33px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-icon {
    width: 33px;
    height: 33px;
    padding: 7px;
  }
}
@media (min-width: 900px) {
  body.parent-mode:not(.kids-mode) .parent-home .parent-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) {
    grid-column: span 2;
    min-height: 190px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) {
    min-height: 92px;
  }
}

/* Zurich Peakers signature edition: editorial club identity, sculpted action
   cards and restrained Alpine detailing. Presentation-only, all routes intact. */
body.parent-mode:not(.kids-mode) {
  --club-card-dark: linear-gradient(125deg, #272426, #18171b 78%);
  --club-card-rail: linear-gradient(#f4ca7a20, #e9bc69b3, #f4ca7a20);
  --club-card-shadow: inset 0 1px 0 #fff1, 0 10px 21px #0003;
  --club-card-gold: radial-gradient(ellipse at 22% -20%, #fff6cf, transparent 57%),
                    linear-gradient(128deg, #f6d797, #d9a85f 70%, #b47b36);
}
body.parent-mode:not(.kids-mode) .parent-app {
  background:
    radial-gradient(ellipse 80% 23% at 49% 9%, rgba(170, 98, 17, .115), transparent 76%),
    radial-gradient(ellipse 40% 30% at 95% 60%, rgba(158, 116, 46, .045), transparent 75%),
    #09090b;
}
body.parent-mode:not(.kids-mode) .parent-masthead.seamless {
  border-bottom: 1px solid #ae864b4b;
  box-shadow: 0 12px 40px #0009;
}
body.parent-mode:not(.kids-mode) .parent-masthead.seamless::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 34% 75% at 50% 64%, rgba(247, 184, 74, .15), transparent 80%);
  pointer-events: none;
}
body.parent-mode:not(.kids-mode) .parent-masthead .official-brand {
  filter: drop-shadow(0 9px 20px #000c);
}
body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-logo {
  filter: drop-shadow(0 2px 5px #000) drop-shadow(0 0 15px #000a);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-intro {
  margin-top: 5px;
  isolation: isolate;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-intro::before {
  inset: -6px -20px -14px -30px;
  background: radial-gradient(ellipse at 10% 50%, #b97a2830, transparent 65%);
}
.parent-home .parent-intro-rail {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 11px;
}
.parent-home .parent-intro-rail .parent-eyebrow {margin: 0;}
.parent-home .parent-season {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cabba4;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  white-space: nowrap;
}
.parent-home .parent-season::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f4c66f;
  box-shadow: 0 0 9px #eabc58;
}
.parent-home .parent-intro h1 {
  text-wrap: balance;
  letter-spacing: -.045em;
  text-shadow: 0 3px 16px #0008;
}
.parent-home .parent-intro h1 em {
  color: #efc675;
  background: linear-gradient(92deg, #d4a24f, #ffe2a1 54%, #dfac58);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.parent-mode:not(.kids-mode) .parent-home .child-choice {
  overflow: hidden;
  border-color: #b58c5077;
  background: linear-gradient(112deg, #2b251f 0%, #1e1c1b 55%, #121214 100%);
  box-shadow: 0 12px 34px #0006, inset 0 1px 0 #ffe1a116;
}
body.parent-mode:not(.kids-mode) .parent-home .child-choice::before {
  content: '';
  position: absolute;
  inset: 15% auto 15% 0;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(#f8d796,#ad782e,#eaca8c);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading {
  position: relative;
  padding-top: 7px;
  border-top: 1px solid #af925433;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading h2 {
  font-size: clamp(19px, 4.7vw, 25px);
  letter-spacing: -.045em;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading>span {
  color: #a78b5e;
  letter-spacing: .18em;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) {
  isolation: isolate;
  overflow: hidden;
  border-radius: 25px 25px 25px 10px;
  box-shadow: 0 15px 28px #0007, inset 0 1px 0 #fff6;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(1) {
  background: var(--club-card-gold);
  border-color: #ffdfa1;
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(2) {
  background:
    radial-gradient(ellipse at 20% -15%, #76998455, transparent 68%),
    linear-gradient(127deg, #264538, #172820 68%, #0f1a16);
  border-color: #729a7e80;
}
.parent-home .parent-tile .tile-scenery {
  display: block;
  position: absolute;
  z-index: 0;
  width: min(73%, 340px);
  right: -7%;
  bottom: -8%;
  color: #5e3910;
  opacity: .24;
  pointer-events: none;
  transform: rotate(-3deg);
}
.parent-home .parent-tile .tile-scenery svg {display: block; width: 100%; height: auto;}
.parent-home .parent-tile.green .tile-scenery {color: #a6e2ae; opacity: .19;}
.parent-home .parent-tile .tile-top, .parent-home .parent-tile .tile-copy {position: relative; z-index: 1;}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) .tile-icon {
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #ffffff40, 0 4px 15px #0000000d;
}
.parent-home .parent-tile:nth-child(-n+2) .tile-arrow {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 1px solid #54370b50;
  border-radius: 50%;
  transform: none;
  background: #fff5d12c;
  position: relative;
  font-size: 0;
}
.parent-home .parent-tile:nth-child(-n+2) .tile-arrow::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  top: 10px;
  left: 9px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.parent-home .parent-tile:nth-child(2) .tile-arrow {
  color: #c8e7cd;
  border-color: #b8dfbc54;
  background: #cde8cb13;
}
.parent-home .parent-tile:nth-child(-n+2) .tile-copy strong {letter-spacing: -.04em;}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) {
  position: relative;
  overflow: hidden;
  border-color: #50433a;
  background: var(--club-card-dark);
  box-shadow: var(--club-card-shadow);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3)::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--club-card-rail);
}
body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) .tile-icon {
  background: linear-gradient(150deg,#cca15c28,#52402d15);
  border: 1px solid #dab67842;
}
body.parent-mode:not(.kids-mode) .parent-home .kids-link {
  position: relative;
  overflow: hidden;
  border-color: #a77d3d88;
  background: radial-gradient(ellipse at 10% 50%, #a173293a, transparent 50%),linear-gradient(120deg,#272016,#111114 78%);
}
body.parent-mode:not(.kids-mode) .parent-home .kids-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg,transparent,#ffe3a688,transparent);
}
@media (min-width: 700px) {
  body.parent-mode:not(.kids-mode) .parent-home .parent-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
    align-items: end;
    column-gap: 42px;
    padding-bottom: 20px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .parent-intro-rail {grid-column: 1 / -1;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-intro p {
    margin: 0 0 6px;
    max-width: 30ch;
    padding: 4px 0 4px 20px;
    border-left: 1px solid #e6c28260;
    font-size: 15px;
  }
  body.parent-mode:not(.kids-mode) .parent-home .child-choice {max-width: 570px;}
}
@media (min-width: 800px) {
  body.parent-mode:not(.kids-mode) .parent-masthead.seamless {
    width: 100%;
    max-width: none;
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-logo {
    width: clamp(205px, 17vw, 234px);
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .brand-landscape {
    background-position: center 26%;
  }
}
@media (max-width: 699px) {
  body.parent-mode:not(.kids-mode) .parent-masthead.seamless {height: 137px;}
  body.parent-mode:not(.kids-mode) .parent-masthead.seamless::before {
    background: radial-gradient(ellipse 49% 88% at 50% 54%, #f0ae3d24, transparent 85%);
  }
  body.parent-mode:not(.kids-mode) .parent-masthead .official-brand-logo {width: clamp(121px, 34vw, 138px);}
  body.parent-mode:not(.kids-mode) .parent-masthead .brand-landscape {background-position: center 21%; opacity: .98;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-intro {padding: 10px 2px 12px; margin: 0;}
  .parent-home .parent-intro-rail {gap: 12px; margin-bottom: 7px;}
  .parent-home .parent-season {font-size: 8px; letter-spacing: .08em;}
  .parent-home .parent-season::before {width: 3px; height: 3px;}
  .parent-home .parent-intro h1 {font-size: clamp(26px, 7.1vw, 31px); line-height: 1.04;}
  .parent-home .parent-intro p {margin-top: 7px; max-width: 36ch; font-size: 11px; line-height: 1.36;}
  body.parent-mode:not(.kids-mode) .parent-home .child-choice {min-height: 60px; margin: 3px 0 13px;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-section-heading {margin-bottom: 10px; padding-top: 9px;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(-n+2) {min-height: 150px; padding: 14px;}
  .parent-home .parent-tile .tile-scenery {width: 90%; right: -25%; bottom: 0; opacity: .21;}
  .parent-home .parent-tile.green .tile-scenery {opacity: .15;}
  .parent-home .parent-tile:nth-child(-n+2) .tile-arrow {flex-basis: 27px; width: 27px; height: 27px;}
  .parent-home .parent-tile:nth-child(-n+2) .tile-arrow::after {top: 9px; left: 8px;}
  body.parent-mode:not(.kids-mode) .parent-home .parent-tile:nth-child(n+3) {min-height: 74px;}
}
@media (prefers-reduced-motion: reduce) {
  .parent-home .parent-tile {transition: none !important;}
}
/* PIKO CLUB simplified launch navigation — role-specific, one-screen landing. */
.parent-simple .parent-intro{margin-bottom:12px}
.parent-simple .child-choice{margin:10px 0 16px}
.parent-simple .parent-primary-action{display:flex;gap:12px;align-items:center;width:100%;min-height:94px;margin:10px 0 14px;padding:14px 15px;text-align:left;background:linear-gradient(135deg,#f9d88d,#dcac4e);color:#21180a;border:1px solid #f6e0a6;border-radius:18px;box-shadow:0 5px 15px #0005}
.parent-simple .parent-primary-action strong{display:block;font-size:17px}.parent-simple .parent-primary-action small{display:block;font-size:12px;margin-top:4px}.parent-simple .parent-primary-action>span:last-child{margin-left:auto;font-size:28px}
.parent-simple .action-icon svg{width:27px;height:27px}.parent-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:8px}
.parent-simple-grid button{min-height:112px;border:1px solid #544a3c;border-radius:17px;color:#fff;background:#28262b;text-align:left;padding:13px;display:flex;flex-direction:column;gap:5px}
.parent-simple-grid svg{width:27px;height:27px;color:#eac279}.parent-simple-grid strong{font-size:16px}.parent-simple-grid small{font-size:12px;color:#d2c5b0}
.parent-simple-text{background:transparent;border:0;color:#e8c17a;padding:12px 0;text-align:left}
.parent-mode .parent-back{min-height:44px;cursor:pointer}
.parent-mode .parent-bottom{position:sticky;bottom:0;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));z-index:20}
@media(max-width:699px){.parent-simple .parent-intro h1{font-size:clamp(24px,6vw,33px)}.parent-simple .parent-simple-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-simple .parent-primary-action{min-height:88px}.parent-mode .parent-content{padding-bottom:10px}}

.parent-home .parent-simple-text + .parent-simple-text{margin-inline-start:1em}
.account-shortcuts{display:flex;flex-wrap:wrap;gap:0 16px}
.parent-app .account-shortcuts button,.parent-simple .parent-simple-text{min-height:44px}

.parent-account button.account-route {
  width: 100%;
  min-height: 48px;
  text-align: start;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.parent-account button.account-route:focus-visible {
  outline: 2px solid #e7bd68;
  outline-offset: 2px;
}

/* Member dashboard: let the seven actions share the available phone height.
   Normal document flow remains available for large text and open notices. */
@media (max-width: 699px) {
  body.parent-mode:not(.kids-mode):has(.parent-home .kids-link) {
    & .parent-app {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      min-height: 100dvh;
      padding-bottom: 0;
    }
    & .parent-masthead.seamless {
      height: clamp(72px, 14dvh, 124px);
      flex-shrink: 0;
      grid-template-rows: minmax(0, 1fr);
      border-bottom: 0;
      box-shadow: none;
    }
    & .parent-masthead .official-brand {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      justify-items: center;
      height: 100%;
      min-height: 0;
      box-sizing: border-box;
      padding: 4px 0 8px;
      row-gap: 2px;
    }
    & .parent-masthead .official-brand-logo {
      width: 30vw;
      max-width: 120px;
      min-height: 0;
      height: 100%;
      object-fit: contain;
      object-position: center bottom;
    }
    & .parent-masthead .official-brand-motto {margin: 0; line-height: 1.2;}
    & .parent-content {
      display: flex;
      flex-direction: column;
      width: 100%;
      flex: 1;
      margin-block: 0;
      padding-block: 0;
    }
    & .parent-home {display: flex; flex-direction: column; flex: 1; padding: 0 0 8px;}
    & .parent-intro {padding: clamp(5px, 1.2dvh, 12px) 0;}
    & .parent-intro-rail {margin-bottom: 4px;}
    & .parent-intro h1 {font-size: clamp(20px, 6vw, 27px); line-height: 1.12;}
    & .parent-intro h1 br {display: none;}
    & .parent-intro h1 em {margin-inline-start: .2em;}
    & .parent-intro p {display: none;}
    & .child-choice {min-height: 46px; margin: 0; padding: 5px 12px;}
    & .child-context select {font-size: 16px; padding-top: 0;}
    & .parent-section-heading {border: 0; padding: 0; margin: 7px 0 5px;}
    & .parent-section-heading h2 {font-size: 17px;}
    & .parent-tiles {
      flex: 1;
      grid-template-rows: minmax(min-content, 1.5fr) repeat(2, minmax(min-content, 1fr));
      gap: clamp(5px, 1dvh, 10px);
    }
    & .parent-home .parent-tile:nth-child(-n+2) {
      min-height: clamp(76px, 15dvh, 138px);
      padding: clamp(7px, 1.3dvh, 12px);
      gap: 4px;
    }
    & .parent-home .parent-tile:nth-child(-n+2) .tile-icon {width: 30px; height: 30px; padding: 5px; border-radius: 10px;}
    & .parent-home .parent-tile:nth-child(-n+2) .tile-copy strong {font-size: 16px; margin-bottom: 2px;}
    & .parent-home .parent-tile:nth-child(n+3) {
      min-height: clamp(48px, 8.5dvh, 76px);
      padding: 6px 8px; gap: 6px;
    }
    & .kids-link {min-height: 48px; margin: 7px 0 0; padding: 6px 12px; gap: 10px;}
    & .kids-link-icon {width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; font-size: 20px;}
    & .kids-link strong {font-size: 15px;}
    & .parent-bottom {position: sticky; margin: 0; padding-block: 3px calc(3px + env(safe-area-inset-bottom, 0px));}
    & .parent-bottom button {min-height: 44px; padding: 3px 2px; gap: 2px;}
  }
}
@media (max-width: 699px) and (max-height: 650px) {
  body.parent-mode:not(.kids-mode):has(.parent-home .kids-link) .parent-tile .tile-copy small {display: none;}
}
@media (max-width: 699px) and (min-height: 700px) {
  body.parent-mode:not(.kids-mode):has(.parent-home .kids-link) .parent-intro p {
    display: block; max-width: none; font-size: 12px; margin-top: 4px;
  }
}

/* Club screens share the mountain masthead, back gesture and compact panels. */
body.parent-mode:not(.kids-mode) .club-interior {
  --club-edge: #80663c88;
  --club-surface:
    var(--club-card-rail) left center / 2px 78% no-repeat,
    radial-gradient(ellipse at 0% 0%, #ecbd6a18, transparent 52%),
    var(--club-card-dark);
  --club-gold: #edc87c;
  position: relative;
}
body.parent-mode:not(.kids-mode) .club-interior .parent-masthead.seamless {
  height: clamp(76px,12dvh,112px); grid-template-rows: minmax(0,1fr);
  border: 0; box-shadow: none;
}
body.parent-mode:not(.kids-mode) .club-interior .parent-masthead .official-brand {
  display: grid; height:100%; min-height:0; box-sizing:border-box;
  grid-template-rows:minmax(0,1fr) auto; justify-items:center; padding:3px 0 8px; gap:2px;
}
body.parent-mode:not(.kids-mode) .club-interior .official-brand-logo {
  width: min(26vw,117px); height:100%; min-height:0; object-fit:contain;
}
body.parent-mode:not(.kids-mode) .club-interior .official-brand-motto {margin:0;font-size:11px;line-height:1.2;}
body.parent-mode:not(.kids-mode) .club-interior .parent-back {
  position:absolute;top:12px;left:max(8px,env(safe-area-inset-left));z-index:5;
  display:grid;place-items:center;width:44px;height:44px;padding:0!important;margin:0!important;
  border:0;background:#101011a8;border-radius:50%;font-size:23px;
}
.club-interior .parent-back span {display:none;}
body.parent-mode:not(.kids-mode) .club-interior .parent-service-card,
body.parent-mode:not(.kids-mode) .club-interior :is(.parent-feature-panel,.parent-simple-grid button) {
 background:var(--club-surface);border-color:var(--club-edge);border-radius:16px;box-shadow:var(--club-card-shadow);
}
.club-interior .parent-service-card {padding:12px;}
.club-passport {width:100%;max-width:720px;margin:0 auto;display:grid;gap:clamp(6px,1.2dvh,12px);padding-bottom:12px;}
.club-passport #live-player {
 box-sizing:border-box;width:100%;margin:0;min-height:44px;padding:7px 12px;border-radius:12px;
 font:inherit;color:#faf8f3;background:#1c1b1e;border:1px solid #59544d;
}
.pass-hero,.pass-panel {border:1px solid var(--club-edge);border-radius:16px;overflow:hidden;background:var(--club-surface);box-shadow:var(--club-card-shadow);}
.pass-hero {
 padding:clamp(12px,2.3dvh,22px) clamp(14px,4vw,28px) 10px;
 isolation:isolate;position:relative;background:var(--club-card-rail) left center / 3px 76% no-repeat, radial-gradient(ellipse at 0 0,#c4964a36,transparent 65%), linear-gradient(120deg,#28231c,#171617 80%);
}
.pass-hero::before {
 content:'';position:absolute;z-index:-1;inset:0 0 34% 27%;pointer-events:none;
 background:url('/assets/player-mountains.png') center 27%/cover no-repeat;
 mask-image:linear-gradient(90deg,transparent,#000a 45%,#000b);
 -webkit-mask-image:linear-gradient(90deg,transparent,#000a 45%,#000b);
}
.pass-hero::after {
 content:'';position:absolute;z-index:-1;inset:0 0 33% 27%;pointer-events:none;
 background:linear-gradient(0deg,#181718,transparent 50%);
}
.pass-kicker {display:block;font-size:11px;line-height:1.25;letter-spacing:.14em;text-transform:uppercase;color:#e9c786;font-weight:750;}
.pass-hero h1 {font-size:clamp(25px,6.8vw,37px);line-height:1.13;margin:4px 0 0;color:#fff;overflow-wrap:anywhere;}
.pass-hero p {margin:2px 0 7px;color:#d1ccc5;font-size:14px;}
.pass-hero progress {display:block;appearance:none;width:100%;height:7px;overflow:hidden;border:0;border-radius:9px;background:#484548;color:#edc87c;}
.pass-hero progress::-webkit-progress-bar {background:#484548;}
.pass-hero progress::-webkit-progress-value {background:#edc87c;border-radius:9px;}
.pass-hero progress::-moz-progress-bar {background:#edc87c;border-radius:9px;}
.pass-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px;}
.pass-metrics>div {display:grid;grid-template-columns:auto auto;align-items:center;align-content:start;justify-content:center;column-gap:6px;}
.pass-metrics>div+div {border-inline-start:1px solid #6c635155;}
.pass-metrics svg {width:17px;height:17px;color:var(--club-gold);}
.pass-metrics strong {font-size:17px;color:#fff;line-height:1.2;}
.pass-metrics small {grid-column:1/-1;text-align:center;color:#c3bcb3;font-size:12px;}
.club-passport .pass-panel {margin:0;padding:0;}
.club-passport .pass-panel>summary {list-style:none;display:flex;align-items:center;gap:11px;padding:9px 13px;min-height:clamp(53px,9dvh,78px);box-sizing:border-box;cursor:pointer;color:#fff;}
.pass-panel>summary::-webkit-details-marker {display:none;}
.pass-panel>summary:focus-visible {outline:2px solid var(--club-gold);outline-offset:-3px;border-radius:14px;}
.pass-icon {display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#453a2a,#23211e);color:var(--club-gold);}
.pass-icon svg {width:22px;height:22px;}
.pass-label {display:grid;gap:4px;min-width:0;flex:1;}
.pass-label strong {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3;color:#f6f2eb;}
.pass-chip {display:inline-block;border:1px solid #665c495e;background:#ffffff08;border-radius:16px;padding:2px 7px;margin-right:3px;font-size:12px;}
.pass-cta {font-size:12px;color:#1b160d;background:#ebc574;border-radius:9px;padding:8px;font-weight:700;max-width:32%;text-align:center;}
.pass-panel[data-panel="reports"] .pass-cta {background:transparent;color:#edc87c;border:1px solid #80663c;}
.pass-chevron {font-size:22px;color:var(--club-gold);}
.pass-panel[open]>summary {border-bottom:1px solid var(--club-edge);}
.pass-panel[open] .pass-chevron {transform:rotate(90deg);}
.pass-panel-body {padding:12px 14px;color:#e3ddd4;overflow-wrap:anywhere;}
.pass-panel-body>p:first-child {margin-top:0;}
body.parent-mode .club-passport .pass-panel-body>.home-challenges {margin:0!important;padding:0;border:0;box-shadow:none;background:transparent;}
.pass-panel-body .home-challenges>h2 {display:none;}
@media(max-width:699px){
 body.parent-mode:not(.kids-mode) .club-interior .parent-content {padding-inline:clamp(12px,3.8vw,21px);}
 body.parent-mode:not(.kids-mode) .club-interior .parent-bottom {padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom));}
 body.parent-mode:not(.kids-mode) .club-interior .parent-bottom button {min-height:44px;padding-block:3px;gap:2px;}
 body.parent-mode:not(.kids-mode) .club-interior:has(.club-passport) {padding-bottom:calc(53px + env(safe-area-inset-bottom));}
 .club-interior .parent-detail-heading {margin-block:6px 13px;}
}

@media(max-width:699px) and (max-height:660px){
 .club-passport {gap:5px;}
 .pass-hero {padding-block:10px 8px;}
 .pass-metrics {padding-top:7px;}
 .club-passport .pass-panel>summary {min-height:48px;padding:6px 10px;gap:8px;}
 .pass-panel .pass-kicker {letter-spacing:.09em;}
 .pass-cta {padding:6px;max-width:32%;}
}

/* Shared club finishes: painted edges leave hit areas and content sizing intact. */
.club-interior .pass-icon, .club-interior .service-icon {
 background:linear-gradient(150deg,#cca15c28,#52402d15);
 box-shadow:inset 0 0 0 1px #dab67842, inset 0 1px 0 #ffe2a336;
}
.club-interior .pass-cta, .club-interior .parent-primary-action {
 background:var(--club-card-gold);box-shadow:inset 0 1px 0 #fff6,0 4px 10px #0003;
}
.club-interior .pass-panel[data-panel="reports"] .pass-cta {
 background:transparent;box-shadow:inset 0 1px 0 #ffe2a320;
}
.club-interior .pass-hero progress::-webkit-progress-value {background:var(--club-card-gold);}
.club-interior .pass-hero progress::-moz-progress-bar {background:var(--club-card-gold);}
body.parent-mode:not(.kids-mode) .club-interior .parent-content .card:not(.home-challenges) {
 background:var(--club-surface);border-color:var(--club-edge);box-shadow:var(--club-card-shadow);
}
