*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    :root {
      --site-bg: #030810;
      --site-bg-rgb: 3,8,16;
      --site-accent: #4da8e0;
      --site-accent-rgb: 77,168,224;
      --site-accent-bright: #5bc8ff;
      --site-text: #c8e6fa;
      --site-muted-rgb: 190,215,240;
    }
    html, body { width: 100%; height: 100%; background: var(--site-bg); overflow: hidden; cursor: none; }
    body.sys-cursor, body.sys-cursor * { cursor: auto !important; }
    body.sys-cursor a, body.sys-cursor button { cursor: pointer !important; }


    
    .cursor-ring {
      position: fixed; top: 0; left: 0; width: 28px; height: 28px;
      border: 1px solid rgba(var(--site-accent-rgb),0.7); border-radius: 50%;
      pointer-events: none; z-index: 99998; transform: translate(-50%,-50%);
      transition: width .25s, height .25s, border-color .25s;
      box-shadow: 0 0 10px rgba(var(--site-accent-rgb),0.15);
    }
    .cursor-dot {
      position: fixed; top: 0; left: 0; width: 5px; height: 5px;
      background: var(--site-accent); border-radius: 50%; pointer-events: none;
      z-index: 99998; transform: translate(-50%,-50%);
      box-shadow: 0 0 8px rgba(var(--site-accent-rgb),0.9);
    }
    .cursor-ring.hov { width: 44px; height: 44px; border-color: rgba(var(--site-accent-rgb),0.4); }
    a, button { cursor: none; }
    @media (hover: none) and (pointer: coarse) {
      .cursor-ring, .cursor-dot { display: none; }
      a, button { cursor: auto; }
    }

    
    #loading-screen {
      position: fixed; inset: 0; z-index: 9998;
      background: var(--site-bg);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 1.4rem;
      transition: opacity .5s;
    }
    #loading-screen.out { opacity: 0; pointer-events: none; }
    .loading-logo { width: 40px; height: 40px; }
    .loading-bar {
      width: 80px; height: 1px;
      background: rgba(var(--site-accent-rgb),.12);
      position: relative; overflow: hidden;
    }
    .loading-bar::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(var(--site-accent-rgb),.6);
      transform: translateX(-100%);
      animation: loadSlide 1.1s ease-in-out infinite;
    }
    @keyframes loadSlide {
      0%   { transform: translateX(-100%); }
      50%  { transform: translateX(0%); }
      100% { transform: translateX(100%); }
    }
    #gate {
      position: fixed; inset: 0; z-index: 9999;
      display: flex; align-items: center; justify-content: center;
      background: var(--site-bg);
      transition: opacity .6s;
      opacity: 0;
      pointer-events: none;
    }
    #gate-glow {
      position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(var(--site-accent-rgb),0.18) 0%, transparent 70%);
    }
    #gate-inner { position: relative; z-index: 1; width: min(340px, 90vw); text-align: center; }
    .gate-credit { display:inline-block; margin-top:1.6rem; font-family:'Josefin Sans',sans-serif; font-weight:100; font-size:.56rem; letter-spacing:.22em; text-transform:uppercase; color:rgba(120,210,255,0.32); text-decoration:none; transition:color .2s; }
    .gate-credit span { color:rgba(0,212,255,0.7); font-weight:200; }
    .gate-credit:hover { color:rgba(180,230,255,0.65); }
    .gate-credit:hover span { color:#00d4ff; text-shadow:0 0 8px rgba(0,212,255,0.6); }
    
    .foyer-credit { display:inline-flex; align-items:center; gap:.42rem; margin-top:1.5rem; font-family:'Josefin Sans',sans-serif; font-weight:200; font-size:.56rem; letter-spacing:.24em; text-transform:uppercase; color:rgba(170,190,215,0.4); text-decoration:none; transition:color .2s; }
    .foyer-credit .fc-mark { width:12px; height:14px; opacity:.8; flex-shrink:0; }
    .foyer-credit .fc-name { font-weight:300; letter-spacing:.16em; }
    .foyer-credit:hover { color:rgba(215,228,245,0.85); }
    .gate-logo {
      font-family: 'Unbounded', sans-serif; font-weight: 200; font-size: 0.65rem;
      letter-spacing: 0.22em; color: rgba(220,245,225,0.18); text-transform: uppercase;
      margin-bottom: 1.8rem;
    }
    .gate-card {
      background: color-mix(in srgb, var(--site-accent) 7%, #05070b); border: 1px solid rgba(var(--site-accent-rgb),0.1);
      padding: 2.2rem 2rem; display: flex; flex-direction: column;
      align-items: center; gap: 1.1rem;
    }
    .gate-title {
      font-family: 'Unbounded', sans-serif; font-weight: 200; font-size: 1.05rem;
      color: rgba(220,245,220,0.85); line-height: 1.3;
    }
    .gate-sub {
      font-weight: 200; font-size: 0.63rem; letter-spacing: 0.22em;
      text-transform: uppercase; color: rgba(var(--site-muted-rgb),0.3);
    }
    #google-btn-wrap { display: none; }
    .gate-google-btn {
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
      color: rgba(220,245,220,0.82); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.82rem 1.6rem; cursor: pointer; transition: background 0.2s, border-color 0.2s;
    }
    .gate-google-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(var(--site-accent-rgb),0.3); }
    .gate-github-btn {
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
      color: rgba(220,245,220,0.82); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.82rem 1.6rem; cursor: pointer; transition: background 0.2s, border-color 0.2s;
      margin-top: 0.6rem;
    }
    .gate-github-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(var(--site-accent-rgb),0.3); }
    .gate-discord-btn {
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
      color: rgba(220,245,220,0.82); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.82rem 1.6rem; cursor: pointer; transition: background 0.2s, border-color 0.2s;
      margin-top: 0.6rem;
    }
    .gate-discord-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(88,101,242,0.4); }
    .gate-err {
      font-weight: 200; font-size: 0.63rem; letter-spacing: 0.08em;
      color: rgba(255,75,75,0.72); min-height: 1em;
    }
    .gate-email-btn {
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
      color: rgba(220,245,220,0.82); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.82rem 1.6rem; cursor: pointer; transition: background 0.2s, border-color 0.2s;
      margin-top: 0.6rem;
    }
    .gate-email-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(var(--site-accent-rgb),0.3); }
    .gate-foyer-btn {
      position: relative;
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; background: rgba(127,166,216,0.10); border: 1px solid rgba(127,166,216,0.32);
      color: rgba(232,237,242,0.9); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.82rem 1.6rem; cursor: pointer; transition: background 0.2s, border-color 0.2s;
      margin-bottom: 0.6rem;
    }
    .gate-foyer-btn:hover { background: rgba(127,166,216,0.18); border-color: rgba(127,166,216,0.55); }
    .gate-new-tag {
      position: absolute; top: -7px; right: 10px;
      background: #7fa6d8; color: #070a0e; font-size: 0.5rem; font-weight: 600;
      letter-spacing: 0.12em; text-transform: uppercase; padding: 0.12rem 0.4rem; border-radius: 3px;
    }

    
    #ml-modal {
      position: fixed; inset: 0; z-index: 100000; display: none;
      align-items: center; justify-content: center; padding: 1.5rem;
      background: rgba(2,8,3,0.72); backdrop-filter: blur(6px);
      opacity: 0; transition: opacity 0.25s ease;
    }
    #ml-modal.show { display: flex; opacity: 1; }
    .ml-card {
      position: relative; width: 100%; max-width: 360px;
      background: #0b120b; border: 1px solid rgba(var(--site-accent-rgb),0.18);
      border-radius: 16px; padding: 2rem 1.9rem;
      transform: translateY(14px) scale(0.98); transition: transform 0.28s cubic-bezier(.16,1,.3,1);
    }
    #ml-modal.show .ml-card { transform: translateY(0) scale(1); }
    .ml-card h3 {
      font-family: 'Unbounded', sans-serif; font-weight: 200; font-size: 0.92rem;
      color: #eef7ef; margin: 0 0 0.5rem;
    }
    .ml-card p.ml-desc {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.7rem;
      line-height: 1.7; letter-spacing: 0.03em; color: rgba(var(--site-muted-rgb),0.5); margin: 0 0 1.4rem;
    }
    .ml-input {
      width: 100%; box-sizing: border-box; background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
      color: rgba(220,245,220,0.92); font-family: 'Josefin Sans', sans-serif;
      font-weight: 300; font-size: 0.82rem; letter-spacing: 0.03em;
      padding: 0.8rem 1rem; outline: none; transition: border-color 0.2s, background 0.2s;
    }
    .ml-input::placeholder { color: rgba(var(--site-muted-rgb),0.3); }
    .ml-input:focus { border-color: rgba(var(--site-accent-rgb),0.45); background: rgba(255,255,255,0.06); }
    .ml-submit {
      width: 100%; margin-top: 0.8rem; background: var(--site-accent-bright); border: none; border-radius: 8px;
      color: #05210a; font-family: 'Josefin Sans', sans-serif; font-weight: 400;
      font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.85rem; cursor: pointer; transition: filter 0.2s, opacity 0.2s;
    }
    .ml-submit:hover { filter: brightness(1.08); }
    .ml-submit:disabled { opacity: 0.55; cursor: default; }
    .ml-close {
      position: absolute; top: 0.9rem; right: 1rem; background: none; border: none;
      color: rgba(var(--site-muted-rgb),0.4); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0.2rem;
    }
    .ml-close:hover { color: rgba(var(--site-muted-rgb),0.8); }
    .ml-err {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.62rem;
      letter-spacing: 0.04em; color: rgba(255,90,90,0.78); min-height: 1em; margin: 0.6rem 0 0;
    }
    .ml-sent {
      text-align: center; padding: 0.8rem 0 0.2rem;
    }
    .ml-sent svg { margin-bottom: 0.9rem; }
    .ml-sent p {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.74rem;
      line-height: 1.75; letter-spacing: 0.03em; color: rgba(var(--site-muted-rgb),0.7); margin: 0;
    }
    .ml-sent p b { color: #eef7ef; font-weight: 400; }
    .ml-spinner {
      width: 38px; height: 38px; margin: 0 auto 1rem;
      border: 2px solid rgba(var(--site-accent-rgb),0.18); border-top-color: var(--site-accent-bright);
      border-radius: 50%; animation: ml-spin 0.8s linear infinite;
    }
    @keyframes ml-spin { to { transform: rotate(360deg); } }
    .ml-sent-actions {
      margin-top: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
    }
    .ml-resend-link {
      background: none; border: 1px solid rgba(var(--site-accent-rgb),0.35); border-radius: 8px;
      font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 0.62rem;
      letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--site-accent-rgb),0.85);
      padding: 0.6rem 1.5rem; cursor: pointer; transition: background 0.2s, opacity 0.2s;
    }
    .ml-resend-link:hover:not(:disabled) { background: rgba(var(--site-accent-rgb),0.12); }
    .ml-resend-link:disabled { opacity: 0.5; cursor: default; }
    .ml-resend {
      background: none; border: none; cursor: pointer;
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.6rem;
      letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--site-muted-rgb),0.45);
      text-decoration: underline; text-underline-offset: 3px;
    }
    .ml-resend:hover { color: rgba(var(--site-muted-rgb),0.75); }
    #ml-resend-err:empty { display: none; }
    #ml-resend-err { margin-top: 0.8rem; text-align: center; }

    
    #site-nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      display: none; align-items: center; gap: 2rem; padding: 0 1.8rem; height: 44px;
      background: rgba(var(--site-bg-rgb),0.88); border-bottom: 1px solid rgba(var(--site-accent-rgb),0.09);
      backdrop-filter: blur(10px);
    }
    #site-nav.on { display: flex; }
    
    #site-nav.pos-bottom { top: auto; bottom: 0; }
    #site-nav.pos-left, #site-nav.pos-right {
      top: 0; bottom: 0; width: 172px; height: auto;
      flex-direction: column; align-items: stretch; justify-content: flex-start;
      gap: 1.2rem; padding: 1.5rem 1.4rem; overflow-y: auto;
    }
    #site-nav.pos-left  { left: 0; right: auto; }
    #site-nav.pos-right { right: 0; left: auto; }
    
    .scene.nav-pad-top    { padding-top: 44px !important; }
    .scene.nav-pad-bottom { padding-bottom: 44px !important; }
    .scene.nav-pad-left   { padding-left: 172px !important; }
    .scene.nav-pad-right  { padding-right: 172px !important; }
    
    body.nav-bottom #userBadge, body.nav-bottom .made-by { bottom: 56px; }
    body.nav-left  .made-by   { left: 184px; }
    body.nav-right #userBadge { right: 184px; }
    @media (max-width: 640px) {
      
      #site-nav.pos-left, #site-nav.pos-right {
        top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 44px;
        flex-direction: row; align-items: center; gap: 2rem; padding: 0 1.8rem; overflow: visible;
      }
      .scene.nav-pad-left, .scene.nav-pad-right { padding-left: 0 !important; padding-right: 0 !important; padding-top: 44px !important; }
      
      #site-nav { gap: .8rem; padding: 0 .9rem; }
      #site-nav > div { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 1.25rem !important; flex-wrap: nowrap; }
      #site-nav > div::-webkit-scrollbar { display: none; }
      .nav-search { padding: .4rem .5rem; flex-shrink: 0; }
      .nav-search span { display: none; }
      #site-nav .nav-a { flex-shrink: 0; }   
    }
    .nav-a {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: .58rem;
      letter-spacing: .28em; text-transform: uppercase;
      color: rgba(var(--site-muted-rgb),0.45); text-decoration: none; transition: color .2s;
    }
    .nav-a:hover, .nav-a.cur { color: var(--site-accent, var(--site-accent)); }
    
    .nav-search { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .85rem; line-height: 1;
      border: 1px solid rgba(var(--site-accent-rgb),0.22); border-radius: 30px; background: rgba(var(--site-accent-rgb),0.05);
      transition: color .2s, background .2s, border-color .2s; }
    .nav-search svg { opacity: .85; flex-shrink: 0; }
    .nav-search:hover { background: rgba(var(--site-accent-rgb),0.12); border-color: rgba(var(--site-accent-rgb),0.5); }
    
    .nav-parent { position: relative; display: inline-flex; align-items: center; }
    .nav-caret { font-size: .8em; opacity: .55; margin-left: .1em; }
    .nav-flyout {
      position: absolute; top: 100%; left: 0; display: none; flex-direction: column; gap: .7rem;
      margin-top: .5rem; padding: .8rem 1rem; min-width: 150px;
      background: rgba(var(--site-bg-rgb),0.97); border: 1px solid rgba(var(--site-accent-rgb),0.16);
      backdrop-filter: blur(10px); z-index: 300;
    }
    .nav-parent:hover .nav-flyout, .nav-parent:focus-within .nav-flyout { display: flex; }
    .nav-flyout .nav-a { white-space: nowrap; }
    body.nav-bottom .nav-flyout { top: auto; bottom: 100%; margin: 0 0 .5rem; }
    body.nav-left .nav-flyout, body.nav-right .nav-flyout { position: static; display: none; margin: .3rem 0 .3rem .8rem; padding: 0; border: none; background: none; backdrop-filter: none; }
    body.nav-left .nav-parent:hover .nav-flyout, body.nav-right .nav-parent:hover .nav-flyout { display: flex; }

    
    .scene {
      position: fixed; inset: 0; z-index: 10;
      display: none; align-items: center; justify-content: center;
      overflow-y: auto; padding: 2rem 1rem;
      scroll-behavior: smooth;   
    }

    
    #update-notice {
      position: fixed; top: 0; left: 0; right: 0; z-index: 99998;
      display: none; padding: .55rem 1.2rem; text-align: center;
      background: rgba(10,22,10,0.92); border-bottom: 1px solid rgba(var(--site-accent-rgb),0.2);
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: .62rem;
      letter-spacing: .22em; text-transform: uppercase; color: rgba(var(--site-muted-rgb),0.75);
      pointer-events: none;
      animation: slideDown .35s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    @keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    #update-overlay {
      position: fixed; inset: 0; z-index: 99999;
      display: none; align-items: center; justify-content: center;
      background: rgba(var(--site-bg-rgb),0.96); backdrop-filter: blur(8px);
      animation: fadeIn .4s ease forwards;
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    
    #scene.pg-anim-in { animation: pgFadeIn .26s ease both; }
    @keyframes pgFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    @media (prefers-reduced-motion: reduce) { #scene.pg-anim-in { animation: none; } }
    .update-box {
      text-align: center; padding: 3rem 2.5rem;
      border: 1px solid rgba(var(--site-accent-rgb),0.18); background: rgba(7,13,7,0.98);
      max-width: 360px; width: 90vw;
    }
    .update-title {
      font-family: 'Unbounded', sans-serif; font-weight: 200; font-size: 1rem;
      color: rgba(220,245,220,0.9); margin-bottom: 0.6rem;
    }
    .update-sub {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.65rem;
      letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--site-muted-rgb),0.4);
      margin-bottom: 2rem; line-height: 1.9;
    }
    .update-btn {
      font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 0.7rem;
      letter-spacing: 0.22em; text-transform: uppercase; padding: 0.7rem 2rem;
      border: 1px solid rgba(var(--site-accent-rgb),0.4); background: transparent;
      color: var(--site-accent); cursor: pointer; transition: background 0.2s;
    }
    .update-btn:hover { background: rgba(var(--site-accent-rgb),0.1); }
    .update-count { color: rgba(var(--site-accent-rgb),0.6); }

    
    #userBadge {
      position: fixed; bottom: 12px; right: 12px; z-index: 100;
      display: none; align-items: center; gap: 0.5rem;
      background: rgba(7,15,7,0.88); border: 1px solid rgba(var(--site-accent-rgb),0.1);
      padding: 5px 10px; border-radius: 3px;
    }
    .user-avatar { width: 18px; height: 18px; border-radius: 50%; display: block; }
    .user-name-text {
      font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 0.62rem;
      letter-spacing: 0.06em; color: rgba(var(--site-muted-rgb),0.55); max-width: 140px;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .user-signout {
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.55rem;
      letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--site-accent-rgb),0.38);
      background: none; border: none; padding: 0; cursor: pointer; transition: color .2s;
    }
    .user-signout:hover { color: rgba(var(--site-accent-rgb),0.75); }
    #userBadge:hover { border-color: rgba(var(--site-accent-rgb),0.28); }

    
    #acct-modal {
      position: fixed; inset: 0; z-index: 100000; display: none;
      align-items: center; justify-content: center; padding: 1.5rem;
      background: rgba(2,8,3,0.72); backdrop-filter: blur(6px);
      opacity: 0; transition: opacity 0.25s ease;
    }
    #acct-modal.show { display: flex; opacity: 1; }
    .acct-card {
      position: relative; width: 100%; max-width: 380px; max-height: 86vh; overflow-y: auto;
      background: #0b120b; border: 1px solid rgba(var(--site-accent-rgb),0.18);
      border-radius: 16px; padding: 1.9rem 1.7rem;
      transform: translateY(14px) scale(0.98); transition: transform 0.28s cubic-bezier(.16,1,.3,1);
      font-family: 'Josefin Sans', sans-serif;
    }
    #acct-modal.show .acct-card { transform: translateY(0) scale(1); }
    .acct-close {
      position: absolute; top: 0.9rem; right: 1rem; background: none; border: none;
      color: rgba(var(--site-muted-rgb),0.4); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0.2rem;
    }
    .acct-close:hover { color: rgba(var(--site-muted-rgb),0.8); }
    .acct-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
    .acct-avatar { width: 46px; height: 46px; border-radius: 50%; display: block; flex-shrink: 0; background: rgba(var(--site-accent-rgb),0.1); }
    .acct-id { min-width: 0; }
    .acct-name {
      font-family: 'Unbounded', sans-serif; font-weight: 200; font-size: 0.92rem;
      color: #eef7ef; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .acct-email {
      font-weight: 200; font-size: 0.68rem; letter-spacing: 0.02em; color: rgba(var(--site-muted-rgb),0.5);
      margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .acct-tags { display: flex; gap: 0.4rem; margin-top: 0.45rem; flex-wrap: wrap; }
    .acct-tag {
      font-size: 0.5rem; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase;
      color: rgba(var(--site-muted-rgb),0.6); border: 1px solid rgba(var(--site-accent-rgb),0.22);
      border-radius: 999px; padding: 0.18rem 0.55rem;
    }
    .acct-tag-role { color: #05210a; background: var(--site-accent-bright); border-color: var(--site-accent-bright); }
    .acct-meta {
      font-weight: 200; font-size: 0.62rem; letter-spacing: 0.04em; color: rgba(var(--site-muted-rgb),0.4);
      padding-bottom: 1.2rem; border-bottom: 1px solid rgba(var(--site-accent-rgb),0.12); min-height: 0.8em;
    }
    .acct-sec { padding: 1.1rem 0 0.4rem; }
    .acct-sec-head {
      display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem;
    }
    .acct-sec-head > span {
      font-weight: 300; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: rgba(var(--site-muted-rgb),0.5);
    }
    .acct-link {
      background: none; border: none; cursor: pointer; padding: 0;
      font-family: 'Josefin Sans', sans-serif; font-weight: 200; font-size: 0.56rem;
      letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,120,120,0.6);
      text-decoration: underline; text-underline-offset: 3px;
    }
    .acct-link:hover { color: rgba(255,120,120,0.9); }
    .acct-link:disabled { opacity: 0.5; cursor: default; }
    .acct-pref { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
    .acct-pref > span { font-weight: 200; font-size: 0.72rem; letter-spacing: 0.02em; color: rgba(220,245,220,0.8); }
    .acct-pref select {
      background: #0e150e; border: 1px solid rgba(255,255,255,0.14); border-radius: 7px;
      color: rgba(225,245,225,0.92); font-family: 'Josefin Sans', sans-serif; font-weight: 300;
      font-size: 0.7rem; padding: 0.4rem 1.6rem 0.4rem 0.6rem; outline: none; cursor: pointer;
      -webkit-appearance: none; appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%238fb89a' stroke-width='1.5' stroke-linecap='round'/></svg>");
      background-repeat: no-repeat; background-position: right 0.55rem center;
    }
    .acct-pref select:focus { border-color: rgba(var(--site-accent-rgb),0.45); }
    .acct-pref select option { background: #0e150e; color: rgba(225,245,225,0.92); }
    .acct-sessions { display: flex; flex-direction: column; gap: 0.5rem; }
    .acct-loading { font-weight: 200; font-size: 0.66rem; color: rgba(var(--site-muted-rgb),0.4); margin: 0; }
    .acct-session {
      display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
      background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07);
      border-radius: 9px; padding: 0.6rem 0.75rem;
    }
    .acct-session.cur { border-color: rgba(var(--site-accent-rgb),0.25); background: rgba(var(--site-accent-rgb),0.05); }
    .acct-session-info { min-width: 0; }
    .acct-session-dev {
      font-weight: 300; font-size: 0.72rem; letter-spacing: 0.02em; color: rgba(220,245,220,0.85);
      display: flex; align-items: center; gap: 0.4rem;
    }
    .acct-this {
      font-size: 0.46rem; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--site-accent-bright); border: 1px solid rgba(var(--site-accent-rgb),0.3); border-radius: 999px; padding: 0.1rem 0.4rem;
    }
    .acct-session-time {
      font-weight: 200; font-size: 0.58rem; letter-spacing: 0.03em; color: rgba(var(--site-muted-rgb),0.4); margin-top: 0.2rem;
    }
    .acct-revoke {
      flex-shrink: 0; background: none; border: 1px solid rgba(255,120,120,0.25); border-radius: 7px;
      color: rgba(255,120,120,0.7); font-size: 0.95rem; line-height: 1; cursor: pointer;
      width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .acct-revoke:hover { color: #fff; background: rgba(255,90,90,0.18); border-color: rgba(255,120,120,0.5); }
    .acct-revoke:disabled { opacity: 0.4; cursor: default; }
    .acct-actions {
      display: flex; gap: 0.6rem; margin-top: 1.4rem; padding-top: 1.2rem;
      border-top: 1px solid rgba(var(--site-accent-rgb),0.12);
    }
    .acct-admin-btn, .acct-signout-btn {
      flex: 1; text-align: center; box-sizing: border-box;
      font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 0.62rem;
      letter-spacing: 0.18em; text-transform: uppercase; padding: 0.72rem 1rem;
      border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.2s;
    }
    .acct-admin-btn {
      border: 1px solid rgba(var(--site-accent-rgb),0.35); background: transparent; color: rgba(var(--site-accent-rgb),0.85);
    }
    .acct-admin-btn:hover { background: rgba(var(--site-accent-rgb),0.12); }
    .acct-signout-btn {
      border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: rgba(220,245,220,0.8);
    }
    .acct-signout-btn:hover { border-color: rgba(255,120,120,0.4); color: #fff; }
    .acct-signout-btn:disabled { opacity: 0.55; cursor: default; }

    
    .made-by {
      position: fixed; bottom: 14px; left: 14px; z-index: 100;
      display: inline-flex; align-items: center; gap: 0.42rem;
      font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 0.62rem;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: rgba(190,208,232,0.72); text-decoration: none;
      padding: 6px 13px; background: rgba(170,190,215,0.08);
      border: 1px solid rgba(180,200,225,0.3); border-radius: 999px;
      backdrop-filter: blur(8px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.28);
      transition: color .2s, border-color .2s, background .2s, box-shadow .2s, transform .2s;
    }
    .made-by .fc-mark { width: 12px; height: 14px; opacity: 1; flex-shrink: 0; }
    .made-by b { color: rgba(228,240,253,0.95); font-weight: 400; letter-spacing: .12em; }
    .made-by:hover { color: rgba(230,242,255,0.98); border-color: rgba(190,210,235,0.55); background: rgba(170,190,215,0.16); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.34); }
    .made-by:hover b { color: #f0f5fb; }
    .md-content p { margin: 0 0 .75em; }
    .md-content p:last-child { margin-bottom: 0; }
    .md-content ul, .md-content ol { padding-left: 1.4em; margin: .4em 0 .75em; }
    .md-content li { margin: .2em 0; }
    .md-content a { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .8; }
    .md-content strong { font-weight: 500; }
    .md-content em { font-style: italic; }
    .md-content code { font-family: monospace; font-size: .88em; opacity: .75; }
    .md-content h1,.md-content h2,.md-content h3 { font-weight: 300; margin: .8em 0 .3em; line-height: 1.2; }
    .md-content h1 { font-size: 1.5em; } .md-content h2 { font-size: 1.2em; } .md-content h3 { font-size: 1em; }
    
    .md-content img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 6px; }
    .md-content img:not([style]) { max-width: 480px; }
    .md-content hr { border: none; border-top: 1px solid currentColor; opacity: .2; margin: 1em 0; }

    
    @media (max-width: 640px) {
      .pg-row { flex-direction: column !important; }
      .scene [style*="grid-template-columns:repeat("] { grid-template-columns: 1fr !important; }
      .scene [style*="grid-template-columns:1fr 1fr"],
      .scene [style*="grid-template-columns:2fr 3fr"],
      .scene [style*="% 1fr"] { grid-template-columns: 1fr !important; }
      .scene img { max-width: 100% !important; height: auto; }
      
      .scene [style*="grid-template-columns"] { gap: 1.4rem !important; }
    }

    
    #pg-bg { will-change: background-position; }
    @keyframes pgAurora { 0%{background-position:0% 0%} 50%{background-position:100% 100%} 100%{background-position:0% 0%} }


#scene img { cursor: zoom-in; }
#scene a img, #scene .no-zoom { cursor: inherit; }


@media (max-width: 640px) { .foyer-hide-mobile { display: none !important; } }
@media (min-width: 641px) { .foyer-hide-desktop { display: none !important; } }
