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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Gothic A1", sans-serif;
  background: #0a0e27;
  color: #ffffff;
  line-height: 1.5;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

.app {
  display: flex;
  min-height: 100vh;
}

.main-content {
  margin-left: 240px;
  padding: 48px 40px 80px;
  flex: 1;
  min-width: 0;
}

.page-header {
  margin-bottom: 32px;
}
.page-header h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}
.page-header p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  font-size: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  margin-bottom: 24px;
}

.chart-wrap--tall {
  height: 380px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #1a1f3a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-logo .logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.sidebar-logo .logo-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.3;
  margin-top: 2px;
}

.nav-section {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-section:last-of-type {
  border-bottom: none;
  flex: 1;
}

.nav-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 8px 20px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 1px 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s, background 0.15s;
  border-radius: 8px;
}
.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-item.active {
  color: #FA7F31;
  background: rgba(250, 127, 49, 0.12);
}
.nav-item.active .nav-icon {
  color: #FA7F31;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 8px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 1px 8px;
  width: calc(100% - 16px);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.logout-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  margin-left: auto;
  flex-shrink: 0;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.card--accent {
  border-top-width: 3px;
}
.card--accent.card--orange {
  border-top-color: #FA7F31;
}
.card--accent.card--yellow {
  border-top-color: #FFE01B;
}
.card--accent.card--red {
  border-top-color: #FF4444;
}
.card--accent.card--blue {
  border-top-color: #0A66C2;
}
.card--accent.card--purple {
  border-top-color: #8B5CF6;
}
.card--accent.card--cyan {
  border-top-color: #0CDBF3;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.stat-card .stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1;
}
.stat-card .stat-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.platform-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.platform-card {
  border-top-width: 3px;
}
.platform-card .platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.platform-card .platform-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.platform-card .platform-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.15s;
}
.platform-card .platform-link:hover {
  color: #ffffff;
}
.platform-card .platform-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.platform-card .platform-stat-row:last-child {
  border-bottom: none;
}
.platform-card .platform-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.platform-card .platform-stat-value {
  font-size: 0.9rem;
  font-weight: 700;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.highlight-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.highlight-card .highlight-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.highlight-card .highlight-value {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.highlight-card .highlight-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.badge--orange {
  background: rgba(250, 127, 49, 0.15);
  color: #FA7F31;
}
.badge--red {
  background: rgba(255, 68, 68, 0.15);
  color: #FF4444;
}
.badge--muted {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(250, 127, 49, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(250, 127, 49, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.cta-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.cta-banner p strong {
  color: #ffffff;
}
.cta-banner a {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FA7F31;
  border: 1px solid rgba(250, 127, 49, 0.4);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.cta-banner a:hover {
  background: rgba(250, 127, 49, 0.1);
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.video-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.video-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
}
@media (max-width: 700px) {
  .video-item {
    grid-template-columns: 80px 1fr;
  }
  .video-item .video-stats {
    display: none;
  }
}
.video-item img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  background: #1a1f3a;
}
.video-item .video-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.video-item .video-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.video-item .video-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.video-item .video-stats strong {
  font-weight: 700;
}
.video-item .video-stats span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}

.yt-video-list {
  display: flex;
  flex-direction: column;
}

.yt-video-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}
.yt-video-row:last-child {
  border-bottom: none;
}
.yt-video-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.yt-thumb {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background: #1a1f3a;
  flex-shrink: 0;
}

.yt-info {
  flex: 1;
  min-width: 0;
}

.yt-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-meta {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.yt-stats {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}

.yt-stat {
  text-align: right;
  min-width: 60px;
}

.yt-stat-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 3px;
}

.yt-stat-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.upload-zone {
  display: block;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  margin-bottom: 24px;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: #FA7F31;
  background: rgba(250, 127, 49, 0.04);
}
.upload-zone .upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  opacity: 0.4;
}
.upload-zone p {
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.upload-zone small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.connection-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.connection-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.connection-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.connection-card .conn-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.connection-card .conn-info {
  flex: 1;
}
.connection-card .conn-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
}
.connection-card .conn-info p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}
.connection-card .conn-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
}
.connection-card .conn-status--ok {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.connection-card .conn-status--err {
  background: rgba(255, 68, 68, 0.15);
  color: #FF4444;
}

.li-post-cell {
  max-width: 320px;
}

.li-snippet {
  font-weight: 500;
  line-height: 1.4;
  font-size: 0.85rem;
}

.li-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.li-author {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.li-view-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0A66C2;
  text-decoration: none;
  transition: opacity 0.15s;
}
.li-view-link:hover {
  opacity: 0.75;
}

.metric-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.metric-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.metric-pill .metric-pill-num {
  font-size: 0.95rem;
  font-weight: 900;
}
.metric-pill .metric-pill-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ov-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.ov-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.ov-card {
  border-top-width: 3px;
  display: flex;
  flex-direction: column;
}
.ov-card .ov-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ov-card .ov-main {
  margin-bottom: 14px;
}
.ov-card .ov-main .ov-stat-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}
.ov-card .ov-main .ov-stat-val {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
}
.ov-card .ov-main .ov-stat-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}
.ov-card .ov-rows {
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.ov-card .ov-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
}
.ov-card .ov-row .ov-row-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.ov-card .ov-row .ov-row-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ov-card .ov-uploaded {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
}
.ov-card .ov-link {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 8px;
  display: inline-block;
  transition: opacity 0.15s;
}
.ov-card .ov-link:hover {
  opacity: 0.7;
}

