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

:root {
  --primary: #ff3d1a;
  --accent: #00e5ff;
  --bg: #05070a;
  --panel: #0c1116;
  --panel2: #10161c;
  --text: #eef4f5;
  --text-dim: #93a5aa;
  --border: rgba(255,255,255,0.08);
  --danger: #ff4d4d;
  --ok: #35d488;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Rajdhani', sans-serif; }
h1,h2,h3,.brand { font-family: 'Orbitron', sans-serif; }
a { color: var(--accent); }
button, input, select, textarea { font-family: inherit; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 20%, #1a0d0a, var(--bg) 60%); padding: 20px; }
.login-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 44px; width: 100%; max-width: 380px; box-shadow: 0 0 60px rgba(255,61,26,0.15); }
.login-card h1 { font-size: 22px; margin: 0 0 6px; color: var(--primary); }
.login-card h1.login-brand { display: flex; align-items: center; gap: 10px; }
.login-card h1.login-brand img { height: 40px; width: 40px; object-fit: contain; flex-shrink: 0; }
.login-card p.sub { color: var(--text-dim); margin: 0 0 26px; font-size: 14px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel2); border: 1px solid var(--border); color: var(--text);
  padding: 11px 12px; border-radius: 8px; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }

.btn { cursor: pointer; border: none; border-radius: 8px; padding: 12px 20px; font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; display: inline-block; }
.btn-primary { background: linear-gradient(90deg, var(--primary), #ff8a00); color: #0a0a0a; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--panel2); color: var(--text); border: 1px solid var(--border); }
.btn-danger { background: rgba(255,77,77,0.15); color: var(--danger); border: 1px solid rgba(255,77,77,0.4); }
.btn-block { width: 100%; }

.error-msg { background: rgba(255,77,77,0.12); border: 1px solid rgba(255,77,77,0.4); color: var(--danger); padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.ok-msg { background: rgba(53,212,136,0.12); border: 1px solid rgba(53,212,136,0.4); color: var(--ok); padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }

.dash { display: flex; min-height: 100vh; }
.sidebar { width: 230px; background: var(--panel); border-right: 1px solid var(--border); padding: 24px 16px; display: flex; flex-direction: column; }
.sidebar .brand { display: flex; align-items: center; gap: 9px; color: var(--primary); font-size: 17px; margin-bottom: 4px; }
.sidebar .brand img { height: 30px; width: 30px; object-fit: contain; flex-shrink: 0; }
.sidebar .role-badge { font-size: 11px; color: var(--accent); letter-spacing: 1px; margin-bottom: 30px; }
.side-link { display: block; padding: 12px 14px; margin-bottom: 4px; border-radius: 8px; color: var(--text-dim); cursor: pointer; font-size: 14px; letter-spacing: 0.5px; text-decoration:none; }
.side-link:hover { background: var(--panel2); color: var(--text); }
.side-link.active { background: rgba(255,61,26,0.12); color: var(--primary); border: 1px solid rgba(255,61,26,0.3); }
.sidebar .spacer { flex: 1; }
.logout-form { margin: 0; }
.logout-form .side-link { width: 100%; text-align: left; background: none; border: none; color: #ff4d4d; font-family: inherit; }
.main { flex: 1; padding: 32px 40px; max-width: 1100px; }
.main h2 { margin-top: 0; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px; margin-bottom: 24px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--text-dim); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
tr:hover td { background: rgba(255,255,255,0.02); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.pill-super { background: rgba(255,61,26,0.15); color: var(--primary); }
.pill-admin { background: rgba(0,229,255,0.15); color: var(--accent); }
.pill-published { background: rgba(53,212,136,0.15); color: var(--ok); }
.pill-draft { background: rgba(255,255,255,0.08); color: var(--text-dim); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions form { display:inline; }
.row-actions button, .row-actions a.btn { padding: 6px 12px; font-size: 11px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -26px; padding: 0 26px; }
.table-scroll table { min-width: 640px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-top: 16px; }
.media-item { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.media-item img { width: 100%; height: 100px; object-fit: cover; display: block; }
.media-pdf-icon { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; background: var(--panel2); color: var(--text-dim); font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.media-item .media-actions { padding: 8px; display: flex; gap: 6px; justify-content: space-between; }
.media-item .media-actions button, .media-item .media-actions input { font-size: 10px; padding: 5px 6px; }
.media-item .url-box { font-size: 10px; padding: 6px 8px; word-break: break-all; color: var(--text-dim); background: var(--bg); border: none; width: 100%; }

.editor-toolbar { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.editor-toolbar button { background: var(--panel2); border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.editor-toolbar button:hover { border-color: var(--accent); }
.rich-editor { min-height: 220px; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 14px; color: var(--text); }
.rich-editor:focus { outline: none; border-color: var(--accent); }
.rich-editor img { max-width: 100%; border-radius: 6px; margin: 8px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .dash { flex-direction: column; }
  .sidebar {
    width: 100%; flex-direction: row; align-items: center; gap: 4px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 12px 16px;
  }
  .sidebar .brand { margin-bottom: 0; white-space: nowrap; }
  .sidebar .role-badge { display: none; }
  .sidebar .side-link { white-space: nowrap; margin-bottom: 0; }
  .sidebar .spacer { display: none; }
  .main { padding: 24px 20px; max-width: 100%; }
}

@media (max-width: 480px) {
  .main { padding: 18px 14px; }
  .panel { padding: 18px; }
  .table-scroll { margin: 0 -18px; padding: 0 18px; }
  .topbar { flex-wrap: wrap; gap: 10px; }
  .login-card { padding: 30px 24px; }
}

.hint { font-size: 12px; color: var(--text-dim); margin-top: 4px; margin-bottom: 14px; }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.theme-swatch {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: var(--panel2); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; cursor: pointer; color: var(--text); text-align: left;
}
.theme-swatch:hover { border-color: var(--accent); }
.theme-swatch.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.theme-swatch-dots { display: flex; gap: 6px; }
.theme-swatch-dots span { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: block; }
.theme-swatch-label { font-size: 13px; font-weight: 600; }
.theme-swatch-tag { font-size: 10px; font-weight: 700; background: var(--accent); color: #0a0a0a; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; vertical-align: middle; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag { background: var(--panel2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.tag button { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 13px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }

.range-tabs { display: flex; gap: 4px; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 4px; }
.range-tabs a { padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--text-dim); text-decoration: none; }
.range-tabs a:hover { color: var(--text); }
.range-tabs a.active { background: var(--primary); color: #0a0a0a; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { text-align: center; padding: 22px 16px; }
.stat-card .stat-num { font-family: 'Orbitron', sans-serif; font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-card .stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 6px; }

.rank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.rank-row:last-child { border-bottom: none; }
.rank-label { color: var(--text); word-break: break-word; }
.rank-num { color: var(--accent); font-weight: 700; white-space: nowrap; }
.pw-row { display: none; }
.pw-row.open { display: table-row; }
.pw-inline-form { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0; }
.pw-inline-form input { background: var(--panel2); border: 1px solid var(--border); color: var(--text); padding: 9px 10px; border-radius: 6px; font-size: 13px; }
.thumb-preview { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-top: 8px; border: 1px solid var(--border); }

.powered-by-admin {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border); color: var(--text-dim); font-size: 11px; text-decoration: none;
}
.powered-by-admin:hover { color: var(--text); }
.powered-by-admin img { height: 1.2em; width: auto; filter: brightness(0) invert(1); opacity: 0.6; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .three-col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .three-col { grid-template-columns: 1fr; } }

.chart-panel h3 { margin: 0 0 4px; }
.chart-panel .chart-sub { font-size: 12px; color: var(--text-dim); margin: 0 0 16px; }
.donut-wrap { position: relative; height: 220px; }
.donut-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 12px; }
.donut-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); }
.donut-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.bar-row { padding: 10px 0; border-bottom: 1px solid var(--border); }
.bar-row:last-child { border-bottom: none; }
.bar-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.bar-row-top .rank-label { color: var(--text); word-break: break-word; }
.bar-row-top .rank-num { color: var(--accent); font-weight: 700; white-space: nowrap; }
.bar-track { height: 6px; background: var(--panel2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--primary), #ff8a00); transition: width 1.1s cubic-bezier(.16,.84,.44,1); }
.bar-fill.accent { background: linear-gradient(90deg, var(--accent), #35d488); }

/* ===== Analytics dashboard (dark neon / glass) ===== */
.main:has(.ax) { max-width: 1440px; }
.ax { --glass: rgba(16,24,32,0.55); --glass-border: rgba(0,229,255,0.12); position: relative; }
.ax::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 500px at 85% -10%, rgba(0,229,255,0.10), transparent 60%),
              radial-gradient(700px 500px at 10% 110%, rgba(255,61,26,0.10), transparent 60%),
              linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 100% 32px; }
.ax-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.ax-head h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: 2px; background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-sub { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ax-live-pill { display: inline-flex; align-items: center; gap: 6px; font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 2px; color: var(--ok); border: 1px solid rgba(53,212,136,0.4); background: rgba(53,212,136,0.08); padding: 3px 9px; border-radius: 99px; }
.ax-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: axBlink 1.6s infinite; }
@keyframes axBlink { 50% { opacity: 0.25; } }

.ax-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 22px; margin-bottom: 20px; position: relative; overflow: hidden;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04); }
.ax-card::after { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.5), transparent); }
.ax-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.ax-card h3 { margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #dfe8ea; }
.ax-tag { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(0,229,255,0.25); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.ax-note { font-size: 12px; color: var(--text-dim); margin: 0 0 14px; }
.ax-empty { font-size: 13px; color: var(--text-dim); margin: 10px 0; }

.ax-grid { display: grid; gap: 20px; }
.ax-grid > .ax-card { margin-bottom: 20px; min-width: 0; }
.ax-grid-2 { grid-template-columns: 1fr 1fr; }
.ax-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ax-grid-2-1 { grid-template-columns: 2fr 1fr; }
.ax-grid-1-2 { grid-template-columns: 1fr 2fr; }
@media (max-width: 1100px) { .ax-grid-3 { grid-template-columns: 1fr 1fr; } .ax-grid-2-1, .ax-grid-1-2 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ax-grid-2, .ax-grid-3 { grid-template-columns: 1fr; } }

/* KPI cards */
.ax-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ax-kpis .ax-card { margin-bottom: 0; padding: 18px 18px 12px; }
.ax-kpi { --c: var(--accent); }
.ax-kpi::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.ax-kpi-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.ax-kpi-value { font-family: 'Orbitron', sans-serif; font-size: 30px; font-weight: 800; color: #fff; margin: 6px 0 2px; text-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent); }
.ax-kpi-delta { font-size: 12px; font-weight: 700; color: var(--text-dim); min-height: 18px; }
.ax-kpi-delta span { font-weight: 500; color: var(--text-dim); }
.ax-kpi-delta.up { color: var(--ok); }
.ax-kpi-delta.down { color: var(--danger); }
.ax-spark { height: 44px; margin: 8px -6px 0; }
.ax-live-card { --c: var(--ok); }
.ax-live-num { display: flex; align-items: center; gap: 12px; font-family: 'Orbitron', sans-serif; font-size: 30px; font-weight: 800; color: #fff; margin: 6px 0 2px; }
.ax-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); position: relative; box-shadow: 0 0 10px var(--ok); }
.ax-pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ok); animation: axRing 1.8s ease-out infinite; }
@keyframes axRing { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.ax-live-pages { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; }
.ax-live-pages li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px dashed rgba(255,255,255,0.06); color: var(--text-dim); }
.ax-live-pages li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-live-pages b { color: var(--ok); }

/* Chart containers */
.ax-chart-lg { position: relative; height: 320px; }
.ax-chart-md { position: relative; height: 280px; }
.ax-donut { position: relative; height: 220px; }
.ax-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.ax-donut-center b { font-family: 'Orbitron', sans-serif; font-size: 22px; color: #fff; }
.ax-donut-center span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.ax-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; }
.ax-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); }
.ax-legend b { color: #dfe8ea; }
.ax-legend i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Ranked bar lists */
.ax-bars { max-height: 420px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(0,229,255,0.3) transparent; }
.ax-bars::-webkit-scrollbar { width: 6px; }
.ax-bars::-webkit-scrollbar-thumb { background: rgba(0,229,255,0.3); border-radius: 3px; }
.ax-bars::-webkit-scrollbar-track { background: transparent; }
.ax-bar { padding: 8px 0; }
.ax-bar-top { display: flex; align-items: baseline; gap: 10px; font-size: 14px; margin-bottom: 5px; }
.ax-rank { font-family: 'Orbitron', sans-serif; font-size: 10px; color: var(--text-dim); }
.ax-bar-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dfe8ea; }
.ax-bar-num { font-weight: 700; color: #fff; white-space: nowrap; }
.ax-bar-num small { font-weight: 500; color: var(--text-dim); margin-left: 4px; }
.ax-bar-track { height: 5px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.ax-bar-fill { --c: var(--accent); height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--c)); box-shadow: 0 0 10px var(--c); transition: width 1.1s cubic-bezier(.16,.84,.44,1); }

/* World map - jsvectormap's own stylesheet is replaced by these rules,
   since the CSP only allows local stylesheets (plus Google Fonts). */
.ax-map { height: 380px; position: relative; }
.ax-map svg { width: 100%; height: 100%; }
.jvm-container { touch-action: none; position: relative; overflow: hidden; height: 100%; width: 100%; }
.jvm-tooltip { position: absolute; display: none; z-index: 1000; background: rgba(6,10,14,0.94); border: 1px solid rgba(0,229,255,0.35); color: #fff; font-family: 'Rajdhani', sans-serif; font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.jvm-tooltip.active { display: block; }
.jvm-zoom-btn { position: absolute; left: 8px; width: 24px; height: 24px; line-height: 22px; text-align: center; border-radius: 6px; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3); color: var(--accent); cursor: pointer; font-weight: 700; user-select: none; }
.jvm-zoom-btn.jvm-zoomin { top: 8px; }
.jvm-zoom-btn.jvm-zoomout { top: 38px; }

/* Heatmap */
.ax-heatmap { overflow-x: auto; }
.ax-hm-row { display: grid; grid-template-columns: 36px repeat(24, minmax(14px, 1fr)); gap: 3px; margin-bottom: 3px; min-width: 460px; }
.ax-hm-row span { font-size: 10px; color: var(--text-dim); }
.ax-hm-day { align-self: center; font-size: 11px !important; }
.ax-hm-cell { aspect-ratio: 1; border-radius: 3px; transition: transform .15s; }
.ax-hm-cell:hover { transform: scale(1.35); outline: 1px solid #fff; }
.ax-heat-scale { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 10px; font-size: 11px; color: var(--text-dim); }
.ax-heat-scale i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(0,229,255,0.08), var(--accent)); }

/* Live feed */
.ax-feed { list-style: none; margin: 8px 0 0; padding: 0; }
.ax-feed li { display: grid; grid-template-columns: 28px 1fr auto 90px; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; animation: axIn .5s ease both; }
.ax-feed li:last-child { border-bottom: none; }
.ax-feed li.ax-empty { display: block; }
.ax-feed-ico { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; background: rgba(255,61,26,0.12); color: var(--primary); }
.ax-feed .t-file_open .ax-feed-ico { background: rgba(53,212,136,0.12); color: var(--ok); }
.ax-feed .t-link_click .ax-feed-ico { background: rgba(255,138,0,0.12); color: #ff8a00; }
.ax-feed-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dfe8ea; }
.ax-feed-what b { color: var(--text-dim); font-weight: 600; margin-right: 4px; }
.ax-feed-meta { font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.ax-feed-ago { font-size: 12px; color: var(--accent); text-align: right; white-space: nowrap; }
@media (max-width: 700px) { .ax-feed li { grid-template-columns: 28px 1fr 70px; } .ax-feed-meta { display: none; } }
@keyframes axIn { from { opacity: 0; transform: translateY(4px); } }
