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

:root {
  --pink: #ff1493;
  --pink-2: #ff4d9d;
  --pink-hover: #ff3da0;
  --pink-light: #ffb3d9;
  --bg: #14060d;
  --bg-2: #1d0a13;
  --bg-3: #2a0f1b;
  --card: #1f0b15;
  --border: #4d1030;
  --text: #fff0f6;
  --muted: #dba6c2;
  --green: #3ddc84;
  --glow: 0 0 12px rgba(255, 20, 147, 0.55), 0 0 30px rgba(255, 20, 147, 0.25);
  --glow-soft: 0 0 8px rgba(255, 20, 147, 0.35);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #12030a;
  background-image:
    radial-gradient(ellipse 60% 45% at 15% 12%, rgba(255, 20, 147, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 25%, rgba(255, 20, 147, 0.2), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 92%, rgba(255, 20, 147, 0.22), transparent 65%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.bg-text {
  position: fixed; inset: 0; overflow: hidden;
  pointer-events: none; z-index: -1;
}
.bg-text span {
  position: absolute; white-space: nowrap;
  font-weight: 900; letter-spacing: 8px; text-transform: uppercase;
  color: #ff1493; opacity: 0.08;
  animation: bgflow linear infinite;
  text-shadow: 0 0 30px rgba(255, 20, 147, 0.6), 0 0 70px rgba(255, 20, 147, 0.4);
}
@keyframes bgflow {
  0% { transform: translateX(-35vw); }
  100% { transform: translateX(135vw); }
}

a { color: inherit; text-decoration: none; }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 2, 7, 0.94);
}
.agegate.show { display: flex; }
.agegate .box {
  text-align: center; padding: 36px 44px; border-radius: 14px;
  background: linear-gradient(180deg, #200a15, #16040c);
  border: 1px solid rgba(255, 20, 147, 0.5);
  max-width: 520px; width: 92%;
  box-shadow: 0 0 40px rgba(255, 20, 147, 0.3), 0 24px 70px rgba(0, 0, 0, 0.7);
}
.agegate .logo {
  font-size: 42px; font-weight: 900; letter-spacing: 2px; color: #fff;
  text-shadow: 0 0 20px rgba(255, 20, 147, 0.9), 0 0 45px rgba(255, 20, 147, 0.6);
  margin-bottom: 8px;
}
.agegate .badge {
  display: inline-block; margin: 12px 0 14px; padding: 6px 18px;
  border: 1px solid var(--pink); border-radius: 4px; color: var(--pink-light);
  font-weight: 700; letter-spacing: 2px; font-size: 12px;
  background: rgba(255, 20, 147, 0.12); box-shadow: var(--glow-soft);
}
.agegate h1 { font-size: 19px; margin-bottom: 14px; color: #fff; }
.agegate p { color: var(--muted); margin-bottom: 24px; font-size: 13px; line-height: 1.7; }
.agegate .rules {
  text-align: left; margin-bottom: 20px; padding: 16px 18px;
  border-radius: 8px; background: rgba(255, 20, 147, 0.07);
  border: 1px solid rgba(255, 20, 147, 0.3);
}
.agegate .rules-title {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--pink-2);
  margin-bottom: 10px; text-shadow: var(--glow-soft);
}
.agegate .rules ul { list-style: none; }
.agegate .rules li {
  font-size: 12.5px; color: #e5b7d0; line-height: 1.65; padding-left: 18px;
  position: relative; margin-bottom: 5px;
}
.agegate .rules li::before {
  content: '♥'; position: absolute; left: 0; top: 0; color: var(--pink); font-size: 11px;
}
.agegate .btnrow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agegate .warn { font-size: 11px; color: var(--muted); margin-top: 16px; }

.btn {
  display: inline-block; padding: 12px 30px; border-radius: 8px;
  border: none; cursor: pointer; font-weight: 700; font-size: 14px;
  letter-spacing: 0.5px; transition: all 0.15s;
}
.btn-enter {
  background: linear-gradient(180deg, #ff4d9d, #ff1493);
  color: #fff; box-shadow: var(--glow);
}
.btn-enter:hover { filter: brightness(1.15); box-shadow: 0 0 20px rgba(255, 20, 147, 0.8); }
.btn-enter:active { transform: translateY(1px); }
.btn-exit { background: #3a1030; color: #ffc9e4; border: 1px solid rgba(255, 20, 147, 0.4); }
.btn-exit:hover { background: #4d1540; }

/* ---------- Social bar (top) ---------- */
.socialbar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; padding: 7px 14px;
  background: #17030d; border-bottom: 1px solid rgba(255, 20, 147, 0.35);
  font-size: 13px;
}
.socialbar .sb-label {
  font-weight: 800; letter-spacing: 1px; color: var(--pink-2);
  text-shadow: var(--glow-soft);
}
.profile-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 5px; border-radius: 24px;
  background: var(--bg-3); border: 1px solid rgba(255, 20, 147, 0.4);
  color: #fff; font-weight: 700; font-size: 13px;
  transition: all 0.13s;
}
.profile-chip:hover { border-color: var(--pink); box-shadow: var(--glow-soft); }
.profile-avatar-wrap { position: relative; display: inline-flex; }
.profile-avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--pink); box-shadow: 0 0 8px rgba(255, 20, 147, 0.6);
}
.profile-avatar.ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff4d9d, #ff1493);
  color: #fff; font-weight: 900; text-transform: uppercase;
  border: 2px solid var(--pink);
}
.profile-status {
  position: absolute; right: -2px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg-3);
  box-shadow: 0 0 6px rgba(61, 220, 132, 0.8);
}
.profile-name { color: #ffc9e4; }
.sb-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 13px; border-radius: 6px; font-weight: 600;
  background: var(--bg-3); border: 1px solid rgba(255, 20, 147, 0.35);
  color: #ffcfe6; transition: all 0.13s;
}
.sb-link:hover { border-color: var(--pink); color: #fff; box-shadow: var(--glow-soft); }
.sb-link.telegram:hover { border-color: #2aabee; box-shadow: 0 0 10px rgba(42, 171, 238, 0.5); }
.sb-link.discord:hover { border-color: #7289da; box-shadow: 0 0 10px rgba(114, 137, 218, 0.5); }
.sb-link.server:hover { border-color: var(--green); box-shadow: 0 0 10px rgba(61, 220, 132, 0.5); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 10px 24px;
  background: rgba(20, 4, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--pink);
  box-shadow: 0 4px 30px rgba(255, 20, 147, 0.25);
}
.brand { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.logo {
  font-size: 26px; font-weight: 900; letter-spacing: 1.5px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 0 16px rgba(255, 20, 147, 0.85), 0 0 40px rgba(255, 20, 147, 0.5);
}
.logo::before {
  content: '♥'; color: var(--pink); font-size: 24px;
  text-shadow: 0 0 14px rgba(255, 20, 147, 0.9), 0 0 30px rgba(255, 20, 147, 0.5);
}
.logo .dot { color: var(--pink); }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
.navbtn {
  padding: 9px 18px; border-radius: 6px; font-weight: 700; font-size: 13px;
  color: #ffc9e4; background: transparent;
  transition: all 0.13s; cursor: pointer;
}
.navbtn:hover { color: #fff; background: rgba(255, 20, 147, 0.15); box-shadow: var(--glow-soft); }
.navbtn.active {
  color: #fff; background: linear-gradient(180deg, #ff4d9d, #ff1493);
  box-shadow: var(--glow);
}
.search { display: flex; justify-self: center; width: 100%; max-width: 520px; }
.search input {
  flex: 1; padding: 10px 16px; border-radius: 6px 0 0 6px;
  border: 1px solid rgba(255, 20, 147, 0.4); border-right: none;
  background: #240a16; color: #fff; outline: none; font-size: 14px;
}
.search input:focus { border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 20, 147, 0.4); }
.search button {
  padding: 0 22px; border-radius: 0 6px 6px 0; border: none; cursor: pointer;
  background: linear-gradient(180deg, #ff4d9d, #ff1493); color: #fff;
  font-weight: 700; letter-spacing: 0.5px; box-shadow: var(--glow-soft);
}
.search button:hover { filter: brightness(1.15); box-shadow: var(--glow); }
.header-right { display: flex; align-items: center; justify-content: flex-end; }
.admin-btn {
  width: 40px; height: 40px; border-radius: 6px; display: flex;
  align-items: center; justify-content: center;
  background: var(--bg-3); border: 1px solid rgba(255, 20, 147, 0.35);
  color: var(--muted); font-size: 17px; cursor: pointer;
  transition: all 0.15s;
}
.admin-btn:hover { color: #fff; border-color: var(--pink); background: var(--pink); box-shadow: var(--glow); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 26px 20px 18px;
  border-bottom: 1px solid rgba(255, 20, 147, 0.3);
  background: linear-gradient(180deg, rgba(255, 20, 147, 0.12), transparent);
}
.hero h1 {
  font-size: 30px; font-weight: 900; color: #fff; margin-bottom: 6px;
  text-shadow: 0 0 18px rgba(255, 20, 147, 0.8), 0 0 50px rgba(255, 20, 147, 0.5);
}
.hero h1 span { color: var(--pink); }
.hero p { color: var(--muted); font-size: 14px; }

/* ---------- Layout ---------- */
.layout { display: flex; width: 100%; align-items: stretch; }
.sidebar {
  flex: 0 0 230px; min-width: 230px; position: sticky; top: 60px;
  height: calc(100vh - 60px); overflow-y: auto;
  background: linear-gradient(180deg, #1c0913, #15050d);
  border-right: 1px solid rgba(255, 20, 147, 0.3);
  padding: 12px 10px;
  transition: all 0.3s ease;
}
.sidebar.collapsed { flex-basis: 0; min-width: 0; padding: 0; border-width: 0; overflow: hidden; }
.sidebar .sb-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 11px 12px; margin-bottom: 10px; border-radius: 6px;
  background: var(--bg-3); border: 1px solid rgba(255, 20, 147, 0.4);
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; cursor: pointer;
  box-shadow: var(--glow-soft);
}
.sb-toggle .arrow { transition: transform 0.3s; font-size: 11px; color: var(--muted); }
.sidebar.collapsed .sb-toggle .arrow { transform: rotate(-90deg); }
.sidebar .sb-body { transition: opacity 0.25s; }
.sidebar.collapsed .sb-body { opacity: 0; pointer-events: none; }
.sb-hint {
  padding: 10px; text-align: center; color: var(--pink); font-weight: 700;
  writing-mode: vertical-rl; display: none; font-size: 12px;
  text-shadow: var(--glow-soft);
}
.sidebar.collapsed .sb-hint { display: block; }
.catbtn {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 8px 10px; margin-bottom: 4px; border-radius: 6px;
  background: transparent; border: 1px solid transparent;
  cursor: pointer; color: #e5b7d0; font-weight: 600; font-size: 13px;
  transition: all 0.13s;
}
.catbtn:hover { background: rgba(255, 20, 147, 0.1); border-color: rgba(255, 20, 147, 0.3); }
.catbtn.active {
  background: rgba(255, 20, 147, 0.16); border-color: var(--pink); color: #fff;
  box-shadow: var(--glow-soft);
}
.catbtn .cic {
  flex: 0 0 24px; width: 24px; height: 24px; display: flex;
  align-items: center; justify-content: center;
}
.catbtn .cic svg { width: 18px; height: 18px; stroke: #e08fc0; }
.catbtn.active .cic svg { stroke: #fff; }
.catbtn .cname { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content { flex: 1; min-width: 0; padding: 20px 26px 50px; }

/* ---------- Section + grid ---------- */
.section-title {
  font-size: 20px; font-weight: 800; margin: 4px 0 18px;
  display: flex; align-items: center; gap: 10px; color: #fff;
}
.section-title .cube {
  width: 12px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #ff4d9d, #ff1493);
  box-shadow: var(--glow);
}
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: linear-gradient(180deg, #240d18, #1a0810);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255, 20, 147, 0.3); display: block;
  transition: all 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--glow); }
.thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.thumb.grad-0 { background: linear-gradient(135deg, #ff1493, #7a0c44); }
.thumb.grad-1 { background: linear-gradient(135deg, #ff4d9d, #ff1493); }
.thumb.grad-2 { background: linear-gradient(135deg, #c22578, #6d0f3c); }
.thumb.grad-3 { background: linear-gradient(135deg, #ff1493, #8f1457); }
.thumb.grad-4 { background: linear-gradient(135deg, #ffb3d9, #ff1493); }
.thumb .playicon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  transition: all 0.15s;
}
.thumb .playicon svg { width: 26px; height: 26px; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 20, 147, 0.9)); }
.card:hover .playicon { background: rgba(255, 20, 147, 0.8); box-shadow: var(--glow); }
.thumb .dur {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 3px;
  background: rgba(0, 0, 0, 0.8); font-size: 12px; font-weight: 700;
}
.thumb .pinkbadge {
  position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 3px;
  background: rgba(255, 20, 147, 0.85); color: #fff; font-size: 11px; font-weight: 700;
  box-shadow: var(--glow-soft);
}
.card .info { padding: 10px 12px 12px; }
.card .title {
  font-weight: 700; font-size: 13.5px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 36px;
}
.card .title:hover { color: var(--pink-2); }
.card .meta { display: flex; gap: 14px; margin-top: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.card .uploader { color: #ff7ebc; font-size: 12.5px; margin-top: 6px; font-weight: 600; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h2 { color: #fff; margin-bottom: 8px; }

/* ---------- Site lock (login required) ---------- */
.siteloct {
  position: fixed; inset: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 2, 7, 0.96);
}
.siteloct-box {
  text-align: center; padding: 34px 42px; border-radius: 14px;
  background: linear-gradient(180deg, #200a15, #16040c);
  border: 1px solid rgba(255, 20, 147, 0.5);
  max-width: 460px; width: 92%;
  box-shadow: 0 0 40px rgba(255, 20, 147, 0.3), 0 24px 70px rgba(0, 0, 0, 0.7);
}
.siteloct-box .logo {
  font-size: 40px; font-weight: 900; letter-spacing: 2px; color: #fff;
  text-shadow: 0 0 20px rgba(255, 20, 147, 0.9), 0 0 45px rgba(255, 20, 147, 0.6);
}
.siteloct-box .badge {
  display: inline-block; margin: 12px 0 14px; padding: 6px 18px;
  border: 1px solid var(--pink); border-radius: 4px; color: var(--pink-light);
  font-weight: 700; letter-spacing: 2px; font-size: 12px;
  background: rgba(255, 20, 147, 0.12); box-shadow: var(--glow-soft);
}
.siteloct-box h1 { font-size: 18px; margin-bottom: 16px; color: #fff; }
.siteloct-box .warn { font-size: 11px; color: var(--muted); margin-top: 16px; }

/* ---------- Thumbnails ---------- */
.thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.thumb .pinkbadge, .thumb .playicon, .thumb .dur { z-index: 1; }

/* ---------- Video page ---------- */
.player-wrap { max-width: 980px; margin: 0 auto; padding: 20px 22px 50px; }
.player {
  border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: #000;
  border: 1px solid rgba(255, 20, 147, 0.5); box-shadow: var(--glow);
}
.player video { width: 100%; height: 100%; display: block; }
.vtitle { font-size: 22px; font-weight: 800; margin: 16px 0 8px; }
.vmeta { display: flex; gap: 18px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; align-items: center; }
.vmeta b { color: #fff; }
.statbtn {
  padding: 8px 18px; border-radius: 6px; border: 1px solid rgba(255, 20, 147, 0.4);
  background: var(--bg-3); color: #fff; cursor: pointer;
  font-weight: 700; font-size: 13px; transition: all 0.13s;
}
.statbtn:hover { background: var(--pink); border-color: var(--pink); box-shadow: var(--glow); }
.vdesc {
  margin-top: 18px; padding: 16px 18px; border-radius: 8px;
  background: linear-gradient(180deg, #1f0b15, #16040c);
  line-height: 1.7; color: #eec8de; border: 1px solid rgba(255, 20, 147, 0.3);
}
.vdesc b { color: var(--pink-2); }
.vtags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tag {
  padding: 4px 12px; border-radius: 5px; background: var(--bg-3);
  border: 1px solid rgba(255, 20, 147, 0.35); font-size: 12px; color: #ffc9e4; font-weight: 600;
}

/* ---------- Upload ---------- */
.upload-wrap { max-width: 620px; margin: 0 auto; padding: 24px 22px 50px; }
.upload-card {
  background: linear-gradient(180deg, #1f0b15, #15040c);
  border: 1px solid rgba(255, 20, 147, 0.35); border-radius: 12px; padding: 26px;
  box-shadow: 0 10px 40px rgba(255, 20, 147, 0.12);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: #ffc9e4; font-size: 13.5px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 6px; color: #fff;
  background: #240a16; border: 1px solid rgba(255, 20, 147, 0.35); outline: none; font-family: inherit; font-size: 14px;
}
.field input:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 20, 147, 0.35); }
.dropzone {
  border: 2px dashed rgba(255, 20, 147, 0.5); border-radius: 8px; padding: 30px;
  text-align: center; color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--pink); background: rgba(255, 20, 147, 0.07); box-shadow: var(--glow-soft); }
.btn-upload { width: 100%; padding: 13px; font-size: 15px; }
.progress { margin-top: 14px; height: 8px; border-radius: 5px; background: var(--bg-3); overflow: hidden; display: none; }
.progress .bar { height: 100%; width: 0%; background: linear-gradient(90deg, #ff4d9d, #ff1493); box-shadow: var(--glow-soft); transition: width 0.2s; }
.notice { margin-top: 12px; padding: 11px 14px; border-radius: 6px; display: none; font-weight: 600; font-size: 13px; }
.notice.ok { display: block; background: rgba(0, 255, 150, 0.1); border: 1px solid rgba(0, 255, 150, 0.4); color: var(--green); }
.notice.err { display: block; background: rgba(255, 0, 80, 0.12); border: 1px solid rgba(255, 0, 80, 0.5); color: #ff8b9e; }

/* ---------- Admin ---------- */
.login-card {
  max-width: 400px; margin: 80px auto; background: linear-gradient(180deg, #1f0b15, #15040c);
  border: 1px solid rgba(255, 20, 147, 0.4); border-radius: 12px; padding: 32px; text-align: center;
  box-shadow: 0 0 40px rgba(255, 20, 147, 0.15);
}
.admintab {
  display: inline-block; padding: 9px 20px; border-radius: 6px; cursor: pointer; font-weight: 700;
  background: var(--bg-3); border: 1px solid rgba(255, 20, 147, 0.35);
  color: var(--muted); font-size: 13px; transition: all 0.13s;
}
.admintab:hover { color: #fff; }
.admintab.active {
  background: linear-gradient(180deg, #ff4d9d, #ff1493); color: #fff;
  border-color: var(--pink); box-shadow: var(--glow);
}
.avideo {
  display: flex; gap: 14px; align-items: center; padding: 13px 16px; margin-bottom: 10px;
  background: var(--card); border: 1px solid rgba(255, 20, 147, 0.3); border-radius: 8px;
}
.avideo .atitle { flex: 1; font-weight: 700; }
.avideo .astatus { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 4px; }
.avideo .astatus.pending { background: rgba(255, 180, 0, 0.15); color: #ffd166; }
.avideo .astatus.approved { background: rgba(0, 255, 150, 0.12); color: var(--green); }
.aminibtn {
  padding: 6px 13px; border-radius: 5px; border: none; cursor: pointer; font-weight: 700; font-size: 12px; color: #fff;
}
.aminibtn.ok { background: var(--green); color: #000; }
.aminibtn.ok:hover { background: #2cc974; }
.aminibtn.del { background: #e0245e; }
.aminibtn.del:hover { background: var(--pink); box-shadow: var(--glow-soft); }

.profile-card {
  background: linear-gradient(180deg, #1f0b15, #15040c);
  border: 1px solid rgba(255, 20, 147, 0.35); border-radius: 10px; padding: 22px; margin-top: 20px;
}

.footer {
  text-align: center; padding: 26px; color: var(--muted); font-size: 12px;
  border-top: 1px solid rgba(255, 20, 147, 0.3);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #16040c; }
::-webkit-scrollbar-thumb { background: linear-gradient(#ff4d9d, #b31269); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 12px 24px; border-radius: 8px; z-index: 999;
  background: linear-gradient(180deg, #ff4d9d, #ff1493); color: #fff; font-weight: 700;
  box-shadow: var(--glow), 0 10px 30px rgba(0, 0, 0, 0.5); display: none; animation: popin 0.2s;
}
@keyframes popin { from { opacity: 0; transform: translateX(-50%) scale(0.95); } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  header { grid-template-columns: 1fr; gap: 10px; }
  .search { justify-self: stretch; max-width: none; }
  .header-right { justify-content: flex-start; }
  .layout { flex-direction: column; }
  .sidebar { position: static; flex: 1; height: auto; max-height: none; }
  .sidebar.collapsed { flex-basis: auto; min-width: 0; padding: 10px; border-width: 1px; }
  .sidebar.collapsed .sb-body { display: none; }
  .sb-hint { display: none !important; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
}