.ly-view-pills {
  display: flex;
  gap: 4px;
}

.ly-pill {
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "Gothic A1", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.ly-pill:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.ly-pill--active {
  background: #8B5CF6;
  border-color: #8B5CF6;
  color: #fff;
}
.ly-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ly-date-range {
  padding-top: 2px;
  align-self: flex-start;
}
.ly-date-range input[type=date] {
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-family: "Gothic A1", sans-serif;
  min-width: 130px;
}
.ly-date-range input[type=date]:focus {
  outline: none;
  border-color: #8B5CF6;
}
.ly-date-range input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.ly-inline-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.ly-inline-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.ly-inline-val {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.mc-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 1100px) {
  .mc-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .mc-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mc-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.mc-stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.mc-stat-card {
  border-top: 3px solid #FFE01B;
  padding: 16px 18px;
}

.mc-stat-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.mc-stat-value {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 900;
  line-height: 1;
}

.mc-list {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.mc-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mc-item:last-child {
  border-bottom: none;
}

.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.mc-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.mc-item.is-open .mc-row {
  background: linear-gradient(135deg, rgba(255, 224, 27, 0.12), rgba(255, 224, 27, 0.04));
}

.mc-item.is-open .mc-chevron {
  transform: rotate(180deg);
}

.mc-row-left {
  flex: 1;
  min-width: 0;
}

.mc-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 3px;
}

.mc-row-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.mc-col {
  text-align: right;
  min-width: 70px;
}

.mc-col-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 3px;
}

.mc-col-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.mc-chevron {
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mc-detail {
  display: none;
  padding: 16px 20px 20px;
  background: rgba(0, 0, 0, 0.15);
}

.mc-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .mc-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mc-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
}
.mc-mini-card--wide {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .mc-mini-card--wide {
    grid-column: span 2;
  }
}

.mc-mini-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.mc-mini-val {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.cc-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Gothic A1", sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}
.cc-toggle.is-active {
  border-color: var(--cc-color);
  color: #ffffff;
  background: color-mix(in srgb, var(--cc-color) 14%, transparent);
}
.cc-toggle.is-active .cc-toggle-line {
  background: var(--cc-color);
}
.cc-toggle.is-active .cc-toggle-dot {
  background: var(--cc-color);
  border-color: var(--cc-color);
}
.cc-toggle:not(.is-active) .cc-toggle-line {
  background: rgba(255, 255, 255, 0.2);
}
.cc-toggle:not(.is-active) .cc-toggle-dot {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

.cc-toggle-line {
  display: inline-block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cc-toggle-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}

.cc-chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(10, 14, 39, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 180px;
  font-family: "Gothic A1", sans-serif;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 100;
  white-space: nowrap;
}

.cc-tt-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cc-tt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 3px;
}

.cc-tt-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.cc-tt-val {
  font-size: 0.8rem;
  font-weight: 700;
}

.cc-tt-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 8px 0 6px;
}

.cc-tt-event {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
}

.cc-tt-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

.state-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
}
.state-empty a {
  color: #FA7F31;
  text-decoration: underline;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
  height: 20px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.page-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.page-top-left .platform-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-top-left h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.page-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding-top: 4px;
}

.pill-group {
  display: flex;
  gap: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: "Gothic A1", sans-serif;
}
.pill:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.pill.active {
  background: #FA7F31;
  border-color: #FA7F31;
  color: #fff;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  font-family: "Gothic A1", sans-serif;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.action-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}
.action-btn--primary {
  background: #FA7F31;
  border-color: #FA7F31;
  color: #fff;
}
.action-btn--primary:hover {
  opacity: 0.88;
}
.action-btn--danger:hover {
  color: #FF4444;
  border-color: rgba(255, 68, 68, 0.4);
}

.ctrl-select {
  position: relative;
}
.ctrl-select::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.ctrl-select select {
  appearance: none;
  -webkit-appearance: none;
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 28px 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Gothic A1", sans-serif;
  cursor: pointer;
  transition: border-color 0.15s;
}
.ctrl-select select:focus {
  outline: none;
  border-color: #FA7F31;
}
.ctrl-select select option {
  background: #1a1f3a;
}

.cust-select {
  position: relative;
}
.cust-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Gothic A1", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s;
}
.cust-select__trigger:focus {
  outline: none;
}
.cust-select__arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s;
}
.cust-select.is-open .cust-select__trigger {
  border-color: rgba(255, 255, 255, 0.15);
}
.cust-select.is-open .cust-select__arrow {
  transform: rotate(180deg);
}
.cust-select.is-open .cust-select__panel {
  display: block;
}
.cust-select__panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.cust-select__option {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-family: "Gothic A1", sans-serif;
  border-radius: 5px;
  cursor: pointer;
  color: #ffffff;
  white-space: nowrap;
  transition: background 0.12s;
}
.cust-select__option:hover {
  background: rgba(255, 255, 255, 0.07);
}
.cust-select__option.is-active {
  color: #FA7F31;
}

