/*
 * Inner pages adapter for index.hover-dim-01a6 design system (styles-new.middle_5bf0)
 * 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(.yellow-f9f9) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.pro-49e4.green-dbb7 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.modal-rough-650e {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.modal-rough-650e > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.column-hard-b1f3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.label-liquid-ce13 {
  flex: 0 0 100%;
  max-width: 100%;
}

.aside-pink-d0cb {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .aside-pink-d0cb {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .label-liquid-ce13 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.dropdown_first_d2ba { display: flex; }
.stone_fdd8 { justify-content: space-between; }
.block_f5e8 { align-items: center; }
.green-dbb7 { text-align: center; }

.image-b3b8 { margin-right: 0.5rem; }
.thumbnail-b7ad { margin-right: 1rem; }
.hidden_narrow_02e4 { margin-top: 1rem; }
.element-c632 { margin-top: 1.5rem; }
.paper-b7f3 { margin-bottom: 1rem; }
.container-tall-9be8 { margin-bottom: 1.5rem; }
.dark-59c0 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.soft-869f { margin-top: 1rem; margin-bottom: 1rem; }
.input_6468 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.notice-purple-80ce { max-width: 100%; height: auto; }

/* Links used in old footer */
.list-advanced-2dbd { color: var(--text-primary); }
.active_last_559a { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.left_631d {
  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 */
.texture_44f2 { /* 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);
}

.texture_44f2:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.article_medium_1e06 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.article_medium_1e06:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.message_8828 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.main_6921 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.main_6921::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;
}

.gas-98df {
  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);
}

.gas-98df h1 {
  margin-bottom: var(--spacing-sm);
}

.gas-98df p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.summary_yellow_df98 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.mask-pressed-6bd0 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.accordion-5d43 {
  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);
}

.text-64f2 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.modal-311d h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.modal-311d p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.nav-5c67 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.bronze_250a {
  padding-bottom: var(--spacing-2xl);
}

.dim_d8f5 {
  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;
}

.pro_e36b {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.thumbnail_95ab a {
  color: var(--primary-color);
}

.thumbnail_95ab.fn-active-02b2 {
  color: var(--text-secondary);
}

.thumbnail_95ab:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.alert_green_b5f0 {
  padding: var(--spacing-xl) 0;
}

.image-north-e9a8 {
  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);
}

.image-north-e9a8 h2 {
  margin-bottom: var(--spacing-sm);
}

.image-north-e9a8 p {
  color: var(--text-secondary);
}

.heading-dim-31e6 {
  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;
}

.heading-dim-31e6 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.heading-dim-31e6 h4 {
  margin-top: var(--spacing-sm);
}

.heading-dim-31e6 p {
  color: var(--text-secondary);
}

.avatar-over-3196 {
  padding: var(--spacing-xl) 0;
}

.content_412f {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.alert_advanced_dce0 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert_advanced_dce0 a {
  color: var(--text-secondary);
}

.alert_advanced_dce0 a:hover {
  color: var(--primary-color);
}

.over_93af {
  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);
}

.bronze-bec9 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.disabled_3e1e {
  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);
}

.disabled_3e1e:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.chip-paper-b9c9 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.box-d595 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 1486 */
.phantom-card-o4 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.0;
}
