/*
 * Inner pages adapter for index.popup_ed36 design system (styles-new.active_west_9dd3)
 * Purpose: keep legacy inner-page HTML (row/col/utilities) working while matching modern palette.
 */

/* Hide legacy header blocks once we inject the modern header into inner pages */
body > header:not(.secondary_right_bcff) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.description_bright_4acb.slow-0070 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.article-tall-3091 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.article-tall-3091 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.plasma_a03f {
  flex: 0 0 100%;
  max-width: 100%;
}

.bright_97f5 {
  flex: 0 0 100%;
  max-width: 100%;
}

.progress_center_57a3 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .progress_center_57a3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .bright_97f5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pagination_e3d5 { display: flex; }
.outer_ef59 { justify-content: space-between; }
.container-static-7175 { align-items: center; }
.slow-0070 { text-align: center; }

.disabled_hot_57b6 { margin-right: 0.5rem; }
.panel_iron_4ddc { margin-right: 1rem; }
.rough_81ee { margin-top: 1rem; }
.panel-f822 { margin-top: 1.5rem; }
.popup-out-3d36 { margin-bottom: 1rem; }
.primary-large-35b1 { margin-bottom: 1.5rem; }
.item_fbe4 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.breadcrumb-pink-e4a8 { margin-top: 1rem; margin-bottom: 1rem; }
.block_024c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.box_current_333e { max-width: 100%; height: auto; }

/* Links used in old footer */
.down-a729 { color: var(--text-primary); }
.shade_dfb4 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.chip-6a11 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Map legacy variants to modern system */
.detail-stale-3427 { /* treat as primary */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.detail-stale-3427:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.plasma-c0ff {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.plasma-c0ff:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.prev_0cf4 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.dark_1a38 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.dark_1a38::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.18) 0%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

.frame-15ea {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.frame-15ea h1 {
  margin-bottom: var(--spacing-sm);
}

.frame-15ea p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.pattern-old-732f {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.alert_iron_83bf {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.new-ed95 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.wrapper-clean-1b23 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.accent_d41d h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.accent_d41d p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.picture-80c0 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.narrow-4cc8 {
  padding-bottom: var(--spacing-2xl);
}

.shadow_focused_2b99 {
  background: rgba(10, 14, 39, 0.55);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-sm) 0;
}

.notice-9b0a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.notification_pressed_b77f a {
  color: var(--primary-color);
}

.notification_pressed_b77f.fn-active-386a {
  color: var(--text-secondary);
}

.notification_pressed_b77f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.pagination_e628 {
  padding: var(--spacing-xl) 0;
}

.iron_0239 {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.iron_0239 h2 {
  margin-bottom: var(--spacing-sm);
}

.iron_0239 p {
  color: var(--text-secondary);
}

.paragraph-b3b0 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.paragraph-b3b0 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.paragraph-b3b0 h4 {
  margin-top: var(--spacing-sm);
}

.paragraph-b3b0 p {
  color: var(--text-secondary);
}

.complex_ff1e {
  padding: var(--spacing-xl) 0;
}

.brown_038a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.white-bada {
  list-style: none;
  margin: 0;
  padding: 0;
}

.white-bada a {
  color: var(--text-secondary);
}

.white-bada a:hover {
  color: var(--primary-color);
}

.left_2154 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
}

.logo_fixed_967a {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hidden_blue_d256 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.hidden_blue_d256:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.last-39e8 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar_1779 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5c87 */
.phantom-card-k5 {
  padding: 0.5rem;
  font-size: 11px;
  line-height: 1.1;
}