.ctrl-date {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ctrl-date input[type=date] {
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-family: "Gothic A1", sans-serif;
}
.ctrl-date input[type=date]:focus {
  outline: none;
  border-color: #FA7F31;
}
.ctrl-date .ctrl-date-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.chart-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.chart-section .chart-section-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-btn--purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: #8B5CF6;
  color: #fff;
}
.action-btn--purple:hover {
  background: rgba(139, 92, 246, 0.22);
  color: #fff;
  border-color: #8B5CF6;
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.tab {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab:hover {
  color: rgba(255, 255, 255, 0.6);
}
.tab.active {
  color: #FA7F31;
  border-bottom-color: #FA7F31;
}
.tab .tab-count {
  background: rgba(250, 127, 49, 0.15);
  color: #FA7F31;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.tabs--purple .tab.active {
  color: #8B5CF6;
  border-bottom-color: #8B5CF6;
}

.tabs--purple .tab .tab-count {
  background: rgba(139, 92, 246, 0.15);
  color: #8B5CF6;
}

.updated-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 8px;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0e27;
  padding: 20px;
}

.login-box {
  background: #1a1f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
.login-box .login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-box .login-logo img {
  width: 48px;
  margin: 0 auto 10px;
}
.login-box .login-logo h1 {
  font-size: 1.4rem;
  font-weight: 900;
}
.login-box .login-logo p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.form-group input[type=text],
.form-group input[type=password],
.form-group input[type=email],
.form-group input[type=date],
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.9rem;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input[type=text]:focus,
.form-group input[type=password]:focus,
.form-group input[type=email]:focus,
.form-group input[type=date]:focus,
.form-group select:focus {
  outline: none;
  border-color: #FA7F31;
}
.form-group input[type=text] option,
.form-group input[type=password] option,
.form-group input[type=email] option,
.form-group input[type=date] option,
.form-group select option {
  background: #1a1f3a;
  color: #ffffff;
}
.form-group .select-wrap {
  position: relative;
}
.form-group .select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.form-group .select-wrap select {
  padding-right: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  border: none;
}
.btn--primary {
  background: #FA7F31;
  color: #fff;
  width: 100%;
}
.btn--primary:hover {
  opacity: 0.88;
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn--sm {
  padding: 6px 14px;
  font-size: 0.78rem;
}

.form-error {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #FF4444;
  margin-bottom: 16px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
table thead {
  background: rgba(255, 255, 255, 0.04);
}
table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}
table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.12s;
}
table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
table tbody td {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.6);
}
table tbody td:first-child {
  color: #ffffff;
  font-weight: 500;
}

.source-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.source-bar:last-child {
  border-bottom: none;
}
.source-bar .source-name {
  width: 140px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-bar .source-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}
.source-bar .source-track .source-fill {
  height: 100%;
  background: #FA7F31;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.source-bar .source-count {
  font-size: 0.82rem;
  font-weight: 700;
  width: 52px;
  text-align: right;
}

.campaign-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.campaign-row:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.campaign-row {
  margin-bottom: 8px;
}
.campaign-row .campaign-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.campaign-row .campaign-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.campaign-row .campaign-subject {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}
.campaign-row .campaign-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}
.campaign-row .campaign-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.campaign-row .campaign-details dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}
.campaign-row .campaign-details dd {
  font-size: 1rem;
  font-weight: 700;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 240px;
  right: 0;
  height: 48px;
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 40px;
}

.footer-logo {
  height: 20px;
  width: auto;
  opacity: 0.7;
}

.page-logo {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
  display: block;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

.text-orange {
  color: #FA7F31;
}

.text-yellow {
  color: #FFE01B;
}

.text-red {
  color: #FF4444;
}

.text-blue {
  color: #0A66C2;
}

.text-purple {
  color: #8B5CF6;
}

.text-cyan {
  color: #0CDBF3;
}

.text-green {
  color: #22c55e;
}

.text-muted {
  color: rgba(255, 255, 255, 0.35);
}

.text-secondary {
  color: rgba(255, 255, 255, 0.6);
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.hidden {
  display: none !important;
}

/*# sourceMappingURL=style.css.map */
