/*
 * Inner pages adapter for index.mask_fixed_df23 design system (styles-new.purple-9057)
 * 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(.notice-2328) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.motion-6f77.tertiary-d97b {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.old_1752 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.old_1752 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.box-ccd9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.last_c6ba {
  flex: 0 0 100%;
  max-width: 100%;
}

.popup_current_8e52 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .popup_current_8e52 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .last_c6ba {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.badge_b324 { display: flex; }
.notification-upper-15bb { justify-content: space-between; }
.orange_c39d { align-items: center; }
.tertiary-d97b { text-align: center; }

.status-gas-ee7c { margin-right: 0.5rem; }
.breadcrumb-glass-372e { margin-right: 1rem; }
.left-4eb7 { margin-top: 1rem; }
.modal-right-767e { margin-top: 1.5rem; }
.light_e2c8 { margin-bottom: 1rem; }
.container-0929 { margin-bottom: 1.5rem; }
.motion_0d0a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.brown_fe37 { margin-top: 1rem; margin-bottom: 1rem; }
.summary_black_1d68 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.table_ce70 { max-width: 100%; height: auto; }

/* Links used in old footer */
.section_complex_b212 { color: var(--text-primary); }
.bottom-5596 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.dark-63c1 {
  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 */
.lower_092f { /* 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);
}

.lower_092f:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.image-8ca3 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.image-8ca3:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.cool_6506 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.accent_active_6267 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.accent_active_6267::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;
}

.video_stone_96b5 {
  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);
}

.video_stone_96b5 h1 {
  margin-bottom: var(--spacing-sm);
}

.video_stone_96b5 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.element_dbc1 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.disabled-663a {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.bright-ebda {
  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);
}

.block-short-684d {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.first-e12c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.first-e12c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.description-complex-6db5 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.mask-lite-a9a6 {
  padding-bottom: var(--spacing-2xl);
}

.tooltip-dirty-4fb5 {
  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;
}

.picture-basic-14ee {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.iron_80b3 a {
  color: var(--primary-color);
}

.iron_80b3.fn-active-1f81 {
  color: var(--text-secondary);
}

.iron_80b3:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.card-active-6e33 {
  padding: var(--spacing-xl) 0;
}

.black_347c {
  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);
}

.black_347c h2 {
  margin-bottom: var(--spacing-sm);
}

.black_347c p {
  color: var(--text-secondary);
}

.chip_dark_2d66 {
  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;
}

.chip_dark_2d66 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.chip_dark_2d66 h4 {
  margin-top: var(--spacing-sm);
}

.chip_dark_2d66 p {
  color: var(--text-secondary);
}

.plasma_7c98 {
  padding: var(--spacing-xl) 0;
}

.sidebar_inner_601e {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.preview-black-d66e {
  list-style: none;
  margin: 0;
  padding: 0;
}

.preview-black-d66e a {
  color: var(--text-secondary);
}

.preview-black-d66e a:hover {
  color: var(--primary-color);
}

.bronze-96ba {
  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);
}

.section_right_6ffe {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.grid-56b0 {
  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);
}

.grid-56b0:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.container-84cf { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.button_cc2f { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 20b7 */
.ghost-box-y3 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.3;
}
