/*
 * Inner pages adapter for index.secondary-78f6 design system (styles-new.grid-short-d041)
 * 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(.purple_ff14) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.caption_dark_05d5.shade-c3b2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.simple_3d3b {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.simple_3d3b > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.orange_d62d {
  flex: 0 0 100%;
  max-width: 100%;
}

.banner_a35a {
  flex: 0 0 100%;
  max-width: 100%;
}

.search_1b68 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .search_1b68 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .banner_a35a {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.button_cf1c { display: flex; }
.border-b23e { justify-content: space-between; }
.box-0261 { align-items: center; }
.shade-c3b2 { text-align: center; }

.label-last-acbd { margin-right: 0.5rem; }
.bronze-74cd { margin-right: 1rem; }
.popup-east-9f62 { margin-top: 1rem; }
.thick-e21e { margin-top: 1.5rem; }
.texture-8d90 { margin-bottom: 1rem; }
.banner-ecec { margin-bottom: 1.5rem; }
.sidebar-5f48 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.logo-09bf { margin-top: 1rem; margin-bottom: 1rem; }
.gradient_first_9b8e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.sidebar-1409 { max-width: 100%; height: auto; }

/* Links used in old footer */
.alert_a294 { color: var(--text-primary); }
.simple_26e2 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.shadow_6f46 {
  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 */
.table_red_3b38 { /* 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);
}

.table_red_3b38:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.wood-22fd {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.wood-22fd:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.action_9884 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.simple-b40b {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.simple-b40b::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-dim-2c14 {
  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-dim-2c14 h1 {
  margin-bottom: var(--spacing-sm);
}

.avatar-dim-2c14 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.tertiary-17cf {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.surface-1f5d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.breadcrumb_fluid_bd38 {
  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);
}

.secondary-a4bb {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.plasma_482f h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.plasma_482f p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.chip_bb41 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.under-e74b {
  padding-bottom: var(--spacing-2xl);
}

.caption-fixed-fb49 {
  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;
}

.purple_9ca7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.column_3062 a {
  color: var(--primary-color);
}

.column_3062.fn-active-df95 {
  color: var(--text-secondary);
}

.column_3062:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.progress-29d4 {
  padding: var(--spacing-xl) 0;
}

.wrapper_fe62 {
  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);
}

.wrapper_fe62 h2 {
  margin-bottom: var(--spacing-sm);
}

.wrapper_fe62 p {
  color: var(--text-secondary);
}

.hero_5d1b {
  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;
}

.hero_5d1b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.hero_5d1b h4 {
  margin-top: var(--spacing-sm);
}

.hero_5d1b p {
  color: var(--text-secondary);
}

.button_0639 {
  padding: var(--spacing-xl) 0;
}

.avatar_76b0 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.fixed-ace3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fixed-ace3 a {
  color: var(--text-secondary);
}

.fixed-ace3 a:hover {
  color: var(--primary-color);
}

.light_e021 {
  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);
}

.progress_south_a3c4 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.wrapper-in-c7eb {
  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);
}

.wrapper-in-c7eb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.up_3c98 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.rough-11be { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: d481 */
.ghost-box-h4 {
  padding: 0.4rem;
  font-size: 10px;
  line-height: 1.3;
}
