 :root {
      --lcars-orange: #C9973A;
      --lcars-amber: #E8C468;
      --lcars-peach: #C89666;
      --lcars-pink: #A63D40;
      --lcars-violet: #2A4B7C;
      --lcars-blue: #2E8B84;
      --lcars-ltblue: #7FC8BE;
      --lcars-red: #8B2E2E;
      --dark-bg: #0D0906;
      --panel-bg: #1A140D;
      --text-main: #D9C7A8;
      --text-dim: #8C7A5E;
      --text-bright: #F0E4C8;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background: var(--dark-bg);
      color: var(--text-main);
      font-family: 'EB Garamond', sans-serif;
      font-size: 16px;
      line-height: 1.8;
      min-height: 100vh;
      overflow-x: hidden;
    }

    p a {
      font-weight: 500;
    }

    /* ── STARFIELD BACKGROUND ── */
    body::before {
      background-image:
        radial-gradient(1px 1px at 15% 20%, rgba(232, 196, 104, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 10%, rgba(232, 196, 104, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 35%, rgba(240, 228, 200, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 12%, rgba(232, 196, 104, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 55%, rgba(240, 228, 200, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 62% 68%, rgba(232, 196, 104, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 75%, rgba(240, 228, 200, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(232, 196, 104, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 85%, rgba(240, 228, 200, 0.45) 0%, transparent 100%),
        radial-gradient(2px 2px at 78% 50%, rgba(200, 61, 64, 0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 92%, rgba(232, 196, 104, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 30%, rgba(240, 228, 200, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 45%, rgba(232, 196, 104, 0.35) 0%, transparent 100%),
        radial-gradient(2px 2px at 95% 28%, rgba(127, 200, 190, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 18% 65%, rgba(240, 228, 200, 0.4) 0%, transparent 100%);
      content: '';
      inset: 0;
      pointer-events: none;
      position: fixed;
      z-index: 0;
    }

    .wrapper {
      margin: 0 auto;
      max-width: 1100px;
      padding: 0 0 60px;
      position: relative;
      z-index: 1;
    }

    /* ══════════════════════════════
     LCARS HEADER
  ══════════════════════════════ */
    .lcars-header {
      margin-bottom: 32px;
      position: relative;
    }

    /* Top bar */
    .header-top-bar {
      background: linear-gradient(90deg,
          var(--lcars-orange) 0%,
          var(--lcars-amber) 40%,
          var(--lcars-peach) 70%,
          var(--lcars-pink) 100%);
      border-radius: 0 0 0 0;
      height: 10px;
    }

    /* Main header content */
    .header-body {
      align-items: stretch;
      display: flex;
      min-height: 220px;
    }

    /* Left LCARS column (the signature rounded bump) */
    .header-left {
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      width: 140px;
    }

    .header-left-top {
      background: var(--lcars-orange);
      border-radius: 0 0 0 8px;
      flex-shrink: 0;
      height: 90px;
    }

    .header-left-gap {
      background: var(--dark-bg);
      flex-shrink: 0;
      height: 20px;
      width: 100%;
    }

    .header-left-bottom {
      align-items: flex-end;
      background: var(--lcars-violet);
      border-radius: 8px 0 0 0;
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 6px;
      justify-content: flex-end;
      min-height: 60px;
      padding: 10px 14px;
    }

    .lcars-label {
      color: var(--dark-bg);
      font-family: 'Cinzel', sans-serif;
      font-size: 9px;
      letter-spacing: 0.12em;
      opacity: 0.7;
      text-transform: uppercase;
    }

    /* Center hero area */
    .header-center {
      background: linear-gradient(135deg,
          rgba(26, 20, 13, 0.98) 0%,
          rgba(36, 27, 16, 0.97) 50%,
          rgba(26, 20, 13, 0.98) 100%);
      border-bottom: 4px solid var(--lcars-blue);
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      padding: 30px 40px;
      position: relative;
    }

    /* Nebula glow behind header text */
    .header-center::before {
      background: radial-gradient(circle,
          rgba(46, 139, 132, 0.18) 0%,
          rgba(42, 75, 124, 0.08) 40%,
          transparent 70%);
      content: '';
      height: 300px;
      pointer-events: none;
      position: absolute;
      right: -40px;
      top: -40px;
      width: 300px;
    }

    .header-center::after {
      background: radial-gradient(circle,
          rgba(201, 151, 58, 0.10) 0%,
          transparent 70%);
      bottom: -20px;
      content: '';
      height: 200px;
      left: 60px;
      pointer-events: none;
      position: absolute;
      width: 200px;
    }

    .site-title {
      color: var(--lcars-amber);
      font-family: 'Cinzel', sans-serif;
      font-size: 38px;
      font-weight: 900;
      letter-spacing: 0.06em;
      line-height: 1.1;
      position: relative;
      text-shadow:
        0 0 40px rgba(232, 196, 104, 0.4),
        0 0 80px rgba(232, 196, 104, 0.15);
      text-transform: uppercase;
    }

    .site-subtitle {
      color: var(--lcars-blue);
      font-family: 'Cinzel', sans-serif;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.3em;
      margin-top: 6px;
      position: relative;
      text-transform: uppercase;
    }

    .site-tagline {
      color: var(--text-dim);
      font-size: 17px;
      font-style: italic;
      font-weight: 500;
      letter-spacing: 0.05em;
      margin-top: 16px;
      position: relative;
    }

    /* Header nav pills */
    .header-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 22px;
      position: relative;
    }

    .header-nav a {
      border-radius: 20px;
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.15em;
      padding: 6px 16px;
      text-decoration: none;
      text-transform: uppercase;
      transition: all 0.2s ease;
    }

    .header-nav a:nth-child(1) {
      background: var(--lcars-orange);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(2) {
      background: var(--lcars-amber);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(3) {
      background: var(--lcars-pink);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(4) {
      background: var(--lcars-violet);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(5) {
      background: var(--lcars-blue);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(6) {
      background: var(--lcars-peach);
      color: var(--dark-bg);
    }

    .header-nav a:nth-child(n+7) {
      background: var(--lcars-ltblue);
      color: var(--dark-bg);
    }

    .header-nav a:hover {
      opacity: 0.75;
      transform: translateY(-1px);
    }

    /* Right column */
    .header-right {
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      width: 80px;
    }

    .header-right-top {
      background: var(--lcars-peach);
      flex-shrink: 0;
      height: 90px;
    }

    .header-right-gap {
      background: var(--dark-bg);
      height: 20px;
    }

    .header-right-bottom {
      background: var(--lcars-ltblue);
      flex: 1;
    }

    /* Bottom bar with member count strip */
    .header-bottom-bar {
      background: linear-gradient(90deg,
          var(--lcars-violet) 0%,
          var(--lcars-blue) 35%,
          var(--lcars-ltblue) 100%);
      height: 14px;
    }

    /* ══════════════════════════════
     LCARS DIVIDER
  ══════════════════════════════ */
    .lcars-divider {
      align-items: center;
      display: flex;
      gap: 0;
      margin: 28px 0;
    }

    .lcars-divider-pill {
      align-items: center;
      clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
      display: flex;
      flex-shrink: 0;
      height: 32px;
      justify-content: center;
      position: relative;
      width: 100px;
    }

    .lcars-divider-pill::after {
      color: var(--dark-bg);
      content: '\2625';
      font-size: 15px;
      opacity: 0.75;
      transform: translateX(-10px);
    }

    .lcars-divider-line {
      background-image:
        linear-gradient(to right, currentColor, currentColor),
        linear-gradient(to right, currentColor, currentColor),
        radial-gradient(circle, currentColor 1.4px, transparent 1.6px);
      background-position: top, bottom, center;
      background-repeat: no-repeat, no-repeat, repeat-x;
      background-size: 100% 1px, 100% 1px, 10px 100%;
      flex: 1;
      height: 11px;
      opacity: 0.9;
    }

    .lcars-divider-end {
      clip-path: polygon(0 50%, 30% 0, 100% 0, 100% 100%, 30% 100%);
      flex-shrink: 0;
      height: 32px;
      width: 20px;
    }

    .lcars-divider.orange {
      color: var(--lcars-orange);
    }

    .lcars-divider.orange .lcars-divider-pill,
    .lcars-divider.orange .lcars-divider-end {
      background: var(--lcars-orange);
    }

    .lcars-divider.violet {
      color: var(--lcars-violet);
    }

    .lcars-divider.violet .lcars-divider-pill,
    .lcars-divider.violet .lcars-divider-end {
      background: var(--lcars-violet);
    }

    .lcars-divider.blue {
      color: var(--lcars-blue);
    }

    .lcars-divider.blue .lcars-divider-pill,
    .lcars-divider.blue .lcars-divider-end {
      background: var(--lcars-blue);
    }

    /* Section label on divider */
    .lcars-divider-label {
      color: var(--text-bright);
      flex-shrink: 0;
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      padding: 0 20px;
      text-transform: uppercase;
    }

    /* ══════════════════════════════
     MAIN LAYOUT
  ══════════════════════════════ */
    .main-layout {
      display: grid;
      gap: 0;
      grid-template-columns: 280px 1fr;
      padding: 0 20px;
    }

    /* Left sidebar LCARS frame */
    .sidebar {
      border-right: 4px solid var(--lcars-orange);
      min-width: 0;
      overflow: hidden;
      padding-right: 24px;
      position: relative;
    }

    .sidebar::after {
      background: var(--lcars-orange);
      border-radius: 50%;
      content: '';
      height: 20px;
      position: absolute;
      right: -12px;
      top: 20px;
      width: 20px;
    }

    /* Info card */
    .info-card {
      background: linear-gradient(160deg,
          rgba(36, 27, 16, 0.9) 0%,
          rgba(26, 20, 13, 0.95) 100%);
      border: 1px solid rgba(201, 151, 58, 0.25);
      border-radius: 4px 20px 4px 4px;
      margin-bottom: 20px;
      min-width: 0;
      padding: 20px;
    }

    .info-card-title {
      border-bottom: 1px solid rgba(201, 151, 58, 0.3);
      color: var(--lcars-orange);
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.25em;
      margin-bottom: 14px;
      padding-bottom: 8px;
      text-transform: uppercase;
    }

    .info-row, .info-row2 {
      align-items: baseline;
      border-bottom: 1px solid rgba(200, 150, 102, 0.06);
      display: flex;
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 14px;
      justify-content: space-between;
      padding: 5px 0;
    }
        .info-row2 {
      display: block !important;
    }

    .info-row .label {
      color: var(--text-dim);
      font-weight: 500;
      letter-spacing: 0.04em;
    }

    .info-row .value {
      color: var(--text-bright);
      font-family: 'Cinzel', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
    }

    /* Stat block */
    .stat-block {
      display: grid;
      gap: 8px;
      grid-template-columns: 1fr 1fr;
      margin-top: 16px;
      min-width: 0;
      width: 100%;
    }

    .stat-item {
      background: rgba(201, 151, 58, 0.08);
      border: 1px solid rgba(201, 151, 58, 0.2);
      border-radius: 4px;
      min-width: 0;
      overflow: hidden;
      padding: 10px;
      text-align: center;
    }

    .stat-num {
      color: var(--lcars-amber);
      display: block;
      font-family: 'Cinzel', sans-serif;
      font-size: 22px;
      font-weight: 700;
    }

    .stat-lbl {
      color: var(--text-dim);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    /* Join button */
    .join-btn {
      background: linear-gradient(135deg, var(--lcars-orange), var(--lcars-amber));
      border-radius: 4px 20px 4px 4px;
      color: var(--dark-bg);
      display: block;
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      margin-top: 16px;
      padding: 12px 20px;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;
      transition: all 0.2s ease;
    }

    .join-btn:hover {
      box-shadow: 0 4px 20px rgba(201, 151, 58, 0.35);
      opacity: 0.85;
      transform: translateY(-1px);
    }

    /* ── MAIN CONTENT ── */
    .main-content {
      min-width: 0;
      overflow: hidden;
      padding-left: 32px;
    }

    /* About block */
    .about-block {
      background: linear-gradient(135deg,
          rgba(36, 27, 16, 0.85) 0%,
          rgba(44, 33, 20, 0.85) 100%);
      border: 1px solid rgba(46, 139, 132, 0.2);
      border-left: 4px solid var(--lcars-blue);
      border-radius: 0 8px 8px 0;
      margin-bottom: 28px;
      overflow: hidden;
      padding: 24px 28px;
      position: relative;
    }

    .about-block::before {
      background: radial-gradient(circle, rgba(46, 139, 132, 0.12) 0%, transparent 70%);
      content: '';
      height: 180px;
      position: absolute;
      right: -30px;
      top: -30px;
      width: 180px;
    }

    .about-block p {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0.01em;
      line-height: 1.9;
      margin-bottom: 14px;
      position: relative;
    }

    .about-block p:last-child {
      margin-bottom: 0;
    }

    .about-block em {
      color: var(--lcars-amber);
      font-style: normal;
      font-weight: 600;
    }

    /* Sub-headings dropped directly into .about-block by page templates
       (e.g. "Update Form" / "Lost Password" / "Delete Form" on update.php,
       "Affiliate Form" on join.php) - these sit outside the Fanatically
       .fan-*-page wrappers, so they fell back to the browser-default serif
       heading instead of matching the rest of the site's Cinzel type. */
    .about-block h2 {
      color: var(--lcars-amber);
      font-family: 'Cinzel', sans-serif;
      font-size: 22px;
      font-weight: 900;
      letter-spacing: 0.04em;
      margin: 28px 0 12px;
      position: relative;
      text-shadow: 0 0 24px rgba(232, 196, 104, 0.3);
      text-transform: uppercase;
    }

    .about-block h2:first-child {
      margin-top: 0;
    }

    /* Members grid */
    .members-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      margin-top: 8px;
    }

    .member-card {
      background: linear-gradient(135deg,
          rgba(30, 22, 14, 0.95) 0%,
          rgba(40, 30, 18, 0.95) 100%);
      border: 1px solid rgba(42, 75, 124, 0.15);
      border-radius: 2px 2px 6px 6px;
      border-top: 3px solid var(--lcars-violet);
      padding: 14px 16px;
      transition: all 0.2s ease;
    }

    .member-card:hover {
      background: linear-gradient(135deg,
          rgba(15, 25, 55, 0.95) 0%,
          rgba(50, 38, 22, 0.95) 100%);
      border-top-color: var(--lcars-amber);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      transform: translateY(-2px);
    }

    .member-name {
      color: var(--text-bright);
      font-family: 'Cinzel', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      margin-bottom: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .member-site {
      color: var(--lcars-ltblue);
      display: block;
      font-size: 13px;
      opacity: 0.7;
      overflow: hidden;
      text-decoration: none;
      text-overflow: ellipsis;
      transition: opacity 0.15s;
      white-space: nowrap;
    }

    .member-site:hover {
      opacity: 1;
    }

    .member-country {
      color: var(--text-dim);
      font-size: 11px;
      letter-spacing: 0.08em;
      margin-top: 6px;
    }

    /* ══════════════════════════════
     FOOTER
  ══════════════════════════════ */
    .lcars-footer {
      grid-column: 1 / -1;
      margin-top: 48px;
      padding: 0 20px;
    }

    .footer-top-bar {
      background: linear-gradient(90deg,
          var(--lcars-pink) 0%,
          var(--lcars-violet) 50%,
          var(--lcars-blue) 100%);
      height: 8px;
    }

    .footer-body {
      align-items: stretch;
      display: flex;
    }

    .footer-left-pill {
      background: var(--lcars-pink);
      border-radius: 0 0 0 30px;
      flex-shrink: 0;
      width: 80px;
    }

    .footer-content {
      align-items: center;
      background: rgba(30, 22, 14, 0.9);
      border-top: 2px solid rgba(42, 75, 124, 0.2);
      display: flex;
      flex: 1;
      justify-content: space-between;
      padding: 20px 30px;
    }

    .footer-text {
      color: var(--text-dim);
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.05em;
    }

    .footer-text a {
      color: var(--lcars-ltblue);
      text-decoration: none;
      transition: color 0.15s;
    }

    .footer-text a:hover {
      color: var(--lcars-amber);
    }

    .footer-stardate {
      color: var(--lcars-orange);
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-align: right;
    }

    .footer-right-pill {
      background: var(--lcars-blue);
      flex-shrink: 0;
      width: 40px;
    }

    /* Blinking cursor effect */
    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    /* Animate header in */
    @keyframes fadeDown {
      from {
        opacity: 0;
        transform: translateY(-16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .site-title {
      animation: fadeDown 0.7s ease 0.1s both;
    }

    .site-subtitle {
      animation: fadeDown 0.7s ease 0.25s both;
    }

    .site-tagline {
      animation: fadeDown 0.7s ease 0.4s both;
    }

    .header-nav {
      animation: fadeDown 0.7s ease 0.55s both;
    }
    /* Force all third-party include output to transparent */
    .about-block * {
      background: transparent !important;
    }

    /* ══════════════════════════════
     FANART LIGHTBOX
  ══════════════════════════════ */
    a.fu-lightbox {
      background: linear-gradient(135deg,
          rgba(36, 27, 16, 0.6) 0%,
          rgba(26, 20, 13, 0.6) 100%);
      border: 1px solid rgba(201, 151, 58, 0.25);
      border-radius: 6px;
      display: inline-block;
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    a.fu-lightbox:hover,
    a.fu-lightbox:focus {
      border-color: var(--lcars-amber);
      box-shadow: 0 4px 20px rgba(201, 151, 58, 0.35);
      outline: none;
      transform: translateY(-1px);
    }

    a.fu-lightbox img {
      cursor: zoom-in;
      display: block;
      height: auto;
      max-width: 100%;
      transition: opacity 0.15s;
    }

    a.fu-lightbox:hover img,
    a.fu-lightbox:focus img {
      opacity: 0.9;
    }

    a.fu-lightbox.fu-img-left {
      float: left;
      margin: 0 1.25em 0.75em 0;
    }

    a.fu-lightbox.fu-img-right {
      float: right;
      margin: 0 0 0.75em 1.25em;
    }

    a.fu-lightbox.fu-img-center {
      display: block;
      margin: 0.75em auto;
    }

    /* ══════════════════════════════
     FANUPDATE REDUX THEME
  ══════════════════════════════ */
    div#fanupdate {
      background: transparent;
      color: var(--text-main);
      font-family: 'EB Garamond', sans-serif;
    }

    div#fanupdate h1 {
      color: var(--lcars-amber);
      font-family: 'Cinzel', sans-serif;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: 0.15em;
      margin: 20px 0 8px;
      text-transform: uppercase;
    }

    div#fanupdate h2 {
      color: var(--lcars-amber);
      font-family: 'Cinzel', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2em;
      margin: 16px 0 6px;
      text-transform: uppercase;
    }

    div#fanupdate h3 {
      color: var(--lcars-ltblue);
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.15em;
      margin: 12px 0 4px;
      text-transform: uppercase;
    }

    div#fanupdate h4 {
      color: var(--lcars-pink);
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.14em;
      margin: 10px 0 4px;
      text-transform: uppercase;
    }

    div#fanupdate h5 {
      color: var(--text-dim);
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      margin: 8px 0 3px;
      text-transform: uppercase;
    }

    div#fanupdate h6 {
      color: var(--text-dim);
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      margin: 8px 0 3px;
      opacity: 0.8;
      text-transform: uppercase;
    }

    div#fanupdate p {
      color: var(--text-main);
      font-size: 15px;
      line-height: 1.8;
      margin-bottom: 8px;
    }

    /* Each post — set via Admin -> Options -> Templates -> entry_template,
       which wraps {{title}}/{{catfile}}/{{body}} in <div class="fu-entry">
       ...</div>. Redux 2.5.0+ ships this wrapper by default. */
    #fanupdate .fu-entry {
      background: linear-gradient(135deg,
          rgba(36, 27, 16, 0.35) 0%,
          rgba(26, 20, 13, 0.35) 100%);
      border-left: 2px solid rgba(46, 139, 132, 0.3);
      border-radius: 0 8px 8px 0;
      margin-bottom: 16px;
      padding: 10px 12px 10px 16px;
    }

    #fanupdate .fu-entry:last-of-type {
      margin-bottom: 0;
    }

    p.catfile {
      color: var(--text-dim);
      font-size: 12px;
      padding: 0 0 0 3em;
    }

    /* Entry date in the category archive listing (show-cat.php). */
    span.date {
      color: var(--lcars-ltblue);
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      letter-spacing: 0.08em;
    }

    /* ══════════════════════════════
     ARCHIVES (?view=archive)
  ══════════════════════════════ */
    #fanupdate .fu-archive-list {
      list-style: none;
      margin: 0 0 16px;
      padding: 0;
    }

    #fanupdate .fu-archive-item {
      border-bottom: 1px solid rgba(200, 150, 102, 0.08);
      color: var(--text-main);
      font-size: 14px;
      padding: 8px 0;
    }

    #fanupdate .fu-archive-item:last-child {
      border-bottom: none;
    }

    #fanupdate .fu-archive-count {
      color: var(--text-dim);
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      letter-spacing: 0.05em;
      margin-left: 4px;
    }

    /* ══════════════════════════════
     COMMENTS
  ══════════════════════════════ */
    div#comments {
      border-top: 1px solid rgba(42, 75, 124, 0.2);
      margin-top: 20px;
      padding-top: 16px;
    }

    /* Shown in place of the comment list/form when comments are off. */
    p.comments-closed {
      color: var(--text-dim);
      font-style: italic;
    }

    /* Comment validation/spam-guard error messages. */
    p.error,
    ul.error {
      background: rgba(139, 46, 46, 0.12);
      border: 1px solid rgba(139, 46, 46, 0.4);
      border-radius: 6px;
      color: #e68080;
      font-size: 13px;
      list-style: none;
      margin-bottom: 12px;
      padding: 10px 14px;
    }

    ul.error li {
      margin: 0;
    }

    ul.error li + li {
      margin-top: 4px;
    }

    div.odd {
      background: rgba(201, 151, 58, 0.04) !important;
    }

    /* Every comment always carries both "comment" and "fu-comment" — the
       latter follows the fu- prefix used elsewhere (fu-entry, fu-lightbox)
       and is the selector to style against going forward. */
    #fanupdate .fu-comment {
      background: rgba(201, 151, 58, 0.03);
      border-bottom: 1px solid rgba(200, 150, 102, 0.08);
      clear: both;
      padding: 0.5em;
    }

    #fanupdate .fu-comment p.commenter {
      color: var(--lcars-ltblue);
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      padding: 0;
    }

    div#newComment {
      border-top: 1px solid rgba(42, 75, 124, 0.2);
      margin-top: 20px;
      padding-top: 16px;
    }

    img.gravatar {
      border: 1px solid rgba(201, 151, 58, 0.25);
      border-radius: 6px;
      float: right;
      margin: 0 0 1em 1em;
    }

    /* ══════════════════════════════
     COMMENT FORM
  ══════════════════════════════ */
    form#comments-form {}

    h3#postcomment {
      margin-top: 20px;
    }

    p#cmt-rules,
    p#cmt-moderation {
      color: var(--text-dim);
      font-size: 12px;
      margin-bottom: 8px;
    }

    /* Moderation notice in the built-in fallback comment form template. */
    p.hint {
      color: var(--text-dim);
      font-size: 12px;
      font-style: italic;
      margin: 4px 0 8px;
    }

    /* "Remember me" checkbox label. */
    label.checkbox {
      color: var(--text-main);
      display: inline;
      float: none;
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 14px;
      text-align: left;
      text-transform: none;
      width: auto;
    }

    /* Comment form submit button. */
    .submit {
      background: linear-gradient(135deg, var(--lcars-orange), var(--lcars-amber));
      border: none;
      border-radius: 6px;
      color: var(--dark-bg);
      cursor: pointer;
      font-family: 'Cinzel', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      padding: 10px 20px;
      text-transform: uppercase;
      transition: all 0.2s ease;
    }

    .submit:hover {
      box-shadow: 0 4px 20px rgba(201, 151, 58, 0.35);
      opacity: 0.85;
      transform: translateY(-1px);
    }

    #captcha-img {
      border: 1px solid rgba(201, 151, 58, 0.25);
      border-radius: 4px;
      display: block;
      margin: 4px 0 8px;
    }

    #fanupdate label {
      color: var(--text-dim);
      display: block;
      float: left;
      font-family: 'Cormorant Garamond', sans-serif;
      font-size: 14px;
      letter-spacing: 0.04em;
      margin: 0 0.5em 0.5em 0;
      padding-top: 0.5em;
      text-align: right;
      width: 9em;
    }

    #fanupdate input,
    #fanupdate textarea,
    #fanupdate select,
    #fanupdate option {
      background: rgba(26, 20, 13, 0.6);
      border: 1px solid rgba(42, 75, 124, 0.35);
      border-radius: 4px;
      color: var(--text-bright);
      font-family: 'EB Garamond', sans-serif;
      font-size: 15px;
      padding: 0.5em 0.7em;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    #fanupdate input:focus,
    #fanupdate textarea:focus,
    #fanupdate select:focus {
      border-color: var(--lcars-amber);
      box-shadow: 0 0 0 2px rgba(232, 196, 104, 0.15);
      outline: none;
    }

    #fanupdate textarea {
      width: 100%;
    }

    /* ══════════════════════════════
     FOOTER
  ══════════════════════════════ */
    a.rss {
      background: rgba(42, 75, 124, 0.12);
      border: 1px solid rgba(42, 75, 124, 0.3);
      border-radius: 4px;
      color: var(--lcars-ltblue);
      font-family: 'Cinzel', sans-serif;
      font-size: 10px;
      letter-spacing: 0.1em;
      padding: 3px 9px;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    a.rss:hover {
      border-color: var(--lcars-amber);
      color: var(--lcars-amber);
    }

    div.credit {
      border-top: 1px solid rgba(42, 75, 124, 0.2) !important;
      clear: both;
      margin: 1em 0 0 0;
      text-align: center;
    }

    div.credit p {
      color: var(--text-dim);
      font-size: 11px;
      margin: 0;
    }

    div.credit a,
    div#fanupdate a {
      color: var(--lcars-ltblue);
      text-decoration: none;
      transition: color 0.15s;
    }

    div.credit a:hover,
    div#fanupdate a:hover {
      color: var(--lcars-amber);
    }

    div.archivelink {
      margin: 2em 0 0 0;
      text-align: right;
    }

