/* ═══════════════════════════════════════════════════════
   AsianCrush — Main Stylesheet
   Dark cinematic video streaming theme
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:        #0a0a0a;
  --surface:   #111111;
  --surface-2: #1a1a1a;
  --border:    rgba(255,255,255,0.08);
  --primary:   #e11d48;
  --primary-h: #f43f5e;
  --text:      #fafafa;
  --muted:     #a3a3a3;
  --radius:    12px;
  --font:      'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Container ───────────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ── Header / Nav ────────────────────────────────────── */
#ac-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#ac-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 32px;
}
.ac-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; color: var(--primary);
  letter-spacing: -.3px; flex-shrink: 0;
}
.ac-logo svg { width: 24px; height: 24px; fill: var(--primary); }
.ac-nav { display: flex; align-items: center; gap: 24px; }
.ac-nav a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
.ac-nav a:hover, .ac-nav a.active { color: var(--text); }
.ac-header-right { display: flex; align-items: center; gap: 8px; }
.ac-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--muted); transition: color .15s, background .15s;
}
.ac-icon-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.ac-icon-btn svg { width: 20px; height: 20px; }
.ac-mobile-menu-btn { display: none; }

/* Mobile nav */
@media (max-width: 768px) {
  .ac-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,10,10,.97); border-bottom: 1px solid var(--border); padding: 16px 20px; gap: 16px; }
  .ac-nav.open { display: flex; }
  .ac-mobile-menu-btn { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────── */
.ac-hero {
  position: relative; width: 100%; height: 70vh; overflow: hidden; background: #000;
}
@media (min-width: 768px) { .ac-hero { height: 85vh; } }
.ac-hero-bg { position: absolute; inset: 0; }
.ac-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.ac-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(10,10,10,.55) 50%, transparent 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,.15) 40%, transparent 100%);
}
.ac-hero-content {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px 96px;
}
@media (min-width: 768px) { .ac-hero-content { padding: 0 48px 112px; } }
@media (min-width: 1024px) { .ac-hero-content { padding: 0 96px 128px; } }
.ac-hero-inner { max-width: 760px; }
.ac-hero-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ac-hero-badge {
  padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.ac-hero-badge.featured { background: rgba(225,29,72,.9); color: #fff; }
.ac-hero-badge.category { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.ac-hero h1 {
  font-size: clamp(28px, 5vw, 68px); font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.ac-hero p {
  font-size: clamp(14px, 1.5vw, 18px); color: rgba(255,255,255,.8);
  line-height: 1.65; max-width: 600px; margin-bottom: 28px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-hero-actions { display: flex; align-items: center; gap: 14px; }
.ac-btn-play {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; padding: 14px 32px;
  border-radius: 50px; font-size: 16px; font-weight: 700;
  transition: background .15s, transform .15s; box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.ac-btn-play svg { width: 20px; height: 20px; fill: currentColor; }
.ac-btn-play:hover { background: rgba(255,255,255,.9); transform: scale(1.03); }
.ac-btn-more {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); color: #fff; padding: 14px 32px;
  border-radius: 50px; font-size: 16px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .15s; backdrop-filter: blur(8px);
}
.ac-btn-more svg { width: 20px; height: 20px; }
.ac-btn-more:hover { background: rgba(255,255,255,.2); }
.ac-hero-timer {
  position: absolute; bottom: 28px; right: 28px; z-index: 10;
  padding: 6px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.3); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; color: #fff;
}

/* ── Video Row ────────────────────────────────────────── */
.ac-row { padding: 24px 0 8px; }
.ac-row-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ac-row-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--text);
}
.ac-row-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 22px; background: var(--primary); border-radius: 3px;
}
.ac-row-viewall {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color .15s;
}
.ac-row-viewall:hover { color: var(--text); }
.ac-row-viewall svg { width: 15px; height: 15px; }
.ac-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent;
}
.ac-scroll::-webkit-scrollbar { height: 4px; }
.ac-scroll::-webkit-scrollbar-track { background: transparent; }
.ac-scroll::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
.ac-scroll .ac-card { min-width: 200px; flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .ac-scroll .ac-card { min-width: 240px; } }

