/*
 * Inner pages adapter for index.mask-9774 design system (styles-new.out-3e5d)
 * 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(.modal-wide-9668) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.hero-e65b.detail-west-3f33 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.hover_bronze_337b {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.hover_bronze_337b > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.liquid-0ac2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.bottom-6a38 {
  flex: 0 0 100%;
  max-width: 100%;
}

.header-up-1a10 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .header-up-1a10 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .bottom-6a38 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.bright_d13d { display: flex; }
.stale-9c5a { justify-content: space-between; }
.avatar_c2da { align-items: center; }
.detail-west-3f33 { text-align: center; }

.west-f8f5 { margin-right: 0.5rem; }
.modal-liquid-ecc8 { margin-right: 1rem; }
.small-1583 { margin-top: 1rem; }
.thumbnail_f4a9 { margin-top: 1.5rem; }
.next_5099 { margin-bottom: 1rem; }
.sort-8cf0 { margin-bottom: 1.5rem; }
.purple_f82a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.tag-6450 { margin-top: 1rem; margin-bottom: 1rem; }
.pressed_a34b { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.short_9f95 { max-width: 100%; height: auto; }

/* Links used in old footer */
.solid_34e0 { color: var(--text-primary); }
.active-4ba1 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.gallery-stale-75ef {
  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 */
.hidden_e1ce { /* 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);
}

.hidden_e1ce:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.title_2594 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.title_2594:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.dropdown_eb40 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.description_0cdd {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.description_0cdd::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;
}

.south-e24a {
  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);
}

.south-e24a h1 {
  margin-bottom: var(--spacing-sm);
}

.south-e24a p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.avatar_east_2217 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.hero_04de {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hidden_liquid_7516 {
  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);
}

.overlay_clean_b1d9 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.aside_tiny_ab91 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.aside_tiny_ab91 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.active_db4f img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.hovered_89f6 {
  padding-bottom: var(--spacing-2xl);
}

.hover-5c52 {
  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-stale-6103 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.article_1ceb a {
  color: var(--primary-color);
}

.article_1ceb.fn-active-03a8 {
  color: var(--text-secondary);
}

.article_1ceb:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.over_879c {
  padding: var(--spacing-xl) 0;
}

.frame-next-5d66 {
  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);
}

.frame-next-5d66 h2 {
  margin-bottom: var(--spacing-sm);
}

.frame-next-5d66 p {
  color: var(--text-secondary);
}

.simple-4379 {
  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;
}

.simple-4379 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.simple-4379 h4 {
  margin-top: var(--spacing-sm);
}

.simple-4379 p {
  color: var(--text-secondary);
}

.panel-fast-684e {
  padding: var(--spacing-xl) 0;
}

.hidden-simple-5e8a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.menu-52e4 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-52e4 a {
  color: var(--text-secondary);
}

.menu-52e4 a:hover {
  color: var(--primary-color);
}

.column_253e {
  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);
}

.pink-6f62 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.form_fd67 {
  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);
}

.form_fd67:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.mask-prev-b2ff { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.accordion-ef0a { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b7d8 */
.widget-item-g7 {
  padding: 0.4rem;
  font-size: 13px;
  line-height: 1.3;
}
