    /* ====== THEME TOKENS ====== */
    :root {
      --bg: #ffffff;
      --nb: #000;
      --elev: #f6f7f9;
      --text: #0f172a;
      --muted: #475569;
      --accent: #2563eb;
      --ring: rgba(37, 99, 235, 0.35);
      --border: #e5e7eb;
      --header-text: #00ffff;
      --pagelink: #00ffff;
      --header-height: 86px;
      --logo-height:80px;
    }

    /* Prefer system dark if no explicit override */
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #0b0f17;
        --nb: #000;
        --elev: #101723;
        --text: #e5eefb;
        --muted: #97a3b6;
        --accent: #60a5fa;
        --ring: rgba(96, 165, 250, 0.35);
        --border: #1f2a3a;
        --header-text: #00ffff;
        --pagelink: #00ffff;
      }
    }

    /* Explicit theme overrides via [data-theme] on <html> */
    html[data-theme="light"] {
      --bg: #ffffff;
      --elev: #f6f7f9;
      --text: #0f172a;
      --muted: #475569;
      --accent: #2563eb;
      --ring: rgba(37, 99, 235, 0.35);
      --border: #e5e7eb;
      --header-text: #00ffff;
      --pagelink: #dda0dd;
    }

    html[data-theme="dark"] {
      --bg: #0b0f17;
      --elev: #101723;
      --text: #e5eefb;
      --muted: #97a3b6;
      --accent: #60a5fa;
      --ring: rgba(96, 165, 250, 0.35);
      --border: #1f2a3a;
      --header-text: #00ffff;
      --pagelink: #00ffff;
    }

    /* ====== GLOBAL ====== */
    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
      color: var(--text);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a { color: inherit; text-decoration: none; }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    .pagelink { color: var(--pagelink); text-decoration: underline; font-weight: 600; }


    .container {
      width: min(1100px, 92vw);
      margin: 0 auto;
      padding: 1rem 0;
    }

    /* remove vertical padding inside header so logo can fully fill */
    .site-header .container { padding: 0; }

    /* ====== HEADER / TOP BAR ====== */
    header.site-header {
      position: sticky; top: 0; z-index: 50;
      color: var(--header-text);
      border-bottom: 1px solid var(--border);
      /* Repeat background image across X */
      background-repeat: repeat-x;
      background-size: auto 86px;
      background-position: 0 100%; /* aligned to bottom of header */
      background-color: var(--nb);
    }

    .nav-wrap {
      display: flex; align-items: center; gap: 1rem;
      justify-content: space-between;
      min-height: var(--header-height);
    }

    .brand {
      display: inline-flex; align-items: center; gap: .6rem;
      font-weight: 700; letter-spacing: .2px;
    }

    .brand-logo {
      display: block;
      max-width:90%;
      inline-size: auto; /* width */
      block-size: var(--logo-height); 
      object-fit: contain; /* preserve aspect ratio */
     /* border-radius: 10px; */
     /* box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 6px 18px rgba(37,99,235,.25); */
    }

    /* NAVIGATION */
    nav { position: relative; }

    .menu { display: flex; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }

    .menu a {
      display: inline-flex; align-items: center;
      padding: .55rem .8rem; border-radius: .75rem; font-weight: 600; font-size: .95rem;
      color: var(--header-text);
    }

    .menu a:hover { background: color-mix(in oklab, var(--header-text) 8%, transparent); }
    .menu a:focus-visible { box-shadow: 0 0 0 3px var(--ring); }

    /* Hamburger */
    .nav-toggle { display: none; }
    .hamburger {
      display: none; background: transparent; border: 1px solid var(--border); border-radius: .75rem;
      padding: .5rem .6rem; cursor: pointer; line-height: 0;
    }
    .hamburger svg { width: 22px; height: 22px; }

    /* Theme Switcher */
    .theme-switcher { margin-left: .5rem; }
    .theme-select {
      appearance: none; border: 1px solid var(--border); background: var(--bg); color: var(--text);
      padding: .45rem .6rem; border-radius: .7rem; font-weight: 600;
    }

    /* ====== MAIN LAYOUT ====== */
    main { padding: 1.25rem 0 3rem; }

    .hero {
      display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
      background: linear-gradient(180deg, color-mix(in oklab, var(--elev) 100%, transparent), transparent);
      border: 1px solid var(--border); border-radius: 1.25rem;
      padding: clamp(1rem, 2vw, 2rem);
    }

    .hero h1 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
    .hero p { margin: 0; color: var(--muted); }

    .card-grid {
      margin-top: 2rem;
      display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem;
    }

    .card {
      grid-column: span 4;
      border: 1px solid var(--border); background: var(--elev); border-radius: 1rem; padding: 1rem;
    }

    .card h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
    .card p { margin: 0; color: var(--muted); font-size: .95rem; }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; }
      .card { grid-column: span 6; }
    }

    @media (max-width: 720px) {
      .hamburger { display: inline-flex; }
      .menu { display: none; position: absolute; right: 0; top: calc(100% + .5rem); flex-direction: column; align-items: stretch; background: var(--elev); padding: .5rem; border: 1px solid var(--border); border-radius: .9rem; min-width: 220px; box-shadow: 0 10px 28px rgba(0,0,0,.15); }
      .menu a { padding: .7rem .8rem; }
      .nav-toggle:checked + .hamburger + ul.menu { display: flex; }
      .card { grid-column: span 12; }
    }

    /* Respect reduced motion */
    @media (prefers-reduced-motion: no-preference) {
      .menu a { transition: background .18s ease; }
      header.site-header { transition: background-color .2s ease, color .2s ease; }
    }

    /* Footer styling */

