/*
 * Inner pages adapter for index.message-dirty-1731 design system (styles-new.next-be46)
 * 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(.logo-e27a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.light_803b.right_1894 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.text-fb4e {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.text-fb4e > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.active_plasma_c20e {
  flex: 0 0 100%;
  max-width: 100%;
}

.texture-160c {
  flex: 0 0 100%;
  max-width: 100%;
}

.brown_88e0 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .brown_88e0 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .texture-160c {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.iron-a881 { display: flex; }
.outline_5d8a { justify-content: space-between; }
.search_slow_977e { align-items: center; }
.right_1894 { text-align: center; }

.dropdown-fccd { margin-right: 0.5rem; }
.nav_iron_b095 { margin-right: 1rem; }
.next_296d { margin-top: 1rem; }
.brown_e049 { margin-top: 1.5rem; }
.header_51a7 { margin-bottom: 1rem; }
.next-8700 { margin-bottom: 1.5rem; }
.fresh-3028 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.action-0b8c { margin-top: 1rem; margin-bottom: 1rem; }
.row_8293 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.overlay_left_c0c5 { max-width: 100%; height: auto; }

/* Links used in old footer */
.notification-red-a6a9 { color: var(--text-primary); }
.under-cf8a { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.soft-b4a4 {
  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 */
.pattern-1ebe { /* 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);
}

.pattern-1ebe:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.huge_2fbc {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.huge_2fbc:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.fresh_9b8a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.outline-5f79 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.outline-5f79::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;
}

.accent-983e {
  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);
}

.accent-983e h1 {
  margin-bottom: var(--spacing-sm);
}

.accent-983e p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.form_7d5a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.avatar-273f {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form_8fb6 {
  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);
}

.carousel_7f34 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.caption_4a43 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.caption_4a43 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.item_3713 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.hot-000d {
  padding-bottom: var(--spacing-2xl);
}

.feature-inner-d020 {
  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;
}

.west_f151 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.gradient_c171 a {
  color: var(--primary-color);
}

.gradient_c171.fn-active-056b {
  color: var(--text-secondary);
}

.gradient_c171:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.fresh-b184 {
  padding: var(--spacing-xl) 0;
}

.outline_6942 {
  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);
}

.outline_6942 h2 {
  margin-bottom: var(--spacing-sm);
}

.outline_6942 p {
  color: var(--text-secondary);
}

.box-dce9 {
  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;
}

.box-dce9 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.box-dce9 h4 {
  margin-top: var(--spacing-sm);
}

.box-dce9 p {
  color: var(--text-secondary);
}

.image_6967 {
  padding: var(--spacing-xl) 0;
}

.breadcrumb_47e4 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.modal-complex-23e9 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal-complex-23e9 a {
  color: var(--text-secondary);
}

.modal-complex-23e9 a:hover {
  color: var(--primary-color);
}

.banner-a30d {
  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);
}

.outline-7993 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.old_df92 {
  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);
}

.old_df92:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.tooltip_complex_eeee { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.frame_695f { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8ac4 */
.ghost-box-l4 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.0;
}
