
      :root {
        color-scheme: light dark;
        --page: #111417;
        --surface: #191d21;
        --surface-raised: #20252a;
        --text: #f4f5f6;
        --muted: #b6bdc4;
        --line: #343a40;
        --accent: #ff4d64;
        --accent-strong: #e83c53;
        --accent-ink: #170407;
        --link: #65d7dc;
        --focus: #fff2a6;
        --shadow: rgba(0, 0, 0, 0.38);
      }

      @media (prefers-color-scheme: dark) {
        :root {
          --page: #0b0d0f;
          --surface: #14181b;
          --surface-raised: #1b2024;
          --text: #f7f8f8;
          --muted: #b9c0c5;
          --line: #30373c;
          --accent: #ff536a;
          --accent-strong: #f0435a;
          --accent-ink: #180407;
          --link: #6fdee2;
          --focus: #fff2a6;
          --shadow: rgba(0, 0, 0, 0.5);
        }
      }

      * { box-sizing: border-box; }
      html { min-height: 100%; }

      body {
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        overflow-x: hidden;
        background: var(--page);
        color: var(--text);
        font-family: "IBM Plex Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background:
          linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.022) 50%, transparent 50.1%),
          repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.018) 47px, transparent 48px);
      }

      main {
        position: relative;
        z-index: 1;
        min-height: 100vh;
        min-height: 100dvh;
        display: grid;
        place-items: center;
        padding: clamp(18px, 5vw, 64px);
      }

      .panel {
        width: min(780px, 100%);
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: 0 24px 70px var(--shadow);
      }

      .gate-body {
        display: grid;
        grid-template-columns: 168px minmax(0, 1fr);
      }

      .age-mark {
        display: grid;
        place-items: center;
        padding: 20px 16px;
        border-right: 1px solid var(--line);
        background: var(--surface-raised);
      }

      .age-mark span {
        color: var(--accent);
        font-size: clamp(4rem, 9vw, 6rem);
        font-weight: 800;
        letter-spacing: -.06em;
        line-height: .82;
        white-space: nowrap;
        text-shadow: 4px 4px 0 rgba(0,0,0,.28);
      }

      .hero {
        padding: clamp(30px, 6vw, 58px);
      }

      .rule {
        width: 48px;
        height: 4px;
        margin-bottom: 22px;
        background: var(--accent);
      }

      h1 {
        max-width: 13ch;
        margin: 0;
        font-size: clamp(2.2rem, 6vw, 3.65rem);
        line-height: .98;
        letter-spacing: -.035em;
      }

      .value-prop {
        max-width: 48ch;
        margin: 18px 0 0;
        color: var(--muted);
        font-size: clamp(1rem, 2vw, 1.12rem);
        line-height: 1.55;
      }

      .community-feature {
        margin-top: 26px;
        padding: 20px 0 19px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      .community-feature h2 {
        margin: 0;
        color: var(--text);
        font-size: clamp(1.28rem, 3vw, 1.65rem);
        line-height: 1.15;
        letter-spacing: -.015em;
      }

      .community-feature h2 strong {
        color: var(--link);
        font-weight: 800;
      }

      .community-intro,
      .community-note {
        max-width: 54ch;
        color: var(--muted);
        line-height: 1.48;
      }

      .community-intro {
        margin: 9px 0 0;
        font-size: .96rem;
      }

      .community-counts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 16px 0 0;
        padding: 0;
        list-style: none;
      }

      .community-counts li {
        padding: 0 12px;
        border-left: 1px solid var(--line);
        color: var(--muted);
        font-size: .78rem;
        line-height: 1.35;
      }

      .community-counts li:first-child {
        padding-left: 0;
        border-left: 0;
      }

      .community-counts strong,
      .community-counts span {
        display: block;
      }

      .community-counts strong {
        color: var(--text);
        font-size: .94rem;
      }

      .community-counts span:first-of-type {
        margin-top: 3px;
        color: var(--link);
        font-size: 1.32rem;
        font-weight: 800;
        line-height: 1;
      }

      .community-counts span:last-child {
        margin-top: 3px;
      }

      .community-note {
        margin: 15px 0 0;
        font-size: .86rem;
      }

      .community-note strong { color: var(--text); }

      .benefits {
        display: grid;
        gap: 10px;
        margin: 26px 0 0;
        padding: 0;
        list-style: none;
      }

      .benefits li {
        display: grid;
        grid-template-columns: 12px minmax(0, 1fr);
        gap: 12px;
        color: var(--text);
        line-height: 1.45;
      }

      .benefits li::before {
        content: "";
        width: 7px;
        height: 7px;
        margin-top: .5em;
        background: var(--link);
      }

      .actions {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-top: 32px;
      }

      button,
      .exit-link,
      .destination-link {
        font: inherit;
      }

      button {
        appearance: none;
        min-height: 54px;
        border: 0;
        border-radius: 2px;
        padding: 14px 24px;
        background: var(--accent);
        color: var(--accent-ink);
        font-weight: 700;
        cursor: pointer;
        transition: background-color 160ms ease, transform 160ms ease;
      }

      button:hover { background: var(--accent-strong); }
      button:active { transform: translateY(1px); }

      .exit-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 4px;
        color: var(--muted);
        font-weight: 500;
        text-decoration-color: var(--line);
        text-underline-offset: 5px;
      }

      .exit-link:hover { color: var(--text); }

      .destination-menu {
        position: relative;
        isolation: isolate;
        display: none;
        min-height: clamp(480px, 72vh, 720px);
        overflow: hidden;
        border-top: 1px solid var(--line);
        background: var(--surface-raised);
      }

      .destination-menu::before,
      .destination-menu::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
      }

      .destination-menu::before {
        z-index: 0;
        background: var(--surface-raised);
      }

      .destination-menu::after {
        z-index: 1;
        background: none;
      }

      .destination-menu.is-visible { display: block; }

      .destination-menu-label {
        margin: 0;
        padding: 8px 14px;
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: .76rem;
        font-weight: 600;
      }

      .quick-start-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 52px;
        padding: 9px 14px;
        border-bottom: 1px solid var(--line);
        background: var(--accent);
        color: var(--accent-ink);
        text-decoration: none;
        transition: background-color 160ms ease;
      }

      .quick-start-link:hover { background: var(--accent-strong); }

      .quick-start-copy {
        display: grid;
        gap: 2px;
      }

      .quick-start-copy strong {
        font-size: 1rem;
        line-height: 1.1;
      }

      .quick-start-copy span {
        font-size: .76rem;
        font-weight: 700;
        line-height: 1.25;
      }

      .quick-start-link::after {
        content: "→";
        flex: none;
        font-size: 1.18rem;
        font-weight: 800;
      }

      .guide-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 40px;
        padding: 7px 14px;
        border-bottom: 1px solid var(--line);
        color: var(--text);
        text-decoration: none;
        transition: background-color 160ms ease;
      }

      .guide-link:hover { background: var(--surface); }

      .guide-copy {
        display: grid;
        gap: 1px;
      }

      .guide-copy strong {
        font-size: .86rem;
        line-height: 1.15;
      }

      .guide-copy span {
        color: var(--muted);
        font-size: .7rem;
        font-weight: 500;
      }

      .guide-link::after {
        content: "→";
        flex: none;
        color: var(--link);
        font-size: 1rem;
      }

      .destination-secondary-label {
        margin: 0;
        padding: 7px 14px;
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: .72rem;
        font-weight: 600;
      }


      .destination-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 38px;
        padding: 7px 10px;
        border: 1px solid var(--line);
        background: rgba(20, 24, 27, .9);
        color: var(--text);
        font-size: .78rem;
        font-weight: 600;
        line-height: 1.15;
        text-decoration: none;
        transition: background-color 160ms ease;
      }

      .destination-link::after {
        content: "→";
        flex: none;
        color: var(--link);
        font-size: .9rem;
      }

      .destination-link:hover { background: var(--surface); }

      .destination-trigger {
        width: 100%;
        border: 0;
        border-radius: 0;
        background: transparent;
        text-align: left;
      }

      .destination-trigger:hover { background: var(--surface); }
      .destination-trigger:active { transform: none; }

      /* App button glow: the app's cyan pulsing glow (listViewGlowPulse),
         not the old pink static halo. Cyan #63c2c8, the app's focus color
         (the gate's own --focus is pale yellow, so the cyan is literal here).
         Border + pulsing box-shadow; text, size, position, function unchanged. */
      @keyframes listViewGlowPulse {
        0%, 100% { box-shadow: 0 0 4px 1px rgba(99, 194, 200, .30); }
        50% { box-shadow: 0 0 0 3px rgba(99, 194, 200, .45), 0 0 18px 6px rgba(99, 194, 200, .65); }
      }
      #appViewTrigger {
        border-color: #63c2c8;
        animation: listViewGlowPulse 1.6s ease-in-out infinite;
      }
      @media (prefers-reduced-motion: reduce) {
        #appViewTrigger { animation: none; box-shadow: 0 0 0 1px #63c2c8, 0 0 12px 2px rgba(99, 194, 200, .45); }
      }

      .gate.is-confirmed .gate-body { display: none; }

      .gate.is-confirmed {
        width: min(980px, 100%);
      }

      .destination-header {
        position: relative;
        z-index: 2;
        padding: 10px;
        background: rgba(11, 13, 15, .9);
      }

      .destination-header-actions {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        gap: 6px;
      }

      .destination-header .quick-start-link,
      .destination-header .guide-link {
        min-height: 38px;
        padding: 7px 10px;
        border: 1px solid var(--line);
      }

      .destination-header .quick-start-copy span,
      .destination-header .guide-copy span {
        display: none;
      }

      .destination-header .quick-start-copy strong,
      .destination-header .guide-copy strong {
        font-size: .78rem;
      }

      .privacy-model {
        padding: 24px clamp(24px, 5vw, 44px) 26px;
        border-top: 1px solid var(--line);
      }

      .privacy-model h2 {
        margin: 0;
        font-size: 1.35rem;
        line-height: 1.15;
      }

      .privacy-intro {
        max-width: 62ch;
        margin: 7px 0 0;
        color: var(--muted);
        font-size: .92rem;
        line-height: 1.5;
      }

      .privacy-groups {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        margin-top: 18px;
      }

      .privacy-group h3 {
        margin: 0 0 7px;
        color: var(--link);
        font-size: .92rem;
        line-height: 1.3;
      }

      .privacy-group p {
        margin: 0;
        color: var(--muted);
        font-size: .82rem;
        line-height: 1.5;
      }

      .privacy-group p + p { margin-top: 7px; }
      .privacy-group strong { color: var(--text); }

      :focus-visible {
        outline: 3px solid var(--focus);
        outline-offset: 4px;
      }

      @media (max-width: 600px) {
        main { padding: 14px; }

        .gate-body {
          grid-template-columns: 1fr;
        }

        .age-mark {
          min-height: 108px;
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }

        .age-mark span {
          font-size: 4.6rem;
        }

        .hero {
          padding: 28px 24px 30px;
        }

        h1 {
          max-width: 12ch;
          font-size: clamp(2.1rem, 11vw, 3rem);
        }

        .value-prop { margin-top: 14px; }
        .benefits { margin-top: 22px; }

        .actions {
          align-items: stretch;
          flex-direction: column;
          gap: 8px;
          margin-top: 26px;
        }

        button,
        .exit-link {
          justify-content: center;
          width: 100%;
          text-align: center;
        }

        .destination-menu { min-height: 70vh; }
        .destination-header-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .destination-header-actions > :first-child { grid-column: 1 / -1; }

        .privacy-model { padding: 22px 24px 24px; }
        .privacy-groups { grid-template-columns: 1fr; gap: 16px; }
      }


      /* Centered gate window */
      body {
        background:
          radial-gradient(circle at 50% 16%, rgba(255, 255, 255, .045), transparent 34rem),
          var(--page);
      }

      body::before { display: none; }

      main {
        padding: clamp(14px, 4vw, 52px);
      }

      .panel {
        width: min(960px, 100%);
        overflow: hidden;
        border-color: #3a4147;
        border-radius: 18px;
        background: var(--surface);
        box-shadow: 0 28px 90px rgba(0, 0, 0, .52);
      }

      .gate-body {
        grid-template-columns: minmax(330px, .9fr) minmax(420px, 1.1fr);
        min-height: 510px;
      }

      .concept-graphic {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        margin: 0;
        padding: 26px 24px 24px;
        overflow: hidden;
        border-right: 1px solid var(--line);
        background: #101417;
      }

      .concept-graphic::before {
        content: "";
        position: absolute;
        inset: 13% 8% auto;
        height: 62%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 116, 90, .08), transparent 69%);
        pointer-events: none;
      }

      .mind-map-art {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: auto;
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .34));
      }

      .branch {
        stroke-width: 4;
        opacity: .82;
      }

      .branch.connect { stroke: #ff6f68; }
      .branch.explore { stroke: #f5b84d; }
      .branch.restore { stroke: #54c7bc; }
      .branch.create { stroke: #df6585; }

      .concept-nodes rect {
        stroke-width: 1.5;
      }

      .concept-nodes text {
        fill: #fff8f3;
        font-family: "IBM Plex Sans", sans-serif;
        font-size: 10px;
        font-weight: 700;
        text-anchor: middle;
        letter-spacing: .04em;
      }

      .concept-center rect {
        fill: #20262a;
        stroke: #ff8a62;
        stroke-width: 2;
      }

      .concept-center text {
        font-size: 13px;
        font-weight: 800;
      }

      .connect-node rect, .connect-leaf rect { fill: #432426; stroke: #ff6f68; }
      .explore-node rect, .explore-leaf rect { fill: #3d3220; stroke: #f5b84d; }
      .restore-node rect, .restore-leaf rect { fill: #183633; stroke: #54c7bc; }
      .create-node rect, .create-leaf rect { fill: #3b2330; stroke: #df6585; }

      .concept-leaf text {
        font-size: 8.2px;
        font-weight: 600;
        letter-spacing: 0;
      }

      .graphic-caption {
        position: relative;
        z-index: 1;
        max-width: 42ch;
        margin: -3px auto 0;
        color: var(--muted);
        font-size: .78rem;
        line-height: 1.45;
        text-align: center;
      }

      .graphic-caption strong {
        display: block;
        margin-bottom: 2px;
        color: var(--text);
        font-size: .86rem;
      }

      .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(38px, 6vw, 66px);
      }

      .gate-kicker {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
        color: var(--muted);
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .045em;
        text-transform: uppercase;
      }

      .age-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        height: 30px;
        border: 1px solid rgba(255, 83, 106, .6);
        border-radius: 15px;
        background: rgba(255, 83, 106, .1);
        color: var(--accent);
        font-size: .9rem;
        font-weight: 800;
        letter-spacing: 0;
      }

      .hero h1 {
        max-width: 10ch;
        font-size: clamp(2.6rem, 5.5vw, 4.65rem);
        line-height: .95;
        letter-spacing: -.045em;
      }

      .value-prop {
        max-width: 45ch;
        margin-top: 23px;
        color: #c7cdd1;
        font-size: 1rem;
        line-height: 1.58;
      }

      .age-copy {
        margin: 24px 0 0;
        padding-top: 17px;
        border-top: 1px solid var(--line);
        color: var(--muted);
        font-size: .85rem;
        line-height: 1.45;
      }

      .actions {
        gap: 16px;
        margin-top: 20px;
      }

      .actions button {
        min-height: 50px;
        padding-inline: 20px;
      }

      .gate.is-confirmed {
        width: min(960px, 100%);
      }

      .destination-menu {
        min-height: 0;
        border-top: 0;
        background: var(--surface-raised);
      }

      .destination-menu::before,
      .destination-menu::after {
        display: none;
      }

      .destination-header {
        padding: 22px;
        background: var(--surface-raised);
      }

      .destination-menu-label {
        padding: 0 0 12px;
        border-bottom: 0;
        color: var(--text);
        font-size: .82rem;
      }

      @media (max-width: 760px) {
        main { align-items: start; padding: 12px; }

        .panel { border-radius: 14px; }

        .gate-body {
          grid-template-columns: 1fr;
          min-height: 0;
        }

        .concept-graphic {
          min-height: 0;
          padding: 14px 18px 16px;
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }

        .mind-map-art {
          width: min(100%, 420px);
          max-height: 250px;
          margin-inline: auto;
        }

        .graphic-caption {
          max-width: 48ch;
          margin-top: -5px;
        }

        .hero {
          padding: 28px 24px 30px;
        }

        .gate-kicker { margin-bottom: 19px; }

        .hero h1 {
          max-width: 11ch;
          font-size: clamp(2.45rem, 11.5vw, 3.6rem);
        }

        .value-prop { margin-top: 17px; }
        .age-copy { margin-top: 19px; }
        .actions { margin-top: 17px; }
      }

      @media (max-width: 420px) {
        .concept-graphic { padding-inline: 8px; }
        .mind-map-art { max-height: 218px; }
        .graphic-caption { padding-inline: 10px; }
        .hero { padding: 25px 20px 26px; }
        .hero h1 { font-size: 2.65rem; }
      }

      /* Destination hero image (the unrated sync map) */
      .destination-menu {
        min-height: clamp(320px, 46vh, 480px);
      }

      .destination-menu::after {
        display: block;
        background: none center 42% / cover no-repeat;
        opacity: .5;
      }

      .destination-header {
        background: rgba(13, 16, 18, .88);
      }


      /* App view pull-down: anchored to the "App" button in the
         destination banner, drops down from it (same menu styling,
         opening downward instead of up). */
      .app-view-group { position: relative; }

      .app-view-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        z-index: 40;
        min-width: 216px;
        max-width: calc(100vw - 24px);
        margin: 0;
        padding: 6px;
        list-style: none;
        text-align: left;
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: 0 18px 50px var(--shadow);
      }

      .app-view-menu[hidden] { display: none; }

      .app-view-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 10px;
        color: var(--text);
        font-size: .85rem;
        font-weight: 600;
        line-height: 1.25;
        text-decoration: none;
        white-space: nowrap;
      }

      .app-view-menu a::after {
        content: "→";
        flex: none;
        color: var(--link);
      }

      .app-view-menu a:hover { background: var(--surface-raised); }

      /* Divider between the view links and the footer links (Examples,
         Privacy, Contact, Sitemap) folded in from the removed footer. */
      .app-view-menu-divider {
        margin: 6px 4px;
        border-top: 1px solid var(--line);
      }

      /* Hot List: teal glowing pulsing (ruled 2026-11-13, Jason) — the
         old red outline (var(--accent) ring + rgba(255,77,100) glow) is
         gone; same cyan pulse as the App button (#63c2c8, 1.6s). */
      .app-view-menu a.app-view-menu-primary {
        background: transparent;
        color: var(--text);
        border: 1px solid #63c2c8;
        box-shadow: 0 0 14px 1px rgba(99, 194, 200, .45);
        animation: listViewGlowPulse 1.6s ease-in-out infinite;
      }

      .app-view-menu a.app-view-menu-primary::after { color: var(--link); }

      .app-view-menu a.app-view-menu-primary:hover {
        background: var(--surface-raised);
        color: var(--text);
        box-shadow: 0 0 0 1px #63c2c8, 0 0 18px 2px rgba(99, 194, 200, .55);
      }

      @media (prefers-reduced-motion: reduce) {
        .app-view-menu a.app-view-menu-primary { animation: none; box-shadow: 0 0 0 1px #63c2c8, 0 0 12px 2px rgba(99, 194, 200, .45); }
      }

      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
          scroll-behavior: auto !important;
          transition-duration: .01ms !important;
        }
      }

      /* Full-screen map window: the whole sync map, zoomed out and fitted
         inside a frame set slightly in from the viewport edges, behind
         the age-verification panel. `contain` keeps the full map visible
         at the largest size the frame allows — nothing cropped. The
         frame's black interior matches the map image's own black
         background, so the fit blends seamlessly at any aspect ratio. */
      body::after {
        content: "";
        position: fixed;
        inset: clamp(8px, 1.8vmin, 20px);
        z-index: 0;
        border: 1px solid #2e353c;
        border-radius: 16px;
        background-color: #000;
        background-image:
          linear-gradient(rgba(4, 5, 6, .2), rgba(4, 5, 6, .2)),
          none;
        background-position: center, center;
        background-size: auto, contain;
        background-repeat: no-repeat;
        box-shadow:
          0 24px 70px rgba(0, 0, 0, .5),
          inset 0 0 90px rgba(0, 0, 0, .5);
        pointer-events: none;
      }

      /* Full-screen gate layout: a title bar across the top, the unrated
         sample map fully contained in the stage below the header.
         Header and stage sit in normal flow and never overlap; the map
         uses `contain`, so the whole image stays visible inside the stage
         at any viewport size. The gate panel floats centered in the stage. */
      body {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
      }

      body::after { display: none !important; }

      .site-header {
        flex: 0 0 auto;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px clamp(16px, 4vw, 28px);
        border-bottom: 1px solid var(--line);
        background: var(--surface);
      }

      .site-title {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -.02em;
        line-height: 1;
      }

      .site-header-note {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0;
        color: var(--muted);
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .045em;
        text-transform: uppercase;
      }

      .site-header .age-badge {
        min-width: 44px;
        height: 26px;
        font-size: .82rem;
      }

      main {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        align-items: center;
        padding: clamp(10px, 2.2vmin, 26px);
      }

      .map-stage {
        display: none !important;
        position: absolute;
        inset: clamp(6px, 1.2vmin, 14px);
        border: 1px solid #2e353c;
        border-radius: 14px;
        background-color: #000;
        background-image:
          linear-gradient(rgba(4, 5, 6, .2), rgba(4, 5, 6, .2)),
          none;
        background-position: center, center;
        background-size: auto, contain;
        background-repeat: no-repeat;
        box-shadow:
          0 24px 70px rgba(0, 0, 0, .5),
          inset 0 0 90px rgba(0, 0, 0, .5);
        pointer-events: none;
      }

      .panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-height: 100%;
      }

      .gate-body {
        flex: 1 1 auto;
        min-height: 0;
      }

      .concept-graphic { min-height: 0; }

      .hero {
        min-height: 0;
        overflow-y: auto;
      }

      .destination-menu {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
      }

      .destination-menu.is-visible {
        display: flex;
        flex-direction: column;
      }

      .destination-header {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      @media (max-width: 760px) {
        .site-header { padding: 8px 14px; }
        .site-title { font-size: 1.12rem; }
        .site-header-note { font-size: .7rem; }
        main { padding: 10px; }
        .concept-graphic { max-height: 252px; }
        .mind-map-art { max-height: 168px; }
        .hero { padding: 22px 20px 24px; }
      }

      main {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 0;
        width: 100%;
        padding: clamp(10px, 2.2vmin, 26px);
      }

      .map-stage {
        display: none !important;
      }

      .panel {
        width: 100%;
        max-width: 680px;
        margin: auto;
      }

      /* Docs dropdown menus */
      .docs-dropdown-menu {
        min-width: 260px;
        max-height: 70vh;
        overflow-y: auto;
      }
      .docs-details {
        margin: 2px 0;
      }
      .docs-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 10px;
        color: var(--text);
        font-size: .85rem;
        font-weight: 600;
        cursor: pointer;
        list-style: none;
        user-select: none;
      }
      .docs-summary::-webkit-details-marker { display: none; }
      .docs-summary:hover {
        background: var(--surface-raised);
      }
      .docs-arrow {
        font-size: .75rem;
        color: var(--link);
        transition: transform .2s ease;
      }
      .docs-details[open] .docs-arrow {
        transform: rotate(180deg);
      }
      .docs-sub-list {
        list-style: none;
        margin: 0;
        padding: 4px 0 4px 12px;
        border-left: 2px solid var(--line);
      }
      .app-view-menu .docs-sub-list a {
        font-size: .78rem !important;
        font-weight: 500 !important;
        padding: 5px 8px !important;
        opacity: .9;
      }
      .app-view-menu .docs-sub-list a.docs-main-link {
        font-weight: 700 !important;
        color: var(--link) !important;
      }

      .gate-body {
        display: flex;
        flex-direction: column;
      }

      .concept-graphic {
        flex: 0 1 auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 16px 18px 12px;
      }

      .mind-map-art {
        width: auto;
        max-width: 100%;
        max-height: 185px;
        margin-inline: auto;
      }

      .hero {
        flex: 1 1 auto;
        padding: clamp(26px, 3.5vw, 44px);
      }

      .hero h1 {
        font-size: clamp(2.3rem, 3.6vw, 3.4rem);
      }

      @media (max-width: 900px) {
        main {
          grid-template-columns: minmax(0, 1fr);
          grid-template-rows: minmax(120px, 26vh) minmax(0, 1fr);
        }

        .concept-graphic { display: none; }
        .hero { padding: 22px 20px 24px; }
      }

      /* Destination banner: once the gate is passed, the destination menu
         becomes a slim banner pinned to the top edge of the concept
         graphic, and the graphic fills the panel below it — the menu no
         longer takes over the panel as a side block. */
      .gate.is-confirmed .gate-body { display: flex; }
      .gate.is-confirmed .hero { display: none; }
      .gate.is-confirmed .concept-graphic {
        flex: 1 1 auto;
        border-bottom: 0;
      }

      .destination-menu.is-visible {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        display: block;
        min-height: 0;
        overflow: visible;
        border-bottom: 1px solid var(--line);
        background: rgba(11, 13, 15, .88);
      }

      .destination-menu::after { display: none; }

      .destination-header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 10px;
        padding: 6px 10px;
        background: transparent;
      }

      .destination-menu-label {
        padding: 0;
        color: var(--muted);
        font-size: .72rem;
        font-weight: 600;
        white-space: nowrap;
      }

      .destination-header-actions {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
      }

      .destination-header .quick-start-link,
      .destination-header .guide-link,
      .destination-header .destination-link {
        min-height: 34px;
        padding: 5px 9px;
      }

      @media (max-width: 900px) {
        .gate.is-confirmed .concept-graphic { display: flex; }
      }

      @media (max-width: 760px) {
        .gate.is-confirmed .concept-graphic { max-height: none; }
      }

      /* Gate redesign (2026-11-13): full-screen gate, mind-map as background.
         The panel fills the viewport below the site header;
         the concept graphic is the background layer behind the hero content;
         the H1 is a header row at the top, and the dialogue + Enter button
         sit over the dimmed map. All ids, hrefs and gate JS are untouched. */
      main { padding: 0; }

      .panel.gate {
        flex: 1 1 auto;
        align-self: stretch;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        background: transparent;
      }

      .gate.is-confirmed { width: 100%; max-width: none; }

      .gate-body {
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
      }

      /* Background layer: the mind-map SVG fills the whole stage. */
      .concept-graphic {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: #0b0e10;
      }

      .concept-graphic::before {
        inset: 0;
        height: auto;
      }

      .mind-map-art {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        opacity: .5;
      }

      /* Confirmed (after Enter): the destination menu is a banner at the
         top of the figure — the mind-map must fill the space BELOW it,
         not run behind it, or the top of the picture is cut off by the
         header where App and Docs are listed. The figure becomes a
         column: menu on top in flow, the SVG filling the rest;
         preserveAspectRatio="meet" keeps the whole picture visible,
         letterboxed, nothing cropped. Pre-Enter layout untouched. */
      .gate.is-confirmed .concept-graphic { display: flex; flex-direction: column; }
      .gate.is-confirmed .destination-menu.is-visible { position: relative; top: auto; right: auto; left: auto; flex: 0 0 auto; }
      .gate.is-confirmed .mind-map-art { position: relative; flex: 1 1 auto; min-height: 0; height: auto; }

      /* Dimming scrim so the headline, dialogue and button stay crisp. */
      .concept-graphic::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
          radial-gradient(ellipse at 50% 42%, rgba(11, 14, 16, .18), rgba(11, 14, 16, .62) 82%),
          linear-gradient(rgba(11, 14, 16, .42), rgba(11, 14, 16, .58));
      }

      /* Confirmed (after Enter): no dimming — the map shows at full brightness. */
      .gate.is-confirmed .mind-map-art { opacity: 1; }
      .gate.is-confirmed .concept-graphic::after { display: none; }

      /* App header bar (confirmed state only): mirrors the app's .intro
         header — "Sexcapades.IO" title left, avatar + "?" right. It lives
         inside #destinationMenu, so it only appears after Enter. */
      .app-header {
        position: relative;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--line);
        background: rgba(11, 13, 15, .92);
      }
      .app-header-title { margin: 0; }
      .app-header-title .app-title-button {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text);
        font-family: "Barlow Condensed", "IBM Plex Sans", sans-serif;
        font-size: clamp(28px, 3.1vw, 42px);
        font-weight: 700;
        line-height: .94;
        letter-spacing: 0;
        text-align: left;
        cursor: pointer;
      }
      .app-header-title .app-title-button:hover {
        text-decoration: underline;
        text-decoration-color: #63c2c8;
        text-decoration-thickness: 2px;
        text-underline-offset: 5px;
      }
      .app-header-nav {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-left: 12px;
        margin-right: auto;
      }
      .view-nav-btn,
      .docs-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        height: 38px;
        padding: 0 16px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(20, 24, 27, .9);
        color: var(--text);
        font-family: inherit;
        font-size: .88rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 160ms ease, border-color 160ms ease;
      }
      .view-nav-btn:hover,
      .docs-nav-btn:hover {
        background: var(--surface-raised, #23292e);
      }
      .view-nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 100;
        min-width: 300px;
        max-width: min(90vw, 360px);
        margin: 0;
        padding: 8px;
        list-style: none;
        text-align: left;
        background: var(--surface-raised, #1b2024);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, .6);
      }
      .view-nav-menu[hidden] { display: none; }
      .view-nav-item {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 8px 12px;
        border-radius: 8px;
        color: var(--text);
        text-decoration: none;
        transition: background 120ms ease;
      }
      .view-nav-item:hover,
      .view-nav-item:focus {
        background: rgba(255, 255, 255, .08);
        outline: none;
      }
      .view-nav-item.is-current {
        background: rgba(99, 194, 200, .12);
        border-left: 3px solid #63c2c8;
      }
      .view-nav-text strong {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: .9rem;
        color: #fff;
        font-weight: 600;
      }
      .view-nav-text small {
        display: block;
        font-size: .75rem;
        color: var(--muted, #9aa0a6);
        line-height: 1.3;
        font-weight: 400;
      }
      .view-nav-divider {
        height: 1px;
        margin: 8px 4px;
        background: var(--line, rgba(255, 255, 255, .12));
      }
      .view-nav-aux-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 6px 12px;
      }
      .view-nav-aux-link {
        font-size: .78rem;
        color: var(--muted, #9aa0a6);
        text-decoration: none;
      }
      .view-nav-aux-link:hover {
        color: var(--text);
        text-decoration: underline;
      }
      @media (max-width: 760px) {
        .app-header-nav { gap: 6px; margin-left: 6px; }
        .view-nav-btn, .docs-nav-btn { min-height: 34px; height: 34px; padding: 0 10px; font-size: .8rem; }
      }
      @media (max-width: 520px) {
        .view-nav-menu { min-width: 260px; }
      }
      .app-header-actions { display: inline-flex; align-items: center; gap: 10px; }
      .app-header .guide-avatar-wrap { display: inline-flex; }
      .app-header .avatar-music-btn {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        overflow: hidden;
      }
      .app-header .avatar-music-btn img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
      .app-header .avatar-music-btn.is-playing { border-color: #63c2c8; box-shadow: 0 0 0 2px rgba(99, 194, 200, .45), 0 0 14px 2px rgba(99, 194, 200, .35); }
      .app-header .review-callout {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface-raised);
        color: var(--text);
        text-decoration: none;
      }
      .app-header .review-callout:hover { border-color: #63c2c8; }
      .app-header .guide-qmark { font-size: 1.25rem; font-weight: 800; line-height: 1; }
      /* Gate About dialog: same copy as the app's About. */
      #gateAboutDialog { max-width: min(620px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); color: var(--text); padding: 0; }
      #gateAboutDialog::backdrop { background: rgba(0, 0, 0, .6); }
      #gateAboutDialog .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
      #gateAboutDialog .dialog-head h2 { margin: 0; font-family: "Barlow Condensed", "IBM Plex Sans", sans-serif; font-size: 1.7rem; }
      #gateAboutDialog .close-btn { border: 0; background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 2px 6px; }
      #gateAboutDialog .dialog-body { padding: 12px 20px 20px; }
      #gateAboutDialog .dialog-body p { margin: 0 0 12px; line-height: 1.5; }
      #gateAboutDialog .app-about-version { color: var(--muted); font-weight: 700; }
      #gateAboutDialog a { color: var(--link); }
      @media (max-width: 760px) {
        .app-header { padding: 8px 12px; }
        .app-header .avatar-music-btn { width: 42px; height: 42px; }
        .app-header .avatar-music-btn img { width: 38px; height: 38px; }
        .app-header .review-callout { width: 36px; height: 36px; }
      }

      .hero {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 1 auto;
        width: 100%;
        max-width: 880px;
        min-height: 0;
        margin: 0 auto;
        padding: clamp(26px, 5vh, 56px) clamp(20px, 5vw, 56px) clamp(24px, 4vh, 44px);
        overflow-y: auto;
      }

      /* Header row: kicker + H1 across the top of the gate. */
      .hero .gate-kicker { margin-bottom: 16px; }

      .hero h1 {
        max-width: none;
        font-size: clamp(2.5rem, 5.2vw, 4.1rem);
        line-height: 1.02;
        text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
      }

      /* Dialogue + Enter sit over the map, anchored toward the bottom so
         the graphic reads in the middle of the stage. */
      .hero .value-prop {
        max-width: 52ch;
        margin-top: auto;
        padding-top: 28px;
        color: #dfe4e7;
        text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
      }

      .hero .age-copy { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }

      @media (max-width: 760px) {
        .concept-graphic { display: block; max-height: none; }
        .mind-map-art { max-height: none; }
        .hero { max-width: none; padding: 22px 20px 24px; }
        .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
        .hero .value-prop { padding-top: 20px; }
      }

      @media (max-width: 420px) {
        .concept-graphic { padding-inline: 0; }
        .mind-map-art { max-height: none; }
        .hero { padding: 20px 18px 22px; }
        .hero h1 { font-size: 2.35rem; }
      }
    

.visitor-odometer-wrap .odometer-digit{width:22px;height:32px;background:#0c191a;border:1px solid #253839;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;color:#55dc9a;}
