/* ===================================================
   REGGIE ENGLISH VIP MEMBERS — shell styles (vip- prefix)
   Adds the VIP layer; hides the course's own bottom tabbar so the
   VIP 5-tab nav is the single bottom navigation.
   =================================================== */

/* The course's original tab bar is replaced by the VIP nav. */
body #tabbar { display: none !important; }

/* Course surface (#main) vs VIP surface (#vipMain) toggle. */
#vipMain { display: block; }
body.vip-course #vipMain { display: none; }
body.vip-course #main { display: block; }
body:not(.vip-course) #main { display: none; }

/* Room for the fixed bottom nav. */
.app { padding-bottom: 76px; }

/* Header VIP badge */
.vip-hbadge { margin-left: auto; align-self: center; font-size: 11px; font-weight: 900; letter-spacing: .14em; color: #3a2a00; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); padding: 5px 11px; border-radius: 999px; box-shadow: var(--inner-hi); }
.topbar__trial { display: none; } /* replace course "Book trial" with VIP badge */

/* ---------- bottom nav ---------- */
.vipnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3500; display: flex; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.vipnav-btn { flex: 1; background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; font-size: 10.5px; font-weight: 700; }
.vipnav-btn svg { width: 22px; height: 22px; }
.vipnav-btn.is-active { color: var(--gold-dark); }

/* ---------- VIP panels ---------- */
.vip-wrap { max-width: 680px; margin: 0 auto; padding: 16px 16px 24px; }
.vip-h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 6px 0 4px; }
.vip-h2 { font-weight: 800; font-size: 15px; color: var(--ink-2); margin: 8px 0; }
.vip-sub { color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; }
.vip-muted { color: var(--ink-3); font-size: 14px; }
.vip-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 18px; margin-bottom: 14px; }
.vip-eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--gold-dark); text-transform: uppercase; }

.vip-hero { padding: 6px 2px 12px; }
.vip-hero-hi { font-family: var(--font-display); font-size: 23px; font-weight: 600; }
.vip-hero-sub { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.vip-pill { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.vip-pill--admin { color: var(--blue-deep); background: var(--blue-soft); border-color: var(--sky); }

/* meetup + countdown */
.vip-meetup { background: linear-gradient(180deg, #10214e 0%, #0b1838 100%); color: #fff; border: 0; }
.vip-meetup .vip-eyebrow { color: var(--gold); }
.vip-meetup-date { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-top: 6px; }
.vip-meetup-time { color: #cdd7f0; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.vip-meetup-desc { color: #dbe3f5; font-size: 13.5px; margin: 10px 0 0; }
.vip-note { color: #ffe6b0; font-size: 13px; margin-top: 8px; font-weight: 600; }
.vip-countdown { display: flex; align-items: center; gap: 6px; margin: 6px 0 2px; }
.vip-cd-unit { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 8px 0; min-width: 58px; flex: 1; }
.vip-cd-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; }
.vip-cd-lab { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #aeb9d8; margin-top: 4px; }
.vip-cd-sep { color: rgba(255,255,255,.4); font-weight: 800; }
.vip-live-now { color: #ff6b6b; font-weight: 800; font-size: 18px; }
.vip-meetup-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.vip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 14.5px; padding: 12px 18px; border-radius: var(--r-sm); border: 0; cursor: pointer; text-decoration: none; }
.vip-btn--gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%); color: #3a2a00; box-shadow: var(--inner-hi); }
.vip-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.vip-meetup .vip-btn--ghost { color: #fff; }
.vip-wrap > .vip-btn--gold, .vip-card .vip-btn--gold { color: #3a2a00; }
.vip-btn[disabled] { opacity: .6; }
button.vip-btn--ghost:not(.vip-meetup *) { color: var(--ink-2); border-color: var(--line-strong); }

/* home tiles */
.vip-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vip-tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); padding: 14px; cursor: pointer; }
.vip-tile-ic { font-size: 24px; }
.vip-tile-t { font-weight: 800; font-size: 15px; margin-top: 6px; }
.vip-tile-d { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }

/* forum */
.vip-list { display: flex; flex-direction: column; gap: 10px; }
.vip-post { display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); padding: 14px 16px; cursor: pointer; }
.vip-post-title { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.vip-post-title.lg { font-size: 19px; font-family: var(--font-display); font-weight: 600; }
.vip-post-meta { color: var(--ink-3); font-size: 12.5px; margin-top: 4px; }
.vip-post-body { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; word-wrap: break-word; }
.vip-tag { display: inline-block; font-size: 11px; font-weight: 800; color: var(--gold-dark); background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.vip-reply { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.vip-mod { margin-top: 12px; display: flex; gap: 14px; }
.vip-back { background: none; border: 0; color: var(--blue-dark); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px 0; margin-bottom: 8px; }
.vip-field { margin-bottom: 12px; }
.vip-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.vip-field input, .vip-field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); resize: vertical; }
.vip-field input:focus, .vip-field textarea:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px var(--gold-soft); }
.vip-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--blue-dark); cursor: pointer; text-decoration: none; }
.vip-link:hover { text-decoration: underline; }
.vip-link--danger { color: var(--red); }
.vip-msg { border-radius: var(--r-sm); padding: 10px 13px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.vip-msg--err { background: var(--red-soft); color: #B4292D; }

/* account */
.vip-acct-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.vip-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); color: #3a2a00; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.vip-acct-name { font-weight: 800; font-size: 16px; }
.vip-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.vip-row:last-of-type { border-bottom: 0; }
.vip-row span:first-child { color: var(--ink-3); font-weight: 700; }
.vip-row span:last-child { font-weight: 700; text-align: right; }
.vip-status { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.vip-status--ok { background: var(--green-soft); color: var(--green-dark); }
.vip-status--warn { background: var(--gold-soft); color: var(--gold-dark); }
.vip-status--muted { background: var(--bg-2); color: var(--ink-3); }
.vip-acct-btns { display: flex; gap: 10px; margin-top: 16px; }
.vip-acct-btns .vip-btn { flex: 1; }
.vip-acct-btns .vip-btn--ghost { color: var(--ink-2); border: 1.5px solid var(--line-strong); }
.vip-foot { text-align: center; margin-top: 14px; }

/* admin editors */
.vip-admin { margin: 8px 0 14px; }
.vip-admin summary { cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--blue-deep); background: var(--blue-soft); border: 1px solid var(--sky); border-radius: var(--r-sm); padding: 10px 14px; }
.vip-admin[open] summary { margin-bottom: 10px; }

@media (min-width: 560px) { .vip-cd-unit { min-width: 70px; } }