/* ── Video Card ───────────────────────────────────────── */
.ac-card {
  position: relative; display: block;
  aspect-ratio: 9/16; border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.ac-card:hover {
  border-color: rgba(225,29,72,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(225,29,72,.15);
}
.ac-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s;
}
.ac-card:hover img { transform: scale(1.06); }
.ac-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
  opacity: .85; pointer-events: none;
}
.ac-card-body {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px;
}
.ac-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.ac-card-badge {
  padding: 4px 9px; font-size: 10px; font-weight: 700;
  background: rgba(0,0,0,.65); backdrop-filter: blur(8px);
  border-radius: 5px; color: #fff; border: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase; letter-spacing: .8px; white-space: nowrap;
}
.ac-card-badge.featured { background: rgba(225,29,72,.85); border-color: transparent; }
.ac-card-dur {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px; font-size: 10px; font-weight: 600;
  background: rgba(0,0,0,.65); backdrop-filter: blur(8px);
  border-radius: 5px; color: #fff; border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.ac-card-dur svg { width: 10px; height: 10px; opacity: .7; }
.ac-card-bottom { transform: translateY(4px); transition: transform .3s; }
.ac-card:hover .ac-card-bottom { transform: translateY(0); }
.ac-card-title {
  font-size: 14px; font-weight: 700; color: #fff; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px; text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.ac-card-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.65); font-weight: 500; }
.ac-card-meta svg { width: 11px; height: 11px; }
.ac-card-play {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.ac-card:hover .ac-card-play { opacity: 1; }
.ac-card-play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(225,29,72,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(225,29,72,.5);
  transform: scale(.88); transition: transform .3s;
}
.ac-card:hover .ac-card-play-btn { transform: scale(1); }
.ac-card-play-btn svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }

/* ── Category Grid Page ───────────────────────────────── */
.ac-category-header {
  background: rgba(255,255,255,.02); border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.ac-category-header-inner {
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 768px) {
  .ac-category-header-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.ac-category-icon {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.ac-category-icon .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(225,29,72,.12);
  display: flex; align-items: center; justify-content: center;
}
.ac-category-icon .icon-wrap svg { width: 22px; height: 22px; color: var(--primary); }
.ac-category-icon span {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.ac-category-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -.03em; }
.ac-sort-wrap { display: flex; align-items: center; gap: 10px; }
.ac-sort-wrap label { font-size: 13px; color: var(--muted); font-weight: 500; }
.ac-sort-wrap select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-family: var(--font);
  outline: none; cursor: pointer;
}
.ac-sort-wrap select:focus { border-color: var(--primary); }
.ac-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding: 40px 0 80px;
}
@media (min-width: 640px)  { .ac-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .ac-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .ac-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── Watch Page ───────────────────────────────────────── */
.ac-watch-wrap {
  display: flex; flex-direction: column; gap: 36px;
  padding: 24px 0 80px; min-height: 100vh;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .ac-watch-wrap { flex-direction: row; gap: 48px; align-items: flex-start; }
}
.ac-watch-main {
  width: 100%;
  max-width: 420px;
  min-width: 0;
  flex-shrink: 0;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .ac-watch-main { margin: 0; }
}
/* Reel player — always portrait 9:16, no wide override */
.ac-player {
  width: 100%; background: #000; border-radius: 16px; overflow: hidden;
  position: relative; box-shadow: 0 25px 80px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.06);
  aspect-ratio: 9/16;
}
.ac-player img.blur-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .4; filter: blur(18px); transform: scale(1.1);
}
.ac-player-inner {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); backdrop-filter: blur(2px);
}
.ac-player-frame {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ac-player-frame img { width: 100%; height: 100%; object-fit: cover; }
.ac-player-frame-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.ac-player-frame-overlay:hover { background: rgba(0,0,0,.15); }
.ac-player-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(225,29,72,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(225,29,72,.6);
  transition: transform .2s;
}
.ac-player-btn:hover { transform: scale(1.08); }
.ac-player-btn svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.ac-video-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-top: 20px; }
.ac-tag {
  padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: rgba(225,29,72,.1); color: var(--primary); border: 1px solid rgba(225,29,72,.2);
  text-transform: uppercase; letter-spacing: .5px;
}
.ac-tag.plain { background: var(--surface-2); color: var(--muted); border-color: var(--border); text-transform: none; }
.ac-watch-title {
  font-size: clamp(20px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.15; margin-bottom: 14px;
}
.ac-watch-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: 13px;
}
.ac-watch-meta .item { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
.ac-watch-meta .item.bold { color: var(--text); font-weight: 700; }
.ac-watch-meta .item svg { width: 15px; height: 15px; color: var(--primary); }
.ac-watch-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }
.ac-watch-desc { color: rgba(255,255,255,.75); line-height: 1.75; font-size: 15px; }
.ac-source-box {
  margin-top: 28px; padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  display: flex; gap: 12px; font-size: 13px;
}
.ac-source-box svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; margin-top: 1px; }
.ac-source-box strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 13px; }
.ac-source-box span { color: var(--muted); }
.ac-watch-sidebar {
  width: 100%; flex-shrink: 0;
}
@media (min-width: 1024px) { .ac-watch-sidebar { width: 380px; } }
.ac-sidebar-title {
  font-size: 18px; font-weight: 800; border-bottom: 1px solid var(--border);
  padding-bottom: 14px; margin-bottom: 16px;
}
.ac-related-item {
  display: flex; gap: 14px; padding: 8px; margin: -8px;
  border-radius: 12px; transition: background .15s; cursor: pointer;
}
.ac-related-item:hover { background: rgba(255,255,255,.04); }
.ac-related-item + .ac-related-item { margin-top: 4px; }
.ac-related-thumb {
  width: 110px; aspect-ratio: 9/16; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; position: relative; border: 1px solid var(--border);
  transition: border-color .15s;
}
.ac-related-item:hover .ac-related-thumb { border-color: rgba(225,29,72,.3); }
.ac-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-related-thumb .dur {
  position: absolute; bottom: 4px; right: 4px;
  background: rgba(0,0,0,.8); backdrop-filter: blur(6px);
  padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff;
}
.ac-related-info { flex: 1; padding: 4px 0; }
.ac-related-title {
  font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.ac-related-item:hover .ac-related-title { color: var(--primary); }
.ac-related-meta { font-size: 11px; color: var(--muted); }

/* ── Search Page ──────────────────────────────────────── */
.ac-search-page { min-height: 100vh; padding: 40px 0 80px; }
.ac-search-title {
  text-align: center; font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 32px;
}
.ac-search-box { position: relative; max-width: 720px; margin: 0 auto 48px; }
.ac-search-box input {
  width: 100%; height: 64px; padding: 0 56px 0 56px;
  font-size: 16px; font-family: var(--font); color: var(--text);
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 16px; outline: none; transition: border-color .2s;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.ac-search-box input::placeholder { color: var(--muted); }
.ac-search-box input:focus { border-color: var(--primary); }
.ac-search-box .icon-left { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.ac-search-box .spin { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--primary); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.ac-search-hint {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.ac-search-hint svg { width: 60px; height: 60px; opacity: .25; margin: 0 auto 16px; }
.ac-search-results-header {
  font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--border);
  padding-bottom: 10px; margin-bottom: 24px;
}
.ac-empty {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.ac-empty svg { width: 64px; height: 64px; opacity: .3; margin: 0 auto 16px; }
.ac-empty h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ac-empty p { font-size: 14px; }

/* ── Footer ───────────────────────────────────────────── */
#ac-footer {
  border-top: 1px solid var(--border);
  padding: 32px 20px; margin-top: 48px;
  text-align: center; color: var(--muted); font-size: 13px;
}

/* ── Skeleton ─────────────────────────────────────────── */
.ac-skeleton {
  background: var(--surface);
  border-radius: 8px; animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ── Admin ────────────────────────────────────────────── */
#ac-admin-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px; font-family: var(--font); }
#ac-admin-wrap h1 {
  font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
#ac-admin-wrap h1 .badge {
  font-size: 11px; background: var(--primary); color: #fff;
  padding: 3px 9px; border-radius: 20px; font-weight: 700; letter-spacing: .5px;
}
.ac-admin-sub { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.ac-admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 28px; }
.ac-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 16px; }
.ac-stat .label { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin-bottom: 6px; }
.ac-stat .value { font-size: 30px; font-weight: 800; color: var(--primary); }
.ac-admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.ac-admin-card-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.ac-admin-card-head h2 { font-size: 14px; font-weight: 700; color: var(--text); }
.ac-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.ac-tbl th { background: var(--surface-2); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.ac-tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.ac-tbl tr:last-child td { border-bottom: none; }
.ac-tbl tr:hover td { background: rgba(255,255,255,.02); }
.ac-tbl td a { color: var(--primary); }
.ac-tbl-thumb { width: 36px; height: 64px; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); }
.ac-tbl-no-thumb { width: 36px; height: 64px; background: var(--surface-2); border-radius: 5px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.ac-badge-status { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.ac-badge-status.published { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.ac-badge-status.draft { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.ac-badge-status.featured { background: rgba(225,29,72,.12); color: var(--primary); border: 1px solid rgba(225,29,72,.2); }
.ac-actions-cell { display: flex; gap: 6px; flex-wrap: nowrap; }
.ac-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .15s; border: 1px solid transparent; font-family: var(--font); }
.ac-btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.ac-btn-primary:hover { background: var(--primary-h); }
.ac-btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.ac-btn-secondary:hover { border-color: var(--muted); }
.ac-btn-danger { background: rgba(225,29,72,.1); color: var(--primary); border-color: rgba(225,29,72,.25); }
.ac-btn-danger:hover { background: rgba(225,29,72,.2); }
.ac-admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.ac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 680px) { .ac-form-grid { grid-template-columns: 1fr; } }
.ac-form-group { display: flex; flex-direction: column; gap: 6px; }
.ac-form-group label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.ac-form-group label .req { color: var(--primary); }
.ac-form-group input, .ac-form-group select, .ac-form-group textarea {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 9px 12px; border-radius: 7px; font-size: 13px; font-family: var(--font);
  outline: none; transition: border-color .15s; width: 100%;
}
.ac-form-group input:focus, .ac-form-group select:focus, .ac-form-group textarea:focus { border-color: var(--primary); }
.ac-form-group textarea { min-height: 90px; resize: vertical; }
.ac-form-group .hint { font-size: 11px; color: var(--muted); }
.ac-form-actions { display: flex; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 8px; }
.ac-notice { padding: 11px 16px; border-radius: 7px; font-size: 13px; margin-bottom: 16px; border-left: 3px solid; }
.ac-notice.success { background: rgba(34,197,94,.08); border-color: #4ade80; color: #4ade80; }
.ac-notice.error { background: rgba(225,29,72,.08); border-color: var(--primary); color: var(--primary); }

/* ── Back button ──────────────────────────────────────── */
.ac-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 24px; transition: color .15s; }
.ac-back:hover { color: var(--text); }
.ac-back svg { width: 16px; height: 16px; }

/* ── Utilities ────────────────────────────────────────── */
.overflow-hidden { overflow: hidden; }
.mt-neg { margin-top: -4rem; }
.pb-20 { padding-bottom: 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── File upload drop zone ──────────────────────────── */
.ac-file-drop {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color .2s, background .2s;
    cursor: default;
}
.ac-file-drop:hover { border-color: var(--primary); background: rgba(225,29,72,.03); }
.ac-file-chosen {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(225,29,72,.06);
    border: 1px solid rgba(225,29,72,.2);
    border-radius: 6px;
    font-size: 12px;
}
