/*
 * Inner pages adapter for index.dark-0943 design system (styles-new.surface-f4b1)
 * 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(.hero_9197) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.widget_9feb.stale-dc07 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.backdrop_2bf6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.backdrop_2bf6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.wrapper_advanced_557a {
  flex: 0 0 100%;
  max-width: 100%;
}

.info_blue_ead1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.progress_medium_1e39 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .progress_medium_1e39 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .info_blue_ead1 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.hero-focused-3dba { display: flex; }
.solid-6e55 { justify-content: space-between; }
.input_silver_44ca { align-items: center; }
.stale-dc07 { text-align: center; }

.header-72e8 { margin-right: 0.5rem; }
.highlight-dc1b { margin-right: 1rem; }
.hover_rough_433c { margin-top: 1rem; }
.form-2b4d { margin-top: 1.5rem; }
.avatar_7b51 { margin-bottom: 1rem; }
.clean-7910 { margin-bottom: 1.5rem; }
.cool-fa4b { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.border_cea8 { margin-top: 1rem; margin-bottom: 1rem; }
.down-e078 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.article_6270 { max-width: 100%; height: auto; }

/* Links used in old footer */
.simple-e261 { color: var(--text-primary); }
.north-89d0 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.label_yellow_5eab {
  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 */
.static-2266 { /* 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);
}

.static-2266:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.mask_649d {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.mask_649d:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.solid_3d36 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.action-470e {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.action-470e::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;
}

.surface_aaee {
  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);
}

.surface_aaee h1 {
  margin-bottom: var(--spacing-sm);
}

.surface_aaee p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.menu_right_a8a4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.thumbnail-plasma-ee0e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.section_active_0de7 {
  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);
}

.notification-3380 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.grid-3837 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.grid-3837 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.selected-da85 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.list_rough_24db {
  padding-bottom: var(--spacing-2xl);
}

.card-glass-8c5c {
  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;
}

.column-a061 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.detail-fluid-0a21 a {
  color: var(--primary-color);
}

.detail-fluid-0a21.fn-active-675c {
  color: var(--text-secondary);
}

.detail-fluid-0a21:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.dark_755d {
  padding: var(--spacing-xl) 0;
}

.sort_4adc {
  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);
}

.sort_4adc h2 {
  margin-bottom: var(--spacing-sm);
}

.sort_4adc p {
  color: var(--text-secondary);
}

.rough-fa7e {
  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;
}

.rough-fa7e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.rough-fa7e h4 {
  margin-top: var(--spacing-sm);
}

.rough-fa7e p {
  color: var(--text-secondary);
}

.gallery_0c6e {
  padding: var(--spacing-xl) 0;
}

.element_selected_bd77 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.avatar_motion_7d68 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.avatar_motion_7d68 a {
  color: var(--text-secondary);
}

.avatar_motion_7d68 a:hover {
  color: var(--primary-color);
}

.overlay_black_4924 {
  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);
}

.header-cool-7e14 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.notice_18e8 {
  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);
}

.notice_18e8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.dim_5af9 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.heading-0306 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 2e07 */
.widget-item-z1 {
  padding: 0.1rem;
  font-size: 11px;
  line-height: 1.1;
}
