/* Meteorflix Launch Polish — 2026-09-26
   Final visual/copy presentation layer. No playback, entitlement, payment, catalog or auth logic. */

:root {
  --mf-launch-bg: #07090e;
  --mf-launch-surface: rgba(18, 21, 29, .86);
  --mf-launch-surface-2: rgba(24, 28, 38, .76);
  --mf-launch-surface-solid: #12151d;
  --mf-launch-border: rgba(255,255,255,.09);
  --mf-launch-border-strong: rgba(255,255,255,.14);
  --mf-launch-text: #f7f8fb;
  --mf-launch-muted: rgba(235,239,247,.67);
  --mf-launch-faint: rgba(235,239,247,.46);
  --mf-launch-accent: #e50914;
  --mf-launch-accent-2: #ff3340;
  --mf-launch-success: #4ade80;
  --mf-launch-warning: #f5c451;
  --mf-launch-danger: #fb7185;
  --mf-launch-radius-sm: 10px;
  --mf-launch-radius: 14px;
  --mf-launch-radius-lg: 20px;
  --mf-launch-shadow: 0 18px 48px rgba(0,0,0,.28);
  --mf-launch-shadow-lg: 0 28px 72px rgba(0,0,0,.42);
  --mf-launch-page: 1240px;
  --mf-launch-gutter: clamp(16px, 3.8vw, 48px);
  --mf-launch-section-gap: clamp(30px, 5vw, 56px);
  --mf-launch-control: 46px;
}

