    :root {
      --bg-base: #070b14;
      --bg-surface: #0c1220;
      --bg-card: rgba(15, 23, 42, 0.88);
      --bg-card-hover: rgba(22, 33, 58, 0.95);
      --border-subtle: rgba(51, 65, 85, 0.55);
      --border-glow: rgba(56, 189, 248, 0.35);
      --border-focus: #38bdf8;
      
      --text-primary: #f8fafc;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
      
      --neon-cyan: #00f0ff;
      --accent-blue: #38bdf8;
      --accent-green: #10b981;
      --neon-emerald: #05df72;
      --accent-amber: #f59e0b;
      --accent-orange: #f97316;
      --accent-purple: #a855f7;
      --neon-red: #ff2a5f;
      --danger: #ef4444;
      
      --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --font-display: "Rajdhani", "Segoe UI", Tahoma, sans-serif;
      --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
    }
    /* Watermark HUD styling for Admin Draft Preview Mode */
    .draft-preview-watermark-hud {
      position: fixed;
      top: 64px;
      right: 24px;
      z-index: 9999;
      background: rgba(245, 158, 11, 0.18);
      border: 1px solid rgba(245, 158, 11, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-family: var(--font-mono, monospace);
      font-size: 0.82rem;
      color: #fbbf24;
    }
    .draft-preview-watermark-hud a {
      color: #000;
      background: #f59e0b;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.75rem;
    }

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

    button, input, select, textarea {
      font-family: inherit;
    }

    body {
      background-color: var(--bg-base);
      background-image: 
        radial-gradient(ellipse at 80% 0%, rgba(56, 189, 248, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(12, 18, 32, 0.95) 0%, rgba(7, 11, 20, 1) 100%);
      background-attachment: fixed;
      color: var(--text-primary);
      font-family: var(--font-sans);
      line-height: 1.5;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Top Navigation / Brand Bar */
    header {
      background: rgba(12, 18, 32, 0.92);
      border-bottom: 1px solid var(--border-subtle);
      padding: 0.85rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .brand-logo {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, #0284c7, #10b981);
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .brand-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .brand-badge {
      background: rgba(16, 185, 129, 0.15);
      color: var(--neon-emerald);
      border: 1px solid rgba(16, 185, 129, 0.4);
      font-size: 0.68rem;
      font-family: var(--font-mono);
      font-weight: 700;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
    }

    .brand-sub {
      font-size: 0.72rem;
      color: var(--text-muted);
      font-family: var(--font-mono);
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(15, 23, 42, 0.8);
      padding: 4px;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
    }

    .nav-tab-btn {
      background: none;
      border: none;
      color: var(--text-secondary);
      padding: 6px 14px;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s ease;
    }

    .nav-tab-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .nav-tab-btn.active {
      color: #fff;
      background: #0284c7;
      box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .beacon {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      display: inline-block;
    }
    .beacon-green {
      background: var(--neon-emerald);
      box-shadow: 0 0 8px var(--neon-emerald);
      animation: pulse 2s infinite;
    }
    .beacon-red {
      background: var(--danger);
      box-shadow: 0 0 8px var(--danger);
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.9); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 600;
      border: 1px solid var(--border-subtle);
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-primary);
      cursor: pointer;
      text-decoration: none;
      transition: all 0.15s ease;
      font-family: inherit;
    }
    .btn:hover {
      background: rgba(30, 41, 59, 0.9);
      border-color: var(--border-glow);
    }
    .btn-sm { padding: 0.28rem 0.65rem; font-size: 0.74rem; }
    .btn-primary { background: #0284c7; border-color: #38bdf8; color: #fff; }
    .btn-primary:hover { background: #0369a1; box-shadow: 0 0 12px rgba(56, 189, 248, 0.4); }
    .btn-success { background: #059669; border-color: #10b981; color: #fff; }
    .btn-success:hover { background: #047857; box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); }
    .btn-warning { background: #d97706; border-color: #f59e0b; color: #fff; }
    .btn-warning:hover { background: #b45309; box-shadow: 0 0 12px rgba(245, 158, 11, 0.4); }
    .btn-danger { background: rgba(239, 68, 68, 0.2); border-color: #ef4444; color: #fca5a5; }
    .btn-danger:hover { background: #dc2626; color: #fff; box-shadow: 0 0 12px rgba(239, 68, 68, 0.4); }
    .btn-reboot { background: rgba(245, 158, 11, 0.2); border-color: #f59e0b; color: #fde68a; }
    .btn-reboot:hover { background: #d97706; color: #fff; box-shadow: 0 0 12px rgba(245, 158, 11, 0.4); }
    .btn-outline { background: transparent; border-color: var(--border-subtle); color: var(--text-secondary); }
    .btn-outline:hover { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: var(--border-glow); }
    .btn.btn-copied,
    .btn-conn-chip.btn-copied {
      background: rgba(16, 185, 129, 0.25) !important;
      border-color: var(--neon-emerald) !important;
      color: var(--neon-emerald) !important;
      box-shadow: 0 0 14px rgba(5, 223, 114, 0.45) !important;
    }

    /* Main Container */
    main {
      flex: 1;
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
      padding: 1.5rem 2rem 3rem 2rem;
    }

    /* Notification Ribbon */
    .restart-ribbon {
      background: linear-gradient(90deg, rgba(217, 119, 6, 0.2), rgba(180, 83, 9, 0.3));
      border: 1px solid var(--accent-amber);
      border-radius: 10px;
      padding: 0.75rem 1.25rem;
      margin-bottom: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
      animation: fadeIn 0.3s ease-in-out;
    }
    .restart-ribbon-text { display: flex; align-items: center; gap: 0.75rem; color: #fef3c7; font-size: 0.85rem; }

    /* Views */
    .view-section { display: none; }
    .view-section.active { display: block; animation: fadeIn 0.25s ease-in-out; }
    .view-section:not(.active) { display: none !important; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

    /* Fleet Cards Grid */
    .catalog-section-title {
      font-size: 1.2rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.25rem;
    }
    .catalog-subtitle {
      font-size: 0.82rem;
      color: var(--text-secondary);
      margin-bottom: 1.25rem;
    }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.25rem;
      margin-bottom: 2rem;
    }

    .game-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
      transition: all 0.2s ease;
    }
    .game-card:hover {
      border-color: var(--border-glow);
      transform: translateY(-2px);
    }
    .game-card.active-selected {
      border-color: var(--border-focus);
      box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
    }

    /* Steam / Epic Games Library Hero Grid System */
    .library-filter-pills {
      display: flex;
      gap: 0.5rem;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 1.25rem;
    }
    .library-filter-pill {
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(56, 189, 248, 0.22);
      border-radius: 9999px;
      color: #94a3b8;
      font-family: var(--font-mono, monospace);
      font-size: 0.78rem;
      font-weight: 700;
      padding: 0.4rem 0.95rem;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-flex;
      align-items: center;
      user-select: none;
    }
    .library-filter-pill:hover {
      border-color: var(--neon-cyan);
      color: #fff;
      background: rgba(56, 189, 248, 0.12);
      transform: translateY(-1px);
    }
    .library-filter-pill.active {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(16, 185, 129, 0.25));
      border-color: var(--neon-cyan);
      color: #fff;
      box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
    }
    .library-filter-pill strong {
      color: #fff;
      margin-left: 2px;
    }

    /* Library Hero Card specifics */
    .library-card {
      border-radius: 12px;
      border: 1px solid rgba(56, 189, 248, 0.25);
      background: var(--bg-card);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }
    .library-card.library-card-active:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 240, 255, 0.22);
      transform: translateY(-3px);
    }
    .library-card.library-card-undeployed {
      background: rgba(8, 12, 20, 0.75);
      border: 1.5px dashed rgba(71, 85, 105, 0.45);
      opacity: 0.88;
    }
    .library-card.library-card-undeployed:hover {
      border-color: rgba(56, 189, 248, 0.65);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
      opacity: 1;
      transform: translateY(-3px);
    }

    /* Hero Cover Art Banner */
    .library-card-art {
      height: 135px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      overflow: hidden;
    }
    .library-card-art::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 12, 20, 0.2) 0%, rgba(7, 12, 20, 0.55) 55%, rgba(10, 15, 26, 0.98) 100%);
      z-index: 1;
      transition: background 0.2s ease;
    }
    .library-card.library-card-undeployed .library-card-art {
      filter: grayscale(85%) opacity(0.55);
      transition: filter 0.3s ease;
    }
    .library-card.library-card-undeployed:hover .library-card-art {
      filter: grayscale(40%) opacity(0.85);
    }

    /* Badges & Typography inside Hero Art */
    .hero-badge-status-undeployed {
      background: rgba(100, 116, 139, 0.25);
      border: 1px solid rgba(148, 163, 184, 0.35);
      color: #94a3b8;
      font-family: var(--font-mono);
      font-size: 0.65rem;
      font-weight: 700;
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      backdrop-filter: blur(4px);
    }
    .btn-deploy-card {
      transition: all 0.2s ease;
    }
    .btn-deploy-card:hover {
      box-shadow: 0 0 24px rgba(16, 185, 129, 0.55) !important;
      transform: translateY(-1px);
    }

    /* Operational Maintenance Levers System */
    .maintenance-panel {
      margin-top: 1.25rem;
      padding: 1.15rem;
      background: rgba(10, 16, 28, 0.75);
      border: 1px solid rgba(56, 189, 248, 0.25);
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    .maintenance-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
      padding-bottom: 0.65rem;
      border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    }
    .maintenance-panel-title {
      font-size: 0.92rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: -0.01em;
    }
    .maintenance-levers-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .maintenance-lever-card {
      background: rgba(4, 7, 14, 0.7);
      border: 1px solid rgba(56, 189, 248, 0.18);
      border-radius: 8px;
      padding: 0.75rem 0.95rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.85rem;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }
    .maintenance-lever-card:hover {
      border-color: rgba(56, 189, 248, 0.45);
      background: rgba(8, 14, 26, 0.85);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    }
    .maintenance-lever-info {
      flex: 1;
      min-width: 0;
    }
    .maintenance-lever-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: #f1f5f9;
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 0.25rem;
    }
    .maintenance-lever-desc {
      font-size: 0.72rem;
      color: #94a3b8;
      line-height: 1.35;
      font-family: var(--font-sans);
    }
    .maintenance-lever-action {
      flex-shrink: 0;
    }

    .game-banner {
      height: 90px;
      padding: 0.85rem 1rem;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      position: relative;
    }
    .banner-mc { background: linear-gradient(180deg, rgba(20, 83, 45, 0.7), rgba(15, 23, 42, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%2315803d' fill-opacity='0.15' d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/svg%3E"); }
    .banner-sf { background: linear-gradient(180deg, rgba(14, 116, 144, 0.7), rgba(15, 23, 42, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%230891b2' fill-opacity='0.15' d='M20 0l20 20-20 20L0 20z'/%3E%3C/svg%3E"); }
    .banner-vh { background: linear-gradient(180deg, rgba(67, 56, 202, 0.7), rgba(15, 23, 42, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%234f46e5' fill-opacity='0.15' d='M0 20h40v2H0z'/%3E%3C/svg%3E"); }
    .banner-pw { background: linear-gradient(180deg, rgba(194, 65, 12, 0.7), rgba(15, 23, 42, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%23ea580c' fill-opacity='0.15' d='M20 20m-15 0a15,15 0 1,0 30,0a15,15 0 1,0 -30,0'/%3E%3C/svg%3E"); }

    .game-banner-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .game-title-text {
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.45rem;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    }

    .mem-badge {
      font-size: 0.68rem;
      font-weight: 700;
      font-family: var(--font-mono);
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .mem-badge-green  { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.5); }
    .mem-badge-cyan   { background: rgba(6, 182, 212, 0.25); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.5); }
    .mem-badge-blue   { background: rgba(99, 102, 241, 0.25); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.5); }
    .mem-badge-orange { background: rgba(249, 115, 22, 0.25); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.5); }

    .game-card-body {
      padding: 1rem 1.15rem;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      flex: 1;
    }

    .game-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.78rem;
      color: var(--text-secondary);
      font-family: var(--font-mono);
    }

    .server-status-pill {
      font-size: 0.7rem;
      font-family: var(--font-mono);
      font-weight: 700;
      padding: 0.2rem 0.55rem;
      border-radius: 9999px;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      text-transform: uppercase;
    }
    .status-running { background: rgba(16, 185, 129, 0.15); color: var(--neon-emerald); border: 1px solid rgba(16, 185, 129, 0.4); }
    .status-stopped { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
    .status-not_found, .status-error { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

    .stats-telemetry-box {
      background: rgba(6, 9, 15, 0.6);
      border: 1px solid rgba(51, 65, 85, 0.35);
      border-radius: 8px;
      padding: 0.65rem 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      font-size: 0.78rem;
    }
    .stat-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .stat-line span { color: var(--text-muted); }
    .stat-line strong { color: var(--text-primary); font-family: var(--font-mono); }

    .card-actions-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      margin-top: auto;
      padding-top: 0.5rem;
      border-top: 1px solid rgba(51, 65, 85, 0.3);
    }

    /* Player Connection HUD */
    .hud-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 1.25rem 1.5rem;
      margin-bottom: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.25rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .conn-box {
      background: #06090f;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 0.4rem 0.85rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--font-mono);
      font-size: 0.82rem;
    }
    .conn-address { color: var(--neon-cyan); font-weight: 700; }

    /* Mod Management Section */
    .mod-section {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 1.5rem;
      box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    }
    .mod-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1.25rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-subtle);
    }
    .dropzone {
      border: 2px dashed rgba(56, 189, 248, 0.35);
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.5);
      padding: 1.75rem 1rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      margin-bottom: 1.5rem;
      position: relative;
    }
    .dropzone:hover {
      border-color: var(--neon-cyan);
      background: rgba(56, 189, 248, 0.08);
      box-shadow: 0 0 20px rgba(0, 240, 255, 0.18);
    }
    .dropzone.dragover, .dropzone.drag-active {
      border-color: #00f0ff !important;
      background: rgba(0, 240, 255, 0.14) !important;
      box-shadow: 0 0 35px rgba(0, 240, 255, 0.45), inset 0 0 20px rgba(0, 240, 255, 0.25) !important;
      transform: scale(1.012);
    }
    .dropzone-icon { font-size: 2rem; color: var(--accent-blue); margin-bottom: 0.35rem; }
    .dropzone-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
    .dropzone-sub { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }

    .mod-controls-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1.25rem;
    }
    .search-box { position: relative; flex: 1; min-width: 250px; max-width: 450px; }
    .search-input {
      width: 100%;
      background: #06090f;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 0.55rem 1rem 0.55rem 2.2rem;
      color: #fff;
      font-size: 0.84rem;
      font-family: inherit;
    }
    .search-input:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2); }
    .search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }

    .filter-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
    .filter-pill {
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      font-size: 0.74rem;
      padding: 0.3rem 0.7rem;
      border-radius: 9999px;
      cursor: pointer;
      transition: all 0.15s ease;
      font-family: var(--font-mono);
    }
    .filter-pill:hover, .filter-pill.active { color: #fff; border-color: var(--accent-blue); background: rgba(56, 189, 248, 0.15); }

    .mod-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 1rem;
    }
    .mod-item-card {
      background: rgba(10, 15, 26, 0.85);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1rem 1.15rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.75rem;
      transition: all 0.2s ease;
    }
    .mod-item-card:hover { border-color: rgba(56, 189, 248, 0.35); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }
    .mod-item-card.disabled { opacity: 0.65; background: rgba(6, 9, 15, 0.6); }

    .mod-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
    .mod-name { font-size: 0.92rem; font-weight: 700; color: #fff; }
    .mod-filename { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }
    .mod-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.45; }
    .mod-badges-row { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; font-size: 0.7rem; font-family: var(--font-mono); }
    .tag-category { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: var(--accent-blue); padding: 0.15rem 0.45rem; border-radius: 4px; }
    .tag-mem-saved { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--neon-emerald); padding: 0.15rem 0.45rem; border-radius: 4px; font-weight: 700; }
    .tag-mem-cost { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); color: var(--accent-amber); padding: 0.15rem 0.45rem; border-radius: 4px; font-weight: 700; }

    /* Server Guard Visual Architecture & Environment Tags */
    .server-guard-banner {
      background: rgba(16, 185, 129, 0.1) !important;
      border: 1px solid rgba(16, 185, 129, 0.35) !important;
      border-radius: 8px;
      padding: 0.75rem 1rem;
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .btn-glow-client-pack {
      background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%) !important;
      color: #041019 !important;
      font-weight: 700 !important;
      border: 1px solid rgba(0, 240, 255, 0.6) !important;
      box-shadow: 0 0 16px rgba(0, 240, 255, 0.4) !important;
      transition: all 0.2s ease !important;
    }
    .btn-glow-client-pack:hover {
      box-shadow: 0 0 24px rgba(0, 240, 255, 0.75) !important;
      transform: translateY(-1px);
    }
    .tag-env {
      display: inline-flex;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
    }
    .tag-env-both {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.4);
      color: var(--neon-emerald);
    }
    .tag-env-server {
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.4);
      color: var(--neon-cyan);
    }
    .tag-env-client {
      background: rgba(168, 85, 247, 0.15);
      border: 1px solid rgba(168, 85, 247, 0.4);
      color: #c084fc;
    }

    /* SCALE-TO-SLEEP & HIBERNATION STYLES */
    .status-hibernating, .status-asleep, .tag-status-hibernating {
      background: rgba(99, 102, 241, 0.18) !important;
      color: #c7d2fe !important;
      border: 1px solid rgba(129, 140, 248, 0.45) !important;
      box-shadow: 0 0 12px rgba(99, 102, 241, 0.25) !important;
    }
    .status-waking, .status-starting, .tag-status-waking {
      background: rgba(245, 158, 11, 0.18) !important;
      color: #fde68a !important;
      border: 1px solid rgba(245, 158, 11, 0.5) !important;
      animation: pulseAmber 1.5s infinite ease-in-out !important;
    }
    .beacon-indigo {
      background: #818cf8 !important;
      box-shadow: 0 0 8px #6366f1 !important;
      animation: pulseIndigo 2s infinite ease-in-out;
    }
    @keyframes pulseIndigo {
      0%, 100% { opacity: 0.5; transform: scale(0.95); }
      50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px #818cf8; }
    }
    @keyframes pulseAmber {
      0%, 100% { opacity: 0.7; }
      50% { opacity: 1; box-shadow: 0 0 14px rgba(245, 158, 11, 0.4); }
    }
    .btn-glow-wake, .btn-wake-server {
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(2, 132, 199, 0.9) 100%) !important;
      color: #ffffff !important;
      font-family: inherit !important;
      font-size: 0.74rem !important;
      font-weight: 600 !important;
      padding: 0.28rem 0.65rem !important;
      border: 1px solid rgba(129, 140, 248, 0.6) !important;
      box-shadow: 0 0 16px rgba(99, 102, 241, 0.45) !important;
      transition: all 0.2s ease !important;
      animation: wakeGlow 2.5s infinite ease-in-out;
    }
    .btn-glow-wake:hover, .btn-wake-server:hover {
      box-shadow: 0 0 24px rgba(0, 240, 255, 0.8) !important;
      color: #ffffff !important;
      transform: translateY(-1px);
    }
    @keyframes wakeGlow {
      0%, 100% { box-shadow: 0 0 12px rgba(99, 102, 241, 0.4); }
      50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.6); }
    }

    /* Switch Component */
    .switch-wrap { display: flex; align-items: center; gap: 0.5rem; }
    .switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
    .switch input { opacity: 0; width: 0; height: 0; }
    .slider {
      position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
      background-color: #334155; transition: .25s; border-radius: 22px;
    }
    .slider:before {
      position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px;
      background-color: white; transition: .25s; border-radius: 50%;
    }
    input:checked + .slider { background-color: var(--accent-green); }
    input:checked + .slider:before { transform: translateX(18px); }

    /* Host & User Admin Cards */
    .host-metrics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .host-metric-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .host-metric-title { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
    .host-metric-val { font-size: 1.35rem; color: #fff; font-weight: 800; font-family: var(--font-mono); }
    .host-metric-sub { font-size: 0.72rem; color: var(--text-muted); }

    .user-admin-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1.5rem;
    }

    /* Modals */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.85);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .modal-window {
      background: #0a0f1a;
      border: 1px solid var(--border-glow);
      border-radius: 12px;
      width: 90%;
      max-width: 960px;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    }
    .modal-header {
      background: #06090f;
      padding: 0.85rem 1.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-subtle);
    }
    .modal-title-text {
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .modal-tab-bar {
      display: flex;
      background: #080d16;
      border-bottom: 1px solid var(--border-subtle);
    }
    .modal-tab {
      padding: 0.65rem 1.25rem;
      background: none;
      border: none;
      color: var(--text-secondary);
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.15s ease;
    }
    .modal-tab:hover { color: #fff; }
    .modal-tab.active { color: #fff; border-bottom: 2px solid #0284c7; background: rgba(2, 132, 199, 0.1); }

    .modal-content-body {
      padding: 1.25rem;
      overflow-y: auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* Terminal window inside modal */
    .terminal-output {
      background: #030509;
      color: #34d399;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      padding: 1rem;
      border-radius: 8px;
      border: 1px solid rgba(51, 65, 85, 0.4);
      height: 480px;
      overflow-y: auto;
      white-space: pre-wrap;
      line-height: 1.45;
    }

    /* Tables inside modal */
    .table-responsive {
      width: 100%;
      overflow-x: auto;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
    }
    .gov-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.82rem;
    }
    .gov-table th {
      background: #06090f;
      padding: 0.75rem 0.9rem;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      font-weight: 600;
      font-family: var(--font-mono);
    }
    .gov-table td {
      padding: 0.75rem 0.9rem;
      border-bottom: 1px solid rgba(51, 65, 85, 0.3);
      vertical-align: middle;
    }
    .gov-table tr:hover { background: rgba(255, 255, 255, 0.02); }
    .player-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
    .player-avatar { width: 22px; height: 22px; border-radius: 4px; background: #1e293b; }

    /* Footer */
    footer {
      border-top: 1px solid var(--border-subtle);
      padding: 1.25rem 2rem;
      background: rgba(10, 15, 26, 0.95);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }
  
    /* Tactical Game Switcher Strip */
    .tactical-switcher-strip {
      background: rgba(8, 13, 24, 0.95);
      border-bottom: 1px solid var(--border-subtle);
      padding: 0.5rem 2rem;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      position: sticky;
      top: 61px;
      z-index: 95;
    }
    .tactical-strip-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .tactical-strip-left {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      flex-wrap: wrap;
    }
    .tactical-strip-label {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--text-muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .tactical-chips-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .game-chip {
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      color: var(--text-secondary);
      font-family: var(--font-sans);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.35rem 0.75rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      outline: none;
    }
    .game-chip:hover {
      background: rgba(22, 33, 58, 0.95);
      border-color: rgba(56, 189, 248, 0.5);
      color: #fff;
    }
    .game-chip.active {
      background: rgba(12, 28, 48, 0.95);
      border-color: var(--neon-cyan);
      box-shadow: 0 0 12px rgba(0, 240, 255, 0.25), inset 0 0 8px rgba(0, 240, 255, 0.1);
      color: #fff;
    }
    .chip-beacon {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #475569;
      display: inline-block;
      transition: all 0.2s;
    }
    .game-chip.active .chip-beacon {
      background: var(--neon-cyan);
      box-shadow: 0 0 8px var(--neon-cyan);
      animation: beaconPulse 1.8s infinite;
    }
    .chip-players {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      background: rgba(0, 0, 0, 0.45);
      padding: 0.1rem 0.4rem;
      border-radius: 4px;
      color: var(--text-muted);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    .game-chip.active .chip-players {
      color: var(--neon-emerald);
      border-color: rgba(5, 223, 114, 0.25);
    }

    /* Simple vs Advanced Toggle Switch */
    .control-mode-toggle-wrapper {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid var(--border-subtle);
      border-radius: 20px;
      padding: 0.25rem 0.75rem;
    }
    .mode-label {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 0.04em;
      transition: color 0.2s;
      user-select: none;
    }
    .mode-switch {
      position: relative;
      display: inline-block;
      width: 36px;
      height: 18px;
    }
    .mode-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .mode-slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: #1e293b;
      border: 1px solid #475569;
      transition: .25s;
      border-radius: 18px;
    }
    .mode-slider:before {
      position: absolute;
      content: "";
      height: 12px;
      width: 12px;
      left: 2px;
      bottom: 2px;
      background-color: #94a3b8;
      transition: .25s;
      border-radius: 50%;
    }
    .mode-switch input:checked + .mode-slider {
      background-color: rgba(56, 189, 248, 0.25);
      border-color: var(--neon-cyan);
    }
    .mode-switch input:checked + .mode-slider:before {
      transform: translateX(18px);
      background-color: var(--neon-cyan);
      box-shadow: 0 0 8px var(--neon-cyan);
    }

    /* Mode Dependent Visibility */
    body.mode-simple .advanced-only {
      display: none !important;
    }

    /* Glassmorphic Toast Notification Engine */
    .toast-container {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 100000;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      pointer-events: none;
      max-width: 420px;
      width: calc(100vw - 3rem);
    }
    .toast {
      pointer-events: auto;
      display: flex;
      flex-direction: column;
      background: rgba(12, 18, 32, 0.95);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 8px;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.5);
      border: 1px solid var(--border-subtle);
      overflow: hidden;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
      animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes toastSlideIn {
      from { transform: translateX(100%) scale(0.9); opacity: 0; }
      to { transform: translateX(0) scale(1); opacity: 1; }
    }
    .toast.toast-hiding {
      transform: translateX(100%) scale(0.9);
      opacity: 0;
    }
    .toast-body {
      display: flex;
      align-items: flex-start;
      gap: 0.85rem;
      padding: 0.85rem 1rem;
    }
    .toast-icon {
      font-size: 1.15rem;
      line-height: 1;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .toast-content {
      flex: 1;
    }
    .toast-title {
      font-weight: 700;
      font-size: 0.85rem;
      color: #fff;
      margin-bottom: 0.15rem;
    }
    .toast-message {
      font-size: 0.78rem;
      color: #94a3b8;
      line-height: 1.35;
      word-break: break-word;
    }
    .toast-close-btn {
      background: transparent;
      border: none;
      color: #64748b;
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
      padding: 0 0 0 0.5rem;
      transition: color 0.15s;
    }
    .toast-close-btn:hover { color: #fff; }
    .toast-progress-track {
      height: 3px;
      background: rgba(255, 255, 255, 0.08);
      width: 100%;
    }
    .toast-progress-bar {
      height: 100%;
      width: 100%;
      transform-origin: left;
    }

    /* Severity Colors */
    .toast-success {
      border-color: rgba(16, 185, 129, 0.5);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.2);
    }
    .toast-success .toast-icon { color: #10b981; }
    .toast-success .toast-progress-bar { background: #10b981; }

    .toast-warning {
      border-color: rgba(245, 158, 11, 0.5);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.2);
    }
    .toast-warning .toast-icon { color: #f59e0b; }
    .toast-warning .toast-progress-bar { background: #f59e0b; }

    .toast-error {
      border-color: rgba(239, 68, 68, 0.5);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(239, 68, 68, 0.2);
    }
    .toast-error .toast-icon { color: #ef4444; }
    .toast-error .toast-progress-bar { background: #ef4444; }

    .toast-info {
      border-color: rgba(56, 189, 248, 0.5);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.2);
    }
    .toast-info .toast-icon { color: #38bdf8; }
    .toast-info .toast-progress-bar { background: #38bdf8; }

    .form-field-wrap input::placeholder {
      color: #64748b !important;
      opacity: 0.75;
    }

    /* ========================================== */
    /* COMMUNITY WISHLIST & VOTING TAB STYLES     */
    /* ========================================== */
    .glass-panel {
      background: rgba(15, 23, 42, 0.82);
      border: 1px solid rgba(51, 65, 85, 0.55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    .game-hero-card {
      background: rgba(17, 24, 39, 0.88);
      border: 1px solid rgba(51, 65, 85, 0.55);
      backdrop-filter: blur(14px);
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .game-hero-card:hover {
      border-color: rgba(6, 182, 212, 0.55);
      transform: translateY(-4px);
      box-shadow: 0 16px 30px -8px rgba(6, 182, 212, 0.2), 0 0 20px -3px rgba(6, 182, 212, 0.12);
    }
    .hero-banner-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 460 / 215;
      overflow: hidden;
      background-color: #0b1120;
    }
    .hero-banner-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      display: block;
    }
    .game-hero-card:hover .hero-banner-img {
      transform: scale(1.03);
    }
    .banner-vignette {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, transparent 45%, rgba(15, 23, 42, 0.92) 100%);
      pointer-events: none;
    }
    .btn-upvote {
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 10px;
      font-size: 0.75rem;
      font-weight: 700;
      font-family: inherit;
    }
    .btn-upvote:active {
      transform: scale(0.94);
    }
    .btn-upvote.active {
      background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
      color: #ffffff !important;
      box-shadow: 0 0 16px rgba(6, 182, 212, 0.5);
      border-color: rgba(34, 211, 238, 0.8) !important;
    }
    .wl-filter-pill {
      padding: 5px 14px;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 600;
      border: 1px solid rgba(51, 65, 85, 0.6);
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-secondary);
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
      font-family: inherit;
    }
    .wl-filter-pill:hover {
      color: #fff;
      border-color: var(--neon-cyan);
    }
    .wl-filter-pill.active {
      background: rgba(6, 182, 212, 0.2);
      color: var(--neon-cyan);
      border-color: rgba(6, 182, 212, 0.5);
      box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
    }
    .wl-grid-wide {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wl-grid-compact {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    @media (max-width: 1024px) {
      .wl-grid-wide, .wl-grid-compact {
        grid-template-columns: 1fr !important;
      }
    }
    @media (min-width: 640px) and (max-width: 1024px) {
      .wl-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }
    }

    /* Compact Segmented Address Mode Toggle Pill (DNS vs IP) */
    .addr-toggle-pill {
      display: inline-flex;
      align-items: center;
      background: rgba(3, 7, 18, 0.95);
      border: 1px solid rgba(56, 189, 248, 0.32);
      border-radius: 6px;
      padding: 2px;
      gap: 2px;
      user-select: none;
      vertical-align: middle;
    }
    .btn-addr-toggle {
      background: transparent;
      border: 1px solid transparent;
      color: #94a3b8;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0.25rem 0.55rem;
      border-radius: 4px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      line-height: 1.2;
      min-height: 26px;
    }
    .btn-addr-toggle:hover {
      color: #f8fafc;
      background: rgba(56, 189, 248, 0.12);
    }
    .btn-addr-toggle.active {
      background: rgba(0, 240, 255, 0.18);
      border-color: rgba(0, 240, 255, 0.55);
      color: var(--neon-cyan);
      box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
      font-weight: 800;
    }
    .btn-addr-toggle.active[data-mode="ip"] {
      background: rgba(245, 158, 11, 0.18);
      border-color: rgba(245, 158, 11, 0.6);
      color: var(--neon-amber, #f59e0b);
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    }

    /* Owner-Controlled Scale-to-Sleep Auto-Hibernation Toggle Chip */
    .btn-toggle-sleep {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-family: var(--font-mono);
      font-size: 0.74rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 6px;
      border: 1px solid rgba(129, 140, 248, 0.45);
      background: rgba(99, 102, 241, 0.18);
      color: #c7d2fe;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
      line-height: 1.2;
    }
    .btn-toggle-sleep:hover {
      box-shadow: 0 0 10px rgba(129, 140, 248, 0.35);
      border-color: rgba(129, 140, 248, 0.7);
    }
    .btn-toggle-sleep[data-enabled="false"] {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
    }
    .btn-toggle-sleep[data-enabled="false"]:hover {
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
      border-color: rgba(239, 68, 68, 0.7);
    }

    /* Steam Workshop 1-Click Action Button (Phase 7) */
    .btn-steam-workshop {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn-steam-workshop:hover {
      box-shadow: 0 0 14px rgba(0, 240, 255, 0.35) !important;
      border-color: rgba(0, 240, 255, 0.8) !important;
      background: rgba(0, 240, 255, 0.16) !important;
    }

    /* Supporter Tier Cards & VIP Player Cards (Phase 7 Track 3) */
    .supporter-tier-card {
      transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
    }
    .supporter-tier-card:hover {
      transform: translateY(-2px);
    }
    .supporter-tier-card.tier-bronze:hover {
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(217, 119, 6, 0.35) !important;
      border-color: rgba(217, 119, 6, 0.75) !important;
    }
    .supporter-tier-card.tier-silver:hover {
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(148, 163, 184, 0.4) !important;
      border-color: rgba(148, 163, 184, 0.8) !important;
    }
    .supporter-tier-card.tier-gold:hover {
      box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(245, 158, 11, 0.5) !important;
      border-color: rgba(245, 158, 11, 0.95) !important;
    }
    .vip-player-card {
      transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .vip-player-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 240, 255, 0.3) !important;
    }

    /* Server Connection Strip & Discrete Copy Controls (Terraria / Dynamic Spawner) */
    .server-conn-strip {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem;
      margin-top: 0.6rem;
      margin-bottom: 0.5rem;
      padding: 0.45rem 0.6rem;
      background: rgba(3, 7, 18, 0.75);
      border: 1px solid rgba(56, 189, 248, 0.2);
      border-radius: 8px;
    }
    .btn-conn-chip {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.28);
      color: #cbd5e1;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.25rem 0.55rem;
      border-radius: 5px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: all 0.2s ease;
      text-decoration: none;
      user-select: none;
      line-height: 1.2;
    }
    .btn-conn-chip:hover {
      background: rgba(56, 189, 248, 0.22);
      border-color: var(--neon-cyan);
      color: #fff;
      box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
      transform: translateY(-1px);
    }
    .btn-steam-join {
      background: linear-gradient(135deg, rgba(23, 29, 37, 0.95), rgba(10, 15, 26, 0.95));
      border: 1px solid rgba(102, 192, 244, 0.45);
      color: #66c0f4;
    }
    .btn-steam-join:hover {
      background: rgba(102, 192, 244, 0.25);
      border-color: #66c0f4;
      color: #fff;
      box-shadow: 0 0 14px rgba(102, 192, 244, 0.45);
    }

    /* Isolated Hero Card Connection Endpoint Pill */
    .btn-endpoint-pill,
    .endpoint-copy-pill {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.3);
      color: var(--neon-cyan);
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.22rem 0.55rem;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      outline: none;
      line-height: 1.2;
      user-select: none;
    }
    .btn-endpoint-pill:hover,
    .endpoint-copy-pill:hover {
      background: rgba(56, 189, 248, 0.15);
      border-color: var(--neon-cyan);
      box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
      transform: translateY(-1px);
    }
    .btn-endpoint-pill:active,
    .endpoint-copy-pill:active {
      transform: scale(0.97);
    }
    .btn-endpoint-pill.copied,
    .endpoint-copy-pill.copied {
      background: rgba(16, 185, 129, 0.25) !important;
      border-color: var(--neon-emerald) !important;
      color: var(--neon-emerald) !important;
      box-shadow: 0 0 14px rgba(5, 223, 114, 0.45) !important;
    }
    .btn-endpoint-pill .endpoint-copy-icon,
    .endpoint-copy-pill .endpoint-copy-icon {
      font-size: 0.75rem;
      opacity: 0.8;
      transition: opacity 0.15s ease;
    }
    .btn-endpoint-pill:hover .endpoint-copy-icon,
    .endpoint-copy-pill:hover .endpoint-copy-icon {
      opacity: 1;
    }

    /* Glowing Amber SuperAdmin Setup Token Badge */
    .token-badge-amber {
      background: rgba(245, 158, 11, 0.12);
      border: 1.5px solid rgba(245, 158, 11, 0.55);
      color: #f59e0b;
      box-shadow: 0 0 16px rgba(245, 158, 11, 0.25), inset 0 0 8px rgba(245, 158, 11, 0.1);
      border-radius: 6px;
      padding: 0.35rem 0.65rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-top: 0.45rem;
      animation: tokenGlow 2.5s infinite alternate ease-in-out;
    }
    @keyframes tokenGlow {
      0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
      100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.45); }
    }

    /* ==========================================================================
       THEME PRESETS (Obsidian Cyber, Emerald Ops, Midnight Void, Arctic Cobalt)
       ========================================================================== */
    body[data-theme="obsidian-cyber"],
    body:not([data-theme]) {
      --bg-base: #070b14;
      --bg-surface: #0c1220;
      --bg-card: rgba(15, 23, 42, 0.88);
      --bg-card-hover: rgba(22, 33, 58, 0.95);
      --border-subtle: rgba(51, 65, 85, 0.55);
      --border-glow: rgba(56, 189, 248, 0.35);
      --neon-cyan: #00f0ff;
      --accent-blue: #38bdf8;
    }

    body[data-theme="emerald-ops"] {
      --bg-base: #050d09;
      --bg-surface: #091811;
      --bg-card: rgba(10, 26, 18, 0.88);
      --bg-card-hover: rgba(14, 38, 26, 0.95);
      --border-subtle: rgba(22, 101, 52, 0.55);
      --border-glow: rgba(16, 185, 129, 0.45);
      --neon-cyan: #10b981;
      --accent-blue: #34d399;
      --accent-green: #05df72;
    }

    body[data-theme="midnight-void"] {
      --bg-base: #030508;
      --bg-surface: #080a12;
      --bg-card: rgba(15, 15, 26, 0.9);
      --bg-card-hover: rgba(24, 24, 42, 0.95);
      --border-subtle: rgba(76, 29, 149, 0.45);
      --border-glow: rgba(139, 92, 246, 0.45);
      --neon-cyan: #a855f7;
      --accent-blue: #c084fc;
    }

    body[data-theme="arctic-cobalt"] {
      --bg-base: #050c18;
      --bg-surface: #0a1628;
      --bg-card: rgba(12, 26, 50, 0.88);
      --bg-card-hover: rgba(18, 38, 72, 0.95);
      --border-subtle: rgba(30, 64, 175, 0.5);
      --border-glow: rgba(56, 189, 248, 0.45);
      --neon-cyan: #38bdf8;
      --accent-blue: #60a5fa;
    }

    /* ==========================================================================
       STREAMER MODE PRIVACY MASKING
       ========================================================================== */
    body.streamer-mode .streamer-mask,
    body.streamer-mode #ws-endpoint-val,
    body.streamer-mode #ws-ov-port,
    body.streamer-mode #ws-ov-voice-port,
    body.streamer-mode .conn-address,
    body.streamer-mode #hud-address,
    body.streamer-mode [id^="card-endpoint-"],
    body.streamer-mode [id^="public-endpoint-"],
    body.streamer-mode .token-badge-amber strong {
      filter: blur(6px) !important;
      user-select: none !important;
      transition: filter 0.2s ease;
    }
    body.streamer-mode .streamer-mask:hover,
    body.streamer-mode #ws-endpoint-val:hover,
    body.streamer-mode #ws-ov-port:hover,
    body.streamer-mode #ws-ov-voice-port:hover,
    body.streamer-mode .conn-address:hover,
    body.streamer-mode #hud-address:hover,
    body.streamer-mode [id^="card-endpoint-"]:hover,
    body.streamer-mode [id^="public-endpoint-"]:hover {
      filter: blur(2px) !important;
    }
    .btn-streamer-active {
      background: rgba(245, 158, 11, 0.22) !important;
      border-color: #f59e0b !important;
      color: #fbbf24 !important;
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
    }

    /* ==========================================================================
       PUBLIC STOREFRONT & MARKETING SHOWCASE
       ========================================================================== */
    .storefront-hero {
      background: linear-gradient(135deg, rgba(12, 18, 32, 0.95) 0%, rgba(7, 11, 20, 0.95) 100%);
      border: 1px solid var(--border-glow);
      border-radius: 14px;
      padding: 2.5rem 2rem;
      margin-bottom: 2rem;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
      position: relative;
      overflow: hidden;
    }
    .storefront-hero::before {
      content: "";
      position: absolute;
      top: -100px;
      right: -100px;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .storefront-hero-title {
      font-size: 2.1rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }
    .storefront-hero-title span {
      background: linear-gradient(90deg, #38bdf8, #00f0ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .storefront-hero-sub {
      font-size: 1rem;
      color: var(--text-secondary);
      max-width: 680px;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }
    .storefront-features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .storefront-feature-card {
      background: rgba(10, 15, 26, 0.75);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1.25rem;
      transition: all 0.25s ease;
    }
    .storefront-feature-card:hover {
      border-color: rgba(56, 189, 248, 0.45);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    .storefront-feature-icon {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
    }
    .storefront-feature-title {
      font-size: 0.98rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.35rem;
    }
    .storefront-feature-desc {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    .storefront-rate-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.4);
      color: var(--neon-emerald);
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 700;
      padding: 0.2rem 0.55rem;
      border-radius: 4px;
    }

    /* ==========================================================================
       CANARY BOOT WATCHDOG 60-SECOND HUD & CRASH GUARD
       ========================================================================== */
    .canary-watchdog-banner {
      background: rgba(12, 18, 32, 0.95);
      border: 1px solid rgba(0, 240, 255, 0.45);
      border-radius: 12px;
      padding: 1.25rem 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      animation: fadeIn 0.3s ease-in-out;
      position: relative;
      overflow: hidden;
    }
    .canary-watchdog-banner.healing {
      border-color: rgba(239, 68, 68, 0.6);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(239, 68, 68, 0.25);
    }
    .canary-watchdog-banner.healthy {
      border-color: rgba(16, 185, 129, 0.6);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.25);
    }
    .canary-progress-track {
      background: rgba(6, 9, 15, 0.85);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      height: 12px;
      overflow: hidden;
      margin: 0.85rem 0 0.5rem 0;
      position: relative;
    }
    .canary-progress-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #0284c7, #00f0ff, #10b981);
      box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
      transition: width 0.3s linear, background 0.3s ease;
      border-radius: 8px;
    }
    .canary-progress-fill.healing {
      background: linear-gradient(90deg, #b91c1c, #ef4444);
      box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
    }
    .canary-pill-verifying {
      background: rgba(245, 158, 11, 0.18);
      border: 1px solid rgba(245, 158, 11, 0.5);
      color: #fbbf24;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .canary-pill-healing {
      background: rgba(239, 68, 68, 0.2);
      border: 1px solid rgba(239, 68, 68, 0.6);
      color: #fca5a5;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .canary-pill-healthy {
      background: rgba(16, 185, 129, 0.2);
      border: 1px solid rgba(16, 185, 129, 0.6);
      color: var(--neon-emerald);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .canary-log-drawer {
      background: #03060a;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 0.85rem;
      margin-top: 0.75rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: #cbd5e1;
      max-height: 180px;
      overflow-y: auto;
      white-space: pre-wrap;
    }

    /* Curated Modpack Cards */
    .curated-packs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
      margin: 1.25rem 0;
    }
    .curated-pack-card {
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1.15rem;
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
    }
    .curated-pack-card:hover {
      border-color: rgba(0, 240, 255, 0.45);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    }
    .curated-pack-badge {
      display: inline-block;
      font-size: 0.68rem;
      font-family: var(--font-mono);
      padding: 2px 7px;
      border-radius: 4px;
      font-weight: 700;
    }

    /* Enclosed Container Workspace Architecture */
    .ws-header {
      background: rgba(12, 18, 32, 0.95);
      border: 1px solid var(--border-glow);
      border-radius: 14px;
      padding: 1.25rem 1.5rem;
      margin-bottom: 1.25rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
    }
    .ws-header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .ws-header-meta {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      flex-wrap: wrap;
    }
    .ws-header-actions {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }
    .ws-subtabs-nav {
      display: flex;
      gap: 0.4rem;
      border-bottom: 1px solid var(--border-subtle);
      overflow-x: auto;
      padding-bottom: 2px;
    }
    .ws-subtab-btn {
      background: transparent;
      border: none;
      border-bottom: 2px solid transparent;
      color: var(--text-secondary);
      font-size: 0.86rem;
      font-weight: 700;
      padding: 0.65rem 1.15rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .ws-subtab-btn:hover {
      color: #fff;
      border-bottom-color: rgba(0, 240, 255, 0.4);
    }
    .ws-subtab-btn.active {
      color: var(--neon-cyan);
      border-bottom-color: var(--neon-cyan);
      background: rgba(0, 240, 255, 0.06);
      border-radius: 6px 6px 0 0;
    }
    .ws-subtab-content {
      display: none;
      animation: fadeIn 0.25s ease-in-out;
    }
    .ws-subtab-content.active {
      display: block;
    }

    /* Workspace Console */
    .ws-console-box {
      background: #050811;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    }
    .ws-console-terminal {
      background: #03060a;
      color: #e2e8f0;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      line-height: 1.45;
      padding: 1.25rem;
      height: 480px;
      overflow-y: auto;
      white-space: pre-wrap;
      word-break: break-all;
    }
    .ws-audit-line {
      color: var(--neon-cyan);
      font-weight: 700;
      background: rgba(0, 240, 255, 0.08);
      padding: 2px 4px;
      border-left: 3px solid var(--neon-cyan);
      display: block;
      margin: 2px 0;
    }

    /* Modpack Expandable Drawer */
    .ws-pack-drawer {
      background: rgba(6, 11, 20, 0.95);
      border: 1px solid rgba(56, 189, 248, 0.25);
      border-radius: 8px;
      padding: 0.85rem 1rem;
      margin-top: 0.75rem;
      font-size: 0.78rem;
    }
    .ws-pack-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.35rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .ws-pack-item:last-child {
      border-bottom: none;
    }

    /* Interactive Mod Catalog */
    .ws-catalog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }
    .ws-catalog-card {
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      transition: all 0.2s ease;
    }
    .ws-catalog-card:hover {
      border-color: rgba(0, 240, 255, 0.4);
      transform: translateY(-2px);
    }
  
    /* =====================================================================
       Nodecraft / NodePanel 2 Gamer-First Card Architecture (Milestone 1)
       ===================================================================== */
    .nodepanel-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.6rem;
    }
    .nodepanel-ports-pill {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: #94a3b8;
      background: rgba(15, 23, 42, 0.65);
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 6px;
      padding: 2px 8px;
      letter-spacing: 0.02em;
    }
    .nodepanel-endpoint-container {
      margin-bottom: 0.65rem;
    }
    .nodepanel-endpoint-chip {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: 8px;
      padding: 0.5rem 0.75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
      user-select: none;
    }
    .nodepanel-endpoint-chip:hover {
      border-color: rgba(56, 189, 248, 0.75);
      background: rgba(30, 41, 59, 0.95);
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
      transform: translateY(-1px);
    }
    .nodepanel-endpoint-chip.copied {
      border-color: rgba(16, 185, 129, 0.8) !important;
      background: rgba(6, 78, 59, 0.45) !important;
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.45) !important;
    }
    .endpoint-chip-details {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .endpoint-chip-label {
      font-size: 0.62rem;
      font-weight: 700;
      color: #64748b;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      margin-bottom: 2px;
    }
    .endpoint-chip-address {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      font-weight: 700;
      color: #38bdf8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .nodepanel-endpoint-chip.copied .endpoint-chip-address {
      color: #34d399;
    }
    .endpoint-copy-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.35);
      color: #38bdf8;
      border-radius: 6px;
      padding: 4px 8px;
      font-size: 0.72rem;
      font-weight: 700;
      font-family: var(--font-mono);
      flex-shrink: 0;
      transition: all 0.2s ease;
    }
    .nodepanel-endpoint-chip:hover .endpoint-copy-badge {
      background: rgba(56, 189, 248, 0.28);
      border-color: rgba(56, 189, 248, 0.65);
      color: #fff;
    }
    .nodepanel-endpoint-chip.copied .endpoint-copy-badge {
      background: rgba(16, 185, 129, 0.3);
      border-color: rgba(16, 185, 129, 0.7);
      color: #6ee7b7;
    }
    .nodepanel-crew-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.65rem;
    }
    .nodepanel-crew-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.78rem;
      color: #e2e8f0;
      background: rgba(30, 41, 59, 0.65);
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 6px;
      padding: 4px 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .nodepanel-crew-pill:hover {
      background: rgba(51, 65, 85, 0.85);
      border-color: rgba(148, 163, 184, 0.35);
    }
    .nodepanel-sleep-chip {
      font-size: 0.72rem;
      background: rgba(30, 41, 59, 0.65);
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 6px;
      padding: 4px 8px;
      color: #94a3b8;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .nodepanel-sleep-chip:hover {
      background: rgba(51, 65, 85, 0.85);
      border-color: rgba(148, 163, 184, 0.35);
      color: #f1f5f9;
    }
    .nodepanel-action-strip {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 0.4rem;
      margin-top: 0.25rem;
    }
    .btn-nodepanel-action {
      font-family: var(--font-sans);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 7px 8px;
      border-radius: 6px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.15s ease;
      text-decoration: none;
    }
    .btn-nodepanel-action.btn-wake {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #0b1120;
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
      border-color: rgba(251, 191, 36, 0.5);
    }
    .btn-nodepanel-action.btn-wake:hover {
      filter: brightness(1.1);
      box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
      transform: translateY(-1px);
    }
    .btn-nodepanel-action.btn-join {
      background: linear-gradient(135deg, #0284c7, #0369a1);
      color: #fff;
      border-color: rgba(56, 189, 248, 0.4);
      box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    }
    .btn-nodepanel-action.btn-join:hover {
      background: linear-gradient(135deg, #0369a1, #075985);
      border-color: rgba(56, 189, 248, 0.7);
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
      transform: translateY(-1px);
    }
    .btn-nodepanel-action.btn-cycle,
    .btn-nodepanel-action.btn-backup {
      background: rgba(30, 41, 59, 0.85);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.25);
    }
    .btn-nodepanel-action.btn-cycle:hover,
    .btn-nodepanel-action.btn-backup:hover {
      background: rgba(51, 65, 85, 0.9);
      border-color: rgba(56, 189, 248, 0.5);
      color: #fff;
      transform: translateY(-1px);
    }

    /* Admin Ops Telemetry (Gated by Ops Lens) */
    .admin-ops-telemetry {
      display: none;
      margin-top: 0.6rem;
      padding-top: 0.6rem;
      border-top: 1px dashed rgba(148, 163, 184, 0.2);
    }
    body.ops-lens-active .admin-ops-telemetry {
      display: block !important;
      animation: fadeIn 0.2s ease-in-out;
    }

  
    /* =====================================================================
       Discord-Style Visual Player Cards Architecture (Milestone 3)
       ===================================================================== */
    .discord-player-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 0.85rem;
      margin-top: 0.85rem;
    }
    .discord-player-card {
      background: rgba(11, 17, 32, 0.88);
      border: 1px solid rgba(56, 189, 248, 0.22);
      border-radius: 10px;
      padding: 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
      position: relative;
    }
    .discord-player-card.player-card-online {
      border-color: rgba(16, 185, 129, 0.45);
      background: rgba(11, 22, 35, 0.9);
    }
    .discord-player-card:hover {
      border-color: var(--neon-cyan);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(0, 240, 255, 0.2);
    }
    .discord-player-top {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .discord-player-avatar-wrap {
      position: relative;
      width: 44px;
      height: 44px;
      flex-shrink: 0;
    }
    .discord-player-avatar {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      image-rendering: pixelated;
      background: #1e293b;
      border: 1px solid rgba(148, 163, 184, 0.25);
    }
    .discord-player-status-beacon {
      position: absolute;
      bottom: -2px;
      right: -2px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 2px solid #0b1120;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    }
    .discord-player-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
      flex: 1;
    }
    .discord-player-name {
      font-weight: 800;
      font-size: 0.92rem;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .player-rank-chip {
      font-size: 0.65rem;
      font-family: var(--font-mono);
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 4px;
      flex-shrink: 0;
    }
    .player-rank-chip.rank-op {
      background: rgba(245, 158, 11, 0.2);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.5);
    }
    .player-rank-chip.rank-wl {
      background: rgba(16, 185, 129, 0.2);
      color: #34d399;
      border: 1px solid rgba(16, 185, 129, 0.5);
    }
    .player-rank-chip.rank-member {
      background: rgba(100, 116, 139, 0.2);
      color: #94a3b8;
      border: 1px solid rgba(148, 163, 184, 0.3);
    }
    .discord-player-sub {
      font-size: 0.72rem;
      color: #94a3b8;
      font-family: var(--font-mono);
      margin-top: 2px;
    }
    .discord-player-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(6, 9, 15, 0.65);
      padding: 5px 8px;
      border-radius: 6px;
      font-size: 0.72rem;
      font-family: var(--font-mono);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.12);
    }
    .discord-player-actions {
      display: flex;
      gap: 0.35rem;
      margin-top: auto;
    }
    .btn-discord-action {
      flex: 1;
      padding: 5px 8px;
      font-size: 0.7rem;
      font-weight: 700;
      border-radius: 6px;
      border: 1px solid transparent;
      cursor: pointer;
      text-align: center;
      transition: all 0.15s ease;
      font-family: var(--font-mono);
    }
    .btn-discord-kick {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.4);
      color: #fca5a5;
    }
    .btn-discord-kick:hover {
      background: rgba(239, 68, 68, 0.35);
      border-color: rgba(239, 68, 68, 0.75);
      color: #fff;
    }
    .btn-discord-wl {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.4);
      color: #6ee7b7;
    }
    .btn-discord-wl:hover {
      background: rgba(16, 185, 129, 0.35);
      border-color: rgba(16, 185, 129, 0.75);
      color: #fff;
    }
    .btn-discord-rmwl {
      background: rgba(245, 158, 11, 0.15);
      border-color: rgba(245, 158, 11, 0.4);
      color: #fde047;
    }
    .btn-discord-rmwl:hover {
      background: rgba(245, 158, 11, 0.35);
      border-color: rgba(245, 158, 11, 0.75);
      color: #fff;
    }
    .btn-discord-ban {
      background: rgba(100, 116, 139, 0.15);
      border-color: rgba(148, 163, 184, 0.3);
      color: #94a3b8;
    }
    .btn-discord-ban:hover {
      background: rgba(239, 68, 68, 0.25);
      border-color: rgba(239, 68, 68, 0.6);
      color: #fca5a5;
    }
    .btn-discord-unban {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.4);
      color: #6ee7b7;
    }

    /* Nodecraft Display Typography (Rajdhani + Open Sans Pairing) */
    .brand-title,
    .catalog-section-title,
    .storefront-hero-title,
    .storefront-feature-title,
    .game-title-text,
    .hero-game-title,
    .nc-display-heading {
      font-family: var(--font-display);
      letter-spacing: 0.02em;
    }

    /* Nodecraft Dual-Track Tier Showcase & 1-2-3 Onboarding Strip */
    .nc-tier-showcase-wrap {
      container-type: inline-size;
      margin-bottom: 1.5rem;
    }
    .nc-tier-showcase-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 720px) {
      .nc-tier-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @supports (container-type: inline-size) {
      @container (min-width: 680px) {
        .nc-tier-showcase-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
    }
    .nc-tier-card {
      background: linear-gradient(145deg, rgba(19, 26, 39, 0.95), rgba(13, 19, 29, 0.98));
      border: 1.5px solid rgba(56, 189, 248, 0.28);
      border-radius: 12px;
      padding: 1.15rem 1.35rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .nc-tier-card:hover {
      transform: translateY(-2px);
      border-color: rgba(56, 189, 248, 0.65);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
    }
    .nc-tier-card.nc-tier-lite {
      border-color: rgba(45, 212, 167, 0.45);
    }
    .nc-tier-card.nc-tier-pro {
      border-color: rgba(61, 139, 253, 0.5);
    }
    .nc-steps-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.9rem;
      background: rgba(13, 19, 29, 0.9);
      border: 1px solid rgba(38, 50, 72, 0.85);
      border-radius: 12px;
      padding: 1rem 1.25rem;
      margin-bottom: 1.5rem;
    }
    .nc-step-item {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }
    .nc-step-num {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(61, 139, 253, 0.16);
      border: 1.5px solid #3d8bfd;
      color: #fff;
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
