
    :root {
      --bg: #0b0a0d;
      --panel: #131117;
      --panel-2: #1c1922;
      --border: rgba(255, 255, 255, 0.1);
      --pink: #fe00c1;
      --pink-deep: #ff47d2;
      --text: #ffffff;
      --muted: #b6adc4;
      --danger: #ff4d6d;
      --success: #2ec4b6;
    }

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

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Poppins', system-ui, sans-serif;
      font-size: 15px;
      min-height: 100vh;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 1.75rem;
      background: rgba(21, 14, 31, 0.92);
      border-bottom: 1px solid rgba(254, 0, 193, 0.3);
      backdrop-filter: blur(12px);
    }

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

    .brand img { height: 32px; }

    .brand-tag {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--pink);
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      background: rgba(254, 0, 193, 0.14);
      border: 1px solid rgba(254, 0, 193, 0.35);
    }

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

    .sync-status {
      font-size: 0.78rem;
      color: var(--muted);
      margin-right: 0.4rem;
    }

    button, .btn {
      font-family: inherit;
      font-size: 0.85rem;
      font-weight: 700;
      padding: 0.58rem 1rem;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--panel-2);
      color: #fff;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: all 0.18s;
    }

    button:hover, .btn:hover { border-color: var(--pink); }

    .btn-primary {
      background: var(--pink);
      border-color: var(--pink);
      color: #0b0a0d;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    }

    .btn-primary:hover { background: var(--pink-deep); border-color: var(--pink-deep); }

    .btn-danger {
      background: rgba(255, 77, 109, 0.16);
      border-color: rgba(255, 77, 109, 0.45);
      color: #ff9eb0;
    }

    .layout {
      display: grid;
      grid-template-columns: 330px 1fr;
      min-height: calc(100vh - 68px);
    }

    @media (max-width: 900px) {
      .layout { grid-template-columns: 1fr; }
    }

    /* Sidebar Show List */
    .sidebar {
      border-right: 1px solid var(--border);
      background: rgba(21, 14, 31, 0.65);
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .sidebar-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.25rem;
    }

    .sidebar-head h2 {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--muted);
    }

    .show-item {
      display: flex;
      gap: 0.75rem;
      padding: 0.7rem;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--panel);
      cursor: pointer;
      transition: all 0.18s;
      align-items: center;
    }

    .show-item:hover { border-color: rgba(254, 0, 193, 0.5); }
    .show-item.active {
      border-color: var(--pink);
      background: rgba(254, 0, 193, 0.12);
    }
    .show-item.hidden-show { opacity: 0.52; }

    .show-thumb {
      width: 46px;
      height: 64px;
      border-radius: 6px;
      object-fit: cover;
      background: #090112;
      flex-shrink: 0;
    }

    .show-item-info { min-width: 0; flex: 1; }
    .show-item-title {
      font-size: 0.9rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .show-item-dates {
      font-size: 0.74rem;
      color: var(--muted);
      margin-top: 2px;
    }
    .badges {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 5px;
    }
    .mini-badge {
      font-size: 0.65rem;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      color: #e6e0ef;
    }
    .mini-badge.pink { background: rgba(254, 0, 193, 0.24); color: #ffb3ee; }

    /* Main Editor */
    .editor {
      padding: 1.75rem 2.25rem;
      max-width: 1050px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .card {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.35rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    h3 { font-size: 1.35rem; font-weight: 700; }

    .card h3 {
      font-size: 1.35rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    @media (max-width: 720px) {
      .grid-2 { grid-template-columns: 1fr; }
    }

    label {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
    }

    input[type="text"], input[type="number"], input[type="url"], textarea, select {
      font-family: inherit;
      font-size: 0.9rem;
      padding: 0.65rem 0.85rem;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--bg);
      color: #fff;
      width: 100%;
    }

    input:focus, textarea:focus, select:focus {
      outline: none;
      border-color: var(--pink);
    }

    .toggle-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
      align-items: center;
    }

    .checkbox-label {
      flex-direction: row;
      align-items: center;
      gap: 0.5rem;
      text-transform: none;
      letter-spacing: 0;
      font-size: 0.88rem;
      color: #fff;
      cursor: pointer;
    }

    /* Dropzone */
    .dropzone {
      border: 2px dashed rgba(254, 0, 193, 0.4);
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
      background: rgba(254, 0, 193, 0.04);
      cursor: pointer;
      transition: all 0.2s;
    }

    .dropzone.dragover {
      background: rgba(254, 0, 193, 0.16);
      border-color: var(--pink);
    }

    .photo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 0.75rem;
    }

    .photo-card {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border);
      aspect-ratio: 16/10;
      background: #000;
    }

    .photo-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .photo-del {
      position: absolute;
      top: 6px;
      right: 6px;
      padding: 0.25rem 0.5rem;
      font-size: 0.72rem;
      background: rgba(13, 2, 27, 0.85);
      border-color: rgba(255, 77, 109, 0.6);
    }

    .review-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .review-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      padding: 0.8rem 1rem;
      border-radius: 10px;
      background: var(--bg);
      border: 1px solid var(--border);
    }

    .toast {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      padding: 0.8rem 1.2rem;
      border-radius: 10px;
      background: var(--panel-2);
      border: 1px solid var(--pink);
      color: #fff;
      font-size: 0.88rem;
      font-weight: 600;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
      opacity: 0;
      transform: translateY(12px);
      transition: all 0.25s;
      pointer-events: none;
      z-index: 100;
    }

    .toast.show { opacity: 1; transform: translateY(0); }

    dialog {
      margin: auto;
      background: var(--panel);
      color: #fff;
      border: 1px solid var(--pink);
      border-radius: 16px;
      padding: 1.5rem;
      width: min(520px, 92vw);
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
    }

    dialog::backdrop {
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(4px);
    }
  
    h3, .brand-tag, .sidebar-head h2 { font-family: 'Barlow Condensed', sans-serif; }
    h3 { letter-spacing: 0.02em; text-transform: uppercase; }
    .brand-tag { font-weight: 700; }
    .hint { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
    .warn { background: rgba(255, 209, 102, 0.12); border: 1px solid rgba(255, 209, 102, 0.45); color: #ffd166; padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.84rem; }
    .tv-status { font-size: 0.78rem; color: var(--muted); }
    .tv-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #666; }
    .tv-status .dot.live { background: var(--success); }
    .poster-row { display: flex; gap: 1rem; align-items: flex-start; }
    .poster-row img { width: 96px; border-radius: 8px; border: 1px solid var(--border); background: #000; }
    .poster-row .dropzone { flex: 1; }
    .trailer-chip { display: flex; gap: 0.8rem; align-items: center; padding: 0.6rem; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
    .trailer-chip img { width: 120px; border-radius: 6px; }
    .photo-card { aspect-ratio: 9/14; }
    .login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
    .login-card { width: min(380px, 100%); background: var(--panel); border: 1px solid rgba(254,0,193,0.35); border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
    .login-card img { height: 30px; align-self: flex-start; }
    .error-text { color: #ff9eb0; font-size: 0.85rem; min-height: 1.2em; }