/* -- SiteSkin Redux -- */
p.siteskin-redux-skin
{
    text-align: center;
}

img.siteskin-redux-skin-thumb, a.fu-lightbox img
{
    backdrop-filter: blur(8px); /* Optional: creates a frosted glass effect */
    background-color: rgba(27, 24, 24, 0.2) !important;
    border: 1px solid rgba(43, 11, 133, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(50, 6, 95, 0.3); /* Soft lavender-tinted shadow */
    display: inline;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 200px;
}

/* ══════════════════════════════
     MOBILE
  ══════════════════════════════ */
@media (max-width: 760px) {

  .wrapper {
    padding-bottom: 40px;
  }

  /* Header collapses to a single stacked column */
  .header-body {
    flex-direction: column;
    min-height: 0;
  }

  .header-left,
  .header-right {
    width: 100%;
  }

  .header-left-top,
  .header-right-top {
    height: 24px;
    width: 100%;
  }

  .header-left-gap,
  .header-right-gap,
  .header-right-bottom {
    display: none;
  }

  .header-left-bottom {
    border-radius: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 0;
    padding: 8px 14px;
    width: 100%;
  }

  .header-center {
    padding: 24px 20px;
  }

  .site-title {
    font-size: 26px;
  }

  .site-subtitle {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .site-tagline {
    font-size: 14px;
  }

  .header-nav a {
    font-size: 9px;
    padding: 6px 12px;
  }

  /* Main layout stacks: sidebar above content */
  .main-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .sidebar {
    border-bottom: 4px solid var(--lcars-orange);
    border-right: none;
    margin-bottom: 24px;
    padding-bottom: 24px;
    padding-right: 0;
  }

  .sidebar::after {
    bottom: -12px;
    right: 20px;
    top: auto;
  }

  .main-content {
    padding-left: 0;
  }

  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  /* Footer stacks */
  .footer-body {
    flex-direction: column;
  }

  .footer-left-pill,
  .footer-right-pill {
    height: 12px;
    width: 100%;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
  }

  .footer-stardate {
    text-align: left;
  }
}