html { color-scheme: dark; scroll-behavior: smooth; }
html, body { min-width: 320px; }
body.mf-page,
body.admin-page {
  color: var(--mf-launch-text);
  background:
    radial-gradient(1100px 520px at 50% -180px, rgba(229,9,20,.09), transparent 66%),
    var(--mf-launch-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mf-page #dt_contenedor { background: transparent; }
body.mf-page img { max-width: 100%; }
body.mf-page button,
body.mf-page input,
body.mf-page select,
body.mf-page textarea,
body.admin-page button,
body.admin-page input,
body.admin-page select,
body.admin-page textarea { font: inherit; }

body.mf-page :focus-visible,
body.admin-page :focus-visible {
  outline: 2px solid rgba(255,80,92,.95);
  outline-offset: 3px;
}

/* ----- Shared typography ----- */
body.mf-page .section-title,
body.mf-page .mf-menu-sys-h2,
body.mf-page .mf-settings-card-title,
body.mf-page .mf-plans-card-title,
body.mf-page .mf-user-section-title {
  color: var(--mf-launch-text);
  font-weight: 760;
  letter-spacing: -.025em;
  line-height: 1.14;
  text-wrap: balance;
}
body.mf-page .section-title { font-size: clamp(1.45rem, 2.5vw, 2.05rem); }
body.mf-page .section-sub,
body.mf-page .mf-settings-hint,
body.mf-page .mf-plans-card-sub,
body.mf-page .mf-menu-sys-empty {
  color: var(--mf-launch-muted);
  line-height: 1.65;
  max-width: 72ch;
}
body.mf-page .page-breadcrumb {
  color: var(--mf-launch-faint);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 9px;
}
body.mf-page .page-breadcrumb a { color: rgba(255,255,255,.72); }
body.mf-page .page-breadcrumb a:hover { color: #fff; }

/* ----- Header / nav ----- */
body.mf-has-idlix-header { --mf-header-pill-top: 10px; }
body.mf-has-idlix-header .mf-header-inner {
  max-width: min(1440px, 100%);
  gap: clamp(10px, 1.25vw, 18px);
}
body.mf-has-idlix-header.is-scrolled .mf-header-inner {
  background: rgba(8,10,14,.88);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 14px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}
body.mf-has-idlix-header .mf-header .logo-mark {
  font-weight: 900;
  letter-spacing: .025em;
}
body.mf-has-idlix-header .mf-header .mf-nav-link {
  min-height: 38px;
  padding-inline: 11px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: -.005em;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
body.mf-has-idlix-header .mf-header .mf-nav-link:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
body.mf-has-idlix-header .mf-header .mf-nav-link.active {
  color: #fff;
  background: rgba(229,9,20,.14);
}
body.mf-page .mf-account-menu,
body.mf-page .mf-nav-more-menu {
  border: 1px solid var(--mf-launch-border-strong);
  background: rgba(12,14,20,.96);
  box-shadow: var(--mf-launch-shadow-lg);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

/* ----- Hero ----- */
body.mf-page .mf-hero-slider:not(.mf-hero--genre-hub-hidden) {
  background: #080a0f;
}
body.home .mf-hero-content,
body.mf-page .mf-hero-content {
  max-width: min(680px, 88vw);
}
body.mf-page .mf-hero-badge {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,10,14,.52);
  backdrop-filter: blur(10px);
}
body.mf-page .mf-hero-title {
  max-width: 17ch;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 820;
  text-wrap: balance;
}
body.mf-page .mf-hero-meta {
  color: rgba(255,255,255,.78);
  font-weight: 650;
  letter-spacing: .01em;
}
body.mf-page .mf-hero-desc {
  max-width: 62ch;
  color: rgba(247,248,251,.72);
  font-size: clamp(.92rem, 1.2vw, 1.02rem);
  line-height: 1.68;
}
body.mf-page .mf-hero-cta {
  min-height: var(--mf-launch-control);
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  font-weight: 750;
  box-shadow: 0 10px 30px rgba(229,9,20,.22);
}
body.mf-page .mf-hero-arrow {
  border-color: rgba(255,255,255,.12);
  background: rgba(9,11,16,.56);
  backdrop-filter: blur(12px);
}

/* ----- Section rhythm ----- */
body.mf-page:not(.detail-page) .detail-main > .section,
body.mf-page #browseGrouped,
body.mf-page .mf-menu-sys,
body.mf-page .mf-settings-main,
body.mf-page .mf-plans-main,
body.mf-user-page .mf-user-shell {
  width: min(100%, var(--mf-launch-page));
  margin-inline: auto;
}
body.home main.detail-main > .section {
  padding-top: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(22px, 3.6vw, 38px);
}
body.mf-page .mf-section-header,
body.mf-page .section-header {
  align-items: center;
  margin-bottom: 14px;
}
body.mf-page .mf-section-header h2,
body.mf-page .section-header h2 {
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  font-weight: 800;
  letter-spacing: -.018em;
}
body.mf-page .see-all,
body.mf-page .mf-genre-see-all,
body.mf-page .mf-network-see-all {
  color: rgba(255,255,255,.65);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 7px 10px;
  border-radius: 9px;
}
body.mf-page .see-all:hover,
body.mf-page .mf-genre-see-all:hover,
body.mf-page .mf-network-see-all:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ----- Cards / poster rails ----- */
body.mf-page .item,
body.mf-page .movie-card,
body.mf-page .mf-menu-sys-grid > a,
body.mf-page .mf-menu-sys-grid > article {
  min-width: 0;
}
body.mf-page .item img,
body.mf-page .movie-card img {
  transition: transform .28s ease, filter .28s ease;
}
@media (hover:hover) {
  body.mf-page .item:hover img,
  body.mf-page .movie-card:hover img { transform: scale(1.025); filter: brightness(1.05); }
}

/* ----- Buttons ----- */
body.mf-page .btn,
body.admin-page .btn,
body.admin-page .adm-btn {
  min-height: var(--mf-launch-control);
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.005em;
  text-align: center;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}
body.mf-page .btn-primary,
body.admin-page .btn-primary,
body.admin-page .adm-btn--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--mf-launch-accent-2), var(--mf-launch-accent) 52%, #b60711);
  box-shadow: 0 9px 24px rgba(229,9,20,.19);
}
body.mf-page .btn-secondary,
body.admin-page .btn-secondary,
body.admin-page .adm-btn--secondary {
  color: #f2f4f8;
  border: 1px solid var(--mf-launch-border-strong);
  background: rgba(255,255,255,.055);
}
@media (hover:hover) {
  body.mf-page .btn:hover,
  body.admin-page .btn:hover,
  body.admin-page .adm-btn:hover { transform: translateY(-1px); }
  body.mf-page .btn-primary:hover,
  body.admin-page .btn-primary:hover { box-shadow: 0 12px 30px rgba(229,9,20,.28); }
  body.mf-page .btn-secondary:hover,
  body.admin-page .btn-secondary:hover { background: rgba(255,255,255,.09); }
}
body.mf-page .btn:disabled,
body.admin-page .btn:disabled,
body.admin-page .adm-btn:disabled { opacity: .48; transform: none; box-shadow: none; cursor: not-allowed; }

/* ----- Forms ----- */
body.mf-page input:not([type="checkbox"]):not([type="radio"]),
body.mf-page select,
body.mf-page textarea,
body.admin-page .adm-input,
body.admin-page .adm-select,
body.admin-page textarea.adm-input {
  min-height: var(--mf-launch-control);
  color: var(--mf-launch-text);
  border: 1px solid var(--mf-launch-border-strong);
  border-radius: 12px;
  background: rgba(4,6,10,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
body.mf-page textarea,
body.admin-page textarea.adm-input { min-height: 104px; line-height: 1.55; }
body.mf-page input:hover,
body.mf-page select:hover,
body.mf-page textarea:hover,
body.admin-page .adm-input:hover,
body.admin-page .adm-select:hover { border-color: rgba(255,255,255,.21); }
body.mf-page input:focus,
body.mf-page select:focus,
body.mf-page textarea:focus,
body.admin-page .adm-input:focus,
body.admin-page .adm-select:focus {
  outline: none;
  border-color: rgba(255,62,76,.72);
  background: rgba(5,7,12,.78);
  box-shadow: 0 0 0 3px rgba(229,9,20,.12);
}

/* ----- Shared panels ----- */
body.mf-page .mf-settings-card,
body.mf-page .mf-plans-card,
body.mf-page .mf-menu-sys-block,
body.mf-page .mf-menu-sys-gate,
body.mf-page .mf-coins-card,
body.mf-page .mf-message-reader,
body.mf-page .mf-notif-page-item,
body.mf-page .mf-plans-faq-item {
  border: 1px solid var(--mf-launch-border);
  background: linear-gradient(145deg, rgba(22,25,34,.82), rgba(12,15,21,.8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 34px rgba(0,0,0,.13);
  border-radius: var(--mf-launch-radius-lg);
}

/* ----- Menu-system pages (wallet, notifications, messages, request, collections, release history) ----- */
body.mf-menu-sys-page .mf-menu-sys {
  padding-inline: var(--mf-launch-gutter);
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: 54px;
}
body.mf-menu-sys-page .mf-menu-sys-head-row {
  align-items: end;
  padding-bottom: 4px;
}
body.mf-menu-sys-page .mf-menu-sys-status {
  border-radius: 12px;
  padding: 12px 14px;
  line-height: 1.5;
}
body.mf-menu-sys-page .mf-menu-sys-tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--mf-launch-border);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}
body.mf-menu-sys-page .mf-menu-sys-tab {
  min-height: 38px;
  border-radius: 9px;
  padding: 8px 13px;
  font-weight: 700;
}
body.mf-menu-sys-page .mf-menu-sys-tab.is-active {
  color: #fff;
  background: rgba(229,9,20,.16);
  box-shadow: inset 0 0 0 1px rgba(229,9,20,.2);
}
body.mf-menu-sys-page .mf-menu-sys-empty,
body.mf-menu-sys-page .mf-menu-sys-gate {
  text-align: center;
}
body.mf-menu-sys-page .mf-menu-sys-gate {
  padding: clamp(24px, 5vw, 44px);
}
body.mf-menu-sys-page .mf-menu-sys-actions { gap: 10px; }
body.mf-menu-sys-page .mf-menu-sys-actions--foot {
  border-top: 1px solid var(--mf-launch-border);
  padding-top: 16px;
  margin-top: 28px;
}

/* ----- Wallet ----- */
body.mf-wallet-page .mf-coins-grid { gap: 16px; }
body.mf-wallet-page .mf-coins-card { padding: clamp(18px, 2.5vw, 26px); }
body.mf-wallet-page .mf-coins-kicker {
  color: var(--mf-launch-faint);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.mf-wallet-page .mf-wallet-balance-value {
  font-size: clamp(2.45rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}
body.mf-wallet-page .mf-coins-meta-row { gap: 10px 18px; color: var(--mf-launch-muted); }
body.mf-wallet-page .mf-coins-earn-list { gap: 12px; line-height: 1.55; }

/* ----- Plans ----- */
body.mf-plans-page .mf-plans-main {
  padding-inline: var(--mf-launch-gutter);
  padding-bottom: 60px;
}
body.mf-plans-page .mf-plans-hero {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}
body.mf-plans-page .mf-plans-grid { gap: 18px; align-items: start; }
body.mf-plans-page .mf-plans-card { padding: clamp(20px, 3vw, 30px); }
body.mf-plans-page .mf-plans-price-hero { margin-block: 14px 18px; }
body.mf-plans-page .mf-plans-duration { border-radius: 13px; }
body.mf-plans-page .mf-plans-benefits-list { gap: 0; }
body.mf-plans-page .mf-plans-benefits-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
}
body.mf-plans-page .mf-plans-benefits-list li:last-child { border-bottom: 0; }
body.mf-plans-page .mf-plans-benefits-list p { color: var(--mf-launch-muted); line-height: 1.5; }
body.mf-plans-page .mf-plans-faq { width: min(100%, 850px); margin-inline: auto; }
body.mf-plans-page .mf-plans-faq-item { padding-inline: 18px; }
body.mf-plans-page .mf-plans-faq-item summary { min-height: 52px; display: flex; align-items: center; font-weight: 720; }

/* ----- Settings ----- */
body.mf-settings-page .mf-settings-main {
  padding-inline: var(--mf-launch-gutter);
  padding-bottom: 60px;
}
body.mf-settings-page .mf-settings-tabs {
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--mf-launch-border);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
body.mf-settings-page .mf-settings-tab {
  min-height: 40px;
  border-radius: 10px;
  font-weight: 700;
}
body.mf-settings-page .mf-settings-tab.is-active { background: rgba(229,9,20,.15); color: #fff; }
body.mf-settings-page .mf-settings-card { padding: clamp(19px, 2.7vw, 28px); }
body.mf-settings-page .mf-settings-row {
  min-height: 44px;
  padding-block: 10px;
  border-bottom-color: rgba(255,255,255,.065);
}
body.mf-settings-page .mf-settings-row-label { color: var(--mf-launch-muted); }
body.mf-settings-page .mf-settings-row-value { color: #fff; font-weight: 650; }

/* ----- Auth ----- */
body.mf-auth-page--luxury .mf-auth-main { padding-top: clamp(26px, 5vw, 58px); }
body.mf-auth-page--luxury .mf-auth-grid { max-width: 1160px; align-items: center; }
body.mf-auth-page--luxury .mf-auth-hero-title { max-width: 17ch; }
body.mf-auth-page--luxury .mf-auth-hero-sub { max-width: 47ch; }
body.mf-auth-page--luxury .mf-auth-hero-tagline { font-style: normal; color: rgba(238,213,163,.78); }
body.mf-auth-page--luxury .mf-auth-card-wrap::before { opacity: .36; }
body.mf-auth-page--luxury .mf-auth-card {
  border-radius: 22px;
  background: rgba(13,16,23,.82);
  box-shadow: var(--mf-launch-shadow-lg), inset 0 1px 0 rgba(255,255,255,.05);
}
body.mf-auth-page--luxury .mf-auth-label { letter-spacing: .08em; }
body.mf-auth-page--luxury .mf-auth-label input { min-height: 48px; }

/* ----- User profile ----- */
body.mf-user-page .mf-user-shell {
  padding-inline: var(--mf-launch-gutter);
  padding-bottom: 58px;
}
body.mf-user-page .mf-user-head { padding-top: clamp(16px, 2.5vw, 28px); }
body.mf-user-page .mf-user-tabs {
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--mf-launch-border);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
body.mf-user-page .mf-user-tab {
  min-height: 42px;
  border-radius: 10px;
  font-weight: 700;
}
body.mf-user-page .mf-user-tab.is-active { color: #fff; background: rgba(229,9,20,.14); }
body.mf-user-page .mf-user-stat,
body.mf-user-page .mf-user-panel {
  border-color: var(--mf-launch-border);
  background: rgba(20,23,31,.7);
  border-radius: var(--mf-launch-radius-lg);
}
body.mf-user-page .mf-user-empty {
  padding: 22px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

/* ----- Detail; intentionally avoids player internals ----- */
body.mf-page.detail-page .detail-main { padding-bottom: 58px; }
body.mf-page.detail-page .mf-detail-content,
body.mf-page.detail-page .mf-detail-hero-dock-inner,
body.mf-page.detail-page .section.detail-recommend,
body.mf-page.detail-page .section.mf-detail-comments {
  width: min(calc(100% - (2 * var(--mf-launch-gutter))), var(--mf-launch-page));
  margin-inline: auto;
}
body.mf-page.detail-page .mf-detail-section-head { margin-bottom: 14px; }
body.mf-page.detail-page .detail-description,
body.mf-page.detail-page .detail-overview { line-height: 1.7; color: rgba(245,247,251,.76); }
body.mf-page.detail-page .mf-detail-recommend,
body.mf-page.detail-page .mf-detail-comments {
  border: 1px solid rgba(255,255,255,.065);
  border-radius: var(--mf-launch-radius-lg);
  background: rgba(255,255,255,.018);
}

/* ----- Modals / overlays ----- */
body.mf-page .mf-modal-card,
body.mf-page .mf-plans-modal-dialog {
  border-radius: 20px;
  border: 1px solid var(--mf-launch-border-strong);
  background: rgba(14,17,24,.96);
  box-shadow: 0 34px 90px rgba(0,0,0,.62);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
body.mf-page .mf-modal-title,
body.mf-page .mf-plans-modal-title { letter-spacing: -.02em; }

/* ----- Footer ----- */
body.mf-page .mf-footer {
  width: 100%;
  margin-top: auto;
  padding: 26px var(--mf-launch-gutter) max(26px, env(safe-area-inset-bottom));
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.055);
  background: rgba(4,6,9,.42);
}
body.mf-page .mf-footer > p,
body.mf-page .mf-footer .fmenu { width: min(100%, var(--mf-launch-page)); margin-inline: auto; }

/* ----- Admin ----- */
body.admin-page.admin-cms-theme {
  --admin-panel-radius: 16px;
  --admin-border: rgba(255,255,255,.085);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.admin-page .admin-shell-topbar {
  border-bottom: 1px solid var(--admin-border);
  background: rgba(10,12,17,.9);
  backdrop-filter: blur(18px);
}
body.admin-page .admin-shell-sidebar,
body.admin-page .admin-sidebar {
  border-right-color: var(--admin-border);
  background: #0b0e14;
}
body.admin-page .admin-sidebar-link,
body.admin-page .adm-nav-link {
  border-radius: 10px;
  min-height: 42px;
}
body.admin-page .admin-sidebar-link:hover,
body.admin-page .adm-nav-link:hover { background: rgba(255,255,255,.055); }
body.admin-page .admin-sidebar-link.is-active,
body.admin-page .adm-nav-link.is-active {
  color: #fff;
  background: rgba(229,9,20,.14);
  box-shadow: inset 3px 0 0 var(--mf-launch-accent);
}
body.admin-page .adm-card,
body.admin-page .admin-subcard,
body.admin-page .admin-form-section {
  border-radius: var(--admin-panel-radius);
  border-color: var(--admin-border);
  background: linear-gradient(145deg, rgba(20,23,31,.88), rgba(13,16,22,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
body.admin-page .admin-subcard-title,
body.admin-page .adm-section__title,
body.admin-page .section-title {
  letter-spacing: -.02em;
  line-height: 1.18;
}
body.admin-page .section-sub,
body.admin-page .adm-help { color: rgba(235,239,247,.61); line-height: 1.58; }
body.admin-page .adm-catalog-table-wrap {
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.075);
  overflow: auto;
}
body.admin-page .adm-cat-table th {
  background: #11151d;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.admin-page .adm-cat-table td { border-top-color: rgba(255,255,255,.055); vertical-align: middle; }
body.admin-page .admin-notice { border-radius: 11px; line-height: 1.5; }
body.admin-page .admin-login-card { border-radius: 20px; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  :root { --mf-launch-gutter: clamp(14px, 3.8vw, 28px); }
  body.mf-page .mf-hero-title { font-size: clamp(2rem, 7vw, 3.65rem); }
  body.mf-wallet-page .mf-coins-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --mf-launch-control: 44px; }
  body.mf-page { font-size: 15px; }
  body.mf-has-idlix-header .mf-header-inner { padding-inline: 14px; }
  body.mf-has-idlix-header.is-scrolled .mf-header-inner {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 18px;
  }
  body.mf-page .mf-hero-content { max-width: calc(100vw - 34px); }
  body.mf-page .mf-hero-title { font-size: clamp(1.8rem, 9.7vw, 3rem); line-height: 1.04; }
  body.mf-page .mf-hero-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  body.mf-page .section-title { font-size: 1.5rem; }
  body.mf-menu-sys-page .mf-menu-sys-head-row { align-items: flex-start; }
  body.mf-menu-sys-page .mf-menu-sys-head-row > .btn { width: 100%; }
  body.mf-menu-sys-page .mf-menu-sys-actions:not(.mf-menu-sys-actions--foot) > .btn,
  body.mf-menu-sys-page .mf-menu-sys-actions:not(.mf-menu-sys-actions--foot) > a.btn { flex: 1 1 140px; }
  body.mf-settings-page .mf-settings-card,
  body.mf-plans-page .mf-plans-card,
  body.mf-wallet-page .mf-coins-card { border-radius: 16px; padding: 17px; }
  body.mf-auth-page--luxury .mf-auth-main { padding-inline: 14px; }
  body.mf-auth-page--luxury .mf-auth-hero { text-align: left; }
  body.mf-auth-page--luxury .mf-auth-card { border-radius: 18px; padding: 22px 18px; }
  body.mf-page.detail-page .mf-detail-content,
  body.mf-page.detail-page .mf-detail-hero-dock-inner,
  body.mf-page.detail-page .section.detail-recommend,
  body.mf-page.detail-page .section.mf-detail-comments { width: calc(100% - 28px); }
  body.admin-page .admin-shell-main > .admin-content { padding: 14px !important; }
  body.admin-page .adm-card,
  body.admin-page .admin-subcard { border-radius: 14px; }
}

@media (max-width: 480px) {
  :root { --mf-launch-gutter: 14px; }
  body.mf-page .btn { width: auto; }
  body.mf-page .mf-hero-desc { font-size: .9rem; }
  body.mf-page .mf-section-header h2,
  body.mf-page .section-header h2 { font-size: 1.08rem; }
  body.mf-page .see-all { padding-inline: 6px; }
  body.mf-menu-sys-page .mf-menu-sys-tabs { width: 100%; overflow-x: auto; }
  body.mf-menu-sys-page .mf-menu-sys-tab { flex: 1 0 auto; }
  body.mf-settings-page .mf-settings-tabs,
  body.mf-user-page .mf-user-tabs { overflow-x: auto; scroll-snap-type: x proximity; }
  body.mf-settings-page .mf-settings-tab,
  body.mf-user-page .mf-user-tab { flex: 0 0 auto; scroll-snap-align: start; }
  body.mf-plans-page .mf-plans-faq-item { padding-inline: 14px; }
  body.admin-page .adm-inline-field-row { align-items: stretch; }
  body.admin-page .adm-inline-field-row > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.mf-page *, body.admin-page * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
