/*
 * Inner pages adapter for index.table_gas_9bb2 design system (styles-new.complex_9da5)
 * 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(.disabled-8326) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.thumbnail_pink_bfe0.pagination_dirty_b64c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.box-medium-806e {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.box-medium-806e > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.left-52a5 {
  flex: 0 0 100%;
  max-width: 100%;
}

.hover-action-9ace {
  flex: 0 0 100%;
  max-width: 100%;
}

.soft-7b0a {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .soft-7b0a {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .hover-action-9ace {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.avatar-309d { display: flex; }
.texture_white_2564 { justify-content: space-between; }
.sidebar-33f8 { align-items: center; }
.pagination_dirty_b64c { text-align: center; }

.outline_e3e1 { margin-right: 0.5rem; }
.gradient_7f7a { margin-right: 1rem; }
.backdrop_ec46 { margin-top: 1rem; }
.notification_712b { margin-top: 1.5rem; }
.active-60e4 { margin-bottom: 1rem; }
.module-e307 { margin-bottom: 1.5rem; }
.block_dark_d866 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.selected_ba83 { margin-top: 1rem; margin-bottom: 1rem; }
.primary-67c6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.notification_huge_e518 { max-width: 100%; height: auto; }

/* Links used in old footer */
.logo-87a0 { color: var(--text-primary); }
.active-down-517e { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.gradient_white_c9e3 {
  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 */
.element-7f02 { /* 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);
}

.element-7f02:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.item-f3a1 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.item-f3a1:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.last-5a5e {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.image_rough_ec9e {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.image_rough_ec9e::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;
}

.thumbnail-afb4 {
  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);
}

.thumbnail-afb4 h1 {
  margin-bottom: var(--spacing-sm);
}

.thumbnail-afb4 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.stale-cacf {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.stone_1803 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.badge_8eb4 {
  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);
}

.panel-hot-15ed {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.tertiary_9bfd h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.tertiary_9bfd p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.section_60ce img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.message-over-01df {
  padding-bottom: var(--spacing-2xl);
}

.tooltip-plasma-1453 {
  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;
}

.shadow_253d {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.wrapper-prev-05ae a {
  color: var(--primary-color);
}

.wrapper-prev-05ae.fn-active-65d3 {
  color: var(--text-secondary);
}

.wrapper-prev-05ae:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.orange-d858 {
  padding: var(--spacing-xl) 0;
}

.middle-8fea {
  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);
}

.middle-8fea h2 {
  margin-bottom: var(--spacing-sm);
}

.middle-8fea p {
  color: var(--text-secondary);
}

.medium_c51b {
  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;
}

.medium_c51b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.medium_c51b h4 {
  margin-top: var(--spacing-sm);
}

.medium_c51b p {
  color: var(--text-secondary);
}

.mini-c430 {
  padding: var(--spacing-xl) 0;
}

.icon_5ef2 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.west-8c13 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.west-8c13 a {
  color: var(--text-secondary);
}

.west-8c13 a:hover {
  color: var(--primary-color);
}

.badge-plasma-9a37 {
  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);
}

.next_8180 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.last_f170 {
  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);
}

.last_f170:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.widget-5d0f { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pro-8db8 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: a49d */
.shadow-element-k5 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.1;
}
