/*
 * Inner pages adapter for index.link-glass-c57e design system (styles-new.aside-8724)
 * 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(.sidebar-stale-6a07) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.background-medium-a2c7.feature_gas_0e44 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.gallery-up-82b1 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.gallery-up-82b1 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.form-a0fb {
  flex: 0 0 100%;
  max-width: 100%;
}

.lite_58b6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.element_prev_6805 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .element_prev_6805 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .lite_58b6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.sort-soft-b20e { display: flex; }
.tooltip-cc5a { justify-content: space-between; }
.box_9387 { align-items: center; }
.feature_gas_0e44 { text-align: center; }

.section_bronze_4002 { margin-right: 0.5rem; }
.text_paper_b6e8 { margin-right: 1rem; }
.gallery-d85f { margin-top: 1rem; }
.label_light_8636 { margin-top: 1.5rem; }
.mask-smooth-35f8 { margin-bottom: 1rem; }
.border_66fd { margin-bottom: 1.5rem; }
.medium-9afd { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.active_35ab { margin-top: 1rem; margin-bottom: 1rem; }
.hidden-middle-5b54 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.chip-light-4436 { max-width: 100%; height: auto; }

/* Links used in old footer */
.badge_old_7c4a { color: var(--text-primary); }
.widget_south_84f7 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.wrapper_large_2323 {
  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-dca8 { /* 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-dca8:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.plasma-2038 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.plasma-2038:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.notification-63a9 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.block-green-0544 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.block-green-0544::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;
}

.mask-active-50c5 {
  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);
}

.mask-active-50c5 h1 {
  margin-bottom: var(--spacing-sm);
}

.mask-active-50c5 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.glass_684d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.accent-lite-8bd9 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.bronze_a5de {
  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);
}

.footer-2503 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.first_ff06 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.first_ff06 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.simple_7e7a img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.advanced_b310 {
  padding-bottom: var(--spacing-2xl);
}

.light_2de8 {
  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;
}

.accent-first-d7b1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.active_347c a {
  color: var(--primary-color);
}

.active_347c.fn-active-f2e8 {
  color: var(--text-secondary);
}

.active_347c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.lite_fd58 {
  padding: var(--spacing-xl) 0;
}

.image-pro-4060 {
  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);
}

.image-pro-4060 h2 {
  margin-bottom: var(--spacing-sm);
}

.image-pro-4060 p {
  color: var(--text-secondary);
}

.east-0cee {
  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;
}

.east-0cee h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.east-0cee h4 {
  margin-top: var(--spacing-sm);
}

.east-0cee p {
  color: var(--text-secondary);
}

.content_648c {
  padding: var(--spacing-xl) 0;
}

.image-rough-5156 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.disabled_tall_7cc1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.disabled_tall_7cc1 a {
  color: var(--text-secondary);
}

.disabled_tall_7cc1 a:hover {
  color: var(--primary-color);
}

.status_9e77 {
  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);
}

.purple-b6dc {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tall-1eb3 {
  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);
}

.tall-1eb3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.link_058c { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary_bright_3b0c { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 1ff4 */
.ghost-box-s0 {
  padding: 0.1rem;
  font-size: 14px;
  line-height: 1.0;
}
