/*
 * Inner pages adapter for index.panel-88db design system (styles-new.summary-red-fad1)
 * 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(.lite-e57a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.box_paper_6762.inner_1469 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.modal-1255 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.modal-1255 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.border_up_54e8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dark_d8a4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.description-ef56 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .description-ef56 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .dark_d8a4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pattern-slow-7e6f { display: flex; }
.outline-a7cb { justify-content: space-between; }
.yellow-3014 { align-items: center; }
.inner_1469 { text-align: center; }

.outline_3f94 { margin-right: 0.5rem; }
.fast-a468 { margin-right: 1rem; }
.status-basic-59df { margin-top: 1rem; }
.dynamic-b73a { margin-top: 1.5rem; }
.aside-4aed { margin-bottom: 1rem; }
.cool_06e2 { margin-bottom: 1.5rem; }
.summary-bccf { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.focused_8a25 { margin-top: 1rem; margin-bottom: 1rem; }
.highlight_small_c344 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.sort-7ee5 { max-width: 100%; height: auto; }

/* Links used in old footer */
.slider-f78b { color: var(--text-primary); }
.table-9490 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.sort-huge-949d {
  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 */
.main_bronze_bd26 { /* 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);
}

.main_bronze_bd26:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.red_9784 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.red_9784:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.gradient-df5c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.grid_6084 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.grid_6084::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;
}

.secondary_4a41 {
  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);
}

.secondary_4a41 h1 {
  margin-bottom: var(--spacing-sm);
}

.secondary_4a41 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.header-9b82 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.panel-large-8fd4 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.overlay_fluid_7be9 {
  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);
}

.block-4973 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.hard_fa0d h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.hard_fa0d p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.liquid_0eaf img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.summary_under_e977 {
  padding-bottom: var(--spacing-2xl);
}

.footer-90e3 {
  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;
}

.feature_feba {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.huge-a3db a {
  color: var(--primary-color);
}

.huge-a3db.fn-active-8711 {
  color: var(--text-secondary);
}

.huge-a3db:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.progress_white_6d79 {
  padding: var(--spacing-xl) 0;
}

.nav_31d8 {
  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);
}

.nav_31d8 h2 {
  margin-bottom: var(--spacing-sm);
}

.nav_31d8 p {
  color: var(--text-secondary);
}

.black-c6df {
  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;
}

.black-c6df h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.black-c6df h4 {
  margin-top: var(--spacing-sm);
}

.black-c6df p {
  color: var(--text-secondary);
}

.shadow-inner-50a6 {
  padding: var(--spacing-xl) 0;
}

.upper-60b4 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.gold_2e9c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gold_2e9c a {
  color: var(--text-secondary);
}

.gold_2e9c a:hover {
  color: var(--primary-color);
}

.clean-e372 {
  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);
}

.background-stone-647c {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.filter-narrow-32a8 {
  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);
}

.filter-narrow-32a8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.frame_d25d { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.item_dynamic_e2d2 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e6ee */
.phantom-card-q2 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.3;
}
