/*
 * Inner pages adapter for index.avatar_9dd6 design system (styles-new.border-58ba)
 * 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(.title_6d9d) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.status-west-5ca3.icon_tall_dd4b {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.popup-cold-5b8a {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.popup-cold-5b8a > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.feature-fixed-ef50 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dark_6f08 {
  flex: 0 0 100%;
  max-width: 100%;
}

.main-7cc5 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .main-7cc5 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .dark_6f08 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.tooltip-8616 { display: flex; }
.column-5f5e { justify-content: space-between; }
.aside_3766 { align-items: center; }
.icon_tall_dd4b { text-align: center; }

.panel-be62 { margin-right: 0.5rem; }
.main_first_54e9 { margin-right: 1rem; }
.lower_79ce { margin-top: 1rem; }
.description-08eb { margin-top: 1.5rem; }
.list-small-afa6 { margin-bottom: 1rem; }
.layout-thick-244c { margin-bottom: 1.5rem; }
.yellow-6dc8 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.highlight_a515 { margin-top: 1rem; margin-bottom: 1rem; }
.caption-bottom-dd07 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.focus-up-97e4 { max-width: 100%; height: auto; }

/* Links used in old footer */
.complex-99c2 { color: var(--text-primary); }
.surface_72e2 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.pagination_pressed_6c3d {
  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 */
.old_dfe8 { /* 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);
}

.old_dfe8:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.gallery_liquid_d2ef {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.gallery_liquid_d2ef:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.dirty-9c5b {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.search-e601 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.search-e601::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;
}

.widget_copper_8e1d {
  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);
}

.widget_copper_8e1d h1 {
  margin-bottom: var(--spacing-sm);
}

.widget_copper_8e1d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.popup_b148 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tertiary-iron-b85c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.gradient_af9f {
  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);
}

.pattern-bottom-6985 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.pink-08a1 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.pink-08a1 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.old_d437 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.block-d0e5 {
  padding-bottom: var(--spacing-2xl);
}

.disabled-7c61 {
  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;
}

.inner_97d6 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb_d924 a {
  color: var(--primary-color);
}

.breadcrumb_d924.fn-active-7ff6 {
  color: var(--text-secondary);
}

.breadcrumb_d924:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.plasma-d9ff {
  padding: var(--spacing-xl) 0;
}

.container_3a14 {
  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);
}

.container_3a14 h2 {
  margin-bottom: var(--spacing-sm);
}

.container_3a14 p {
  color: var(--text-secondary);
}

.shadow_hard_f7eb {
  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;
}

.shadow_hard_f7eb h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.shadow_hard_f7eb h4 {
  margin-top: var(--spacing-sm);
}

.shadow_hard_f7eb p {
  color: var(--text-secondary);
}

.hard-413a {
  padding: var(--spacing-xl) 0;
}

.pink_723e {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.box-c809 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.box-c809 a {
  color: var(--text-secondary);
}

.box-c809 a:hover {
  color: var(--primary-color);
}

.new_fe92 {
  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-glass-16f6 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.bright_6c11 {
  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);
}

.bright_6c11:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.large-eb80 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sort-2b81 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 7580 */
.promo-block-m0 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.1;
}
