
    body {
      background: #080c14;
    }
    .admin-nav {
      background: #0d131f;
      border-bottom: 1px solid var(--border-color);
      padding: 0.85rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .admin-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 800;
    }
    .admin-badge {
      background: rgba(0, 245, 155, 0.15);
      border: 1px solid rgba(0, 245, 155, 0.3);
      color: var(--brand-green);
      font-size: 0.72rem;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      font-weight: 700;
    }
    .admin-container {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1.5rem;
    }
    .admin-tabs {
      display: flex;
      gap: 0.75rem;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 1rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }
    .admin-tab-btn {
      background: #111827;
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      padding: 0.65rem 1.25rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transition);
    }
    .admin-tab-btn.active {
      background: var(--brand-green);
      color: #04140c;
      border-color: var(--brand-green);
      box-shadow: 0 0 15px var(--brand-green-glow);
    }
    .admin-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.5rem;
    }
    .item-card {
      background: #111827;
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .item-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
    }
    .item-card-img {
      width: 100%;
      height: 170px;
      object-fit: cover;
      background: #1a2234;
    }
    .item-card-body {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .item-badge-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
      font-size: 0.75rem;
    }
    .item-category {
      color: var(--brand-cyan);
      font-weight: 700;
      text-transform: uppercase;
    }
    .item-badge {
      background: rgba(255, 255, 255, 0.1);
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      color: #fff;
    }
    .item-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: #fff;
    }
    .item-desc {
      font-size: 0.85rem;
      color: var(--text-secondary);
      margin-bottom: 1.25rem;
      flex: 1;
      line-height: 1.5;
    }
    .item-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 0.85rem;
    }
    .item-price {
      font-family: var(--font-mono);
      font-weight: 800;
      color: var(--brand-green);
    }
    .action-btn-group {
      display: flex;
      gap: 0.4rem;
    }
    .btn-icon {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      color: #fff;
      padding: 0.4rem 0.7rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.8rem;
    }
    .btn-icon:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    .btn-icon.delete:hover {
      background: var(--brand-red);
      border-color: var(--brand-red);
    }
    /* Settings Form */
    .settings-panel {
      background: #111827;
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 2rem;
      max-width: 800px;
    }
    /* Login Modal Overlay */
    #loginScreen {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: #080c14;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 1rem;
    }
    .login-box {
      background: #111827;
      border: 1px solid rgba(0, 245, 155, 0.3);
      border-radius: 16px;
      width: 100%;
      max-width: 420px;
      padding: 2.5rem;
      box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px var(--brand-green-glow);
      text-align: center;
    }
    /* Global Toast */
    #adminToast {
      position: fixed;
      bottom: 25px;
      right: 25px;
      background: #111827;
      border: 1px solid var(--brand-green);
      color: #fff;
      padding: 0.85rem 1.35rem;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.6);
      transform: translateY(100px);
      opacity: 0;
      transition: var(--transition);
      z-index: 10000;
      font-size: 0.9rem;
    }
    #adminToast.show {
      transform: translateY(0);
      opacity: 1;
    }
    /* File Manager Styles */
    .file-dropzone {
      background: #0f1624;
      border: 2px dashed rgba(0, 245, 155, 0.4);
      border-radius: 16px;
      padding: 2.5rem 1.5rem;
      text-align: center;
      transition: var(--transition);
      cursor: pointer;
      margin-bottom: 2rem;
    }
    .file-dropzone:hover, .file-dropzone.dragover {
      border-color: var(--brand-green);
      background: rgba(0, 245, 155, 0.06);
      box-shadow: 0 0 25px rgba(0, 245, 155, 0.15);
    }
    .dropzone-icon {
      font-size: 3rem;
      margin-bottom: 0.75rem;
    }
    .file-item-card {
      background: #111827;
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
      transition: var(--transition);
    }
    .file-item-card:hover {
      border-color: var(--brand-green);
      box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }
    .file-item-header {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }
    .file-type-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      flex-shrink: 0;
    }
    .file-item-info {
      flex: 1;
      overflow: hidden;
    }
    .file-item-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-family: var(--font-mono);
    }
    .file-item-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.15rem;
    }
    .file-item-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 0.75rem;
    }
    .file-item-card { min-width: 0; }
    .file-item-info { min-width: 0; }
    .file-item-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
    .file-item-actions .btn {
      width: 100%; min-width: 0; min-height: 44px; padding: 0.7rem 0.8rem;
      font-size: 0.85rem; line-height: 1.35; white-space: normal;
      text-align: center; justify-content: center; overflow-wrap: anywhere;
    }
    .file-item-actions .file-publish { grid-column: 1 / -1; }
    .file-item-actions .file-delete {
      grid-column: 1 / -1; color: #ffb6bd; background: #351a25;
      border: 1px solid #c95567;
    }
    .file-item-actions .file-delete:hover { color: #fff; background: #662337; border-color: #ff8599; }
    .file-item-actions .btn:focus-visible { outline: 3px solid #9cf3ca; outline-offset: 3px; }
    @media (max-width: 360px) { .file-item-actions { grid-template-columns: minmax(0, 1fr); } }
  
