/*
 * Inner pages adapter for index.container_full_3a7a design system (styles-new.lower_b0e3)
 * 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(.element-63aa) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.main_2263.heading-pressed-e63c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.panel_a15f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.panel_a15f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.form-e0cc {
  flex: 0 0 100%;
  max-width: 100%;
}

.narrow_1467 {
  flex: 0 0 100%;
  max-width: 100%;
}

.popup-abe2 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .popup-abe2 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .narrow_1467 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.disabled_3514 { display: flex; }
.under_521d { justify-content: space-between; }
.link_soft_52ec { align-items: center; }
.heading-pressed-e63c { text-align: center; }

.soft-7d4c { margin-right: 0.5rem; }
.badge_3c83 { margin-right: 1rem; }
.button-last-0b56 { margin-top: 1rem; }
.north-d8a1 { margin-top: 1.5rem; }
.old_db20 { margin-bottom: 1rem; }
.gold_28a8 { margin-bottom: 1.5rem; }
.info_plasma_bbcf { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.summary_hot_e6d1 { margin-top: 1rem; margin-bottom: 1rem; }
.panel_cool_7831 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.avatar-bright-c1e0 { max-width: 100%; height: auto; }

/* Links used in old footer */
.west_88b0 { color: var(--text-primary); }
.container_ad85 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.row-62a2 {
  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 */
.title-medium-3bba { /* 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);
}

.title-medium-3bba:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.dim_3b15 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.dim_3b15:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.wrapper-56b0 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.notification_1f71 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.notification_1f71::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;
}

.avatar_3816 {
  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);
}

.avatar_3816 h1 {
  margin-bottom: var(--spacing-sm);
}

.avatar_3816 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.active-6374 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.preview-0a61 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.tag-7c42 {
  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);
}

.short_fcd6 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.summary_gas_b557 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.summary_gas_b557 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.article_8600 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.row-red-c587 {
  padding-bottom: var(--spacing-2xl);
}

.box_4876 {
  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;
}

.north-70c5 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.under-3b4c a {
  color: var(--primary-color);
}

.under-3b4c.fn-active-e52e {
  color: var(--text-secondary);
}

.under-3b4c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.up_a2b2 {
  padding: var(--spacing-xl) 0;
}

.logo-copper-c920 {
  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);
}

.logo-copper-c920 h2 {
  margin-bottom: var(--spacing-sm);
}

.logo-copper-c920 p {
  color: var(--text-secondary);
}

.surface_722a {
  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;
}

.surface_722a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.surface_722a h4 {
  margin-top: var(--spacing-sm);
}

.surface_722a p {
  color: var(--text-secondary);
}

.outer-7915 {
  padding: var(--spacing-xl) 0;
}

.dynamic-8ce4 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.logo_b7e3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo_b7e3 a {
  color: var(--text-secondary);
}

.logo_b7e3 a:hover {
  color: var(--primary-color);
}

.card_c392 {
  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);
}

.surface-300e {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.chip-motion-42f0 {
  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);
}

.chip-motion-42f0:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.notice-b741 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.over-a953 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: ceda */
.widget-item-y3 {
  padding: 0.2rem;
  font-size: 11px;
  line-height: 1.2;
}
