/*
 * Inner pages adapter for index.surface-1606 design system (styles-new.backdrop_silver_cdfe)
 * 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(.panel_thick_f4ef) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.pattern-tiny-3735.sort_west_036d {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.link_0b2b {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.link_0b2b > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.banner_6108 {
  flex: 0 0 100%;
  max-width: 100%;
}

.up_894e {
  flex: 0 0 100%;
  max-width: 100%;
}

.item_black_1a43 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .item_black_1a43 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .up_894e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.button-ad55 { display: flex; }
.backdrop-1fe9 { justify-content: space-between; }
.element-84fa { align-items: center; }
.sort_west_036d { text-align: center; }

.outer-d2d8 { margin-right: 0.5rem; }
.tag_96ad { margin-right: 1rem; }
.gas-e64c { margin-top: 1rem; }
.clean-1e66 { margin-top: 1.5rem; }
.center_cdf0 { margin-bottom: 1rem; }
.image_simple_06e5 { margin-bottom: 1.5rem; }
.tooltip_left_ae65 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.sidebar_dark_978a { margin-top: 1rem; margin-bottom: 1rem; }
.tiny_9fb5 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.pagination-huge-b787 { max-width: 100%; height: auto; }

/* Links used in old footer */
.north_3fff { color: var(--text-primary); }
.icon-23f4 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.advanced_30bd {
  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 */
.gradient_fast_dd59 { /* 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);
}

.gradient_fast_dd59:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.huge_b36d {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.huge_b36d:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.avatar-steel-ee21 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.sort_solid_662d {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.sort_solid_662d::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;
}

.text-382e {
  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);
}

.text-382e h1 {
  margin-bottom: var(--spacing-sm);
}

.text-382e p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.pagination-fresh-bbb9 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.hover-4283 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.old-1c0b {
  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);
}

.east-ac7f {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.message_2ee8 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.message_2ee8 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.active-5c8e img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.logo-gas-d7f7 {
  padding-bottom: var(--spacing-2xl);
}

.pattern_f351 {
  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;
}

.table_722a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.border-warm-27fc a {
  color: var(--primary-color);
}

.border-warm-27fc.fn-active-e32d {
  color: var(--text-secondary);
}

.border-warm-27fc:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.disabled_75af {
  padding: var(--spacing-xl) 0;
}

.search-huge-024a {
  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);
}

.search-huge-024a h2 {
  margin-bottom: var(--spacing-sm);
}

.search-huge-024a p {
  color: var(--text-secondary);
}

.logo-cbb6 {
  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;
}

.logo-cbb6 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.logo-cbb6 h4 {
  margin-top: var(--spacing-sm);
}

.logo-cbb6 p {
  color: var(--text-secondary);
}

.mask-bright-d0ee {
  padding: var(--spacing-xl) 0;
}

.overlay-a609 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.sort-thick-0349 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sort-thick-0349 a {
  color: var(--text-secondary);
}

.sort-thick-0349 a:hover {
  color: var(--primary-color);
}

.video_879b {
  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);
}

.footer_full_704d {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.media-454b {
  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);
}

.media-454b:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.lite_9513 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-fresh-9b6b { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: c9cc */
.promo-block-c2 {
  padding: 0.1rem;
  font-size: 14px;
  line-height: 1.1;
}
