/* ══════════════════════════════════════════════════════════════════════════
   nav-v2.css — unified navigation SAMPLE (body.nav-v2).
   One bar for the whole site + a community sub-row + a phone tab bar.
   ══════════════════════════════════════════════════════════════════════════ */

.nav-v2 { --v2-h: 64px; --v2-y: #F0C64A; --v2-line: rgb(255 255 255 / .08); }

/* ── top bar ─────────────────────────────────────────────────────────────── */
.v2Nav {
  position: sticky; top: 0; z-index: 60;
  background: rgb(13 13 15 / .82);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--v2-line);
}
.v2Nav__bar {
  display: flex; align-items: center; gap: 1rem;
  height: var(--v2-h); padding: 0 clamp(1rem, 2.5vw, 2rem);
  max-width: 90rem; margin: 0 auto;
}
.v2Nav__brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; flex: none; }
.v2Nav__brand img { border-radius: 9px; }

/* students / business — a compact segmented pill */
.v2Door { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / .05);
  border: 1px solid var(--v2-line); flex: none; }
.v2Door a { padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  color: rgb(255 255 255 / .55); text-decoration: none; transition: background .2s, color .2s; }
.v2Door a[aria-current] { background: var(--v2-y); color: #17130a; }

/* main links — the active one gets a glowing underline pill */
.v2Links { display: flex; align-items: center; gap: .15rem; margin-left: .5rem; min-width: 0; }
.v2Links a {
  position: relative; padding: .5rem .8rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: rgb(255 255 255 / .72); text-decoration: none;
  transition: color .2s, background .2s;
}
.v2Links a:hover { color: #fff; background: rgb(255 255 255 / .05); }
.v2Links a.is-on { color: #fff; }
.v2Links a.is-on::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .12rem; height: 2px; border-radius: 2px;
  background: var(--v2-y); box-shadow: 0 0 10px rgb(240 198 74 / .7);
}

/* right side */
.v2Act { margin-left: auto; display: flex; align-items: center; gap: .45rem; }
.v2Search {
  display: inline-flex; align-items: center; gap: .5rem; height: 38px; padding: 0 .55rem 0 .8rem;
  border-radius: 999px; border: 1px solid var(--v2-line); background: rgb(255 255 255 / .04);
  color: rgb(255 255 255 / .6); font-size: .85rem; cursor: pointer; transition: border-color .2s;
}
.v2Search:hover { border-color: rgb(240 198 74 / .45); }
.v2Search svg { width: 16px; height: 16px; }
.v2Search kbd { font: 600 .65rem var(--font-mono); padding: .15rem .35rem; border-radius: 6px;
  background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .6); }

.v2Icon {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--v2-line); background: rgb(255 255 255 / .04);
  color: rgb(255 255 255 / .8); cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s;
}
.v2Icon:hover, .v2Icon.is-on { border-color: rgb(240 198 74 / .5); color: var(--v2-y); }
.v2Icon svg { width: 19px; height: 19px; }
.v2Badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: #ff4d6d; color: #fff; font: 700 .62rem/1 var(--font-sans, system-ui);
  border: 2px solid #0d0d0f;
}
.v2Me__btn { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .8rem 0 4px;
  border-radius: 999px; border: 1px solid var(--v2-line); background: rgb(255 255 255 / .04); color: #fff; cursor: pointer; }
.v2Me__pic { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.v2Me__pic--ini { display: grid; place-items: center; background: linear-gradient(135deg, var(--v2-y), #ff8a4c);
  color: #17130a; font-weight: 700; font-size: .8rem; }
.v2Me__name { font-size: .88rem; font-weight: 600; }
.v2Login { color: rgb(255 255 255 / .8); text-decoration: none; font-size: .9rem; padding: .5rem .7rem; }
.v2Join { padding: .55rem 1rem; border-radius: 999px; background: var(--v2-y); color: #17130a;
  font-weight: 700; font-size: .88rem; text-decoration: none; box-shadow: 0 0 18px rgb(240 198 74 / .35); }
.v2Burger { display: none; }

/* ── community sub-row ───────────────────────────────────────────────────── */
.v2Sub { border-top: 1px solid var(--v2-line); }
.v2Sub__in { display: flex; gap: .35rem; max-width: 90rem; margin: 0 auto;
  padding: .45rem clamp(1rem, 2.5vw, 2rem); overflow-x: auto; scrollbar-width: none; }
.v2Sub__in::-webkit-scrollbar { display: none; }
.v2Sub a { position: relative; flex: none; padding: .38rem .9rem; border-radius: 999px; font-size: .84rem;
  color: rgb(255 255 255 / .65); text-decoration: none; border: 1px solid transparent; transition: all .2s; }
.v2Sub a:hover { color: #fff; background: rgb(255 255 255 / .05); }
.v2Sub a.is-on { color: #17130a; background: var(--v2-y); font-weight: 600; }
.v2Sub .v2Badge { position: static; display: inline-grid; margin-left: .35rem; border: 0; }

/* ── phone tab bar ───────────────────────────────────────────────────────── */
.v2Tabs { display: none; }

@media (max-width: 64rem) {
  .v2Links { display: none; }
  .v2Search span, .v2Search kbd { display: none; }
  .v2Search { width: 38px; padding: 0; justify-content: center; }
  .v2Me, .v2Login, .v2Join, .v2Icon--theme, .v2Icon--dm { display: none; }
  .v2Burger { display: inline-grid; }
  .v2Door a { padding: .28rem .6rem; font-size: .72rem; }

  .v2Tabs {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    padding: 6px; border-radius: 22px;
    background: rgb(20 20 24 / .88); border: 1px solid rgb(255 255 255 / .1);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 18px 50px -12px rgb(0 0 0 / .8);
  }
  .v2Tabs > a, .v2Tabs > button {
    position: relative; display: grid; justify-items: center; gap: 3px; padding: 7px 0 5px;
    border: 0; background: none; border-radius: 16px; cursor: pointer;
    color: rgb(255 255 255 / .55); text-decoration: none; font: 600 .62rem/1 var(--font-sans, system-ui);
    transition: color .2s, background .2s;
  }
  .v2Tabs svg { width: 23px; height: 23px; }
  .v2Tabs .is-on { color: var(--v2-y); background: rgb(240 198 74 / .1); }
  .v2Tabs .v2Badge { top: 2px; right: calc(50% - 22px); }
  .v2Tabs__pic { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .v2Tabs__pic--ini { display: grid; place-items: center; background: linear-gradient(135deg, var(--v2-y), #ff8a4c);
    color: #17130a; font-size: .62rem; font-weight: 700; }
  .v2Tabs .is-on .v2Tabs__pic { box-shadow: 0 0 0 2px var(--v2-y); }

  /* room for the floating bar */
  body.nav-v2 { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.nav-v2.yc2-convo { padding-bottom: 0; }
  body.yc2-convo .v2Tabs { display: none; }
}
@media (max-width: 30rem) {
  .v2Door { display: none; }            /* lives in the menu on phones */
  .v2Nav__bar { gap: .5rem; }
  .v2Act { gap: .35rem; }
}

/* ══ v2.1 — pop-up sheets, theme row, door switch ══════════════════════════ */
.v2Search kbd { display: none !important; }            /* no shortcut text */
.v2Sub .v2Sub__sep { width: 1px; margin: .3rem .35rem; background: var(--v2-line); flex: none; }

/* door switch, desktop — arrows make "you can flip this" obvious */
.v2Door a { display: inline-flex; align-items: center; gap: .3rem; }

.v2Veil { display: none; }
.v2Sheet { display: none; }

@media (max-width: 64rem) {
  .v2Veil {
    display: block; position: fixed; inset: 0; z-index: 64; background: rgb(0 0 0 / .55);
    backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .v2Veil.is-open { opacity: 1; pointer-events: auto; }
  html.v2-locked, html.v2-locked body { overflow: hidden; }

  .v2Sheet {
    display: block; position: fixed; left: 10px; right: 10px; z-index: 66;
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-height: min(72vh, 34rem); overflow: auto; overscroll-behavior: contain;
    padding: 1rem 1rem 1.1rem; border-radius: 24px;
    background: rgb(22 22 27 / .97); border: 1px solid rgb(255 255 255 / .1);
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / .9);
    transform: translateY(16px) scale(.98); opacity: 0; pointer-events: none;
    transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .2s;
  }
  .v2Sheet.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .v2Sheet__h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 .8rem; }
  .v2Sheet__h b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; letter-spacing: -.02em; }
  .v2Sheet__x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .08);
    color: #ddd; font-size: 1.1rem; cursor: pointer; }

  .v2Grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .v2Tile {
    position: relative; display: grid; justify-items: center; gap: .45rem; padding: .85rem .3rem .75rem;
    border-radius: 18px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .07);
    color: #fff; text-decoration: none; text-align: center; font-size: .78rem; font-weight: 600;
    transition: background .2s, border-color .2s, transform .2s;
  }
  .v2Tile:active { transform: scale(.97); }
  .v2Tile.is-on { border-color: rgb(240 198 74 / .6); background: rgb(240 198 74 / .1); }
  .v2Tile__i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--a, #8b5cf6), var(--b, #ec4899)); box-shadow: 0 10px 22px -10px var(--a, #8b5cf6); }
  .v2Tile__i svg { width: 22px; height: 22px; }
  .v2Tile small { display: block; font-weight: 500; font-size: .64rem; color: rgb(255 255 255 / .5); margin-top: -.25rem; }
  .v2Tile .v2Badge { top: 6px; right: 10px; }

  /* list rows (You sheet) */
  .v2Who { display: flex; align-items: center; gap: .75rem; padding: .3rem .2rem .9rem; text-decoration: none; color: #fff; }
  .v2Who .v2Me__pic { width: 48px; height: 48px; font-size: 1rem; }
  .v2Who b { display: block; font-size: 1.02rem; } .v2Who i { font-style: normal; font-size: .78rem; color: rgb(255 255 255 / .55); }
  .v2Rows { display: grid; gap: .45rem; margin-top: .7rem; }
  .v2Row {
    display: flex; align-items: center; gap: .75rem; width: 100%; padding: .8rem .9rem; border-radius: 16px;
    background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .07);
    color: #fff; font: 600 .88rem var(--font-sans, system-ui); text-decoration: none; text-align: left; cursor: pointer;
  }
  .v2Row svg { width: 20px; height: 20px; flex: none; color: rgb(255 255 255 / .75); }
  .v2Row span { flex: 1; }
  .v2Row em { font-style: normal; font-size: .75rem; color: rgb(255 255 255 / .5); }
  .v2Row--out { color: #ff7a8a; }

  /* the theme switch row — a real toggle look; site.js flips the theme */
  .v2Toggle { width: 44px; height: 26px; border-radius: 999px; background: rgb(255 255 255 / .15); position: relative; flex: none; transition: background .2s; }
  .v2Toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
  html:not(.theme-light) .v2Toggle { background: var(--v2-y); }
  html:not(.theme-light) .v2Toggle::after { transform: translateX(18px); }

  /* the big door switch card, top of every sheet */
  .v2Switch {
    display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; padding: .75rem .9rem; border-radius: 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(120deg, rgb(240 198 74 / .18), rgb(139 92 246 / .18));
    border: 1px solid rgb(240 198 74 / .35);
  }
  .v2Switch svg { width: 22px; height: 22px; color: var(--v2-y); flex: none; }
  .v2Switch span { flex: 1; font-size: .86rem; } .v2Switch b { display: block; font-size: .95rem; }
  .v2Switch em { font-style: normal; font-size: .72rem; color: rgb(255 255 255 / .6); }

  /* tab that has a sheet: tiny caret so it reads as "more inside" */
  .v2Tabs [data-v2-open] > span:last-child::after { content: ' ▴'; font-size: .55rem; opacity: .6; }
  .v2Tabs .is-open { color: var(--v2-y); background: rgb(240 198 74 / .14); }

  /* phone top bar: compact door switch chip */
  .v2DoorChip { display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .7rem; border-radius: 999px;
    border: 1px solid rgb(240 198 74 / .4); color: var(--v2-y); font: 700 .7rem var(--font-sans, system-ui); text-decoration: none; }
  .v2DoorChip svg { width: 14px; height: 14px; }
}
@media (min-width: 64.01rem) { .v2DoorChip { display: none; } }
.v2Biz { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; margin-left: .2rem; padding: .15rem .4rem;
  border-radius: 6px; background: linear-gradient(135deg, #8b5cf6, #06b6d4); color: #fff; vertical-align: middle; }
.v2Nav--biz .v2Links a.is-on::after { background: linear-gradient(90deg, #8b5cf6, #06b6d4); box-shadow: 0 0 10px rgb(139 92 246 / .7); }
.v2Nav--biz .v2Door a[aria-current] { background: linear-gradient(135deg, #8b5cf6, #06b6d4); color: #fff; }
@media (max-width: 64rem) {
  .v2Tabs--biz .is-on, .v2Tabs--biz .is-open { color: #a78bfa; background: rgb(139 92 246 / .14); }
  .v2Nav--biz .v2DoorChip { border-color: rgb(240 198 74 / .4); }
}
@media (max-width: 30rem) { .v2Search { display: none; } .v2Nav--biz .v2Search { display: inline-grid; } }
/* above any page widget (e.g. the Yuna guide card) */
@media (max-width: 64rem) {
  .v2Tabs { z-index: 9000; }
  .v2Veil { z-index: 9001; }
  .v2Sheet { z-index: 9002; }
}
/* one door control at a time: the pill when there is room, the chip on phones */
.v2DoorChip { display: none !important; }
@media (max-width: 30rem) { .v2DoorChip { display: inline-flex !important; } }
@media (max-width: 64rem) { .v2Tabs { z-index: 9003; } }

/* ── no overlap at any desktop width ──────────────────────────────────────
   The right-hand cluster never shrinks; the links take what is left and
   tighten in steps instead of sliding under the search pill. */
.v2Act { flex: none; }
.v2Links { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.v2Links a { white-space: nowrap; flex: none; }
@media (max-width: 84rem) and (min-width: 64.01rem) {
  .v2Search { width: 38px; padding: 0; justify-content: center; }
  .v2Search span { display: none; }
}
@media (max-width: 82rem) and (min-width: 64.01rem) {
  .v2Me__name { display: none; }
  .v2Me__btn { padding-right: 4px; }
  .v2Links { margin-left: .25rem; gap: 0; }
  .v2Links a { padding: .5rem .6rem; font-size: .88rem; }
  .v2Links a.is-on::after { left: .6rem; right: .6rem; }
}
@media (max-width: 74rem) and (min-width: 64.01rem) {
  .v2Door { display: none; }
  .v2DoorChip { display: inline-flex !important; }
  .v2Nav__brand span { display: none; }
}

/* the door chip is styled everywhere it can appear (it is only SHOWN on
   phones and narrow laptops) */
.v2DoorChip { align-items: center; gap: .3rem; height: 34px; padding: 0 .75rem; border-radius: 999px;
  border: 1px solid rgb(240 198 74 / .45); background: rgb(240 198 74 / .08); color: #F0C64A;
  font: 700 .74rem var(--font-sans, system-ui); text-decoration: none; white-space: nowrap; }
.v2DoorChip svg { width: 14px; height: 14px; }
.v2DoorChip:hover { background: rgb(240 198 74 / .16); }

/* ── signed-out visitor: make "create an account" the obvious next step ─── */
.v2Join { transition: transform .2s, box-shadow .2s; }
.v2Join:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgb(240 198 74 / .55); }
.v2Login:hover { color: #fff; }
.v2JoinM { display: none; }
@media (max-width: 64rem) {
  .v2JoinM { display: inline-flex; align-items: center; height: 34px; padding: 0 .9rem; border-radius: 999px;
    background: #F0C64A; color: #17130a; font: 800 .78rem var(--font-sans, system-ui); text-decoration: none;
    box-shadow: 0 0 16px rgb(240 198 74 / .4); white-space: nowrap; }
  .v2Tabs .v2Tabs__join { color: #17130a; }
  .v2Tabs .v2Tabs__join svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #F0C64A;
    margin-top: -14px; box-shadow: 0 6px 18px -4px rgb(240 198 74 / .7), 0 0 0 4px rgb(20 20 24); color: #17130a; }
  .v2Tabs .v2Tabs__join span { color: #F0C64A; }
  .v2Tabs .v2Tabs__join > span:last-child::after { content: none; }
  .v2Tabs .v2Tabs__join.is-open { background: none; }

  .v2JoinCard { padding: 1.1rem 1rem 1rem; margin-bottom: .8rem; border-radius: 20px; text-align: center;
    background: radial-gradient(120% 120% at 50% 0%, rgb(240 198 74 / .22), transparent 60%), rgb(255 255 255 / .03);
    border: 1px solid rgb(240 198 74 / .3); }
  .v2JoinCard__t { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
  .v2JoinCard__s { margin: .3rem 0 .8rem; font-size: .82rem; color: rgb(255 255 255 / .6); }
  .v2JoinCard ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; text-align: left; }
  .v2JoinCard li { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: rgb(255 255 255 / .85); }
  .v2JoinCard li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgb(52 211 153 / .18); color: #34d399; flex: none; }
  .v2JoinCard__go { display: block; padding: .85rem; border-radius: 14px; background: #F0C64A; color: #17130a;
    font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 28px -10px rgb(240 198 74 / .8); }
  .v2JoinCard__in { display: block; margin-top: .7rem; font-size: .8rem; color: rgb(255 255 255 / .65); text-decoration: none; }
  .v2JoinCard__in b { color: #F0C64A; }
}
@media (max-width: 30rem) { .v2JoinM { height: 32px; padding: 0 .75rem; font-size: .72rem; } }

/* ── v2.2 desktop: brand + door left, links dead-centre, actions right ──── */
.v2Left { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.v2Door i { font-style: normal; }
@media (min-width: 64.01rem) {
  .v2Nav__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; }
  .v2Left { justify-self: start; }
  .v2Links { justify-self: center; margin: 0; overflow: visible; }
  .v2Act { justify-self: end; margin: 0; }
  /* the brand name and the door pill stay at every desktop width */
  .v2Nav__brand span { display: inline !important; }
  .v2Door { display: inline-flex !important; }
  .v2DoorChip { display: none !important; }
  /* door pill like the live site: "For Students / For Businesses" */
  .v2Door a { padding: .38rem .9rem; font-size: .8rem; }
}
@media (max-width: 86rem) and (min-width: 64.01rem) { .v2Door i { display: none; } }   /* Students / Business */
@media (max-width: 78rem) and (min-width: 64.01rem) {
  .v2Links a { padding: .5rem .5rem; font-size: .86rem; }
  .v2Links a.is-on::after { left: .5rem; right: .5rem; }
  .v2Door a { padding: .34rem .65rem; font-size: .75rem; }
  .v2Act { gap: .35rem; }
}
.v2Door a { gap: 0 !important; }                 /* "For Businesses", no stray gap */
/* Business: "Ycotes AI" — AI as highlighted gold text, no badge */
.v2Biz {
  background: linear-gradient(180deg, #FFE08A, #F0C64A 55%, #D9A520) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  padding: 0 !important; border-radius: 0 !important; margin-left: .15rem !important;
  font: inherit !important; font-weight: 700 !important; letter-spacing: -.02em !important; vertical-align: baseline !important;
  text-shadow: 0 0 18px rgb(240 198 74 / .35);
}

/* ── v2.3 — one colour scheme (Ycotes yellow) for Students AND Business ── */
.v2Nav--biz .v2Links a.is-on::after,
.v2Links a.is-on::after { background: #F0C64A !important; box-shadow: 0 0 10px rgb(240 198 74 / .7) !important; }
.v2Door a[aria-current] { background: #F0C64A !important; color: #17130a !important; }
@media (max-width: 64rem) {
  .v2Tabs .is-on, .v2Tabs .is-open { color: #F0C64A !important; background: rgb(240 198 74 / .12) !important; }
}
/* buttons on yellow keep dark text on hover (global a:hover recolours links) */
.v2Join, .v2Join:hover, .v2Join:focus-visible,
.v2JoinM, .v2JoinM:hover,
.v2JoinCard__go, .v2JoinCard__go:hover,
.v2Door a[aria-current]:hover { color: #17130a !important; }
.v2Join:hover { background: #ffd45e; }
.v2Links a:hover, .v2Sub a:hover:not(.is-on) { color: #fff; }
.v2Sub a.is-on:hover { color: #17130a; }
.v2Tile:hover, .v2Row:hover, .v2Who:hover, .v2Switch:hover { color: #fff; }

/* ── phones: lift the page's floating widgets above the tab bar ─────────── */
@media (max-width: 64rem) {
  body.nav-v2:not(.yc2-convo) :is(.nsBot, .nsBot__panel, .nsTimer, .aixReplay, .crxReplay, .pkReplay,
    .yrRail, .ycInst, .ycPush, .cmxToasts, .crlDock, .peToast, .rmToast, .stkToast, .ycInst__toast) {
    margin-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

/* ══ LIGHT THEME (html.theme-light) ═══════════════════════════════════════ */
.theme-light .nav-v2, .theme-light body.nav-v2 { --v2-line: rgb(22 22 26 / .1); }
.theme-light .v2Nav { background: rgb(255 253 247 / .86); border-bottom-color: rgb(22 22 26 / .08); }
.theme-light .v2Nav__brand { color: #16161A; }
.theme-light .v2Door { background: rgb(22 22 26 / .04); border-color: rgb(22 22 26 / .1); }
.theme-light .v2Door a { color: rgb(22 22 26 / .55); }
.theme-light .v2Links a { color: rgb(22 22 26 / .68); }
.theme-light .v2Links a:hover { color: #16161A; background: rgb(22 22 26 / .05); }
.theme-light .v2Links a.is-on { color: #16161A; }
.theme-light .v2Links a.is-on::after { background: #D9A520 !important; box-shadow: none !important; }
.theme-light .v2Search { background: rgb(22 22 26 / .04); border-color: rgb(22 22 26 / .12); color: rgb(22 22 26 / .6); }
.theme-light .v2Icon { background: rgb(22 22 26 / .04); border-color: rgb(22 22 26 / .12); color: rgb(22 22 26 / .75); }
.theme-light .v2Icon:hover, .theme-light .v2Icon.is-on { color: #8A6100; border-color: rgb(217 165 32 / .6); }
.theme-light .v2Badge { border-color: #FFFDF7; }
.theme-light .v2Me__btn { background: rgb(22 22 26 / .04); border-color: rgb(22 22 26 / .12); color: #16161A; }
.theme-light .v2Login { color: rgb(22 22 26 / .75); }
.theme-light .v2Login:hover { color: #16161A; }
.theme-light .v2Join, .theme-light .v2JoinM { box-shadow: 0 4px 14px -4px rgb(217 165 32 / .6); }
.theme-light .v2DoorChip { color: #8A6100; border-color: rgb(217 165 32 / .55); background: rgb(240 198 74 / .12); }
.theme-light .v2Biz { text-shadow: none; background: linear-gradient(180deg, #E0A800, #B8860B) !important;
  -webkit-background-clip: text !important; background-clip: text !important; }
.theme-light .v2Sub { border-top-color: rgb(22 22 26 / .08); }
.theme-light .v2Sub a { color: rgb(22 22 26 / .62); }
.theme-light .v2Sub a:hover:not(.is-on) { color: #16161A; background: rgb(22 22 26 / .05); }
.theme-light .v2Sub .v2Sub__sep { background: rgb(22 22 26 / .12); }

@media (max-width: 64rem) {
  .theme-light .v2Tabs { background: rgb(255 255 255 / .92); border-color: rgb(22 22 26 / .1);
    box-shadow: 0 16px 40px -14px rgb(22 22 26 / .35); }
  .theme-light .v2Tabs > a, .theme-light .v2Tabs > button { color: rgb(22 22 26 / .55); }
  .theme-light .v2Tabs .is-on, .theme-light .v2Tabs .is-open { color: #8A6100 !important; background: rgb(240 198 74 / .18) !important; }
  .theme-light .v2Tabs .v2Tabs__join span { color: #8A6100; }
  .theme-light .v2Tabs .v2Tabs__join svg { box-shadow: 0 6px 18px -4px rgb(217 165 32 / .7), 0 0 0 4px #fff; }
  .theme-light .v2Veil { background: rgb(22 22 26 / .35); }
  .theme-light .v2Sheet { background: rgb(255 255 255 / .98); border-color: rgb(22 22 26 / .08); box-shadow: 0 30px 70px -20px rgb(22 22 26 / .4); }
  .theme-light .v2Sheet__h b { color: #16161A; }
  .theme-light .v2Sheet__x { background: rgb(22 22 26 / .06); color: #333; }
  .theme-light .v2Tile { background: rgb(22 22 26 / .03); border-color: rgb(22 22 26 / .07); color: #16161A; }
  .theme-light .v2Tile:hover { color: #16161A; }
  .theme-light .v2Tile small { color: rgb(22 22 26 / .5); }
  .theme-light .v2Tile.is-on { background: rgb(240 198 74 / .16); border-color: rgb(217 165 32 / .6); }
  .theme-light .v2Who, .theme-light .v2Who:hover { color: #16161A; }
  .theme-light .v2Who i { color: rgb(22 22 26 / .55); }
  .theme-light .v2Row { background: rgb(22 22 26 / .03); border-color: rgb(22 22 26 / .07); color: #16161A; }
  .theme-light .v2Row:hover { color: #16161A; }
  .theme-light .v2Row svg { color: rgb(22 22 26 / .65); }
  .theme-light .v2Row--out, .theme-light .v2Row--out:hover { color: #d43a52; }
  .theme-light .v2Switch, .theme-light .v2Switch:hover { color: #16161A; background: linear-gradient(120deg, rgb(240 198 74 / .22), rgb(240 198 74 / .08)); }
  .theme-light .v2Switch svg { color: #8A6100; }
  .theme-light .v2Switch em { color: rgb(22 22 26 / .55); }
  .theme-light .v2Toggle { background: rgb(22 22 26 / .18); }
  .theme-light .v2JoinCard { background: radial-gradient(120% 120% at 50% 0%, rgb(240 198 74 / .25), transparent 60%), #fff; }
  .theme-light .v2JoinCard__t { color: #16161A; }
  .theme-light .v2JoinCard__s, .theme-light .v2JoinCard__in { color: rgb(22 22 26 / .6); }
  .theme-light .v2JoinCard li { color: rgb(22 22 26 / .85); }
  .theme-light .v2JoinCard__in b { color: #8A6100; }
}
