/* ============================================================
   ChatBase — Admin pages Safety / Live & Fun / Coins & Shop / Insights /
   Control / My Desk (adminx1.js, adminx2.js, adminx3.js)
   ============================================================ */
.ax-list { display: grid; gap: 8px; margin-top: 10px; }
.ax-empty { text-align: center; padding: 14px 0; }
.ax-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 10px 12px; border-radius: 14px;
    border: 1px solid var(--neo-line, rgba(255,255,255,.08)); background: rgba(255,255,255,.035);
}
.ax-row-main { flex: 1 1 260px; min-width: 0; display: grid; gap: 4px; }
.ax-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.ax-acts .ad-btn { padding: 5px 10px; font-size: 12.5px; }
.ax-hot { border-color: rgba(255,90,122,.45); background: rgba(255,90,122,.07); }
.ax-live { border-color: rgba(52,232,176,.45); background: rgba(52,232,176,.07); }
.ax-dim { opacity: .55; }
.ax-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; background: rgba(255,255,255,.08); }
.ax-quote { font-size: 13.5px; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.25); white-space: pre-wrap; overflow-wrap: anywhere; }
.ax-who { background: none; border: 0; padding: 0; color: var(--neo-accent, #8ab4ff); font: inherit; font-weight: 600; cursor: pointer; }
.ax-who:hover { text-decoration: underline; }
.ax-x { background: none; border: 0; color: var(--neo-dim, rgba(235,235,245,.6)); cursor: pointer; font-size: 13px; padding: 2px 6px; border-radius: 6px; }
.ax-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.ax-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ax-strike { text-decoration: line-through; }

/* Forms */
.ax-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 10px; }
.ax-form label { display: grid; gap: 4px; font-size: 12px; color: var(--neo-dim, rgba(235,235,245,.6)); flex: 1 1 150px; min-width: 0; }
.ax-form label.ax-wide { flex-basis: 100%; }
.ax-form textarea.ad-input { resize: vertical; font: inherit; }
.ax-form input[type=color] { height: 38px; padding: 3px; }
.ax-check { display: flex !important; align-items: center; gap: 8px; cursor: pointer; flex: 0 0 auto !important; }
#axShop.ax-no-b .ax-col-b, #axShop.ax-no-a .ax-col-a { display: none; }
.ax-sw { display: inline-block; width: 18px; height: 18px; border-radius: 6px; vertical-align: -4px; }

/* Strikes */
.ax-det { display: block; }
.ax-det summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.ax-det summary::-webkit-details-marker { display: none; }
.ax-hist { font-size: 13px; padding: 6px 0; border-top: 1px solid var(--neo-line, rgba(255,255,255,.08)); }
.ax-det[open] .ad-btn { margin-top: 8px; }

/* Live map */
.ax-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ax-map-room { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--neo-line, rgba(255,255,255,.08)); display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.ax-map-head { width: 100%; display: flex; justify-content: space-between; margin-bottom: 4px; }
.ax-map-head span { font-weight: 800; color: var(--neo-accent, #8ab4ff); }
.ax-map-person { font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: rgba(52,232,176,.12); }
.ax-map-person.idle { background: rgba(255,180,67,.12); }

/* Room watch */
.ax-feed { max-height: 420px; overflow-y: auto; display: grid; gap: 2px; padding: 8px; border-radius: 14px; background: rgba(0,0,0,.25); }
.ax-feed-row { position: relative; font-size: 13.5px; padding: 4px 30px 4px 6px; border-radius: 8px; overflow-wrap: anywhere; }
.ax-feed-row:hover { background: rgba(255,255,255,.05); }
.ax-feed-row .ax-x { position: absolute; right: 4px; top: 2px; opacity: 0; }
.ax-feed-row:hover .ax-x { opacity: 1; }

/* Tables (Insights) */
.ax-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.ax-table th { text-align: left; font-weight: 600; color: var(--neo-dim, rgba(235,235,245,.6)); padding: 6px 8px; border-bottom: 1px solid var(--neo-line, rgba(255,255,255,.08)); }
.ax-table td { padding: 6px 8px; border-bottom: 1px solid var(--neo-line, rgba(255,255,255,.05)); }
.ax-bar-cell { width: 30%; }
.ax-bar-cell i { display: block; height: 8px; border-radius: 4px; background: var(--neo-accent, #8ab4ff); }
.ax-up { color: #5ef0c0; }
.ax-down { color: #ff8aa0; }

/* Heatmap */
.ax-heat { display: grid; grid-template-columns: 110px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; margin-top: 10px; }
.ax-heat i { display: block; height: 20px; border-radius: 4px; background: var(--neo-accent, #8ab4ff); }
.ax-heat-h { font-size: 10px; color: var(--neo-faint, rgba(235,235,245,.4)); }
.ax-heat-r { font-size: 12px; color: var(--neo-dim, rgba(235,235,245,.6)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Feature flags */
.ax-flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-top: 10px; }
.ax-flag { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--neo-line, rgba(255,255,255,.08)); font-size: 13px; }
.ax-flag-on { border-color: rgba(255,180,67,.45); }

/* What's New editor */
.ax-wn { display: grid; gap: 10px; margin-top: 10px; }
.ax-wn > label { display: grid; gap: 4px; font-size: 12px; color: var(--neo-dim, rgba(235,235,245,.6)); }
.ax-wn-item { display: grid; grid-template-columns: 56px 1fr 2fr auto auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.ax-wn-ic { text-align: center; }

/* Panic */
.ax-panic { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.ax-panic-btn {
    padding: 16px 28px; border-radius: 16px; border: 0; cursor: pointer;
    font: inherit; font-size: 17px; font-weight: 800; letter-spacing: .02em; color: #fff;
    background: linear-gradient(135deg, #ff3b5c, #c2185b); box-shadow: 0 8px 30px rgba(255,59,92,.35);
}
.ax-panic-btn:hover { filter: brightness(1.1); }

@media (max-width: 700px) {
    .ax-wn-item { grid-template-columns: 48px 1fr; }
    .ax-heat { grid-template-columns: 70px repeat(24, minmax(0, 1fr)); gap: 1px; }
    .ax-heat i { height: 14px; }
}

/* 🕵️ Alt finder groups */
.ax-altgrp { display: grid; gap: 8px; align-items: stretch; }
.ax-althead { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ax-althead .ad-btn { padding: 5px 10px; font-size: 12.5px; }
.ax-altlist { display: grid; gap: 4px; }
.ax-altp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; text-align: left; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.18); }
.ax-altp .ax-who { text-align: left; }
.ax-altmeta { margin-left: auto; font-size: 12px; }
.ax-tag-red { background: rgba(255,90,122,.2); }

/* 🚨 Very critical (adminx1.js buildCritical, Logan only) */
.ad-card.ax-crit { border: 2px solid #ef4444 !important; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: axCritGlow 1.6s ease-in-out infinite; }
.ax-crit .ad-head h2 { color: #f87171; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.ax-crit-tag { font-size: 12px; font-weight: 800; color: #fff; background: #b91c1c; padding: 3px 10px; border-radius: 99px; }
.ax-crit-dots { display: inline-flex; gap: 4px; }
.ax-crit-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px #ef4444; animation: axCritBlink 1s steps(1, end) infinite; }
.ax-crit-dots i:nth-child(2) { animation-delay: .33s; }
.ax-crit-dots i:nth-child(3) { animation-delay: .66s; }
.ax-crit-item { border: 1px solid rgba(239,68,68,.45); background: rgba(239,68,68,.08); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.ax-crit-item.done { opacity: .6; border-color: rgba(255,255,255,.15); background: transparent; }
.ax-crit-item.done .ax-crit-dots i { animation: none; background: #22c55e; box-shadow: none; }
.ax-crit-kind { display: flex; align-items: center; gap: 8px; font-weight: 900; text-transform: uppercase; color: #fca5a5; font-size: 13px; letter-spacing: 1px; }
.ax-crit-quote { margin: 10px 0; padding: 10px 12px; border-left: 4px solid #ef4444; background: rgba(0,0,0,.35); border-radius: 8px; font-size: 16px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.ax-crit-quote small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; opacity: .75; }
.ax-crit-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0 12px; font-size: 13px; }
.ax-crit-dl dt { opacity: .6; } .ax-crit-dl dd { margin: 0; overflow-wrap: anywhere; }
@keyframes axCritBlink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes axCritGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); } 50% { box-shadow: 0 0 22px 2px rgba(239,68,68,.45); } }
@media (prefers-reduced-motion: reduce) { .ad-card.ax-crit, .ax-crit-dots i { animation: none; } }

/* 📅 Weekly pack drops (adminx2.js drawDrops) */
.ax-drops { margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--neo-line, rgba(255,255,255,.08)); background: rgba(255,255,255,.035); }
.ax-drops-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ax-drops-head b { font-size: 15px; }
.ax-drop-on { font-size: 11.5px; font-weight: 800; color: #0b1220; background: #34e8b0; padding: 2px 8px; border-radius: 99px; }
.ax-drops .ax-acts { margin-left: 0; }
.ax-drop-rows { display: grid; gap: 4px; margin-top: 12px; }
.ax-drop-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.22); font-size: 13.5px; }
.ax-drop-row > span:last-child { margin-left: auto; font-size: 12px; }