/* Footer styling */
.site-footer { border-top: 1px solid var(--border); background: var(--elev); }

/* 70/30 grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: 7fr 3fr; /* ~70% / 30% */
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-left {
  color: var(--muted);
  font-size: .95rem;
}

.footer-right { justify-self: end; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

/* Stack on small screens */
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { justify-self: right; }
}



        .avatar-directory {
            font-family: system-ui, sans-serif;
            color: #eee;
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
        }
        h1 {
            text-align: center;
            margin-bottom: 20px;
            color: #fff;
        }
        .avatar-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 18px;
        }
        .avatar-card {
            background: #181820;
            border-radius: 12px;
            padding: 12px;
            text-align: center;
            box-shadow: 0 0 12px rgba(0,0,0,0.4);
        }
        .avatar-thumb {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            border-radius: 10px;
            background: #000;
        }
        .avatar-thumb.placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #777;
            font-size: 0.9em;
            background: #222;
        }
        .avatar-name {
            margin-top: 8px;
            font-size: 0.95rem;
        }
        .avatar-name a {
            color: #7ec8ff;
            text-decoration: none;
        }
        .avatar-name a:hover {
            text-decoration: underline;
        }




#photo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#photo-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
}
#photo-overlay.close-hint {
    cursor: zoom-out;
}

        .card {
            background: #181820;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 0 24px rgba(0,0,0,0.4);
            margin-bottom: 24px;
        }
        .profile-header {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .profile-photo {
            flex: 0 0 30%;
            max-width: 280px;
        }
        .profile-photo img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 24px;
            background: #000;
        }
        .profile-main {
            flex: 1 1 0;
            min-width: 250px;
        }
        .muted {
            color: #999;
            font-size: 0.9rem;
        }
        .badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 999px;
            font-size: 0.75rem;
            background: #26263a;
            color: #ccc;
            margin-right: 6px;
        }
        .badge.mature {
            background: #5c1f35;
            color: #ffd3e3;
        }
        .pills {
            margin-top: 4px;
        }
        .pills .badge {
            margin-bottom: 4px;
        }
        .section-title {
            margin-bottom: 8px;
        }
        .picks-grid,
        .classifieds-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 16px;
        }
        .thumb {
            width: 200px;
            aspect-ratio: 1 / 1;
            border-radius: 12px;
            object-fit: cover;
            background: #000;
            margin-bottom: 8px;
        }
        .item-title {
            font-weight: 600;
            margin-bottom: 4px;
        }
        .item-sim {
            font-size: 0.9rem;
            color: #aaa;
            margin-bottom: 4px;
        }
        .item-desc {
            font-size: 0.9rem;
            margin-bottom: 6px;
        }
        .item-meta {
            font-size: 0.8rem;
            color: #aaa;
        }
        .no-items {
            color: #888;
            font-size: 0.9rem;
        }
        ul {
            padding-left: 18px;
        }
        @media (max-width: 700px) {
            .profile-header {
                flex-direction: column;
            }
            .profile-photo {
                max-width: 220px;
            }
        }



/* Matches your existing theme selector style */
.lang-select {
    background-color: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-select:hover {
    border-color: #00ffff; /* Holoneon Cyan */
    color: #fff;
}

.lang-select option {
    background-color: #222; /* Dark background for dropdown items */
    color: #fff;
}

/* Language Switcher Styling */
.lang-switcher {
    display: flex;
    gap: 8px; /* Space between codes */
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.3); /* Optional divider */
    padding-left: 15px;
    margin-left: 10px;
}

.lang-switcher a {
    text-decoration: none;
    font-size: 0.85rem;
    color: #ccc; /* Dimmed color for inactive */
    font-weight: normal;
    transition: color 0.2s;
}

.lang-switcher a:hover {
    color: #00ffff; /* Holoneon Cyan */
}

/* The currently active language */
.lang-switcher a.active-lang {
    color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #00ffff; /* Underline indicator */
    pointer-events: none; /* User is already here */
}

/* Mobile responsive tweak (optional) */
@media (max-width: 768px) {
    .lang-switcher {
        border-left: none;
        padding-left: 0;
        margin-top: 10px;
        justify-content: center; /* Center on mobile menu */
    }
}

.icon {
    width: 24px;
    height: 24px;
    vertical-align: middle; 
}


.region-container {
            background: #181820;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 0 24px rgba(0,0,0,0.4);
            margin-bottom: 24px;
}

.region-thumb {
  width: 150px; /* Reduced for better spacing/fit */
  height: auto;
  border-radius: 10px; /* Slightly reduced border radius */
  margin-right: 15px; /* Space between the image and the text content */
}

.region-details {
  /* This container holds the text and list */
  flex-grow: 1; /* Allows this section to take up the remaining space */
}

.region-details p {
  margin: 0 0 5px 0; /* Adjust spacing for paragraphs */
}

.region-details ul {
  /* Fix the bullet alignment issue */
  list-style-position: outside; /* Ensures the bullet itself is outside the list item box */
  margin-left: 20px; /* Adds space to push the bullets away from the image area */
  padding-left: 0; /* Remove default padding */
}




  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: none; /* Hidden by default, JS will show it */
    z-index: 10000;
  }
  #cookie-banner button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
  }
  #cookie-banner .decline-btn {
    background-color: #f44336;
  }


